1 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
3 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): Rename to
5 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Accommodate
6 rename of fesetenv_mode to fegetenv_control.
7 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
9 * sysdeps/powerpc/fpu/fenv_private.h (__libc_femergeenv_ppc): Likewise.
10 (libc_feholdsetround_noex_ppc_ctx): Likewise.
12 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
14 * sysdeps/powerpc/fpu/fenv_private.h
15 (libc_feholdsetround_noex_ppc_ctx): Call fesetenv_mode instead
18 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
20 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status): Rename to
22 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Accommodate
23 rename of fegetenv_status to fegetenv_control.
24 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
25 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
26 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Likewise.
27 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
30 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
32 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline): Use
33 'mffscrn' instruction on POWER9.
34 (__fesetround_inline_nocheck): Likewise.
36 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
38 * sysdeps/powerpc/fpu/fenv_libc.h (FPSCR_EXCEPTIONS_MASK): New.
39 * sysdeps/powerpc/fpu/fenv_private.h (__libc_femergeenv_ppc): Optimize
40 to write FPSCR control only, if exceptions have not changed.
42 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
44 * sysdeps/powerpc/fpu/fenv_libc.h:
45 (__TEST_AND_ENTER_NON_STOP): New.
46 (__TEST_AND_EXIT_NON_STOP): New.
47 * sysdeps/powerpc/fpu/fenv_private.h
48 (_FPU_ALL_TRAPS): Delete, replace with FPSCR_ENABLES_MASK.
49 (_FPU_MASK_RN): Delete.
50 (_FPU_MASK_NOT_RN_NI): Delete.
51 (_FPU_MASK_TRAPS_RN): Delete, replace with ~FPSCR_CONTROL_MASK.
52 (_FPU_MASK_FRAC_INEX_RET_CC): Delete, replace with ~FPSCR_STATUS_MASK.
53 (__libc_feholdbits_ppc): Delete, move code into
54 libc_feholdexcept_setround_ppc.
55 (libc_feholdexcept_ppc): Delete.
56 (libc_fesetround_ppc): Delete.
57 (libc_fetestexcept_ppc): Delete.
58 (libc_feholdsetround_ppc): Delete.
59 (__libc_femergeenv_ppc): Use __TEST_AND_ENTER/EXIT_NON_STOP.
60 (libc_feholdsetround_noex_ppc_ctx): Likewise.
61 (libc_feupdateenv_test_ppc): Use FPSCR defines.
62 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
63 __TEST_AND_ENTER_NON_STOP.
64 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
65 * sysdeps/powerpc/fpu/feholdexcpt.c (__feholdexcept): Likewise.
66 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
67 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
68 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
69 (_FPU_MASK_ALL): Delete.
71 2019-09-27 Joseph Myers <joseph@codesourcery.com>
73 * sysdeps/gnu/netinet/tcp.h (TCP_TX_DELAY): New macro.
75 2019-09-26 Lukasz Majewski <lukma@denx.de>
77 * include/time.h: Add struct __timespec64 definition
79 2019-09-26 Siddhesh Poyarekar <siddhesh@gotplt.org>
81 * scripts/vcs_to_changelog/misc_util.py (decode): Remove latin1
84 2019-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
86 * rt/Makefile (CFLAGS-clock_nanosleep.c): Move to ...
87 * time/Makefile (CFLAGS-clock_nanosleep.c): ... here.
89 * sysdeps/unix/sysv/linux/Makefile
90 (CFLAGS-tst-sigcontextinfo-get_pc.c): Rename to
91 CFLAGS-tst-sigcontext-get_pc.c.
93 2019-09-24 Alistair Francis <alistair.francis@wdc.com>
95 * inet/net-internal.h: Fix uninitalised clntudp_call() variable.
97 2019-09-24 Andreas Schwab <schwab@suse.de>
99 * sysdeps/unix/sysv/linux/arm/sysdep.h
100 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
101 not "__vdso_gettimeofday".
102 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
103 "__vdso_clock_gettime".
104 * sysdeps/unix/sysv/linux/mips/sysdep.h
105 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
106 not "__vdso_gettimeofday".
107 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
108 "__vdso_clock_gettime".
110 2019-09-19 Paul A. Clarke <pc@us.ibm.com>
112 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_and_set_rn): New.
114 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
115 Do not clear enable bits, remove obsolete code, use
117 (libc_feresetround_ppc): Remove obsolete code, use
120 2019-09-19 Stefan Liebler <stli@linux.ibm.com>
122 * support/support_ptrace.c: Remove inclusion of sys/prctl.h.
124 2019-09-19 Stefan Liebler <stli@linux.ibm.com>
126 * sysdeps/s390/hp-timing.h (_HP_TIMING_H): Undefine.
127 (_HP_TIMING_S390_H): Define.
129 2019-09-18 Joseph Myers <joseph@codesourcery.com>
131 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
133 (clone3): New syscall.
134 (pidfd_open): Likewise.
136 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
139 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
141 * sysdeps/s390/hp-timing.h: New file.
143 2019-09-18 Joseph Myers <joseph@codesourcery.com>
145 * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include
147 (CLONE_VM): New macro.
148 (CLONE_VFORK): Likewise.
150 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
152 * elf/tst-pldd.c (do_test): Add UNSUPPORTED check.
153 Rearrange subprocesses.
154 (pldd_process): New function.
155 * support/Makefile (libsupport-routines): Add support_ptrace.
156 * support/xptrace.h: New file.
157 * support/support_ptrace.c: Likewise.
159 2019-09-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
161 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Remove file.
163 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
164 (INTERNAL_VSYSCALL_CALL): Remove.
165 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
166 (INTERNAL_VSYSCALL_CALL): Likewise.
167 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
168 (INTERNAL_VSYSCALL_CALL): Likewise.
169 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_VSYSCALL_CALL):
172 * sysdeps/unix/sysv/linux/libc-vdso.h (VDSO_IFUNC_RET): Define if not
174 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
175 (__get_timebase_freq): Remove use of
176 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK.
177 (get_timebase_freq_fallback): New symbol.
178 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (time): Use
179 HAVE_GETTIMEOFDAY_VSYSCALL.
180 * sysdeps/unix/sysv/linux/powerpc/time.c (gettimeofday): Use
182 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Include generic
184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
185 (INTERNAL_VSYSCALL_CALL_TYPE): Make calling convention similar to
187 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove macro.
188 * .../sysv/linux/powerpc/powerpc64/sysdep.h
189 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Likewise.
190 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
191 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
193 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address,
194 is_sigtramp_address_rt): Use HAVE_SIGTRAMP_{RT}32 instead of SHARED.
195 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address):
197 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove file.
198 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Likewise.
199 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
200 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Likewise.
201 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
202 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Likewise.
203 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
204 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
205 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
206 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
207 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
208 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
209 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
210 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Likewise.
211 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
212 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
213 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
214 HAVE_GETTIMEOFDAY_VSYSCALL): Define value based on kernel exported
216 * sysdeps/unix/sysv/linux/arm/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
217 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
218 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
219 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
220 * sysdeps/unix/sysv/linux/mips/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
221 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
222 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
223 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
224 HAVE_GETCPU_VSYSCALL, HAVE_TIME_VSYSCALL, HAVE_GET_TBFREQ,
225 HAVE_SIGTRAMP_RT64, HAVE_SIGTRAMP_32, HAVE_SIGTRAMP_RT32i,
226 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
227 * sysdeps/unix/sysv/linux/riscv/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
228 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
229 HAVE_GETCPU_VSYSCALL): Likewise.
230 * sysdeps/unix/sysv/linux/s390/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
231 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
232 HAVE_GETCPU_VSYSCALL): Likewise.
233 * sysdeps/unix/sysv/linux/sparc/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
234 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
235 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
236 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
237 HAVE_GETCPU_VSYSCALL): Likewise.
238 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME, VDSO_HASH): Define to
239 invalid names if architecture does not define them.
240 (get_vdso_mangle_symbol): New symbol.
241 * sysdeps/unix/sysv/linux/init-first.c: New file.
242 * sysdeps/unix/sysv/linux/libc-vdso.h: Likewise.
243 * sysdeps/unix/sysv/linux/powerpc/init-first.c (gettimeofday,
244 clock_gettime, clock_getres, getcpu, time): Remove declaration.
245 (__libc_vdso_platform_setup_arch): Likewise and use
246 get_vdso_mangle_symbol to setup vDSO symbols.
247 (sigtramp_rt64, sigtramp32, sigtramp_rt32, get_tbfreq): Add
249 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Likewise.
250 * sysdeps/unix/sysv/linux/sysdep-vdso.h (VDSO_SYMBOL): Remove
253 * sysdeps/unix/make-syscalls.sh: Make vDSO call use get_vdso_symbol.
254 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (__gettimeofday):
255 Use get_vdso_symbol instead of _dl_vdso_vsym.
256 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
257 * sysdeps/unix/sysv/linux/riscv/flush-icache.c
258 (__lookup_riscv_flush_icache): Likewise.
259 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
261 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
262 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
263 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
264 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
265 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
266 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
267 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
268 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
269 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
270 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
271 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
272 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (VDSO_NAME, VDSO_HASH):
274 * sysdeps/unix/sysv/linux/arm/sysdep.h (VDSO_NAME, VDSO_HASH):
276 * sysdeps/unix/sysv/linux/i386/sysdep.h (VDSO_NAME, VDSO_HASH):
278 * sysdeps/unix/sysv/linux/riscv/sysdep.h (VDSO_NAME, VDSO_HASH):
280 * sysdeps/unix/sysv/linux/sparc/sysdep.h (VDSO_NAME, VDSO_HASH):
282 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (VDSO_NAME, VDSO_HASH):
284 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
285 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Remove
287 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
288 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
289 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
290 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
292 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
294 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
295 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
296 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
297 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
298 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
299 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
300 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
301 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
302 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
303 * sysdeps/unix/sysv/linux/s390/sysdep.h: Likewise.
304 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION,
305 PREPARE_VERSION_KNOWN, VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6,
306 VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15,
307 VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29,
308 VDSO_NAME_LINUX_4_15, VDSO_HASH_LINUX_4_15): Remove defines.
309 (get_vdso_symbol): New function.
311 2019-09-17 Chung-Lin Tang <cltang@codesourcery.com>
313 * sysdeps/generic/hp-timing-common.h (HP_TIMING_PRINT): Correct
314 position of string null termination.
316 2019-09-14 Aurelien Jarno <aurelien@aurel32.net>
319 * sysdeps/unix/alpha/getegid.S: Move to ...
320 * sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
321 * sysdeps/unix/alpha/geteuid.S: Move to ...
322 * sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
323 * sysdeps/unix/alpha/getppid.S: Move to ...
324 * sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
326 2019-09-09 Paul Eggert <eggert@cs.ucla.edu>
328 Fix http: URL in 'configure'
329 * configure.ac: Add URL to AC_INIT so that it generates an
330 https: URL instead of an http: URL.
331 * configure: Regenerate.
333 Regenerate charmap-kw.h, locfile-kw.h
334 This propagates the recent http->https URL changes.
335 Since I used gperf 3.1 to regenerate, this is also a minor
336 internal-to-localedef API change.
337 URL problem reported by Joseph Myers in:
338 https://www.sourceware.org/ml/libc-alpha/2019-09/msg00143.html
339 * locale/programs/charmap-kw.h, locale/programs/locfile-kw.h:
340 Regenerate with gperf 3.1.
341 * locale/programs/linereader.h (kw_hash_fct_t):
342 * locale/programs/repertoire.c (repertoiremap_hash):
343 2nd arg is now size_t not unsigned, for compatibility with gperf 3.1.
345 2019-09-05 Florian Weimer <fweimer@redhat.com>
348 * locale/localeinfo.h (_nl_category_names): Remove union wrapper.
349 (_nl_category_names_get): New function.
350 * intl/dcigettext.c (category_to_name): Call it.
351 * locale/findlocale.c (_nl_find_locale): Likewise.
352 * intl/loadlocale.c (_nl_load_locale): Likewise.
353 * locale/newlocale.c (__newlocale): Likewise.
354 * locale/setlocale.c (_nl_category_names): Adjust definition.
355 (_nl_category_name_idxs): Likewise.
356 (new_composite_name): Call _nl_category_names_get.
357 (setlocale): Likewise.
359 2019-09-05 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
361 * math/bits/mathcalls.h (totalorder, totalordermag): Replace
362 const attribute with pure attribute.
364 2019-09-04 Lukasz Majewski <lukma@denx.de>
366 * sysdeps/unix/sysv/linux/kernel-features.h
367 (__ASSUME_TIME64_SYSCALLS): New macro.
369 2019-09-04 Zack Weinberg <zackw@panix.com>
372 * rt/clock_getcpuclockid.c: Move to time/clock_getcpuclockid.c.
373 * rt/clock_getres.c: Move to time/clock_getres.c.
374 * rt/clock_gettime.c: Move to time/clock_gettime.c.
375 * rt/clock_nanosleep.c: Move to time/clock_nanosleep.c.
376 * rt/clock_settime.c: Move to time/clock_settime.c.
377 * rt/tst-clock.c: Move to time/tst-clock.c.
378 * rt/tst-clock2.c: Move to time/tst-clock2.c.
379 * rt/tst-clock_nanosleep.c: Move to time/tst-clock_nanosleep.c.
380 * rt/tst-cpuclock1.c: Move to time/tst-cpuclock1.c.
381 * rt/clock-compat.c: Delete file.
383 * time/clock_getcpuclockid.c
384 * time/clock_getres.c
385 * time/clock_gettime.c
386 * time/clock_nanosleep.c
387 * time/clock_settime.c
388 * sysdeps/posix/clock_getres.c
389 * sysdeps/unix/clock_gettime.c
390 * sysdeps/unix/clock_nanosleep.c
391 * sysdeps/unix/clock_settime.c
392 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
393 * sysdeps/unix/sysv/linux/clock_getres.c
394 * sysdeps/unix/sysv/linux/clock_gettime.c
395 * sysdeps/unix/sysv/linux/clock_nanosleep.c
396 * sysdeps/unix/sysv/linux/clock_settime.c: Define the function
397 defined by this file with default symbol version GLIBC_2_17,
398 and optionally a compatibility alias at symbol version GLIBC_2_2.
399 * include/time.h: Remove internal prototypes for clock_getres,
400 clock_nanosleep, and clock_getcpuclockid.
402 * sysdeps/unix/sysv/linux/clock_gettime.c: Prune includes.
403 Remove unused function realtime_gettime.
405 * rt/Makefile (clock-routines, routines): Remove variable.
406 (librt-routines): Remove clock-compat.
407 (tests): Remove tst-clock, tst-clock2, tst-clock_nanosleep,
409 * time/Makefile (routines): Add clock_getres, clock_gettime,
410 clock_settime, clock_getcpuclockid, and clock_nanosleep.
411 (tests): Add tst-clock, tst-clock2, tst-clock_nanosleep,
414 * rt/Versions (libc): Remove entire stanza.
415 (librt GLIBC_2.2): Remove all clock_* functions.
416 * time/Versions (libc GLIBC_2.2, libc GLIBC_2.17):
417 Add clock_getres, clock_gettime, clock_settime,
418 clock_getcpuclockid, and clock_nanosleep.
419 (libc GLIBC_PRIVATE): Add __clock_gettime.
421 * sysdeps/mach/hurd/i386/librt.abilist
422 * sysdeps/unix/sysv/linux/alpha/librt.abilist
423 * sysdeps/unix/sysv/linux/arm/be/librt.abilist
424 * sysdeps/unix/sysv/linux/arm/le/librt.abilist
425 * sysdeps/unix/sysv/linux/hppa/librt.abilist
426 * sysdeps/unix/sysv/linux/i386/librt.abilist
427 * sysdeps/unix/sysv/linux/ia64/librt.abilist
428 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
429 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
430 * sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
431 * sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
432 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
433 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist
434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
436 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
437 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
438 * sysdeps/unix/sysv/linux/sh/librt.abilist
439 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
440 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
441 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
442 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist:
443 Remove entries for clock_getres, clock_gettime, clock_settime,
444 clock_getcpuclockid, and clock_nanosleep.
446 * sysdeps/mach/hurd/i386/libc.abilist
447 * sysdeps/unix/sysv/linux/alpha/libc.abilist
448 * sysdeps/unix/sysv/linux/arm/libc.abilist
449 * sysdeps/unix/sysv/linux/hppa/libc.abilist
450 * sysdeps/unix/sysv/linux/i386/libc.abilist
451 * sysdeps/unix/sysv/linux/ia64/libc.abilist
452 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
453 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
454 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
455 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
456 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
457 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
461 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
462 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
463 * sysdeps/unix/sysv/linux/sh/be/libc.abilist
464 * sysdeps/unix/sysv/linux/sh/le/libc.abilist
465 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
466 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
467 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
468 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
469 Add another set of entries for clock_getres, clock_gettime,
470 clock_settime, clock_getcpuclockid, and clock_nanosleep at
471 whatever version GLIBC_2.2 maps to.
473 2019-09-03 Aurelien Jarno <aurelien@aurel32.net>
475 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
477 2019-09-03 Florian Weimer <fweimer@redhat.com>
480 * locale/programs/charmap.h (struct charseq): Turn bytes into a
481 flexible array member.
482 * locale/programs/ld-ctype.c (ctype_finish): Use initializer for
485 2019-09-02 Florian Weimer <fweimer@redhat.com>
487 * misc/tst-mntent-autofs.c: New file.
488 * misc/Makefile (tests): Add misc/tst-mntent-autofs.
490 2019-09-02 Ian Kent <ikent@redhat.com>
492 Use autofs "ignore" mount hint in getmntent_r/getmntent.
493 * misc/mntent_r.c (get_mnt_entry): New function, extracted from
495 (__getmntent_r): Call it. Filter out autofs entries with an
496 "ignore" mount option.
498 2019-08-30 Wilco Dijkstra <wdijkstr@arm.com>
500 * benchtests/bench-memcpy.c (simple_memcpy): Remove.
501 (generic_memcpy): Include generic C memcpy.
502 * benchtests/bench-memmove.c (simple_memmove): Remove.
503 (generic_memmove): Include generic C memmove.
504 * benchtests/bench-memset.c (simple_memset): Remove.
505 (generic_memset): Include generic C memset.
506 * benchtests/bench-memset-large.c (simple_memset): Remove.
507 (generic_memset): Include generic C memset.
508 * benchtests/bench-memset-walk.c (simple_memset): Remove.
509 (generic_memset): Include generic C memset.
510 * string/memcpy.c (MEMCPY): Add defines to enable redirection.
511 * string/memset.c (MEMSET): Likewise.
512 * sysdeps/x86_64/memcopy.h: Remove empty file.
514 2019-08-30 Florian Weimer <fweimer@redhat.com>
516 nptl: Move pthread_attr_getinheritsched implementation into libc.
517 * nptl/Makefile (routines): Add pthread_attr_getinheritsched.
518 (libpthread-routines): Remove pthread_attr_getinheritsched.
519 * nptl/Versions (libpthread GLIBC_2.0): Remove
520 pthread_attr_getinheritsched.
521 * nptl/forward.c (pthread_attr_getinheritsched): Remove definition.
522 * nptl/nptl-init.c (pthread_functions): Remove initializer for
523 ptr_pthread_attr_getinheritsched.
524 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
525 Remove ptr_pthread_attr_getinheritsched member.
526 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
527 Remove pthread_attr_getinheritsched.
528 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
530 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
532 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
534 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
536 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
538 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
540 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
542 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
543 (GLIBC_2.4): Likewise.
544 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
545 (GLIBC_2.0): Likewise.
546 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
547 (GLIBC_2.18): Likewise.
548 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
549 (GLIBC_2.18): Likewise.
550 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
551 (GLIBC_2.0): Likewise.
552 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
553 (GLIBC_2.0): Likewise.
554 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
557 (GLIBC_2.0): Likewise.
558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
559 (GLIBC_2.3): Likewise.
560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
561 (GLIBC_2.17): Likewise.
562 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
563 (GLIBC_2.27): Likewise.
564 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
565 (GLIBC_2.0): Likewise.
566 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
567 (GLIBC_2.2): Likewise.
568 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
570 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
572 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
573 (GLIBC_2.0): Likewise.
574 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
575 (GLIBC_2.2): Likewise.
576 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
577 (GLIBC_2.2.5): Likewise.
578 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
579 (GLIBC_2.16): Likewise.
581 2019-08-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
583 * sysdeps/mach/hurd/getcwd.c
584 (_hurd_canonicalize_directory_name_internal): Do not remove the heading
585 slash if we got an unknown root directory. (__getcwd): Do not fail with
586 EGRATUITOUS if we got an unknown root directory.
587 * hurd/hurdselect.c (SELECT_ERROR): New macro.
589 - Add `error' field to `d' structures array.
590 - If a poll descriptor is bogus, set EBADF, but continue with a zero
592 - Go through the whole fd_set, not only until _hurd_dtablesize. Return
593 EBADF there is any bit set above _hurd_dtablesize.
594 - Do not request io_select on bogus descriptors (SELECT_ERROR).
595 - On io_select request error, record the error.
596 - On io_select bogus reply, use EIO error code.
597 - On io_select bogus or error reply, record the error.
598 - Do not destroy reply port for bogus FDs.
599 - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the
600 EBADF case, or else POLLERR.
601 - On error, make select simulated readiness.
604 * sysdeps/mach/hurd/mmap.c (__mmap): Remove optimizing anonymous maps
607 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
608 unlocks SS and returns to the saved PC.
609 (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
610 thread stack instead of the saved PC.
612 2019-08-30 Richard Braun <rbraun@sceen.net>
614 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
616 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
617 * hurd/Makefile (user-interfaces): Add io_reply and io_request.
618 * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and
620 (_hurd_select): Replace the call to __io_select with either
621 __io_select_request or __io_select_timeout_request, depending on the
622 timeout. Count the number of ready descriptors (replies for which at
623 least one type bit is set). Implement the timeout locally when there is
626 2019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
628 * elf/dl-addr.c (determine_info): Calculate the symbol index
629 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
630 * elf/dl-lookup.c (do_lookup_x): Ditto.
631 (_dl_setup_hash): Initialize MIPS xhash translation table.
632 * elf/elf.h (SHT_MIPS_XHASH): New define.
633 (DT_MIPS_XHASH): New define.
634 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
636 (ELF_MACHINE_HASH_SYMIDX): Ditto.
637 (ELF_MACHINE_XHASH_SETUP): Ditto.
638 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
640 (ELF_MACHINE_HASH_SYMIDX): Ditto.
641 (ELF_MACHINE_XHASH_SETUP): Ditto.
642 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
643 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
645 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
647 2019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
649 * sysdeps/sh/preconfigure.ac: New file.
650 * sysdeps/sh/preconfigure: Regenerate.
651 * sysdeps/sh/be/sh3/Implies: New file.
652 * sysdeps/sh/be/sh4/Implies: Likewise.
653 * sysdeps/sh/le/sh3/Implies: Likewise.
654 * sysdeps/sh/le/sh4/Implies: Likewise.
655 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
656 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
657 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
658 sysdeps/unix/sysv/linux/sh/le/*.abilist.
659 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
661 * sysdeps/microblaze/preconfigure.ac: New file.
662 * sysdeps/microblaze/preconfigure: Regenerate.
663 * sysdeps/microblaze/be/implies: New file.
664 * sysdeps/microblaze/le/implies: Likewise.
665 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
666 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
667 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
668 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
669 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
671 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
672 * sysdeps/arm/preconfigure: Regenerate.
673 * sysdeps/arm/be/Implies: New file.
674 * sysdeps/arm/be/armv6/Implies: Likewise.
675 * sysdeps/arm/be/armv6t2/Implies: Likewise.
676 * sysdeps/arm/be/armv7/Implies: Likewise.
677 * sysdeps/arm/le/Implies: Likewise.
678 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
679 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
680 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
681 sysdeps/unix/sysv/linux/arm/le/*.abilist.
682 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
684 2019-08-27 Paul Eggert <eggert@cs.ucla.edu>
686 Fix posix/tst-regex by using UTF-8 and own test input
687 Problem reported by Stefan Liebler in:
688 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
689 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
690 (do_test, test_expr): Adjust to the fact that this source file,
691 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
692 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
693 so that it is now UTF-8.
695 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
697 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
698 (fegetenv_status): Generate 'mffsl' unconditionally.
700 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
702 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
704 (_FPU_MASK_ALL): Delete.
706 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
708 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
709 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
711 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
712 with simpler required steps, set fewer FPSCR bits if possible.
714 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
716 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
717 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
718 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
719 weight access to FPSCR; remove unnecessary second FPSCR read and
721 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
722 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
723 access to FPSCR; Use macros in fenv_libc.h in favor of local.
725 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
727 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
728 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
729 (fenv_exceptions_to_reg): New.
730 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
731 operation with call to fenv_exceptions_to_reg().
732 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
734 2019-08-28 Florian Weimer <fweimer@redhat.com>
736 * misc/mntent.c (struct mntent_buffer): Define.
737 (mntent_buffer): Adjust type to void *.
738 (allocate): Adjust for allocate_once.
739 (deallocate): New function.
740 (getmntent): Call allocate_once.
742 2019-08-28 Florian Weimer <fweimer@redhat.com>
744 nptl: Move pthread_attr_setdetachstate implementation into libc.
745 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
746 (libpthread-routines): Remove pthread_attr_setdetachstate.
747 * nptl/Versions (libpthread GLIBC_2.0): Remove
748 pthread_attr_setdetachstate.
749 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
750 * nptl/nptl-init.c (pthread_functions): Remove initializer for
751 ptr_pthread_attr_setdetachstate.
752 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
753 Remove ptr_pthread_attr_setdetachstate member.
754 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
755 Remove pthread_attr_setdetachstate.
756 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
758 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
760 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
762 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
764 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
766 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
768 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
769 (GLIBC_2.4): Likewise.
770 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
771 (GLIBC_2.0): Likewise.
772 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
773 (GLIBC_2.18): Likewise.
774 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
775 (GLIBC_2.0): Likewise.
776 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
777 (GLIBC_2.0): Likewise.
778 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
781 (GLIBC_2.0): Likewise.
782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
783 (GLIBC_2.3): Likewise.
784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
785 (GLIBC_2.17): Likewise.
786 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
787 (GLIBC_2.27): Likewise.
788 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
789 (GLIBC_2.0): Likewise.
790 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
791 (GLIBC_2.2): Likewise.
792 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
794 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
795 (GLIBC_2.0): Likewise.
796 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
797 (GLIBC_2.2): Likewise.
798 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
799 (GLIBC_2.2.5): Likewise.
800 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
801 (GLIBC_2.16): Likewise.
803 2019-08-28 Florian Weimer <fweimer@redhat.com>
806 * login/Makefile (tests): Add tst-pututxline-lockfail.
807 (tst-pututxline-lockfail): Link with -lpthread.
808 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
809 (__libc_getutid_r): Adjust.
810 (__libc_pututline): Likewise. Check for file_offset == -1.
811 * login/tst-pututxline-lockfail.c: New file.
813 2019-08-28 Stefan Liebler <stli@linux.ibm.com>
815 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
816 * posix/tst-regex.input: New file.
818 2019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
821 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
823 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
824 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
825 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
826 * sysdeps/mips/tst-undefined-weak.c: Likewise.
827 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
828 Increment highest valid ABIVERSION value.
830 2019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
832 * sysdeps/unix/sysv/linux/mips/Makefile
833 (test-xfail-check-execstack):
834 Move under mips-has-gnustack != yes.
835 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
836 Apply -Wa,-execstack if mips-force-execstack == yes.
837 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
838 * sysdeps/unix/sysv/linux/mips/configure.ac
839 (mips-force-execstack): New var.
840 Set to yes for hard-float builds with minimum_kernel < 4.8.0
841 or minimum_kernel not set at all.
842 (mips-has-gnustack): New var.
843 Use value of libc_cv_as_noexecstack
844 if mips-force-execstack != yes, otherwise set to no.
846 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
847 Florian Weimer <fweimer@redhat.com>
849 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
850 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
851 Make a compat_symbol.
852 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
853 (__profil_counter_global): Likewise.
855 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
856 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
858 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
859 sigcontext_get_pc and return aligned cast to uintptr_t.
860 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
861 * sysdeps/posix/profil.c (profil_count): Change PC argument to
863 (__profil): Use SA_SIGINFO.
864 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
866 (__sprofil): Use SA_SIGINFO.
867 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
868 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
869 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
870 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
871 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
872 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
873 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
874 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
875 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
876 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
877 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
878 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
879 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
880 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
881 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
882 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
883 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
884 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
885 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
886 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
887 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
888 GET_PC, __sigaction, sigaction): Remove defines.
889 (sigcontext_get_pc): New function.
890 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
891 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
892 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
893 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
894 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
895 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
896 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
897 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
898 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
899 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
900 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
901 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
902 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
903 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
904 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
905 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
906 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
907 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
908 Handle CTX argument as ucontext_t.
909 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
911 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
912 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
913 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
914 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
915 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
916 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
917 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
918 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
919 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
920 tst-sigcontextinfo-get_pc.
921 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
922 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
924 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
926 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
929 2019-08-23 Rafał Lużyński <digitalfreak@lingonborough.com>
932 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
933 * localedata/locales/ug_CN (first_weekday): Likewise.
934 * localedata/locales/zh_CN (first_weekday): Likewise.
936 2019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
938 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
939 field name in mcontext_t struct.
941 2019-08-22 Joseph Myers <joseph@codesourcery.com>
943 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
944 unsupported with libidn2 before 2.0.5.
945 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
947 * manual/time.texi (strftime): Document %Ob and %OB as C2X
950 2019-08-21 Paul Eggert <eggert@cs.ucla.edu>
952 Remove dead regex code
953 * posix/regex_internal.c (re_node_set_insert):
954 Remove unnecessary assignment. Reported by Tim Rühsen in:
955 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
957 Fix bad pointer / leak in regex code
958 This was found by Coverity (CID 1484201). [BZ#24844]
959 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
960 pointer and/or memory leak when storage is exhausted.
962 2019-08-21 Zack Weinberg <zackw@panix.com>
964 * misc/syslog.c (__vsyslog_internal)
965 * time/getdate.c (__getdate_r)
966 * time/tst_wcsftime.c (main):
967 Use return value of time, not its argument.
969 * string/strfry.c (strfry)
970 * sysdeps/mach/sleep.c (__sleep):
971 Remove unnecessary casts of NULL in calls to time.
973 2019-08-21 Joseph Myers <joseph@codesourcery.com>
975 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
976 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
977 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
978 (__TGMATH_2_NARROW_F): Likewise.
979 (__TGMATH_2_NARROW_D): New macro.
980 (__TGMATH_2_NARROW_F16): Likewise.
981 (__TGMATH_2_NARROW_F32): Likewise.
982 (__TGMATH_2_NARROW_F64): Likewise.
983 (__TGMATH_2_NARROW_F32X): Likewise.
984 (__TGMATH_2_NARROW_F64X): Likewise.
985 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
986 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
987 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
988 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
989 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
990 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
991 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
992 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
993 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
994 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
995 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
996 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
997 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
998 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
1000 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
1002 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
1004 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
1006 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
1008 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
1010 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
1012 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
1014 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1015 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
1016 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1017 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
1018 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1019 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
1020 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1021 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
1022 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
1024 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
1026 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
1028 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
1030 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1031 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
1032 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1033 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
1034 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1035 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
1036 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1037 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
1038 * math/gen-tgmath-tests.py (Type): Add members
1039 non_standard_real_argument_types_list, long_double_type,
1040 complex_float64_type and float32x_ext_type.
1041 (Type.__init__): Set the new members.
1042 (Type.floating_type): Add new argument floatn.
1043 (Type.real_floating_type): Likewise.
1044 (Type.can_combine_types): Likewise.
1045 (Type.combine_types): Likewise.
1046 (Type.init_types): Create internal Float32x_ext type.
1047 (Tests.__init__): Define Float32x_ext in generated C code.
1048 (Tests.add_tests): Handle narrowing functions.
1049 (Tests.add_all_tests): Likewise.
1050 (Tests.tests_text): Allow variation in mant_dig for narrowing
1051 functions with compilers before GCC 8.
1052 * math/Makefile (tgmath3-narrow-types): New variable.
1053 (tgmath3-narrow-macros): Likewise.
1054 (tgmath3-macros): Add $(tgmath3-narrow-macros).
1056 2019-08-20 Andreas Schwab <schwab@suse.de>
1058 * sysdeps/i386/fpu/libm-test-ulps: Update.
1060 2019-08-19 Carlos O'Donell <carlos@redhat.com>
1062 * nscd/nscd.conf: Add warning and comment about shared option.
1064 2019-08-19 Carlos O'Donell <carlos@redhat.com>
1066 * nss/nsswitch.conf: Expand comments, and simplify defaults.
1067 * manual/nss.texi (NSS Basics): List all known databases.
1068 (Services in the NSS configuration): Mention automount.
1070 2019-08-19 Florian Weimer <fweimer@redhat.com>
1072 Do not print backtraces on fatal errors.
1073 * debug/fortify_fail.c (__libc_argv): Remove declaration.
1074 (__fortify_fail_abort): Remove definition.
1075 (__fortify_fail): Call __libc_message directly.
1076 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
1077 (__stack_chk_fail): Call __fortify_fail instead of
1078 __fortify_fail_abort.
1079 * include/stdio.h (__fortify_fail_abort): Remove declaration.
1080 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
1082 (__libc_message): Do not handle do_backtrace. Do not call
1084 (__libc_fatal): Do not pass do_backtrace to __libc_message.
1085 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
1086 (before_abort): Remove definitions.
1088 2019-08-16 Florian Weimer <fweimer@redhat.com>
1090 nptl: Move pthread_attr_getdetachstate implementation into libc.
1091 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
1092 (libpthread-routines): Remove pthread_attr_getdetachstate.
1093 * nptl/Versions (libpthread GLIBC_2.0): Remove
1094 pthread_attr_getdetachstate.
1095 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
1096 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1097 ptr_pthread_attr_getdetachstate.
1098 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1099 Remove ptr_pthread_attr_getdetachstate member.
1100 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1101 Remove pthread_attr_getdetachstate.
1102 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1104 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1106 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1108 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1110 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1112 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1114 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1115 (GLIBC_2.4): Likewise.
1116 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1117 (GLIBC_2.0): Likewise.
1118 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1119 (GLIBC_2.18): Likewise.
1120 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1121 (GLIBC_2.0): Likewise.
1122 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1123 (GLIBC_2.0): Likewise.
1124 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1127 (GLIBC_2.0): Likewise.
1128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1129 (GLIBC_2.3): Likewise.
1130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1131 (GLIBC_2.17): Likewise.
1132 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1133 (GLIBC_2.27): Likewise.
1134 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1135 (GLIBC_2.0): Likewise.
1136 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1137 (GLIBC_2.2): Likewise.
1138 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1140 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1141 (GLIBC_2.0): Likewise.
1142 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1143 (GLIBC_2.2): Likewise.
1144 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1145 (GLIBC_2.2.5): Likewise.
1146 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1147 (GLIBC_2.16): Likewise.
1149 2019-08-16 Joseph Myers <joseph@codesourcery.com>
1151 * math/libm-test-compat_totalorder.inc (do_test)
1152 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
1153 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
1154 * math/libm-test-compat_totalordermag.inc (do_test)
1155 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
1157 2019-08-15 Florian Weimer <fweimer@redhat.com>
1159 nptl: Move pthread_attr_init implementation into libc.
1160 * nptl/Makefile (routines): Add pthread_attr_init.
1161 (libpthread-routines): Remove pthread_attr_init.
1162 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
1163 (libpthread GLIBC_2.0): Likewise.
1164 * nptl/pthread_attr_init.c: Check for libc compat version instead
1165 of libpthread compat version.
1166 * nptl/forward.c (__pthread_attr_init_2_0)
1167 (__pthread_attr_init_2_1): Remove definitions.
1168 * nptl/nptl-init.c (pthread_functions): Remove initializers for
1169 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
1170 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1171 Remove members ptr___pthread_attr_init_2_0,
1172 ptr___pthread_attr_init_2_1.
1173 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1174 Remove pthread_attr_init.
1175 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1177 (GLIBC_2.1): Likewise.
1178 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1180 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1182 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1184 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1186 (GLIBC_2.1): Likewise.
1187 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1189 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1190 (GLIBC_2.4): Likewise.
1191 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1192 (GLIBC_2.0): Likewise.
1193 (GLIBC_2.1): Likewise.
1194 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1195 (GLIBC_2.18): Likewise.
1196 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1197 (GLIBC_2.0): Likewise.
1198 (GLIBC_2.1): Likewise.
1199 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1200 (GLIBC_2.0): Likewise.
1201 (GLIBC_2.1): Likewise.
1202 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1205 (GLIBC_2.0): Likewise.
1206 (GLIBC_2.1): Likewise.
1207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1208 (GLIBC_2.3): Likewise.
1209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1210 (GLIBC_2.17): Likewise.
1211 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1212 (GLIBC_2.27): Likewise.
1213 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1214 (GLIBC_2.0): Likewise.
1215 (GLIBC_2.1): Likewise.
1216 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1217 (GLIBC_2.2): Likewise.
1218 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1220 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1221 (GLIBC_2.0): Likewise.
1222 (GLIBC_2.1): Likewise.
1223 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1224 (GLIBC_2.2): Likewise.
1225 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1226 (GLIBC_2.2.5): Likewise.
1227 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1228 (GLIBC_2.16): Likewise.
1230 2019-08-15 Florian Weimer <fweimer@redhat.com>
1233 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
1234 new object in __RTLD_OPENEXEC mode (except for the origin).
1235 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
1236 check for the error message.
1237 (do_test): Call it. Add check using relative path.
1238 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
1239 (tst-dlopen-aout-container): Link with libpthread.
1240 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
1242 2019-08-15 Joseph Myers <joseph@codesourcery.com>
1244 * math/bits/mathcalls.h
1245 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1246 (totalorder): Take pointer arguments.
1247 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1248 (totalordermag): Likewise.
1249 * manual/arith.texi (totalorder): Likewise.
1250 (totalorderf): Likewise.
1251 (totalorderl): Likewise.
1252 (totalorderfN): Likewise.
1253 (totalorderfNx): Likewise.
1254 (totalordermag): Likewise.
1255 (totalordermagf): Likewise.
1256 (totalordermagl): Likewise.
1257 (totalordermagfN): Likewise.
1258 (totalordermagfNx): Likewise.
1259 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
1260 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
1261 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
1262 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
1263 totalorderl, totalordermag, totalordermagf, totalordermagl,
1264 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
1265 totalordermagf64, totalordermagf32x, totalorderf64x,
1266 totalordermagf64x, totalorderf128 and totalordermagf128.
1267 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
1268 and compat_totalordermag.
1269 (libm-test-funcs-compat): New variable.
1270 (libm-tests-compat): Likewise.
1271 (tests): Do not include compat tests.
1272 (tests-internal): Add compat tests.
1273 ($(foreach t,$(libm-tests-base),
1274 $(objpfx)$(t)-compat_totalorder.o)): Depend
1275 on $(objpfx)libm-test-totalorder.c.
1276 ($(foreach t,$(libm-tests-base),
1277 $(objpfx)$(t)-compat_totalordermag.o): Depend on
1278 $(objpfx)libm-test-totalordermag.c.
1279 (tgmath3-macros): Remove totalorder and totalordermag.
1280 * math/libm-test-compat_totalorder.inc: New file.
1281 * math/libm-test-compat_totalordermag.inc: Likewise.
1282 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
1283 (RUN_TEST_fpfp_b): New macro.
1284 (RUN_TEST_LOOP_fpfp_b): Likewise.
1285 * math/libm-test-totalorder.inc (totalorder_test_data): Use
1287 (totalorder_test): Condition on [!COMPAT_TEST].
1288 (do_test): Likewise.
1289 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
1291 (totalordermag_test): Condition on [!COMPAT_TEST].
1292 (do_test): Likewise.
1293 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
1294 totalorder and totalordermag.
1295 * math/test-tgmath.c (NCALLS): Change to 132.
1296 (F(compile_test)): Do not call totalorder or totalordermag.
1297 (F(totalorder)): Remove.
1298 (F(totalordermag)): Likewise.
1299 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
1300 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
1301 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
1303 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
1304 [!_ISOMAC] (TEST_SIZE): Update call to STR.
1305 [!_ISOMAC] (TEST_ALIGN): Likewise.
1306 [!_ISOMAC] (TEST_OFFSET): Likewise.
1307 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
1308 and <first-versions.h>.
1309 (__totalorder): Take pointer arguments. Add symbol versions and
1311 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1312 <shlib-compat.h> and <first-versions.h>.
1313 (__totalordermag): Take pointer arguments. Add symbol versions
1315 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1316 <shlib-compat.h> and <first-versions.h>.
1317 (__totalorder): Take pointer arguments. Add symbol versions and
1319 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1320 <shlib-compat.h> and <first-versions.h>.
1321 (__totalordermag): Take pointer arguments. Add symbol versions
1323 * sysdeps/ieee754/float128/float128_private.h
1324 (__totalorder_compatl): New macro.
1325 (__totalordermag_compatl): Likewise.
1326 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
1327 and <first-versions.h>.
1328 (__totalorderf): Take pointer arguments. Add symbol versions and
1330 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1331 <shlib-compat.h> and <first-versions.h>.
1332 (__totalordermagf): Take pointer arguments. Add symbol versions
1334 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1335 <shlib-compat.h> and <first-versions.h>.
1336 (__totalorderl): Take pointer arguments. Add symbol versions and
1338 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1339 <shlib-compat.h> and <first-versions.h>.
1340 (__totalordermagl): Take pointer arguments. Add symbol versions
1342 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1344 (__totalorderl): Take pointer arguments. Add symbol versions and
1346 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1348 (__totalordermagl): Take pointer arguments. Add symbol versions
1350 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1351 <shlib-compat.h> and <first-versions.h>.
1352 (__totalorderl): Take pointer arguments. Add symbol versions and
1354 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1355 <shlib-compat.h> and <first-versions.h>.
1356 (__totalordermagl): Take pointer arguments. Add symbol versions
1358 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
1360 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
1362 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1363 (do_test): Update calls to totalorderl and totalordermagl.
1364 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1365 Update calls to totalorderl and totalordermagl.
1366 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1367 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1368 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1369 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1370 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1371 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1372 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1373 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1374 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1375 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1376 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1377 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1378 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1379 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
1388 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1389 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1390 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1391 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1392 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1393 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1394 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1395 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1397 2019-08-15 Florian Weimer <fweimer@redhat.com>
1400 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
1401 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
1402 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
1404 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
1405 __attribute_nonstring__ to ut_id.
1406 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
1409 2019-08-15 Florian Weimer <fweimer@redhat.com>
1412 * login/utmp_file.c (file_locking_failed): Use struct flock64.
1413 (file_locking_unlock): Likewise.
1415 2019-08-15 Florian Weimer <fweimer@redhat.com>
1418 login: Disarm timer after utmp lock acquisition.
1419 * login/utmp_file.c (struct file_locking): Remove.
1420 (try_file_lock): Adjust.
1421 (file_lock_restore): Remove function.
1422 (__libc_getutent_r): .
1423 (internal_getut_r): Likewise.
1424 (__libc_getutline_r): Likewise.
1425 (__libc_pututline): Likewise.
1426 (__libc_updwtmp): Likewise.
1428 2019-08-15 Florian Weimer <fweimer@redhat.com>
1430 nptl: Remove pthread_self compatibility symbol from libpthread.
1431 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
1433 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
1434 * nptl/compat-pthread_self.c: Remove file.
1435 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1436 Remove pthread_self.
1437 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1439 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1441 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1443 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1445 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1447 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1448 (GLIBC_2.4): Likewise.
1449 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1450 (GLIBC_2.0): Likewise.
1451 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1452 (GLIBC_2.18): Likewise.
1453 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1454 (GLIBC_2.0): Likewise.
1455 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1456 (GLIBC_2.0): Likewise.
1457 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1460 (GLIBC_2.0): Likewise.
1461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1462 (GLIBC_2.3): Likewise.
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1464 (GLIBC_2.17): Likewise.
1465 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1466 (GLIBC_2.0): Likewise.
1467 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1468 (GLIBC_2.2): Likewise.
1469 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1471 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1472 (GLIBC_2.0): Likewise.
1473 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1474 (GLIBC_2.2): Likewise.
1475 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1476 (GLIBC_2.2.5): Likewise.
1477 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1478 (GLIBC_2.16): Likewise.
1480 2019-08-15 Florian Weimer <fweimer@redhat.com>
1482 nptl: Move pthread_attr_destroy implementation into libc.
1483 * nptl/Makefile (routines): Add pthread_attr_destroy.
1484 (libpthread-routines): Remove pthread_attr_destroy.
1485 * nptl/Versions (libpthread GLIBC_2.0): Remove
1486 pthread_attr_destroy.
1487 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
1488 libc compat version instead of libpthread compat version.
1489 * nptl/forward.c (pthread_attr_destroy): Remove definition.
1490 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1491 ptr_pthread_attr_destroy.
1492 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1493 Remove ptr_pthread_attr_destroy member.
1494 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1495 Remove pthread_attr_destroy.
1496 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1498 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1500 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1502 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1504 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1506 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1508 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1509 (GLIBC_2.4): Likewise.
1510 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1511 (GLIBC_2.0): Likewise.
1512 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1513 (GLIBC_2.18): Likewise.
1514 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1515 (GLIBC_2.0): Likewise.
1516 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1517 (GLIBC_2.0): Likewise.
1518 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1521 (GLIBC_2.0): Likewise.
1522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1523 (GLIBC_2.3): Likewise.
1524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1525 (GLIBC_2.17): Likewise.
1526 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1527 (GLIBC_2.27): Likewise.
1528 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1529 (GLIBC_2.0): Likewise.
1530 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1531 (GLIBC_2.2): Likewise.
1532 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1534 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1535 (GLIBC_2.0): Likewise.
1536 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1537 (GLIBC_2.2): Likewise.
1538 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1539 (GLIBC_2.2.5): Likewise.
1540 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1541 (GLIBC_2.16): Likewise.
1543 2019-08-15 Andreas Schwab <schwab@suse.de>
1545 * sysdeps/i386/fpu/libm-test-ulps: Update.
1547 2019-08-15 Florian Weimer <fweimer@redhat.com>
1549 * malloc/Makefile (tests): Only add tst-mxfast for
1551 * malloc/tst-mxfast.c: Fix copyright year.
1552 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
1555 2019-08-15 Florian Weimer <fweimer@redhat.com>
1557 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
1559 * login/Makefile (tests): Add tst-updwtmpx.
1560 * login/tst-updwtmpx.c: New file.
1562 2019-08-15 Florian Weimer <fweimer@redhat.com>
1564 nptl: Move pthread_equal implementation into libc.
1565 * nptl/Makefile (routines): Add pthread_equal.
1566 * nptl/forward.c (pthread_equal): Remove definition.
1567 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1569 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1570 Remove ptr_pthread_equal member.
1571 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1572 Remove pthread_equal.
1573 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1575 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1577 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1579 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1581 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1583 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1585 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1586 (GLIBC_2.4): Likewise.
1587 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1588 (GLIBC_2.0): Likewise.
1589 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1590 (GLIBC_2.18): Likewise.
1591 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1592 (GLIBC_2.0): Likewise.
1593 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1594 (GLIBC_2.0): Likewise.
1595 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1598 (GLIBC_2.0): Likewise.
1599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1600 (GLIBC_2.3): Likewise.
1601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1602 (GLIBC_2.17): Likewise.
1603 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1604 (GLIBC_2.27): Likewise.
1605 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1606 (GLIBC_2.0): Likewise.
1607 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1608 (GLIBC_2.2): Likewise.
1609 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1611 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1612 (GLIBC_2.0): Likewise.
1613 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1614 (GLIBC_2.2): Likewise.
1615 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1616 (GLIBC_2.2.5): Likewise.
1617 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1618 (GLIBC_2.16): Likewise.
1620 2019-08-14 Florian Weimer <fweimer@redhat.com>
1622 * support/support_descriptors.c: Include <support/descriptors.h>.
1624 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
1626 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
1627 Disable DC ZVA code if this macro is defined as zero.
1628 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
1629 Change to zero to disable using DC ZVA.
1631 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1633 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
1635 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
1636 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
1637 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
1638 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
1641 2019-08-13 Florian Weimer <fweimer@redhat.com>
1643 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
1645 (struct file_locking): New.
1646 (try_file_lock, file_unlock, file_lock_restore): New functions.
1647 (__libc_getutent_r): Use the new functions.
1648 (internal_getut_r): Likewise.
1649 (__libc_getutline_r): Likewise.
1650 (__libc_pututline): Likewise.
1651 (__libc_updwtmp): Likewise.
1653 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1655 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
1657 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
1658 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
1659 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
1660 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1661 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1662 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1663 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1665 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1666 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1667 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1669 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1671 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1673 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1675 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1677 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1679 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1681 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
1682 (IEC_60559_BFP_EXT)]: Likewise.
1683 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1685 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1687 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1689 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1691 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1693 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1695 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1697 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1699 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1700 Likewise, except for totalorder, totalordermag, getpayload,
1701 setpayload and setpayloadsig.
1702 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
1703 except for totalorder and totalordermag.
1705 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
1707 (strndup): Likewise.
1709 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
1710 Undefine and define to 1 if [_GNU_SOURCE].
1711 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
1712 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
1713 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
1714 (__USE_ISOC99): Likewise.
1715 (__USE_ISOC95): Likewise.
1716 * manual/creature.texi (_ISOC2X_SOURCE): Document.
1718 2019-08-13 Florian Weimer <fweimer@redhat.com>
1720 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
1722 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
1723 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1724 * login/getutmpx.c (getutmpx): Likewise.
1725 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
1727 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
1728 _HAVE_UT_TV are always true.
1729 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
1730 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1731 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
1732 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
1734 (internal_getut_r): _HAVE_UT_TYPE is always true.
1735 (__libc_pututline): Likewise.
1736 * login/programs/utmpdump.c (print_entry): Assume that
1737 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
1738 _HAVE_UT_TV are always true.
1739 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
1740 _HAVE_UT_ID are always true.
1741 * sysdeps/gnu/bits/utmp.h: Move to ...
1742 * bits/utmp.h: ... here, replacing the old file.
1744 2019-08-12 Florian Weimer <fweimer@redhat.com>
1746 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
1747 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
1749 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
1750 (do_test): Open the executable using an absolute path. Print
1751 error message to standard output.
1753 2019-08-09 DJ Delorie <dj@redhat.com>
1755 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
1756 * manual/tunables.texi: Document it.
1757 * malloc/malloc.c (do_set_mxfast): New.
1758 (__libc_mallopt): Call it.
1759 * malloc/arena.c: Add mxfast tunable.
1760 * malloc/tst-mxfast.c: New.
1761 * malloc/Makefile: Add it.
1763 2019-08-08 Niklas Hambüchen <mail@nh2.me>
1764 Carlos O'Donell <carlos@redhat.com>
1767 * malloc/malloc.c (__malloc_info): Account for top chunk.
1769 2019-08-07 Joseph Myers <joseph@codesourcery.com>
1771 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1772 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
1774 2019-08-06 Joseph Myers <joseph@codesourcery.com>
1776 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
1778 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
1780 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
1782 2019-08-05 Joseph Myers <joseph@codesourcery.com>
1784 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
1787 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1790 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
1792 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
1794 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
1796 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
1798 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1799 (ALWAYS_USE_VSYSCALL): Likewise.
1800 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1801 (ALWAYS_USE_VSYSCALL): Likewise.
1802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1803 (ALWAYS_USE_VSYSCALL): Likewise.
1804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1805 (ALWAYS_USE_VSYSCALL): Likewise.
1806 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1808 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1809 (ALWAYS_USE_VSYSCALL): Likewise.
1810 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1811 (ALWAYS_USE_VSYSCALL): Likewise.
1812 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1816 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
1817 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
1818 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
1819 USE_VSYSCALL): Remove defitions.
1822 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
1823 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
1824 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1828 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
1829 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
1830 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1831 (ALWAYS_USE_VSYSCALL): Define.
1832 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1833 (ALWAYS_USE_VSYSCALL): Likewise.
1836 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
1837 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
1838 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1841 * sysdeps/sh/libm-test-ulps: Update.
1843 2019-08-05 Florian Weimer <fweimer@redhat.com>
1846 * login/uptmp-private.h (struct ufuncs): Remove definition.
1847 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
1848 (__libc_utmp_jump_table): Remove declarations.
1849 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
1850 (__libc_getutline_r, __libc_pututline, __libc_endutent)
1851 (__libc_updwtmp): Declare.
1852 * login/getutent_r.c (__libc_utmp_unknown_functions)
1853 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
1854 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
1855 (endutent_unknown): Remove definitions.
1856 (__setutent): Call __libc_setutent.
1857 (__getutent_r): Call __libc_getutent_r.
1858 (__pututline): Call __libc_pututline.
1859 (__endutent): Call __libc_endutent.
1860 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
1861 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
1862 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
1863 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
1864 (__libc_setutent): Rename from stetutent_file. Drop static.
1865 (maybe_setutent): New function.
1866 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
1867 Check for initialization.
1868 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
1869 Check for initialization.
1870 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
1871 Check for initialization.
1872 (__libc_pututline): Rename from pututline_file. Drop static.
1873 Check for initialization.
1874 (__libc_endutent): Rename from endutent_file. Drop static. Check
1876 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
1877 * login/utmpname.c (__utmpname): Call __libc_endutent.
1878 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
1879 __libc_getutlien_r, __libc_endutent.
1880 * manual/users.texi (Who Logged In, Manipulating the Database):
1883 2019-08-05 Alexandra Hájková <ahajkova@redhat.com>
1885 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
1887 2019-08-02 Joseph Myers <joseph@codesourcery.com>
1889 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
1891 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
1892 kernel version number to 5.2.
1894 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
1896 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
1897 mnemonics and set .machine power8.
1898 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1899 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
1900 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1901 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1902 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1903 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1904 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1905 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1906 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1907 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1909 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1911 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1913 2019-08-01 Florian Weimer <fweimer@redhat.com>
1916 * malloc/malloc.c (__malloc_info): Remove unwanted leading
1919 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1922 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
1925 2019-08-01 Carlos O'Donell <carlos@redhat.com>
1927 * version.h (RELEASE): Set to "stable".
1928 (VERSION): Set to "2.30".
1929 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
1931 * manual/install.texi: Update component versions.
1932 * INSTALL: Regenerate.
1935 2019-07-31 Carlos O'Donell <carlos@redhat.com>
1937 * po/be.po: Update translations.
1938 * po/bg.po: Likewise.
1939 * po/ca.po: Likewise.
1940 * po/cs.po: Likewise.
1941 * po/da.po: Likewise.
1942 * po/de.po: Likewise.
1943 * po/el.po: Likewise.
1944 * po/eo.po: Likewise.
1945 * po/es.po: Likewise.
1946 * po/fi.po: Likewise.
1947 * po/fr.po: Likewise.
1948 * po/gl.po: Likewise.
1949 * po/hr.po: Likewise.
1950 * po/hu.po: Likewise.
1951 * po/ia.po: Likewise.
1952 * po/id.po: Likewise.
1953 * po/it.po: Likewise.
1954 * po/ja.po: Likewise.
1955 * po/ko.po: Likewise.
1956 * po/lt.po: Likewise.
1957 * po/nb.po: Likewise.
1958 * po/nl.po: Likewise.
1959 * po/pl.po: Likewise.
1960 * po/pt_BR.po: Likewise.
1961 * po/ru.po: Likewise.
1962 * po/rw.po: Likewise.
1963 * po/sk.po: Likewise.
1964 * po/sl.po: Likewise.
1965 * po/sv.po: Likewise.
1966 * po/tr.po: Likewise.
1967 * po/uk.po: Likewise.
1968 * po/vi.po: Likewise.
1969 * po/zh_CN.po: Likewise.
1970 * po/zh_TW.po: Likewise.
1972 2019-07-31 Florian Weimer <fweimer@redhat.com>
1976 iconv, libio: Revert reference counting changes.
1977 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
1978 free the steps array.
1979 * libio/Makefile (tests): Remove tst-wfile-gconv.
1980 (tests-container): Do not add tst-wfile-ascii.
1981 (tst-wfile-gconv-ENV): Do not set.
1982 (generated): Do not add tst-wfile-gconv.mtrace,
1983 tst-wfile-gconv.check.
1984 [($run-built-tests)] (tests-special): Do not add
1985 tst-wfile-gconv-mem.out.
1986 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
1987 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
1988 instead of __wcsmbs_clone_conv.
1989 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
1990 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
1992 2019-07-30 Joseph Myers <joseph@codesourcery.com>
1994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1995 (__CONTEXT_FUNC_NAME): Restore setting of r31.
1997 2019-07-30 Florian Weimer <fweimer@redhat.com>
1999 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
2000 type to uintptr_t. Update comment.
2001 (check_stack_top): Adjust.
2003 2019-07-29 Florian Weimer <fweimer@redhat.com>
2005 Linux: Move declaration of getdents64 to <dirent.h>.
2006 * bits/dirent_ext.h: New file.
2007 * dirent/Makefile (headers): Add bits/dirent_ext.h.
2008 * dirent/dirent.h: Include <bits/dirent_ext.h>.
2009 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
2010 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
2012 * manual/filesys.texi (Low-level Directory Access): Update header
2015 2019-07-29 DJ Delorie <dj@redhat.com>
2016 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2019 * Makeconfig (all-subdirs): Improved source comments.
2020 * Makefile (testroot.pristine/install.stamp): Pass
2021 subdirs='$(sorted-subdirs)' to make install.
2023 2019-07-25 Florian Weimer <fweimer@redhat.com>
2026 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
2027 counter before freeing array.
2029 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
2032 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
2034 * sysdeps/x86_64/configure: Regenerated.
2035 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
2036 to -mprefer-vector-width=128 if supported.
2038 2019-07-24 Florian Weimer <fweimer@redhat.com>
2040 * scripts/build-many-glibcs.py (Context.checkout): Default to
2043 2019-07-24 Florian Weimer <fweimer@redhat.com>
2046 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
2047 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
2048 (sysdep_headers): Add bits/socket-constants.h.
2049 (tests-special): Add tst-socket-consts.out.
2050 (tst-socket-consts.out): New target.
2051 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
2052 around <asm/unistd.h>.
2053 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
2054 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
2056 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
2057 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
2058 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
2059 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
2060 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
2061 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
2063 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
2065 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2068 * Makefile (testroot.pristine/install.stamp): Pass
2069 subdirs='$(all-subdirs)' to make install.
2071 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
2072 the same arguments used in all tests.
2074 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2076 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
2078 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
2081 * locale/C-translit.h.in: Add Cyrillic transliteration.
2083 2019-07-19 Florian Weimer <fweimer@redhat.com>
2085 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
2087 (fsconfig): Add system call name.
2088 (fsmount): Likewise.
2091 (move_mount): Likewise.
2092 (open_tree): Likewise.
2094 2019-07-18 Carlos O'Donell <carlos@redhat.com>
2096 * po/libc.pot: Regenerate.
2098 2019-07-18 Mike Crowe <mac@mcrowe.com>
2100 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
2101 functions recently added to sysdeps/nptl/pthread.h:
2102 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
2103 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
2105 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
2106 pthread_cond_clockwait forwarding functions. There are no internal
2107 users, so it is unnecessary to expose these functions in libc.so.
2108 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
2109 unnecessary ptr___pthread_cond_clockwait member.
2110 * nptl/nptl-init.c (pthread_functions): Remove assignment of
2113 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2116 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
2117 begin with an uppercase letter now.
2119 (mon): Update from CLDR, reword February from "Kudo" to
2120 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
2121 and August from "Liiqen" to "Leqeeni".
2122 * localedata/locales/aa_ER (mon): Update from CLDR, reword
2123 April from "Agda Baxisso" to "Agda Baxis" and August from
2124 "Leqeeni" to "Liiqen".
2125 * localedata/locales/aa_ER@saaho (mon): Likewise.
2126 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
2127 abbreviated February from "Kud" to "Nah".
2128 (mon): Update from CLDR, reword February from "Kudo" to
2129 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
2131 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2134 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
2136 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
2139 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
2140 name_mrs, name_miss, and name_ms.
2141 * localedata/locales/nl_NL (LC_NAME): Likewise.
2143 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
2146 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
2147 * localedata/locales/en_IE (first_weekday): Likewise.
2149 2019-07-12 Mike Crowe <mac@mcrowe.com>
2151 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
2152 that is only useful if futex_supports_exact_relative_timeouts ()
2154 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
2156 * sysdeps/nptl/futex-internal.h: Remove comment about relative
2157 timeouts potentially being imprecise since it's no longer true.
2158 Remove declaration of futex_supports_exact_relative_timeouts.
2159 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
2160 of futex_supports_exact_relative_timeouts.
2162 * NEWS: Mention recently-added pthread_cond_clockwait,
2163 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
2164 sem_clockwait functions.
2166 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
2167 works like pthread_mutex_timedlock but takes a clockid parameter to
2168 measure the abstime parameter against.
2169 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
2170 * nptl/DESIGN-systemtap-probes.txt: Likewise.
2171 * nptl/pthread_mutex_timedlock.c
2172 (__pthread_mutex_clocklock_common): Rename from
2173 __pthread_mutex_timedlock and add clockid parameter. Pass this
2174 parameter to lll_clocklock and lll_clocklock_elision in place of
2175 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
2176 LIBC_PROBE and validate clockid parameter before calling
2177 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
2178 implementation to add LIBC_PROBE and calls
2179 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
2181 * nptl/Makefile: Add tst-mutex11.c.
2182 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
2183 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
2184 clockid parameters to pthread_mutex_clocklock.
2185 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
2186 clockid parameter to indicate which clock to be used. Call
2187 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
2188 (do_test): Call do_test_clock to separately test
2189 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
2190 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
2191 * nptl/tst-mutex9.c: Likewise.
2192 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
2193 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
2195 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
2197 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
2199 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
2201 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
2203 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
2205 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
2207 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2208 (GLIBC_2.30): Likewise.
2209 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2210 (GLIBC_2.30): Likewise.
2211 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2212 (GLIBC_2.30): Likewise.
2213 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2214 (GLIBC_2.30): Likewise.
2215 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2216 (GLIBC_2.30): Likewise.
2217 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
2219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2220 (GLIBC_2.30): Likewise.
2221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2222 (GLIBC_2.30): Likewise.
2223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2224 (GLIBC_2.30): Likewise.
2225 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2226 (GLIBC_2.30): Likewise.
2227 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2228 (GLIBC_2.30): Likewise.
2229 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2230 (GLIBC_2.30): Likewise.
2231 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
2233 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2234 (GLIBC_2.30): Likewise.
2235 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2236 (GLIBC_2.30): Likewise.
2237 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2238 (GLIBC_2.30): Likewise.
2239 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2240 (GLIBC_2.30): Likewise.
2242 nptl: Rename lll_timedlock to lll_clocklock and add clockid
2243 parameter to indicate the clock that the abstime parameter should
2244 be measured against in preparation for adding
2245 pthread_mutex_clocklock.
2246 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
2247 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
2248 from __lll_timedlock and add clockid parameter.
2249 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
2251 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
2252 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
2253 rather than __gettimeofday so that clockid can be used. This means
2254 that conversion from struct timeval is no longer required.
2255 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
2257 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
2258 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
2259 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
2260 from lll_timedlock_elision, add clockid parameter and use
2261 meaningful names for other parameters. (__pthread_mutex_timedlock):
2262 Pass CLOCK_REALTIME where necessary to lll_clocklock and
2263 lll_clocklock_elision.
2264 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2265 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
2266 clockid parameter. (__lll_clocklock_elision): Rename from
2267 __lll_timedlock_elision and add clockid parameter.
2268 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2269 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
2270 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
2271 (__lll_lock_elision): Call __lll_clocklock_elision rather than
2272 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
2273 (LLL_LOCK): Likewise.
2274 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2275 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
2277 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
2278 pthread_rwlock_clockwrlock which behave like
2279 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
2280 respectively, except they always measure abstime against the
2281 supplied clockid. The functions currently support CLOCK_REALTIME
2282 and CLOCK_MONOTONIC and return EINVAL if any other clock is
2284 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
2285 pthread_wrlock_clockwrlock.
2286 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
2287 pthread_rwlock_clockwrlock.c.
2288 * nptl/pthread_rwlock_clockrdlock.c: Implement
2289 pthread_rwlock_clockrdlock.
2290 * nptl/pthread_rwlock_clockwrlock.c: Implement
2291 pthread_rwlock_clockwrlock.
2292 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
2293 clockid parameter and verify that it indicates a supported clock on
2294 entry so that we fail even if it doesn't end up being used. Pass
2295 that clock on to futex_abstimed_wait when necessary.
2296 (__pthread_rwlock_wrlock_full): Likewise.
2297 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
2298 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
2299 be used because there's no timeout.
2300 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
2301 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
2302 be used because there is no timeout.
2303 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2304 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
2306 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2307 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
2309 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2310 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2311 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2312 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2313 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2314 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2315 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2316 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2317 (GLIBC_2.30): Likewise.
2318 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2319 (GLIBC_2.30): Likewise.
2320 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2321 (GLIBC_2.30): Likewise.
2322 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2323 (GLIBC_2.30): Likewise.
2324 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2325 (GLIBC_2.30): Likewise.
2326 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2328 (GLIBC_2.30): Likewise.
2329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2330 (GLIBC_2.30): Likewise.
2331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2332 (GLIBC_2.30): Likewise.
2333 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2334 (GLIBC_2.30): Likewise.
2335 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2336 (GLIBC_2.30): Likewise.
2337 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2338 (GLIBC_2.30): Likewise.
2339 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2340 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2341 (GLIBC_2.30): Likewise.
2342 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2343 (GLIBC_2.30): Likewise.
2344 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2345 (GLIBC_2.30): Likewise.
2346 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2347 (GLIBC_2.30): Likewise.
2348 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
2349 pthread_rwlock_clockwrlock timeout tests to match the existing
2350 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
2351 * nptl/tst-rwlock14.c (do_test): Likewise.
2352 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
2353 ancillary output throughout. (tf): Accept thread_args structure so
2354 that rwlock, a clockid and function name can be passed to the
2355 thread. (do_test_clock): Rename from do_test. Accept clockid
2356 parameter to specify test clock. Use the magic clockid value of
2357 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
2358 pthread_rwlock_timedwrlock should be tested, otherwise pass the
2359 specified clockid to pthread_rwlock_clockrdlock and
2360 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
2361 (do_test): Call do_test_clock to test each clockid in turn.
2362 * nptl/tst-rwlock7.c: Likewise.
2363 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
2364 thread_args structure so that the (now int) thread number, the
2365 clockid and the function name can be passed to the thread.
2366 (do_test_clock): Renamed from do_test. Pass the necessary
2367 thread_args when creating the reader and writer threads. Use
2368 xpthread_create and xpthread_join.
2369 (do_test): Call do_test_clock to test each clockid in turn.
2370 * manual/threads.texi: Add documentation for
2371 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
2373 nptl: pthread_rwlock: Move timeout validation into _full functions
2374 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
2375 Check validity of abstime parameter.
2376 (__pthread_rwlock_rwlock_full): Likewise.
2377 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2378 Remove check for validity of abstime parameter.
2379 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2382 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
2383 like pthread_cond_timedwait except it always measures abstime
2384 against the supplied clockid.
2385 * nptl/Makefile: Add tst-cond26 and tst-cond27
2386 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
2387 * sysdeps/nptl/pthread.h: Likewise
2388 * nptl/forward.c: Add __pthread_cond_clockwait
2389 * nptl/forward.c: Likewise
2390 * nptl/pthreadP.h: Likewise
2391 * sysdeps/nptl/pthread-functions.h: Likewise
2392 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
2393 clockid parameter and comment describing why we don't need to check
2394 its value. Use that value when calling
2395 futex_abstimed_wait_cancelable rather than reading the clock from
2396 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
2397 (__pthread_cond_timedwait): Read clock from flags and pass it to
2398 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
2399 function with weak alias from pthread_cond_clockwait.
2400 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2401 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2402 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2403 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2404 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2405 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2406 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2407 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2408 (GLIBC_2.30): Likewise.
2409 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2410 (GLIBC_2.30): Likewise.
2411 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2412 (GLIBC_2.30): Likewise.
2413 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2414 (GLIBC_2.30): Likewise.
2415 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2416 (GLIBC_2.30): Likewise.
2417 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2419 (GLIBC_2.30): Likewise.
2420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2421 (GLIBC_2.30): Likewise.
2422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2423 (GLIBC_2.30): Likewise.
2424 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2425 (GLIBC_2.30): Likewise.
2426 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2427 (GLIBC_2.30): Likewise.
2428 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2429 (GLIBC_2.30): Likewise.
2430 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2431 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2432 (GLIBC_2.30): Likewise.
2433 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2434 (GLIBC_2.30): Likewise.
2435 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2436 (GLIBC_2.30): Likewise.
2437 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2438 (GLIBC_2.30): Likewise.
2439 * nptl/tst-cond11.c (run_test): Support testing
2440 pthread_cond_clockwait too by using a special magic
2441 CLOCK_USE_ATTR_CLOCK value to determine whether to call
2442 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
2443 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
2444 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
2445 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
2446 clocks to pthread_cond_clockwait.
2447 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
2448 struct timespec and pthread_cond_clockwait.
2449 * manual/threads.texi: Document pthread_cond_clockwait.
2451 nptl: Add POSIX-proposed sem_clockwait which behaves just like
2452 sem_timedwait, but measures abstime against the specified clock.
2453 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
2454 clockid parameters to indicate the clock which abstime should be
2456 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
2457 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
2458 __new_sem_wait_slow.
2459 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
2461 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
2462 sem_clockwait.c to match those used for sem_timedwait.c.
2463 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
2464 * nptl/Versions (GLIBC_2.30): Likewise.
2465 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2466 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2467 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2468 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2469 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2470 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2471 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2472 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2473 (GLIBC_2.30): Likewise.
2474 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2475 (GLIBC_2.30): Likewise.
2476 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2477 (GLIBC_2.30): Likewise.
2478 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2479 (GLIBC_2.30): Likewise.
2480 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2481 (GLIBC_2.30): Likewise.
2482 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2484 (GLIBC_2.30): Likewise.
2485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2486 (GLIBC_2.30): Likewise.
2487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2488 (GLIBC_2.30): Likewise.
2489 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2490 (GLIBC_2.30): Likewise.
2491 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2492 (GLIBC_2.30): Likewise.
2493 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2494 (GLIBC_2.30): Likewise.
2495 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2496 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2497 (GLIBC_2.30): Likewise.
2498 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2499 (GLIBC_2.30): Likewise.
2500 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2501 (GLIBC_2.30): Likewise.
2502 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2503 (GLIBC_2.30): Likewise.
2504 * nptl/tst-sem17.c: Add new test for passing invalid clock to
2506 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
2507 tests to also test sem_clockwait.
2508 * manual/threads.texi: Document sem_clockwait.
2510 nptl: Add clockid parameter to futex timed wait calls
2511 * sysdeps/nptl/lowlevellock-futex.h,
2512 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
2513 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
2514 takes a clockid rather than a special clockbit.
2515 * sysdeps/nptl/lowlevellock-futex.h: Add
2516 lll_futex_supported_clockid so that client functions can check
2517 whether their clockid parameter is valid even if they don't
2518 ultimately end up calling lll_futex_clock_wait_bitset.
2519 * sysdeps/nptl/futex-internal.h,
2520 sysdeps/unix/sysv/linux/futex-internal.h
2521 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
2522 clockid_t parameter to indicate which clock the absolute time
2523 passed should be measured against. Pass that clockid onto
2524 lll_futex_clock_wait_bitset. Add invalid clock as reason for
2526 * sysdeps/nptl/futex-internal.h,
2527 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
2528 futex_abstimed_supported_clockid so that client functions can check
2529 whether their clockid parameter is valid even if they don't
2530 ultimately end up calling futex_abstimed_wait.
2531 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
2532 code to calculate relative timeout for
2533 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
2534 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
2535 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
2536 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
2537 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
2538 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2539 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
2541 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2544 * posix/tst-mmap-offset.c: Mention BZ #24699.
2545 (do_test_bz21270): Rename to do_test_large_offset and use
2546 mmap64_maximum_offset to check for maximum expected offset value.
2547 * sysdeps/generic/mmap_info.h: New file.
2548 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
2549 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
2552 2019-07-10 DJ Delorie <dj@redhat.com>
2553 Sergei Trofimovich <slyfox@inbox.ru>
2557 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
2559 * nss/tst-nss-db-endgrent.c: New.
2560 * nss/tst-nss-db-endgrent.root: New.
2561 * nss/tst-nss-db-endpwent.c: New.
2562 * nss/tst-nss-db-endpwent.root: New.
2563 * nss/Makefile: Add new tests.
2564 * support/links-dso-program-c.c: Add selinux dependency.
2565 * support/links-dso-program.cc: Add selinux dependency.
2566 * support/Makefile: Build those with -lselinux if enabled.
2568 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
2570 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
2571 DT_AARCH64_VARIANT_PCS check.
2572 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
2573 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
2576 2019-07-10 Andreas Schwab <schwab@suse.de>
2579 * malloc/malloc.h (__malloc_check_init): Don't declare.
2580 * include/malloc.h (__malloc_check_init): Likewise.
2581 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
2582 * manual/memory.texi (__malloc_check_init): Don't mention it.
2584 2019-07-10 Mao Han <han_mao@c-sky.com>
2586 * locale/Makefile: Fix tst-locale-locpath arguments passing.
2588 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
2590 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
2591 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
2593 2019-07-08 DJ Delorie <dj@redhat.com>
2596 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
2597 * io/tst-ftw-lnk.c: New test.
2598 * io/Makefile: Run it.
2600 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2602 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
2603 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
2604 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
2605 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
2606 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
2607 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
2608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
2609 Adjust implementation path.
2610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
2611 Adjust implementation path.
2612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
2613 Adjust implementation path.
2614 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2615 (libm-sysdep_routines): Add s_log* objects.
2616 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
2617 CFLAGS-s_logb-power7.c): New fule.
2618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
2620 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
2622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
2624 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
2626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
2627 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
2628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
2630 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
2632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
2634 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
2636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
2637 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
2638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
2640 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
2642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
2644 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
2646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
2647 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
2648 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
2649 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
2650 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2651 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2653 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
2654 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
2655 powerpc32 integer 0 converting to -0.
2657 * benchtests/Makefile (bench-math): Add logb.
2658 * benchtests/logb-inputs: New file.
2659 * benchtests/logbf-inputs: New file.
2661 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
2662 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
2663 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
2664 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
2665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2669 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
2670 sysdep_routines): Add s_modf* objects.
2671 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
2672 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
2673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
2675 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
2677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
2679 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
2681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
2682 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
2683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
2685 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
2687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
2688 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
2690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
2691 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
2693 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
2694 twoM500, twoM600, two60factor, pdnum): Remove.
2695 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
2696 (__ieee754_hypot): Replace static variables with inline definition,
2697 remove ununsed branches.
2698 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2699 (libm-sysdep_routines): Remove e_hypot-* objects.
2700 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
2701 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
2703 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
2704 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
2705 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
2706 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
2707 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
2709 * benchtests/Makefile (bench-math): Add hypot.
2710 * benchtests/hypot-inputs: New file.
2712 2019-07-08 Vincent Chen <vincentc@andestech.com>
2714 * sysdeps/unix/sysv/linux/dl-vdso.h
2715 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
2717 2019-07-04 Andreas Schwab <schwab@suse.de>
2720 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
2722 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2724 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
2725 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
2726 * sysdeps/aarch64/sys/ifunc.h: New file.
2727 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
2728 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
2730 2019-07-01 Florian Weimer <fweimer@redhat.com>
2733 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
2734 Replace __vfork with __libpthread_version_placeholder for
2736 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
2737 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
2739 * nptl/pt-vfork.c: Remove file.
2740 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
2741 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
2742 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2743 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2744 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
2745 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
2746 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
2747 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
2748 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
2749 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2750 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
2751 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
2752 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
2753 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2754 Remove vfork, __vfork.
2755 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2757 (GLIBC_2.1.2): Replace __vfork with
2758 __libpthread_version_placeholder.
2759 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2760 Remove vfork, __vfork.
2761 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2763 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2765 (GLIBC_2.1.2): Replace __vfork with
2766 __libpthread_version_placeholder.
2767 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2769 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2770 (GLIBC_2.4): Remove vfork, __vfork.
2771 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2772 (GLIBC_2.0): Remove vfork.
2773 (GLIBC_2.1.2): Replace __vfork with
2774 __libpthread_version_placeholder.
2775 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2776 (GLIBC_2.18): Remove vfork, __vfork.
2777 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2778 (GLIBC_2.0): Remove vfork.
2779 (GLIBC_2.2): Remove __vfork.
2780 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
2781 (GLIBC_2.2): Remove vfork, __vfork.
2782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
2783 (GLIBC_2.0): Remove vfork.
2784 (GLIBC_2.1.2): Replace __vfork with
2785 __libpthread_version_placeholder.
2786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2787 (GLIBC_2.3): Remove vfork, __vfork.
2788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2789 (GLIBC_2.17): Likewise.
2790 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2791 (GLIBC_2.0): Remove vfork.
2792 (GLIBC_2.1.2): Replace __vfork with
2793 __libpthread_version_placeholder.
2794 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2795 (GLIBC_2.2): Remove vfork, __vfork.
2796 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2798 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2799 (GLIBC_2.0): Remove vfork.
2800 (GLIBC_2.1.2): Replace __vfork with
2801 __libpthread_version_placeholder.
2802 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2803 (GLIBC_2.2): Remove vfork, __vfork.
2804 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2805 (GLIBC_2.2.5): Likewise.
2806 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2807 (GLIBC_2.16): Likewise.
2808 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
2809 Remove __errno_location.
2811 2019-07-02 Florian Weimer <fweimer@redhat.com>
2814 * malloc/Depend: Add nptl and htl, due to potential indirect
2815 libpthread dependency of memusagestat.
2817 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
2819 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
2822 2019-07-01 Florian Weimer <fweimer@redhat.com>
2824 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
2825 variant for arm-linux-gnueabi.
2827 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
2830 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
2832 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
2833 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
2834 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
2835 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
2836 and tst-cet-legacy-mod-6c.
2837 (CFLAGS-tst-cet-legacy-5a.c): New.
2838 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
2839 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
2840 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
2841 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
2842 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
2843 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
2844 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
2845 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
2846 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
2847 ($(objpfx)tst-cet-legacy-5a): Likewise.
2848 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
2849 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
2850 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
2851 ($(objpfx)tst-cet-legacy-5b): Likewise.
2852 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
2853 (tst-cet-legacy-5b-ENV): Likewise.
2854 ($(objpfx)tst-cet-legacy-6a): Likewise.
2855 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
2856 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
2857 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
2858 ($(objpfx)tst-cet-legacy-6b): Likewise.
2859 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
2860 (tst-cet-legacy-6b-ENV): Likewise.
2861 * sysdeps/x86/tst-cet-legacy-5.c: New file.
2862 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
2863 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
2864 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
2865 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
2866 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
2867 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
2868 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
2869 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
2870 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
2871 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
2872 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
2873 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
2874 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
2876 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
2878 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
2879 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
2880 (__fegetround_ISA300) New.
2881 (__fegetround_ISA2) New.
2882 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
2883 (_FPU_MFFS): Move implementation...
2885 (_FPU_MFFSL): Move implementation....
2886 (_FPU_GET_RC_ISA300): Here. New.
2887 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
2888 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
2889 (fegetenv_status): New.
2890 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
2891 instead of fegetenv_register().
2892 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
2894 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
2896 * benchtests/bench-math-inlines.c: Increase iterations.
2897 * benchtests/bench-memcmp.c: Likewise.
2898 * benchtests/bench-rawmemchr.c: Likewise.
2899 * benchtests/bench-strcmp.c: Likewise.
2900 * benchtests/bench-strcpy_chk.c: Likewise.
2901 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
2902 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
2903 (INNER_LOOP_ITERS_SMALL): Likewise.
2904 * benchtests/bench-strncat.c: Increase iterations.
2905 * benchtests/bench-strncmp.c: Increase iterations.
2906 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
2907 * benchtests/bench-strrchr.c: Increase iterations.
2908 * benchtests/bench-strstr.c: Keep iterations unchanged.
2909 * benchtests/bench-strtod.c: Increase iterations.
2911 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2913 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
2914 with INNER_LOOP_ITERS_LARGE.
2915 * benchtests/bench-memchr.c: Likewise.
2916 * benchtests/bench-rawmemchr.c: Likewise.
2917 * benchtests/bench-strcat.c: Likewise.
2918 * benchtests/bench-strchr.c: Likewise.
2919 * benchtests/bench-string.h: Likewise.
2920 * benchtests/bench-strlen.c: Likewise.
2921 * benchtests/bench-strncpy.c: Likewise.
2922 * benchtests/bench-strnlen.c: Likewise.
2924 2019-06-28 Florian Weimer <fweimer@redhat.com>
2926 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
2927 Use mmap instead of malloc. malloc with M_PERTURB writes to the
2928 entire allocated memory range.
2930 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
2932 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
2933 (prepare_version_base): New helper inline function.
2934 (prepare_version): New macro replacing PREPARE_VERSION.
2935 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
2937 2019-06-28 Florian Weimer <fweimer@redhat.com>
2940 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
2941 mismatch in a versioned symbol reference.
2942 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
2943 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
2944 tst-sonamemove-dlopen.
2945 (module-names): Add tst-sonamemove-linkmod1,
2946 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
2947 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
2948 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
2949 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
2950 (tst-sonamemove-runmod1.so): Link against
2951 tst-sonamemove-runmod2.so.
2952 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
2953 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
2954 tst-sonamemove-runmod2.so.
2955 (tst-sonamemove-dlopen): Link with -ldl.
2956 (tst-sonamemove-dlopen.out): Likewise.
2957 * elf/tst-sonamemove-link.c: New file.
2958 * elf/tst-sonamemove-dlopen.c: Likewise.
2959 * elf/tst-sonamemove-linkmod1.c: Likewise.
2960 * elf/tst-sonamemove-linkmod1.map: Likewise.
2961 * elf/tst-sonamemove-runmod1.c: Likewise.
2962 * elf/tst-sonamemove-runmod1.map: Likewise.
2963 * elf/tst-sonamemove-runmod2.c: Likewise.
2964 * elf/tst-sonamemove-runmod2.map: Likewise.
2966 2019-06-28 Florian Weimer <fweimer@redhat.com>
2968 * support/xdlfcn.h (xdlvsym): Declare function.
2969 * support/xdlfcn.c (xdlvsym): Define funciton.
2971 2019-06-28 Florian Weimer <fweimer@redhat.com>
2974 io: Remove the copy_file_range emulation.
2975 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
2976 not define and call copy_file_range_compat.
2977 * io/Makefile (tests-static, tests-internal): Do not add
2978 tst-copy_file_range-compat.
2979 * io/copy_file_range-compat.c: Remove file.
2980 * io/copy_file_range.c (copy_file_range): Define as stub.
2981 * io/tst-copy_file_range-compat.c: Remove file.
2982 * io/tst-copy_file_range.c (xdevfile): Remove variable.
2983 (typical_sizes): Update comment. Remove 16K sizes.
2984 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
2986 (find_maximum_offset, pipe_as_source, pipe_as_destination)
2987 (delayed_write_failure_beginning, delayed_write_failure_end)
2988 (cross_device_failure, enospc_failure_1, enospc_failure)
2989 (oappend_failure): Remove functions.
2990 (tests): Adjust test case list.
2991 (do_test): Remove file system search code. Check for ENOSYS from
2992 copy_file_range. Do not free xdevfile.
2993 * manual/llio.texi (Copying File Data): Document ENOSYS error from
2994 copy_file_range. Do not document the EXDEV error, which future
2995 kernels may not report. Update the wording to reflect that
2996 further errors are possible.
2997 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2998 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
3000 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3001 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3003 * sysdeps/unix/sysv/linux/kernel-features.h
3004 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
3006 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3007 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
3009 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3010 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
3013 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3015 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
3016 used as a mask for the mode argument of __vfprintf_internal.
3017 * stdio-common/printf-parse.h (printf_arg): New union member:
3019 * stdio-common/vfprintf-internal.c
3020 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
3021 (PARSE_FLOAT_VA_ARG): Likewise.
3022 (SETUP_FLOAT128_INFO): Likewise.
3023 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
3024 SETUP_FLOAT128_INFO.
3025 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
3026 floating-point value to the new union member, pa_float128.
3027 (printf_positional): Zero-initialize args_value[cnt] with memset.
3029 2019-06-27 Florian Weimer <fweimer@redhat.com>
3032 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
3033 buffer size if necessary.
3034 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3036 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
3038 (large_buffer_checks): Likewise.
3039 (do_test): Call large_buffer_checks.
3041 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
3043 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
3044 * sysdeps/x86/dl-lookupcfg.h: Here.
3045 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
3047 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3049 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3050 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
3051 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
3053 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3054 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3055 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
3056 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3057 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
3059 * sysdeps/powerpc/powerpc32/fpu/Makefile
3060 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
3061 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
3062 and fctidz optimization.
3063 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
3064 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
3065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3066 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
3067 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
3068 CFLAGS-s_lround-power5+.c): New rule.
3069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
3071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
3073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
3075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
3077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
3079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3089 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3090 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
3091 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3092 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
3093 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3094 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3095 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
3097 2019-06-26 Vincent Chen <vincentc@andestech.com>
3099 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
3100 specific system calls, fp_udfiex_crtl and udftrap.
3102 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
3104 * nptl/tst-eintr1.c (tf1): Add return statement.
3105 (do_test): Remove unused th variable.
3107 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
3109 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
3110 Return error if get_character fails.
3112 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
3114 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3116 2019-06-24 Rafał Lużyński <digitalfreak@lingonborough.com>
3119 * localedata/locales/szl_PL (day): Use the correct Unicode
3120 sequences instead of non-ASCII characters.
3122 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
3125 * localedata/locales/szl_PL (abday): Spelling corrections.
3129 (alt_mon): This, then apply spelling corrections.
3130 (mon): New entry, month names in the genitive case.
3132 2019-06-21 Rafał Lużyński <digitalfreak@lingonborough.com>
3135 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
3136 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
3137 (thousands_sep): Likewise.
3138 (grouping): Set to 3;3.
3140 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
3142 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
3143 PREPARE_VERSION_KNOWN.
3144 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3145 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
3147 (VDSO_HASH_LINUX_2_6_39): Likewise.
3148 (VDSO_NAME_LINUX_4_9): Likewise.
3149 (VDSO_HASH_LINUX_4_9): Likewise.
3150 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
3151 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3152 (_libc_vdso_platform_setup): Likewise.
3153 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
3154 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
3156 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
3159 2019-06-20 Mike Crowe <mac@mcrowe.com>
3161 * nptl/eintr.c: Use libsupport.
3162 * nptl/tst-eintr1.c: Likewise.
3163 * nptl/tst-eintr2.c: Likewise.
3164 * nptl/tst-eintr3.c: Likewise.
3165 * nptl/tst-eintr4.c: Likewise.
3166 * nptl/tst-eintr5.c: Likewise.
3167 * nptl/tst-mutex-errorcheck.c: Likewise.
3168 * nptl/tst-mutex5.c: Likewise.
3170 * support/test-driver.h: Add verbose_printf macro.
3172 * support/xtime.h: Add xclock_now() helper function.
3174 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
3175 Florian Weimer <fweimer@redhat.com>
3178 * libio/genops.c (_IO_unbuffer_all)
3179 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
3180 buffers and access _IO_FILE_complete members of legacy libio streams.
3181 * libio/tst-bz24228.c: New file.
3182 * libio/tst-bz24228.map: Likewise.
3183 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
3184 [build-shared] (generated): Add tst-bz24228.mtrace and
3186 [run-built-tests && build-shared] (tests-special): Add
3187 $(objpfx)tst-bz24228-mem.out.
3188 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
3189 ($(objpfx)tst-bz24228-mem.out): New rule.
3191 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
3193 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
3194 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
3195 (__FPU_MFFSL): Likewise.
3196 (_FPU_SETCW): Likewise.
3198 2019-06-19 Stan Shebs <stanshebs@google.com>
3199 Raoni Fassina Firmino <raoni@linux.ibm.com>
3202 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
3203 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
3204 static-linking version.
3205 * sysdeps/unix/sysv/linux/powerpc/Makefile
3206 (tests-static): Add test-gettimebasefreq-static.
3208 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
3211 2019-06-19 Rafał Lużyński <digitalfreak@lingonborough.com>
3214 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
3215 between the currency symbol and the minus sign).
3216 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3218 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
3221 * string/test-strcasestr.c (check_result): Add NULL check.
3222 * nss/tst-field.c (check_rewrite): Likewise.
3223 * benchtests/bench-strstr.c (do_one_test): Likewise.
3224 * string/test-strstr.c (check_result): Likewise.
3225 * argp/argp-test.c (popt): Increase size of buf to 12.
3226 * benchtests/bench-malloc-simple.c (bench):
3227 Do not initialize tests array out of bounds.
3229 2019-06-19 Florian Weimer <fweimer@redhat.com>
3232 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
3235 2019-06-18 Florian Weimer <fweimer@redhat.com>
3238 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
3239 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
3240 fail when called from dlopen.
3241 * elf/Makefile [have-fpie && build-shared] (tests): Add
3243 (tst-dlopen-pie): Link with -ldl.
3244 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
3245 * elf/tst-dlopen-pie.c (do_test): New file.
3247 2019-06-17 Rafał Lużyński <digitalfreak@lingonborough.com>
3250 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
3251 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
3252 between the currency symbol and the minus sign).
3253 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3254 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
3256 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3258 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
3259 sysdep-rtld-routines): Remove rules.
3260 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
3261 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
3262 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
3263 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
3264 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
3265 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
3266 vDSO path for SHARED.
3267 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
3268 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
3269 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3270 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
3271 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
3272 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
3274 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3275 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
3276 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
3277 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
3278 CFLAGS-s_llround-power5+.c): New rule.
3279 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
3281 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
3283 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
3285 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
3287 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
3289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
3290 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
3291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
3292 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
3293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
3294 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
3295 * sysdeps/powerpc/powerpc64/fpu/Makefile
3296 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
3297 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3298 (libm-sysdep_routines): Remove s_llround-* objects.
3299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
3301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
3303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
3305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
3307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
3309 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3310 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3311 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
3312 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
3313 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
3314 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
3315 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
3316 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
3317 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3318 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
3319 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3320 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
3321 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3322 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
3324 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
3325 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
3326 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
3327 * sysdeps/powerpc/powerpc32/fpu/Makefile
3328 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
3329 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
3331 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
3332 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
3333 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
3334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3335 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
3336 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
3337 CFLAGS-s_lrint-ppc32.c): New rule.
3338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3348 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3349 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3350 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3351 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
3354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
3356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
3358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
3360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
3363 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3364 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
3366 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
3367 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
3369 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
3371 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
3373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
3374 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
3375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
3376 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
3377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
3378 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
3379 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
3380 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
3381 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3382 (libm-sysdep_routines): Remove s_llrint-* objects.
3383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
3385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
3387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
3388 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
3389 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
3390 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
3391 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
3392 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
3393 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3394 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
3395 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3396 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
3398 2019-06-14 Florian Weimer <fweimer@redhat.com>
3400 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
3401 argument to __glibc_has_include to inhibit macro expansion.
3403 2019-06-14 Florian Weimer <fweimer@redhat.com>
3405 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
3406 function-like macro, so that __has_include can inhibit expansion
3409 2019-06-13 Joseph Myers <joseph@codesourcery.com>
3411 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
3414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3415 Allow memset in libc.so.
3417 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3419 * sysdeps/aarch64/dl-dtprocnum.h: New file.
3420 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
3421 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
3422 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
3423 symbols at load time.
3424 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
3426 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3428 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
3429 (DT_AARCH64_VARIANT_PCS): Define.
3431 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3434 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
3436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
3440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
3441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3444 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3445 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
3446 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3447 Remove s_finite* objects.
3448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
3449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
3450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
3451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
3453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3454 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3455 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
3456 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3457 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
3459 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
3460 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
3462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3463 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
3465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
3467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
3469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3473 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3474 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
3475 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3476 Remove s_isinf* and s_isinf* objects.
3477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
3480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
3482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3483 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3484 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
3485 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3486 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
3488 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
3489 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
3491 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
3492 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
3493 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3495 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
3497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
3499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
3501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
3503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
3505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
3508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
3511 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3512 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
3513 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3514 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
3515 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3516 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
3517 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
3518 Remove s_isnan-* and s_isnanf-* objects.
3519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
3520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
3521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
3523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
3524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
3525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
3526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3528 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3529 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3530 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3531 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3532 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3533 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
3534 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3535 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
3537 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
3538 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
3540 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
3541 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
3542 CFLAGS-bench-isfinite.c): New rule.
3543 * benchtests/isnan-input: New file.
3544 * benchtests/isinf-input: New file.
3545 * benchtests/isfinite-input: New file.
3547 * sysdeps/powerpc/fpu/s_copysign.c: New file.
3548 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
3549 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
3550 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
3551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3552 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
3554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3562 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3563 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
3564 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
3565 Remove s_copysign-power6 s_copysign-ppc64.
3566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
3568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
3570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
3572 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3573 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
3574 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3575 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
3577 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
3578 round_to_integer_float, round_mode): Add RINT handling.
3579 (reset_fenv_mode): New symbol.
3580 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
3581 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
3582 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
3583 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3584 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3585 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3587 2019-06-12 Florian Weimer <fweimer@redhat.com>
3590 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
3591 * libio/freopen.c (freopen): Use it.
3593 2019-06-12 Florian Weimer <fweimer@redhat.com>
3595 Linux: Deprecate sysctl.
3596 * include/sysctl.h (__sysctl): Remove declaration.
3597 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
3599 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
3600 (sysctl): Add deprecation attribute.
3601 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
3602 directly, to avoid the deprecation warning. Do not include
3604 (__sysctl): Remove hidden alias.
3606 2019-06-12 Florian Weimer <fweimer@redhat.com>
3608 Linux: Use kernel headers for statx definitions if available.
3609 * include/bits/statx-generic.h: New file.
3610 * include/bits/types/struct_statx.h: Likewise.
3611 * include/bits/types/struct_statx_timestamp.h: Likewise.
3612 * io/Makefile (headers): Add bits/statx-generic.h.
3613 * io/bits/statx-generic.h: New file. Partly copied from
3615 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
3616 define original_statx.
3617 * io/bits/types/struct_statx.h: Likewise.
3618 * io/bits/types/struct_statx_timestamp.h: Likewise.
3619 (statx_generic): Use original_statx.
3620 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
3621 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
3623 2019-06-12 Florian Weimer <fweimer@redhat.com>
3625 * misc/sys/cdefs.h (__glibc_has_include): Define.
3627 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3629 * string/memmem.c (__memmem): Rewrite to improve performance.
3631 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3633 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
3635 (two_way_long_needle): Block inlining.
3636 * string/strstr.c (strstr2): Add new function.
3637 (strstr3): Likewise.
3638 (STRSTR): Completely rewrite strstr to improve performance.
3640 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
3642 * benchtests/bench-strstr.c (test_hard_needle): New function.
3644 2019-06-10 Joseph Myers <joseph@codesourcery.com>
3646 * malloc/tst-calloc.c: Include <libc-diag.h>.
3647 (null_test): Ignore -Wunused-result around calls to calloc.
3648 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
3649 (do_test): Ignore -Wunused-result around call to malloc.
3651 2019-06-07 Florian Weimer <fweimer@redhat.com>
3653 Linux: Add getdents64 system call.
3654 * include/dirnent.h (getdents): Add comment and change buffer
3655 argument type to void *.
3656 (getdents64): Likewise. Add hidden prototype.
3657 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
3659 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
3661 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
3662 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
3663 argument type to void *.
3664 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
3665 Add hidden definition and getdents64 alias.
3666 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3668 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
3669 * manual/filesys.texi (Accessing Directories): Add Low-level
3670 Directory Access node reference.
3671 (Opening a Directory): Cross-reference it.
3672 (Low-level Directory Access): New node.
3673 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3675 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3677 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3678 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3680 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3682 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3684 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3686 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3688 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3690 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3692 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3693 (GLIBC_2.30): Likewise.
3694 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3695 (GLIBC_2.30): Likewise.
3696 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3697 (GLIBC_2.30): Likewise.
3698 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3699 (GLIBC_2.30): Likewise.
3700 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3703 (GLIBC_2.30): Likewise.
3704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3705 (GLIBC_2.30): Likewise.
3706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3707 (GLIBC_2.30): Likewise.
3708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3709 (GLIBC_2.30): Likewise.
3710 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3712 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3714 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3716 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3717 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3719 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3721 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3723 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3726 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
3728 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
3732 (_FPU_GETCW): Use __FPU_MFFS().
3733 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
3735 2019-06-06 Florian Weimer <fweimer@redhat.com>
3737 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
3738 internal GCC preprocessor identifier __has_include__.
3740 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
3742 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
3743 with call to equivalent function.
3745 2019-06-04 Florian Weimer <fweimer@redhat.com>
3747 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
3748 (do_release_shlib): Adjust for __twalk_r.
3749 (__gconv_release_shlib): Call __twalk_r.
3751 2019-06-04 Andreas Schwab <schwab@suse.de>
3754 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
3755 no irreversible characters occurred.
3756 * iconv/gconv_simple.c (internal_ucs4_loop)
3757 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
3758 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
3759 (ucs4_internal_loop_single, internal_ucs4le_loop)
3760 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
3761 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
3762 (ucs4le_internal_loop_single): Add const to outend.
3763 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
3764 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
3765 * iconv/Makefile (tests): Add tst-iconv7.
3766 * iconv/tst-iconv7.c: New file.
3768 2019-06-03 Joseph Myers <joseph@codesourcery.com>
3770 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
3772 2019-06-01 Florian Weimer <fweimer@redhat.com>
3774 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
3775 * sysdeps/unix/sysv/linux/arm/Makefile
3776 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
3777 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
3778 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
3779 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
3780 compatibility symbols.
3782 2019-05-31 Florian Weimer <fweimer@redhat.com>
3784 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
3785 system calls for the arm architecture: breakpoint, get_tls,
3786 set_tls, usr26, usr32.
3788 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3790 * sysdeps/powerpc/Makefile
3791 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
3792 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
3793 Declare '.machine power7' to get support for ldbrx.
3794 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
3795 directive based on the directory of the file.
3796 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3797 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3798 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
3799 '.machine' directive.
3800 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
3801 (VADDUQM_V7_V8): Remove.
3802 (__STRCASECMP): Replace macros with actual instructions.
3803 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
3804 '.machine' directive.
3805 (VCLZD_V8_v7): Remove.
3806 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
3808 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3810 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
3812 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
3814 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3816 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3818 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
3819 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
3820 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
3821 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
3822 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
3823 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3825 2019-05-28 mansayk <6688000@gmail.com>
3828 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
3830 2019-05-28 mansayk <6688000@gmail.com>
3833 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
3834 (abmon): Likewise, but remove the trailing dots.
3836 2019-05-28 Joseph Myers <joseph@codesourcery.com>
3838 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
3840 2019-05-27 Florian Weimer <fweimer@redhat.com>
3842 * nptl/nptl-init.c: Add comment.
3844 2019-05-24 Florian Weimer <fweimer@redhat.com>
3846 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
3847 struct in_addr/struct in6_addr alignment.
3849 2019-05-23 Joseph Myers <joseph@codesourcery.com>
3851 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3852 (F_SEAL_FUTURE_WRITE): New macro.
3854 2019-05-23 Alexandra Hájková <ahajkova@redhat.com>
3856 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
3857 * elf/tst-ldconfig-bad-aux-cache.c: New file.
3858 * elf/tst-ldconfig_aux-cache.root: New directory.
3859 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
3860 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
3861 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
3863 2019-05-22 Zack Weinberg <zackw@panix.com>
3865 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
3867 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
3868 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
3870 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
3871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
3872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
3875 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
3876 Issue an #error if used with a compiler in SPE-float mode.
3877 * sysdeps/powerpc/powerpc32/__longjmp_common.S
3878 * sysdeps/powerpc/powerpc32/setjmp_common.S
3879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
3881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
3882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
3883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3885 Remove code to preserve SPE register state.
3887 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3888 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3889 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
3890 Remove __SPE__ ifndefs.
3892 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
3894 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
3895 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
3896 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
3897 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
3898 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
3899 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
3900 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
3901 (INNER_LOOP_ITERS_MEDIUM): New define.
3902 (INNER_LOOP_ITERS_SMALL): New define.
3903 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
3904 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
3905 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
3906 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
3907 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
3909 2019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3911 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
3913 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
3914 (SEMTIMEDOP_IPC_ARGS): Likewise.
3916 2019-05-21 Florian Weimer <fweimer@redhat.com>
3919 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
3920 before updating __counter field and release it afterwards. Add
3922 * iconv/gconv.h (struct __gconv_step): Mention synchronization
3923 requirement for __counter member.
3925 2019-05-21 Florian Weimer <fweimer@redhat.com>
3928 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
3929 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
3930 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
3931 instead of __gconv_release_step.
3932 * libio/Makefile (tests): Add tst-wfile-gconv.
3933 (tests-container): Add tst-wfile-ascii.
3934 (tst-wfile-gconv-ENV): Enable mtrace.
3935 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
3936 (tests-special): Add tst-wfile-gconv-mem.out.
3937 (tst-wfile-gconv.out): Depend on locales.
3938 (tst-wfile-gconv-mem.out): Add mtrace rule.
3939 * libio/tst-wfile-ascii.c: New file.
3940 * libio/tst-wfile-gconv.c: Likewise.
3942 2019-05-20 Florian Weimer <fweimer@redhat.com>
3945 libio: Remove codecvt vtable.
3946 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
3948 * libio/iofgetpos.c (_IO_new_fgetpos): Call
3949 __libio_codecvt_encoding.
3950 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
3951 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3952 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
3953 * libio/iofwide.c (__libio_codecvt): Remove variable.
3954 (_IO_fwide): Do not copy __libio_codecvt.
3955 (__libio_codecvt_out): Rename from do_out and export.
3956 (do_unshift): Remove function.
3957 (__libio_codecvt_in): Rename from do_in and export.
3958 (__libio_codecvt_encoding): Rename from do_encoding and export.
3959 (do_always_noconv): Remove function.
3960 (__libio_codecvt_length): Rename from do_length and export.
3961 (do_max_length): Remove function.
3962 * libio/libio.h (enum __codecvt_result): Remove definition; moved
3964 (struct _IO_codecvt): Remove fields __codecvt_destr,
3965 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
3966 __codecvt_do_encoding, __codecvt_do_always_noconv,
3967 __codecvt_do_length, __codecvt_do_max_length.
3968 * libio/libioP.h (enum __codecvt_result): Define; moved from
3970 (__libio_codecvt_out, __libio_codecvt_in)
3971 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
3973 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
3974 (_IO_wfile_underflow): Call __libio_codecvt_in.
3975 (_IO_wfile_underflow): Likewise.
3976 (_IO_wfile_underflow_mmap): Likewise.
3977 (_IO_wfile_sync): Call __libio_codecvt_encoding,
3978 __libio_codecvt_length.
3979 (adjust_wide_data): Call __libio_codecvt_encoding,
3981 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
3982 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
3983 __libio_codecvt_length.
3985 2019-05-20 Florian Weimer <fweimer@redhat.com>
3987 * support/support.h (support_sbindir_prefix): Declare.
3988 (support_install_rootsbindir): Update comment.
3989 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
3990 * support/support_paths.c (support_sbindir_prefix): Define.
3992 2019-05-20 Mike Crowe <mac@mcrowe.com>
3994 * support/timespec.c: Add backslash to correct newline in failure
3997 * support/timespec.h: Correct confusing comment.
3999 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4001 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
4003 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
4004 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
4005 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
4006 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
4009 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
4012 2019-05-20 Joseph Myers <joseph@codesourcery.com>
4014 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
4015 (NT_ARM_PACG_KEYS): Likewise.
4017 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
4019 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
4020 (tcache_put): Remove redundant assert.
4021 (tcache_get): Remove redundant asserts.
4022 (__libc_malloc): Check tcache count is not zero.
4023 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
4025 2019-05-17 Florian Weimer <fweimer@redhat.com>
4027 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
4029 2019-05-16 Joseph Myers <joseph@codesourcery.com>
4031 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4032 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
4034 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
4036 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4037 (__ASSUME_STATX): Likewise.
4039 2019-05-16 Florian Weimer <fweimer@redhat.com>
4041 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
4043 (LINE_PARSER): Do not map IPv4 addresses.
4044 (internal_nis_gethostent_r): Remove flags argument. Adjust call
4046 (_nss_nis_gethostent_r): Always pass AF_INET to
4047 internal_nis_gethostent_r.
4048 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4050 (_nss_nis_gethostbyname2_r): Adjust call to
4051 internal_nis_gethostent_r.
4052 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
4053 call to internal_nis_gethostent_r.
4054 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
4056 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
4057 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
4058 Remove flags argument. Do not map IPv4 addresses.
4059 (internal_nisplus_gethostent_r): Adjust call to
4060 _nss_nisplus_parse_hostent.
4061 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4062 to _nss_nisplus_parse_hostent.
4063 (_nss_nisplus_gethostbyname2_r): Adjust call to
4064 internal_gethostbyname2_r.
4065 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
4066 Adjust call to internal_gethostbyname2_r.
4067 (_nss_nisplus_gethostbyaddr_r): Adjust call to
4068 _nss_nisplus_parse_hostent.
4069 (_nss_nisplus_gethostbyname4_r): Adjust call to
4070 internal_gethostbyname2_r.
4072 2019-05-16 Florian Weimer <fweimer@redhat.com>
4074 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
4076 (LINE_PARSER): Remove address mapping.
4077 (EXTRA_ARGS_VALUE): Remove flags argument.
4078 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
4079 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
4080 gethostbyname3_multi.
4081 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
4082 _nss_files_gethostbyname3_r.
4083 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
4085 2019-05-16 Florian Weimer <fweimer@redhat.com>
4087 * support/support_test_compare_blob.c (report_blob): Report
4088 incorrect NULL blobs.
4090 2019-05-15 Mark Wielaard <mark@klomp.org>
4093 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
4094 __libc_once_get (once) and static_buf == NULL.
4095 (__dlerror): Check we have a valid key, set result to static_buf
4098 2019-05-15 Andreas Schwab <schwab@suse.de>
4101 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
4102 __codecvt_do_length.
4103 * libio/Makefile (tests): Add tst-wfile-sync.
4104 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
4105 * libio/tst-wfile-sync.c: New file.
4106 * libio/tst-wfile-sync.input: New file.
4108 2019-05-15 Florian Weimer <fweimer@redhat.com>
4110 nss: Turn __nss_database_lookup into a compatibility symbol.
4111 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
4112 __nss_database_lookup.
4113 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
4114 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
4115 __nss_database_lookup.
4116 (__nss_next): Move to …
4117 * nss/compat-lookup.c (nss_next): … here. Change it to fail
4119 (__nss_database_lookup): New function.
4120 * nss/Versions (GLIBC_2.0): Update comment.
4121 (GLIBC_PRIVATE): Export __nss_database_lookup2.
4122 * grp/initgroups.c (internal_getgrouplist): Call
4123 __nss_database_lookup2 instead of __nss_database_lookup.
4124 * nscd/aicache.c (addhstaiX): Likewise.
4125 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4126 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4127 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
4128 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
4129 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
4131 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
4132 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
4133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4135 2019-05-15 Alexandra Hájková <ahajkova@redhat.com>
4137 * support/support.h (support_install_rootsbindir): New variable.
4138 * support/support_paths.c: Likewise.
4139 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
4141 2019-05-15 Florian Weimer <fweimer@redhat.com>
4143 * iconv/gconv.h (__gconv_transliterate): Move declaration …
4144 * iconv/gconv_int.h (__gconv_transliterate): … here.
4145 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
4146 * iconv/skeleton.c: Likewise.
4148 2019-05-14 Florian Weimer <fweimer@redhat.com>
4150 Linux: Add the tgkill function.
4151 * bits/signal_ext.h: New file.
4152 * manual/signal.texi (Signaling Another Process): Document tgkill.
4153 * signal/Makefile (headers): Add bits/signal_ext.h.
4154 * signal/signal.h: Include <bits/signal_ext.h>.
4155 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
4156 (tst-tgkill): Link with libpthread.
4157 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
4158 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
4159 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
4160 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
4162 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4163 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4164 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4165 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4166 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4167 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4168 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4169 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4170 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4171 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4172 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4174 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4175 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4176 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
4183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
4185 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4186 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4187 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4188 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4189 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4190 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4191 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4192 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4194 2019-05-14 Carlos O'Donell <carlos@redhat.com>
4196 * manual/search.texi (Tree Search Function): Adjust twalk_r
4199 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4202 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
4205 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
4206 * support/support.h (support_bindir_prefix): New variable.
4207 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
4209 * config.make.in (bindir): New variable.
4211 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
4212 (lll_trylock): Call __lll_trylock.
4213 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
4214 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
4215 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4216 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4217 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
4218 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
4219 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4220 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4221 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
4222 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
4223 lowlevellock-futex.h.
4225 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4226 initialization for LLL_LOCK_INITIALIZER different than 0.
4227 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
4228 Assume LLL_LOCK_INITIALIZER being 0.
4229 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
4230 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
4232 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
4233 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
4235 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
4236 Optimize futex call and add systemtap probe.
4238 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
4239 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
4240 __libc_disable_asynccancel, __librt_enable_asynccancel,
4241 __libc_disable_asynccancel, __librt_enable_asynccancel,
4242 __librt_disable_asynccancel): Move to ...
4243 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
4244 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
4245 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
4246 * sysdeps/generic/single-thread.h: New file.
4247 * sysdeps/unix/sysdep.h: Include single-thread.h.
4248 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
4249 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4251 2019-05-08 Mike FABIAN <mfabian@redhat.com>
4254 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
4255 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4257 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4258 * localedata/unicode-gen/PropList.txt: Likewise.
4259 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4260 * localedata/charmaps/UTF-8: Regenerate.
4261 * localedata/locales/i18n_ctype: Likewise.
4262 * localedata/locales/tr_TR: Likewise.
4263 * localedata/locales/translit_circle: Likewise.
4264 * localedata/locales/translit_cjk_compat: Likewise.
4265 * localedata/locales/translit_combining: Likewise.
4266 * localedata/locales/translit_compat: Likewise.
4267 * localedata/locales/translit_font: Likewise.
4268 * localedata/locales/translit_fraction: Likewise.
4270 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
4273 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
4274 (do_set_tcache_count): Only update if count is small enough.
4275 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
4277 2019-05-10 Florian Weimer <fweimer@redhat.com>
4279 * nptl/sem_close.c (struct walk_closure): Define.
4280 (walker): Adjust for __twalk_r.
4281 (sem_close): Call __twalk_r.
4283 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4285 * support/timespec.c (test_timespec_before_impl,
4286 test_timespec_equal_or_after_impl): print timespec member as intmax_t
4289 2019-05-09 Mike Crowe <mac@mcrowe.com>
4291 * nptl/tst-abstime.c: Use libsupport.
4293 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
4294 small bug where only tv.tv_usec was checked which could cause an
4295 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
4298 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
4301 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
4302 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
4304 * nptl/tst-cond11.c: Use libsupport.
4306 * support/timespec.h: New file. Provide timespec helper functions
4307 along with macros in the style of those in check.h.
4308 * support/timespec.c: New file. Implement check functions declared
4309 in support/timespec.h.
4310 * support/timespec-add.c: New file from gnulib containing
4311 timespec_add implementation that handles overflow.
4312 * support/timespec-sub.c: New file from gnulib containing
4313 timespec_sub implementation that handles overflow.
4314 * support/README: Mention timespec.h.
4316 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4319 * nptl/Makefile: Move tst-eintr1 to xtests.
4321 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4323 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
4325 (round_mode): Add definition for TRUNC.
4326 * sysdeps/powerpc/fpu/s_trunc.c: New file.
4327 * sysdeps/powerpc/fpu/s_truncf.c: New file.
4328 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
4329 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4330 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
4332 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
4334 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
4336 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4338 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
4340 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
4342 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
4344 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
4346 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
4347 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
4348 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4349 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
4350 s_truncf-power5+, and s_truncf-ppc64.
4351 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
4352 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
4354 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
4355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
4356 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
4357 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
4359 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
4361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
4362 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
4363 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4364 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
4365 s_truncf-power5+, and s_truncf-ppc64.
4366 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
4368 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
4369 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
4371 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
4372 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4373 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4374 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
4375 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
4377 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4379 (round_mode): Add definition for ROUND.
4380 (round_to_integer_float): Likewise.
4381 * sysdeps/powerpc/fpu/s_round.c: New file.
4382 * sysdeps/powerpc/fpu/s_roundf.c: New file.
4383 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
4384 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4385 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
4387 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
4389 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
4391 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4393 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
4395 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
4397 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
4399 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
4401 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
4402 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
4403 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4404 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
4405 s_roundf-power5+, and s_roundf-ppc64.
4406 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
4407 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
4409 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
4410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
4411 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
4412 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
4414 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
4416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
4417 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
4418 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4419 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
4420 s_roundf-power5+, and s_roundf-ppc64.
4421 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
4423 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
4424 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
4426 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
4427 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4428 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4429 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
4430 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
4432 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
4434 (round_mode): Add definition for FLOOR.
4435 * sysdeps/powerpc/fpu/s_floor.c: New file.
4436 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
4437 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
4438 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
4443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
4449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
4451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
4453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
4455 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
4456 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
4457 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
4458 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
4459 s_floorf-power5+, and s_floorf-ppc64.
4460 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
4461 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
4463 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
4464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
4465 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
4466 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
4468 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
4470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
4471 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
4472 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4473 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
4474 s_floorf-power5+, and s_floorf-ppc64.
4475 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
4477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
4479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
4481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
4483 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4484 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4485 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
4486 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
4488 2019-05-08 Mike Crowe <mac@mcrowe.com>
4490 * support/xclock_gettime.c (xclock_gettime): New file. Provide
4491 clock_gettime wrapper for use in tests that fails the test rather
4492 than returning failure.
4494 * support/xtime.h: New file to declare xclock_gettime.
4496 * support/Makefile: Add xclock_gettime.c.
4498 * support/README: Mention xtime.h.
4500 2019-05-08 Florian Weimer <fweimer@redhat.com>
4502 malloc/tst-mallocfork2: Use process-shared barriers.
4503 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
4504 (signal_count, sigusr1_sender_pid): Remove.
4505 (iterations): Define constant.
4506 (shared): New variable.
4507 (sigusr1_received): Update comment.
4508 (sigusr1_handler): Do not send SIGSTOP to the sender process.
4509 (signal_sender): Optional use barriers to avoid sending signals
4510 during irrelevant times.
4511 (do_it): Initialize variable shared. Use xfork for error
4512 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
4513 the iteration count, independent of signal delivery. Check for
4514 deadlocks in fork. Introduce barriers for reducing signal
4515 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
4516 replaced by the barriers. Count signals during fork/free/malloc
4518 * malloc/Makefile (tst-mallocfork): Link with libpthread.
4520 2019-05-07 Joseph Myers <joseph@codesourcery.com>
4522 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4524 (clock_adjtime64) New syscall.
4525 (clock_getres_time64) Likewise.
4526 (clock_gettime64) Likewise.
4527 (clock_nanosleep_time64) Likewise.
4528 (clock_settime64) Likewise.
4529 (futex_time64) Likewise.
4530 (io_pgetevents_time64) Likewise.
4531 (io_uring_enter) Likewise.
4532 (io_uring_register) Likewise.
4533 (io_uring_setup) Likewise.
4534 (mq_timedreceive_time64) Likewise.
4535 (mq_timedsend_time64) Likewise.
4536 (pidfd_send_signal) Likewise.
4537 (ppoll_time64) Likewise.
4538 (pselect6_time64) Likewise.
4539 (recvmmsg_time64) Likewise.
4540 (rt_sigtimedwait_time64) Likewise.
4541 (sched_rr_get_interval_time64) Likewise.
4542 (semtimedop_time64) Likewise.
4543 (timer_gettime64) Likewise.
4544 (timer_settime64) Likewise.
4545 (timerfd_gettime64) Likewise.
4546 (timerfd_settime64) Likewise.
4547 (utimensat_time64) Likewise.
4549 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
4550 version to 9 branch.
4552 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4554 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
4555 __memmove_thunderx2 to the list of implementations
4556 * sysdeps/aarch64/multiarch/memmove.c: Likewise
4557 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
4558 (__memmove_thunderx2): Rewritten using SIMD ld/st
4559 (__memcpy_thunderx2): Fixed handling overlapping cases.
4560 Used ldp/stp instead of ldr/str if possible. Made loops
4563 2019-05-03 Florian Weimer <fweimer@redhat.com>
4565 * misc/tst-tsearch.c (walk_tree): Add more error checking.
4567 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4570 * elf/tst-pldd.c (in_str_list): New function.
4571 (do_test): Add default names for ld and libc as one option.
4573 2019-05-02 Florian Weimer <fweimer@redhat.com>
4575 misc: Add twalk_r function.
4576 * include/search.h (__twalk_r): Declare.
4577 * manual/examples/twalk.c: New file.
4578 * manual/search.texi (Tree Search Function): Document twalk_r.
4579 * misc/Versions (2.30): Export twalk_r.
4580 (GLIBC_PRIVATE): Export __twalk_r.
4581 * misc/search.h [__USE_GNU] (twalk_r): Declare.
4582 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
4583 (twalk_r): Add weak alias.
4584 * misc/tst-tsearch.c (struct walk_trace_element): Define.
4585 (walk_trace): New variable.
4586 (struct twalk_with_twalk_r_closure): Define.
4587 (twalk_with_twalk_r_action): New function.
4588 (twalk_with_twalk_r): Likewise.
4589 (walk_action): Call walk_trace_add.
4590 (walk_tree_with): Rename from walk_tree. Add walk argument.
4591 (walk_tree): New function.
4592 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
4593 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4595 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4597 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4598 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
4599 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
4600 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
4601 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
4602 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4604 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4606 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4608 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4609 (GLIBC_2.30): Likewise.
4610 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4611 (GLIBC_2.30): Likewise.
4612 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4613 (GLIBC_2.30): Likewise.
4614 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4615 (GLIBC_2.30): Likewise.
4616 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4619 (GLIBC_2.30): Likewise.
4620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4621 (GLIBC_2.30): Likewise.
4622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4623 (GLIBC_2.30): Likewise.
4624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4625 (GLIBC_2.30): Likewise.
4626 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4628 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4630 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4632 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4633 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4635 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4637 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4639 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4642 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
4644 Make mktime etc. compatible with __time64_t
4645 Keep these functions compatible with Gnulib while adding
4646 __time64_t support. The basic idea is to move private API
4647 declarations from include/time.h to time/mktime-internal.h, since
4648 the former file cannot easily be shared with Gnulib whereas the
4650 Also, do some other minor cleanup while in the neighborhood.
4651 * include/time.h: Include stdbool.h, time/mktime-internal.h.
4652 (__mktime_internal): Move this prototype to time/mktime-internal.h,
4653 since Gnulib needs it.
4654 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
4655 Move these macros to time/mktime-internal.h, since Gnulib needs them.
4656 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
4657 (in_time_t_range): New static function.
4658 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
4659 so that glibc users are not tempted to use __time64_t.
4660 * time/mktime-internal.h: Rewrite so that it does both glibc
4661 and Gnulib work. Include time.h if not _LIBC.
4662 (mktime_offset_t) [!_LIBC]: Define for gnulib.
4663 (__time64_t): New type or macro, moved here from
4665 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
4666 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
4667 from include/time.h.
4668 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
4669 New macros, taken from GNulib.
4670 (__mktime_internal): New prototype, moved here from include/time.h.
4671 * time/mktime.c (mktime_min, mktime_max, convert_time)
4672 (ranged_convert, __mktime_internal, __mktime64):
4673 * time/timegm.c (__timegm64):
4674 Use __time64_t, not time_t.
4675 * time/mktime.c: Stop worrying about whether time_t is floating-point.
4676 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
4678 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
4679 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
4680 for libc_hidden_def.
4682 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
4684 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
4686 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
4689 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
4690 from `-Wmaybe-uninitialized'.
4691 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
4693 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4695 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
4697 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
4698 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
4699 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
4700 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
4701 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4703 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
4704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
4708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
4712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
4714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
4716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
4718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
4720 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
4721 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
4722 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
4723 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
4725 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
4727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
4728 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
4729 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
4731 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
4733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
4734 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
4736 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4737 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
4738 s_ceilf-power5+, and s_ceilf-ppc64.
4739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
4741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
4742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
4743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
4744 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
4745 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
4746 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
4747 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
4749 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
4750 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
4751 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
4753 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
4755 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
4756 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
4757 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
4758 (sem_getvalue): Likewise.
4760 2019-04-26 Florian Weimer <fweimer@redhat.com>
4762 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
4763 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
4765 2019-04-26 Florian Weimer <fweimer@redhat.com>
4767 Makeconfig: Move -Wl,-rpath-link options before library references.
4768 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
4769 (link-libc): Remove $(link-libc-rpath-link).
4771 2019-04-25 Florian Weimer <fweimer@redhat.com>
4773 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4774 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4775 (+link-static-before-libc): Remove $(CC).
4776 (+link-static, +link-static-tests): Add $(CC).
4777 (+link-before-libc): Remove $(CC).
4778 (+link, +link-pie, +link-pie-printers): Add $(CC).
4780 2019-04-26 Florian Weimer <fweimer@redhat.com>
4782 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4783 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4784 (+link-static-before-libc): Remove $(CC).
4785 (+link-static, +link-static-tests): Add $(CC).
4786 (+link-before-libc): Remove $(CC).
4787 (+link, +link-pie, +link-pie-printers): Add $(CC).
4789 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
4792 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
4794 2019-04-25 Florian Weimer <fweimer@redhat.com>
4796 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
4797 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
4798 (bench-link-targets): New variable.
4799 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
4801 2019-04-25 Florian Weimer <fweimer@redhat.com>
4803 Also enable BIND_NOW for programs if --enable-bind-now.
4804 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
4805 (+link-pie): Use $(link-extra-flags).
4806 (+link-static): Likewise.
4807 [! $(build-pie-default)] (+link): Likewise.
4808 * manual/install.texi (Configuring and compiling): Update
4809 --enable-bind-now description.
4810 * INSTALL: Regenerated.
4812 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
4814 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
4815 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
4817 2019-04-24 Mike Frysinger <vapier@gentoo.org>
4820 * malloc/Makefile (others): Add memusagestat.
4821 ($(objpfx)memusagestat): Delete rule.
4822 (LDLIBS-memusagestat): New variable.
4824 2019-04-24 Florian Weimer <fweimer@redhat.com>
4826 * locale/Makefile (tests-special): Guard setting by
4827 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
4828 to run while cross-compiling.
4830 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4833 * elf/Makefile (tests-container): Add tst-pldd.
4834 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
4835 (E(find_maps)): Avoid use alloca, use default read file operations
4836 instead of explicit LFS names, and fix infinite loop.
4837 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
4838 (get_process_info): Use _Static_assert instead of assert, use default
4839 directory operations instead of explicit LFS names, and free some
4841 * elf/tst-pldd.c: New file.
4843 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
4845 * malloc/arena.c (do_set_mallopt_check): Removed.
4847 2019-04-23 Florian Weimer <fweimer@redhat.com>
4849 locale: Add LOCPATH diagnostics to the locale program.
4850 * locale/programs/locale.c (setlocale_failed): New variable.
4851 (try_setlocale): New function.
4852 (quote_string): Likewise.
4853 (setlocale_diagnostics): Likewise.
4854 (main): Call try_setlocale instead of setlocale. Call
4855 setlocale_diagnostics.
4856 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
4857 (tst-locale-locpath.out): New target.
4858 * locale/tst-locale-locpath.sh: New file.
4860 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4862 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
4865 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4868 * malloc/hooks.c (malloc_check, realloc_check): Use
4869 __builtin_add_overflow on overflow check and adapt to
4870 checked_request2size change.
4871 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
4872 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
4873 allocation size to PTRDIFF_MAX.
4874 (REQUEST_OUT_OF_RANGE): Remove macro.
4875 (checked_request2size): Change to inline function and limit maximum
4876 requested size to PTRDIFF_MAX.
4877 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
4878 maximum allocation size to PTRDIFF_MAX.
4879 (_mid_memalign): Use _int_memalign call for overflow check.
4880 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
4881 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
4882 limit maximum requested size to PTRDIFF_MAX.
4883 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
4884 valloc, pvalloc): Add __attribute_alloc_size__.
4885 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
4886 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
4887 larger than PTRDIFF_MAX.
4888 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
4889 around tests of malloc with negative sizes.
4890 * malloc/tst-posix_memalign.c (do_test): Likewise.
4891 * malloc/tst-pvalloc.c (do_test): Likewise.
4892 * malloc/tst-valloc.c (do_test): Likewise.
4893 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
4894 with resulting size allocation larger than PTRDIFF_MAX with
4895 reallocarray_nowarn.
4896 (reallocarray_nowarn): New function.
4897 * NEWS: Mention the malloc function semantic change.
4899 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4901 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
4902 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4904 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
4905 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
4906 * sysdeps/powerpc/fpu/s_fma.c: New file.
4907 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4909 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
4910 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
4912 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
4913 the magic flag store.
4914 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4916 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
4918 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
4919 Remove rt_sigreturn call.
4921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4922 Remove rt_sigreturn call.
4923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
4926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4928 * support/Makefile (libsupport-routines): Add support_subprocess,
4929 xposix_spawn, xposix_spawn_file_actions_addclose, and
4930 xposix_spawn_file_actions_adddup2.
4931 (tst-support_capture_subprocess-ARGS): New rule.
4932 * support/capture_subprocess.h (support_capture_subprogram): New
4934 * support/support_capture_subprocess.c (support_capture_subprocess):
4935 Refactor to use support_subprocess and support_capture_poll.
4936 (support_capture_subprogram): New function.
4937 * support/tst-support_capture_subprocess.c (write_mode_to_str,
4938 str_to_write_mode, test_common, parse_int, handle_restart,
4939 do_subprocess, do_subprogram, do_multiple_tests): New functions.
4940 (do_test): Add support_capture_subprogram tests.
4941 * support/subprocess.h: New file.
4942 * support/support_subprocess.c: Likewise.
4943 * support/xposix_spawn.c: Likewise.
4944 * support/xposix_spawn_file_actions_addclose.c: Likewise.
4945 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
4946 * support/xspawn.h: Likewise.
4948 2019-04-17 Mike Gerow <gerow@google.com>
4950 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
4953 2019-04-11 Florian Weimer <fweimer@redhat.com>
4955 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
4956 domain with empty string.
4957 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4959 2019-04-11 Florian Weimer <fweimer@redhat.com>
4961 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
4963 (alloc_buffer_next): Change return type to non-const. Update
4966 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
4968 * manual/time.texi (Formatting Calendar Time): Add missing percent
4969 sign to conversion specifier.
4971 2019-04-09 Carlos O'Donell <carlos@redhat.com>
4972 Kwok Cheung Yeung <kcy@codesourcery.com>
4975 * malloc/mtrace.c: Define prototypes for all hooks.
4976 (set_default_hooks): New function.
4977 (set_trace_hooks): Likewise.
4978 (save_default_hooks): Likewise.
4979 (tr_freehook): Use new s*_hooks functions.
4980 (tr_mallochook): Likewise.
4981 (tr_reallochook): Likewise.
4982 (tr_memalignhook): Likewise.
4984 (muntrace): Likewise.
4986 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4988 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
4989 (generic_stpcpy): New function.
4990 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
4991 (generic_stpncpy): New function.
4992 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
4993 (generic_strcat): New function.
4994 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
4995 (generic_strcpy): New function.
4996 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
4997 (STUPID_STRNCAT): Remove function.
4998 (generic_strncat): New function.
4999 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
5000 (STUPID_STRNCPY): Remove function.
5001 (generic_strncpy): New function.
5002 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
5003 (generic_strnlen): New function.
5004 (memchr_strnlen): New function.
5005 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
5006 (memchr_strlen): Likewise.
5008 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5010 * benchtests/bench-strstr.c (input): Add realistic input text.
5011 (stupid_strstr): Remove function.
5012 (basic_strstr): Add function.
5013 (twoway_strstr): Add function.
5014 (do_one_test): Add result checking.
5015 (do_test): Use new input text. Remove accidental early matches.
5016 (test_main): Improve range of tests, reduce unaligned cases.
5018 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5020 * benchtests/bench-memmem.c (simple_memmem): Remove function.
5021 (basic_memmem): Add function.
5022 (twoway_memmem): Add function.
5024 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5026 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
5027 * benchtests/bench-malloc-thread.c: Likewise.
5028 * benchtests/bench-skeleton.c: Likewise.
5029 * benchtests/bench-strtod.c: Likewise.
5030 * benchtests/bench-timing.h: Likewise.
5032 2019-04-08 Florian Weimer <fweimer@redhat.com>
5034 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
5036 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
5037 RES_INSECURE2 security checks.
5038 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
5039 RES_INSECURE2 handling.
5041 2019-04-08 Florian Weimer <fweimer@redhat.com>
5043 resolv: Remove support for RES_USE_INET6 and the inet6 option.
5044 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
5045 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
5047 * resolv/Makefile (tests): Remove tst-res_use_inet6.
5048 (tests-internal): Update justification for tst-resolv-res_init,
5049 tst-resolv-res_init-thread.
5050 (tst-res_use_inet6): Remove target.
5051 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
5052 * resolv/res_debug.c (p_option): Remove "inet6" support.
5053 * resolv/res_init.c (res_setoptions): Likewise.
5054 * resolv/res_use_inet6.h: Remove file.
5055 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
5057 (res_use_inet6): Always return false.
5058 * resolv/resolv.h (RES_USE_INET6): Remove definition.
5059 * resolv/resolv_context.h: Adjust file comment.
5060 (struct resolv_context): Update comment on __next field.
5061 (__resolv_context_put): Update comment.
5062 * resolv/tst-res_use_inet6.c: Remove file.
5063 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
5065 (test_cases): Adjust test case.
5066 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
5067 (thread_byname2_af_inet6): Use old byname_inet6 code.
5068 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
5069 (gai): Remove do_inet6 argument.
5070 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
5071 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
5072 (thread_gai_unspec_inet6): Remove functions.
5073 (do_test): Adjust thread_funcs.
5074 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
5076 (gaih_inet): Do not disable RES_USE_INET6 flag.
5078 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5080 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
5081 and remove redundant code.
5083 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5085 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
5087 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
5088 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
5090 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
5092 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
5094 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5095 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
5096 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
5097 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
5098 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5099 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
5100 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5101 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
5103 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
5104 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5105 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5106 Remove wcsrchr optimizations.
5107 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5109 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
5112 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
5114 * sysdeps/powerpc/power6/wcschr.c: Remove file.
5115 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
5117 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
5119 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
5121 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5122 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
5123 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
5124 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
5125 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5126 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
5127 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5128 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
5130 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
5131 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5132 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5133 Remove wcschr optimizations.
5134 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5136 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
5139 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
5141 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
5142 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
5144 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
5146 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
5148 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5149 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
5150 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
5151 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
5152 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5153 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
5154 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5155 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
5157 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
5158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5159 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5160 Remove wcscpy optimizations.
5161 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5163 * include/loop_unroll.h: New file.
5164 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
5165 besides generic implementation.
5167 2019-04-03 DJ Delorie <dj@redhat.com>
5169 * time/tst-strftime3.c (tm_to_printed): Disable warning about
5170 snprintf truncating output.
5172 2019-04-02 DJ Delorie <dj@redhat.com>
5174 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
5177 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5180 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
5182 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
5183 (mkreftable): Add rules for the new Japanese era and the new dates.
5185 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5186 Rafał Lużyński <digitalfreak@lingonborough.com>
5188 * time/tst-strftime2.c (date_t): Explicitly define the type.
5189 (dates): Use natural month and year numbers to express a date.
5190 (is_before): New function to compare dates.
5191 (mkreftable): Minor improvements to simplify maintenance.
5192 (do_test): Reflect the changes in dates array.
5195 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
5196 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
5197 * time/tst-strftime2.c (locales): Likewise.
5198 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
5199 2010-04-01, and 2011-04-01.
5200 (mkreftable): Add rules for the new locales and the new dates.
5202 2019-04-01 Carlos O'Donell <carlos@redhat.com>
5204 * localedata/locales/ja_JP: Add comments to era entries.
5206 2019-04-01 DJ Delorie <dj@redhat.com>
5209 * time/strptime_l.c (%Ey): Fix fencepost error.
5210 * time/tst-strftime3.c: New.
5211 * time/Makefile (tests): Add tst-strftime3.
5213 2019-04-01 Uroš Bizjak <ubizjak@gmail.com>
5215 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
5216 conditional branch to DIVBYZERO. Fix unwind info.
5217 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
5218 excb after conditional branch to $powerof2. Add missing unop
5219 instructions and .align directives and reorder instructions to
5222 2019-04-01 Richard Henderson <rth@twiddle.net>
5224 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5226 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
5229 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
5231 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
5232 $libc_cv_riscv_float_abi in `test' invocation.
5233 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
5235 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
5237 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
5239 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
5241 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5242 (_GET_SI_FPSCR): Likewise.
5243 (_SET_SI_FPSCR): Likewise.
5245 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5247 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
5249 (signbit): Use builtin for clang 3.3.
5250 (isinf): Use builtin for clang 3.7.
5252 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5254 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
5256 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
5258 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
5261 2019-03-25 Mike Crowe <mac@mcrowe.com>
5263 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
5264 pthread_rwlock_timedrdlock with calls to
5265 pthread_rwlock_timedwrlock to ensure that the latter is tested
5266 too. Use new function name in diagnostic messages too.
5268 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
5269 (do_test) Use libsupport test macros rather than hand-coded
5270 conditionals and error messages. Ensure that sem_init returns zero
5271 rather than not -1. Use <support/test-driver.c> rather than
5274 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
5275 test macros rather than hand-coded conditionals and error messages.
5276 Use <support/test-driver.c> rather than test-skeleton.c.
5278 2019-03-25 Joseph Myers <joseph@codesourcery.com>
5280 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
5282 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
5283 (NT_MIPS_MSA): Likewise.
5285 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5287 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
5288 * benchtests/README: Update description.
5289 * benchtests/bench-timing.h: Default to hp-timing.
5290 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
5291 HP_TIMING_PRINT): Remove.
5292 (HP_TIMING_NOW): Add generic implementation.
5293 (hp_timing_t): Change to uint64_t.
5295 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
5297 * nptl/descr.h: Likewise.
5298 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
5299 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
5300 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
5301 Abstract hp-timing usage with RTLD_* macros.
5302 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
5303 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
5304 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
5305 HP_TIMING_NONAVAIL): Likewise.
5306 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5308 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
5309 HP_SMALL_TIMING_AVAIL): Likewise.
5310 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
5311 HP_SMALL_TIMING_AVAIL): Likewise.
5312 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
5313 HP_SMALL_TIMING_AVAIL): Likewise.
5314 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
5315 HP_SMALL_TIMING_AVAIL): Likewise.
5316 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5318 * sysdeps/generic/hp-timing-common.h: Update comment with
5319 HP_TIMING_AVAIL removal.
5321 * include/random-bits.h: New file.
5322 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
5323 (__res_context_mkquery): Remove usage hp-timing usage and replace with
5325 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
5326 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
5329 * include/libc-internal.h (__get_clockfreq): Remove prototype.
5330 * rt/Makefile (clock-routines): Remove get_clockfreq.
5331 * rt/get_clockfreq.c: Remove file.
5332 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5333 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
5334 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
5335 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
5336 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
5338 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
5339 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
5340 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
5341 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
5342 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
5344 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
5345 pthread_clock_settime.
5346 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
5347 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
5348 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
5349 * elf/rtld.c (_dl_start_final): Likewise.
5350 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
5351 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
5353 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
5354 (_dl_cpuclock_offset): Remove.
5355 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
5356 cpuclock_offset_ununsed.
5357 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
5358 cpuclock_offset set.
5359 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5360 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5361 * nptl/pthread_clock_gettime.c: Remove file.
5362 * nptl/pthread_clock_settime.c: Likewise.
5363 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
5364 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
5365 and CLOCK_PROCESS_CPUTIME_ID support.
5366 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
5367 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
5368 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
5369 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
5370 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
5372 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
5374 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5376 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
5377 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
5378 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
5380 * sysdeps/s390/memmem-arch13.S: New file.
5381 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
5382 if it is only used as fallback.
5383 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
5384 * sysdeps/s390/multiarch/ifunc-impl-list.c
5385 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
5387 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5389 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
5390 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
5391 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
5393 * sysdeps/s390/multiarch/ifunc-impl-list.c
5394 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
5395 * sysdeps/s390/strstr-arch13.S: New file.
5396 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
5397 if it is only used as fallback.
5398 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
5400 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5402 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
5403 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
5404 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
5405 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
5407 * sysdeps/s390/multiarch/ifunc-impl-list.c
5408 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
5409 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
5410 S390_IS_ARCH13_MIE3): New defines.
5412 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5414 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
5415 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
5416 * sysdeps/s390/configure.ac: Add checks for arch13 support.
5417 * sysdeps/s390/configure: Regenerated.
5419 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5421 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
5422 Add vxe2, vxp, dflt, sort flags.
5423 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
5424 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
5426 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
5427 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
5428 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
5429 HWCAP_S390_DFLT): Define.
5431 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5434 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
5435 of compiler warning.
5436 * locale/programs/ld-collate.c (collate_output): Likewise.
5438 2019-03-21 DJ Delorie <dj@redhat.com>
5441 * iconv/iconvconfig.c (write_output): Replace floating point math
5442 with integer math to avoid imprecise results.
5443 * locale/programs/ld-collate.c (collate_output): Likewise.
5445 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
5447 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
5448 Add HWCAP_S390_VX and HWCAP_S390_VXE.
5450 2019-03-20 mansayk <6688000@gmail.com>
5453 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
5454 (abday): Likewise, but remove the trailing dots.
5456 2019-03-19 Joseph Myers <joseph@codesourcery.com>
5458 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
5460 (HWCAP_PACA): Likewise.
5461 (HWCAP_PACG): Likewise.
5462 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5464 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
5466 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5468 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
5471 2019-03-15 Joseph Myers <joseph@codesourcery.com>
5473 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5475 (old_getpagesize): New syscall.
5477 2019-03-15 Felix Yan <felixonmars@archlinux.org>
5480 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
5481 * localedata/locales/cmn_TW (era): Likewise.
5482 * localedata/locales/hak_TW (era): Likewise.
5483 * localedata/locales/lzh_TW (era): Likewise.
5484 * localedata/locales/nan_TW (era): Likewise.
5486 2019-03-14 Adam Maris <amaris@redhat.com>
5488 * malloc/malloc.c (_int_malloc): Check for large bin list
5489 corruption when inserting unsorted chunk.
5491 2019-03-14 Florian Weimer <fweimer@redhat.com>
5493 Remove obsolete, never-implemented XSI STREAMS declarations.
5494 * manual/terminal.texi (Allocation): Remove portability note and
5496 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
5498 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
5499 * sysdeps/unix/inet/Subdirs (streams): Remove.
5500 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
5501 (conformtest-headers-UNIX98): Likewise.
5502 (conformtest-headers-XOPEN2K): Likewise.
5503 (conformtest-headers-POSIX2008): Likewise.
5504 * posix/compat-streams.c: New file.
5505 * posix/Makefile (routines): Add it.
5506 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
5507 getpmsg, isastream, putmsg, putpmsg.
5508 (GLIBC_2.30): New section.
5509 * bits/stropts.h: Remove file.
5510 * bits/xtitypes.h: Likewise.
5511 * conform/data/stropts.h-data: Likewise.
5512 * include/stropts.h: Likewise.
5513 * include/sys/stropts.h: Likewise.
5514 * include/xtitypes.h: Likewise.
5515 * streams/Makefile: Likewise.
5516 * streams/fattach.c: Likewise.
5517 * streams/fdetach.c: Likewise.
5518 * streams/getmsg.c: Likewise.
5519 * streams/getpmsg.c: Likewise.
5520 * streams/isastream.c: Likewise.
5521 * streams/putmsg.c: Likewise.
5522 * streams/putpmsg.c: Likewise.
5523 * streams/stropts.h: Likewise.
5524 * streams/sys/stropts.h: Likewise.
5525 * sysdeps/ia64/bits/xtitypes.h: Likewise.
5526 * sysdeps/s390/bits/xtitypes.h: Likewise.
5527 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
5528 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
5529 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
5530 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
5531 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
5532 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
5533 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
5534 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
5535 * sysdeps/x86/bits/xtitypes.h: Likewise.
5537 2019-03-14 Florian Weimer <fweimer@redhat.com>
5539 * nss/tst-nss-files-alias-truncated.c (do_test): Load
5541 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
5542 but not with libnss_files.
5543 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
5545 2019-03-14 Zack Weinberg <zackw@panix.com>
5547 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
5548 Specify encoding="utf-8" when opening headers to check.
5550 2019-03-13 Joseph Myers <joseph@codesourcery.com>
5552 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5554 (Context.checkout_tar): Handle variable major version for Linux
5557 2019-03-13 Florian Weimer <fweimer@redhat.com>
5560 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
5562 2019-03-13 Zack Weinberg <zackw@panix.com>
5564 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
5566 * include/inttypes.h: Adjust to match.
5567 * include/stdint.h: New wrapper.
5569 2019-03-13 Zack Weinberg <zackw@panix.com>
5571 * scripts/check-obsolete-constructs.py: New test script.
5572 * scripts/check-installed-headers.sh: Remove tests for
5573 obsolete typedefs, superseded by check-obsolete-constructs.py.
5574 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
5575 as a special test. Update commentary.
5576 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
5577 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
5579 * posix/sys/types.h (__u_intN_t): Remove.
5580 (u_int8_t): Typedef using __uint8_t.
5581 (u_int16_t): Typedef using __uint16_t.
5582 (u_int32_t): Typedef using __uint32_t.
5583 (u_int64_t): Typedef using __uint64_t.
5585 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
5587 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
5589 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
5590 Ignore types other than AT_HWCAP.
5591 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
5592 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
5594 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
5595 in the case of falling back to generic output mechanism.
5596 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
5599 2019-03-12 Florian Weimer <fweimer@redhat.com>
5601 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
5603 2019-03-12 Florian Weimer <fweimer@redhat.com>
5606 resolv: Enable full ICMP errors for UDP DNS sockets
5607 * resolv/res_enable_icmp.c: New file.
5608 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
5609 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
5610 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
5613 2019-03-11 Mao Han <han_mao@c-sky.com>
5615 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
5616 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
5618 2019-03-11 Mao Han <han_mao@c-sky.com>
5620 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
5621 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5622 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5624 2019-03-11 Mao Han <han_mao@c-sky.com>
5626 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
5628 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
5631 2019-03-11 Mao Han <han_mao@c-sky.com>
5633 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
5634 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
5637 2019-03-08 Mike FABIAN <mfabian@redhat.com>
5640 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
5641 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
5643 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
5644 * localedata/unicode-gen/PropList.txt: Likewise.
5645 * localedata/unicode-gen/UnicodeData.txt: Likewise.
5646 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
5647 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
5648 * localedata/charmaps/UTF-8: Regenerate.
5649 * localedata/locales/i18n_ctype: Likewise.
5650 * localedata/locales/tr_TR: Likewise.
5651 * localedata/locales/translit_circle: Likewise.
5652 * localedata/locales/translit_cjk_compat: Likewise.
5653 * localedata/locales/translit_combining: Likewise.
5654 * localedata/locales/translit_compat: Likewise.
5655 * localedata/locales/translit_font: Likewise.
5656 * localedata/locales/translit_fraction: Likewise.
5658 2019-03-07 Joseph Myers <joseph@codesourcery.com>
5660 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
5661 than after operators.
5662 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
5663 (setitimer_locked): Likewise.
5664 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5665 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5666 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
5667 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
5668 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
5669 (PPC_CPU_SUPPORTED): Likewise.
5670 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
5671 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
5672 (stat_overflow): Likewise.
5673 (statfs_overflow): Likewise.
5674 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
5675 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
5676 (eq_ttyname_r): Likewise.
5677 (run_chroot_tests): Likewise.
5679 2019-03-07 Florian Weimer <fweimer@redhat.com>
5681 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
5684 2019-03-07 Martin Liska <mliska@suse.cz>
5686 * math/Makefile: Change location where math-vector-fortran.h is
5688 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
5689 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
5690 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
5691 * scripts/check-installed-headers.sh: Skip Fortran header files.
5692 * scripts/check-wrapper-headers.py: Likewise.
5694 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5696 * nptl/nptl-init.c (__have_futex_clock_realtime,
5697 __have_futex_clock_realtime): Remove definition.
5698 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
5699 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
5700 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
5701 __ASSUME_FUTEX_CLOCK_REALTIME support.
5702 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
5703 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5704 * sysdeps/unix/sysv/linux/kernel-features.h
5705 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
5706 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
5709 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5711 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
5712 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
5713 __GI___wcscpy and wcscpy.
5715 2019-03-04 Florian Weimer <fweimer@redhat.com>
5717 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
5719 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
5722 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
5724 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
5725 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5727 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5730 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
5731 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
5733 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5735 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
5737 (do_test): Likewise.
5738 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5739 (do_test_call_varg): Likewise.
5740 (do_test_call_rarg): Likewise.
5741 * sysdeps/ieee754/ldbl-opt/Makefile
5742 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
5744 ($(objpfx)tst-nldbl-warn.c): New rule.
5745 ($(objpfx)tst-nldbl-error.c): Likewise.
5746 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
5749 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5752 * include/bits/error-ldbl.h: New file.
5753 * include/error.h: Include stdarg.h. Declare internal functions
5754 __error_internal and __error_at_line_internal.
5755 * misc/Makefile (headers): Add bits/error-ldbl.h.
5756 * misc/bits/error-ldbl.h: New file.
5757 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
5758 avoid the inclusion of bits/error.h.
5759 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
5760 and __nldbl_error_at_line.
5761 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
5762 (__nldbl_error, __ndlbl_error_at_line): New functions.
5763 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
5764 Redirect error and error_at_line.
5765 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5774 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5775 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5776 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5778 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5781 * include/bits/err-ldbl.h: New file.
5782 * include/err.h: Add prototypes for the internal functions:
5783 __vwarnx_internal and __vwarn_internal.
5784 * misc/Makefile (headers): Add bits/err-ldbl.h.
5785 * misc/bits/err-ldbl.h: New file.
5786 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
5787 defined, i.e.: when -mlong-double-64 is in use.
5788 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
5789 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
5790 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
5791 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
5792 (VA_CALL): New macro.
5793 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
5794 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
5796 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
5797 declare prototypes for the new functions.
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 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5813 * sysdeps/ieee754/ldbl-opt/Makefile
5814 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
5815 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
5816 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
5818 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5821 * argp/Makefile (headers): Add bits/argp-ldbl.h.
5822 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
5823 * argp/bits/argp-ldbl.h: New file.
5824 * include/argp.h: Include stdarg.h. Add prototypes for internal
5825 functions: __argp_error_internal and __argp_failure_internal.
5826 * include/bits/argp-ldbl.h: New file.
5827 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
5828 __nldbl_argp_error and __nldbl_argp_failure.
5829 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
5830 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
5831 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
5832 Redirect argp_error and argp_failure calls.
5833 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5842 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5843 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5844 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5846 2019-03-01 Florian Weimer <fweimer@redhat.com>
5849 * elf/tst-big-note-lib.S: Create a syntactically valid note.
5850 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
5851 code, to avoid creating an ABI tag note.
5852 (modules-names-nobuild): Add tst-big-note-lib.
5854 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
5856 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
5857 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
5859 2019-03-01 Florian Weimer <fweimer@redhat.com>
5862 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5863 (__netlink_assert_response): Add additional missing newlines.
5865 2019-02-28 Joseph Myers <joseph@codesourcery.com>
5867 * sysdeps/powerpc/powerpc32/dl-machine.c
5868 (__elf_machine_fixup_plt): Use space before '('.
5869 (__process_machine_rela): Likewise.
5870 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
5872 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
5874 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
5876 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
5877 (pattern): Likewise.
5879 (check_result): Likewise.
5880 (check_excepts): Likewise.
5881 (check_op): Likewise.
5882 (fail_xr): Likewise.
5883 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
5884 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
5886 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
5889 (__makecontext): Likewise.
5890 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
5893 2019-02-28 Florian Weimer <fweimer@redhat.com>
5896 elf: Add test with a local IFUNC resolver.
5897 * elf/ifuncmain9.c: New file.
5898 * elf/ifuncmain9pic.c: Likewise.
5899 * elf/ifuncmain9picstatic.c: Likewise.
5900 * elf/ifuncmain9pie.c: Likewise.
5901 * elf/ifuncmain9static.c: Likewise.
5902 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
5903 ifuncmain9static, ifuncmain9picstatic.
5904 * elf/Makefile [multi-arch && build-shared] (tests-internal):
5905 Add ifuncmain9, ifuncmain9pic.
5906 * elf/Makefile [multi-arch && build-shared && have-fpie]
5907 (ifunc-pie-tests): Add ifuncmain9pie.
5908 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
5909 (CFLAGS-ifuncmain9picstatic.c): Likewise.
5910 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
5912 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
5914 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
5915 * configure: Regenerated.
5916 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
5918 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5920 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
5921 symbol as __wcspcy instead of wcscpy.
5923 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5925 * include/stdio.h (__renameat2): New hidden prototype.
5926 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
5927 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
5928 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
5929 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
5931 2019-02-27 Joseph Myers <joseph@codesourcery.com>
5933 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
5936 * benchtests/bench-strcpy.c (do_test): Use space before '('.
5937 * benchtests/bench-string.h (cmdline_process_function): Likewise.
5938 * benchtests/bench-strlen.c (do_test): Likewise.
5939 (test_main): Likewise.
5940 * catgets/gencat.c (read_old): Likewise.
5941 * elf/cache.c (load_aux_cache): Likewise.
5942 * iconvdata/bug-iconv8.c (do_test): Likewise.
5943 * math/test-tgmath-ret.c (do_test): Likewise.
5944 * nis/nis_call.c (rec_dirsearch): Likewise.
5945 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5946 * nptl/tst-audit-threads.c (do_test): Likewise.
5947 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
5948 * nss/nss_test1.c (init): Likewise.
5949 * nss/test-netdb.c (test_hosts): Likewise.
5950 * posix/execvpe.c (maybe_script_execute): Likewise.
5951 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
5952 * stdio-common/tst-printf.c (do_test): Likewise.
5953 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
5954 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
5955 * stdlib/qsort.c (STACK_SIZE): Likewise.
5956 * stdlib/test-canon.c (do_test): Likewise.
5957 * stdlib/tst-swapcontext1.c (do_test): Likewise.
5958 * string/memcmp.c (OPSIZ): Likewise.
5959 * string/test-strcpy.c (do_test): Likewise.
5960 (do_random_tests): Likewise.
5961 * string/test-strlen.c (do_test): Likewise.
5962 (test_main): Likewise.
5963 * string/test-strrchr.c (do_test): Likewise.
5964 (do_random_tests): Likewise.
5965 * string/tester.c (test_memrchr): Likewise.
5966 (test_memchr): Likewise.
5967 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
5968 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
5969 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
5970 (read_encoded_value_with_base): Likewise.
5971 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
5972 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
5973 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
5974 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5975 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
5976 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
5978 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
5980 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
5981 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
5982 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
5984 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
5986 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
5988 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5990 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
5991 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5992 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5993 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
5994 * time/test_time.c (main): Likewise.
5996 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5998 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
6000 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
6003 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
6006 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
6008 * include/wchar.h (__wcscpy): New prototype.
6009 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
6010 (__wcscpy): Route internal symbol to generic implementation.
6011 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
6012 Add internal __wcscpy alias.
6013 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
6014 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
6015 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
6016 * wcsmbs/wcscpy.c (wcscpy): Add
6017 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
6018 use generic implementation.
6019 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
6021 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
6024 * sysdeps/m68k/wcpcpy.c: Remove file.
6025 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
6027 2019-02-26 Joseph Myers <joseph@codesourcery.com>
6029 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
6030 than after operators.
6031 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6032 * sysdeps/mach/hurd/getcwd.c
6033 (__hurd_canonicalize_directory_name_internal): Likewise.
6034 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
6035 (pthread_mutex_consistent): Likewise.
6036 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
6038 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
6039 (__pthread_mutex_transfer_np): Likewise.
6040 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
6041 (__pthread_mutex_unlock): Likewise.
6042 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
6043 (mtx_owned_p): Likewise.
6044 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
6045 (pthread_mutexattr_getrobust): Likewise.
6046 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
6047 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6049 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6050 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
6051 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
6052 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
6053 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6054 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6055 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
6057 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
6059 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
6060 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
6061 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
6062 (____longjmp_chk): Likewise.
6063 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
6065 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6066 (INTERNAL_SYSCALL): Likewise.
6067 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6068 (INTERNAL_SYSCALL): Likewise.
6069 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6070 (__get_clockfreq_via_cpuinfo): Likewise.
6072 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
6074 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
6075 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
6076 (WORD_COPY_BWD): Likewise.
6077 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6078 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6080 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
6081 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
6083 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
6085 2019-02-25 Joseph Myers <joseph@codesourcery.com>
6087 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
6088 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
6089 rather than after operators.
6090 * elf/cache.c (print_cache): Likewise.
6091 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
6092 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
6093 * hurd/hurdinit.c (_hurd_setproc): Likewise.
6094 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
6095 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
6096 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
6097 (reauth_proc): Likewise.
6098 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
6099 (__file_name_split_at): Likewise.
6100 (__directory_name_split_at): Likewise.
6101 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6102 * hurd/port2fd.c (_hurd_port2fd): Likewise.
6103 * iconv/gconv_dl.c (do_print): Likewise.
6104 * inet/netinet/in.h (struct sockaddr_in): Likewise.
6105 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
6106 * locale/setlocale.c (new_composite_name): Likewise.
6107 * malloc/memusagestat.c (main): Likewise.
6108 * misc/fstab.c (fstab_convert): Likewise.
6109 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6111 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
6112 (getgrent_next_file): Likewise.
6113 (internal_getgrnam_r): Likewise.
6114 (internal_getgrgid_r): Likewise.
6115 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
6117 (internal_getgrent_r): Likewise.
6118 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6119 (getpwent_next_nss): Likewise.
6120 (getpwent_next_file): Likewise.
6121 (internal_getpwnam_r): Likewise.
6122 (internal_getpwuid_r): Likewise.
6123 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
6125 (getspent_next_nss): Likewise.
6126 (internal_getspnam_r): Likewise.
6127 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
6128 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
6129 * string/strchr.c (STRCHR): Likewise.
6130 * string/strchrnul.c (STRCHRNUL): Likewise.
6131 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
6132 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6133 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
6134 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
6135 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
6137 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
6138 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6139 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6140 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
6141 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
6142 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
6143 (open_file): Likewise.
6144 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
6145 (pthread_mutexattr_setprotocol): Likewise.
6146 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6147 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6148 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6149 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6150 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6152 (elf_machine_rela): Likewise.
6153 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6154 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6155 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
6156 * sysdeps/posix/rename.c (rename): Likewise.
6157 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
6158 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
6159 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
6160 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
6161 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6162 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
6163 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
6165 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
6167 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
6168 * time/tzfile.c (__tzfile_compute): Likewise.
6170 2019-02-22 Joseph Myers <joseph@codesourcery.com>
6172 * benchtests/bench-memmem.c (simple_memmem): Break lines before
6173 rather than after operators.
6174 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
6175 * crypt/md5.c (md5_finish_ctx): Likewise.
6176 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
6177 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
6178 * elf/cache.c (load_aux_cache): Likewise.
6179 * elf/dl-load.c (open_verify): Likewise.
6180 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
6181 * elf/readelflib.c (process_elf_file): Likewise.
6182 * elf/rtld.c (dl_main): Likewise.
6183 * elf/sprof.c (generate_call_graph): Likewise.
6184 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
6185 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
6186 * hurd/dtable.c (reauth_dtable): Likewise.
6187 * hurd/getdport.c (__getdport): Likewise.
6188 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
6189 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
6190 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
6192 * hurd/hurdioctl.c (fioctl): Likewise.
6193 * hurd/hurdselect.c (_hurd_select): Likewise.
6194 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
6195 (STOPSIGS): Likewise.
6196 * hurd/hurdstartup.c (_hurd_startup): Likewise.
6197 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
6198 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6199 * hurd/msgportdemux.c (msgport_server): Likewise.
6200 * hurd/setauth.c (_hurd_setauth): Likewise.
6201 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
6202 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
6203 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6204 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
6205 * login/tst-utmp.c (do_check): Likewise.
6206 (simulate_login): Likewise.
6207 * mach/lowlevellock.h (lll_lock): Likewise.
6208 (lll_trylock): Likewise.
6209 * math/test-fenv.c (ALL_EXC): Likewise.
6210 * math/test-fenvinline.c (ALL_EXC): Likewise.
6211 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
6212 * nis/nis_call.c (__do_niscall3): Likewise.
6213 * nis/nis_callback.c (cb_prog_1): Likewise.
6214 * nis/nis_defaults.c (searchaccess): Likewise.
6215 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6216 * nis/nis_ismember.c (internal_ismember): Likewise.
6217 * nis/nis_local_names.c (nis_local_principal): Likewise.
6218 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
6219 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
6221 * nis/ypclnt.c (yp_match): Likewise.
6222 (yp_first): Likewise.
6223 (yp_next): Likewise.
6224 (yp_master): Likewise.
6225 (yp_order): Likewise.
6226 * nscd/hstcache.c (cache_addhst): Likewise.
6227 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6228 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
6229 (internal_getpwuid_r): Likewise.
6230 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
6231 * posix/glob.h (__GLOB_FLAGS): Likewise.
6232 * posix/regcomp.c (peek_token): Likewise.
6233 (peek_token_bracket): Likewise.
6234 (parse_expression): Likewise.
6235 * posix/regexec.c (sift_states_iter_mb): Likewise.
6236 (check_node_accept_bytes): Likewise.
6237 * posix/tst-spawn3.c (do_test): Likewise.
6238 * posix/wordexp-test.c (testit): Likewise.
6239 * posix/wordexp.c (parse_tilde): Likewise.
6240 (exec_comm): Likewise.
6241 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
6242 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
6243 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
6244 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
6245 * stdio-common/tst-fileno.c (do_test): Likewise.
6246 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
6247 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
6248 * stdlib/strtod_l.c (round_and_return): Likewise.
6249 (____STRTOF_INTERNAL): Likewise.
6250 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
6251 * string/strcspn.c (STRCSPN): Likewise.
6252 * string/test-memmem.c (simple_memmem): Likewise.
6253 * termios/tcsetattr.c (tcsetattr): Likewise.
6254 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
6255 * time/asctime.c (asctime_internal): Likewise.
6256 * time/strptime_l.c (__strptime_internal): Likewise.
6257 * time/sys/time.h (timercmp): Likewise.
6258 * time/tzfile.c (__tzfile_compute): Likewise.
6260 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
6263 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
6265 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6267 * argp/argp-help.c (__argp_error_internal): New function,
6268 renamed from __argp_error, but that takes a 'mode_flags'
6269 parameter to control the format of long double parameters.
6270 (__argp_error): Converted into a call __argp_error_internal.
6271 (__argp_failure_internal): New function, renamed from
6272 __argp_failure, but that takes a 'mode_flags' parameter.
6273 (__argp_failure): Converted into a call __argp_failure_internal.
6274 * misc/err.c (__vwarnx_internal): New function, renamed from
6275 vwarnx, but that takes a 'mode_flags' parameter.
6276 (vwarnx): Converted into a call to __vwarnx_internal.
6277 (__vwarn_internal): New function, renamed from vwarn, but that
6278 takes a 'mode_flags' parameter.
6279 (vwarn): Converted into a call to __vwarn_internal.
6280 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
6281 call to __vfxprintf with 'mode_flags'.
6282 (__error_internal): New function, renamed from error, but that
6283 takes a 'mode_flags' parameter.
6284 (error): Converted into a call to __error_internal.
6285 (__error_at_line_internal): New function, renamed from
6286 error_at_line, but that takes a 'mode_flags' parameter.
6287 (error_at_line): Converted into a call to
6288 __error_at_line_internal.
6289 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
6290 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
6293 2019-02-20 Martin Liska <mliska@suse.cz>
6295 * math/Makefile: Install math-vector-fortran.h.
6296 * bits/math-vector-fortran.h: New file.
6297 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
6299 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6301 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
6302 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
6304 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
6306 * nptl/pthread_mutex_trylock.c: Fix comment.
6308 2019-02-19 Carlos O'Donell <carlos@redhat.com>
6310 * nptl/pthread_tryjoin.c: Fix comment.
6312 2019-02-18 Joseph Myers <joseph@codesourcery.com>
6315 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
6316 after R_SPARC_H34 case.
6318 2019-02-18 Florian Weimer <fweimer@redhat.com>
6320 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
6321 (getanswer): Do not call Dprintf.
6322 (res_gethostbyname2_context): Likewise.
6323 (res_gethostbyaddr_context): Likewise.
6325 2019-02-18 Florian Weimer <fweimer@redhat.com>
6327 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
6329 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
6331 * libio/stdfiles.c: Update comment.
6332 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
6333 set _IO_stdin, _IO_stdout, _IO_stderr.
6334 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
6335 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
6337 (_IO_deallocate_file): New inline function.
6338 * libio/iolibio.h (_IO_vprintf): Remove definition.
6339 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
6340 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6341 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
6343 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
6344 __builtin_expect. Use _IO_legacy_file.
6346 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
6348 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
6349 Initialize ctid with a known value and remove update of ctid
6351 (wait_tid): Adjust arguments and call futex_wait with ctid_val
6352 as assumed current value of ctid_ptr.
6354 2019-02-16 Florian Weimer <fweimer@redhat.com>
6356 Check that non-sysdeps headers have wrapper headers.
6357 * scripts/check-wrapper-headers.py: New file.
6358 * Makefile (tests-special): Add check-wrapper-headers.out.
6359 (check-wrapper-headers.out): New target.
6360 * Rules (tests-special): Add check-wrapper-headers.out.
6361 (check-wrapper-headers.out): New target.
6363 2019-02-16 Florian Weimer <fweimer@redhat.com>
6365 Add missing header wrappers under include/.
6366 * include/ar.h: New file.
6367 * include/bits/mqueue2.h: Likewise.
6368 * include/bits/stdio.h: Likewise.
6369 * include/bits/stdio2.h: Likewise.
6370 * include/fstab.h: Likewise.
6371 * include/fts.h: Likewise.
6372 * include/lastlog.h: Likewise.
6373 * include/netinet/icmp6.h: Likewise.
6374 * include/netinet/igmp.h: Likewise.
6375 * include/netinet/ip6.h: Likewise.
6376 * include/re_comp.h: Likewise.
6377 * include/regexp.h: Likewise.
6378 * include/rpcsvc/bootparam.h: Likewise.
6379 * include/rpcsvc/yp_prot.h: Likewise.
6380 * include/sys/random.h: Likewise.
6381 * include/sys/stropts.h: Likewise.
6382 * include/sys/ttychars.h: Likewise.
6383 * include/sys/vfs.h: Likewise.
6384 * include/wait.h: Likewise.
6386 2019-02-16 Florian Weimer <fweimer@redhat.com>
6388 * nptl_db/proc_service.h: Move to ...
6389 * sysdeps/nptl/proc_service.h: ... here.
6390 * nptl_db/thread_db.h: Move to ...
6391 * sysdeps/nptl/thread_db.h: ... here.
6392 * nptl/descr.h: Include <thread_db.h>.
6394 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6396 * io/Makefile (tests): Add tst-lockf.
6397 * io/lockf.c (lockf): Use __fcntl and only define for
6398 !__OFF_T_MATCHES_OFF64_T.
6399 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
6400 __OFF_T_MATCHES_OFF64_T case.
6401 * io/tst-lockf.c: New file.
6402 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
6403 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
6404 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
6405 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
6406 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
6407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
6408 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
6409 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
6410 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
6412 2019-02-15 Florian Weimer <fweimer@redhat.com>
6415 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
6416 pd->result after the thread descriptor has been freed.
6418 2019-02-15 Joseph Myers <joseph@codesourcery.com>
6420 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
6421 from function return type.
6423 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
6425 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6427 * scripts/test_printers_common.py: Set TERM to a known harmless
6430 2019-02-14 Joseph Myers <joseph@codesourcery.com>
6432 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
6433 (xdr_u_int): Likewise.
6434 (xdr_enum): Likewise.
6435 (xdr_bytes): Reword fall-through comment.
6436 (xdr_string): Likewise.
6438 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6441 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
6442 (tests): Add tst-join8 tst-join9.
6443 * nptl/lll_timedwait_tid.c: Remove file.
6444 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
6445 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
6446 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
6447 * nptl/pthread_join_common.c (timedwait_tid): New function.
6448 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
6450 * nptl/tst-join5.c (thread_join): New function.
6451 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
6453 * nptl/tst-join8.c: New file.
6454 * nptl/tst-join9.c: Likewise.
6455 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
6456 lll_futex_timed_wait_cancel): Add generic macros.
6457 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
6459 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6460 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6461 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6462 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
6464 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
6466 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6467 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6468 (lll_futex_timed_wait_cancel): New macro.
6470 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
6472 * benchtests/Makefile: Add malloc-simple benchmark.
6473 * benchtests/bench-malloc-simple.c: New benchmark.
6475 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6477 * benchtests/bench-memmove.c (do_one_test): Remove unused
6480 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
6484 2019-01-13 Jim Wilson <jimw@sifive.com>
6487 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
6488 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
6490 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
6492 * nptl/Makefile (tests): Add tst-unwind-thread.
6493 (CFLAGS-tst-unwind-thread.c): Define.
6494 * nptl/tst-unwind-thread.c: New file.
6495 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
6498 2019-02-13 Joseph Myers <joseph@codesourcery.com>
6500 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
6502 * nis/nis_call.c (__do_niscall3): Likewise.
6504 * catgets/gencat.c (normalize_line): Use braces around empty
6506 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6507 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
6508 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
6509 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
6510 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
6511 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
6512 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
6515 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
6518 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
6520 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
6521 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
6522 * benchtests/bench-strchr.c (stupid_strchr): Remove.
6523 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
6524 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
6525 * benchtests/bench-strlen.c (builtin_strlen): Remove.
6526 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
6527 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
6528 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
6529 * benchtests/bench-strspn.c (stupid_strspn): Remove.
6530 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
6531 * benchtests/bench-bcopy.c: Delete file.
6532 * benchtests/bench-bzero.c: Likewise.
6533 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
6534 (simple_memccpy): Remove.
6535 (generic_memccpy): Add function.
6536 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
6537 * benchtests/bench-memmove.c (simple_bcopy): Remove.
6538 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
6539 (generic_mempcpy): Add new function.
6540 * benchtests/bench-memset.c (simple_bzero): Remove.
6541 (builtin_bzero): Remove.
6542 (builtin_memset): Remove.
6543 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
6544 (generic_rawmemchr): Add new function.
6546 2019-02-12 Florian Weimer <fweimer@redhat.com>
6548 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
6550 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6553 * elf/Makefile (tests): Add tst-audit13.
6554 (modules-names): Add tst-audit13mod1.
6555 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6557 * elf/tst-audit13.c: New file.
6558 * elf/tst-audit13mod1.c: Likewise.
6560 2019-02-12 Florian Weimer <fweimer@redhat.com>
6563 * elf/rtld.c (unload_audit_module): New function.
6564 (report_audit_module_load_error): Likewise.
6565 (load_audit_module): Likewise. Extracted from dl_main. Call
6566 _dl_close if the laversion symbol cannot be found. Use early
6567 returns for error handling. Add malloc error check. Check for a
6568 zero return value from la_version. Remove spurious comment about
6569 static TLS initialization. Remove useless casts.
6570 (notify_audit_modules_of_loaded_object): New function. Extracted
6572 (load_audit_module): Likewise.
6573 (dl_main): Call load_audit_modules.
6575 2019-02-12 Joseph Myers <joseph@codesourcery.com>
6577 * elf/dl-exception.c (_dl_exception_create_format): Add
6578 fall-through comments.
6579 * elf/ldconfig.c (parse_conf_include): Likewise.
6580 * elf/rtld.c (print_statistics): Likewise.
6581 * locale/programs/charmap.c (parse_charmap): Likewise.
6582 * misc/mntent_r.c (__getmntent_r): Likewise.
6583 * posix/wordexp.c (parse_arith): Likewise.
6584 (parse_backtick): Likewise.
6585 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
6586 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6587 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6589 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
6591 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
6592 Use float instead of double.
6594 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6596 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
6598 2019-02-08 Joseph Myers <joseph@codesourcery.com>
6600 * sysdeps/powerpc/bits/mathinline.h: Remove.
6602 2019-02-08 Florian Weimer <fweimer@redhat.com>
6604 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
6605 * math/bits/math-finite.h: Move to ...
6606 * bits/math-finite.h: ... here.
6608 2019-02-08 Florian Weimer <fweimer@redhat.com>
6610 * sysdeps/generic/bits/unistd_ext.h: Move to ...
6611 * bits/unistd_ext.h: here.
6613 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
6616 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
6617 * nss/tst-nss-files-hosts-long.c: New file.
6618 * nss/tst-nss-files-hosts-long.root: New directory.
6619 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
6620 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
6622 2019-02-08 Florian Weimer <fweimer@redhat.com>
6624 * include/bits/unistd_ext.h: Remove file.
6625 * posix/bits/unistd_ext.h: Move to ...
6626 * sysdeps/generic/bits/unistd_ext.h: ... here.
6628 2019-02-08 Florian Weimer <fweimer@redhat.com>
6630 * include/bits/unistd_ext.h: New file.
6632 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
6634 * time/tst-strftime2.c: Use array_length macros instead of magic
6637 2019-02-08 Florian Weimer <fweimer@redhat.com>
6640 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
6642 * nptl/register-atfork.c (__run_fork_handlers): Only perform
6643 locking if the new do_locking argument is true.
6644 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
6645 __run_fork_handlers.
6647 2019-02-08 Florian Weimer <fweimer@redhat.com>
6650 Linux: Add gettid system call wrapper.
6651 * posix/Makefile (headers): Add bits/unistd_ext.h.
6652 * posix/bits/unistd_ext.h: New file.
6653 * posix/unistd.h: Include it.
6654 * manual/process.texi (Process Identification): Document gettid.
6655 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
6656 tst-gettid, tst-gettid-kill.
6657 (tst-gettid): Link with $(shared-thread-library).
6658 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
6659 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
6660 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
6661 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
6662 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
6663 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
6665 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
6667 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
6668 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
6670 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
6672 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
6674 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
6676 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
6678 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
6680 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
6682 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6683 (GLIBC_2.30): Likewise.
6684 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6685 (GLIBC_2.30): Likewise.
6686 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6687 (GLIBC_2.30): Likewise.
6688 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6689 (GLIBC_2.30): Likewise.
6690 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
6692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6693 (GLIBC_2.30): Likewise.
6694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6695 (GLIBC_2.30): Likewise.
6696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
6697 (GLIBC_2.30): Likewise.
6698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
6699 (GLIBC_2.30): Likewise.
6700 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
6702 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
6704 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
6706 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
6707 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
6709 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
6711 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
6713 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
6715 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
6717 2019-02-08 Florian Weimer <fweimer@redhat.com>
6719 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
6720 compatibility symbols.
6722 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
6725 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6726 Add compiler barriers and comments.
6728 2019-02-07 Florian Weimer <fweimer@redhat.com>
6730 * include/array_length.h (array_length): Do not use a statement
6731 expression and _Static_assert, so that array_length can be used at
6732 file scope and as a constant expression.
6734 2019-02-07 Florian Weimer <fweimer@redhat.com>
6736 * support/xdlfcn.h (xdlmopen): Declare.
6737 * support/xdlmopen.c: New file.
6738 * support/Makefile (libsupport-routines): Add xdlmopen.
6740 2019-02-06 Joseph Myers <joseph@codesourcery.com>
6742 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
6743 before return type, without separate inline.
6744 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
6745 * elf/dl-tunables.h (tunable_is_name): Likewise.
6746 * malloc/malloc.c (do_set_trim_threshold): Likewise.
6747 (do_set_top_pad): Likewise.
6748 (do_set_mmap_threshold): Likewise.
6749 (do_set_mmaps_max): Likewise.
6750 (do_set_mallopt_check): Likewise.
6751 (do_set_perturb_byte): Likewise.
6752 (do_set_arena_test): Likewise.
6753 (do_set_arena_max): Likewise.
6754 (do_set_tcache_max): Likewise.
6755 (do_set_tcache_count): Likewise.
6756 (do_set_tcache_unsorted_limit): Likewise.
6757 * nis/nis_subr.c (count_dots): Likewise.
6758 * nptl/allocatestack.c (advise_stack_range): Likewise.
6759 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
6761 (reduce_sincos): Likewise.
6762 (do_sincos): Likewise.
6763 * sysdeps/unix/sysv/linux/x86/elision-conf.c
6764 (do_set_elision_enable): Likewise.
6765 (TUNABLE_CALLBACK_FNDECL): Likewise.
6767 2019-02-06 Florian Weimer <fweimer@redhat.com>
6769 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
6770 (xdlsym): Use dlerror to detect a NULL symbol.
6772 2019-02-06 Florian Weimer <fweimer@redhat.com>
6774 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
6776 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6778 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6780 * libio/tst-bz24153.c (wide): Use wide char format specifier.
6782 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6784 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
6785 __wmemcmp and weak alias to wmemcmp.
6787 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6790 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
6791 TLS_TCB_AT_TP tls variant.
6792 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
6793 Add alignment checks.
6794 * support/Makefile (libsupport-routines): Add xposix_memalign and
6796 * support/support.h: Add xposix_memalign.
6797 * support/xthread.h: Add xpthread_attr_setstack.
6798 * support/xposix_memalign.c: New File.
6799 * support/xpthread_attr_setstack.c: Likewise.
6801 2019-02-05 Florian Weimer <fweimer@redhat.com>
6804 arm: Use "nr" constraint for Systemtap probes, to avoid the
6805 compiler using memory operands for constants, due to the "o"
6806 alternative in the default "nor" constraint.
6807 * include/stap-probe.h [USE_STAP_PROBE]: Include
6808 <stap-probe-machine.h>
6809 * sysdeps/generic/stap-probe-machine.h: New file.
6810 * sysdeps/arm/stap-probe-machine.h: Likewise.
6812 2019-02-04 Joseph Myers <joseph@codesourcery.com>
6814 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
6815 with 0, not tcache->entries[tc_idx].
6817 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
6820 2019-02-04 Andreas Schwab <schwab@suse.de>
6824 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
6825 looking up collating elements match against (wide) character
6826 sequence instead of name. Correct alignment adjustment.
6827 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
6828 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
6829 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
6830 (LOCALES): Add cs_CZ.ISO-8859-2.
6831 * posix/tst-fnmatch4.c: New file.
6832 * posix/tst-fnmatch5.c: New file.
6833 * include/wchar.h (__wmemcmp): Declare.
6834 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
6835 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
6836 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
6837 * sysdeps/s390/wmemcmp.c: Likewise.
6839 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
6843 * NEWS: Updated for CVE-2019-7309.
6844 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
6845 upper 32 bits of RDX register for x32. Use unsigned Jcc
6846 instructions, instead of signed.
6847 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
6848 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
6850 2019-02-04 Florian Weimer <fweimer@redhat.com>
6852 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
6853 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
6854 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
6856 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
6857 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
6858 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
6859 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
6861 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
6863 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
6865 (posix_spawn_file_actions_addopen): Likewise.
6866 (posix_spawn_file_actions_addclose): Likewise.
6867 (posix_spawn_file_actions_adddup2): Likewise.
6868 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
6870 (posix_spawn_file_actions_addfchdir_np): Likewise.
6872 2019-02-04 David Newall <glibc@davidnewall.com>
6874 elf: Implement --preload option for the dynamic linker.
6875 * elf/rtld.c (preloadarg): New variable.
6876 (handle_preload_list): Pass through “where” argument to
6878 (dl_main): Handle "--preload" and add second call to
6879 handle_preload_list.
6880 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
6881 (tst-rtld-preload-OBJS): Set variable.
6882 (tst-rtld-preload.out): New target.
6883 * elf/tst-rtld-preload.sh: New file.
6885 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
6887 * Makefile (testrun.sh): Exit in case of incorrect argument.
6889 2019-02-04 Florian Weimer <fweimer@redhat.com>
6891 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
6894 2019-02-03 Florian Weimer <fweimer@redhat.com>
6896 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
6897 implicit overflow checks.
6899 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
6901 * stdlib/isomac.c: Include <unistd.h>.
6903 2019-02-03 Florian Weimer <fweimer@redhat.com>
6905 * include/time.h (__tzfile_default): Use int, not long int, for
6907 * time/tzfile.c (struct ttinfo): Change type of the offset member
6909 (__tzfile_read): Remove useless cast.
6910 (__tzfile_default): Adjust prototype.
6911 * time/tzset.c (tz_rule): Change type of the offset member to int.
6912 (parse_offset): Change the type of the sign variable to int.
6914 2019-02-03 Florian Weimer <fweimer@redhat.com>
6917 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
6918 * libio/getchar.c (getchar): Likewise.
6919 * libio/getchar_u.c (getchar_unlocked): Likewise.
6920 * libio/getwchar.c (getwchar): Likewise.
6921 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6922 * libio/iogets.c (_IO_gets): Likewise.
6923 * libio/vscanf.c (_IO_vscanf): Likewise.
6924 * libio/vwscanf.c (__vwscanf): Likewise.
6925 * libio/tst-bz24153.c: New file.
6926 * libio/Makefile (tests): Add it.
6928 2019-02-02 Florian Weimer <fweimer@redhat.com>
6931 * manual/resource.texi (Basic Scheduling Functions): Add
6932 portability note. Change process to task throughout the section.
6933 Remove incorrect comment about sched_yield as it affects
6934 tasks/threads, not entire processes.
6935 * sysdeps/unix/sysv/linux/bits/posix_opt.h
6936 (_POSIX_PRIORITY_SCHEDULING): Update comment.
6938 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6940 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
6941 * configure: Regenerated.
6942 * manual/install.texi (Tools for Compilation): Update minimum GCC
6944 * INSTALL: Regenerated.
6946 2019-02-01 Florian Weimer <fweimer@redhat.com>
6948 * support/support_test_compare_string.c
6949 (support_test_compare_string): Use "string" in error message.
6950 * support/tst-test_compare_string.c (do_test): Adjust.
6952 2019-02-01 Florian Weimer <fweimer@redhat.com>
6954 * support/support_format_address_family.c
6955 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
6957 2019-02-01 Florian Weimer <fweimer@redhat.com>
6959 * manual/socket.texi (Internet Address Formats): Clarify the byte
6960 order of struct sockaddr_in, struct sockaddr_in6. Document
6961 sin6_flowinfo and sin6_scope_id.
6963 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
6965 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
6966 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
6967 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
6968 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
6969 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
6970 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
6972 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6974 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
6975 [!MEMCHR](MEMCHR): Set to __memchr.
6976 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6977 Add memchr_generic and memchr_nosimd.
6978 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6979 (__libc_ifunc_impl_list): Add memchr ifuncs.
6980 * sysdeps/aarch64/multiarch/memchr.c: New file.
6981 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
6982 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
6984 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6986 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6988 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6989 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
6990 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
6991 Add IS_EMAG check for ifunc dispatch.
6992 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
6993 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
6995 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6997 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
6998 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7000 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
7003 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
7005 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
7007 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
7009 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
7010 syscall-template file.
7012 2019-01-31 Carlos O'Donell <carlos@redhat.com>
7013 Torvald Riegel <triegel@redhat.com>
7014 Rik Prohaska <prohaska7@gmail.com>
7017 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
7018 tst-rwlock-trywrlock-stall.
7019 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
7020 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
7021 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
7022 Set __wrphase_fute to 1 only if we started the write phase.
7023 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
7024 * nptl/tst-rwlock-trywrlock-stall.c: New file.
7025 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
7026 * support/xpthread_rwlock_destroy.c: New file.
7027 * support/xthread.h: Declare xpthread_rwlock_destroy.
7029 2019-02-01 Joseph Myers <joseph@codesourcery.com>
7031 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
7034 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7037 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
7038 * libio/fileops.c (_IO_new_file_underflow): Likewise
7039 * libio/wfileops.c (_IO_wfile_underflow): Likewise
7040 * libio/putchar.c (putchar): Likewise.
7041 * libio/putchar_u.c (putchar_unlocked): Likewise.
7042 * libio/putwchar.c (putchar): Likewise.
7043 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7044 * libio/tst-bz24051.c: New test.
7045 * libio/Makefile (tests): Add tst-bz24051
7047 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
7050 regex: fix read overrun [BZ #24114]
7051 Problem found by AddressSanitizer, reported by Hongxu Chen in:
7052 https://debbugs.gnu.org/34140
7053 * posix/regexec.c (proceed_next_node):
7054 Do not read past end of input buffer.
7056 2019-01-31 Florian Weimer <fweimer@redhat.com>
7059 * nss/nss_files/files-alias.c (get_next_alias): Handle
7060 continuation line without newline at the end.
7061 * nss/tst-nss-files-alias-truncated.c: New file.
7062 * nss/Makefile [$(build-shared)] (tests): Add
7063 tst-nss-files-alias-truncated.
7064 (tst-nss-files-alias-truncated): Link with libnss_files.so.
7065 * support/namespace.h (struct support_chroot_configuration): Add
7067 (struct support_chroot): Add path_aliases member.
7068 * support/support_chroot.c (support_chroot_create): Handle
7070 (support_chroot_free): Free path_aliases.
7072 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
7074 * version.h (RELEASE): Set to "development".
7075 (VERSION): Set to "2.29.9000".
7076 * NEWS: Add section for 2.30.
7078 * version.h (RELEASE): Set to "stable".
7079 (VERSION): Set to "2.29".
7080 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
7082 * NEWS: Add the list of bugs fixed in 2.29.
7083 * manual/contrib.texi: Update contributors list with some more
7085 * manual/install.texi: Update latest versions of packages
7087 * INSTALL: Regenerated.
7089 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
7091 * po/be.po: Update translations.
7092 * po/bg.po: Likewise.
7093 * po/ca.po: Likewise.
7094 * po/cs.po: Likewise.
7095 * po/da.po: Likewise.
7096 * po/de.po: Likewise.
7097 * po/el.po: Likewise.
7098 * po/eo.po: Likewise.
7099 * po/es.po: Likewise.
7100 * po/fi.po: Likewise.
7101 * po/fr.po: Likewise.
7102 * po/gl.po: Likewise.
7103 * po/hr.po: Likewise.
7104 * po/hu.po: Likewise.
7105 * po/ia.po: Likewise.
7106 * po/id.po: Likewise.
7107 * po/it.po: Likewise.
7108 * po/ja.po: Likewise.
7109 * po/ko.po: Likewise.
7110 * po/lt.po: Likewise.
7111 * po/nb.po: Likewise.
7112 * po/nl.po: Likewise.
7113 * po/pl.po: Likewise.
7114 * po/pt_BR.po: Likewise.
7115 * po/ru.po: Likewise.
7116 * po/rw.po: Likewise.
7117 * po/sk.po: Likewise.
7118 * po/sl.po: Likewise.
7119 * po/sv.po: Likewise.
7120 * po/tr.po: Likewise.
7121 * po/uk.po: Likewise.
7122 * po/vi.po: Likewise.
7123 * po/zh_CN.po: Likewise.
7124 * po/zh_TW.po: Likewise.
7126 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
7129 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
7130 of $f3 register on $y_is_neg path.
7132 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
7135 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
7136 sigaltstack.ss_flags.
7138 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
7141 * manual/time.texi (strftime): Document "%Ey".
7142 * time/strftime_l.c (__strftime_internal): Set the default width
7143 padding with zero of "%Ey" to 2.
7146 * manual/time.texi (strftime): Document "%EC" and "%EY".
7147 * time/Makefile (tests): Add tst-strftime2.
7148 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
7149 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
7150 override padding for "%Ey".
7151 If an optional flag ('_' or '-') is specified to "%EY", interpret the
7152 "%Ey" in the subformat as if decorated with that flag.
7153 * time/tst-strftime2.c: New file.
7155 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7157 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
7161 * elf/Makefile (tests): Add tst-audit13.
7162 (modules-names): Add tst-audit13mod1.
7163 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
7165 * elf/rtld.c (dl_main): Handle invalid audit module version.
7166 * elf/tst-audit13.c: New file.
7167 * elf/tst-audit13mod1.c: Likewise.
7169 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7171 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
7172 returned by __hurd_at_flags.
7173 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
7174 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
7175 directly instead of __hurd_file_name_lookup.
7177 2019-01-21 Joseph Myers <joseph@codesourcery.com>
7179 * scripts/build-many-glibcs.py (Context.checkout): Default
7180 binutils version to 2.32 branch.
7182 2019-01-21 Florian Weimer <fweimer@redhat.com>
7186 resolv: Reject trailing characters in host names
7187 * include/arpa/inet.h (__inet_aton_exact): Declare.
7188 (inet_aton): Remove hidden prototype. No longer used internally.
7189 * nscd/gai.c (__inet_aton): Do not define.
7190 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
7191 * nss/digits_dots.c (__inet_aton): Likewise.
7192 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
7193 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
7194 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
7195 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
7196 (tst-resolv-trailing): Likewise.
7197 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
7199 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
7200 Make static. Add endp parameter.
7201 (__inet_aton_exact): New function.
7202 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
7203 (__inet_addr): Call inet_aton_end.
7204 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
7205 not just IPv6. Call __inet_aton_exact.
7206 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
7207 (tests): Make const. Add additional test cases with trailing
7209 (do_test): Use array_length.
7210 * resolv/tst-inet_aton_exact.c: New file.
7211 * resolv/tst-resolv-trailing.c: Likewise.
7212 * resolv/tst-resolv-nondecimal.c: Likewise.
7213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
7215 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7219 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
7220 Clear the upper 32 bits of RSI register.
7221 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
7222 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
7223 and tst-size_t-wcsnlen.
7224 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
7225 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
7227 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7231 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
7232 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7233 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7234 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
7235 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
7237 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7241 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
7242 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7243 * sysdeps/x86_64/strcmp.S: Likewise.
7244 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
7245 tst-size_t-strncmp and tst-size_t-wcsncmp.
7246 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
7247 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
7248 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
7250 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7254 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
7255 RDX_LP for length. Clear the upper 32 bits of RDX register.
7256 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
7257 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
7258 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
7259 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
7261 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7265 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
7266 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
7267 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
7268 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
7270 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7274 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
7275 length. Clear the upper 32 bits of RDX register.
7276 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7277 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7279 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7281 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
7283 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
7285 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7289 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
7290 length. Clear the upper 32 bits of RDX register.
7291 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7292 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7293 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
7295 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
7296 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
7298 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7302 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
7303 upper 32 bits of RDX register.
7304 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
7305 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
7307 * sysdeps/x86_64/x32/test-size_t.h: New file.
7308 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
7309 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
7311 2019-01-18 Florian Weimer <fweimer@redhat.com>
7314 resolv: Do not send queries for non-host-names in nss_dns.
7315 * resolv/nss_dns/dns-host.c (check_name): New function.
7316 (_nss_dns_gethostbyname2_r): Use it.
7317 (_nss_dns_gethostbyname_r): Likewise.
7318 (_nss_dns_gethostbyname4_r): Likewise.
7320 2019-01-21 Florian Weimer <fweimer@redhat.com>
7322 * resolv/inet_addr.c: Reformat to GNU style.
7323 (__inet_addr, __inet_aton): Update comment.
7325 2019-01-18 Florian Weimer <fweimer@redhat.com>
7327 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
7328 ("malloc: Use current (C11-style) atomics for fastbin access").
7329 This commit introduces a substantial performance regression on
7331 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
7332 (REMOVE_FB): Define.
7333 (_int_malloc): Use it and reindent.
7334 (_int_free): Use CAS loop with
7335 catomic_compare_and_exchange_val_rel.
7336 (malloc_consolidate): Use atomic_exchange_acq.
7339 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
7341 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
7343 (LDFLAGS-tst-minsigstksz-2): Likewise.
7344 (LDFLAGS-tst-minsigstksz-3): Likewise.
7345 (LDFLAGS-tst-minsigstksz-3a): Likewise.
7346 (LDFLAGS-tst-minsigstksz-4): Likewise.
7348 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
7350 * manual/time.texi (strftime): Fix the wording to "alternative" rather
7353 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
7355 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
7357 2019-01-16 Zack Weinberg <zackw@panix.com>
7359 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
7360 (xget_sigstack_location): New test support functions.
7361 * support/xsigstack.c: New file, implementing them.
7362 * support/tst-xsigstack.c: New test for them.
7363 * support/Makefile: Update.
7365 * signal/tst-minsigstksz-1.c
7366 * signal/tst-minsigstksz-2.c
7367 * signal/tst-minsigstksz-3.c
7368 * signal/tst-minsigstksz-3a.c
7369 * signal/tst-minsigstksz-4.c: New tests.
7370 * signal/Makefile: Run them.
7372 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7374 * po/libc.pot: Regenerate.
7376 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7378 * math/libm-test-fma.inc (fma_test_data): Set
7379 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
7381 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7383 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
7384 (do_test): Changed __vector __int128_t to __vector unsigned int.
7386 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7389 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
7390 stpcpy-avx2 and stpncpy-avx2.
7391 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
7392 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
7393 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
7395 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
7396 ifunc-strcpy.h}: rename header for a more generic name.
7397 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
7398 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7399 AVX unaligned load is fast and vzeroupper is preferred.
7400 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
7401 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
7402 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
7403 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
7404 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
7405 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
7407 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
7409 * argp/argp-help.c: Fix typo in comment.
7410 * misc/sys/cdefs.h: Likewise.
7411 * posix/regexec.c (sift_states_iter_mb): Likewise.
7412 * socket/sockatmark.c: Likewise.
7413 * socket/sys/socket.h: Likewise.
7414 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
7415 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
7416 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
7417 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7418 * sysdeps/unix/sockatmark.c: Likewise.
7419 * time/strptime_l.c: Likewise.
7421 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7423 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
7424 missing space after the cast of "_NL_CURRENT".
7426 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7428 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
7429 ifdef to fix read of VSCR.
7430 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
7431 tst-ucontext-ppc64-vscr.c to test list.
7432 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
7434 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
7436 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
7439 2019-01-09 Jim Wilson <jimw@sifive.com>
7441 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7443 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
7445 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
7446 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
7447 __memcpy_falkor for ares.
7448 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
7450 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7453 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
7456 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
7457 4_FP_W_TYPEs are used for IEEE quad precision.
7458 * soft-fp/extendhftf2.c: Likewise.
7459 * soft-fp/extendsftf2.c: Likewise.
7460 * soft-fp/extendxftf2.c: Likewise.
7461 * soft-fp/trunctfdf2.c: Likewise.
7462 * soft-fp/trunctfhf2.c: Likewise.
7463 * soft-fp/trunctfsf2.c: Likewise.
7464 * soft-fp/trunctfxf2.c: Likewise.
7465 * sysdeps/alpha/ots_cvttx.c: Likewise.
7466 * sysdeps/alpha/ots_cvtxt.c: Likewise.
7467 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
7468 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7469 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7470 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
7471 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
7472 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7473 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7474 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
7475 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
7476 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
7477 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
7478 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
7479 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
7480 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
7481 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
7482 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
7484 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7487 * Makeconfig: Build libm with -fno-math-errno but build the remaining
7488 code with -fmath-errno.
7489 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
7490 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
7491 * string/test-strerror-errno.c: New file.
7493 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7496 * localedata/locales/en_US (date_fmt): Add, set to
7497 "%a %d %b %Y %r %Z".
7499 2019-01-07 Florian Weimer <fweimer@redhat.com>
7502 * manual/arith.texi (Math Error Reporting): Use @code{errno}
7503 instead of @var{errno}.
7504 (Parsing of Integers): Likewise.
7505 (Parsing of Floats): Likewise.
7506 * manual/filesys.texi (Working with Directory Trees): Likewise.
7507 (Temporary Files): Likewise.
7508 * manual/job.texi (Terminal Access Functions): Likewise.
7509 * manual/llio.texi (Synchronizing I/O): Likewise.
7510 * manual/math.texi (SVID Random): Likewise.
7511 * manual/message.texi (The catgets Functions): Likewise.
7512 (Translation with gettext): Likewise.
7513 (Locating gettext catalog): Likewise.
7514 (Charset conversion in gettext): Likewise.
7515 * manual/nss.texi (NSS Module Function Internals): Likewise.
7516 * manual/search.texi (Hash Search Function): Likewise.
7517 * manual/setjmp.texi (System V contexts): Likewise.
7518 * manual/time.texi (Sleeping): Likewise.
7519 * manual/users.texi (Lookup User): Likewise.
7520 (Lookup Group): Likewise.
7522 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7524 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
7527 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
7530 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
7531 __builtin_unreachable for default case in switch.
7532 (__ieee754_yn): Likewise.
7533 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7534 (__ieee754_ynl): Likewise.
7535 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7536 (__ieee754_ynl): Likewise.
7537 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7538 (__ieee754_ynl): Likewise.
7540 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7542 * manual/maint.texi: Use @{ and @}.
7544 2019-01-04 Florian Weimer <fweimer@redhat.com>
7546 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
7548 (do_in_chroot_1): Call it.
7550 Improve error reporting in case it is not possible to create a
7551 collision for the PTY name required by the test.
7553 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7555 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
7556 lll_wait_tid with timeout.
7557 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
7558 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
7559 futex_reltimed_wait_cancelable for cancelabla mode.
7560 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
7561 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
7563 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
7564 * sysdeps/posix/waitid.c (__sigwait): Likewise.
7565 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
7566 SYSCALL_CANCEL_NCS): New macro.
7567 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
7568 (lll_timedwait_tid): Remove macro.
7569 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
7571 (lll_timedwait_tid): Likewise.
7572 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
7574 (lll_timedwait_tid): Likewise.
7575 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
7577 (lll_timedwait_tid): Likewise.
7578 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
7579 Use INTERNAL_SYSCALL_CANCEL.
7580 * sysdeps/unix/sysv/linux/futex-internal.h
7581 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
7582 instead of __pthread_{enable,disable}_asynccancel.
7583 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
7584 (lll_futex_wait_cancel): New macro.
7586 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7587 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7589 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7590 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7592 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
7593 in backtrace analysis.
7594 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
7596 (tf_send): Likewise.
7598 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
7599 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
7600 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
7601 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
7602 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7603 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7604 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
7605 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
7606 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
7607 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
7608 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
7609 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
7611 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
7612 tst-cancel-wrappers.sh.
7613 (generated): Remove tst-cancel-wrappers.out.
7614 (tst-cancel-wrappers.out): Remove rule.
7615 * nptl/tst-cancel-wrappers.sh: Remove file.
7617 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7619 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
7620 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7623 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7626 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
7627 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
7628 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
7629 close-on-exec reset for adddup2 file action.
7630 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7632 2019-01-03 Zack Weinberg <zackw@panix.com>
7634 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
7635 parameter. Only use deprecated scanf when __USE_GNU is defined
7636 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
7637 than 201103L, whichever is relevant for the language being compiled.
7639 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
7640 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
7641 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
7642 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
7643 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
7647 * libio/iovswscanf.c
7652 * stdio-common/fscanf.c
7653 * stdio-common/scanf.c
7654 * stdio-common/vfscanf.c
7655 * stdio-common/vfwscanf.c
7656 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7657 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
7658 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
7659 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
7660 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
7661 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
7662 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
7663 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
7664 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
7665 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
7666 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
7667 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
7668 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
7669 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
7670 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
7672 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
7673 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
7674 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
7676 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
7677 with a preprocessor macro.
7679 * stdio-common/bug21.c, stdio-common/scanf14.c:
7680 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
7681 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7682 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
7683 to xscanf, xfscanf, xsscanf.
7685 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
7686 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7687 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
7688 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
7690 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
7691 override feature selection macros or provide definitions of u_char etc.
7692 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
7693 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
7694 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
7697 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7699 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7700 bits/termios-misc.h.
7701 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
7702 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7703 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7704 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7705 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
7706 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
7708 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
7709 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7710 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
7711 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
7712 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
7713 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
7715 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
7716 (sysdep_headers): Add termios-misc.h.
7718 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
7719 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7720 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7724 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
7725 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
7726 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
7727 TCSAFLUSH): Move to termios-tcflow.h.
7728 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7729 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7730 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7731 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7735 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
7736 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
7737 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
7738 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
7739 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
7740 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
7741 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
7742 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
7744 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7745 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7746 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7747 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7749 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7751 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
7752 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
7753 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
7754 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
7755 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
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.
7763 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7765 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
7766 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
7767 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
7768 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
7769 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
7770 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
7771 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
7772 __MAX_BAUD): Move to termios-baud.h.
7773 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
7774 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7775 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7776 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7777 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7779 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7781 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
7782 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
7783 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
7784 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
7785 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
7786 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
7788 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
7789 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
7791 [USE_MISC] (XTABS): Likewise.
7792 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7793 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7794 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7795 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
7797 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7799 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
7800 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
7801 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
7802 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
7803 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
7804 IUTF8): Move to termios-c_iflag.h.
7805 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7806 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7807 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7808 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7810 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7812 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
7813 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
7814 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
7815 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
7816 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
7817 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
7818 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
7819 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
7820 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7821 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7822 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7823 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7825 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
7826 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
7827 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
7828 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
7829 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7831 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
7833 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
7835 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
7837 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
7839 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
7841 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
7842 _HAVE_C_OSPEED): Define.
7843 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
7844 _HAVE_C_OSPEED): Likewise.
7845 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
7846 _HAVE_C_OSPEED): Likewise.
7847 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
7848 (cfsetospeed): Check for define value instead of existence.
7849 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
7850 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7851 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
7852 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7853 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
7856 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
7858 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7859 (TIOCSER_TEMT): Likewise.
7860 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
7861 (TEOCSER_TEMT): Likewise.
7863 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
7866 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
7868 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7870 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7872 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7874 * sysdeps/htl/pt-barrierattr-setpshared.c
7875 (pthread_barrierattr_setpshared): Add stub warning.
7876 * sysdeps/htl/pt-condattr-setpshared.c
7877 (pthread_condattr_setpshared): Likewise.
7878 * sysdeps/htl/pt-mutexattr-setpshared.c
7879 (pthread_mutexattr_setpshared): Likewise.
7880 * sysdeps/htl/pt-rwlockattr-setpshared.c
7881 (pthread_rwlockattr_setpshared): Likewise.
7882 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
7883 (pthread_mutexattr_setpshared): Likewise.
7885 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7887 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
7888 constants to match with Linux 4.20.
7890 * sysdeps/mips/mips32/libm-test-ulps: Update.
7891 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7893 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
7896 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
7897 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
7898 than __typeof (...) for the a_ptr variable.
7900 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7902 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
7903 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
7904 * libio/Makefile (tests): Add tst-sprintf-ub and
7906 (CFLAGS-tst-sprintf-ub.c): New variable.
7907 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
7908 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
7909 destination buffer and check for overflows in fortified mode.
7910 * libio/libioP.h (PRINTF_CHK): New macro.
7911 * libio/tst-sprintf-chk-ub.c: New file.
7912 * libio/tst-sprintf-ub.c: Likewise.
7914 2019-01-02 Florian Weimer <fweimer@redhat.com>
7917 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
7920 2019-01-02 Florian Weimer <fweimer@redhat.com>
7922 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
7924 2019-01-01 Joseph Myers <joseph@codesourcery.com>
7926 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
7929 * sysdeps/unix/sysv/linux/netpacket/packet.h
7930 (PACKET_IGNORE_OUTGOING): New macro.
7932 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
7935 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7937 (riscv_flush_icache): New syscall.
7939 * manual/texinfo.tex: Update to version 2018-12-28.17 with
7940 trailing whitespace removed.
7941 * scripts/config.guess: Update to version 2019-01-01.
7942 * scripts/config.sub: Update to version 2019-01-01.
7943 * scripts/move-if-change: Update from gnulib.
7945 * NEWS: Update copyright dates.
7946 * catgets/gencat.c (print_version): Likewise.
7947 * csu/version.c (banner): Likewise.
7948 * debug/catchsegv.sh: Likewise.
7949 * debug/pcprofiledump.c (print_version): Likewise.
7950 * debug/xtrace.sh (do_version): Likewise.
7951 * elf/ldconfig.c (print_version): Likewise.
7952 * elf/ldd.bash.in: Likewise.
7953 * elf/pldd.c (print_version): Likewise.
7954 * elf/sotruss.sh: Likewise.
7955 * elf/sprof.c (print_version): Likewise.
7956 * iconv/iconv_prog.c (print_version): Likewise.
7957 * iconv/iconvconfig.c (print_version): Likewise.
7958 * locale/programs/locale.c (print_version): Likewise.
7959 * locale/programs/localedef.c (print_version): Likewise.
7960 * login/programs/pt_chown.c (print_version): Likewise.
7961 * malloc/memusage.sh (do_version): Likewise.
7962 * malloc/memusagestat.c (print_version): Likewise.
7963 * malloc/mtrace.pl: Likewise.
7964 * manual/libc.texinfo: Likewise.
7965 * nptl/version.c (banner): Likewise.
7966 * nscd/nscd.c (print_version): Likewise.
7967 * nss/getent.c (print_version): Likewise.
7968 * nss/makedb.c (print_version): Likewise.
7969 * posix/getconf.c (main): Likewise.
7970 * scripts/test-installation.pl: Likewise.
7971 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7973 * All files with FSF copyright notices: Update copyright dates
7974 using scripts/update-copyrights.
7975 * locale/programs/charmap-kw.h: Regenerated.
7976 * locale/programs/locfile-kw.h: Likewise.
7978 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7980 * timezone/zdump.c: Update from tzcode 2018i.
7981 * timezone/zic.c: Likewise.
7983 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
7985 regex: improve Gnulib port to AIX
7986 From the glibc point of view, this removes duplicate macro
7987 definitions and is obviously safe.
7988 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
7989 * posix/regex_internal.h:
7990 (__attribute__, __attribute_warn_unused_result__):
7991 Remove; already defined elsewhere.
7993 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
7996 * malloc/malloc.c (_int_realloc): Always call memcpy for the
7997 copying operation. (ncopies had the wrong type, resulting in an
7998 integer wraparound and too few elements being copied.)
8000 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
8003 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
8004 <asm/syscalls.h> exists with __has_include__ before including it.
8006 2018-12-31 Joseph Myers <joseph@codesourcery.com>
8008 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8011 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
8013 * hurd/lookup-retry: Include <unistd.h>.
8014 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
8015 Release it on return. Handle "pid" magical lookup retry.
8017 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
8020 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
8021 (t_fmt_ampm): Likewise.
8022 * localedata/locales/aa_ER (t_fmt): Likewise.
8023 (t_fmt_ampm): Likewise.
8024 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
8025 (t_fmt_ampm): Likewise.
8026 * localedata/locales/aa_ET (t_fmt): Likewise.
8027 (t_fmt_ampm): Likewise.
8028 * localedata/locales/am_ET (t_fmt): Likewise.
8029 (t_fmt_ampm): Likewise.
8030 * localedata/locales/byn_ER (t_fmt): Likewise.
8031 (t_fmt_ampm): Likewise.
8032 * localedata/locales/om_ET (t_fmt): Likewise.
8033 (t_fmt_ampm): Likewise.
8034 * localedata/locales/sid_ET (t_fmt): Likewise.
8035 (t_fmt_ampm): Likewise.
8036 * localedata/locales/so_DJ (t_fmt): Likewise.
8037 (t_fmt_ampm): Likewise.
8038 * localedata/locales/so_ET (t_fmt): Likewise.
8039 (t_fmt_ampm): Likewise.
8040 * localedata/locales/so_SO (t_fmt): Likewise.
8041 (t_fmt_ampm): Likewise.
8042 * localedata/locales/ti_ER (t_fmt): Likewise.
8043 (t_fmt_ampm): Likewise.
8044 * localedata/locales/ti_ET (t_fmt): Likewise.
8045 (t_fmt_ampm): Likewise.
8046 * localedata/locales/tig_ER (t_fmt): Likewise.
8047 (t_fmt_ampm): Likewise.
8048 * localedata/locales/wal_ET (t_fmt): Likewise.
8049 (t_fmt_ampm): Likewise.
8051 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
8052 * localedata/locales/ar_IN (t_fmt): Likewise.
8053 * localedata/locales/bhb_IN (t_fmt): Likewise.
8054 * localedata/locales/bho_IN (t_fmt): Likewise.
8055 * localedata/locales/bi_VU (t_fmt): Likewise.
8056 * localedata/locales/bn_BD (t_fmt): Likewise.
8057 * localedata/locales/bn_IN (t_fmt): Likewise.
8058 * localedata/locales/brx_IN (t_fmt): Likewise.
8059 * localedata/locales/doi_IN (t_fmt): Likewise.
8060 * localedata/locales/en_HK (t_fmt): Likewise.
8061 (t_fmt_ampm): Likewise.
8062 * localedata/locales/en_IN (t_fmt): Likewise.
8063 * localedata/locales/en_PH (t_fmt): Likewise.
8064 * localedata/locales/gu_IN (t_fmt): Likewise.
8065 * localedata/locales/hi_IN (t_fmt): Likewise.
8066 * localedata/locales/hif_FJ (t_fmt): Likewise.
8067 * localedata/locales/hne_IN (t_fmt): Likewise.
8068 * localedata/locales/kn_IN (t_fmt): Likewise.
8069 * localedata/locales/kok_IN (t_fmt): Likewise.
8070 * localedata/locales/ks_IN (t_fmt): Likewise.
8071 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
8072 * localedata/locales/mag_IN (t_fmt): Likewise.
8073 * localedata/locales/mai_IN (t_fmt): Likewise.
8074 * localedata/locales/mjw_IN (t_fmt): Likewise.
8075 * localedata/locales/ml_IN (t_fmt): Likewise.
8076 * localedata/locales/mni_IN (t_fmt): Likewise.
8077 * localedata/locales/mr_IN (t_fmt): Likewise.
8078 * localedata/locales/ms_MY (t_fmt): Likewise.
8079 * localedata/locales/pa_IN (t_fmt): Likewise.
8080 * localedata/locales/raj_IN (t_fmt): Likewise.
8081 * localedata/locales/sa_IN (t_fmt): Likewise.
8082 * localedata/locales/sat_IN (t_fmt): Likewise.
8083 * localedata/locales/sd_IN (t_fmt): Likewise.
8084 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
8085 * localedata/locales/tcy_IN (t_fmt): Likewise.
8086 * localedata/locales/the_NP (t_fmt): Likewise.
8087 * localedata/locales/to_TO (t_fmt): Likewise.
8088 * localedata/locales/ur_IN (t_fmt): Likewise.
8090 * localedata/locales/hif_FJ (d_t_fmt): Set to
8091 "%A %d %b %Y %I:%M:%S %p".
8092 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
8094 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
8095 * localedata/locales/ar_BH (t_fmt): Likewise.
8096 * localedata/locales/ar_DZ (t_fmt): Likewise.
8097 * localedata/locales/ar_EG (t_fmt): Likewise.
8098 * localedata/locales/ar_IQ (t_fmt): Likewise.
8099 * localedata/locales/ar_JO (t_fmt): Likewise.
8100 * localedata/locales/ar_KW (t_fmt): Likewise.
8101 * localedata/locales/ar_LB (t_fmt): Likewise.
8102 * localedata/locales/ar_LY (t_fmt): Likewise.
8103 * localedata/locales/ar_OM (t_fmt): Likewise.
8104 * localedata/locales/ar_QA (t_fmt): Likewise.
8105 * localedata/locales/ar_SD (t_fmt): Likewise.
8106 * localedata/locales/ar_SS (t_fmt): Likewise.
8107 * localedata/locales/ar_SY (t_fmt): Likewise.
8108 * localedata/locales/ar_TN (t_fmt): Likewise.
8109 * localedata/locales/ar_YE (t_fmt): Likewise.
8111 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
8112 (t_fmt_ampm): Likewise.
8113 * localedata/locales/gez_ET (t_fmt): Likewise.
8114 (t_fmt_ampm): Likewise.
8116 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
8117 (t_fmt_ampm): Likewise.
8118 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
8120 * localedata/locales/zh_HK (t_fmt):
8121 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
8123 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
8124 because this locale does not use the 12-hour clock.
8125 (t_fmt): Set to "%Z %H:%M:%S".
8126 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
8128 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
8129 because this locale does not use the 12-hour clock.
8130 (t_fmt): Set to "%H:%M:%S %Z".
8131 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
8133 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
8134 because this locale does not use the 12-hour clock.
8135 (t_fmt): Set to "%T".
8136 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
8137 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
8139 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
8140 because this locale does not use the 12-hour clock.
8141 (t_fmt): Set to "%H:%M:%S %Z".
8142 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
8144 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
8145 because this locale does not use the 12-hour clock.
8146 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
8147 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
8149 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
8153 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
8154 (t_fmt_ampm): Likewise.
8155 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
8156 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
8157 (d_fmt): Set to "%-d.%-m.%y".
8159 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8161 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
8162 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
8163 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
8165 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
8166 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
8167 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
8169 * support/blob_repeat.c (check_mul_overflow_size_t,
8170 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
8172 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
8174 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
8176 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
8178 regex: simplify Gnulib port
8179 This simplifies the code, by removing stuff intended for porting
8180 to Gnulib but no longer needed there.
8181 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
8182 uses of libc_hidden_def, weak_alias.
8183 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
8184 _Restrict_ except for public-facing headers.
8185 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
8186 Remove; already defined elsewhere.
8187 * posix/regex.c, posix/regex_internal.h:
8188 Use __GNUC_PREREQ instead of rolling our own.
8189 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
8191 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
8193 * benchtests/bench-strlen.c (generic_strlen): New function.
8194 (memchr_strlen): New function.
8196 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8198 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
8199 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
8200 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
8202 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8204 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8206 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8208 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
8209 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
8210 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
8211 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
8212 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
8213 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
8214 <sysdeps/ieee754/flt-32/s_sincosf.c>.
8216 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8219 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
8220 PLT reference in libc.so.
8221 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
8222 _Q_lltoq and _Q_qtod PLT references in libc.so.
8224 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
8226 * benchtests/bench-memchr.c: Cleanup defines.
8227 * benchtests/bench-memcmp.c: Likewise.
8228 * benchtests/bench-memset.c: Likewise.
8229 * benchtests/bench-memset-large.c: Likewise.
8230 * benchtests/bench-memset-walk.c: Likewise.
8231 * benchtests/bench-stpcpy.c: Likewise.
8232 * benchtests/bench-stpncpy.c: Likewise.
8233 * benchtests/bench-strcat.c: Likewise.
8234 * benchtests/bench-strchr.c: Likewise.
8235 * benchtests/bench-strcmp.c: Likewise.
8236 * benchtests/bench-strcpy.c: Likewise.
8237 * benchtests/bench-strcspn.c: Likewise.
8238 * benchtests/bench-string.h: Likewise.
8239 * benchtests/bench-strlen.c: Likewise.
8240 * benchtests/bench-strncat.c: Likewise.
8241 * benchtests/bench-strncmp.c: Likewise.
8242 * benchtests/bench-strncpy.c: Likewise.
8243 * benchtests/bench-strnlen.c: Likewise.
8244 * benchtests/bench-strpbrk.c: Likewise.
8245 * benchtests/bench-strrchr.c: Likewise.
8246 * benchtests/bench-strspn.c: Likewise.
8248 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8250 * stdlib/longlong.h: Update from GCC.
8253 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
8254 * configure: Regenerated.
8255 * manual/install.texi (Tools for Compilation): Update minimum GCC
8257 * INSTALL: Regenerated.
8259 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
8261 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
8263 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
8265 * malloc/malloc.c (mremap_chunk): Additional checks.
8267 2018-12-21 Mao Han <han_mao@c-sky.com>
8269 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
8270 * scripts/build-many-glibcs.py: Add C-SKY targets.
8271 * sysdeps/csky/Implies: New file.
8272 * sysdeps/csky/Makefile: Likewise.
8273 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
8274 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
8275 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
8276 * sysdeps/csky/abiv2/memcmp.S: Likewise.
8277 * sysdeps/csky/abiv2/memcpy.S: Likewise.
8278 * sysdeps/csky/abiv2/memmove.S: Likewise.
8279 * sysdeps/csky/abiv2/memset.S: Likewise.
8280 * sysdeps/csky/abiv2/setjmp.S: Likewise.
8281 * sysdeps/csky/abiv2/start.S: Likewise.
8282 * sysdeps/csky/abiv2/strcmp.S: Likewise.
8283 * sysdeps/csky/abiv2/strcpy.S: Likewise.
8284 * sysdeps/csky/abiv2/strlen.S: Likewise.
8285 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
8286 * sysdeps/csky/abort-instr.h: Likewise.
8287 * sysdeps/csky/atomic-machine.h: Likewise.
8288 * sysdeps/csky/bits/endian.h: Likewise.
8289 * sysdeps/csky/bits/fenv.h: Likewise.
8290 * sysdeps/csky/bits/link.h: Likewise.
8291 * sysdeps/csky/bits/setjmp.h: Likewise.
8292 * sysdeps/csky/bsd-_setjmp.S: Likewise.
8293 * sysdeps/csky/bsd-setjmp.S: Likewise.
8294 * sysdeps/csky/configure: Likewise.
8295 * sysdeps/csky/configure.ac: Likewise.
8296 * sysdeps/csky/dl-machine.h: Likewise.
8297 * sysdeps/csky/dl-procinfo.c: Likewise.
8298 * sysdeps/csky/dl-procinfo.h: Likewise.
8299 * sysdeps/csky/dl-sysdep.h: Likewise.
8300 * sysdeps/csky/dl-tls.h: Likewise.
8301 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
8302 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
8303 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
8304 * sysdeps/csky/fpu/fegetenv.c: Likewise.
8305 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
8306 * sysdeps/csky/fpu/fegetmode.c: Likewise.
8307 * sysdeps/csky/fpu/fegetround.c: Likewise.
8308 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
8309 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
8310 * sysdeps/csky/fpu/fenv_private.h: Likewise.
8311 * sysdeps/csky/fpu/fesetenv.c: Likewise.
8312 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
8313 * sysdeps/csky/fpu/fesetmode.c: Likewise.
8314 * sysdeps/csky/fpu/fesetround.c: Likewise.
8315 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
8316 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
8317 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
8318 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
8319 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
8320 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
8321 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
8322 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
8323 * sysdeps/csky/fpu_control.h: Likewise.
8324 * sysdeps/csky/gccframe.h: Likewise.
8325 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
8326 * sysdeps/csky/ldsodefs.h: Likewise.
8327 * sysdeps/csky/libc-tls.c: Likewise.
8328 * sysdeps/csky/linkmap.h: Likewise.
8329 * sysdeps/csky/machine-gmon.h: Likewise.
8330 * sysdeps/csky/memusage.h: Likewise.
8331 * sysdeps/csky/nofpu/Implies: Likewise.
8332 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
8333 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
8334 * sysdeps/csky/nptl/Makefile: Likewise.
8335 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
8336 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
8337 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
8338 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
8339 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
8340 * sysdeps/csky/nptl/tls.h: Likewise.
8341 * sysdeps/csky/preconfigure: Likewise.
8342 * sysdeps/csky/sfp-machine.h: Likewise.
8343 * sysdeps/csky/sotruss-lib.c: Likewise.
8344 * sysdeps/csky/stackinfo.h: Likewise.
8345 * sysdeps/csky/sysdep.h: Likewise.
8346 * sysdeps/csky/tininess.h: Likewise.
8347 * sysdeps/csky/tst-audit.h: Likewise.
8348 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
8349 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
8350 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
8351 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
8352 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
8353 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
8354 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
8355 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
8356 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
8357 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
8358 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
8359 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
8360 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
8361 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
8362 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
8363 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
8364 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
8365 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
8366 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
8367 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
8368 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
8369 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
8370 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
8371 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
8372 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
8373 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
8374 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
8375 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
8376 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
8377 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
8378 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
8379 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
8380 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
8381 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
8382 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
8383 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
8384 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
8385 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
8386 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
8387 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
8388 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
8389 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
8390 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
8391 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
8393 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8395 * include/time.h (__difftime64): Add.
8396 * time/difftime.c (subtract): convert to 64-bit time.
8397 * time/difftime.c (__difftime64): Add.
8398 * time/difftime.c (__difftime): Wrap around __difftime64.
8400 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
8402 * manual/examples/add.c: Remove redundant "if not".
8403 * manual/examples/argp-ex1.c: Likewise.
8404 * manual/examples/argp-ex2.c: Likewise.
8405 * manual/examples/argp-ex3.c: Likewise.
8406 * manual/examples/argp-ex4.c: Likewise.
8407 * manual/examples/atexit.c: Likewise.
8408 * manual/examples/db.c: Likewise.
8409 * manual/examples/dir.c: Likewise.
8410 * manual/examples/dir2.c: Likewise.
8411 * manual/examples/execinfo.c: Likewise.
8412 * manual/examples/filecli.c: Likewise.
8413 * manual/examples/filesrv.c: Likewise.
8414 * manual/examples/fmtmsgexpl.c: Likewise.
8415 * manual/examples/genpass.c: Likewise.
8416 * manual/examples/inetcli.c: Likewise.
8417 * manual/examples/inetsrv.c: Likewise.
8418 * manual/examples/isockad.c: Likewise.
8419 * manual/examples/longopt.c: Likewise.
8420 * manual/examples/memopen.c: Likewise.
8421 * manual/examples/memstrm.c: Likewise.
8422 * manual/examples/mkdirent.c: Likewise.
8423 * manual/examples/mkfsock.c: Likewise.
8424 * manual/examples/mkisock.c: Likewise.
8425 * manual/examples/mygetpass.c: Likewise.
8426 * manual/examples/pipe.c: Likewise.
8427 * manual/examples/popen.c: Likewise.
8428 * manual/examples/rprintf.c: Likewise.
8429 * manual/examples/search.c: Likewise.
8430 * manual/examples/select.c: Likewise.
8431 * manual/examples/setjmp.c: Likewise.
8432 * manual/examples/sigh1.c: Likewise.
8433 * manual/examples/sigusr.c: Likewise.
8434 * manual/examples/stpcpy.c: Likewise.
8435 * manual/examples/strdupa.c: Likewise.
8436 * manual/examples/strftim.c: Likewise.
8437 * manual/examples/subopt.c: Likewise.
8438 * manual/examples/swapcontext.c: Likewise.
8439 * manual/examples/termios.c: Likewise.
8440 * manual/examples/testopt.c: Likewise.
8441 * manual/examples/testpass.c: Likewise.
8442 * manual/examples/timeval_subtract.c: Likewise.
8444 2018-12-19 Joseph Myers <joseph@codesourcery.com>
8446 * sysdeps/x86/fpu/math_private.h: New file.
8447 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
8449 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
8454 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8456 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
8457 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
8458 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
8459 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
8461 (_dl_show_auxv): Give a special treatment to
8462 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
8463 and AT_L3_CACHEGEOMETRY.
8464 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
8465 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
8466 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
8467 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
8469 2018-12-19 Andreas Schwab <schwab@suse.de>
8471 * nscd/connections.c (check_use): Don't abort on invalid len.
8473 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8475 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
8476 values in the 64bit value cases.
8478 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8484 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
8490 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
8493 (__gmtime64_r): Add.
8495 (__gmtime64_r): Add.
8496 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8502 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8505 (__localtime64_r): Add.
8507 (__localtime64_r): Add.
8508 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
8510 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8512 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
8513 kernel_sigction definition.
8515 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
8517 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
8519 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
8520 __syscall_rt_sigaction.
8521 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
8522 (kernel_sigaction): Use Linux generic defintion.
8524 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
8525 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
8526 (__syscall_rt_sigaction): Remove implementation.
8527 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
8529 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
8530 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
8531 INTERNAL_SYSCALL): Remove definitions.
8532 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
8533 action and signal set size.
8534 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
8535 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
8537 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8538 James Clarke <jrtc27@jrtc27.com>
8541 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
8542 Define if SA_RESTORER is defined.
8543 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
8544 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
8546 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
8547 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
8549 (HAS_SA_RESTORER): Define.
8550 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
8551 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
8552 (HAS_SA_RESTORER): Define.
8553 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
8554 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
8555 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
8556 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
8557 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8559 2018-12-18 Joseph Myers <joseph@codesourcery.com>
8561 * sysdeps/unix/sysv/linux/kernel-features.h
8562 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
8563 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8564 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
8565 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8566 (__ASSUME_ST_INO_64_BIT): Likewise.
8567 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8568 <kernel-features.h>.
8569 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8570 Remove conditional code.
8571 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8572 <kernel-features.h>.
8573 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8574 Remove conditional code.
8575 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
8576 <kernel-features.h>.
8577 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8578 Remove conditional code.
8579 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
8580 <kernel-features.h>.
8581 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
8582 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
8584 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8586 * sysdeps/s390/multiarch/ifunc-resolve.h
8587 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
8588 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
8589 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
8590 Delete macro definition.
8591 (s390_libc_ifunc_init): Rename to
8592 s390_libc_ifunc_expr_stfle_init.
8593 * sysdeps/s390/bzero: Use
8594 s390_libc_ifunc_expr_stfle_init instead of
8595 s390_libc_ifunc_init.
8596 * sysdeps/s390/memcmp.c: Likewise.
8597 * sysdeps/s390/memcpy.c: Likewise.
8598 * sysdeps/s390/mempcpy.c: Likewise.
8599 * sysdeps/s390/memset.c: Likewise.
8601 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8603 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
8604 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
8606 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8608 * sysdeps/s390/multiarch/Makefile
8609 (sysdep_routines): Remove wmemcmp variants.
8610 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
8611 * sysdeps/s390/multiarch/ifunc-impl-list.c
8612 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
8613 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
8614 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
8615 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
8616 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
8617 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
8618 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
8619 * sysdeps/s390/ifunc-wmemcmp.h: New file.
8621 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8623 * sysdeps/s390/multiarch/Makefile
8624 (sysdep_routines): Remove wmemset variants.
8625 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
8626 * sysdeps/s390/multiarch/ifunc-impl-list.c
8627 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
8628 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
8629 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
8630 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
8631 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
8632 * sysdeps/s390/multiarch/wmemset.c: Move to ...
8633 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
8634 * sysdeps/s390/ifunc-wmemset.h: New file.
8636 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8638 * sysdeps/s390/multiarch/Makefile
8639 (sysdep_routines): Remove wmemchr variants.
8640 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
8641 * sysdeps/s390/multiarch/ifunc-impl-list.c
8642 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
8643 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
8644 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
8645 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
8646 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
8647 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
8648 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
8649 * sysdeps/s390/ifunc-wmemchr.h: New file.
8651 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8653 * sysdeps/s390/multiarch/Makefile
8654 (sysdep_routines): Remove wcscspn variants.
8655 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
8656 * sysdeps/s390/multiarch/ifunc-impl-list.c
8657 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
8658 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
8659 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
8660 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
8661 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
8662 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
8663 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
8664 * sysdeps/s390/ifunc-wcscspn.h: New file.
8666 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8668 * sysdeps/s390/multiarch/Makefile
8669 (sysdep_routines): Remove wcspbrk variants.
8670 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
8671 * sysdeps/s390/multiarch/ifunc-impl-list.c
8672 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
8673 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
8674 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
8675 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
8676 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
8677 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
8678 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
8679 * sysdeps/s390/ifunc-wcspbrk.h: New file.
8681 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8683 * sysdeps/s390/multiarch/Makefile
8684 (sysdep_routines): Remove wcsspn variants.
8685 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
8686 * sysdeps/s390/multiarch/ifunc-impl-list.c
8687 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
8688 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
8689 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
8690 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
8691 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
8692 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
8693 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
8694 * sysdeps/s390/ifunc-wcsspn.h: New file.
8696 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8698 * sysdeps/s390/multiarch/Makefile
8699 (sysdep_routines): Remove wcsrchr variants.
8700 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
8701 * sysdeps/s390/multiarch/ifunc-impl-list.c
8702 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
8703 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
8704 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
8705 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
8706 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
8707 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
8708 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
8709 * sysdeps/s390/ifunc-wcsrchr.h: New file.
8711 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8713 * sysdeps/s390/multiarch/Makefile
8714 (sysdep_routines): Remove wcschrnul variants.
8715 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
8716 * sysdeps/s390/multiarch/ifunc-impl-list.c
8717 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
8718 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
8719 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
8720 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
8721 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
8722 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
8723 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
8724 * sysdeps/s390/ifunc-wcschrnul.h: New file.
8726 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8728 * sysdeps/s390/multiarch/Makefile
8729 (sysdep_routines): Remove wcschr variants.
8730 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
8731 * sysdeps/s390/multiarch/ifunc-impl-list.c
8732 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
8733 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
8734 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
8735 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
8736 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
8737 * sysdeps/s390/multiarch/wcschr.c: Move to ...
8738 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
8739 * sysdeps/s390/ifunc-wcschr.h: New file.
8741 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8743 * sysdeps/s390/multiarch/Makefile
8744 (sysdep_routines): Remove wcsncmp variants.
8745 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
8746 * sysdeps/s390/multiarch/ifunc-impl-list.c
8747 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
8748 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
8749 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
8750 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
8751 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
8752 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
8753 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
8754 * sysdeps/s390/ifunc-wcsncmp.h: New file.
8756 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8758 * sysdeps/s390/multiarch/Makefile
8759 (sysdep_routines): Remove wcscmp variants.
8760 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
8761 * sysdeps/s390/multiarch/ifunc-impl-list.c
8762 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
8763 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
8764 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
8765 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
8766 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
8767 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
8768 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
8769 * sysdeps/s390/ifunc-wcscmp.h: New file.
8771 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8773 * sysdeps/s390/multiarch/Makefile
8774 (sysdep_routines): Remove wcsncat variants.
8775 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
8776 * sysdeps/s390/multiarch/ifunc-impl-list.c
8777 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
8778 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
8779 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
8780 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
8781 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
8782 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
8783 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
8784 * sysdeps/s390/ifunc-wcsncat.h: New file.
8786 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8788 * sysdeps/s390/multiarch/Makefile
8789 (sysdep_routines): Remove wcscat variants.
8790 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
8791 * sysdeps/s390/multiarch/ifunc-impl-list.c
8792 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
8793 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
8794 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
8795 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
8796 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
8797 * sysdeps/s390/multiarch/wcscat.c: Move to ...
8798 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
8799 * sysdeps/s390/ifunc-wcscat.h: New file.
8801 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8803 * sysdeps/s390/multiarch/Makefile
8804 (sysdep_routines): Remove wcpncpy variants.
8805 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
8806 * sysdeps/s390/multiarch/ifunc-impl-list.c
8807 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
8808 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
8809 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
8810 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
8811 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
8812 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
8813 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
8814 * sysdeps/s390/ifunc-wcpncpy.h: New file.
8816 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8818 * sysdeps/s390/multiarch/Makefile
8819 (sysdep_routines): Remove wcsncpy variants.
8820 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
8821 * sysdeps/s390/multiarch/ifunc-impl-list.c
8822 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
8823 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
8824 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
8825 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
8826 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
8827 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
8828 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
8829 * sysdeps/s390/ifunc-wcsncpy.h: New file.
8831 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8833 * sysdeps/s390/multiarch/Makefile
8834 (sysdep_routines): Remove wcpcpy variants.
8835 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
8836 * sysdeps/s390/multiarch/ifunc-impl-list.c
8837 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
8838 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
8839 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
8840 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
8841 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
8842 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
8843 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
8844 * sysdeps/s390/ifunc-wcpcpy.h: New file.
8846 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8848 * sysdeps/s390/multiarch/Makefile
8849 (sysdep_routines): Remove wcscpy variants.
8850 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
8851 * sysdeps/s390/multiarch/ifunc-impl-list.c
8852 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
8853 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
8854 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
8855 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
8856 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
8857 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
8858 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
8859 * sysdeps/s390/ifunc-wcscpy.h: New file.
8861 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8863 * sysdeps/s390/multiarch/Makefile
8864 (sysdep_routines): Remove wcsnlen variants.
8865 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
8866 * sysdeps/s390/multiarch/ifunc-impl-list.c
8867 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
8868 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
8869 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
8870 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
8871 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
8872 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
8873 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
8874 * sysdeps/s390/ifunc-wcsnlen.h: New file.
8876 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8878 * sysdeps/s390/multiarch/Makefile
8879 (sysdep_routines): Remove wcslen variants.
8880 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
8881 * sysdeps/s390/multiarch/ifunc-impl-list.c
8882 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
8883 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
8884 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
8885 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
8886 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
8887 * sysdeps/s390/multiarch/wcslen.c: Move to ...
8888 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
8889 * sysdeps/s390/ifunc-wcslen.h: New file.
8891 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8893 * sysdeps/s390/multiarch/Makefile
8894 (sysdep_routines): Remove memrchr variants.
8895 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
8896 * sysdeps/s390/multiarch/ifunc-impl-list.c
8897 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
8898 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
8899 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
8900 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
8901 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
8902 * sysdeps/s390/multiarch/memrchr.c: Move to ...
8903 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
8904 * sysdeps/s390/ifunc-memrchr.h: New file.
8906 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8908 * sysdeps/s390/multiarch/Makefile
8909 (sysdep_routines): Remove memccpy variants.
8910 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
8911 * sysdeps/s390/multiarch/ifunc-impl-list.c
8912 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
8913 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
8914 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
8915 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
8916 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
8917 * sysdeps/s390/multiarch/memccpy.c: Move to ...
8918 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
8919 * sysdeps/s390/ifunc-memccpy.h: New file.
8921 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8923 * sysdeps/s390/multiarch/Makefile
8924 (sysdep_routines): Remove rawmemchr variants.
8925 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
8926 * sysdeps/s390/multiarch/ifunc-impl-list.c
8927 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
8928 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
8929 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
8930 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
8931 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
8932 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
8933 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
8934 * sysdeps/s390/ifunc-rawmemchr.h: New file.
8936 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8938 * sysdeps/s390/multiarch/Makefile
8939 (sysdep_routines): Remove memchr variants.
8940 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
8941 * sysdeps/s390/multiarch/ifunc-impl-list.c
8942 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
8943 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
8944 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
8945 * sysdeps/s390/multiarch/memchr.c: Move to ...
8946 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
8947 * sysdeps/s390/ifunc-memchr.h: New file.
8948 * sysdeps/s390/s390-64/memchr.S: Move to ...
8949 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
8950 for 31/64bit and ifunc handling.
8951 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
8952 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8953 * sysdeps/s390/s390-32/memchr.S: Likewise.
8955 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8957 * sysdeps/s390/multiarch/Makefile
8958 (sysdep_routines): Remove strcspn variants.
8959 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
8960 * sysdeps/s390/multiarch/ifunc-impl-list.c
8961 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
8962 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
8963 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
8964 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
8965 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
8966 * sysdeps/s390/multiarch/strcspn.c: Move to ...
8967 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
8968 * sysdeps/s390/ifunc-strcspn.h: New file.
8970 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8972 * sysdeps/s390/multiarch/Makefile
8973 (sysdep_routines): Remove strpbrk variants.
8974 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
8975 * sysdeps/s390/multiarch/ifunc-impl-list.c
8976 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
8977 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
8978 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
8979 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
8980 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
8981 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
8982 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
8983 * sysdeps/s390/ifunc-strpbrk.h: New file.
8985 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8987 * sysdeps/s390/multiarch/Makefile
8988 (sysdep_routines): Remove strspn variants.
8989 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
8990 * sysdeps/s390/multiarch/ifunc-impl-list.c
8991 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
8992 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
8993 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
8994 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
8995 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
8996 * sysdeps/s390/multiarch/strspn.c: Move to ...
8997 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
8998 * sysdeps/s390/ifunc-strspn.h: New file.
9000 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9002 * sysdeps/s390/multiarch/Makefile
9003 (sysdep_routines): Remove strrchr variants.
9004 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
9005 * sysdeps/s390/multiarch/ifunc-impl-list.c
9006 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
9007 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
9008 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
9009 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
9010 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
9011 * sysdeps/s390/multiarch/strrchr.c: Move to ...
9012 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
9013 * sysdeps/s390/ifunc-strrchr.h: New file.
9015 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9017 * sysdeps/s390/multiarch/Makefile
9018 (sysdep_routines): Remove strchrnul variants.
9019 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
9020 * sysdeps/s390/multiarch/ifunc-impl-list.c
9021 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
9022 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
9023 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
9024 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
9025 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
9026 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
9027 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
9028 * sysdeps/s390/ifunc-strchrnul.h: New file.
9030 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9032 * sysdeps/s390/multiarch/Makefile
9033 (sysdep_routines): Remove strchr variants.
9034 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
9035 * sysdeps/s390/multiarch/ifunc-impl-list.c
9036 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
9037 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
9038 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
9039 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
9040 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
9041 * sysdeps/s390/multiarch/strchr.c: Move to ...
9042 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
9043 * sysdeps/s390/ifunc-strchr.h: New file.
9045 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9047 * sysdeps/s390/multiarch/Makefile
9048 (sysdep_routines): Remove strncmp variants.
9049 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
9050 * sysdeps/s390/multiarch/ifunc-impl-list.c
9051 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
9052 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
9053 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
9054 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
9055 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
9056 * sysdeps/s390/multiarch/strncmp.c: Move to ...
9057 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
9058 * sysdeps/s390/ifunc-strncmp.h: New file.
9060 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9062 * sysdeps/s390/multiarch/Makefile
9063 (sysdep_routines): Remove strcmp variants.
9064 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
9065 * sysdeps/s390/multiarch/ifunc-impl-list.c
9066 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
9067 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
9068 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
9069 * sysdeps/s390/multiarch/strcmp.c: Move to ...
9070 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
9071 * sysdeps/s390/ifunc-strcmp.h: New file.
9072 * sysdeps/s390/s390-64/strcmp.S: Move to ...
9073 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
9074 for 31/64bit and ifunc handling.
9075 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
9076 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9077 * sysdeps/s390/s390-32/strcmp.S: Likewise.
9079 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9081 * sysdeps/s390/multiarch/Makefile
9082 (sysdep_routines): Remove strncat variants.
9083 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
9084 * sysdeps/s390/multiarch/ifunc-impl-list.c
9085 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
9086 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
9087 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
9088 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
9089 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
9090 * sysdeps/s390/multiarch/strncat.c: Move to ...
9091 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
9092 * sysdeps/s390/ifunc-strncat.h: New file.
9094 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9096 * sysdeps/s390/multiarch/Makefile
9097 (sysdep_routines): Remove strcat variants.
9098 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
9099 * sysdeps/s390/multiarch/ifunc-impl-list.c
9100 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
9101 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
9102 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
9103 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
9104 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
9105 * sysdeps/s390/multiarch/strcat.c: Move to ...
9106 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
9107 * sysdeps/s390/ifunc-strcat.h: New file.
9109 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9111 * sysdeps/s390/multiarch/Makefile
9112 (sysdep_routines): Remove stpncpy variants.
9113 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
9114 * sysdeps/s390/multiarch/ifunc-impl-list.c
9115 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
9116 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
9117 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
9118 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
9119 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
9120 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
9121 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
9122 * sysdeps/s390/ifunc-stpncpy.h: New file.
9124 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9126 * sysdeps/s390/multiarch/Makefile
9127 (sysdep_routines): Remove strncpy variants.
9128 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
9129 * sysdeps/s390/multiarch/ifunc-impl-list.c
9130 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
9131 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
9132 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
9133 * sysdeps/s390/multiarch/strncpy.c: Move to ...
9134 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
9135 * sysdeps/s390/ifunc-strncpy.h: New file.
9136 * sysdeps/s390/s390-64/strncpy.S: Move to ...
9137 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
9138 and adjust ifunc handling.
9139 * sysdeps/s390/s390-32/strncpy.S: Move to ...
9140 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
9141 and adjust ifunc handling.
9142 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
9143 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9145 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9147 * sysdeps/s390/multiarch/Makefile
9148 (sysdep_routines): Remove stpcpy variants.
9149 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
9150 * sysdeps/s390/multiarch/ifunc-impl-list.c
9151 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
9152 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
9153 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
9154 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
9155 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
9156 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
9157 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
9158 * sysdeps/s390/ifunc-stpcpy.h: New file.
9160 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9162 * sysdeps/s390/multiarch/Makefile
9163 (sysdep_routines): Remove strcpy variants.
9164 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
9165 * sysdeps/s390/multiarch/ifunc-impl-list.c
9166 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
9167 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
9168 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
9169 * sysdeps/s390/multiarch/strcpy.c: Move to ...
9170 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
9171 * sysdeps/s390/ifunc-strcpy.h: New file.
9172 * sysdeps/s390/s390-64/strcpy.S: Move to ...
9173 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
9174 for 31/64bit and ifunc handling.
9175 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
9176 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9177 * sysdeps/s390/s390-32/strcpy.S: Likewise.
9179 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9181 * sysdeps/s390/multiarch/Makefile
9182 (sysdep_routines): Remove strnlen variants.
9183 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
9184 * sysdeps/s390/multiarch/ifunc-impl-list.c
9185 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
9186 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
9187 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
9188 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
9189 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
9190 * sysdeps/s390/multiarch/strnlen.c: Move to ...
9191 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
9192 * sysdeps/s390/ifunc-strnlen.h: New file.
9194 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9196 * sysdeps/s390/multiarch/Makefile
9197 (sysdep_routines): Remove strlen variants.
9198 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
9199 * sysdeps/s390/multiarch/ifunc-impl-list.c
9200 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
9201 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
9202 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
9203 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
9204 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
9205 * sysdeps/s390/multiarch/strlen.c: Move to ...
9206 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
9207 * sysdeps/s390/ifunc-strlen.h: New file.
9209 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9211 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
9212 * sysdeps/s390/multiarch/ifunc-impl-list.c
9213 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
9214 * sysdeps/s390/ifunc-memmem.h: New file.
9215 * sysdeps/s390/memmem.c: Likewise.
9216 * sysdeps/s390/memmem-c.c: Likewise.
9217 * sysdeps/s390/memmem-vx.c: Likewise.
9219 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9221 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
9222 * sysdeps/s390/multiarch/ifunc-impl-list.c
9223 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
9224 * sysdeps/s390/ifunc-strstr.h: New file.
9225 * sysdeps/s390/strstr.c: Likewise.
9226 * sysdeps/s390/strstr-c.c: Likewise.
9227 * sysdeps/s390/strstr-vx.c: Likewise.
9229 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9231 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
9232 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
9233 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
9234 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
9236 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
9237 * sysdeps/s390/memmove-c.c: New file.
9238 * sysdeps/s390/memmove.c: Likewise.
9239 * sysdeps/s390/multiarch/ifunc-impl-list.c
9240 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
9242 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9244 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
9245 * sysdeps/s390/configure.ac: Add check for z13 support.
9246 * sysdeps/s390/configure: Regenerated.
9248 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9250 * sysdeps/s390/memcopy.h: New file.
9252 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9254 * sysdeps/s390/s390-32/bcopy.S: Remove.
9255 * sysdeps/s390/s390-64/bcopy.S: Likewise.
9257 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9259 * sysdeps/s390/ifunc-memcpy.h: New File.
9260 * sysdeps/s390/memcpy.S: Move to ...
9261 * sysdeps/s390/memcpy-z900.S ... here.
9262 Move implementations from memcpy-s390x.s to here.
9263 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
9264 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9265 Remove memcpy/mempcpy variants.
9266 * sysdeps/s390/Makefile (sysdep_routines):
9267 Add memcpy/mempcpy variants.
9268 * sysdeps/s390/multiarch/ifunc-impl-list.c
9269 (__libc_ifunc_impl_list): Adjust ifunc variants for
9271 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
9273 * sysdeps/s390/memcpy.c: ... here.
9274 Adjust ifunc variants for memcpy.
9275 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
9276 * sysdeps/s390/mempcpy.c: ... here.
9277 Adjust ifunc variants for mempcpy.
9278 * sysdeps/s390/mempcpy.S: Delete file.
9280 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9282 * sysdeps/s390/s390-64/memcpy.S: Move to ...
9283 * sysdeps/s390/memcpy.S: ... here.
9284 Adjust to be usable for 31/64bit.
9285 * sysdeps/s390/s390-32/memcpy.S: Delete File.
9286 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
9287 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
9288 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9289 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
9290 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
9291 Adjust to be usable for 31/64bit.
9292 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
9293 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
9294 * sysdeps/s390/multiarch/memcpy.c: ... here.
9295 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
9297 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9299 * sysdeps/s390/ifunc-memcmp.h: New File.
9300 * sysdeps/s390/memcmp.S: Move to ...
9301 * sysdeps/s390/memcmp-z900.S ... here.
9302 Move implementations from memcmp-s390x.s to here.
9303 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
9304 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9305 Remove memcmp variants.
9306 * sysdeps/s390/Makefile (sysdep_routines):
9307 Add memcmp variants.
9308 * sysdeps/s390/multiarch/ifunc-impl-list.c
9309 (__libc_ifunc_impl_list): Adjust ifunc variants for
9311 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
9313 * sysdeps/s390/memcmp.c: ... here.
9314 Adjust ifunc variants for memcmp.
9316 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9318 * sysdeps/s390/s390-64/memcmp.S: Move to ...
9319 * sysdeps/s390/memcmp.S: ... here.
9320 Adjust to be usable for 31/64bit.
9321 * sysdeps/s390/s390-32/memcmp.S: Delete File.
9322 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
9323 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9325 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9326 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
9327 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
9328 Adjust to be usable for 31/64bit.
9329 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
9330 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
9331 * sysdeps/s390/multiarch/memcmp.c: ... here.
9332 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
9334 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9336 * sysdeps/s390/s390-32/bzero.S: Delete file.
9337 * sysdeps/s390/s390-64/bzero.S: Likewise.
9338 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
9339 * sysdeps/s390/bzero.c: New file.
9340 * sysdeps/s390/memset-z900.S: Add bzero entry points.
9341 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
9342 * sysdeps/s390/multiarch/ifunc-impl-list.c
9343 (__libc_ifunc_impl_list): Add bzero ifunc variants.
9345 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9347 * sysdeps/s390/ifunc-memset.h: New File.
9348 * sysdeps/s390/memset.S: Move to ...
9349 * sysdeps/s390/memset-z900.S ... here.
9350 Move implementations from memset-s390x.s to here.
9351 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
9352 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9353 Remove memset variants.
9354 * sysdeps/s390/Makefile (sysdep_routines):
9355 Add memset variants.
9356 * sysdeps/s390/multiarch/ifunc-impl-list.c
9357 (__libc_ifunc_impl_list): Adjust ifunc variants for
9359 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
9361 * sysdeps/s390/memset.c: ... here.
9362 Adjust ifunc variants for memset.
9364 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9366 * sysdeps/s390/s390-64/memset.S: Move to ...
9367 * sysdeps/s390/memset.S: ... here.
9368 Adjust to be usable for 31/64bit.
9369 * sysdeps/s390/s390-32/memset.S: Delete File.
9370 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
9371 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9373 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9374 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
9375 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
9376 Adjust to be usable for 31/64bit.
9377 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
9378 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
9379 * sysdeps/s390/multiarch/memset.c: ... here.
9380 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
9382 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9384 * sysdeps/s390/multiarch/ifunc-resolve.h
9385 (s390_libc_ifunc_init, s390_libc_ifunc,
9386 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
9388 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9390 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
9391 * sysdeps/s390/configure.ac: Add check for z10 support.
9392 * sysdeps/s390/configure: Regenerated.
9394 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
9396 * sysdeps/i386/atomic-machine.h: Merged with ...
9397 * sysdeps/x86_64/atomic-machine.h: To ...
9398 * sysdeps/x86/atomic-machine.h: This. New file.
9400 2018-12-18 Florian Weimer <fweimer@redhat.com>
9402 Rewrite locale/gen-translit.pl in Python.
9403 * locale/Makefile (generated): Add C-translit.h.
9404 (before-compile): Add $(objpfx)C-translit.h.
9405 (C-translit.h): Move to $(objpfx). Create target directory.
9406 Build using Python script.
9407 * locale/gen-translit.py: New file.
9408 * locale/gen-translit.pl: Remove file.
9409 * locale/C-translit.h.in: Change comment character to '#' for
9410 easier parsing without a C preprocessor.
9411 * locale/C-translit.h: Remove generated file.
9412 * manual/install.texi (Tools for Compilation): Do not mention
9414 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9415 Remove locale/C-translit.h.
9416 * scripts/update-copyrights: Likewise.
9417 * INSTALL: Regenerate.
9419 2018-12-18 Florian Weimer <fweimer@redhat.com>
9422 * localedata/locales/bi_VU: Remove executable bit from file.
9424 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
9427 (__localtime64): Add.
9428 * manual/maint.texi: Document Y2038 symbol handling.
9430 (__localtime64): Add.
9431 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
9433 2018-12-17 Joseph Myers <joseph@codesourcery.com>
9435 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
9438 * scripts/glibcextract.py (compare_macro_consts): Take parameters
9439 to allow extra macros from first or second sources.
9440 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
9441 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9442 (tests-special): Add $(objpfx)tst-mman-consts.out.
9443 ($(objpfx)tst-mman-consts.out): New makefile target.
9445 2018-12-17 Mao Han <han_mao@c-sky.com>
9447 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
9448 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
9449 without stat64 system call support.
9450 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
9451 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
9452 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9453 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
9454 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
9455 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
9456 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
9457 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
9458 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
9459 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
9460 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
9462 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
9464 regex: fix storage-exhaustion error
9466 * posix/regexec.c (get_subexp):
9467 Do not continue if storage is exhausted.
9469 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
9471 regex: fix heap-use-after-free error
9473 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
9474 https://debbugs.gnu.org/32592
9475 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
9476 call extend_buffers which reallocates the re_string_t internal buffer.
9477 Local variable 'buf' was not updated in such case, resulting in
9479 * posix/regexec.c (get_subexp): Update 'buf' after call to
9482 2018-12-15 Florian Weimer <fweimer@redhat.com>
9484 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
9485 (minimum_stride_size): Use it.
9486 (support_blob_repeat_allocate): Likewise.
9488 2018-12-14 Joseph Myers <joseph@codesourcery.com>
9490 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
9495 2018-12-14 Florian Weimer <fweimer@redhat.com>
9497 * manual/process.texi (Process Creation Concepts): Remove
9498 documentation of process (ID) lifetime. List more process
9499 creation functions. Reference Process Identification section.
9500 (Process Identification): Add information about process ID
9501 lifetime. Describe Linux thread/task IDs.
9502 * manual/signal.texi (Signaling Another Process): Mention that the
9503 signal is always sent to the process.
9505 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9507 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
9508 and tst-ldbl-efgcvt.
9509 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
9510 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
9511 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
9512 (fcvt_tests, output_error, output_r_error, do_test): Use the
9513 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
9514 select the type of floating-point variables and arguments; to
9515 produce extra tests for double and conversion specifiers for
9516 printf; and to set the names of called functions.
9517 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
9518 in tst-efgcvt-template.c.
9519 * misc/tst-ldbl-efgcvt.c: Likewise.
9521 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
9523 * nss/Makefile (tst-nss-test3.out): New rule.
9525 2018-12-13 Joseph Myers <joseph@codesourcery.com>
9527 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
9530 2018-12-13 fanjinke <fanjinke@hygon.cn>
9532 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
9535 2018-12-13 Andreas Schwab <schwab@suse.de>
9538 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
9539 (__pthread_rwlock_rdlock_full): Update expected value for
9540 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
9541 * nptl/tst-rwlock-pwn.c: New file.
9542 * nptl/Makefile (tests): Add tst-rwlock-pwn.
9544 2018-12-12 Joseph Myers <joseph@codesourcery.com>
9546 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
9549 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9551 * benchtests/scripts/compare_bench.py (do_compare): write to
9552 stderr in casestat is not present.
9553 * benchtests/scripts/compare_bench.py (plot_graphs): write to
9554 stderr in case timings field is not present. Also string showing
9555 the output filename goes into the stderr.
9557 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9559 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
9560 and ZeroDivisorError exceptions.
9561 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
9562 argument to loop through user provided statistics.
9563 * benchtests/scripts/compare_bench.py (main): Include the --stats
9566 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9568 * benchtests/scripts/compare_bench.py (compare_runs): Continue
9571 2018-12-12 Florian Weimer <fweimer@redhat.com>
9573 * sysdeps/posix/timespec_get.c: Add missing “any later version”
9574 clause to copyright header.
9576 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9579 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
9580 registers saved in the stack frame.
9581 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
9582 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
9584 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9586 * include/bits/monetary-ldbl.h: New file.
9587 * include/bits/printf-ldbl.h: Likewise.
9588 * include/bits/stdio-ldbl.h: Likewise.
9589 * include/bits/stdlib-ldbl.h: Likewise.
9590 * include/bits/syslog-ldbl.h: Likewise.
9591 * include/bits/wchar-ldbl.h: Likewise.
9593 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9595 * libio/libio.h: Remove redirection for _IO_vfprintf.
9597 2018-12-11 Andreas Schwab <schwab@suse.de>
9599 * Makerules: Remove all references to abilist-pattern.
9600 (update-all-abi): Simplify find expression.
9602 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
9605 * math/auto-libm-test-in: Add new test case.
9606 * math/auto-libm-test-out-pow: Regenerated.
9607 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
9609 2018-12-10 DJ Delorie <dj@redhat.com>
9612 * support/test-container.c: Move postclean step to before we
9615 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9617 * scripts/gen-as-const.py (main): Handle --python option.
9618 * scripts/gen-py-const.awk: Remove.
9619 * Makerules (py-const-script): Use gen-as-const.py.
9620 ($(py-const)): Likewise.
9621 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
9622 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
9623 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
9624 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
9625 ~PTHREAD_MUTEX_NO_ELISION_NP.
9626 * manual/README.pretty-printers: Update reference to
9629 * scripts/glibcextract.py: New file.
9630 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
9631 or tempfile. Import glibcexctract.
9632 (compute_c_consts): Remove. Moved to glibcextract.py.
9633 (gen_test): Update reference to compute_c_consts.
9635 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
9636 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
9637 * sysdeps/unix/sysv/linux/Makefile
9638 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
9639 Redirect stderr as well as stdout.
9641 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
9644 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
9645 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
9646 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
9647 ALWAYS_USE_VSYSCALL.
9648 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
9649 ALWAYS_USE_VSYSCALL.
9650 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
9651 ALWAYS_USE_VSYSCALL.
9653 2018-12-10 Florian Weimer <fweimer@redhat.com>
9656 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
9657 offset instead of count for clarity. Fix typo in comment.
9658 (__old_getdents64): Keep track of previous offset. Use it to call
9660 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
9661 that d_off is never zero.
9663 2018-12-10 Andreas Schwab <schwab@suse.de>
9665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
9666 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
9667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
9668 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
9669 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
9671 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9673 * timezone/private.h: Update from tzcode 2018g.
9674 * timezone/tzfile.h: Likewise.
9675 * timezone/tzselect.ksh: Likewise.
9676 * timezone/zdump.c: Likewise.
9677 * timezone/zic.c: Likewise.
9679 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9682 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
9683 (do_test): Adjust buffer size and fix format.
9685 2018-12-07 DJ Delorie <dj@redhat.com>
9688 * malloc/tst-tcfree3.c: New.
9689 * malloc/Makefile: Add it.
9691 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9693 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
9695 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9697 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
9698 used as a mask for the mode argument of __vfscanf_internal and
9699 __vfwscanf_internal.
9700 * stdio-common/vfscanf-internal.c
9701 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
9702 (__strtof128_internal): Define to __wcstof128_internal.
9703 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
9704 __strtof128_internal or __wcstof128_internal when the format of
9705 long double is the same as _Float128.
9707 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9709 * include/unistd.h (__confstr): Add prototype and hidden prototype.
9710 * posix/confstr.c (confstr): Rename to __confstr.
9711 (__confstr): Add hidden def.
9712 (confstr): Add weak alias for __confstr.
9713 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
9716 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9718 * NEWS: Mention getcpu.
9719 * include/sched.h (__getcpu): New libc_hidden_proto.
9720 * manual/resource.texi: Document getcpu.
9721 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
9722 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
9723 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
9724 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9725 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9726 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9727 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9728 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9729 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9730 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9731 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9732 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9733 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
9735 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9736 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9737 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
9746 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9747 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9748 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9749 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9750 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9751 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9752 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9753 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9754 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
9755 * sysdeps/unix/sysv/linux/getcpu.c: New file.
9756 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
9759 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9761 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
9763 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
9765 2018-12-07 Florian Weimer <fweimer@redhat.com>
9768 * posix/Makefile (routines): Add spawn_faction_addfchdir.
9769 * posix/Versions (GLIBC_2.29): Export
9770 posix_spawn_file_actions_addfchdir_np.
9771 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
9772 * posix/spawn_faction_destroy.c
9773 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
9774 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
9775 and the field action.fchdir_action.
9776 * posix/tst-spawn-chdir.c (add_chdir): New function.
9777 (do_test): Add do_fchdir loop. Call add_chdir.
9778 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
9779 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9780 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9781 posix_spawn_file_actions_addfchdir_np.
9782 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9784 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9786 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9787 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9789 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9791 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9793 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9795 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9797 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9799 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9800 (GLIBC_2.29): Likewise.
9801 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9802 (GLIBC_2.29): Likewise.
9803 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9804 (GLIBC_2.29): Likewise.
9805 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9806 (GLIBC_2.29): Likewise.
9807 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9810 (GLIBC_2.29): Likewise.
9811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9812 (GLIBC_2.29): Likewise.
9813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9814 (GLIBC_2.29): Likewise.
9815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9816 (GLIBC_2.29): Likewise.
9817 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9819 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9821 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9823 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9824 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9826 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9828 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9830 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9833 2018-12-06 Joseph Myers <joseph@codesourcery.com>
9835 * manual/texinfo.tex: Update to version 2018-09-21.20 with
9836 trailing whitespace removed.
9837 * scripts/config.guess: Update to version 2018-11-28.
9838 * scripts/config.sub: Update to version 2018-11-28.
9839 * scripts/install-sh: Update to version 2018-03-11.20.
9840 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
9841 * scripts/move-if-change: Update to version 2018-03-07 03:47.
9843 2018-12-07 Florian Weimer <fweimer@redhat.com>
9847 * inet/tst-if_index-long.c: New file.
9848 * inet/Makefile (tests): Add tst-if_index-long.
9850 2018-12-07 Florian Weimer <fweimer@redhat.com>
9852 * support/check.h (support_record_failure_is_failed): Declare.
9853 * support/descriptors.h: New file.
9854 * support/support_descriptors.c: Likewise.
9855 * support/tst-support_descriptors.c: Likewise.
9856 * support/support_record_failure.c
9857 (support_record_failure_is_failed): New function.
9858 * support/Makefile (libsupport-routines): Add support_descriptors.
9859 (tests): Add tst-support_descriptors.
9861 2018-12-05 Zack Weinberg <zackw@panix.com>
9862 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9864 * stdio-common/vfprintf-internal.c
9865 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
9866 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
9867 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
9868 and __no_long_double.
9869 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
9870 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
9871 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
9872 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
9873 and __nldbl_*syslog* functions.
9874 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
9875 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
9876 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
9877 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
9878 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
9879 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
9880 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
9881 (__nldbl_vwprintf, __nldbl_wprintf):
9882 Directly call the appropriate __v*printf_internal routine, passing
9883 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
9885 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
9886 (__nldbl___printf_chk, __nldbl___snprintf_chk)
9887 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
9888 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
9889 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
9890 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9891 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
9892 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
9893 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
9894 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
9895 Likewise, and also pass PRINTF_FORTIFY when appropriate.
9896 (__nldbl_syslog, __nldbl_vsyslog):
9897 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
9898 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9900 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9903 2018-12-05 Zack Weinberg <zackw@panix.com>
9904 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9907 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
9908 Moved here from debug/vsprintf_chk.c.
9909 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
9910 and completion logic for the strfile to match exactly what
9911 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
9912 _IO_str_init_static_internal instead of maxlen-1.
9913 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9914 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
9915 __vsprintf_internal.
9917 * debug/vsprintf_chk.c (__vsprintf_chk)
9918 * debug/sprintf_chk.c (__sprintf_chk):
9919 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
9920 'flags' argument is positive, and slen as maxlen. No need to lock
9921 the FILE and/or construct a temporary FILE. Minimize and normalize
9922 header inclusions and variable names. Do not libc_hidden_def anything.
9924 * debug/asprintf_chk.c (__asprintf_chk)
9925 * debug/dprintf_chk.c (__dprintf_chk)
9926 * debug/fprintf_chk.c (__fprintf_chk)
9927 * debug/fwprintf_chk.c (__fwprintf_chk)
9928 * debug/printf_chk.c (__printf_chk)
9929 * debug/snprintf_chk.c (__snprintf_chk)
9930 * debug/swprintf_chk.c (__swprintf_chk)
9931 * debug/vasprintf_chk.c (__vasprintf_chk)
9932 * debug/vdprintf_chk.c (__vdprintf_chk)
9933 * debug/vfprintf_chk.c (__vfprintf_chk)
9934 * debug/vfwprintf_chk.c (__vfwprintf_chk)
9935 * debug/vprintf_chk.c (__vprintf_chk)
9936 * debug/vsnprintf_chk.c (__vsnprintf_chk)
9937 * debug/vswprintf_chk.c (__vswprintf_chk)
9938 * debug/vwprintf_chk.c (__vwprintf_chk)
9939 * debug/wprintf_chk.c (__wprintf_chk):
9940 Directly call the corresponding vxxprintf_internal function, passing
9941 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
9942 the FILE and/or construct a temporary FILE. Minimize and normalize
9943 header inclusions and variable names. Do not libc_hidden_def anything.
9945 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
9946 __obstack_vprintf_internal.
9947 (__obstack_vprintf_chk): Convert into a wrapper that calls
9948 __obstack_vprintf_internal (these two functions already had the
9949 same code) and move to new file...
9950 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
9952 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
9953 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
9954 * debug/Makefile (routines): Add vobprintf_chk.
9956 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9957 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9958 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
9959 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9960 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
9961 (__nldbl___obstack_vfprintf_chk):
9962 Directly call the corresponding vxxprintf_internal function,
9963 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
9964 duplicate comparison of slen with 0 or maxlen from the corresponding
9965 non-__nldbl function.
9967 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
9968 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
9969 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
9970 Remove libc_hidden_proto.
9972 * stdio-common/vfprintf-internal.c
9973 (__vfprintf_internal, __vfwprintf_internal):
9974 Do not check _IO_FLAGS2_FORTIFY.
9975 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
9976 * libio/libioP.h: Update prototype of __vsprintf_internal and add
9977 a comment explaining why it has the maxlen argument.
9978 (_IO_acquire_lock_clear_flags2_fct): Remove.
9979 (_IO_acquire_lock_clear_flags2): Remove.
9980 (_IO_release_lock): Remove conditional statement which will
9982 (_IO_acquire_lock): Remove variable which is now unused.
9983 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9984 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9986 * stdio-common/Makefile (tests): Add tst-bz11319 and
9987 tst-bz11319-fortify2.
9988 (CFLAGS-tst-bz11319-fortify2.c): New macro.
9989 * stdio-common/tst-bz11319-fortify2.c: New file.
9990 * stdio-common/tst-bz11319.c: Likewise.
9992 2018-12-05 Zack Weinberg <zackw@panix.com>
9993 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9995 * misc/syslog.c: Include libioP.h, not iolibio.h.
9996 (__vsyslog_internal): New function with the former body of
9997 __vsyslog_chk; takes mode_flags argument same as
9998 __v*printf_internal. Call __vfprintf_internal directly.
10000 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
10001 Remove libc_hidden_def.
10002 (__syslog, __syslog_chk): Use __vsyslog_internal.
10003 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
10005 * include/sys/syslog.h: Add multiple inclusion guard.
10006 Add prototype for __vsyslog_internal.
10007 Remove declaration and libc_hidden_proto for __vsyslog_chk.
10009 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
10010 Use __vsyslog_internal.
10012 2018-12-05 Zack Weinberg <zackw@panix.com>
10013 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10015 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
10016 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
10017 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
10019 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
10020 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
10022 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
10023 Include wctype.h here if COMPILE_WPRINTF is defined.
10024 Define __vfprintf_internal or __vfwprintf_internal, depending
10025 on COMPILE_WPRINTF.
10026 Temporarily, on entry to this function, update mode_flags
10027 according to the environmental settings corresponding to
10028 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
10029 Throughout, check mode_flags instead of __ldbl_is_dbl and
10030 _IO_FLAGS2_FORTIFY on the destination FILE.
10031 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
10032 Include vfprintf-internal.c. Don't include wctype.h.
10033 * stdio-common/vfprintf.c: New file. Just define __vfprintf
10034 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
10036 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
10037 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
10039 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
10041 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
10042 and add mode_flags argument; use __vfprintf_internal.
10043 (__vdprintf): New function. Alias vdprintf to this.
10044 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
10045 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
10046 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
10047 (__obstack_printf): Use __obstack_printf_internal.
10048 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
10049 public aliases __vsnprintf and vsnprintf.
10050 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
10052 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
10053 public aliases _IO_vsprintf and vsprintf.
10054 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
10055 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
10056 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
10057 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
10058 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
10060 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
10061 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
10062 * stdio-common/fprintf.c, stdio-common/fxprintf.c
10063 * stdio-common/printf.c: Use __vfprintf_internal.
10065 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
10066 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
10067 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
10069 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
10070 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
10071 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
10072 __vfwprintf_internal.
10074 * libio/libio.h: Remove libc_hidden_proto and declaration for
10076 Remove declaration of _IO_vfwprintf.
10077 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
10079 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
10080 _IO_obstack_printf.
10081 * include/stdio.h: Add prototype for __vasprintf.
10082 (__vsnprintf): Remove declaration, because there are no more
10084 * include/wchar.h (__vfwprintf, __vswprintf): Remove
10085 declaration, because there are no more internal calls.
10087 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
10088 __vsnprintf_internal, instead of _IO_vsnprintf.
10089 * argp/argp-help.c (__argp_error, __argp_failure): Use
10090 __vasprintf_internal, instead of _IO_vasprintf.
10091 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
10092 redefine, because there are no more internal calls.
10094 2018-12-05 Zack Weinberg <zackw@panix.com>
10095 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10097 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
10098 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
10099 Include libio/strfile.h instead of libioP.h.
10100 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
10101 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
10102 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
10103 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
10104 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
10105 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
10106 necessary. Do not set __no_long_double. Normalize variable names.
10107 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
10108 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
10109 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
10110 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
10111 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
10112 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
10113 Call __vfscanf_internal / __vfwscanf_internal directly, passing
10114 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
10115 Do not set __no_long_double. Normalize variable names.
10117 2018-12-05 Zack Weinberg <zackw@panix.com>
10118 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10120 * stdio-common/isoc99_scanf.c
10121 * stdio-common/isoc99_fscanf.c
10122 * stdio-common/isoc99_sscanf.c
10123 * stdio-common/isoc99_vscanf.c
10124 * stdio-common/isoc99_vfscanf.c
10125 * stdio-common/isoc99_vsscanf.c
10126 * wcsmbs/isoc99_wscanf.c
10127 * wcsmbs/isoc99_fwscanf.c
10128 * wcsmbs/isoc99_swscanf.c
10129 * wcsmbs/isoc99_vwscanf.c
10130 * wcsmbs/isoc99_vfwscanf.c
10131 * wcsmbs/isoc99_vswscanf.c:
10132 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
10133 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
10134 No need to lock and unlock the FILE passed to that function.
10136 * stdio-common/vfscanf-internal.c
10137 (__vfscanf_internal, __vfwscanf_internal):
10138 Don't look at _IO_FLAGS2_SCANF_STD.
10139 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
10140 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
10141 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
10143 2018-12-05 Zack Weinberg <zackw@panix.com>
10144 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10146 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
10147 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
10148 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
10149 * libio/strfile.h: Add multiple inclusion guard.
10150 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
10152 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
10153 consistency with the other version of this file.
10154 (ldbl_compat_symbol): New macro.
10155 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
10158 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
10159 Define __vfscanf_internal or __vfwscanf_internal, depending on
10160 COMPILE_WSCANF; don't define any other public symbols.
10161 Remove errval and code to set errp.
10162 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
10163 as the mode_flags argument.
10164 (encode_error, conv_error, input_error): Don't set errval.
10165 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
10166 Include vfscanf-internal.c.
10167 * stdio-common/vfscanf.c: New file defining the public entry
10168 point vfscanf, which calls __vfscanf_internal.
10169 * stdio-common/vfwscanf.c: New file defining the public entry
10170 point vfwscanf, which calls __vfwscanf_internal.
10172 * stdio-common/iovfscanf.c: New file.
10173 * stdio-common/iovfwscanf.c: Likewise.
10175 * stdio-common/Makefile (routines): Add vfscanf-internal,
10176 vfwscanf-internal, iovfscanf, iovfwscanf.
10177 * stdio-common/Versions: Mention GLIBC_2.29, so that
10178 it can be used in SHLIB_COMPAT expressions.
10179 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
10180 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
10181 Call __vfscanf_internal, instead of _IO_vfscanf.
10182 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
10184 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
10187 * libio/iovsscanf.c: Clean up includes, when possible. Use
10188 _IO_strfile_read or _IO_strfile_readw, when needed. Call
10189 __vfscanf_internal or __vfwscanf_internal directly.
10190 * libio/iovswscanf.c: Likewise.
10191 * libio/swscanf.c: Likewise.
10192 * libio/vscanf.c: Likewise.
10193 * libio/vwscanf.c: Likewise.
10194 * libio/wscanf.c: Likewise.
10195 * stdio-common/isoc99_fscanf.c: Likewise.
10196 * stdio-common/isoc99_scanf.c: Likewise.
10197 * stdio-common/isoc99_sscanf.c: Likewise.
10198 * stdio-common/isoc99_vfscanf.c: Likewise.
10199 * stdio-common/isoc99_vscanf.c: Likewise.
10200 * stdio-common/isoc99_vsscanf.c: Likewise.
10201 * stdio-common/scanf.c: Likewise.
10202 * stdio-common/sscanf.c: Likewise.
10203 * wcsmbs/isoc99_fwscanf.c: Likewise.
10204 * wcsmbs/isoc99_swscanf.c: Likewise.
10205 * wcsmbs/isoc99_vfwscanf.c: Likewise.
10206 * wcsmbs/isoc99_vswscanf.c: Likewise.
10207 * wcsmbs/isoc99_vwscanf.c: Likewise.
10208 * wcsmbs/isoc99_wscanf.c: Likewise.
10210 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
10213 (__tz_compute): Replace time_t with __time64_t.
10214 (__tz_convert): Replace time_t* with __time64_t.
10215 (__offtime): Replace time_t* with __time64_t.
10217 (__gmtime_r): Adjust call to __tz_convert.
10218 (gmtime): Likewise.
10220 (__localtime_r): Likewise.
10221 (localtime): Likewise.
10222 * time/offtime.c: Replace time_t with __time64_t.
10223 * time/tzset.c: Likewise.
10225 2018-12-04 Joseph Myers <joseph@codesourcery.com>
10227 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
10228 dynamic linker unless [$(run-built-tests) = yes].
10230 2018-12-03 DJ Delorie <dj@delorie.com>
10232 * support/test-container.c (check_for_unshare_hints): New.
10233 (main): Call it if unshare fails. Add support for "su" scriptlet
10236 2018-12-03 Joseph Myers <joseph@codesourcery.com>
10238 * scripts/gen-as-const.py (compute_c_consts): Take an argument
10239 'START' to indicate that start text should be output.
10240 (gen_test): Likewise.
10241 (main): Generate 'START' for first symbol or '--' line, or at end
10242 of input if not previously generated.
10244 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
10247 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
10248 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
10249 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
10250 ALWAYS_USE_VSYSCALL.
10252 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10255 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
10258 2018-12-03 Carlos O'Donell <carlos@redhat.com>
10261 * locale/programs/localedef.c: Declare boolean hard_links default true.
10262 (options): Add --no-hard-links option.
10263 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
10264 * locale/programs/localedef.h: Declare prototype for hard_links.
10265 * locale/programs/locfile.c (write_locale_data): Don't use hard
10266 links if hard_links is false.
10268 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
10270 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
10271 cpu_features_basic.
10272 (__cache_sysconf): Likewise.
10273 (init_cacheinfo): Likewise.
10274 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
10275 populate COMMON_CPUID_INDEX_80000007 and
10276 COMMON_CPUID_INDEX_80000008.
10277 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
10278 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
10279 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
10280 (init_cpu_features): Use _Static_assert on
10281 index_arch_Fast_Unaligned_Load.
10282 __get_cpuid_registers and __get_arch_feature. Updated for
10283 cpu_features_basic. Set stepping in cpu_features.
10284 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
10285 (FEATURE_INDEX_2): New.
10286 (FEATURE_INDEX_MAX): Changed to enum.
10287 (COMMON_CPUID_INDEX_D_ECX_1): New.
10288 (COMMON_CPUID_INDEX_80000007): Likewise.
10289 (COMMON_CPUID_INDEX_80000008): Likewise.
10290 (cpuid_registers): Likewise.
10291 (cpu_features_basic): Likewise.
10292 (CPU_FEATURE_USABLE): Likewise.
10293 (bit_arch_XXX_Usable): Likewise.
10294 (cpu_features): Use cpuid_registers and cpu_features_basic.
10295 (bit_arch_XXX): Reweritten.
10296 (bit_cpu_XXX): Likewise.
10297 (index_cpu_XXX): Likewise.
10298 (reg_XXX): Likewise.
10299 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
10301 (CHECK_CPU_FEATURE): New.
10302 (CHECK_CPU_FEATURE_USABLE): Likewise.
10303 (cpu_kinds): Likewise.
10304 (do_test): Print vendor, family, model and stepping. Check
10305 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
10306 (TEST_FUNCTION): Removed.
10307 Include <support/test-driver.c> instead of
10308 "../../test-skeleton.c".
10309 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
10310 Check POPCNT instead of POPCOUNT.
10311 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
10313 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10315 * scripts/gen-as-const.py (main): Avoid emitting empty line when
10316 there is no element in `consts'.
10318 2018-12-01 Florian Weimer <fweimer@redhat.com>
10320 * support/support_capture_subprocess.c
10321 (support_capture_subprocess): Check that pipe descriptors have
10322 expected values. Close original pipe descriptors in subprocess.
10324 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10327 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
10328 attr with __pthread_default_barrierattr.
10329 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
10330 attr with __pthread_default_condattr.
10331 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
10332 attr with __pthread_default_mutexattr.
10333 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
10334 attr with __pthread_default_rwlockattr.
10336 2018-12-01 Kemi Wang <kemi.wang@intel.com>
10338 * manual/tunables.texi (POSIX Thread Tunables): New node.
10339 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
10340 * nptl/nptl-init.c: Include pthread_mutex_conf.h
10341 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
10342 __pthread_tunables_init.
10343 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
10344 (max_adaptive_count): Define.
10345 * nptl/pthread_mutex_conf.c: New file.
10346 * nptl/pthread_mutex_conf.h: New file.
10347 * sysdeps/generic/adaptive_spin_count.h: New file.
10348 * sysdeps/nptl/dl-tunables.list: New file.
10349 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10350 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
10351 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
10354 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10357 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
10358 * stdlib/on_exit.c (__on_exit): Likewise.
10359 * stdlib/Makefile (tests): Add tst-bz20544.
10360 * stdlib/tst-bz20544.c: New test.
10362 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
10365 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
10366 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
10369 2018-11-30 Florian Weimer <fweimer@redhat.com>
10371 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
10372 Extend error logging.
10373 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
10376 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10378 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
10379 __sigismember instead of sigismember.
10380 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
10381 cancel_handler): New definitions.
10382 (do_system): Use posix_spawn instead of fork and execl and remove
10384 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
10385 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
10386 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
10387 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10388 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10389 * sysdeps/unix/sysv/linux/system.c: Likewise.
10393 * NEWS: Add new semantic for atfork with popen and system.
10394 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
10397 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10400 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
10401 modification order when accessing reloc_result->addr.
10402 * include/link.h (reloc_result): Add field init.
10403 * nptl/Makefile (tests): Add tst-audit-threads.
10404 (modules-names): Add tst-audit-threads-mod1 and
10405 tst-audit-threads-mod2.
10406 Add rules to build tst-audit-threads.
10407 * nptl/tst-audit-threads-mod1.c: New file.
10408 * nptl/tst-audit-threads-mod2.c: Likewise.
10409 * nptl/tst-audit-threads.c: Likewise.
10410 * nptl/tst-audit-threads.h: Likewise.
10412 2018-11-30 Joseph Myers <joseph@codesourcery.com>
10414 * scripts/gen-as-const.py: New file.
10415 * scripts/gen-as-const.awk: Remove.
10416 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
10418 ($(objpfx)test-as-const-%.c): Likewise.
10420 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10422 * elf/dl-exception.c: Include <_itoa.h>.
10424 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10426 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
10427 returned by __f_setlk.
10429 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10430 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10432 * elf/Makefile (tests-internal): Add tst-create_format1.
10433 * elf/dl-exception.c (_dl_exception_create_format): Support
10435 * elf/tst-create_format1.c: New file.
10437 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
10439 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
10440 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
10442 * argp/argp-help.c (__argp_failure): Likewise.
10444 2018-11-29 Mao Han <han_mao@c-sky.com>
10446 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
10447 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
10448 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
10449 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
10450 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
10451 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
10452 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
10453 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
10454 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
10455 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
10456 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
10457 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
10458 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
10459 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
10460 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
10461 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
10462 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
10463 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
10464 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
10465 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
10466 (R_CKCORE_TLS_TPOFF32): New defines.
10468 2018-11-29 Florian Weimer <fweimer@redhat.com>
10470 * posix/Makefile (before-compile): Remove testcases.h and
10472 (generated): Add testcases.h and ptestcases.h.
10473 (testcases.h, ptestcases.h): Move to $(objpfx).
10474 (runtests.o): Add dependency on testcases.h.
10475 (runptests.o): Add dependency on ptestcases.h.
10476 * posix/testcases.h, posix/ptestcases.h: Remove files.
10477 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
10478 not touch posix/testcases.h and posix/ptestcases.h.
10480 2018-11-28 Florian Weimer <fweimer@redhat.com>
10482 support: Add signal support to support_capture_subprocess_check.
10483 * support/capture_subprocess.h (support_capture_subprocess_check):
10484 Adjust comment and rename parameter.
10485 * support/support_capture_subprocess_check.c
10486 (print_actual_status): New function.
10487 (support_capture_subprocess_check): Support negative
10488 status_or_signal. Call print_actual_status.
10489 * support/tst-support_capture_subprocess.c (do_test): Call
10490 support_capture_subprocess_check.
10491 * libio/tst-vtables-common.c (termination_status)
10492 (init_termination_status): Remove.
10493 (check_for_termination): Adjust support_capture_subprocess_check
10495 (do_test): Remove call to init_termination_status.
10497 2018-11-28 Joseph Myers <joseph@codesourcery.com>
10499 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
10500 source directory instead of a copy.
10501 (CommandList.create_copy_dir): Remove.
10503 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
10505 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10507 2018-11-28 Florian Weimer <fweimer@redhat.com>
10509 * support/support.h (support_quote_string): Do not use str
10512 2018-11-27 Joseph Myers <joseph@codesourcery.com>
10514 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
10515 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
10517 2018-11-27 Florian Weimer <fweimer@redhat.com>
10519 * support/support.h (support_quote_string): Declare.
10520 * support/support_quote_string.c: New file.
10521 * support/tst-support_quote_string.c: Likewise.
10522 * support/Makefile (libsupport-routines): Add
10523 support_quote_string.
10524 (tests): Add tst-support_quote_string.
10526 2018-11-27 Florian Weimer <fweimer@redhat.com>
10530 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
10531 descriptor leak in case of ENODEV error.
10533 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
10536 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
10537 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
10538 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
10540 2018-11-26 Carlos O'Donell <carlos@redhat.com>
10542 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
10543 Error for unknown lines.
10545 2018-11-26 Joseph Myers <joseph@codesourcery.com>
10547 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
10548 Touch additional files.
10550 2018-11-26 Florian Weimer <fweimer@redhat.com>
10553 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
10556 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
10559 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
10560 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
10561 SHARED. Include sysdep.h.
10562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
10563 ALWAYS_USE_VSYSCALL.
10564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
10565 ALWAYS_USE_VSYSCALL.
10567 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
10570 * nptl/Makefile (tests-static): Add tst-cond11-static.
10572 * nptl/tst-cond11-static.c: New File.
10573 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
10574 tst-affinity-static.
10576 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
10578 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
10579 (USE_VSYSCALL): Likewise.
10580 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
10581 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
10583 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
10585 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
10588 2018-11-23 Joseph Myers <joseph@codesourcery.com>
10591 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10592 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
10595 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
10597 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
10598 (tst-cet-legacy-1a-ARGS): New.
10599 ($(objpfx)tst-cet-legacy-1a): New target.
10600 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
10602 2018-11-22 Joseph Myers <joseph@codesourcery.com>
10604 * conform/conformtest.py (CompileSubTest.__init__): Set
10605 self.run_early to False.
10606 (ExecuteSubTest.__init__): Likewise.
10607 (HeaderTests.run): Try running all non-optional, non-XFAILed
10608 compilation tests in a single execution of the compiler.
10610 * conform/conformtest.py (CompileSubTest): New class.
10611 (ExecuteSubTest): Likewise.
10612 (ElementTest.run): Rename to gen_subtests. Append tests to
10613 self.subtests instead of running them.
10614 (ConstantTest.run): Likewise.
10615 (SymbolTest.run): Likewise.
10616 (TypeTest.run): Likewise.
10617 (TagTest.run): Likewise.
10618 (FunctionTest.run): Likewise.
10619 (VariableTest.run): Likewise.
10620 (MacroFunctionTest.run): Likewise.
10621 (MacroStrTest.run): Likewise.
10622 (HeaderTests.handle_test_line): Generate subtests for tests.
10623 (HeaderTests.run): Run subtests for tests.
10625 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10627 * math/Versions (GLIBC_2.29): Add pow.
10628 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
10630 * math/w_pow.c: New file.
10631 * sysdeps/i386/fpu/w_pow.c: New file.
10632 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
10633 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
10634 and add necessary aliases.
10635 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
10636 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
10637 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10638 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10639 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10640 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10641 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10642 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10643 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10644 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10645 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10646 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10647 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10648 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10649 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10654 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10655 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10656 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10657 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10658 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10659 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10660 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10661 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
10663 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
10664 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
10665 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
10667 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10669 * math/Versions (GLIBC_2.29): Add log2.
10670 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
10672 * math/w_log2.c: New file.
10673 * sysdeps/i386/fpu/w_log2.c: New file.
10674 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
10675 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
10676 and add necessary aliases.
10677 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
10678 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
10679 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10680 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10681 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10682 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10683 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10684 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10685 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10686 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10687 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10688 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10689 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10690 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10691 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10696 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10697 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10698 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10699 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10700 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10701 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10702 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10704 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10706 * math/Versions (GLIBC_2.29): Add log.
10707 * math/w_log_compat.c (__log_compat): Change to versioned compat
10709 * math/w_log.c: New file.
10710 * sysdeps/i386/fpu/w_log.c: New file.
10711 * sysdeps/ia64/fpu/e_log.S: Update.
10712 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
10713 and add necessary aliases.
10714 * sysdeps/ieee754/dbl-64/w_log.c: New file.
10715 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
10716 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10717 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10718 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10719 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10720 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10721 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10722 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10723 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10724 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10725 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10726 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10727 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10728 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10733 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10734 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10735 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10736 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10737 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10738 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10739 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10740 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
10742 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
10743 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
10744 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
10745 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
10747 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10749 * math/Versions (GLIBC_2.29): Add exp and exp2.
10750 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
10751 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
10752 * math/w_exp_compat.c (__exp_compat): Likewise.
10753 * math/w_exp.c: New file.
10754 * math/w_exp2.c: New file.
10755 * sysdeps/i386/fpu/w_exp.c: New file.
10756 * sysdeps/i386/fpu/w_exp2.c: New file.
10757 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
10758 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
10759 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
10760 and add necessary aliases.
10761 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
10762 and add necessary aliases.
10763 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
10764 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
10765 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
10766 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
10767 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10768 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10769 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10770 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10771 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10772 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10773 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10774 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10775 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10776 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10777 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10778 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10779 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10784 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10785 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10786 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10787 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10788 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10789 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10790 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10791 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
10792 (__ieee754_exp): Rename to __exp.
10793 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
10794 (__ieee754_exp): Rename to __exp.
10795 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
10796 (__ieee754_exp): Rename to __exp.
10797 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
10799 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
10801 2018-11-20 DJ Delorie <dj@redhat.com>
10803 * malloc/malloc.c (tcache_entry): Add key field.
10804 (tcache_put): Set it.
10805 (tcache_get): Likewise.
10806 (_int_free): Check for double free in tcache.
10807 * malloc/tst-tcfree1.c: New.
10808 * malloc/tst-tcfree2.c: New.
10809 * malloc/Makefile: Run the new tests.
10810 * manual/probes.texi: Document memory_tcache_double_free probe.
10812 * dlfcn/dlerror.c (check_free): Prevent double frees.
10814 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
10816 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
10818 2018-11-20 Joseph Myers <joseph@codesourcery.com>
10820 * conform/conformtest.py (ElementTest.run): Use unique identifiers
10821 in tests. Use names for format arguments.
10822 (ConstantTest.run): Likewise.
10823 (SymbolTest.run): Likewise.
10824 (TypeTest.run): Likewise.
10825 (TagTest.run): Likewise.
10826 (FunctionTest.run): Likewise.
10827 (VariableTest.run): Likewise.
10828 (MacroFunctionTest.run): Likewise.
10829 (MacroStrTest.run): Likewise.
10830 (HeaderTests.__init__): Set self.num_tests.
10831 (HeaderTests.handle_test_line): Set test.num. Increment
10834 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10836 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
10837 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
10840 2018-11-19 Mao Han <han_mao@c-sky.com>
10842 * scripts/config.guess: Update to version 2018-08-29.
10843 * scripts/config.sub: Update to version 2018-08-29.
10845 2018-11-19 Florian Weimer <fweimer@redhat.com>
10847 support: Print timestamps in timeout handler.
10848 * support/support_test_main.c (print_timestamp): New function.
10849 (signal_handler): Use it to print the termination time and the
10850 time of the last write to standard output.
10852 2018-11-16 Zack Weinberg <zackw@panix.com>
10853 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10855 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
10856 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
10858 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
10859 and add flags argument. Check flags instead of __ldbl_is_dbl when
10860 deciding whether to set is_long_double.
10861 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
10862 passing zero for flags argument.
10863 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
10865 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10866 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
10867 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
10868 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
10869 variable names. Remove libc_hidden_def/libc_hidden_proto from
10870 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
10871 longer called from within the library.
10872 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
10873 for __nldbl___vstrfmon_l, declare it explicitly.
10875 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
10877 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10879 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
10881 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
10882 F_SETLK64, F_SETLKW64, respectively.
10883 * sysdeps/mach/hurd/f_setlk.c: New file.
10884 * sysdeps/mach/hurd/f_setlk.h: New file.
10885 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
10887 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
10888 (__libc_fcntl): Move non-flock operations to...
10889 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
10890 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
10892 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
10894 mktime: DEBUG_MKTIME cleanup
10895 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
10896 And it’s no longer needed now that glibc and Gnulib both have
10897 their own testing mechanisms for mktime.
10898 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
10900 mktime: fix non-EOVERFLOW errno handling
10902 mktime was not properly reporting failures when the underlying
10903 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
10904 them like EOVERFLOW failures, and set errno to EOVERFLOW.
10905 The problem could happen on non-glibc platforms, with Gnulib.
10906 * time/mktime.c (guess_time_tm): Remove, replacing with ...
10907 (tm_diff): ... this simpler function, which does not change errno.
10908 All callers changed to deal with errno themselves.
10909 (ranged_convert, __mktime_internal): Return failure immediately if
10910 the underlying function reports any failure other than EOVERFLOW.
10911 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
10914 mktime: fix bug with Y2038 DST transition
10916 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
10917 mishandle a DST transition that jumps over the Y2038 boundary.
10918 No such DST transitions are known so this is only a theoretical
10919 bug, but we might as well do things right.
10921 mktime: make more room for overflow
10923 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
10924 This is so that we can add tm_diff results to a previous guess,
10925 which will be useful in a later patch.
10927 mktime: simplify offset guess
10929 * time/mktime.c (__mktime_internal): Omit excess precision.
10931 mktime: new test for mktime failure
10933 Based on a test suggested by Albert Aribaud in:
10934 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
10935 * time/Makefile (tests): Add bug-mktime4.
10936 * time/bug-mktime4.c: New file.
10938 mktime: fix EOVERFLOW bug
10940 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
10941 Include libc-config.h, not config.h, for __set_errno.
10942 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
10944 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10946 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
10947 __attribute_copy__ to copy attributes from name. Drop static qualifier
10948 to avoid warnings about leaf attribute not having effect on static
10951 2018-11-13 Florian Weimer <fweimer@redhat.com>
10953 * malloc/malloc.c (fastbin_push_entry): New function.
10954 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
10955 (REMOVE_FB): Remove macro.
10956 (_int_malloc): Use fastbin_pop_entry and reindent.
10957 (_int_free): Use fastbin_push_entry.
10958 (malloc_consolidate): Use atomic_exchange_acquire.
10960 2018-11-13 Joseph Myers <joseph@codesourcery.com>
10962 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
10963 alias attribute, not with strong_alias.
10965 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
10966 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
10967 with additional parameter thread.
10968 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
10969 in terms of __hidden_ver2.
10970 (hidden_tls_def): New macro.
10971 (libc_hidden_tls_def): Likewise.
10972 (rtld_hidden_tls_def): Likewise.
10973 (libm_hidden_tls_def): Likewise.
10974 (libmvec_hidden_tls_def): Likewise.
10975 (libresolv_hidden_tls_def): Likewise.
10976 (librt_hidden_tls_def): Likewise.
10977 (libdl_hidden_tls_def): Likewise.
10978 (libnss_files_hidden_tls_def): Likewise.
10979 (libnsl_hidden_tls_def): Likewise.
10980 (libnss_nisplus_hidden_tls_def): Likewise.
10981 (libutil_hidden_tls_def): Likewise.
10982 (libutil_hidden_tls_def): Likweise.
10983 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
10984 libc_hidden_tls_def.
10985 (__sim_disabled_exceptions_thread): Likewise.
10986 (__sim_round_mode_thread): Likewise.
10988 * sysdeps/sparc/sparc-ifunc.h [SHARED]
10989 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
10990 copy attributes from name.
10992 2018-11-12 Joseph Myers <joseph@codesourcery.com>
10994 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
10995 Use __attribute_copy__ to copy attributes from name.
10997 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
10998 with __hidden_ver1 call.
10999 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
11000 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
11001 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
11002 (__cosf): Do not declare here.
11003 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
11004 (__sincosf): Do not declare here.
11005 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
11006 (__sinf): Do not declare here.
11008 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
11009 (__BIG_ENDIAN): Likewise.
11010 (__BYTE_ORDER): Likewise.
11011 (strong_alias): Likewise.
11012 (_strong_alias): Likewise.
11014 2018-11-12 Florian Weimer <fweimer@redhat.com>
11016 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
11017 function. Move after the definition of in_smallbin_range. Do not
11018 use __builtin_expect for paths that lead to a noreturn function.
11019 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
11020 because it is unclear whether this is in fact an unlikely
11022 (_int_malloc, _int_free): Adjust.
11023 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
11025 * malloc/arena.c (heap_trim): Likewise.
11027 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11029 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
11030 it, free it if needed.
11031 (reauthenticate): Test and use ccwdir.
11032 (child_init_port): In non-resetids case, test and use ccwdir.
11033 (child_chdir): New nested function to set ccwdir.
11034 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
11035 * hurd/hurd/port.h (_hurd_port_move): New function.
11036 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
11037 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
11038 * hurd/Versions (_hurd_port_move): Export function.
11039 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
11041 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
11042 of dtablesize for allocating dtable_cloexec.
11044 2018-11-09 Martin Sebor <msebor@redhat.com>
11046 * include/libc-symbols.h (__attribute_copy__): Define macro unless
11047 it's already defined.
11048 (_strong_alias): Use __attribute_copy__.
11049 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
11050 * misc/sys/cdefs.h (__attribute_copy__): New macro.
11051 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
11052 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
11053 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
11054 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
11055 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
11056 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
11057 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
11058 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
11059 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
11060 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
11061 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
11062 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
11063 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
11064 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
11065 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
11066 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
11067 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
11069 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11071 * misc/tst-efgcvt.c: Include support/check.h and
11072 support/test-driver.c. Do not include test-skeleton.c.
11073 (error_count): Remove.
11074 (output_error): Replace increments to error_count with calls to
11075 support_record_failure.
11076 (output_r_error): Likewise.
11077 (special): Likewise.
11078 (do_test): Unconditionally return zero.
11079 (TEST_FUNCTION): Remove.
11081 2018-11-09 Joseph Myers <joseph@codesourcery.com>
11083 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
11085 ($(linknamespace-header-tests)): Likewise.
11087 * conform/conformtest.py: New file.
11088 * conform/conformtest.pl: Remove.
11089 * conform/GlibcConform.pm: Likewise.
11090 * conform/glibcconform.py (KEYWORDS_C90): New constant.
11091 (KEYWORDS_C99): Likewise.
11092 (KEYWORDS): Likewise.
11093 * conform/Makefile ($(conformtest-header-tests)): Use
11094 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
11095 option. Use --header instead of --headers.
11096 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
11098 * conform/data/spawn.h-data: Likewise.
11099 * conform/data/fcntl.h-data (openat): Add space after function
11101 * conform/data/wchar.h-data (wcscasecmp): Likewise.
11102 (wcscasecmp_l): Likewise.
11103 * conform/data/termios.h-data (c_cc): Add space after element
11106 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11108 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
11109 instead of manually comparing and reporting mismatching strings.
11110 * misc/tst-ldbl-error.c (do_one_test): Likewise.
11111 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
11113 2018-11-08 Joseph Myers <joseph@codesourcery.com>
11115 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
11116 __ASSUME_SOCKETCALL.
11117 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11118 (__ASSUME_SOCKETCALL): Remove.
11119 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11120 (__ASSUME_SOCKETCALL): Likewise.
11121 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11122 (__ASSUME_SOCKETCALL): Likewise.
11123 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11124 (__ASSUME_SOCKETCALL): Likewise.
11125 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11126 (__ASSUME_SOCKETCALL): Likewise.
11127 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11128 (__ASSUME_SOCKETCALL): Likewise.
11129 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11130 (__ASSUME_SOCKETCALL): Likewise.
11132 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
11135 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
11136 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
11137 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
11138 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
11139 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
11142 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
11145 * resolv/tst-resolv-network.c: Add test for getnetbyname.
11147 2018-11-07 Joseph Myers <joseph@codesourcery.com>
11150 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11151 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11152 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11153 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11155 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11157 * support/support_test_compare_string.c
11158 (support_test_compare_string): Fix printf format.
11160 2018-11-07 Florian Weimer <fweimer@redhat.com>
11162 Implement TEST_COMPARE_STRING.
11163 * support/check.h (TEST_COMPARE_STRING): Define.
11164 (support_test_compare_string): Declare.
11165 * support/Makefile (libsupport-routines): Add
11166 support_test_compare_string.
11167 (tests): Add tst-test_compare_string.
11168 * support/support_test_compare_string.c: New file.
11169 * support/tst-test_compare_string.c: Likewise.
11171 2018-11-07 Andreas Schwab <schwab@suse.de>
11174 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
11175 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
11178 2018-11-06 Joseph Myers <joseph@codesourcery.com>
11181 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11182 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
11183 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
11184 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
11187 2018-11-06 Florian Weimer <fweimer@redhat.com>
11190 * posix/Makefile (routines): Add spawn_faction_addchdir.
11191 (tests): Add tst-spawn-chdir.
11192 * posix/Versions (GLIBC_2.29): Add
11193 posix_spawn_file_actions_addchdir_np.
11194 * posix/spawn_faction_addchdir.c: New file.
11195 * posix/spawn_faction_destroy.c
11196 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
11197 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
11198 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
11200 * posix/tst-spawn-chdir.c: New file.
11201 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
11202 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
11203 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
11204 posix_spawn_file_actions_addchdir_np.
11205 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
11207 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
11209 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
11210 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
11212 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
11214 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
11216 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
11218 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
11220 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
11222 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11223 (GLIBC_2.29): Likewise.
11224 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11225 (GLIBC_2.29): Likewise.
11226 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11227 (GLIBC_2.29): Likewise.
11228 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11229 (GLIBC_2.29): Likewise.
11230 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
11232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11233 (GLIBC_2.29): Likewise.
11234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11235 (GLIBC_2.29): Likewise.
11236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11237 (GLIBC_2.29): Likewise.
11238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11239 (GLIBC_2.29): Likewise.
11240 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
11242 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
11244 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
11246 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
11247 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
11249 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
11251 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
11253 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
11256 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11258 * misc/Makefile (tests): Add tst-ldbl-error.
11259 * misc/tst-ldbl-error.c: New file.
11261 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11263 * misc/Makefile (tests): Add tst-ldbl-warn.
11264 * misc/tst-ldbl-warn.c: New file.
11266 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11268 * argp/Makefile (tests): Add tst-ldbl-argp.
11269 * argp/tst-ldbl-argp.c: New file.
11271 2018-11-05 Arjun Shankar <arjun@redhat.com>
11273 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
11274 __gconv_path_elem and call __gconv_get_path unconditionally.
11276 2018-11-05 Andreas Schwab <schwab@suse.de>
11279 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
11280 creating the first helper thread failed.
11282 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11284 * sysdeps/mach/hurd/msync.c: New file.
11286 2018-11-02 Florian Weimer <fweimer@redhat.com>
11288 * support/shell-container.c (copy_func): Call
11289 support_copy_file_range instead of copy_file_range to support
11290 cross-device copies.
11292 2018-11-02 Florian Weimer <fweimer@redhat.com>
11294 * support/test-container.c: Include <libc-pointer-arith.h> for
11297 2018-11-01 Zong Li <zong@andestech.com>
11299 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
11300 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
11301 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
11302 (__FP_FRAC_SET_8): Add implementation for RV32 use.
11304 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
11305 variable to avoid overlap arguments.
11307 2018-11-01 Joseph Myers <joseph@codesourcery.com>
11309 * posix/bug-regex22.c (main): Use puts with distinct error
11310 messages for unexpected success of re_compile_pattern, not printf
11311 with NULL argument to %s.
11313 * stdio-common/bug22.c: Include <libc-diag.h>.
11314 (do_test): Disable -Wformat-overflow= warnings around fprintf
11315 calls outputting more than INT_MAX characters.
11316 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
11317 around printf call with NULL %s argument.
11320 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
11321 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
11323 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11324 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11325 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11326 (__ASSUME_SENDTO_SYSCALL): Likewise.
11327 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11328 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
11330 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11331 (__ASSUME_CONNECT_SYSCALL): Likewise.
11332 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11333 (__ASSUME_RECVFROM_SYSCALL): Likewise.
11334 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
11336 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
11338 [__LINUX_KERNEL_VERSION >= 0x040400]
11339 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11340 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
11342 (listen): Likewise.
11343 (setsockopt): Likewise.
11345 2018-11-01 Fredrik Noring <noring@nocrew.org>
11347 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
11348 with the ISA override.
11350 2018-10-31 Rafael Ávila de Espíndola <rafael@espindo.la>
11352 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
11355 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11357 * manual/errno.texi (EIEIO): Document how translators should
11358 translate the error message.
11359 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
11360 printing trailing whitespaces refused by git.
11361 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
11362 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11363 * hurd/Makefile (user-interfaces): Add pci.
11365 2018-10-30 Joseph Myers <joseph@codesourcery.com>
11367 * conform/linknamespace.py: New file.
11368 * conform/linknamespace.pl: Remove file.
11369 * conform/Makefile ($(linknamespace-header-tests)): Use
11370 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
11373 2018-10-30 Florian Weimer <fweimer@redhat.com>
11375 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
11378 2018-10-30 Florian Weimer <fweimer@redhat.com>
11380 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
11382 2018-10-30 Florian Weimer <fweimer@redhat.com>
11384 * stdlib/tst-strtod-overflow.c (do_test): Switch to
11385 support_blob_repeat.
11387 2018-10-30 Florian Weimer <fweimer@redhat.com>
11389 Avoid spurious test failures in stdlib/test-bz22786.
11390 * support/Makefile (libsupport-routines): Add blob_repeat.
11391 (tests): Add tst-support_blob_repeat.
11392 * support/blob_repeat.h: New file.
11393 * support/blob_repeat.c: Likewise.
11394 * support/tst-support_blob_repeat.c: Likewise.
11395 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
11396 support_blob_repeat_allocate.
11398 2018-10-30 Andreas Schwab <schwab@suse.de>
11401 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
11402 Don't use tail call.
11403 * elf/tst-unwind-main.c: New file.
11404 * elf/Makefile (tests): Add tst-unwind-main.
11405 (CFLAGS-tst-unwind-main.c): Define.
11407 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
11410 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
11411 n_cs_precedes to 0.
11412 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
11414 2018-10-29 Joseph Myers <joseph@codesourcery.com>
11416 * conform/glibcconform.py: Do not import shutil.
11417 (list_exported_functions): Use tempfile.TemporaryDirectory instead
11420 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
11421 critic_missing for versions before 3.4.
11422 * configure: Regenerated.
11423 * manual/install.texi (Tools for Compilation): Document
11424 requirement for Python to build glibc.
11425 * INSTALL: Regenerated.
11426 * Rules [PYTHON]: Make code unconditional.
11427 * benchtests/Makefile [PYTHON]: Likewise.
11428 * conform/Makefile [PYTHON]: Likewise.
11429 * manual/Makefile [PYTHON]: Likewise.
11430 * math/Makefile [PYTHON]: Likewise.
11432 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11434 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
11435 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
11436 answer to interrupt_operation, return EIEIO instead of EINTR.
11437 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
11438 _hurd_intr_rpc_msg_about_to global point to start of controlled
11439 assembly snippet. Make it check canceled flag.
11440 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
11441 the _hurd_intr_rpc_msg_about_to point.
11442 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
11443 issue, remove cancel flag check.
11445 2018-10-26 Joseph Myers <joseph@codesourcery.com>
11447 * scripts/build-many-glibcs.py: Remove compatibility for missing
11448 os.cpu_count and re.fullmatch.
11450 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
11453 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
11454 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
11455 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
11457 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11459 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
11462 2018-10-25 Florian Weimer <fweimer@redhat.com>
11466 XFAIL siginfo_t si_band conform test on sparc64.
11467 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
11468 (__SI_BAND_TYPE): Only override long int default type on sparc64.
11469 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11470 (conformtest-xfail-conds): Add sparc64-linux.
11471 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
11473 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
11475 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11477 * elf/elf.h (NT_MIPS_DSP): New macro.
11478 (NT_MIPS_FP_MODE): Likewise.
11480 2018-10-25 Zong Li <zong@andestech.com>
11482 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
11483 name by adding the file extension (.so).
11485 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11487 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11488 (test-xfail-ISO11/threads.h/linknamespace,
11489 test-xfail-ISO11/threads.h/conform): Add.
11491 2018-10-24 Joseph Myers <joseph@codesourcery.com>
11493 * math/gen-libm-test.py: Import os.
11494 (ALL_FLOATS_MANUAL): New constant.
11495 (ALL_FLOATS_SUFFIX): Likewise.
11496 (Ulps.all_functions): New function.
11497 (real_all_ulps): Likewise.
11498 (generate_err_table_sub): Likewise.
11499 (generate_err_table): Likewise.
11500 (main): Handle -s and -m options.
11501 * manual/libm-err-tab.pl: Remove.
11502 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
11503 instead of libm-err-tab.pl.
11504 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
11506 * manual/install.texi (Tools for Compilation): Document
11507 requirement for Python to build manual.
11508 * INSTALL: Regenerated.
11510 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11512 * bits/time64.h: New file.
11513 * include/time.h: Replace internal_time_t with __time64_t.
11514 * posix/bits/types (__time64_t): Add.
11515 * stdlib/Makefile: Add bits/time64.h to includes.
11516 * time/tzfile.c: Replace internal_time_t with __time64_t.
11518 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11520 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
11521 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
11522 __posix_spawn_file_actions_init, __posix_spawnattr_init,
11523 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
11524 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
11526 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
11527 * posix/spawn_faction_addclose.c
11528 (__posix_spawn_file_actions_addclose): Add hidden definition.
11529 * posix/spawn_faction_adddup2.c
11530 (__posix_spawn_file_actions_adddup2): Likewise.
11531 * posix/spawn_faction_destroy.c
11532 (__posix_spawn_file_actions_destroy): Likewise.
11533 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
11535 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
11536 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
11537 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
11539 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
11540 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
11543 2018-10-24 Andreas Schwab <schwab@suse.de>
11546 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
11548 * elf/cache.c (print_cache): Likewise.
11550 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11552 * bits/timesize.h: New file.
11553 * stdlib/Makefile (headers): Add bits/timesize.h.
11554 * sysdeps/unix/sysv/linux/bits/msq-pad.h
11555 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
11556 * sysdeps/unix/sysv/linux/bits/sem-pad.h
11557 (__SEM_PAD_AFTER_TIME): Likewise.
11558 * sysdeps/unix/sysv/linux/bits/shm-pad.h
11559 (__SHM_PAD_AFTER_TIME): Likewise.
11560 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
11561 (__MSQ_PAD_BEFORE_TIME): Likewise.
11562 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
11563 (__SEM_PAD_BEFORE_TIME): Likewise.
11564 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
11565 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11566 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
11567 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
11568 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
11569 (__MSQ_PAD_BEFORE_TIME): Likewise.
11570 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
11571 (__SEM_PAD_BEFORE_TIME): Likewise.
11572 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
11573 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11574 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
11575 (__MSQ_PAD_BEFORE_TIME): Likewise.
11576 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
11577 (__SEM_PAD_BEFORE_TIME): Likewise.
11578 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
11579 (__SHM_PAD_BEFORE_TIME): Likewise.
11580 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
11581 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11582 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
11584 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
11586 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
11587 USE_RDTSCP is defined.
11588 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
11589 USE_RDTSCP is defined.
11591 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11593 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
11597 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
11598 independently of other flags.
11600 2018-10-23 Florian Weimer <fweimer@redhat.com>
11602 * time/tst-mktime2.c (N_STRINGS): Remove.
11603 (set_timezone): New function.
11604 (spring_forward_gap): Call it. Use FAIL_EXIT1.
11605 (mktime_test1): Report localtime failure and check errno value.
11607 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
11608 (do_test): Remove alarm call. Use set_timezone and array_length.
11610 2018-10-23 Andreas Schwab <schwab@suse.de>
11612 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
11613 (__start_context): Use END instead of PSEUDO_END.
11615 2018-10-22 Joseph Myers <joseph@codesourcery.com>
11617 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11620 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11624 * wcsmbs/c32rtomb.c: New file.
11625 * wcsmbs/mbrtoc32.c: Likewise.
11626 * wcsmbs/tst-c32-state.c: Likewise.
11627 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
11628 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
11629 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
11630 (tests): Add tst-c32-state.
11631 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
11634 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
11636 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
11637 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
11639 2018-10-19 Joseph Myers <joseph@codesourcery.com>
11642 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
11643 pair and return 0 in that case, and use saved character to
11644 interpret following character.
11645 * wcsmbs/tst-c16-surrogate.c: New file.
11646 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
11647 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
11648 Depend on $(gen-locales)
11650 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
11653 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
11654 (struct siginfo_t): Use correct type for si_band.
11656 2018-10-19 Florian Weimer <fweimer@redhat.com>
11659 * resource/bits/types/struct_rusage.h (struct rusage): Update
11660 comment on struct. Remove extraneous field comment.
11662 2018-10-18 David S. Miller <davem@davemloft.net>
11664 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
11665 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
11666 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
11667 sysdep_routines in subdir elf.
11668 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
11669 version for __vdso_clock_gettime.
11670 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
11672 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11673 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11675 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11677 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
11679 * sysdeps/i386/init-arch.h: Removed.
11680 * sysdeps/i386/i586/init-arch.h: Likewise.
11681 * sysdeps/i386/i686/init-arch.h: Likewise.
11682 * sysdeps/i386/i686/hp-timing.h: Likewise.
11683 * sysdeps/x86_64/hp-timing.h: Likewise.
11684 * sysdeps/i386/isa.h: New file.
11685 * sysdeps/i386/i586/isa.h: Likewise.
11686 * sysdeps/i386/i686/isa.h: Likewise.
11687 * sysdeps/x86_64/isa.h: Likewise.
11688 * sysdeps/x86/hp-timing.h: New file.
11689 * sysdeps/x86/init-arch.h: Include <isa.h>.
11691 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11693 * math/libm-test-pow.inc (pow_test_data): Do not allow
11694 divide-by-zero exception for pow(+/- 0, -Inf).
11696 2018-10-17 Zack Weinberg <zackw@panix.com>
11698 * manual/job.texi (Job Control is Optional): Remove node, as
11699 job control has not been optional in quite some time.
11700 (Job Control): Mention briefly that systems older than
11701 POSIX.1-2001 might not support job control.
11702 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
11703 defined on systems conforming to POSIX.1-2001.
11705 2018-10-17 Arjun Shankar <arjun@redhat.com>
11708 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
11710 * (__gconv_read_conf): Mark function static.
11711 * (once): New static variable.
11712 * (__gconv_load_conf): New function.
11713 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
11714 * iconv/gconv_db.c (once): Remove static variable.
11715 * (__gconv_compare_alias): Use __gconv_load_conf instead of
11717 * (__gconv_find_transform): Likewise.
11718 * iconv/tst-iconv-mt.c: New test.
11719 * iconv/Makefile: Add tst-iconv_mt.
11721 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11725 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
11726 (shmatt_t): Define as __syscall_ulong_t.
11727 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
11728 and [__SHM_PAD_AFTER_TIME].
11729 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
11730 Define shm_segsz and associated padding based on
11731 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
11732 Use __syscall_ulong_t instead of unsigned long int.
11733 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
11735 [__USE_MISC] (struct shm_info): Likewise.
11736 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
11737 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
11738 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
11739 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
11740 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
11741 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11742 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
11743 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11744 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11745 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11746 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11750 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
11751 (SHMLBA): Remove macro.
11752 (__getpagesize): Remove function declaration.
11753 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
11755 (SHMLBA): Remove macro.
11756 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
11758 (SHMLBA): Remove macro.
11759 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
11761 (SHMLBA): Remove macro.
11762 (__getpagesize): Remove function declaration.
11763 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
11765 (SHMLBA): Remove macro.
11766 (__getshmlba): Remove function declaration.
11767 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
11768 (SHMLBA): Remove macro.
11769 (__getpagesize): Remove function declaration.
11770 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
11771 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
11772 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11773 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
11774 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
11775 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
11776 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
11777 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
11778 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
11779 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
11781 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
11784 * nptl/tst-mutex10.c: New File.
11785 * nptl/Makefile (tests): Add tst-mutex10.
11786 (tst-mutex10-ENV): New variable.
11787 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
11788 Ensure that elision path is used if elision is available.
11789 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
11791 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
11793 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
11794 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
11795 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
11796 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
11798 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
11799 (__pthread_mutex_cond_lock_adjust): Likewise.
11800 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11802 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
11803 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11804 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11805 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
11807 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11808 Use atomic_load_relaxed and atomic_store_relaxed.
11809 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
11810 Use atomic_store_relaxed.
11812 2018-10-17 Andreas Schwab <schwab@suse.de>
11814 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
11815 * crypt/badsalttest.c (TIMEOUT): Likewise.
11816 * crypt/sha256c-test.c (TIMEOUT): Likewise.
11817 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
11818 * io/test-lfs.c (TIMEOUT): Likewise.
11819 * libio/tst-atime.c (TIMEOUT): Likewise.
11820 * localedata/tst-leaks.c (TIMEOUT): Likewise.
11821 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
11822 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
11823 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
11824 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
11825 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
11826 * nptl/tst-cond11.c (TIMEOUT): Likewise.
11827 * nptl/tst-cond14.c (TIMEOUT): Likewise.
11828 * nptl/tst-cond15.c (TIMEOUT): Likewise.
11829 * nptl/tst-cond24.c (TIMEOUT): Likewise.
11830 * nptl/tst-cond25.c (TIMEOUT): Likewise.
11831 * nptl/tst-kill2.c (TIMEOUT): Likewise.
11832 * nptl/tst-kill3.c (TIMEOUT): Likewise.
11833 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
11834 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
11835 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
11836 * nptl/tst-once2.c (TIMEOUT): Likewise.
11837 * nptl/tst-once3.c (TIMEOUT): Likewise.
11838 * nptl/tst-once4.c (TIMEOUT): Likewise.
11839 * nptl/tst-robust8.c (TIMEOUT): Likewise.
11840 * nptl/tst-robust9.c (TIMEOUT): Likewise.
11841 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
11842 * nptl/tst-sem14.c (TIMEOUT): Likewise.
11843 * nptl/tst-sem6.c (TIMEOUT): Likewise.
11844 * nptl/tst-signal3.c (TIMEOUT): Likewise.
11845 * nptl/tst-spin4.c (TIMEOUT): Likewise.
11846 * nptl/tst-tls3.c (TIMEOUT): Likewise.
11847 * nptl/tst-tls4.c (TIMEOUT): Likewise.
11848 * posix/tst-chmod.c (TIMEOUT): Likewise.
11849 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
11850 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
11851 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
11852 * posix/tst-regex2.c (TIMEOUT): Likewise.
11853 * posix/tst-waitid.c (TIMEOUT): Likewise.
11854 * rt/tst-aio.c (TIMEOUT): Likewise.
11855 * rt/tst-aio10.c (TIMEOUT): Likewise.
11856 * rt/tst-aio4.c (TIMEOUT): Likewise.
11857 * rt/tst-aio5.c (TIMEOUT): Likewise.
11858 * rt/tst-aio6.c (TIMEOUT): Likewise.
11859 * rt/tst-aio64.c (TIMEOUT): Likewise.
11860 * rt/tst-aio7.c (TIMEOUT): Likewise.
11861 * rt/tst-aio9.c (TIMEOUT): Likewise.
11862 * rt/tst-clock.c (TIMEOUT): Likewise.
11863 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
11864 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
11865 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
11866 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
11867 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
11868 * rt/tst-timer4.c (TIMEOUT): Likewise.
11869 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
11870 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
11871 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
11872 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
11873 * time/tst-ftime.c (TIMEOUT): Likewise.
11874 * timezone/tst-tzset.c (TIMEOUT): Likewise.
11876 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
11878 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
11879 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
11882 2018-10-15 Joseph Myers <joseph@codesourcery.com>
11884 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11886 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
11887 instead of <bits/wordsize.h>.
11888 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
11889 and [__SEM_PAD_AFTER_TIME].
11890 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
11891 __syscall_ulong_t instead of unsigned long int.
11892 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
11893 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
11894 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
11895 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
11896 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
11897 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
11898 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
11899 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
11900 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11901 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11902 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11904 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
11906 regex: simplify by using intprops.h
11908 * posix/regex_internal.h [_LIBC]: Include intprops.h.
11909 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
11910 intprops.h defines them.
11912 regex: __builtin_expect → __glibc_unlikely
11914 This refactoring was prompted by a problem when the regex code is
11915 used as part of Gnulib and when the builder’s compiler does not grok
11916 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
11917 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
11918 Although this refactoring does not fix the problem directly,
11919 we might as well have Gawk use the now-preferred glibc style for when
11920 __builtin_expect is unavailable.
11921 * posix/regex_internal.h (BE): Remove.
11922 All uses replaced by __glibc_unlikely or __glibc_likely.
11924 2018-10-11 Joseph Myers <joseph@codesourcery.com>
11926 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11928 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
11929 instead of <bits/wordsize.h>.
11930 (msgqnum_t): Define as __syscall_ulong_t.
11931 (msglen_t): Likewise.
11932 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
11933 and [__MSQ_PAD_AFTER_TIME].
11934 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
11935 __syscall_ulong_t instead of unsigned long int.
11936 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
11937 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
11938 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
11939 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
11940 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
11941 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
11942 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
11943 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
11944 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11945 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11946 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11948 2018-10-10 Joseph Myers <joseph@codesourcery.com>
11950 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
11951 (struct shmid_ds): Condition padding after time fields on
11952 [__WORDSIZE == 32].
11953 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
11954 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
11955 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11957 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
11958 (struct semid_ds): Condition padding after time fields on
11959 [__WORDSIZE == 32].
11960 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
11961 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
11962 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
11963 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11965 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
11966 (struct msqid_ds): Condition padding after time fields on
11967 [__WORDSIZE == 32].
11968 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
11969 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
11970 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
11971 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11973 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11975 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
11977 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11979 * libio/tst-readline.c (TIMEOUT): Define.
11981 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
11983 mktime fix for Gnulib + coreutils
11985 This fix affects only Gnulib. Problem discovered when
11986 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
11988 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
11989 Do not define since it is not used. Defining an unused static
11990 function prompts a warning from GCC when Coreutils is configured
11991 with --enable-gcc-warnings.
11993 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11995 * benchtests/scripts/compare_bench.py (main): set float type on
11996 threshold argument.
11998 2018-10-08 Rafał Lużyński <digitalfreak@lingonborough.com>
12001 * localedata/locales/kl_GL (mon): Update, the relative case.
12002 (alt_mon): Add, fill with month names in the nominative case.
12003 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
12004 (d_fmt): Set to "%b %d %Y".
12006 2018-10-04 Joseph Myers <joseph@codesourcery.com>
12008 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
12009 <bits/mman-linux.h>.
12010 (PROT_READ): Don't define here.
12011 (PROT_WRITE): Likewise.
12012 (PROT_EXEC): Likewise.
12013 (PROT_NONE): Likewise.
12014 (PROT_GROWSDOWN): Likewise.
12015 (PROT_GROWSUP): Likewise.
12016 (MAP_SHARED): Likewise.
12017 (MAP_PRIVATE): Likewise.
12018 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
12019 [__USE_MISC] (MAP_FILE): Likewise.
12020 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
12021 [__USE_MISC] (MAP_ANON): Likewise.
12022 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
12023 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
12024 (MCL_CURRENT): Likewise.
12025 (MCL_FUTURE): Likewise.
12026 (MCL_ONFAULT): Likewise.
12027 [__USE_MISC] (MADV_NORMAL): Likewise.
12028 [__USE_MISC] (MADV_RANDOM): Likewise.
12029 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
12030 [__USE_MISC] (MADV_WILLNEED): Likewise.
12031 [__USE_MISC] (MADV_DONTNEED): Likewise.
12032 [__USE_MISC] (MADV_FREE): Likewise.
12033 [__USE_MISC] (MADV_REMOVE): Likewise.
12034 [__USE_MISC] (MADV_DONTFORK): Likewise.
12035 [__USE_MISC] (MADV_DOFORK): Likewise.
12036 [__USE_MISC] (MADV_HWPOISON): Likewise.
12037 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
12038 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
12039 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
12040 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
12041 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
12042 (__MAP_ANONYMOUS): New macro.
12043 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
12044 <bits/mman-linux.h> inclusion.
12045 (MAP_FIXED): Likewise.
12046 (MS_SYNC): Likewise.
12047 (MS_ASYNC): Likewise.
12048 (MS_INVALIDATE): Likewise.
12049 [__USE_MISC] (MADV_MERGEABLE): Likewise.
12050 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
12051 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
12052 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
12053 [__USE_MISC] (MADV_DONTDUMP): Likewise.
12054 [__USE_MISC] (MADV_DODUMP): Likewise.
12055 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
12056 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
12059 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
12061 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
12062 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
12063 Add test-nldbl-redirect.
12064 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
12065 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
12066 $(objpfx)libnldbl_nonshared.a.
12068 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
12070 * support/support.h (support_objdir_elf_ldso): New variable.
12071 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
12072 * support/Makefile (CFLAGS-support_paths.c): Add definition
12073 for OBJDIR_ELF_LDSO_PATH.
12074 * support/test-container.c (main): Search for the ld.so
12075 which is also used by the testsuite.
12077 2018-10-02 Rafał Lużyński <digitalfreak@lingonborough.com>
12080 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
12081 should be "sap" rather than "sab".
12082 (day): Fix spelling of Sunday, should be "sapaat" rather than
12085 2018-10-02 Joseph Myers <joseph@codesourcery.com>
12087 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12089 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
12092 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
12093 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
12094 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
12096 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12098 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
12100 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
12102 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
12104 (CFLAGS-elision-unlock.c): Likewise.
12105 (CFLAGS-elision-timed.c): Likewise.
12106 (CFLAGS-elision-trylock.c): Likewise.
12107 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
12109 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12112 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
12113 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
12114 new fd_to_filename interface.
12115 * libio/freopen64.c (freopen64): Likewise.
12116 * libio/tst-memstream.h: New file.
12117 * libio/tst-memstream4.c: Likewise.
12118 * libio/tst-wmemstream4.c: Likewise.
12119 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
12120 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
12121 and remove internal dynamic allocation.
12123 2018-10-01 Joseph Myers <joseph@codesourcery.com>
12125 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
12126 (MREMAP_MAYMOVE): Do not define here.
12127 [__USE_GNU] (MREMAP_FIXED): Likewise.
12128 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
12129 (MREMAP_MAYMOVE): Define here instead.
12130 [__USE_GNU] (MREMAP_FIXED): Likewise.
12131 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
12132 (MREMAP_MAYMOVE): Remove.
12133 [__USE_GNU] (MREMAP_FIXED): Likewise.
12135 2018-09-28 Joseph Myers <joseph@codesourcery.com>
12137 * math/fromfp.h: Do not include <math_private.h>.
12138 * math/s_cacosh_template.c: Likewise.
12139 * math/s_casin_template.c: Likewise.
12140 * math/s_casinh_template.c: Likewise.
12141 * math/s_ccos_template.c: Likewise.
12142 * math/s_cproj_template.c: Likewise.
12143 * math/s_fdim_template.c: Likewise.
12144 * math/s_fmaxmag_template.c: Likewise.
12145 * math/s_fminmag_template.c: Likewise.
12146 * math/s_iseqsig_template.c: Likewise.
12147 * math/s_ldexp_template.c: Likewise.
12148 * math/s_nextdown_template.c: Likewise.
12149 * math/w_log1p_template.c: Likewise.
12150 * math/w_scalbln_template.c: Likewise.
12151 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12152 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12153 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12154 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12155 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12156 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12157 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12158 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12159 * sysdeps/i386/fpu/s_atanl.c: Likewise.
12160 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12161 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12162 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12163 * sysdeps/i386/fpu/s_logbl.c: Likewise.
12164 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12165 * sysdeps/i386/fpu/s_significandl.c: Likewise.
12166 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
12167 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
12168 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12169 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12170 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12171 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12172 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12173 * sysdeps/ieee754/k_standardf.c: Likewise.
12174 * sysdeps/ieee754/k_standardl.c: Likewise.
12175 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12176 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12177 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
12178 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12179 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12180 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12181 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12182 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12183 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12184 * sysdeps/ieee754/s_signgam.c: Likewise.
12185 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12186 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
12187 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
12188 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12189 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12190 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12191 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12192 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12193 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12194 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12195 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12196 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12197 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12198 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12199 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12200 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12201 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12202 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12203 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12204 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12205 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12206 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12207 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12208 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12209 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12210 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12211 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12212 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12213 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12214 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12215 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12216 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12217 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12218 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12219 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12220 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12221 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
12223 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12225 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
12228 * sysdeps/i386/dl-cet.c: Removed.
12229 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
12231 (_dl_runtime_profile_shstk): Likewise.
12232 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
12233 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
12235 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12238 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
12239 do_test_with_invalid_iov): New tests.
12240 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
12241 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
12242 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
12244 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12245 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12246 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
12248 2018-09-27 Joseph Myers <joseph@codesourcery.com>
12250 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12251 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
12252 (MATH_REDIRECT_BINARY_ARGS): New macro.
12253 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12254 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
12255 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
12257 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
12258 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12259 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
12260 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12261 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12262 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12263 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
12268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
12270 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
12271 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
12272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
12274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
12276 * sysdeps/generic/math_private_calls.h
12277 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
12278 Do not declare and define as an inline function.
12279 * math/divtc3.c (__divtc3): Use copysign functions instead of
12280 __copysign variants.
12281 * math/multc3.c (__multc3): Likewise.
12282 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
12283 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
12284 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12285 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12287 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12288 (__ieee754_yn): Likewise.
12289 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12290 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
12291 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12292 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12293 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
12295 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12296 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12298 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12300 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12302 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12303 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12305 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12306 (__ieee754_ynf): Likewise.
12307 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12308 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12309 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12310 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12312 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12313 (__ieee754_ynl): Likewise.
12314 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12315 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12316 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12318 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12319 (__ieee754_ynl): Likewise.
12320 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
12321 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12322 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12323 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12325 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12327 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
12328 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12329 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
12330 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12331 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12333 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12334 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
12335 using MATH_REDIRECT.
12336 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
12338 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
12339 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12340 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12341 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
12342 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12343 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12344 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
12346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
12347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
12348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
12349 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12350 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12351 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12352 (round): Redirect to __round.
12353 (__roundl): Call round instead of __round.
12354 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
12356 [_ARCH_PWR5X] (__roundf): Likewise.
12357 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
12358 functions instead of __round variants.
12359 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12360 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12362 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12364 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12366 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
12367 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
12369 (__ieee754_expl): Call roundl instead of __roundl.
12371 2018-09-27 Andreas Schwab <schwab@suse.de>
12374 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
12375 (do_test): Make st1 static.
12377 2018-09-26 Andreas Schwab <schwab@suse.de>
12380 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
12381 * elf/Makefile (tests): Add tst-unwind-ctor.
12382 (modules-names): Add tst-unwind-ctor-lib.
12383 ($(objpfx)tst-unwind-ctor): Depend on
12384 $(objpfx)tst-unwind-ctor-lib.so.
12386 2018-09-26 Joseph Myers <joseph@codesourcery.com>
12388 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
12389 file. Most contents moved from ....
12390 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
12391 and include <bits/mman-map-flags-generic.h>.
12392 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12393 (sysdep_headers): Add bits/mman-map-flags-generic.h.
12394 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
12395 <bits/mman-map-flags-generic.h>.
12396 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
12397 macros defined in <bits/mman-map-flags-generic.h>.
12398 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
12399 <bits/mman-map-flags-generic.h>.
12400 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
12401 defined in <bits/mman-map-flags-generic.h>.
12403 2018-09-26 Andreas Schwab <schwab@suse.de>
12405 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
12408 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
12409 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12410 Fangrui Song <maskray@google.com>
12413 * config.make.in (have-textrel_ifunc): New define.
12414 * configure.ac: Add check if linker supports textrel relocation with
12416 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
12418 (CFLAGS-tst-ifunc-textrel.c): New rule.
12419 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
12420 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
12421 * elf/tst-ifunc-textrel.c: New file.
12423 2018-09-25 Joseph Myers <joseph@codesourcery.com>
12425 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12426 <bits/procfs-prregset.h>.
12427 (prgregset_t): Define using __prgregset_t.
12428 (prfpregset_t): Define using __prfpregset_t.
12429 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12430 (sysdep_headers): Add bits/procfs-prregset.h.
12431 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
12432 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
12433 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
12434 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
12436 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12437 <bits/procfs-id.h> and <bits/procfs-extra.h>.
12438 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
12440 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12441 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
12442 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
12443 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
12444 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
12445 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
12446 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
12447 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
12448 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
12449 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
12450 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
12451 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
12452 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
12453 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
12454 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
12455 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
12456 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
12457 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
12458 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
12459 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
12460 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
12461 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
12462 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12463 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
12465 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
12466 AArch64 version. Include <bits/procfs.h>.
12467 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12468 (sysdep_headers): Add bits/procfs.h.
12469 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
12470 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
12471 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
12472 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
12473 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
12474 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
12475 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
12476 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
12477 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
12478 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
12479 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
12480 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
12481 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
12482 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
12483 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
12484 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12485 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12487 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12489 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
12492 2018-09-25 Arjun Shankar <arjun@redhat.com>
12494 * iconv/gconv_int.h (__gconv_path_elem): Remove.
12495 (__gconv_max_path_elem_len): Likewise.
12496 (__gconv_nmodules): Likewise.
12497 (__gconv_get_path): Likewise.
12498 (path_elem): Move to ...
12499 * iconv/gconv_conf.c: ... here.
12500 (__gconv_get_path): Mark function static.
12501 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
12502 * iconv/gconv_open.c: ... here.
12504 2018-09-24 Andreas Schwab <schwab@suse.de>
12506 * scripts/haveversions.awk: New file.
12507 * Makerules ($(common-objpfx)Versions.def)
12508 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12509 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12511 * Makeconfig ($(common-objpfx)Versions.def)
12512 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12513 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12515 ($(common-objpfx)Versions.mk): New rule. Include it.
12516 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
12517 Emit error if build-obsolete-nsl = yes.
12518 * manual/install.texi (Configuring and compiling): Describe
12519 --enable-obsolete-nsl as unavaiable after version 2.28.
12520 * INSTALL: Regenerate.
12522 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12524 * NEWS: Add note about new TLE support on powerpc64le.
12525 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
12526 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
12528 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
12529 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
12530 * sysdeps/powerpc/powerpc32/sysdep.h,
12531 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
12532 ABORT_TRANSACTION): Remove macros.
12533 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12534 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
12535 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
12536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
12537 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12538 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
12540 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
12542 2018-09-21 Rafał Lużyński <digitalfreak@lingonborough.com>
12545 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
12546 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
12547 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
12548 which is the same as in it_IT.
12549 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
12550 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
12552 2018-09-20 Joseph Myers <joseph@codesourcery.com>
12554 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12555 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
12556 using MATH_REDIRECT.
12557 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
12559 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
12560 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12561 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
12562 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12563 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12564 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
12566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
12567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
12568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
12569 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12570 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12571 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12572 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12573 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
12574 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
12575 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
12576 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12577 (ceil): Redirect to __ceil.
12578 (floor): Redirect to __floor.
12579 (trunc): Redirect to __trunc.
12580 (__truncl): Call trunc instead of __trunc.
12581 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
12583 [_ARCH_PWR5X] (__truncf): Likewise.
12584 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
12585 trunc functions instead of __trunc variants.
12586 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12588 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12590 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12592 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12595 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
12596 [__i586__ || __pentium__].
12597 [__i486__]: Handle explicitly.
12598 (HAS_CPUID): Define to 1 if above macros are undefined.
12599 (HAS_I586): Likewise.
12600 (HAS_I686): Likewise.
12602 2018-09-20 Florian Weimer <fweimer@redhat.com>
12604 * misc/tst-gethostid.c: New file.
12605 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
12606 (tst-gethostid): Link with -ldl.
12608 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
12610 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
12611 value from gethostbyname_r.
12613 2018-09-19 Carlos O'Donell <carlos@redhat.com>
12615 * stdlib/tst-setcontext9.c (f1): Rename to...
12617 (f1b): New function implementing lower half of f1 in alternate stack.
12619 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
12621 Fix mktime localtime offset confusion
12623 * include/time.h (__mktime_internal): The localtime offset is now
12624 of type long int instead of time_t. This is the longstanding type
12625 in glibc, and it is more than enough to represent difference
12626 between localtime and gmtime even if it is 32 bits and time_t is
12627 64. Changing it now will let us avoid an unnecessary change when
12628 time_t is widened to 64 bits on 32-bit platforms.
12629 * time/mktime-internal.h (mktime_offset_t): Now long int.
12631 Merge mktime, timegm from upstream Gnulib
12632 [BZ #23603][BZ #16346]
12633 This fixes some obscure problems with integer overflow.
12634 Although it looks scary, it is almost all a byte-for-byte copy
12635 from Gnulib, and the Gnulib code has been tested reasonably well.
12636 * include/intprops.h: New file, copied from Gnulib.
12637 * include/verify.h, time/mktime-internal.h:
12638 New tiny files, simplified from Gnulib.
12639 * time/mktime.c: Copy from Gnulib. This has the following changes:
12640 Do not include config.h if DEBUG_MKTIME is nonzero.
12641 Include stdbool.h, intprops.h, verify.h.
12642 Include string.h only if needed.
12643 Include stdlib.h on MS-Windows.
12644 Include mktime-internal.h.
12645 (DEBUG_MKTIME): Default to 0, and simplify later uses.
12646 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
12647 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
12648 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
12649 simplify later conditionals; default the others to zero. Use
12650 these conditionals to express only the code needed on the current
12651 platform. In uses of these conditionals, explicitly spell out how
12652 _LIBC affects things, so it’s easier to review from a glibc
12654 (WRAPV): Remove; no longer needed now that we have
12655 systematic overflow checking.
12656 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
12657 compartmentalize tzset issues. Move system-dependent tzsettish
12658 code here from mktime.
12659 (verify): Remove; now done by verify.h. All uses changed.
12660 (long_int): Use a more-conservative definition, to avoid
12662 (SHR): Remove, replacing with ...
12663 (shr): New function, which means we needn’t worry about side
12664 effects in args, and conversion analysis is simpler.
12665 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
12666 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
12667 (time_t_avg, time_t_add_ok): Remove.
12668 (mktime_min, mktime_max): New constants.
12669 (leapyear, isdst_differ): Use bool for booleans.
12670 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
12671 Use long_int, not time_t, for mktime differences.
12672 (long_int_avg): New function, replacing time_t_avg.
12673 INT_ADD_WRAPV replaces time_t_add_ok.
12674 (guess_time_tm): 6th arg is now long_int, not time_t const *.
12676 (convert_time): New function.
12677 (ranged_convert): Use it.
12678 (__mktime_internal): Last arg now points to mktime_offset_t, not
12679 time_t. All uses changed. This is a no-op on glibc, where
12680 mktime_offset_t is always time_t. Use int, not time_t, for UTC
12681 offset guess. Directly check for integer overflow instead of
12682 using a heuristic that works only 99.9...% of the time.
12683 Access *OFFSET only once, to avoid an unlikely race if the
12684 compiler delays a load and if this cascades into a signed integer
12686 (mktime): Move tzsettish code to my_tzset, and move
12687 localtime_offset to within mktime so that it doesn’t
12688 need a separate ifdef.
12689 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
12690 instead of localtime.
12691 * time/timegm.c: Copy from Gnulib. This has the following changes:
12692 Include mktime-internal.h.
12693 [!_LIBC]: Include config.h and time.h. Do not include
12694 timegm.h or time_r.h. Make __mktime_internal a macro,
12695 and include mktime-internal.h to get its declaration.
12696 (timegm): Temporary is now mktime_offset_t, not time_t.
12697 This affects only Gnulib.
12699 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12702 * string/test-strstr.c (pr23637): New function.
12703 (test_main): Add tests with longer needles.
12704 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
12705 * string/strstr.c (AVAILABLE): Likewise.
12707 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12709 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
12711 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12713 * NEWS: Mention pow improvements.
12714 * math/Makefile (type-double-routines): Add e_pow_log_data.
12715 * sysdeps/generic/math_private.h (__exp1): Remove.
12716 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
12717 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
12718 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
12720 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
12721 (exp_inline): Remove.
12722 (__ieee754_exp): Only single double input is handled.
12723 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
12724 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
12725 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
12726 (__pow_log_data): Define.
12727 * sysdeps/ieee754/dbl-64/upow.h: Remove.
12728 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
12729 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
12730 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
12732 (CFLAGS-e_pow-fma4.c): Likewise.
12734 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
12736 Simplify tzfile fstat failure code
12738 * time/tzfile.c (__tzfile_read): Simplify slightly.
12740 Fix tzfile low-memory assertion failure
12742 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
12743 when registering time zone abbreviations.
12745 2018-09-18 Joseph Myers <joseph@codesourcery.com>
12747 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
12748 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
12749 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
12750 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
12751 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
12752 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
12753 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12754 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12755 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12757 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
12759 (__ceill): Call ceil instead of __ceil.
12760 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
12762 (__floorl): Call floor instead of __floor.
12764 2018-09-17 Joseph Myers <joseph@codesourcery.com>
12766 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12767 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
12768 using MATH_REDIRECT.
12769 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
12771 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
12772 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12773 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12774 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
12775 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12776 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12777 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12778 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
12779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
12780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
12781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
12782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
12783 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12784 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12785 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12786 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12787 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
12788 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
12789 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
12791 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
12792 functions instead of __ceil variants.
12793 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12794 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12796 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12798 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12799 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12801 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12802 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12805 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
12807 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
12808 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
12809 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
12810 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
12811 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
12812 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
12813 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
12814 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
12815 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
12816 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
12817 (ILL_BADIADDR): Remove constant.
12818 (TRAP_BRANCH): Likewise.
12819 (TRAP_HWBKPT): Likewise.
12821 2018-09-14 Joseph Myers <joseph@codesourcery.com>
12824 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
12825 Remove [_MIPS_SIM = _ABIN32] conditional case.
12826 (struct elf_prpsinfo): Likewise.
12829 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
12830 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
12831 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
12833 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
12834 elf_prpsinfo): Likewise.
12835 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
12836 elf_prpsinfo): Likewise.
12837 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
12840 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12841 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
12842 using MATH_REDIRECT.
12843 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
12845 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
12846 * sysdeps/alpha/fpu/s_rint.c: Likewise.
12847 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
12848 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12849 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12850 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12851 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
12852 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12853 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12854 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12855 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
12856 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
12857 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
12858 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
12859 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
12860 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12861 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12862 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12863 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
12865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
12866 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
12867 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
12868 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
12869 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
12870 * sysdeps/x86_64/fpu/math_private.h: Remove file.
12871 * math/e_scalb.c (invalid_fn): Use rint functions instead of
12873 * math/e_scalbf.c (invalid_fn): Likewise.
12874 * math/e_scalbl.c (invalid_fn): Likewise.
12875 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12877 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12879 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12880 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
12881 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12883 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12885 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12887 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
12888 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
12890 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12891 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
12893 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12894 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
12895 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12896 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
12897 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12898 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
12899 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12900 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
12901 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12902 && !NO_MATH_REDIRECT] (floor): Likewise.
12903 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
12905 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
12906 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12907 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12908 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
12909 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12910 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12911 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12912 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
12913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
12914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
12915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
12916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
12917 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12918 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12919 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12920 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12921 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
12922 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
12923 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
12925 [_ARCH_PWR5X] (__floorf): Likewise.
12926 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
12928 [__SSE4_1__] (__floorf): Likewise.
12929 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
12930 instead of __floor variants.
12931 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
12932 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
12933 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
12934 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
12935 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
12936 * math/w_tgamma_compat.c (__tgamma): Likewise.
12937 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
12938 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
12939 * math/w_tgammal_compat.c (__tgammal): Likewise.
12940 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
12941 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12943 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12944 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
12945 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12946 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12948 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12949 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
12951 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12952 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
12954 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12955 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
12957 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12958 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12959 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
12960 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
12961 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12962 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12964 2018-09-12 Joseph Myers <joseph@codesourcery.com>
12966 * elf/Makefile (modules-names-tests): New variable.
12968 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12970 * NEWS: Mention log2 improvements.
12971 * math/Makefile (type-double-routines): Add e_log2_data.
12972 * sysdeps/i386/fpu/e_log2_data.c: New file.
12973 * sysdeps/ia64/fpu/e_log2_data.c: New file.
12974 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
12975 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
12976 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
12977 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
12978 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
12980 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12982 * NEWS: Mention log improvement.
12983 * math/Makefile (type-double-routines): Add e_log_data.
12984 * sysdeps/i386/fpu/e_log_data.c: New file.
12985 * sysdeps/ia64/fpu/e_log_data.c: New file.
12986 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
12987 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
12988 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
12989 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
12990 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
12991 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
12993 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
12994 Xuepeng Guo <xuepeng.guo@intel.com>
12997 * sysdeps/i386/start.S: Include <sysdep.h>
12998 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
12999 enabled. Add cfi_undefined (eip).
13001 2018-09-11 Joseph Myers <joseph@codesourcery.com>
13003 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
13005 (EXTRACT_WORDS64): Likewise.
13006 (INSERT_WORDS64): Likewise.
13007 (GET_FLOAT_WORD): Likewise.
13008 (SET_FLOAT_WORD): Likewise.
13010 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
13012 (Config.build_gcc): Use --disable-libsanitizer for first GCC
13013 build, but not for second build if --full-gcc. Use
13014 --enable-languages=all for second build if --full-gcc.
13015 (get_parser): Add --full-gcc option.
13016 (main): Update call to Context.
13018 2018-09-10 Rafał Lużyński <digitalfreak@lingonborough.com>
13021 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
13022 Single Quotation Mark).
13023 (thousands_sep): Likewise.
13024 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
13025 * localedata/locales/it_IT (thousands_sep): Use ".".
13026 (grouping): Use "3;3".
13028 2018-09-10 Joseph Myers <joseph@codesourcery.com>
13030 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
13031 x86_64 and i686 configs using --enable-obsolete-rpc
13032 --enable-obsolete-nsl.
13034 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
13036 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13038 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
13040 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
13041 Increment size of new_argv by one.
13043 2018-09-05 Rafał Lużyński <digitalfreak@lingonborough.com>
13046 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
13047 * localedata/locales/ar_IN (d_fmt): Likewise.
13048 * localedata/locales/bhb_IN (d_fmt): Likewise.
13049 * localedata/locales/bho_IN (d_fmt): Likewise.
13050 * localedata/locales/bn_BD (d_fmt): Likewise.
13051 * localedata/locales/bn_IN (d_fmt): Likewise.
13052 * localedata/locales/doi_IN (d_fmt): Likewise.
13053 * localedata/locales/gu_IN (d_fmt): Likewise.
13054 * localedata/locales/hi_IN (d_fmt): Likewise.
13055 * localedata/locales/hne_IN (d_fmt): Likewise.
13056 * localedata/locales/kn_IN (d_fmt): Likewise.
13057 * localedata/locales/mag_IN (d_fmt): Likewise.
13058 * localedata/locales/mai_IN (d_fmt): Likewise.
13059 * localedata/locales/mjw_IN (d_fmt): Likewise.
13060 * localedata/locales/ml_IN (d_fmt): Likewise.
13061 * localedata/locales/mni_IN (d_fmt): Likewise.
13062 * localedata/locales/mr_IN (d_fmt): Likewise.
13063 * localedata/locales/pa_IN (d_fmt): Likewise.
13064 * localedata/locales/raj_IN (d_fmt): Likewise.
13065 * localedata/locales/sat_IN (d_fmt): Likewise.
13066 * localedata/locales/sd_IN (d_fmt): Likewise.
13067 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
13068 * localedata/locales/ta_IN (d_fmt): Likewise.
13069 * localedata/locales/ta_LK (d_fmt): Likewise.
13070 * localedata/locales/tcy_IN (d_fmt): Likewise.
13071 * localedata/locales/ur_IN (d_fmt): Likewise.
13073 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
13074 * localedata/locales/ks_IN (d_fmt): Likewise.
13075 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
13077 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
13078 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
13079 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
13080 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
13082 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
13084 * NEWS: Mention exp and exp2 improvements.
13085 * math/Makefile (libm-support): Remove t_exp.
13086 (type-double-routines): Add math_err and e_exp_data.
13087 * sysdeps/aarch64/libm-test-ulps: Update.
13088 * sysdeps/arm/libm-test-ulps: Update.
13089 * sysdeps/i386/fpu/e_exp_data.c: New file.
13090 * sysdeps/i386/fpu/math_err.c: New file.
13091 * sysdeps/i386/fpu/t_exp.c: Remove.
13092 * sysdeps/ia64/fpu/e_exp_data.c: New file.
13093 * sysdeps/ia64/fpu/math_err.c: New file.
13094 * sysdeps/ia64/fpu/t_exp.c: Remove.
13095 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
13096 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
13097 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
13098 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
13099 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
13100 * sysdeps/ieee754/dbl-64/math_config.h: New file.
13101 * sysdeps/ieee754/dbl-64/math_err.c: New file.
13102 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
13103 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
13104 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
13105 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
13106 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
13107 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
13108 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
13109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13110 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13112 2018-09-05 Joseph Myers <joseph@codesourcery.com>
13114 * sysdeps/alpha/fpu/math_private.h: Remove.
13116 * sysdeps/generic/math_private.h
13117 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
13118 Move this inline function ....
13119 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
13120 * include/math.h [!_ISOMAC]: To here....
13122 2018-09-04 Joseph Myers <joseph@codesourcery.com>
13124 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
13126 [!FE_HAVE_ROUNDING_MODES]: And this code ....
13127 * include/fenv.h [!_ISOMAC]: ... to here.
13128 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
13129 (feraiseexcept): Likewise.
13130 * math/fromfp.h: Do not include <fenv_private.h>.
13131 * math/s_cexp_template.c: Likewise.
13132 * math/s_csin_template.c: Likewise.
13133 * math/s_csinh_template.c: Likewise.
13134 * math/s_ctan_template.c: Likewise.
13135 * math/s_ctanh_template.c: Likewise.
13136 * math/s_iseqsig_template.c: Likewise.
13137 * math/w_acos_compat.c: Likewise.
13138 * math/w_acosf_compat.c: Likewise.
13139 * math/w_acosl_compat.c: Likewise.
13140 * math/w_asin_compat.c: Likewise.
13141 * math/w_asinf_compat.c: Likewise.
13142 * math/w_asinl_compat.c: Likewise.
13143 * math/w_j0_compat.c: Likewise.
13144 * math/w_j0f_compat.c: Likewise.
13145 * math/w_j0l_compat.c: Likewise.
13146 * math/w_j1_compat.c: Likewise.
13147 * math/w_j1f_compat.c: Likewise.
13148 * math/w_j1l_compat.c: Likewise.
13149 * math/w_jn_compat.c: Likewise.
13150 * math/w_jnf_compat.c: Likewise.
13151 * math/w_log10_compat.c: Likewise.
13152 * math/w_log10f_compat.c: Likewise.
13153 * math/w_log10l_compat.c: Likewise.
13154 * math/w_log2_compat.c: Likewise.
13155 * math/w_log2f_compat.c: Likewise.
13156 * math/w_log2l_compat.c: Likewise.
13157 * math/w_log_compat.c: Likewise.
13158 * math/w_logf_compat.c: Likewise.
13159 * math/w_logl_compat.c: Likewise.
13160 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13161 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13162 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13163 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13164 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13165 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13166 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13167 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13168 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13169 * sysdeps/ieee754/k_standardl.c: Likewise.
13170 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13171 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13172 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13173 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13174 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13175 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13176 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13177 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13178 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13179 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13180 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13181 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13182 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13183 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13184 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13185 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13186 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13187 * math/w_ilogb_template.c: Include <fenv.h> instead of
13189 * math/w_llogb_template.c: Likewise.
13190 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13191 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13193 2018-09-03 Joseph Myers <joseph@codesourcery.com>
13195 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
13196 * math/fromfp.h: Include <fenv_private.h>.
13197 * math/math-narrow.h: Likewise.
13198 * math/s_cexp_template.c: Likewise.
13199 * math/s_csin_template.c: Likewise.
13200 * math/s_csinh_template.c: Likewise.
13201 * math/s_ctan_template.c: Likewise.
13202 * math/s_ctanh_template.c: Likewise.
13203 * math/s_iseqsig_template.c: Likewise.
13204 * math/w_acos_compat.c: Likewise.
13205 * math/w_acosf_compat.c: Likewise.
13206 * math/w_acosl_compat.c: Likewise.
13207 * math/w_asin_compat.c: Likewise.
13208 * math/w_asinf_compat.c: Likewise.
13209 * math/w_asinl_compat.c: Likewise.
13210 * math/w_ilogb_template.c: Likewise.
13211 * math/w_j0_compat.c: Likewise.
13212 * math/w_j0f_compat.c: Likewise.
13213 * math/w_j0l_compat.c: Likewise.
13214 * math/w_j1_compat.c: Likewise.
13215 * math/w_j1f_compat.c: Likewise.
13216 * math/w_j1l_compat.c: Likewise.
13217 * math/w_jn_compat.c: Likewise.
13218 * math/w_jnf_compat.c: Likewise.
13219 * math/w_llogb_template.c: Likewise.
13220 * math/w_log10_compat.c: Likewise.
13221 * math/w_log10f_compat.c: Likewise.
13222 * math/w_log10l_compat.c: Likewise.
13223 * math/w_log2_compat.c: Likewise.
13224 * math/w_log2f_compat.c: Likewise.
13225 * math/w_log2l_compat.c: Likewise.
13226 * math/w_log_compat.c: Likewise.
13227 * math/w_logf_compat.c: Likewise.
13228 * math/w_logl_compat.c: Likewise.
13229 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
13230 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
13231 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
13232 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
13233 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13234 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13235 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13236 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13237 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13238 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13239 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13240 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13241 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
13242 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13243 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13244 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13245 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13246 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13247 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13248 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13249 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13250 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13251 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13252 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13253 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13254 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13255 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13256 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13257 * sysdeps/ieee754/float128/float128_private.h: Likewise.
13258 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13259 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13260 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13261 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13262 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13263 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13264 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13265 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13266 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13267 * sysdeps/ieee754/k_standardl.c: Likewise.
13268 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13269 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13270 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13271 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13272 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13273 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13274 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13275 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13276 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13277 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13278 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13279 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13280 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13281 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13282 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13283 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13284 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13285 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13286 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13287 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13288 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13289 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13290 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13291 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13292 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13293 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13294 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13295 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13296 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13297 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13298 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13299 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13300 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13301 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13302 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13303 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13304 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13305 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13306 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
13307 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13308 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
13309 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
13310 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
13311 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13312 * sysdeps/riscv/rvd/s_finite.c: Likewise.
13313 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
13314 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
13315 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
13316 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
13317 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
13318 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
13319 * sysdeps/riscv/rvf/fegetround.c: Likewise.
13320 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
13321 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
13322 * sysdeps/riscv/rvf/fesetround.c: Likewise.
13323 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
13324 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
13325 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
13326 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13327 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
13328 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13329 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
13330 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
13331 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
13332 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
13333 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
13334 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
13335 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
13336 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
13337 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
13338 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13340 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13343 * include/stdio.h (__libc_fatal): Mention newline in comment.
13344 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
13345 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
13346 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13347 * nss/nsswitch.c (__nss_next2): Likewise.
13348 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
13349 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
13350 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
13351 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13352 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
13353 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
13354 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
13355 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
13356 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
13357 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
13358 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
13359 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13360 (__netlink_assert_response): Likewise.
13362 2018-08-31 Joseph Myers <joseph@codesourcery.com>
13364 * conform/glibcconform.py: New file.
13365 * conform/list-header-symbols.py: Likewise.
13366 * conform/list-header-symbols.pl: Remove.
13367 * conform/Makefile (tests-special): Only add linknamespace tests
13369 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
13371 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
13374 * support/Makefile (libsupport-routines): Add
13375 support_copy_file_range and xcopy_file_range.
13376 * support/support.h: Include <sys/types.h>.
13377 (support_copy_file_range): New prototype.
13378 * support/support_copy_file_range.c: New file. Copied and
13379 modified from io/copy_file_range-compat.c.
13380 * support/test-container.c (copy_one_file): Call xcopy_file_rang
13381 instead of copy_file_range.
13382 * support/xcopy_file_range.c: New file.
13383 * support/xunistd.h (xcopy_file_range): New prototype.
13385 2018-08-30 Carlos O'Donell <carlos@redhat.com>
13387 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
13388 xpthread_create and xpthread_join.
13390 2018-08-30 Florian Weimer <fweimer@redhat.com>
13392 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
13394 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
13396 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
13399 2018-08-29 Joseph Myers <joseph@codesourcery.com>
13401 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
13402 and minus_oflow as non-finite.
13404 2018-08-28 Joseph Myers <joseph@codesourcery.com>
13406 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
13407 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
13408 moved to fenv_private.h except for ...
13409 (TOINT_INTRINSICS): Kept in math_private.h.
13410 (roundtoint): Likewise.
13411 (converttoint): Likewise.
13412 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
13413 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13414 * sysdeps/arm/math_private.h: Remove.
13415 * sysdeps/generic/fenv_private.h: New file. Contents moved from
13417 * sysdeps/generic/math_private.h: ... this file. Include
13418 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
13419 Include <fenv_private.h>. Remove functions and macros moved to
13421 * sysdeps/i386/fpu/math_private.h: Remove.
13422 * sysdeps/mips/math_private.h: Move to ....
13423 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
13424 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
13425 [__mips_hard_float] conditional. Include next <fenv_private.h>.
13426 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
13427 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13428 * sysdeps/powerpc/fpu/math_private.h: Do not include
13430 * sysdeps/riscv/rvf/math_private.h: Move to ....
13431 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
13432 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
13434 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
13435 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13436 * sysdeps/sparc/fpu/math_private.h: Remove.
13437 * sysdeps/i386/fpu/fenv_private.h: Move to ....
13438 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
13439 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
13441 * sysdeps/x86_64/fpu/math_private.h: Do not include
13442 <sysdeps/i386/fpu/fenv_private.h>.
13444 2018-08-28 Florian Weimer <fweimer@redhat.com>
13447 * posix/tst-regcomp-truncated.c: New file.
13448 * posix/Makefile (tests): Add it.
13449 (tst-regcomp-truncated.out): Depend on generated locales.
13451 2018-08-28 Florian Weimer <fweimer@redhat.com>
13453 * support/test-container.c (main): Treat unshare failure with
13454 EPERM as an unsupported test.
13456 2018-08-28 Florian Weimer <fweimer@redhat.com>
13459 nscd: Fix use-after-free in addgetnetgrentX and its callers.
13460 * nscd/netgroupcache.c
13461 (addgetnetgrentX): Add tofreep parameter. Do not free
13462 heap-allocated buffer.
13463 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
13464 (addgetnetgrentX_ignore): New function.
13465 (addgetnetgrent): Call it.
13466 (readdgetnetgrent): Likewise.
13468 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13470 * string/memmem.c: Use memcmp for first match.
13472 2018-08-28 Rafał Lużyński <digitalfreak@lingonborough.com>
13475 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
13477 2018-08-27 DJ Delorie <dj@redhat.com>
13479 * support/Makefile (others): Don't list programs explicitly as a
13480 dependency of "others".
13482 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13484 * sysdeps/generic/math-tests-trap-force.h: New file.
13485 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
13486 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
13487 * sysdeps/powerpc/math-tests.h: Remove file.
13488 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
13490 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
13491 Torvald Riegel <triegel@redhat.com>
13494 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
13495 Update r to include the set wake-request flag if waiters are
13496 remaining after spinning.
13498 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13500 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
13502 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
13505 regex: fix uninitialized memory access
13506 I introduced this bug into gnulib in commit
13507 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
13508 eventually it was merged into glibc. The bug was found by
13509 project-repo <bugs@feusi.co> and reported here:
13510 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
13511 Diagnosis and draft fix reported by Assaf Gordon here:
13512 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
13513 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
13514 * posix/regex_internal.c (build_wcs_upper_buffer):
13515 Fix bug when mbrtowc returns 0.
13517 2018-08-24 Carlos O'Donell <carlos@redhat.com>
13519 * po/be.po: Update translation.
13521 2018-08-24 DJ Delorie <dj@delorie.com>
13523 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
13526 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13529 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
13530 create temporary files in source tree.
13532 2018-08-24 Joseph Myers <joseph@codesourcery.com>
13534 * sysdeps/generic/math-tests-trap.h: New file.
13535 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
13536 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
13537 * sysdeps/aarch64/math-tests.h: Remove file.
13538 * sysdeps/arm/math-tests.h: Likewise.
13539 * sysdeps/riscv/math-tests.h: Likewise.
13540 * sysdeps/aarch64/math-tests-trap.h: New file.
13541 * sysdeps/arm/math-tests-trap.h: Likewise.
13542 * sysdeps/riscv/math-tests-trap.h: Likewise.
13544 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13546 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
13547 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
13548 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
13549 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
13550 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
13551 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
13552 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13553 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
13554 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
13555 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13556 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13557 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13558 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13559 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
13560 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
13561 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
13562 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13563 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13565 2018-08-23 Joseph Myers <joseph@codesourcery.com>
13567 * sysdeps/generic/math-tests-exceptions.h: New file.
13568 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
13569 (EXCEPTION_TESTS_float): Do not define here.
13570 (EXCEPTION_TESTS_double): Likewise.
13571 (EXCEPTION_TESTS_long_double): Likewise.
13572 (EXCEPTION_TESTS_float128): Likewise.
13573 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
13575 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
13576 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
13577 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
13578 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
13579 * sysdeps/mips/math-tests.h: Likewise.
13580 * sysdeps/nios2/math-tests.h: Likewise.
13581 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13582 (EXCEPTION_TESTS_float): Do not define here.
13583 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
13584 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
13585 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
13587 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13589 * NEWS: Move optimized sinf entry to 2.29.
13591 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13593 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
13595 2018-08-22 DJ Delorie <dj@redhat.com>
13597 * Makefile (testroot.pristine): New rules to initialize the
13598 test-in-container "testroot".
13599 * Makerules (all-testsuite): Add tests-container.
13600 * Rules (tests-expected): Add tests-container.
13601 (binaries-all-tests): Likewise.
13602 (tests-container): New, run these tests in the testroot container.
13603 * support/Makefile (others): Add *-container, support_paths.c,
13604 xmkdirp, and links-dso-program.
13605 * support/links-dso-program-c.c: New.
13606 * support/links-dso-program.cc: New.
13607 * support/test-container.c: New.
13608 * support/shell-container.c: New.
13609 * support/echo-container.c: New.
13610 * support/true-container.c: New.
13611 * support/xmkdirp.c: New.
13612 * support/xsymlink.c: New.
13613 * support/support_paths.c: New.
13614 * support/support.h: Add support paths prototypes.
13615 * support/xunistd.h: Add xmkdirp () and xsymlink ().
13617 * nss/tst-nss-test3.c: Convert to test-in-container.
13618 * nss/tst-nss-test3.root/: New.
13620 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
13622 regex: port Gnulib code to z/OS POSIX environment
13623 Problem reported by Arnold Robbins in:
13624 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
13625 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
13628 2018-08-22 Joseph Myers <joseph@codesourcery.com>
13630 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
13631 (ROUNDING_TESTS_double): Remove.
13632 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
13633 (ROUNDING_TESTS_double): Remove.
13634 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
13635 (ROUNDING_TESTS_double): Remove.
13636 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
13637 (ROUNDING_TESTS_float): Remove.
13638 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
13639 (ROUNDING_TESTS_float): Remove.
13640 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
13641 (ROUNDING_TESTS_float): Remove.
13642 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
13643 !TEST_MATHVEC here.
13644 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13645 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13647 * sysdeps/generic/math-tests-rounding.h: New file.
13648 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
13649 (ROUNDING_TESTS_float): Do not define here.
13650 (ROUNDING_TESTS_double): Likewise.
13651 (ROUNDING_TESTS_long_double): Likewise.
13652 (ROUNDING_TESTS_float128): Likewise.
13653 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
13654 (ROUNDING_TESTS_double): Undefine before defining.
13655 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
13656 (ROUNDING_TESTS_double): Undefine before defining.
13657 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
13658 (ROUNDING_TESTS_double): Undefine before defining.
13659 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
13660 (ROUNDING_TESTS_float): Undefine before defining.
13661 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
13662 (ROUNDING_TESTS_float): Undefine before defining.
13663 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
13664 (ROUNDING_TESTS_float): Undefine before defining.
13665 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
13666 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
13668 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
13669 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
13670 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
13671 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13672 (ROUNDING_TESTS_float): Do not define here.
13673 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
13674 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
13675 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
13676 (ROUNDING_TESTS_float): Likewise.
13677 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
13678 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
13679 * sysdeps/mips/math-tests.h [__mips_soft_float]
13680 (ROUNDING_TESTS_float): Likewise.
13681 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
13682 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
13683 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
13684 (ROUNDING_TESTS_double): Likewise.
13685 (ROUNDING_TESTS_long_double): Likewise.
13687 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
13689 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
13690 (PF_XDP): New macro.
13691 (AF_XDP): New macro.
13692 (SOL_XDP): New macro.
13694 2018-08-21 Joseph Myers <joseph@codesourcery.com>
13696 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
13697 (TCP_INQ): Likewise.
13698 (TCP_CM_INQ): Likewise.
13699 (TCP_REPAIR_ON): Likewise.
13700 (TCP_REPAIR_OFF): Likewise.
13701 (TCP_REPAIR_OFF_NO_WP): Likewise.
13702 (struct tcp_zerocopy_receive): New type.
13704 2018-08-21 Florian Weimer <fweimer@redhat.com>
13706 * support/support.h (support_descriptor_supports_holes): Declare.
13707 * support/Makefile (libsupport-routines): Add
13708 support_descriptor_supports_holes.
13709 * support/support_descriptor_supports_holes.c: New file.
13710 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
13711 and stop testing if holes are not supported.
13712 * io/test-lfs.c (do_prepare): Likewise.
13713 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
13715 * timezone/tst-tzset.c (create_tz_file): Likewise.
13716 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
13718 (do_prepare): Set it.
13719 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
13721 2018-08-21 Florian Weimer <fweimer@redhat.com>
13724 * Makeconfig (+cflags): Do not sort (and deduplicate).
13726 2018-08-21 Florian Weimer <fweimer@redhat.com>
13728 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
13729 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
13731 2018-08-20 Florian Weimer <fweimer@redhat.com>
13733 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
13734 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
13736 2018-08-20 Joseph Myers <joseph@codesourcery.com>
13738 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
13739 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
13740 and ssi_arch members.
13742 * elf/elf.c (NT_VMCOREDD): New macro.
13743 (AT_MINSIGSTKSZ): Likewise.
13745 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13747 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13748 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
13749 s_cosf-ppc64 and s_cosf-power8.
13750 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
13751 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13752 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13753 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
13755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
13756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
13757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
13758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13760 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
13761 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13763 2018-08-17 Florian Weimer <fweimer@redhat.com>
13765 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13767 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
13769 * malloc/malloc.c (_int_malloc): Additional binning code checks.
13771 2018-08-16 Florian Weimer <fweimer@redhat.com>
13773 * configure.ac: Add --with-nonshared-cflags option.
13774 * config.make.in (extra-nonshared-cflags): Set variable.
13775 * Makeconfig (CFLAGS-.oS): Use it.
13776 * manual/install.texi (Configuring and compiling): Document
13777 --with-nonshared-cflags.
13778 * configure: Regenerate.
13779 * INSTALL: Likewise.
13781 2018-08-16 Florian Weimer <fweimer@redhat.com>
13783 * Makeconfig (ASFLAGS): Always append required assembler flags.
13785 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
13787 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
13788 (malloc_consolidate): Likewise.
13790 2018-08-16 Pochang Chen <johnchen902@gmail.com>
13792 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
13794 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
13796 * benchtests/bench-strlen.c (do_test): Allocate buffers before
13799 * benchtests/bench-strlen.c: Print performance numbers in json.
13801 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13803 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13804 (sysdep_routines): Build strcmp-power9 and strncmp-power9
13805 only for little endian.
13806 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13807 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
13808 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
13809 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
13810 Add check for little endian.
13811 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13812 (__strcmp_power9): Add check for little endian.
13813 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
13814 Add check for little endian.
13815 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13816 (__strncmp_power9): Add check for little endian.
13817 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
13818 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
13819 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
13820 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
13821 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
13823 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13825 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
13826 [!STRLEN](STRLEN): Set to __strlen.
13827 * sysdeps/aarch64/multiarch/strlen.c: New file.
13828 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
13829 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
13830 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
13831 (__libc_ifunc_impl_list): Add strlen.
13832 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13833 strlen_generic and strlen_asimd.
13835 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13837 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
13838 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
13839 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13841 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13843 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
13845 2018-08-14 Florian Weimer <fweimer@redhat.com>
13848 * include/stdio.h (__vfxprintf): Declare.
13849 * stdio-common/fxprintf.c (__vfxprintf): New function.
13850 (__fxprintf): Call it.
13851 * misc/err.c (convert_and_print): Remove function.
13852 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
13853 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
13854 * misc/Makefile (tests): Add tst-warn-wide.
13855 * misc/tst-warn-wide.c: New file.
13857 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
13858 Szabolcs Nagy <szabolcs.nagy@arm.com>
13860 * NEWS: Mention sinf, cosf, sincosf.
13861 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
13862 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
13863 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
13864 constants rather than including generic sincosf.h.
13865 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
13866 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
13867 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
13868 (reduced_cos): Remove.
13869 (sinf_poly): New function.
13870 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
13872 2018-08-14 Florian Weimer <fweimer@redhat.com>
13876 * nss/nss_files/files-alias.c (get_next_alias): During :include:
13877 processing, bail out if no room, and close the stream before
13879 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
13880 (tst-nss-files-alias-leak): Link with libdl.
13881 (tst-nss-files-alias-leak.out): Depend on nss_files.
13883 * nss/tst-nss-files-alias-leak.c: New file.
13885 2018-08-14 Florian Weimer <fweimer@redhat.com>
13887 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
13888 server_user, stat_user.
13890 2018-08-13 Joseph Myers <joseph@codesourcery.com>
13892 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13894 (io_pgetevents): New syscall.
13897 * manual/install.texi (Configuring and compiling): Do not list
13898 tools used for testing pretty printers here.
13899 (Tools for Compilation): List Python, PExpect and GDB here.
13900 Update descriptions of uses of Perl and Python.
13901 * INSTALL: Regenerate.
13903 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13906 2018-08-13 Florian Weimer <fweimer@redhat.com>
13908 * misc/error.c (error): Add missing va_end call.
13909 (error_at_line): Likewise.
13911 2018-08-13 Florian Weimer <fweimer@redhat.com>
13913 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
13915 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13917 * benchtests/scripts/benchout.schema.json (properties): Add
13920 * benchtests/bench-skeleton.c (main): Add duration and
13921 iterations attributes.
13923 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
13925 regex: Gnulib unibyte RRI uses bytes not chars
13926 Adjust the non-glibc code to agree with what Gawk needs for
13927 rational range interpretation (RRI) for regular expression ranges.
13928 In unibyte locales, Gawk wants ranges to use the underlying byte
13929 rather than the character code point. This change does not affect
13931 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
13932 In unibyte locales, use the byte value rather than
13933 running it through btowc.
13935 2018-08-10 Joseph Myers <joseph@codesourcery.com>
13937 * sysdeps/generic/math-tests-snan.h: New file.
13938 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
13939 (SNAN_TESTS_float): Do not define here.
13940 (SNAN_TESTS_double): Likewise.
13941 (SNAN_TESTS_long_double): Likewise.
13942 (SNAN_TESTS_float128): Likewise.
13943 * sysdeps/i386/fpu/math-tests-snan.h: New file.
13944 * sysdeps/i386/fpu/math-tests.h: Remove file.
13945 * sysdeps/ia64/math-tests-snan.h: New file.
13946 * sysdeps/ia64/math-tests.h: Remove file.
13947 * sysdeps/x86/math-tests.h: Likewise.
13948 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
13950 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13951 Szabolcs Nagy <szabolcs.nagy@arm.com>
13953 * math/Makefile: Add s_sincosf_data.c.
13954 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
13955 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
13956 (sincosf_poly): Likewise.
13957 (reduce_small): Likewise.
13958 (reduce_large): Likewise.
13959 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
13960 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
13961 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
13962 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
13964 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13965 Szabolcs Nagy <szabolcs.nagy@arm.com>
13967 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
13968 (converttoint): Use lround.
13969 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
13970 document the semantics when TOINT_INTRINSICS is set.
13971 (converttoint): Likewise.
13972 (TOINT_RINT): Remove.
13973 (TOINT_SHIFT): Remove.
13974 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
13977 2018-08-10 Florian Weimer <fweimer@redhat.com>
13980 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
13982 (__old_getdents64): Use getdents64. Convert entries without
13984 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
13985 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
13986 tst-readdir64-compat.
13988 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13990 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
13993 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13995 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
13996 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
13997 code to s390x-mcount.h and #include it.
13998 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
13999 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
14002 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14004 * stdlib/Versions: Remove __fentry__.
14005 * sysdeps/i386/Versions: Add __fentry__.
14006 * sysdeps/x86_64/Versions: Add __fentry__.
14008 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14010 * sysdeps/s390/Makefile: Register the new tests.
14011 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
14012 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
14013 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
14014 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
14015 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
14016 * sysdeps/s390/tst-dl-runtime.c: New file.
14018 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14020 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14023 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14025 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14028 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14030 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14033 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14035 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14038 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14040 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14041 Use symbolic offsets for stack variables.
14043 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14045 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14046 Use symbolic offsets for stack variables.
14048 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14050 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14051 Use symbolic offsets for stack variables.
14053 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14055 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14056 Use symbolic offsets for stack variables.
14058 2018-08-09 Joseph Myers <joseph@codesourcery.com>
14060 * math/gen-libm-test.py: New file.
14061 * math/gen-libm-test.pl: Remove.
14062 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
14063 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
14065 ($(libm-test-c-noauto-obj)): Likewise.
14066 ($(libm-test-c-auto-obj)): Likewise.
14067 ($(libm-test-c-narrow-obj)): Likewise.
14068 (regen-ulps): Likewise.
14069 * math/README.libm-test: Update references to gen-libm-test.pl.
14070 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
14071 referencing gen-libm-test.pl.
14072 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
14073 * math/libm-test-support.c: Likewise.
14074 * math/libm-test-support.h: Likewise.
14075 * sysdeps/generic/libm-test-ulps: Likewise.
14077 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
14079 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
14082 2018-08-08 Joseph Myers <joseph@codesourcery.com>
14084 * math/libm-test-nextdown.inc (do_test): Move comment to ....
14085 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
14087 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
14089 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
14091 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
14092 __pthread_setspecific): Add hidden proto.
14093 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
14094 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
14096 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14098 * benchtests/bench-string.h (buf1_size, buf2_size): New
14100 (init_sizes): New function.
14101 (test_init): Use it.
14102 (alloc_buf, exit_error): New functions.
14103 (alloc_bufs): Use ALLOC_BUF.
14104 (realloc_bufs): Remove.
14105 * benchtests/bench-memcmp.c (do_test): Adjust.
14106 * benchtests/bench-memset-large.c (do_test): Likewise.
14107 * benchtests/bench-memset-walk.c (do_test): Likewise.
14108 * benchtests/bench-memset.c (do_test): Likewise.
14109 * benchtests/bench-strncmp.c (do_test): Likewise.
14111 2018-08-06 Andreas Schwab <schwab@suse.de>
14113 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
14114 of CONST_THREAD_AREA.
14116 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
14118 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
14119 (STATE_SAVE_MASK): Likewise.
14120 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
14121 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
14122 (STATE_SAVE_MASK): Likewise.
14123 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
14124 instead of <cpu-features.h>.
14126 2018-08-03 DJ Delorie <dj@redhat.com>
14128 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
14129 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
14131 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
14133 2018-08-03 Joseph Myers <joseph@codesourcery.com>
14135 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
14136 after TEST_* calls.
14137 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
14138 * math/libm-test-logb.inc (logb_test_data): Likewise.
14140 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
14142 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
14143 * string/strstr.c (AVAILABLE): Likewise.
14145 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14147 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
14149 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
14150 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
14151 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
14153 2018-08-03 Carlos O'Donell <carlos@redhat.com>
14155 * po/be.po: Update translation.
14157 * po/be.po: Update translation.
14159 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14161 * sysdeps/x86/cpu-features-offsets.sym
14162 (rtld_global_ro_offsetof): Removed.
14163 (CPU_FEATURES_SIZE): Likewise.
14164 (CPUID_OFFSET): Likewise.
14165 (CPUID_SIZE): Likewise.
14166 (CPUID_EAX_OFFSET): Likewise.
14167 (CPUID_EBX_OFFSET): Likewise.
14168 (CPUID_ECX_OFFSET): Likewise.
14169 (CPUID_EDX_OFFSET): Likewise.
14170 (FAMILY_OFFSET): Likewise.
14171 (MODEL_OFFSET): Likewise.
14172 (FEATURE_OFFSET): Likewise.
14173 (FEATURE_SIZ): Likewise.
14174 (COMMON_CPUID_INDEX_1): Likewise.
14175 (COMMON_CPUID_INDEX_7): Likewise.
14176 (FEATURE_INDEX_1): Likewise.
14177 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
14179 2018-08-02 Carlos O'Donell <carlos@redhat.com>
14181 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
14182 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
14183 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
14184 (install-locales): Depend on install-locale-archive.
14185 (install-locale-archive): Define.
14186 (install-locale-files): Define.
14187 (build-one-locale): Define macro.
14188 * manual/install.texi (Running make install): Document.
14189 * manual/INSTALL: Regenerate.
14191 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14193 * benchtests/scripts/compare_strings.py: Import traceback.
14194 (parse_file): Pretty-print error.
14196 * NEWS: Mention the change.
14197 * elf/dl-tunables.list: Rename tune namespace to cpu.
14198 * sysdeps/powerpc/dl-tunables.list: Likewise.
14199 * sysdeps/x86/dl-tunables.list: Likewise.
14200 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
14202 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
14203 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
14204 * manual/README.tunables: Likewise.
14205 * manual/tunables.texi: Likewise.
14206 * sysdeps/powerpc/cpu-features.c: Likewise.
14207 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
14208 (init_cpu_features): Likewise.
14209 * sysdeps/x86/cpu-features.c: Likewise.
14210 * sysdeps/x86/cpu-features.h: Likewise.
14211 * sysdeps/x86/cpu-tunables.c: Likewise.
14212 * sysdeps/x86_64/Makefile: Likewise.
14213 * sysdeps/x86/dl-cet.c: Likewise.
14215 2018-08-02 Joseph Myers <joseph@codesourcery.com>
14218 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
14219 [__mips_hard_float].
14220 (FE_UNDERFLOW): Likewise.
14221 (FE_OVERFLOW): Likewise.
14222 (FE_DIVBYZERO): Likewise.
14223 (FE_INVALID): Likewise.
14224 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
14225 (FE_TOWARDZERO): Define only if [__mips_hard_float].
14226 (FE_UPWARD): Likewise.
14227 (FE_DOWNWARD): Likewise.
14228 (__FE_UNDEFINED): Define if [!__mips_hard_float]
14229 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
14230 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
14231 [__mips_hard_float].
14232 (FP_ROUNDMODE): Likewise.
14233 (FP_RND_NEAREST): Likewise.
14234 (FP_RND_ZERO): Likewise.
14235 (FP_RND_PINF): Likewise.
14236 (FP_RND_MINF): Likewise.
14237 (FP_EX_INVALID): Likewise.
14238 (FP_EX_OVERFLOW): Likewise.
14239 (FP_EX_UNDERFLOW): Likewise.
14240 (FP_EX_DIVZERO): Likewise.
14241 (FP_EX_INEXACT): Likewise.
14242 (FP_INIT_ROUNDMODE): Likewise.
14243 * sysdeps/mips/nofpu/fesetenv.c: New file.
14244 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
14246 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14248 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
14249 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
14250 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
14251 conditional on [FE_UPWARD].
14253 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
14255 regex: fix memory leak in Gnulib
14256 Problem and fix reported by Assaf Gordon in:
14257 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
14258 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
14259 range_ends members too, as they are defined in 'struct
14260 re_charset_t' even if not _LIBC. This affects only Gnulib.
14262 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
14264 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
14266 (get_common_indices): This.
14267 (init_cpu_features): Updated.
14269 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14271 * sysdeps/generic/math-tests-snan-payload.h: New file.
14272 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
14273 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
14274 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
14275 * sysdeps/generic/math-tests.h: Include
14276 <math-tests-snan-payload.h>.
14277 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14278 * sysdeps/hppa/math-tests.h: Remove file.
14279 * sysdeps/mips/math-tests.h [!__mips_nan2008]
14280 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14281 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
14284 * sysdeps/generic/math-tests-snan-cast.h: New file.
14285 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
14286 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
14287 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
14288 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
14290 2018-08-01 Carlos O'Donell <carlos@redhat.com>
14292 * version.h (RELEASE): Set to "development".
14293 (VERSION): Set to "2.28.9000".
14294 * NEWS (2.29): New section.
14296 * version.h (RELEASE): Set to "stable".
14297 (VERSION): Set to "2.28".
14298 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
14299 * NEWS: Add the list of bugs fixed in 2.28.
14301 * po/ca.po: Update to latest version.
14302 * po/cs.po: Likewise
14303 * po/da.po: Likewise
14304 * po/el.po: Likewise
14305 * po/eo.po: Likewise
14306 * po/es.po: Likewise
14307 * po/fi.po: Likewise
14308 * po/fr.po: Likewise
14309 * po/gl.po: Likewise
14310 * po/hu.po: Likewise
14311 * po/ia.po: Likewise
14312 * po/id.po: Likewise
14313 * po/it.po: Likewise
14314 * po/ja.po: Likewise
14315 * po/ko.po: Likewise
14316 * po/lt.po: Likewise
14317 * po/nb.po: Likewise
14318 * po/nl.po: Likewise
14319 * po/pt_BR.po: Likewise
14320 * po/ru.po: Likewise
14321 * po/rw.po: Likewise
14322 * po/sk.po: Likewise
14323 * po/sl.po: Likewise
14324 * po/tr.po: Likewise
14325 * po/zh_CN.po: Likewise
14326 * po/zh_TW.po: Likewise
14328 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14330 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
14332 (init): ... before initializing libpthread.
14334 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
14335 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
14336 (__mach_setup_tls): ... new function.
14337 (mach_setup_tls): New alias.
14338 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
14339 __mach_setup_thread.
14340 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
14341 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
14342 * mach/Versions [libc] (mach_setup_tls): Add symbol.
14343 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
14345 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14347 * manual/install.texi: Update versions.
14348 * INSTALL: Regenerate.
14350 * manual/contrib.texi (Contributors): Update contributions.
14352 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14354 * po/be.po: Update translations.
14356 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14358 * sysdeps/sh/libm-test-ulps: Update.
14360 2018-07-30 Carlos O'Donell <carlos@redhat.com>
14362 * po/bg.po: Update translations.
14363 * po/de.po: Likewise.
14364 * po/hr.po: Likewise.
14365 * po/pt_BR.po: Likewise.
14366 * po/sv.po: Likewise.
14367 * po/vi.po: Likewise.
14369 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14372 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14373 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
14374 (CFLAGS-tst-cet-property-1.o): New.
14375 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
14376 ($(objpfx)tst-cet-property-2): Likewise.
14377 ($(objpfx)tst-cet-property-2.out): Likewise.
14378 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
14379 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
14380 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
14381 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
14382 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
14384 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14387 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
14389 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
14391 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
14392 __sbrk): Do not set attribute_hidden.
14393 * sysdeps/mach/hurd/not-errno.h: New file.
14394 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14395 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
14397 2018-07-27 Carlos O'Donell <carlos@redhat.com>
14399 * po/uk.po: Update translations.
14400 * po/cs.po: Likewise.
14401 * po/pl.po: Likewise.
14403 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
14405 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
14406 parse beyond the note end.
14408 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14410 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
14411 kernel does not support OFD locks.
14412 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
14414 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14416 * sysdeps/mach/hurd/Versions (libc): Make __access and
14417 __access_noerrno external so they can override the ld symbols.
14418 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
14419 __writev, __open64, __access_noerrno extern so they can be overrided.
14420 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
14421 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14423 2018-07-26 Carlos O'Donell <carlos@redhat.com>
14425 * po/libc.pot: Regenerate.
14427 2018-07-26 Joseph Myers <joseph@codesourcery.com>
14429 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14431 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14434 * sysdeps/x86/cpu-features.c (get_extended_indices): New
14436 (init_cpu_features): Call get_extended_indices for both Intel
14438 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
14439 Remove "for AMD" comment.
14441 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14444 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
14445 COMMON_CPUID_INDEX_80000001.
14447 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
14449 * string/tst-xbzero-opt.c (use_test_buffer): New function.
14450 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
14452 2018-07-26 Florian Weimer <fweimer@redhat.com>
14454 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
14455 aliases for symbols not in the implementation namespace.
14457 2018-07-25 Carlos O'Donell <carlos@redhat.com>
14460 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
14461 lowercase in LATIN script.
14462 * localedata/Makefile (test-input): Add en_US.UTF-8.
14463 * localedata/en_US.UTF-8.in: New file.
14464 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
14465 and restore old tests.
14466 * posix/tst-regexloc.c (do_test): Add back range expression test.
14468 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14470 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
14472 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14474 * nptl/threads.h: Move to ...
14475 * sysdeps/nptl/threads.h: ... here.
14476 * sysdeps/hurd/stdc-predef.h: New file.
14478 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14480 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14481 tst-cet-setcontext-1 if CET is enabled.
14482 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
14483 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
14485 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14487 * include/threads.h: Move to ...
14488 * sysdeps/nptl/threads.h: ... here.
14489 * sysdeps/htl/threads.h: New file.
14490 * conform/Makefile (linknamespace-libs-ISO11): Use
14491 static-thread-library instead of linking libpthread.
14492 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
14494 2018-07-25 Florian Weimer <fweimer@redhat.com>
14496 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
14497 nanoseconds into seconds.
14498 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
14499 (do_test): Likewise.
14500 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
14501 (do_test): Likewise. Avoid nanosecond overflow and spurious
14502 timeouts due to system load.
14503 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
14504 (child_wait): Increment it.
14505 (do_test): Wait as long as necessary until all expected threads
14508 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
14509 H.J. Lu <hongjiu.lu@intel.com>
14511 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
14513 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
14514 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
14515 (__push___start_context): New.
14516 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
14518 (__getcontext): Record the current shadow stack base. Save the
14519 caller's shadow stack pointer and base.
14520 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
14521 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
14522 (__push___start_context): New prototype.
14523 (__makecontext): Call __push___start_context to allocate a new
14524 shadow stack, push __start_context onto the new stack as well
14525 as the new shadow stack.
14526 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
14528 (__setcontext): Restore the target shadow stack.
14529 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
14531 (__swapcontext): Record the current shadow stack base. Save
14532 the caller's shadow stack pointer and base. Restore the target
14534 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14535 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
14536 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
14538 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14540 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
14541 tst-setcontext8 and tst-setcontext9.
14542 * stdlib/tst-setcontext6.c: New file.
14543 * stdlib/tst-setcontext7.c: Likewise.
14544 * stdlib/tst-setcontext8.c: Likewise.
14545 * stdlib/tst-setcontext9.c: Likewise.
14547 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14549 * stdlib/Makefile ((tests): Add tst-setcontext5.
14550 * stdlib/tst-setcontext5.c: New file.
14552 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14554 * stdlib/Makefile (tests): Add tst-setcontext4.
14555 * stdlib/tst-setcontext4.c: New file.
14557 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14559 * stdlib/Makefile (tests): Add tst-swapcontext1.
14560 * stdlib/tst-swapcontext1.c: New test.
14562 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14564 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
14565 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
14566 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
14567 and tst-cet-legacy-4c.
14568 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
14569 and tst-cet-legacy-mod-4.
14570 (CFLAGS-tst-cet-legacy-2.c): New.
14571 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
14572 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
14573 (CFLAGS-tst-cet-legacy-3.c): Likewise.
14574 (CFLAGS-tst-cet-legacy-4.c): Likewise.
14575 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
14576 ($(objpfx)tst-cet-legacy-1): Likewise.
14577 ($(objpfx)tst-cet-legacy-2): Likewise.
14578 ($(objpfx)tst-cet-legacy-2.out): Likewise.
14579 ($(objpfx)tst-cet-legacy-2a): Likewise.
14580 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
14581 ($(objpfx)tst-cet-legacy-4): Likewise.
14582 ($(objpfx)tst-cet-legacy-4.out): Likewise.
14583 ($(objpfx)tst-cet-legacy-4a): Likewise.
14584 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
14585 (tst-cet-legacy-4a-ENV): Likewise.
14586 ($(objpfx)tst-cet-legacy-4b): Likewise.
14587 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
14588 (tst-cet-legacy-4b-ENV): Likewise.
14589 ($(objpfx)tst-cet-legacy-4c): Likewise.
14590 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
14591 (tst-cet-legacy-4c-ENV): Likewise.
14592 * sysdeps/x86/tst-cet-legacy-1.c: New file.
14593 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
14594 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
14595 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
14596 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
14597 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
14598 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
14599 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
14600 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
14601 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
14602 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
14604 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14606 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14607 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14609 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14610 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14613 2018-07-25 Andreas Schwab <schwab@suse.de>
14616 * locale/weightwc.h (findidx): Handle the case where usrc is a
14617 prefix of cp but one character too short.
14619 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14621 * NEWS: Add ISO C threads addition.
14623 2018-07-24 Florian Weimer <fweimer@redhat.com>
14625 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14626 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
14627 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
14630 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14632 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
14633 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
14634 <sys/prctl.h> and <asm/prctl.h>.
14635 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
14636 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
14638 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
14639 ARCH_CET_LEGACY_BITMAP.
14640 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
14641 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
14642 * sysdeps/x86/libc-start.c: Include <startup.h>.
14644 2018-07-24 Florian Weimer <fweimer@redhat.com>
14646 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
14647 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
14649 2018-07-24 Rical Jasan <rj@2c3t.io>
14650 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14651 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14654 * manual/debug.texi: Update adjacent chapter name.
14655 * manual/probes.texi: Likewise.
14656 * manual/threads.texi (ISO C Threads): New section.
14657 (POSIX Threads): Convert to a section.
14659 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14660 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14663 * nptl/Makefile (tests): Add new test files.
14664 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
14665 * nptl/tst-cnd-basic.c: Likewise.
14666 * nptl/tst-cnd-broadcast.c: Likewise.
14667 * nptl/tst-cnd-timedwait.c: Likewise.
14668 * nptl/tst-mtx-basic.c: Likewise.
14669 * nptl/tst-mtx-recursive.c: Likewise.
14670 * nptl/tst-mtx-timedlock.c: Likewise.
14671 * nptl/tst-mtx-trylock.c: Likewise.
14672 * nptl/tst-thrd-basic.c: Likewise.
14673 * nptl/tst-thrd-detach.c: Likewise.
14674 * nptl/tst-thrd-sleep.c: Likewise.
14675 * nptl/tst-tss-basic.c: Likewise.
14677 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14680 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14681 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
14683 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14684 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14685 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14686 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14687 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14688 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14689 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14690 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14691 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14692 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14693 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14694 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
14701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14702 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14703 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14704 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14705 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14706 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14707 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14708 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14709 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14710 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
14711 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
14712 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
14713 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
14714 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
14716 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14717 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14718 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14719 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14720 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14721 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14722 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14723 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14724 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14725 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14726 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14727 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14734 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14735 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14736 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14737 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14738 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14739 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14740 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14741 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14744 * conform/data/threads.h-data (thread_local): New macro.
14745 (TSS_DTOR_ITERATIONS): Likewise.
14747 (tss_dtor_t): Likewise.
14748 (tss_create): New function.
14749 (tss_get): Likewise.
14750 (tss_set): Likewise.
14751 (tss_delete): Likewise.
14752 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
14753 tss_get, and tss_set objects.
14754 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14755 * nptl/tss_create.c: New file.
14756 * nptl/tss_delete.c: Likewise.
14757 * nptl/tss_get.c: Likewise.
14758 * nptl/tss_set.c: Likewise.
14759 * sysdeps/nptl/threads.h (thread_local): New define.
14760 (TSS_DTOR_ITERATIONS): Likewise.
14761 (tss_t): New typedef.
14762 (tss_dtor_t): Likewise.
14763 (tss_create): New prototype.
14764 (tss_get): Likewise.
14765 (tss_set): Likewise.
14766 (tss_delete): Likewise.
14769 * conform/data/threads.h-data (cnd_t): New type.
14770 (cnd_init): New function.
14771 (cnd_signal): Likewise.
14772 (cnd_broadcast): Likewise.
14773 (cnd_wait): Likewise.
14774 (cnd_timedwait): Likewise.
14775 (cnd_destroy): Likewise.
14776 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
14777 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
14779 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14780 * nptl/cnd_broadcast.c: New file.
14781 * nptl/cnd_destroy.c: Likewise.
14782 * nptl/cnd_init.c: Likewise.
14783 * nptl/cnd_signal.c: Likewise.
14784 * nptl/cnd_timedwait.c: Likewise.
14785 * nptl/cnd_wait.c: Likewise.
14786 * sysdeps/nptl/threads.h (cnd_t): New type.
14787 (cnd_init): New prototype.
14788 (cnd_signa): Likewise.
14789 (cnd_broadcast): Likewise.
14790 (cnd_wait): Likewise.
14791 (cnd_timedwait): Likewise.
14792 (cnd_destroy): Likewise.
14795 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
14796 (once_flag): New type.
14797 (call_once): New function.
14798 * nptl/Makefile (libpthread-routines): Add call_once object.
14799 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
14800 * nptl/call_once.c: New file.
14801 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
14802 (once_flag): New type.
14803 (call_once): New prototype.
14806 * conform/data/threads.h-data (mtx_plain): New constant.
14807 (mtx_recursive): Likewise.
14808 (mtx_timed): Likewise.
14810 (mtx_init): New function.
14811 (mtx_lock): Likewise.
14812 (mtx_timedlock): Likewise.
14813 (mtx_trylock): Likewise.
14814 (mtx_unlock): Likewise.
14815 (mtx_destroy): Likewise.
14816 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
14817 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
14818 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
14819 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
14820 * nptl/mtx_destroy.c: New file.
14821 * nptl/mtx_init.c: Likewise.
14822 * nptl/mtx_lock.c: Likewise.
14823 * nptl/mtx_timedlock.c: Likewise.
14824 * nptl/mtx_trylock.c: Likewise.
14825 * nptl/mtx_unlock.c: Likewise.
14826 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
14827 (mtx_recursive): Likewise.
14828 (mtx_timed): Likewise.
14830 (mtx_init): New prototype.
14831 (mtx_lock): Likewise.
14832 (mtx_timedlock): Likewise.
14833 (mtx_trylock): Likewise.
14834 (mtx_unlock): Likewise.
14835 (mtx_destroy): Likewise.
14838 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
14839 (linknamespace-libs-ISO11): Add libpthread.a.
14840 * conform/data/threads.h-data: New file: add C11 thrd_* types and
14842 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
14843 * nptl/Makefile (headers): Add threads.h.
14844 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
14845 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
14847 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
14848 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
14849 thrd_join, thrd_sleep, and thrd_yield symbols.
14850 * nptl/descr.h (struct pthread): Add c11 field.
14851 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
14852 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
14853 routine with expected function prototype.
14854 (__pthread_create_2_1): Add C11 threads check based on attribute
14856 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
14857 * nptl/thrd_create.c: New file.
14858 * nptl/thrd_current.c: Likewise.
14859 * nptl/thrd_detach.c: Likewise.
14860 * nptl/thrd_equal.c: Likewise.
14861 * nptl/thrd_exit.c: Likewise.
14862 * nptl/thrd_join.c: Likewise.
14863 * nptl/thrd_priv.h: Likewise.
14864 * nptl/thrd_sleep.c: Likewise.
14865 * nptl/thrd_yield.c: Likewise.
14866 * include/threads.h: Likewise.
14868 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14870 * bits/indirect-return.h: New file.
14871 * misc/sys/cdefs.h (__glibc_has_attribute): New.
14872 * sysdeps/x86/bits/indirect-return.h: Likewise.
14873 * stdlib/Makefile (headers): Add bits/indirect-return.h.
14874 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
14875 (swapcontext): Add __INDIRECT_RETURN.
14876 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
14877 (prepare_test_buffer): Use it.
14879 2018-07-24 Andreas Schwab <schwab@suse.de>
14882 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
14883 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
14885 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14887 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
14888 Redefine if shadow stack is enabled.
14889 (SYSCALL_ERROR_LABEL): Likewise.
14890 (__vfork): Pop shadow stack and jump back to to caller directly
14891 when shadow stack is in use.
14892 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
14893 Redefine if shadow stack is enabled.
14894 (SYSCALL_ERROR_LABEL): Likewise.
14895 (__vfork): Pop shadow stack and jump back to to caller directly
14896 when shadow stack is in use.
14898 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14900 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
14903 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
14906 2018-07-20 Joseph Myers <joseph@codesourcery.com>
14908 * scripts/build-many-glibcs.py (Context.checkout): Default
14909 binutils version to 2.31 branch.
14911 2018-07-20 Zong Li <zong@andestech.com>
14913 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
14914 URL of gcc's tarball.
14916 2018-07-20 Florian Weimer <fweimer@redhat.com>
14919 * posix/regcomp.c (build_equiv_class): When comparing weights, do
14920 not compare an extra byte after the end of the weights.
14922 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14924 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
14926 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
14928 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
14929 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
14930 * scripts/check-execstack.awk: Consider `xfail' variable containing a
14931 list of libraries whose stack executability is expected.
14932 * elf/Makefile ($(objpfx)check-execstack.out): Pass
14933 $(check-execstack-xfail) to check-execstack.awk through `xfail'
14935 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
14936 libc.so libpthread.so.
14938 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
14940 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
14942 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
14944 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
14946 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
14948 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14950 * benchtests/scripts/compare_bench.py (__main__): use the argparse
14951 library to improve command line parsing.
14952 (__main__): make schema file as optional parameter (--schema),
14953 defaulting to benchtests/scripts/benchout.schema.json.
14954 (main): move out of the parsing stuff to __main_ and leave it
14955 only as caller of main comparison functions.
14957 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
14959 * NEWS: Add a note for Intel CET status.
14960 * manual/install.texi: Likewise.
14961 * INSTALL: Regenerated.
14963 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
14966 * localedata/locales/oc_FR (mon): Rename to...
14967 (alt_mon): This, then update October (typo fix).
14968 (mon): New content (genitive case, month names preceded by
14972 * localedata/locales/oc_FR (abday): Update all items.
14973 (day): Update Wednesday and Saturday (typo fixes).
14974 (abmon): Update all items, except May.
14975 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
14976 (LC_IDENTIFICATION): Bump the revision number and date.
14977 Keep the "category" entries in alphabetic order.
14978 (LC_ADDRESS): Remove no longer needed comment.
14979 (LC_COLLATE): Use “copy "ca_ES"”.
14980 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
14983 2018-07-18 Joseph Myers <joseph@codesourcery.com>
14985 * grp/tst_fgetgrent.c: Include <unistd.h>.
14986 (main): Use mkstemp instead of tmpnam.
14987 * io/test-utime.c (main): Likewise.
14988 * posix/annexc.c (macrofile): Change to modifiable array.
14989 (main): Remove macrofile here.
14990 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14992 (check_header): Do not remove macrofile here.
14993 * posix/bug-getopt1.c: Include <stdlib.h>.
14994 (do_test): Use mkstemp instead of tmpnam.
14995 * posix/bug-getopt2.c: Include <stdlib.h>.
14996 (do_test): Use mkstemp instead of tmpnam.
14997 * posix/bug-getopt3.c: Include <stdlib.h>.
14998 (do_test): Use mkstemp instead of tmpnam.
14999 * posix/bug-getopt4.c: Include <stdlib.h>.
15000 (do_test): Use mkstemp instead of tmpnam.
15001 * posix/bug-getopt5.c: Include <stdlib.h>.
15002 (do_test): Use mkstemp instead of tmpnam.
15003 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
15004 (main): Use mkstemp instead of tmpnam.
15005 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
15006 (main): Use mkstemp instead of tmpnam.
15007 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
15008 (main): use mkstemp instead of tmpnam.
15009 * stdlib/isomac.c (macrofile): Change to modifiable array.
15010 (main): Remove macrofile here.
15011 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
15013 (check_header): Do not remove macrofile here.
15015 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15017 * manual/tunables.texi: Document glibc.tune.x86_ibt and
15018 glibc.tune.x86_shstk.
15020 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15022 * NEWS: Mention --enable-cet.
15023 * manual/install.texi: Document --enable-cet.
15024 * INSTALL: Regenerated.
15026 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15028 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
15029 Add _CET_NOTRACK before indirect jump to jump table.
15031 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15033 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
15034 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15037 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15039 * sysdeps/i386/i686/multiarch/strcat-sse2.S
15040 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15043 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15045 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
15046 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15049 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15051 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
15052 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15055 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15057 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
15058 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15060 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
15062 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15064 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
15065 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15068 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15070 * sysdeps/i386/i686/multiarch/memset-sse2.S
15071 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15074 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15076 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
15077 indirect jump to jump table.
15079 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15081 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
15082 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15084 (MEMCPY): Likewise.
15086 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15088 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
15089 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15091 (MEMCPY): Likewise.
15093 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15095 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15096 _CET_NOTRACK before indirect jump to jump table.
15098 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15100 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
15101 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15104 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15106 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
15107 indirect jump to jump table.
15109 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
15112 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
15113 (LOCALES): Likewise.
15114 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
15115 * localedata/locales/sah_RU: New file.
15116 * localedata/sah_RU.UTF-8.in: New file.
15118 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15120 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
15122 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15123 _CET_ENDBR to indirect jump targets and adjust jump destination
15125 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
15127 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15128 _CET_ENDBR to indirect jump targets and adjust jump destination
15130 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
15132 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
15133 _CET_ENDBR to indirect jump targets and adjust jump destination
15136 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15138 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15141 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15143 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
15145 (_dl_tlsdesc_undefweak): Likewise.
15146 (_dl_tlsdesc_dynamic): Likewise.
15147 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
15148 (_dl_tlsdesc_resolve_rel): Likewise.
15149 (_dl_tlsdesc_resolve_rela): Likewise.
15150 (_dl_tlsdesc_resolve_hold): Likewise.
15151 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
15152 (_dl_tlsdesc_undefweak): Likewise.
15153 (_dl_tlsdesc_dynamic): Likewise.
15154 (_dl_tlsdesc_resolve_rela): Likewise.
15155 (_dl_tlsdesc_resolve_hold): Likewise.
15157 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15159 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
15161 * sysdeps/x86_64/crti.S (_init): Likewise.
15164 2018-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
15167 * localedata/locales/os_RU (mon): Rename to...
15169 (mon): Import from CLDR (genitive case).
15171 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15173 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
15174 cet-tunables.h> when CET is enabled.
15176 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
15179 * configure.ac: Add --enable-cet.
15180 * configure: Regenerated.
15181 * elf/Makefille (all-built-dso): Add a comment.
15182 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
15183 Include <dl-prop.h>.
15184 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
15186 * elf/dl-open.c: Include <dl-prop.h>.
15187 (dl_open_worker): Call _dl_open_check.
15188 * elf/rtld.c: Include <dl-prop.h>.
15189 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
15191 * sysdeps/generic/dl-prop.h: New file.
15192 * sysdeps/i386/dl-cet.c: Likewise.
15193 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
15194 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
15195 * sysdeps/x86/cet-tunables.h: Likewise.
15196 * sysdeps/x86/check-cet.awk: Likewise.
15197 * sysdeps/x86/configure: Likewise.
15198 * sysdeps/x86/configure.ac: Likewise.
15199 * sysdeps/x86/dl-cet.c: Likewise.
15200 * sysdeps/x86/dl-procruntime.c: Likewise.
15201 * sysdeps/x86/dl-prop.h: Likewise.
15202 * sysdeps/x86/libc-start.h: Likewise.
15203 * sysdeps/x86/link_map.h: Likewise.
15204 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
15206 (_dl_runtime_profile): Likewise.
15207 (_dl_runtime_resolve_shstk): New.
15208 (_dl_runtime_profile_shstk): Likewise.
15209 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
15211 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
15212 (CFLAGS-.os): Likewise.
15213 (CFLAGS-.op): Likewise.
15214 (CFLAGS-.oS): Likewise.
15215 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
15217 (tests-special): Add $(objpfx)check-cet.out.
15218 (cet-built-dso): New.
15219 (+$(cet-built-dso:=.note)): Likewise.
15220 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
15221 ($(objpfx)check-cet.out): New.
15222 (generated): Add check-cet.out.
15223 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
15225 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
15226 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15227 (init_cpu_features): Call get_cet_status to check CET status
15228 and update dl_x86_feature_1 with CET status. Call
15229 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
15230 (set_x86_shstk). Disable and lock CET in libc.a.
15231 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
15232 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
15233 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15234 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
15235 (_CET_ENDBR): Define if not defined.
15236 (ENTRY): Add _CET_ENDBR.
15237 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
15239 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
15241 (_dl_runtime_profile): Likewise.
15243 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
15246 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
15247 restore r2 on longjmp.
15248 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
15250 Added rules to build test tst-setjmp-bug21895-static.
15251 Added module setjmp-bug21895 and rules to build a shared object from it.
15252 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
15253 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
15255 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
15257 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
15258 * benchtests/bench-strstr.c: Likewise.
15259 * string/memmem.c (FASTSEARCH): Define.
15260 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
15261 Add support for FASTSEARCH.
15262 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
15263 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
15264 (FASTSEARCH): Define.
15265 * string/test-strcasestr.c: Rename __strnlen to strnlen.
15266 * string/test-strstr.c: Likewise.
15268 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
15270 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
15271 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
15273 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
15274 H.J. Lu <hongjiu.lu@intel.com>
15276 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
15277 (__longjmp): Restore shadow stack pointer if shadow stack is
15278 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15279 isn't defined for __longjmp_cancel.
15280 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
15281 (_setjmp): Save shadow stack pointer if shadow stack is enabled
15282 and SHADOW_STACK_POINTER_OFFSET is defined.
15283 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
15284 (setjmp): Save shadow stack pointer if shadow stack is enabled
15285 and SHADOW_STACK_POINTER_OFFSET is defined.
15286 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
15287 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15288 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15289 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
15291 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15292 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15293 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
15294 Remove jmp_buf-ssp.sym.
15295 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15297 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15298 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15299 * sysdeps/x86/Makefile (gen-as-const-headers): Add
15301 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
15302 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
15303 (__longjmp): Restore shadow stack pointer if shadow stack is
15304 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15305 isn't defined for __longjmp_cancel.
15306 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
15307 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15308 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15310 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
15313 * nptl/pthread_create.c: Include <tls-setup.h>.
15314 (__pthread_create_2_1): Call tls_setup_tcbhead.
15315 * sysdeps/generic/tls-setup.h: New file.
15316 * sysdeps/x86/nptl/tls-setup.h: Likewise.
15317 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15318 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
15320 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
15322 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15323 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
15324 (X86_FEATURE_1_SHSTK): Likewise.
15325 (CET_ENABLED): Likewise.
15326 (IBT_ENABLED): Likewise.
15327 (SHSTK_ENABLED): Likewise.
15329 2018-07-13 Rafał Lużyński <digitalfreak@lingonborough.com>
15332 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
15333 (LOCALES): Likewise.
15334 * localedata/dsb_DE.UTF-8.in: New file.
15335 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
15337 2018-07-12 Florian Weimer <fweimer@redhat.com>
15339 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
15340 __mprotect, not mprotect.
15342 2018-07-11 Florian Weimer <fweimer@redhat.com>
15344 * io/Makefile (headers): Add bits/statx.h.
15346 2018-07-10 Mike FABIAN <mfabian@redhat.com>
15348 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
15349 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
15351 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
15352 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
15355 2018-07-10 Florian Weimer <fweimer@redhat.com>
15357 * io/Makefile (routines): Add statx.
15358 (tests-internal): Add tst-statx.
15359 * io/Versions (GLIBC_2.28): Export statx.
15360 * io/bits/statx.h: New file.
15361 * io/sys/stat.h [__USE_GNU]: Include it.
15362 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
15363 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
15365 * io/statx.c: New file.
15366 * io/statx_generic.: Likewise.
15367 * io/tst-statx.: Likewise.
15368 * include/bits/statx.h: Likewise.
15369 * sysdeps/unix/sysv/linux/kernel-features.h
15370 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
15371 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15372 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
15373 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
15375 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15376 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
15377 * sysdeps/unix/sysv/linux/statx.c: New file.
15378 * manual/filesys.texi: Note that statx is undocumented.
15379 * sysdeps/**/libc*.abilist: Update.
15381 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15383 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
15384 a kernel issue which lead to test failure in some cases.
15386 2018-07-10 Florian Weimer <fweimer@redhat.com>
15389 * posix/regexec.c (check_node_accept_bytes): When comparing
15390 weights, do not compare an extra byte after the end of the
15393 2018-07-10 Florian Weimer <fweimer@redhat.com>
15395 * libio/readline.c: Fix copyright year.
15396 * libio/tst-readline.c Likewise.
15397 * nss/tst-nss-files-hosts-getent.c: Likewise.
15399 2018-07-06 Florian Weimer <fweimer@redhat.com>
15402 * nss/nss_files/files-XXX.c (internal_getent): Use
15403 __libc_readline_unlocked. Seek back to the start of the line if
15404 parsing failes with ERANGE.
15405 (get_contents_ret, get_contents): Remove.
15406 * nss/tst-nss-files-hosts-getent.c: New file.
15407 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
15408 (tst-nss-files-hosts-getent): Link with -ldl.
15410 2018-07-06 Florian Weimer <fweimer@redhat.com>
15412 * include/stdio.h (__libc_readline_unlocked): Declare.
15413 (__ftello64, __fseeko64): Declare aliases.
15414 * libio/readline.c: New file.
15415 * libio/tst-readline.c: Likewise.
15416 (routines): Add readline.
15417 (tests-internal): Add tst-readlime.
15418 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
15419 __libc_readline_unlocked.
15420 * libio/fseeko.c (__fseeko): Rename from fseeko.
15421 (fseeko): Add alias.
15422 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
15423 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
15424 (fseeko64): Add alias.
15425 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
15426 * libio/ftello64.c (__ftello64): Rename from ftello64.
15427 (ftello64): Add alias.
15429 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15431 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
15434 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15436 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
15437 Use dl_hwcap without masking.
15438 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
15439 Remove HWCAP_CPUID.
15441 2018-07-06 Florian Weimer <fweimer@redhat.com>
15443 * conform/conformtest.pl (checknamespace): Escape literal braces
15444 in regular expressions.
15446 2018-07-06 Amit Pawar <amit.pawar@amd.com>
15448 * sysdeps/x86/cpu-features.c (get_common_indeces):
15449 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
15450 * sysdeps/x86/cpu-features.c (init_cpu_features):
15451 AVX_Fast_Unaligned_Load is disabled for Excavator core.
15453 2018-07-05 Florian Weimer <fweimer@redhat.com>
15455 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
15457 (CFLAGS-elf-init.oS): Likewise.
15459 2018-07-05 Florian Weimer <fweimer@redhat.com>
15460 Carlos O'Donell <carlos@redhat.com>
15462 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
15463 $(no-stack-protector). stack_chk_fail_local.c can be compiled
15464 with stack protector enabled because there is no risk of infinite
15467 2018-07-05 Maciej W. Rozycki <macro@mips.com>
15471 * libc-abis (ABSOLUTE): New ABI.
15472 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
15473 * NEWS: Mention the new ABI.
15475 2018-07-05 Florian Weimer <fweimer@redhat.com>
15478 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
15479 (RENAME_WHITEOUT): Define.
15480 [__USE_GNU] (renameat2): Declare.
15481 * stdio-common/Makefile (routines): Add renameat2.
15482 (tests): Add tst-renameat2.
15483 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
15484 * stdio-common/renameat2.c: New file.
15485 * stdio-common/tst-renameat2.c: Likewise.
15486 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
15487 * manual/filesys.texi (Temporary Files): Note that renameat2 is
15489 * sysdeps/unix/sysv/linux/kernel-features.h
15490 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
15491 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15492 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15493 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15494 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15495 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15496 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
15497 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15498 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
15499 * include/stdio.h (__renameat): Add alias for renameat.
15500 * stdio-common/renameat.c (__renameat): Rename from renameat.
15501 Add hidden definition and alias.
15502 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15503 * sysdeps/mach/hurd/renameat.c: Likewise.
15504 * sysdeps/**/libc*.abilist: Add renameat2.
15506 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15508 * posix/bug-regex33.c: Fix build after regex sync.
15510 2018-07-04 Carlos O'Donell <carlos@redhat.com>
15513 * localedata/tst-langinfo-setlocale.c: New file.
15514 * localedata/tst-langinfo-setlocale-static.c: New file.
15515 * localedata/tst-langinfo-newlocale.c: New file.
15516 * localedata/tst-langinfo-newlocale-static.c: New file.
15517 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
15518 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
15519 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
15520 (tests-static): Remove tst-langinfo-static. Add
15521 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
15522 (tests-special): Remove $(objpfx)tst-langinfo.out,
15523 $(objpfx)tst-langinfo-static.out. Add
15524 $(objpfx)tst-langinfo-setlocale.out,
15525 $(objpfx)tst-langinfo-newlocale.out,
15526 $(objpfx)tst-langinfo-setlocale-static.out,
15527 $(objpfx)tst-langinfo-newlocale-static.out.
15528 ($(objpfx)tst-langinfo.out): Remove.
15529 ($(objpfx)tst-langinfo-static.out): Remove.
15530 ($(objpfx)tst-langinfo-newlocale.out): New target.
15531 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
15532 (test-xfail-tst-langinfo-newlocale-static): Add.
15533 ($(objpfx)tst-langinfo-setlocale.out): New target.
15534 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
15535 * localedata/tst-langinfo.c: Call test_locale.
15536 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
15539 2018-07-04 Florian Weimer <fweimer@redhat.com>
15541 testrun.sh: Implement --tool=strace, --tool=valgrind
15542 * Makefile (testrun-script): Define variable.
15543 (testrun.sh): Use variable.
15544 * manual/install.texi (Tools for Compilation): make 4.0 or later
15546 * configure.ac: Check for make 4.0 or later.
15547 * INSTALL: Regenerate.
15548 * configure: Likewise.
15550 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15556 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
15557 * posix/PCRE.tests: Remove invalid test.
15558 * posix/bug-regex28.c: Fix expected values for used syntax.
15559 * posix/bug-regex37.c: New file.
15560 * posix/bug-regex38.c: Likewise.
15561 * posix/regcomp.c: Sync with gnulib.
15562 * posix/regex.c: Likewise.
15563 * posix/regex.h: Likewise.
15564 * posix/regex_internal.c: Likewise.
15565 * posix/regex_internal.h: Likewise.
15566 * posix/regexec.c: Likewise.
15568 2018-06-26 Mike FABIAN <mfabian@redhat.com>
15571 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
15572 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
15573 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
15574 * localedata/unicode-gen/PropList.txt: likewise.
15575 * localedata/unicode-gen/UnicodeData.txt: likewise.
15576 * localedata/charmaps/UTF-8: Regenerate.
15577 * localedata/locales/i18n_ctype: likewise.
15578 * localedata/locales/tr_TR: likewise.
15579 * localedata/locales/translit_circle: likewise.
15580 * localedata/locales/translit_cjk_compat: likewise.
15581 * localedata/locales/translit_combining: likewise.
15582 * localedata/locales/translit_compat: likewise.
15583 * localedata/locales/translit_font: likewise.
15584 * localedata/locales/translit_fraction: likewise.
15586 2018-07-03 Florian Weimer <fweimer@redhat.com>
15589 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
15590 * stdio-common/tst-printf.sh: Adjust expected output.
15591 * LICENSES: Update.
15593 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15595 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
15598 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15600 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
15601 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
15602 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
15603 * stdio-common/tst-printfsz-islongdouble.c: New file.
15604 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
15605 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
15606 [subdir == stdio-common] (routines): Add ieee128-printf_size.
15607 [subdir == stdio-common] (tests-internal): Add
15608 test-printf-size-ieee128, and test-printf-size-ibm128.
15609 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
15610 (CFLAGS-test-printf-size-ibm128.c): New variables.
15611 [subdir == stdio-common] (tests-special): Add
15612 $(objpfx)test-printf-size-ieee128.out and
15613 $(objpfx)test-printf-size-ibm128.out.
15614 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
15615 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
15616 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
15617 __printf_sizeieee128.
15618 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
15620 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
15622 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
15625 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
15627 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
15628 (exp2f_inline): Likewise.
15629 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
15630 (__math_uflowf): Likewise.
15631 (__math_may_uflowf): Likewise.
15632 (__math_divzerof): Likewise.
15633 (__math_invalidf): Likewise.
15634 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
15635 (__math_oflowf): Likewise.
15636 (__math_uflowf): Likewise.
15637 (__math_may_uflowf): Likewise.
15638 (__math_divzerof): Likewise.
15639 (__math_invalidf): Likewise.
15641 2018-06-29 DJ Delorie <dj@redhat.com>
15642 Carlos O'Donell <carlos@redhat.com>
15645 * include/libc-symbols.h: Comment the freeres framework.
15646 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
15647 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
15648 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
15649 * dlfcn/dlerror.c: Include libc-symbols.h
15650 (__dlerror_main_freeres): New function.
15651 * dlfcn/dlfreeres.c: New file.
15652 * dlfcn/sdlfreeres.c: New file.
15653 * include/dlfcn.h: Declare __dlerror_main_freeres.
15654 * malloc/set-freeres.c: Declare __libdl_freeres, and
15655 __libpthread_freeres.
15656 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
15657 the releavant libraries are loaded.
15658 * malloc/thread-freeres.c: Add comments.
15659 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
15660 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
15661 * nptl/allocatestack.c (__nptl_free_stacks): New function.
15662 (__free_stacks): Rename to...
15663 (free_stacks): ...this. Mark static.
15664 (queue_stack): Call free_stacks.
15665 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
15666 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
15667 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
15668 ptr_freeres element from struct.
15669 (pthread_functions): Remove .ptr_freeres from struct initializer.
15670 [SHARED] (nptl_freeres): Remove.
15671 * nptl/nptlfreeres.c: New file.
15673 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
15674 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
15676 (__free_stacks): Rename to...
15677 (__nptl_stacks_freeres): ...this.
15678 (__shm_directory_freeres): Declare.
15679 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
15680 (__nptl_unwind_freeres): ...this.
15681 * resolv/res-close.c: Add comment.
15682 * resolv/resolv_conf.c: Include libc-symbols.h.
15683 * string/strerror_l.c: Include libc-symbols.h.
15684 * sunrpc/rpc_thread.c: Include libc-symbols.h.
15685 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
15686 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
15687 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
15689 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15691 * stdlib/tst-strfmon_l.c: Add tests for long double.
15693 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
15696 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
15697 * localedata/locales/dsb_DE: New file.
15699 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15702 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
15704 (alt_mon): New entry, import from CLDR (nominative case).
15706 2018-06-29 Sylvain Lesage <severo@rednegra.net>
15709 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
15711 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
15713 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15714 Use vector registers.
15716 * sysdeps/aarch64/multiarch/memmove_falkor.S
15717 (__memcpy_falkor): Use vector registers.
15719 2018-06-29 Martin Sebor <msebor@redhat.com>
15721 * manual/stdio.texi (Customizing Printf): Mention interaction
15722 with GCC built-ins.
15724 2018-06-29 Maciej W. Rozycki <macro@mips.com>
15727 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
15728 `st_value' is 0 if `st_shndx' is SHN_ABS.
15729 * elf/tst-absolute-zero.c: New file.
15730 * elf/tst-absolute-zero-lib.c: New file.
15731 * elf/tst-absolute-zero-lib.lds: New file.
15732 * elf/Makefile (tests): Add `tst-absolute-zero'.
15733 (modules-names): Add `tst-absolute-zero-lib'.
15734 (LDLIBS-tst-absolute-zero-lib.so): New variable.
15735 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
15736 ($(objpfx)tst-absolute-zero: New dependency.
15738 2018-06-29 Zack Weinberg <zackw@panix.com>
15740 * configure.ac: New command-line option --disable-crypt.
15741 Force --disable-nss-crypt when --disable-crypt is given, with a
15742 warning if it was explicitly enabled.
15743 * configure: Regenerate.
15744 * config.make.in: New boolean substitution variable $(build-crypt).
15745 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
15746 when $(build-crypt).
15747 * manual/install.texi: Document --disable-crypt.
15748 * INSTALL: Regenerate.
15750 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
15751 which is never set.
15752 * conform/Makefile: Only include libcrypt.a in
15753 linknamespace-libs-xsi and linknamespace-libs-XPG4
15754 when $(build-crypt).
15755 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
15756 USE_CRYPT to 1 when $(build-crypt).
15757 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
15758 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
15759 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
15761 2018-06-29 Zack Weinberg <zackw@panix.com>
15763 * crypt/crypt.h, posix/unistd.h: Update comments and
15764 prototypes for crypt and crypt_r.
15766 * manual/crypt.texi (Cryptographic Functions): New initial
15768 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
15769 (Unpredictable Bytes): Improve initial exposition. Clarify error
15770 behavior of getentropy and getrandom.
15771 * manual/examples/genpass.c: Generate a salt using getentropy
15772 instead of the current time. Use hash $5$ (SHA-2-256).
15773 * manual/examples/testpass.c: Demonstrate validation against
15774 hashes generated with three different one-way functions.
15776 * manual/intro.texi: crypt.texi does not need an overview
15779 * manual/nss.texi, manual/memory.texi, manual/socket.texi
15780 * manual/terminal.texi: Consistently refer to "passphrases"
15781 * instead of "passwords", and to the "user database" instead
15782 * of the "password database".
15783 * manual/users.texi: Similarly. Add notes about how actual
15784 passphrase hashes are now stored in the shadow database.
15785 Remove 20-year-old junk todo note.
15787 2018-06-29 Zack Weinberg <zackw@panix.com>
15789 * manual/crypt.texi: Use a normal top-level @node declaration.
15790 Move most of the introductory text to the 'crypt' section.
15791 Move the example programs below the @deftypefun for 'crypt_r'.
15792 Move the 'getpass' section...
15793 * manual/terminal.texi: ...here.
15795 2018-06-29 Zack Weinberg <zackw@panix.com>
15796 Florian Weimer <fweimer@redhat.com>
15798 * posix/unistd.h: Do not declare encrypt.
15799 (_XOPEN_CRYPT): Remove macro definition.
15800 (crypt): Declare only for _USE_MISC.
15801 * stdlib/stdlib.h: Do not declare setkey.
15802 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
15803 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
15805 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
15806 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
15807 into compat symbols. Don't define initial_perm if it's not
15809 * crypt/cert.c: Link explicitly with the expected versions for
15810 setkey and encrypt. If they are not available at all, mark
15811 the test as unsupported.
15813 * sunrpc/des_crypt.c: Unconditionally block linkage with
15814 cbc_crypt and ecb_crypt for new binaries.
15815 * sunrpc/des_soft.c: Unconditionally block linkage with
15816 des_setparity for new binaries.
15818 * manual/crypt.texi: Remove the entire "DES Encryption"
15819 section. Also remove the paragraph talking about FIPS 140-2
15820 from the introduction.
15821 * manual/string.texi (strfry, memfrob): Revise. Recommend use
15822 of libgcrypt for "real" encryption, not DES.
15823 * manual/conf.texi (Constants for Sysconf): Mention that
15824 _XOPEN_CRYPT is no longer impelemented.
15826 * conform/data/unistd.h-data: Remove crypt function declaration.
15828 2018-06-29 Florian Weimer <fweimer@redhat.com>
15831 * malloc/hooks.c: Update comments on restoring of dumped heaps.
15832 (disallow_malloc_check): Remove variable.
15833 (__malloc_check_init): Adjust.
15834 (malloc_set_state): Update comment.
15835 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
15838 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15841 * localedata/locales/ast_ES (mon): Rename to...
15843 (mon): Import from CLDR (genitive case).
15845 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
15846 Jakub Sitnicki <jkbs@redhat.com>
15849 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
15850 on NLM_F_DUMP_INTR.
15852 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
15854 * manual/llio.texi: Remove spurious space.
15856 2018-06-28 Florian Weimer <fweimer@redhat.com>
15859 * time/bits/types/struct_timespec.h: Change header inclusion guard to
15862 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15864 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
15865 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
15866 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
15867 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
15868 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
15869 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
15870 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
15872 2018-06-27 Maciej W. Rozycki <macro@mips.com>
15875 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
15876 Copy and null-terminate entries that are not terminated, in
15877 addition to empty ones.
15879 2018-06-27 Florian Weimer <fweimer@redhat.com>
15882 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
15883 (extend_alloca_account): Remove.
15884 * manual/stdio.texi (Variable Arguments Output): Update comment.
15886 2018-06-27 Joseph Myers <joseph@codesourcery.com>
15888 * nptl/sockperf.c: Remove file.
15890 2018-06-27 Florian Weimer <fweimer@redhat.com>
15893 * elf/dl-deps.c (_dl_map_object_deps): Use struct
15894 scratch_buffer instead of extend_alloca.
15896 2018-06-27 Florian Weimer <fweimer@redhat.com>
15899 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
15900 scratch_buffer instead of extend_alloca. Update comments.
15902 2018-06-27 Florian Weimer <fweimer@redhat.com>
15905 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
15906 instead of extend_alloca.
15908 2018-06-26 Joseph Myers <joseph@codesourcery.com>
15911 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
15912 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
15914 * scripts/test-installation.pl: Put temporary files in build
15915 directory, not /tmp.
15916 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
15917 (CFLAGS-bug4.c): Likewise.
15918 (CFLAGS-bug5.c): Likewise.
15919 (CFLAGS-test-fseek.c): Likewise.
15920 (CFLAGS-test-popen.c): Likewise.
15921 (CFLAGS-test_rdwr.c): Likewise.
15922 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
15924 * stdio-common/bug4.c (main): Likewise.
15925 * stdio-common/bug5.c (main): Likewise.
15926 * stdio-common/test-fseek.c (TESTFILE): Likewise.
15927 * stdio-common/test-popen.c (do_test): Likewise.
15928 * stdio-common/test_rdwr.c (main): Likewise.
15930 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
15932 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
15933 (sem_open): Set sem.newsem.pad to zero for valgrind.
15935 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15938 * NEWS: Mention fcntl64 addition.
15939 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
15940 * login/utmp_file.c: Likewise.
15941 * sysdeps/posix/fdopendir.c: Likewise.
15942 * sysdeps/posix/opendir.c: Likewise.
15943 * sysdeps/unix/pt-fcntl.c: Likewise.
15944 * include/fcntl.h (__libc_fcntl64, __fcntl64,
15945 __fcntl64_nocancel_adjusted): New prototype.
15946 (__fcntl_nocancel_adjusted): Remove prototype.
15947 * io/Makefile (routines): Add fcntl64.
15948 (CFLAGS-fcntl64.c): New rule.
15949 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
15950 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
15951 * io/fcntl.h (fcntl64): Add prototype and redirect if
15952 __USE_FILE_OFFSET64 is defined.
15953 * io/fcntl64.c: New file.
15954 * manual/llio.text: Add a note for which commands fcntl acts a
15955 cancellation point.
15956 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
15957 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
15958 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
15960 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
15961 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
15963 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
15964 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
15965 to __fcntl64_nocancel.
15966 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
15967 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
15968 to __fcntl64_nocancel.
15969 * sysdeps/generic/not-cancel.h: Likewise.
15970 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
15971 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
15972 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15973 (fcntl64): New symbol.
15974 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15975 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15976 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15979 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15980 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15981 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15982 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15983 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15984 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
15985 fcntl64): Likewise.
15986 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15987 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
15988 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15989 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15990 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15991 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15992 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15993 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15994 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15999 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16000 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16001 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16003 2018-06-26 Florian Weimer <fweimer@redhat.com>
16005 Run thread shutdown functions in an explicit order.
16006 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
16008 (__libc_thread_freeres): Call thread shutdown functions
16010 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
16011 * include/string.h (__strerror_thread_freeres): Declare.
16012 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
16013 arena_thread_freeres. No longer static. Remove thread shutdown
16015 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
16017 * resolv/res-close.c (__res_thread_freeres): Renamed from
16018 res_thread_freeres. No longer static. Remove thread shutdown
16020 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
16021 * resolv/resolv_conf.c (freeres): Remove incorrect section
16022 attribute and use libc_freeres_fn.
16023 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
16024 strerror_thread_freeres. No longer static. Remove thread
16025 shutdown hook registration.
16026 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
16027 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
16028 shutdown hook registration.
16029 * Makerules (shlib.lds): Do not provide section boundary symbols
16030 for __libc_thread_subfreeres.
16031 * manual/memory.texi (Basic Allocation): Update comment.
16033 2018-06-26 Florian Weimer <fweimer@redhat.com>
16035 Remove always-defined _RPC_THREAD_SAFE_ macro.
16036 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
16037 Do not define _RPC_THREAD_SAFE_.
16038 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
16040 * sunrpc/clnt_perr.c: Likewise.
16041 * sunrpc/clnt_raw.c: Likewise.
16042 * sunrpc/clnt_simp.c: Likewise.
16043 * sunrpc/key_call.c: Likewise.
16044 * sunrpc/rpc_common.c: Likewise.
16045 * sunrpc/rpc_main.c: Likewise.
16046 * sunrpc/rpc_thread.c: Likewise.
16047 * sunrpc/svc.c: Likewise.
16048 * sunrpc/svc_raw.c: Likewise.
16049 * sunrpc/svc_simple.c: Likewise.
16050 * sumrpc/svcauth_des.c: Likewise.
16052 2018-06-26 Florian Weimer <fweimer@redhat.com>
16054 * libio/Makefile (tests-internal): Add tst-vtables,
16055 tst-vtables-interposed.
16056 * libio/tst-vtables.c: New file.
16057 * libio/tst-vtables-common.c: Likewise.
16058 * libio/tst-vtables-interposed.c: Likewise.
16060 2018-06-26 Florian Weimer <fweimer@redhat.com>
16062 * support/support_test_main.c (support_test_main): Only call
16063 setvbuf if not disables.
16064 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
16065 * support/test-driver.h (struct test_config): Add no_setvbuf member.
16067 2018-06-26 Florian Weimer <fweimer@redhat.com>
16070 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
16072 2018-06-25 Florian Weimer <fweimer@redhat.com>
16075 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16076 Use struct scratch_buffer instead of extend_alloca.
16078 2018-06-25 Florian Weimer <fweimer@redhat.com>
16081 * nss/getent.c (initgroups_keys): Use dynarray instead of
16084 2018-06-25 Florian Weimer <fweimer@redhat.com>
16087 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
16088 Use struct scratch_buffer instead of extend_alloca.
16090 2018-06-25 Florian Weimer <fweimer@redhat.com>
16093 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
16094 back to malloc directly, without stack allocations.
16096 2018-06-25 Florian Weimer <fweimer@redhat.com>
16099 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
16102 2018-06-25 Florian Weimer <fweimer@redhat.com>
16105 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
16107 * nscd/hstcache.c (addhstbyX): Likewise.
16108 * nscd/pwdcache.c (addpwbyX): Likewise.
16109 * nscd/servicescache.c (addservbyX): Likewise.
16111 2018-06-25 Florian Weimer <fweimer@redhat.com>
16114 * nscd/connections.c (read_cmdline): New function.
16115 (restart): Use it. Update comment.
16117 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
16120 * localedata/locales/csb_PL (mon): Rename to...
16122 (abmon): Rename to...
16123 (ab_alt_mon): This.
16124 (mon): Add with proper genitive forms, copy from Wikipedia.
16127 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
16130 * localedata/locales/csb_PL (mon): Fix typos:
16131 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
16132 (yesstr): Add, value is "jo".
16133 (nostr): Add, value is "nié".
16135 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16137 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
16138 all log1p and significand functions on m680x0.
16139 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
16140 of s_significand.c..
16141 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16142 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
16143 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
16144 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
16145 s_log1p.c and include it..
16147 2018-06-21 Vincent Chen <vincentc@andestech.com>
16149 * elf/elf.h (R_NDS32_NONE): New define.
16150 (R_NDS32_32_RELA): Likewise.
16151 (R_NDS32_COPY): Likewise.
16152 (R_NDS32_GLOB_DAT): Likewise.
16153 (R_NDS32_JUMP_SLOT): Likewise.
16154 (R_NDS32_RELATIVE): Likewise.
16155 (R_NDS32_TLS_TPOFF): Likewise.
16156 (R_NDS32_TLS_DESC): Likewise.
16158 2018-06-21 Mark Wielaard <mark@klomp.org>
16160 * elf/elf.h (R_BPF_MAP_FD): Removed.
16161 (R_BPF_64_64, R_BPF_64_32): New.
16163 2018-06-21 Florian Weimer <fweimer@redhat.com>
16166 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
16167 Renamed from libc_feholdsetround_ctx.
16168 (default_libc_feresetround_ctx): Renamed from
16169 libc_feresetround_ctx.
16170 (default_libc_feholdsetround_noex_ctx): Renamed from
16171 libc_feholdsetround_noex_ctx.
16172 (default_libc_feresetround_noex_ctx): Renamed from
16173 libc_feresetround_noex_ctx.
16174 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
16175 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
16176 forwardning to the old implementations under the new names.
16177 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
16178 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
16179 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
16180 (libc_feresetround_ctx): Forward to default implements for i386
16181 and MATH_SET_BOTH_ROUNDING_MODES.
16182 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
16183 Add -DMATH_SET_BOTH_ROUNDING_MODES.
16185 2018-06-20 Joseph Myers <joseph@codesourcery.com>
16187 * string/tst-cmp.c: Include <libc-diag.h>.
16188 (strncmp_max): Disable -Wstringop-overflow= around call to
16190 (strncasecmp_max): Disable -Wstringop-overflow= around call to
16193 * string/bug-strpbrk1.c: Include <libc-diag.h>.
16194 (main): Disable -Wunused-value around call to strpbrk.
16195 * string/bug-strspn1.c: Include <libc-diag.h>.
16196 (main): Disable -Wunused-value around call to strspn.
16198 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16199 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16201 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
16202 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
16204 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16206 * math/Makefile (libm-calls): Move s_significandF to...
16207 (gen-libm-calls): ... here.
16208 * math/s_significand_template.c: New file.
16209 * math/s_significand.c: Removed.
16210 * math/s_significandf.c: Removed.
16211 * math/s_significandl.c: Removed.
16212 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
16213 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
16215 * math/e_exp2_template.c (declare_mgen_finite_alias,
16216 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
16217 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
16218 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
16220 2018-06-20 Florian Weimer <fweimer@redhat.com>
16222 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
16224 2018-06-19 Joseph Myers <joseph@codesourcery.com>
16227 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
16228 floating-point number to strtod functions rather than possibly
16229 negating result of those functions.
16230 * stdio-common/tst-scanf-round.c: New file.
16231 * stdio-common/Makefile (tests): Add tst-scanf-round.
16232 ($(objpfx)tst-scanf-round): Depend on $(libm).
16234 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16236 * sysdeps/mach/hurd/localplt.data: Move to...
16237 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
16238 R_386_GLOB_DAT like on Linux i386.
16240 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16242 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
16243 (SHM_STAT_ANY): New macro.
16244 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
16245 (SHM_STAT_ANY): Likewise.
16246 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
16247 (SHM_STAT_ANY): Likewise.
16248 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
16249 (SHM_STAT_ANY): Likewise.
16250 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
16251 (SHM_STAT_ANY): Likewise.
16252 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
16253 (SHM_STAT_ANY): Likewise.
16254 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
16255 (SHM_STAT_ANY): Likewise.
16256 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
16257 (SHM_STAT_ANY): Likewise.
16258 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
16259 (SHM_STAT_ANY): Likewise.
16260 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
16261 (SHM_STAT_ANY): Likewise.
16262 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
16263 (SHM_STAT_ANY): Likewise.
16264 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
16265 (SHM_STAT_ANY): Likewise.
16267 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
16268 (SEM_STAT_ANY): New macro.
16269 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
16270 (SEM_STAT_ANY): Likewise.
16271 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
16272 (SEM_STAT_ANY): Likewise.
16273 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
16274 (SEM_STAT_ANY): Likewise.
16275 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
16276 (SEM_STAT_ANY): Likewise.
16277 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
16278 (SEM_STAT_ANY): Likewise.
16279 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
16280 (SEM_STAT_ANY): Likewise.
16281 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
16282 (SEM_STAT_ANY): Likewise.
16283 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
16284 (SEM_STAT_ANY): Likewise.
16285 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
16286 (SEM_STAT_ANY): Likewise.
16288 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
16289 (MSG_STAT_ANY): New macro.
16290 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
16291 (MSG_STAT_ANY): Likewise.
16292 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
16293 (MSG_STAT_ANY): Likewise.
16294 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
16295 (MSG_STAT_ANY): Likewise.
16296 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
16297 (MSG_STAT_ANY): Likewise.
16298 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
16299 (MSG_STAT_ANY): Likewise.
16300 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
16301 (MSG_STAT_ANY): Likewise.
16302 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
16303 (MSG_STAT_ANY): Likewise.
16304 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
16305 (MSG_STAT_ANY): Likewise.
16306 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
16307 (MSG_STAT_ANY): Likewise.
16309 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16310 (MAP_TYPE): Change value to 0x2b.
16312 2018-06-18 Florian Weimer <fweimer@redhat.com>
16315 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
16316 socket with SOCK_CLOEXEC.
16318 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16321 * sysdeps/powerpc/powerpc64/le/Makefile
16322 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
16323 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
16324 (gnulib-tests): Also add $(f128-loader-link) for
16325 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
16327 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
16329 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
16330 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
16332 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
16333 (sendfile64): New strong alias.
16334 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
16335 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
16336 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
16337 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
16339 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
16340 ___pthread_get_cleanup_stack.
16341 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
16342 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
16343 * mach/shortcut.awk: Make syscall stubs include
16344 <mach-shortcuts-hidden.h> and add hidden definition.
16345 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
16346 (__mach_msg): Add hidden prototype.
16347 * mach/msg.c: Include <mach.h>.
16348 (__mach_msg): Add hidden definition.
16349 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
16350 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
16351 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
16352 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
16353 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
16354 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
16355 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
16356 prototype and definition.
16357 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
16358 hidden target for _hurd_self_sigstate.
16360 2018-06-15 Joseph Myers <joseph@codesourcery.com>
16363 * stdlib/tst-strtod-nan-sign-main.c: New file.
16364 * stdlib/tst-strtod-nan-sign.c: Likewise.
16365 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
16366 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
16367 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
16368 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
16369 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
16371 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
16374 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
16377 2018-06-14 Florian Weimer <fweimer@redhat.com>
16380 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
16381 that the result stays within the ISO-8859-1 range.
16382 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
16383 characters are defined in IBM273.
16385 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
16387 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
16388 __mach_task_self): Remove attribute_hidden.
16390 2018-06-14 Joseph Myers <joseph@codesourcery.com>
16392 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
16393 ignore -Wrestrict for one test.
16395 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
16396 Szabolcs Nagy <szabolcs.nagy@arm.com>
16398 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
16400 2018-06-14 Florian Weimer <fweimer@redhat.com>
16402 * scripts/update-abilist.sh: Accept empty list of files to patch.
16404 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
16406 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
16407 test-xfail-check-abi-libmachuser): Add.
16408 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
16409 __libc_read and __libc_write to __read and __write.
16410 * sysdeps/hurd/include/hurd/port.h: New file.
16411 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
16412 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
16413 __thread_switch, __evc_wait): Move declarations to...
16414 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
16416 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
16417 use PLT to call _hurd_self_sigstate.
16419 2018-06-13 Joseph Myers <joseph@codesourcery.com>
16422 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
16423 MAX_EXP as overflowing.
16424 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
16426 (round_str): Output also whether result overflows in each rounding
16428 * stdlib/tst-strtod-round-data: Add more tests.
16429 * stdlib/tst-strtod-round-data.h: Regenerated.
16430 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
16431 (TEST): Handle extra arguments for overflow flags.
16432 (struct test_overflow): New type.
16433 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
16434 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
16435 (test_in_one_mode): Take argument with overflow information.
16436 (do_test): Update calls to test_in_one_mode.
16438 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16440 * elf/dl-load (_dl_dst_substitute): Correct comment.
16441 (_dl_dst_count): Likewise.
16443 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
16444 lll_futex_timed_wait.
16446 2018-06-12 Joseph Myers <joseph@codesourcery.com>
16449 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
16451 * math/test-nan-const.c: New file.
16452 * math/Makefile (tests): Add test-nan-const.
16453 (CFLAGS-test-nan-const.c): New variable.
16455 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16457 * benchtests/scripts/compare_strings.py (process_results): Add
16458 funcs argument. Compare only functions which are selected.
16459 (main): Check if base function is among selected functions.
16460 Pass selected functions to process_results.
16461 (__main__): Add -f/--functions argument.
16463 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
16464 Hongbo Zhang <hongbo.zhang@linaro.org>
16466 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
16467 __memcpy_falkor for phecda core.
16468 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
16469 __memmove_falkor for phecda core.
16470 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
16471 __memset_falkor for phecda core.
16472 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
16474 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
16475 macro to identify phecda core.
16477 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16478 Andreas Schwab <schwab@suse.de>
16479 Dmitry V. Levin <ldv@altlinux.org>
16480 Florian Weimer <fweimer@redhat.com>
16487 * elf/dl-dst.h: Remove DL_DST_COUNT.
16488 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
16489 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
16490 (is_dst): Comment. Support ELF gABI.
16491 (_dl_dst_count): Comment. Simplify and count DSTs.
16492 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
16493 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
16496 2018-06-12 Zack Weinberg <zackw@panix.com>
16498 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
16499 * sysdeps/unix/sysv/linux/dl-sysdep.c
16500 Include not-cancel.h. Use __close_nocancel instead of __close,
16501 __open64_nocancel instead of __open, __read_nocancel instead of
16502 __libc_read, and __write_nocancel instead of __libc_write.
16504 * csu/check_fds.c (check_one_fd)
16505 * sysdeps/posix/fdopendir.c (__fdopendir)
16506 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
16507 instead of __fcntl and/or __libc_fcntl.
16509 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
16510 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
16511 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
16512 Use __open64_nocancel instead of __open_nocancel.
16514 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
16515 hidden_proto declarations to the end and issue them if either
16516 IS_IN(libc) or IS_IN(rtld).
16517 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
16518 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
16519 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
16520 read_nocancel, waitpid_nocancel, write_nocancel.
16522 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
16523 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
16524 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
16526 * nptl/pt-fcntl.c: New file.
16527 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
16528 (libpthread-routines): Add pt-fcntl.
16529 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
16530 (__libc_fcntl): Remove attribute_hidden.
16531 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
16532 __fcntl_nocancel_adjusted, not fcntl_common.
16533 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
16534 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
16535 to fcntl_nocancel.c.
16536 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
16537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
16538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16539 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
16541 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
16542 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
16543 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
16544 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
16545 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
16546 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
16547 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
16548 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
16549 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
16550 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
16551 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
16552 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
16553 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
16554 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
16555 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
16556 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
16557 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
16558 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
16559 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
16560 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
16562 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
16563 libpthread-routines.
16564 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
16567 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
16568 __libc_read, and __write instead of __libc_write. Define
16569 __open64 in addition to __open.
16571 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16575 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
16576 to _private_tm[3] and add __glibc_reserved2.
16577 Add _Static_assert of offset of __private_ss == 0x30.
16578 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
16579 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
16581 2018-06-12 Florian Weimer <fweimer@redhat.com>
16583 x86: Make strncmp usable from rtld.
16584 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
16585 __strncmp_ia32 if in libc (and not in rtld).
16586 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
16587 strncmp if not in libc (and not to __strncmp_sse2).
16589 2018-06-12 Rafał Lużyński <digitalfreak@lingonborough.com>
16592 * localedata/locales/gd_GB (mon): Rename to...
16594 (mon): Import from CLDR (genitive case).
16595 * localedata/locales/hsb_DE (mon): Rename to...
16597 (mon): Import from CLDR (genitive case).
16598 * localedata/locales/wa_BE (mon): Rename to...
16600 (mon): Add, fill with the proper genitive forms, but CLDR data
16601 is incomplete; completed according to the comments in this file.
16602 (d_t_fmt): Do not use "di" before the month name, no longer needed.
16604 * localedata/locales/wa_BE (country_name): Reword
16605 "Beljike" -> "Beldjike".
16607 2018-06-11 Joseph Myers <joseph@codesourcery.com>
16610 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
16611 cases of non-finite arguments.
16612 * math/libm-test-fma.inc (fma_test_data): Add more tests.
16614 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
16617 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
16619 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16622 * include/unistd.h (__execvpex): New prototype.
16623 * posix/Makefile (tests): Add tst-spawn4.
16624 (tests-internal): Add tst-spawn4-compat.
16625 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
16626 * posix/tst-spawn4-compat.c: New file.
16627 * posix/tst-spawn4.c: Likewise.
16628 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
16629 binaries as shell scripts.
16630 * sysdeps/posix/spawni.c (__spawni): Likewise.
16632 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
16635 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
16636 ($(all-built-dso:=.dynsym): New target.
16637 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
16638 ($(objpfx)check-initfini.out): New target.
16639 (generated): Add check-initfini.out.
16640 * scripts/check-initfini.awk: New file.
16641 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
16643 * sysdeps/alpha/crti.S (_init): Mark as hidden.
16645 * sysdeps/arm/crti.S (_init): Mark as hidden.
16647 * sysdeps/hppa/crti.S (_init): Mark as hidden.
16649 * sysdeps/i386/crti.S (_init): Mark as hidden.
16651 * sysdeps/ia64/crti.S (_init): Mark as hidden.
16653 * sysdeps/m68k/crti.S (_init): Mark as hidden.
16655 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
16657 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
16659 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
16661 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
16663 * sysdeps/nios2/crti.S (_init): Mark as hidden.
16665 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
16667 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
16669 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
16671 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
16673 * sysdeps/sh/crti.S (_init): Mark as hidden.
16675 * sysdeps/sparc/crti.S (_init): Mark as hidden.
16677 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
16680 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16682 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
16683 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
16684 and TF redirection to KFtype and KF only when the default
16685 long double type is not the IEEE 128-bit floating point type.
16687 2018-06-05 Joseph Myers <joseph@codesourcery.com>
16689 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
16691 (HWCAP_USCAT): Likewise.
16692 (HWCAP_ILRCPC): Likewise.
16693 (HWCAP_FLAGM): Likewise.
16694 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16696 (_dl_aarch64_cap_flags): Add new flag names.
16698 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16699 (MAP_FIXED_NOREPLACE): New macro.
16700 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
16701 (MAP_FIXED_NOREPLACE): Likewise.
16702 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
16703 (MAP_FIXED_NOREPLACE): Likewise.
16704 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16705 (MAP_FIXED_NOREPLACE): Likewise.
16706 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16707 (MAP_FIXED_NOREPLACE): Likewise.
16708 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16709 (MAP_FIXED_NOREPLACE): Likewise.
16710 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16711 (MAP_FIXED_NOREPLACE): Likewise.
16712 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
16713 (MAP_FIXED_NOREPLACE): Likewise.
16714 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16715 (MAP_FIXED_NOREPLACE): Likewise.
16716 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
16717 (MAP_FIXED_NOREPLACE): Likewise.
16718 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16719 (MAP_FIXED_NOREPLACE): Likewise.
16720 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16721 (MAP_FIXED_NOREPLACE): Likewise.
16722 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
16723 (MAP_FIXED_NOREPLACE): Likewise.
16724 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
16725 (MAP_FIXED_NOREPLACE): Likewise.
16726 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
16727 (MAP_FIXED_NOREPLACE): Likewise.
16729 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16732 2018-06-04 Joseph Myers <joseph@codesourcery.com>
16734 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16737 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16739 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
16741 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
16743 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16745 * benchtests/scripts/compare_string.py: (process_results) Catch
16746 exception in non-existent base_func and catch exception in
16747 non-existent attribute.
16748 (parse_file) Catch exception if input file does not exist.
16750 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16752 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
16753 options to avoid diff calculation and omit header, respectively.
16754 (main): process --no-diff and --no-header
16756 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16757 H.J. Lu <hongjiu.lu@intel.com>
16759 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16760 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
16762 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16763 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
16764 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
16765 and __wcsncmp_sse2.
16766 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
16767 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
16768 AVX unaligned load is fast and vzeroupper is preferred.
16769 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
16770 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
16771 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
16772 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
16773 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
16774 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
16775 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
16776 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
16777 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
16778 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
16781 2018-06-01 Florian Weimer <fweimer@redhat.com>
16783 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
16784 configuring with --disable-multi-arch, building with
16785 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
16788 2018-06-01 Florian Weimer <fweimer@redhat.com>
16790 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
16791 results from building with “-march=x86-64 -mtune=generic
16792 -mfpmath=sse” and running on a Haswell-era CPU.
16794 2018-06-01 Joseph Myers <joseph@codesourcery.com>
16797 * soft-fp/sqrttf2.c: Remove file.
16798 * soft-fp/sqrtdf2.c: Move to ....
16799 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
16801 (__sqrtdf2): Make conditional on
16802 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16804 * soft-fp/sqrtsf2.c: Move to ....
16805 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
16807 (__sqrtsf2): Make conditional on
16808 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16810 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
16811 (gcc-double-routines): Remove sqrtdf2.
16812 (gcc-quad-routines): Remove sqrttf2.
16813 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16814 Do not filter out sqrtsf2 and sqrtdf2.
16815 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16816 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
16818 2018-06-01 Florian Weimer <fweimer@redhat.com>
16820 * sysdeps/generic/libcidn.abilist: Remove file.
16822 2018-06-01 Florian Weimer <fweimer@redhat.com>
16825 * libio/strfile.h (struct _IO_str_fields): Rename members to
16826 discourage their use and add comment.
16827 (_IO_STR_DYNAMIC): Remove unused macro.
16828 * libio/strops.c (_IO_str_init_static_internal): Do not use
16829 callback pointers. Call malloc and free.
16830 (_IO_str_overflow): Do not use callback pointers. Call malloc
16832 (enlarge_userbuf): Likewise.
16833 (_IO_str_finish): Call free.
16834 * libio/wstrops.c (_IO_wstr_init_static): Initialize
16835 _allocate_buffer_unused.
16836 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
16838 (enlarge_userbuf): Likewise.
16839 (_IO_wstr_finish): Call free.
16840 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
16841 _allocate_buffer_unused, _free_buffer_unused.
16842 * libio/memstream.c (__open_memstream): Likewise.
16843 * libio/vasprintf.c (_IO_vasprintf): Likewise.
16844 * libio/wmemstream.c (open_wmemstream): Likewise.
16846 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
16848 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
16851 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16853 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
16854 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
16855 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
16857 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
16859 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
16861 2018-05-29 Florian Weimer <fweimer@redhat.com>
16863 * support/Makefile (libsupport-routines): Add
16864 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
16865 xpthread_barrierattr_setpshared.
16866 * support/xpthread_barrierattr_destroy.c: New file.
16867 * support/xpthread_barrierattr_init.c: Likewise.
16868 * support/xpthread_barrierattr_setpshared.c: Likewise.
16870 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
16873 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
16874 _r_debug and update DT_DEBUG for debugger.
16876 2018-05-29 Florian Weimer <fweimer@redhat.com>
16878 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
16879 (tst-strtod5i.out): Likewise.
16881 2018-05-25 Joseph Myers <joseph@codesourcery.com>
16883 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
16884 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
16885 (sparc64-quad-routines): New variable. Moved from ....
16886 [$(subdir) = soft-fp] (sysdep_routines): Add
16887 $(sparc64-quad-routines). Moved from ....
16888 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
16889 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
16890 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
16892 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
16893 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
16894 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
16895 * sysdeps/sparc/sparc64/qp_add.c: ... here.
16896 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
16897 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
16898 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
16899 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
16900 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
16901 * sysdeps/sparc/sparc64/qp_div.c: ... here.
16902 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
16903 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
16904 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
16905 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
16906 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
16907 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
16908 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
16909 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
16910 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
16911 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
16912 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
16913 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
16914 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
16915 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
16916 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
16917 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
16918 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
16919 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
16920 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
16921 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
16922 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
16923 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
16924 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
16925 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
16926 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
16927 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
16928 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
16929 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
16930 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
16931 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
16932 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
16933 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
16934 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
16935 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
16936 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
16937 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
16938 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
16939 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
16940 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
16941 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
16942 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
16943 * sysdeps/sparc/sparc64/qp_util.c: ... here.
16944 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
16945 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
16946 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
16947 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
16948 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
16949 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
16951 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
16952 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
16953 (sparc32-quad-routines): New variable. Moved from ....
16954 [$(subdir) = soft-fp] (sysdep_routines): Add
16955 $(sparc32-quad-routines). Moved from ....
16956 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
16957 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
16959 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
16960 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
16961 * sysdeps/sparc/sparc32/q_add.c: ... here.
16962 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
16963 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
16964 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
16965 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
16966 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
16967 * sysdeps/sparc/sparc32/q_div.c: ... here.
16968 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
16969 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
16970 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
16971 * sysdeps/sparc/sparc32/q_feq.c: ... here.
16972 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
16973 * sysdeps/sparc/sparc32/q_fge.c: ... here.
16974 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
16975 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
16976 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
16977 * sysdeps/sparc/sparc32/q_fle.c: ... here.
16978 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
16979 * sysdeps/sparc/sparc32/q_flt.c: ... here.
16980 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
16981 * sysdeps/sparc/sparc32/q_fne.c: ... here.
16982 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
16983 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
16984 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
16985 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
16986 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
16987 * sysdeps/sparc/sparc32/q_mul.c: ... here.
16988 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
16989 * sysdeps/sparc/sparc32/q_neg.c: ... here.
16990 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
16991 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
16992 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
16993 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
16994 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
16995 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
16996 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
16997 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
16998 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
16999 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
17000 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
17001 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
17002 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
17003 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
17004 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
17005 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
17006 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
17007 * sysdeps/sparc/sparc32/q_sub.c: ... here.
17008 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
17009 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
17010 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
17011 * sysdeps/sparc/sparc32/q_util.c: ... here.
17012 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
17013 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
17014 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
17015 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
17017 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17018 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17020 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
17021 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
17022 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
17023 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
17025 2018-05-24 Joseph Myers <joseph@codesourcery.com>
17027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
17029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17031 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
17032 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
17034 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17037 * math/math.h [C++] (iseqsig): Fix parameter type for the long
17040 2018-05-23 Joseph Myers <joseph@codesourcery.com>
17042 * sysdeps/sh/Implies: Remove sh/soft-fp.
17043 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
17044 * sysdeps/sh/sfp-machine.h: ... here.
17046 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17048 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17049 (__mempcpy_erms): Skip zero length.
17050 (__memmove_erms): Likewise.
17051 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17052 (__memset_erms): Likewise.
17054 2018-05-23 Joseph Myers <joseph@codesourcery.com>
17056 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
17057 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
17058 Add functions moved from ....
17059 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
17060 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
17061 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
17063 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
17064 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
17065 * sysdeps/alpha/e_sqrtl.c: ... here.
17066 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
17067 * sysdeps/alpha/local-soft-fp.h: ... here.
17068 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
17069 * sysdeps/alpha/ots_add.c: ... here.
17070 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
17071 * sysdeps/alpha/ots_cmp.c: ... here.
17072 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
17073 * sysdeps/alpha/ots_cmpe.c: ... here.
17074 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
17075 * sysdeps/alpha/ots_cvtqux.c: ... here.
17076 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
17077 * sysdeps/alpha/ots_cvtqx.c: ... here.
17078 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
17079 * sysdeps/alpha/ots_cvttx.c: ... here.
17080 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
17081 * sysdeps/alpha/ots_cvtxq.c: ... here.
17082 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
17083 * sysdeps/alpha/ots_cvtxt.c: ... here.
17084 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
17085 * sysdeps/alpha/ots_div.c: ... here.
17086 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
17087 * sysdeps/alpha/ots_mul.c: ... here.
17088 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
17089 * sysdeps/alpha/ots_nintxq.c: ... here.
17090 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
17091 * sysdeps/alpha/ots_sub.c: ... here.
17092 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
17093 * sysdeps/alpha/sfp-machine.h: ... here.
17095 2018-05-23 Florian Weimer <fweimer@redhat.com>
17103 Switch to extern IDNA implementation (libidn2).
17104 * libidn: Remove subdirectory.
17105 * LICENSES: Do not mention licensing conditions for the removed
17107 * config.h.in (HAVE_LIBIDN): Remove.
17108 * include/dlfcn.h (__libc_dlopen): Update comment.
17109 * include/idna.h: Remove file.
17110 * inet/Makefile (routines): Add idna.
17111 (tests-static, tests-internal): Add tst-idna_name_classify.
17112 (LOCALES): Generate locales for tests.
17113 (tst-idna_name_classify.out): Depend on generated locales.
17114 * inet/idna_name_classify.c: New file.
17115 * inet/tst-idna_name_classify.c: Likewise.
17116 * inet/net-internal.h (__idna_to_dns_encoding)
17117 (__idna_from_dns_encoding): Declare.
17118 * inet/net-internal.h (enum idna_name_classification): Define.
17119 (__idna_name_classify): Declare.
17120 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
17121 __idna_from_dns_encoding.
17122 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
17123 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
17124 name as a fallback in case of encoding errors.
17125 (getnameinfo): Use DEPRECATED_NI_IDN.
17126 * inet/idna.c: New file.
17127 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
17128 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
17129 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
17130 (modules-names): Add tst-no-libidn2.
17131 (extra-test-objs): Add tst-no-libidn2.os.
17132 (LDFLAGS-tst-no-libidn2.so): Set soname.
17133 (LOCALES): Set, and generate locales.
17134 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
17135 (tst-resolv-ai_idn-latin1): Likewise.
17136 (tst-resolv-ai_idn-nolibidn2): Likewise.
17137 (tst-resolv-ai_idn.out): Depend on locales.
17138 (tst-resolv-ai_idn-latin1.out): Depend on locales.
17139 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
17141 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
17142 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
17143 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
17144 * resolv/tst-resolv-ai_idn.c: New file.
17145 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
17146 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
17147 * resolv/tst-no-libidn2.c: Likewise.
17148 * support/support_format_addrinfo.c (format_ai_flags): Do not
17149 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
17150 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
17151 (gaih_inet): Call __idna_to_dns_encoding and
17152 __idna_from_dns_encoding, and use the original (punycode) name if
17153 __idna_from_dns_encoding fails due to an encoding error.
17154 (getaddrinfo): Use DEPRECATED_AI_IDN.
17155 * sysdeps/unix/inet/Subdirs (libidn): Remove.
17156 * sysdeps/unix/inet/configure: Remove file.
17157 * sysdeps/unix/inet/configure.ac: Likewise.
17159 2018-05-23 Florian Weimer <fweimer@redhat.com>
17161 Implement allocate_once.
17162 * include/allocate_once.h: New file.
17163 * misc/allocate_once.c: Likewise.
17164 * misc/tst-allocate_once.c: Likewise.
17165 * misc/Makefile (routines): Add allocate_once.
17166 (tests-internal): Add tst-allocate_once.
17167 (generated): Add tst-allocate_once.mtrace,
17168 tst-allocate_once-mem.out.
17169 (tests-special): Add tst-allocate_once-mem.out.
17170 (tst-allocate_once-ENV): Set MALLOC_TRACE.
17171 (tst-allocate_once-mem.out): Call mtrace.
17172 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
17174 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17177 * string/test-memcpy.c (do_test1): New function.
17178 (test_main): Call it.
17180 2018-05-23 Andreas Schwab <schwab@suse.de>
17184 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
17185 (L(preloop_large)): Save initial destination pointer in %r11 and
17186 use it instead of %rax after the loop.
17187 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
17189 2018-05-22 Joseph Myers <joseph@codesourcery.com>
17191 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
17192 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
17193 -I../soft-fp. Moved from ....
17194 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
17195 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
17196 * sysdeps/aarch64/e_sqrtl.c: ... here.
17197 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
17198 * sysdeps/aarch64/sfp-machine.h: ... here.
17200 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
17201 -Wmaybe-uninitialized around access to fq[0].
17202 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17206 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
17207 aliases for non-libc case of versioned symbols.
17208 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
17209 (llseek): Define as compat symbol if
17210 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
17212 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
17213 Make into a compat symbol, disabled for minimum symbol version
17214 GLIBC_2.28 and later.
17215 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
17217 2018-05-22 Florian Weimer <fweimer@redhat.com>
17219 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
17220 not add -mpreferred-stack-boundary=4.
17221 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
17222 (stack-align-test-flags): Likewise.
17223 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
17225 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
17226 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
17227 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
17228 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
17229 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
17230 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
17231 (CFLAGS-tst-align2.c): Likewise.
17233 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17235 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
17236 (index_arch_Prefer_FSRM): Likewise.
17237 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
17238 Also check Prefer_FSRM.
17239 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
17240 Also return OPTIMIZE (erms) for Prefer_FSRM.
17242 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17244 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
17245 (index_cpu_FSRM): Likewise.
17246 (reg_FSRM): Likewise.
17248 2018-05-18 Joseph Myers <joseph@codesourcery.com>
17250 * math/gen-tgmath-tests.py: Import sys.
17251 (Tests.__init__): Initialize macros_seen.
17252 (Tests.add_tests): Add macro to macros_seen. Only generate tests
17253 if requested to do so for this macro.
17254 (Tests.add_all_tests): Take argument for macro for which to
17256 (Tests.check_macro_list): New function.
17257 (main): Handle check-list argument and argument specifying macro
17258 for which to generate tests.
17259 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
17260 [PYTHON] (tgmath3-macro-tests): Likewise.
17261 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
17262 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
17263 not test-tgmath3.c.
17264 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
17265 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
17267 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
17268 [PYTHON] ($(foreach
17269 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
17271 [PYTHON] (tests-special): Add
17272 $(objpfx)test-tgmath3-macro-list.out.
17273 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
17275 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
17276 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
17280 * time/tzset.c (SECSPERDAY): Cast to time_t.
17281 * time/tst-y2039.c: New file.
17282 * time/Makefile (tests): Add tst-y2039.
17284 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17286 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17287 (PREFETCH_ONE_SET): Remove duplicate line.
17289 2018-05-17 Florian Weimer <fweimer@redhat.com>
17291 * sysdeps/generic/math-type-macros-double.h: Include
17292 <math-nan-payload-double.h> after <libm-alias-double.h>.
17293 * sysdeps/generic/math-type-macros-float.h: Include
17294 <math-nan-payload-float.h> after <libm-alias-float.h>.
17295 * sysdeps/generic/math-type-macros-float128.h: Include
17296 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
17297 * sysdeps/generic/math-type-macros-ldouble.h: Include
17298 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
17300 2018-05-17 Andreas Schwab <schwab@suse.de>
17302 * resolv/res_send.c (__res_context_send): Don't set errno when
17303 returing error after malloc failure.
17305 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
17307 * nptl/allocatestack.c (allocate_stack): Remove the
17308 !__ASSUME_PRIVATE_FUTEX paths.
17309 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
17310 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17312 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
17313 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17314 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17315 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17316 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
17317 !__ASSUME_PRIVATE_FUTEX path.
17318 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
17319 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
17320 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
17321 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
17322 !__ASSUME_PRIVATE_FUTEX macros.
17323 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17324 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17325 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17326 * sysdeps/unix/sysv/linux/kernel-features.h
17327 (__ASSUME_PRIVATE_FUTEX): Removed.
17329 2018-05-17 Joseph Myers <joseph@codesourcery.com>
17331 * math/Makefile (libm-narrow-fns): Add div.
17332 (libm-test-funcs-narrow): Likewise.
17333 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
17334 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
17335 * math/gen-auto-libm-tests.c (test_functions): Add div.
17336 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
17337 (NARROW_DIV_ROUND_TO_ODD): Likewise.
17338 (NARROW_DIV_TRIVIAL): Likewise.
17339 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
17341 (__ddivl): Likewise.
17342 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
17344 (CFLAGS-nldbl-ddiv.c): New variable.
17345 (CFLAGS-nldbl-fdiv.c): Likewise.
17346 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17348 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
17350 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
17351 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
17352 * math/auto-libm-test-in: Add tests of div.
17353 * math/auto-libm-test-out-narrow-div: New generated file.
17354 * math/libm-test-narrow-div.inc: New file.
17355 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
17356 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
17357 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
17358 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
17359 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
17360 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
17361 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
17362 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
17363 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
17364 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
17365 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
17366 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
17367 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
17368 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
17369 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
17370 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
17371 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
17372 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
17373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17374 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17375 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17376 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17377 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17378 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17379 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17380 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17381 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17382 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17383 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17384 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17385 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17386 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17391 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17392 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17393 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17394 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17395 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17396 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17397 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17398 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17400 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17403 * nscd/nscd-client.h (sendfileall): Remove prototype.
17404 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
17405 (handle_request): Use writeall instead of sendfileall.
17406 * nscd/aicache.c (addhstaiX): Likewise.
17407 * nscd/grpcache.c (cache_addgr): Likewise.
17408 * nscd/hstcache.c (cache_addhst): Likewise.
17409 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17410 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
17411 * nscd/pwdcache.c (cache_addpw): Likewise.
17412 * nscd/servicescache.c (cache_addserv): Likewise.
17413 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
17414 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
17415 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
17418 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
17420 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
17421 Include <string/strncat.c>.
17422 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
17424 (__GI___strncat): New hidden alias.
17426 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17428 * sysdeps/mips/mips32/libm-test-ulps: Update.
17429 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17431 2018-05-16 Florian Weimer <fweimer@redhat.com>
17433 * support/Makefile (libsupport-routines): Add support_quote_blob,
17434 support_test_compare_blob.
17435 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
17436 * support/check.h (TEST_COMPARE_BLOB): Define.
17437 (support_test_compare_blob): Declare.
17438 * support/support.h (support_quote_blob): Declare.
17439 * support/support_quote_blob.c: New file.
17440 * support/support_test_compare_blob.c: Likewise.
17441 * support/tst-support_quote_blob.c: Likewise.
17442 * support/tst-test_compare_blob.c: Likewise.
17444 2018-05-16 Florian Weimer <fweimer@redhat.com>
17446 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
17447 of <strtod_nan_double.h>.
17448 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
17449 instead of SET_MANTISSA.
17450 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
17451 of include <strtod_nan_float.h>.
17452 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
17453 instead of <strtod_nan_ldouble.h>.
17454 * stdlib/strtod_nan_double.h: Move to ...
17455 * sysdeps/generic/math-nan-payload-double.h: ... here.
17456 (FLOAT): Remove definition.
17457 (SET_MANTISSA): Rename to ...
17458 (SET_NAN_PAYLOAD): ... this.
17459 * stdlib/strtod_nan_float.h: Move to ...
17460 * sysdeps/generic/math-nan-payload-float.h: ... here.
17461 (FLOAT): Remove definition.
17462 (SET_MANTISSA): Rename to ...
17463 (SET_NAN_PAYLOAD): ... this.
17464 * sysdeps/generic/math-type-macros-double.h: Include
17465 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
17466 instead of <math-svid-compat.h>.
17467 * sysdeps/generic/math-type-macros-float.h: Include
17468 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
17469 instead of <math-svid-compat.h>.
17470 * sysdeps/generic/math-type-macros-float128.h: Include
17471 <math-nan-payload-float128.h>.
17472 * sysdeps/generic/math-type-macros-ldouble.h: Include
17473 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
17474 instead of <math-svid-compat.h>.
17475 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
17476 check for definition.
17477 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
17478 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
17479 Include <ieee754_float128.h>.
17480 (FLOAT): Remove definition.
17481 (SET_MANTISSA): Rename to ...
17482 (SET_NAN_PAYLOAD): ... this.
17483 * sysdeps/ieee754/float128/strtof128_nan.c: Include
17484 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
17485 Do not include <float128_private.h>.
17486 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
17487 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
17488 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
17489 (FLOAT): Remove definition.
17490 (SET_MANTISSA): Rename to ...
17491 (SET_NAN_PAYLOAD): ... this.
17492 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
17493 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
17494 (FLOAT): Remove definition.
17495 (SET_MANTISSA): Rename to ...
17496 (SET_NAN_PAYLOAD): ... this.
17497 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
17498 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
17499 (FLOAT): Remove definition.
17500 (SET_MANTISSA): Rename to ...
17501 (SET_NAN_PAYLOAD): ... this.
17502 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
17503 of "../stdlib/strtod_nan_double.h".
17504 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
17505 of "../stdlib/strtod_nan_float.h".
17506 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
17507 instead of "../stdlib/strtod_nan_ldouble.h".
17508 * manual/arith.texi (Parsing of Floats): Adjust comment.
17510 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17512 * math/Makefile (libm-narrow-fns): Add mul.
17513 (libm-test-funcs-narrow): Likewise.
17514 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
17515 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
17516 * math/gen-auto-libm-tests.c (test_functions): Add mul.
17517 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
17518 (NARROW_MUL_ROUND_TO_ODD): Likewise.
17519 (NARROW_MUL_TRIVIAL): Likewise.
17520 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
17521 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
17523 (__dmull): Likewise.
17524 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
17526 (CFLAGS-nldbl-dmul.c): New variable.
17527 (CFLAGS-nldbl-fmul.c): Likewise.
17528 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17530 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
17532 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
17533 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
17534 * math/auto-libm-test-in: Add tests of mul.
17535 * math/auto-libm-test-out-narrow-mul: New generated file.
17536 * math/libm-test-narrow-mul.inc: New file.
17537 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
17538 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
17539 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
17540 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
17541 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
17542 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
17543 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
17544 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
17545 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
17546 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
17547 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
17548 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
17549 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
17550 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
17551 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
17552 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
17553 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
17554 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
17555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17556 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17557 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17558 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17559 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17560 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17561 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17562 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17563 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17564 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17565 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17566 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17567 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17568 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17573 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17574 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17575 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17576 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17577 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17578 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17579 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17580 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17582 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17584 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17585 with *%eax in call.
17587 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17589 * sysdeps/i386/ldsodefs.h: Removed.
17590 * sysdeps/x86_64/ldsodefs.h: Moved to ...
17591 * sysdeps/x86/ldsodefs.h: This.
17592 (La_i86_regs): New.
17593 (La_i86_retval): Likewise.
17594 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
17595 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
17597 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17599 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
17602 2018-05-13 Alan Modra <amodra@gmail.com>
17604 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
17605 R_PARISC_TLS_DTPOFF32 reloc addend.
17607 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17609 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
17610 * math/math.h: Restrict the prototype definition for the functions
17611 issignaling(_Float128) and iszero(_Float128); and template
17612 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
17613 __HAVE_FLOAT128_UNLIKE_LDBL.
17614 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
17615 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17616 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
17617 __f128() constants; define the type _Float128 as long double;
17618 and reuse long double in __CFLOAT128.
17620 2018-05-11 Joseph Myers <joseph@codesourcery.com>
17622 * sysdeps/generic/math_private.h: Do not include
17624 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
17626 * math/fromfp.h: Include <math-barriers.h>.
17627 * math/math-narrow.h: Likewise.
17628 * math/s_nextafter.c: Likewise.
17629 * math/s_nexttowardf.c: Likewise.
17630 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
17631 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
17632 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
17633 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
17634 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17635 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17636 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17637 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17638 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17639 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17640 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17641 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17642 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17643 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17644 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
17645 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17646 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17647 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17648 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17649 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17650 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17651 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17652 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17653 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17654 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17655 * sysdeps/ieee754/k_standardl.c: Likewise.
17656 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17657 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17658 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17659 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17660 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17661 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17662 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17663 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17664 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17665 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17666 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17667 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17668 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17669 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17670 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17671 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17672 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
17673 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
17674 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17675 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17676 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
17677 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
17679 2018-05-11 Florian Weimer <fweimer@redhat.com>
17681 Use 64-bit epoch values in the time zone file parser.
17682 * include/time.h (internal_time_t): Define.
17683 (__tzfile_compute): Use it.
17684 * time/tzfile.c (struct leap): Use internal_time_t for epoch
17686 (transitions): Switch to internal_time_t.
17687 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
17689 (__tzfile_compute): Use internal_time_t for timer argument. Check
17690 for truncation before calling __offtime.
17692 2018-05-11 Florian Weimer <fweimer@redhat.com>
17695 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
17696 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
17698 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
17699 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
17700 export without --enable-obsolete-rpc.
17701 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
17702 symbol. This should not have been exported, ever.
17704 2018-05-11 Rafał Lużyński <digitalfreak@lingonborough.com>
17707 * localedata/locales/gd_GB (abmon): Fix typo in May:
17708 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
17710 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17712 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
17713 Use multiple registers to copy data in loop tail.
17715 * sysdeps/aarch64/multiarch/memmove_falkor.S
17716 (__memmove_falkor): Use multiple registers to move data in
17719 2018-05-10 Joseph Myers <joseph@codesourcery.com>
17721 * math/math-underflow.h: New file.
17722 * sysdeps/generic/math_private.h: Do not include <float.h>.
17723 (fabs_tg): Remove macro. Moved to math-underflow.h.
17724 (min_of_type_f): Likewise.
17725 (min_of_type_): Likewise.
17726 (min_of_type_l): Likewise.
17727 (min_of_type_f128): Likewise.
17728 (min_of_type): Likewise.
17729 (math_check_force_underflow): Likewise.
17730 (math_check_force_underflow_nonneg): Likewise.
17731 (math_check_force_underflow_complex): Likewise.
17732 * math/e_exp2_template.c: Include <math-underflow.h>.
17733 * math/k_casinh_template.c: Likewise.
17734 * math/s_catan_template.c: Likewise.
17735 * math/s_catanh_template.c: Likewise.
17736 * math/s_ccosh_template.c: Likewise.
17737 * math/s_cexp_template.c: Likewise.
17738 * math/s_clog10_template.c: Likewise.
17739 * math/s_clog_template.c: Likewise.
17740 * math/s_csin_template.c: Likewise.
17741 * math/s_csinh_template.c: Likewise.
17742 * math/s_csqrt_template.c: Likewise.
17743 * math/s_ctan_template.c: Likewise.
17744 * math/s_ctanh_template.c: Likewise.
17745 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17746 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17747 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17748 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17749 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17750 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17751 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17752 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17753 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17754 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17755 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17756 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17757 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17758 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17759 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17760 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17761 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17762 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17763 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17764 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17765 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17766 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17767 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17768 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17769 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17770 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17771 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17772 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17773 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17774 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17775 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17776 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17777 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17778 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17779 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17780 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17781 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17782 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17783 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17784 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17785 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17786 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17787 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17788 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17789 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17790 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17791 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17792 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17793 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17794 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17795 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17796 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17797 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17798 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17799 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17800 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17801 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17802 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17803 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17804 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17805 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17806 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17807 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17808 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17809 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17810 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17811 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17812 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17813 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17814 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17815 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17816 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17817 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17818 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
17819 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17820 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17821 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17822 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17823 * sysdeps/x86/fpu/powl_helper.c: Likewise.
17824 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
17825 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
17826 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17827 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17828 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17830 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17832 * sysdeps/generic/math-barriers.h: New file.
17833 * sysdeps/generic/math_private.h [!math_opt_barrier]
17834 (math_opt_barrier): Move to math-barriers.h.
17835 [!math_opt_barrier] (math_force_eval): Likewise.
17836 * sysdeps/aarch64/fpu/math-barriers.h: New file.
17837 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
17839 (math_force_eval): Likewise.
17840 * sysdeps/alpha/fpu/math-barriers.h: New file.
17841 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
17843 (math_force_eval): Likewise.
17844 * sysdeps/x86/fpu/math-barriers.h: New file.
17845 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
17847 (math_force_eval): Likewise.
17848 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
17849 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
17850 multiple-include guard for rename.
17851 * sysdeps/powerpc/fpu/math-barriers.h: New file.
17852 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
17854 (math_force_eval): Likewise.
17856 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17860 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
17862 * stdlib/Makefile (test-bz22786): New test.
17863 * stdlib/test-bz22786.c: New test.
17865 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17867 * include/math-narrow-eval.h: New file. Contents moved from ....
17868 * sysdeps/generic/math_private.h: ... here.
17869 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
17870 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17871 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
17872 * stdlib/strtod_l.c: Likewise.
17873 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17874 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17875 * sysdeps/i386/fpu/s_fdim.c: Likewise.
17876 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17877 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17878 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17879 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17880 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17881 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17882 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17883 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17884 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
17885 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17886 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17887 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17888 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17889 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17890 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17891 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17892 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17893 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17894 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17895 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17896 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17897 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17898 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17899 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17900 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17901 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17903 2018-05-08 Andreas Schwab <schwab@suse.de>
17905 * sysdeps/nptl/internaltypes.h: Fix comment.
17907 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
17909 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17910 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
17913 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
17915 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
17916 of I into loop header.
17917 * benchtests/bench-memmove-walk.c
17918 (test_main): Likewise.
17920 2018-05-07 Alexandre Oliva <oliva@gnu.org>
17923 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17924 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17926 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17929 * elf/dl-load.c (open_verify): Fix stack overflow.
17930 * elf/Makefile (tst-big-note): New test.
17931 * elf/tst-big-note-lib.S: New.
17932 * elf/tst-big-note.c: New.
17934 2018-05-04 Joseph Myers <joseph@codesourcery.com>
17936 * scripts/abilist.awk: Ignore absolute symbols.
17937 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
17938 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
17939 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
17940 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
17941 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
17942 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
17943 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17944 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
17945 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
17946 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
17947 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
17948 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
17949 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
17950 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
17951 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
17952 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
17953 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
17954 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
17955 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17956 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
17957 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
17958 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
17959 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
17960 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
17961 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
17962 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
17963 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
17964 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
17965 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17966 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
17967 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
17968 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17969 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
17970 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
17971 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
17972 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
17973 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
17974 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
17975 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
17976 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
17977 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
17978 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17979 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
17980 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
17981 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17982 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
17983 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
17984 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
17985 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
17986 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
17987 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
17988 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
17989 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
17990 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
17991 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17992 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
17993 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
17994 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17995 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
17996 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
17997 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
17998 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
17999 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
18000 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
18001 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
18002 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
18003 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
18004 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18005 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
18006 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
18007 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18008 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
18009 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
18010 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
18011 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
18012 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
18013 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
18014 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
18015 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
18016 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
18017 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18018 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
18019 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
18020 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18021 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
18022 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
18023 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
18024 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
18025 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
18026 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
18027 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
18028 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18030 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
18031 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18032 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
18033 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
18034 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18035 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
18036 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
18037 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
18038 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
18039 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
18040 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
18041 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
18042 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18044 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
18045 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18046 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
18047 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
18048 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18049 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
18050 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
18051 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
18052 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
18053 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
18054 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
18055 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
18056 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
18057 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
18058 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18059 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
18060 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
18061 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18062 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
18063 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
18064 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
18065 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
18066 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
18067 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
18068 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18069 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
18070 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18072 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
18073 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
18074 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
18075 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
18076 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18077 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
18078 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
18079 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
18080 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
18081 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
18082 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
18083 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
18084 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
18085 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
18086 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
18087 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
18088 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
18089 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
18090 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18091 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18093 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
18094 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
18095 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
18096 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18097 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
18098 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
18099 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
18100 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
18101 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
18102 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
18103 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18104 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
18105 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
18106 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18107 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
18108 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
18109 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
18110 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
18111 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18112 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
18113 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
18114 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18115 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
18116 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
18117 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
18118 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
18119 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
18120 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
18121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
18122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
18124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
18127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
18128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
18129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
18130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
18132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
18134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
18135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
18138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
18150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
18151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
18156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
18157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
18158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
18162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
18163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
18171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
18172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
18173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
18180 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18181 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
18183 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18184 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18185 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
18186 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18187 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18188 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18189 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
18190 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
18191 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18192 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
18193 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18194 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
18195 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
18196 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18198 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18199 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
18200 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
18201 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18202 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
18203 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
18204 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
18205 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
18206 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
18207 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
18208 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
18209 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18211 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18212 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
18213 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
18214 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18215 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
18216 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
18217 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
18218 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
18219 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
18220 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
18221 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
18222 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
18223 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
18224 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18225 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
18226 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
18227 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18228 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
18229 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
18230 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
18231 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
18232 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
18233 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
18234 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
18235 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18237 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
18238 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18239 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
18240 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
18241 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18242 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
18243 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
18244 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
18245 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
18246 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
18247 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
18248 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
18249 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18251 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
18252 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18253 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
18254 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
18255 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18256 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
18257 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
18258 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
18259 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
18260 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
18261 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
18262 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
18263 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
18264 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
18265 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18266 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
18267 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
18268 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18269 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
18270 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
18271 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
18272 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
18273 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
18274 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
18275 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18276 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
18277 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
18278 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
18279 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18280 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
18281 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
18282 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18283 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
18284 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
18285 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
18286 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
18287 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
18288 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
18290 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18293 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
18294 Use atomic_load_acquire to load __tid.
18296 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18298 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
18299 Restore the pointer into %rdx, after syscall and use %rdx,
18300 instead of %rsi, to restore context.
18302 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18304 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
18305 Pop the pointer into %rdx after syscall and use %rdx, instead
18306 of %rsi, to restore context.
18308 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18310 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
18311 handlers after setjmp.
18312 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
18314 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
18315 <libc-pointer-arith.h>.
18316 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
18317 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
18318 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
18319 _JUMP_BUF_SIGSET_BITS_PER_WORD.
18320 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
18321 * sysdeps/x86/__longjmp_cancel.S: New file.
18322 * sysdeps/x86/longjmp.c: Likewise.
18323 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
18325 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18327 * NEWS: Add ustat.h deprecation entry.
18328 * bits/ustat.h: Remove file.
18329 * misc/sys/ustat.h: Likewise.
18330 * misc/ustat.h: Likewise.
18331 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
18332 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
18333 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
18334 compatibility mode.
18335 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
18336 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
18337 generic Linux implementation.
18339 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18341 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
18342 * math/w_expl_compat.c: Likewise.
18343 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
18345 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
18347 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18349 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18351 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
18352 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
18353 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
18355 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
18356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18357 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18358 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
18359 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
18362 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18364 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
18366 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
18367 * math/w_asin_template.c: Likewise.
18368 * math/w_atanh_template.c: Likewise.
18370 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18372 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
18373 to powerpc/powerpc64/be for big-endian.
18374 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
18377 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
18378 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
18379 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
18380 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
18381 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18382 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
18383 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
18384 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
18385 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
18386 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18387 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
18388 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
18389 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
18390 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
18391 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
18392 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
18393 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
18394 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
18395 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
18396 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
18397 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
18398 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18399 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
18400 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
18401 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
18402 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18403 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
18404 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
18405 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
18406 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18407 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18408 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18410 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
18411 adjusted to imply powerpc64 and older processors on powerpc64/be.
18412 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
18413 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
18414 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
18415 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
18416 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
18417 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
18418 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
18419 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
18420 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
18421 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
18422 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
18423 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
18424 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
18425 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
18426 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
18427 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
18428 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
18429 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
18430 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
18431 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
18432 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
18433 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
18434 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
18435 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
18436 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
18437 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
18438 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
18439 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
18440 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
18441 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
18442 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
18444 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
18445 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
18446 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
18447 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
18449 * sysdeps/powerpc/powerpc64/be/Implies: New file.
18450 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
18451 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
18452 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
18454 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
18455 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
18456 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
18457 * sysdeps/powerpc/powerpc64le/configure: Likewise.
18458 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
18459 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
18460 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
18461 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
18462 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
18463 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
18464 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
18466 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
18467 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
18468 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
18469 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
18470 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
18471 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
18472 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
18473 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
18474 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
18475 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
18476 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
18478 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
18479 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
18480 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
18481 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
18482 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
18483 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
18484 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
18485 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
18486 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
18487 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
18488 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
18489 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
18491 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
18492 and adjusted to imply olders processors.
18493 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
18494 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
18495 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
18496 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
18497 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
18498 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
18499 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
18500 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
18501 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
18502 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
18503 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
18505 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
18507 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
18508 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
18510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
18512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
18513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
18515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
18517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
18519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
18521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
18522 powerpc64 and adjusted.
18523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
18524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
18525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
18528 2018-04-27 Joseph Myers <joseph@codesourcery.com>
18530 * sysdeps/tile: Remove.
18531 * sysdeps/unix/sysv/linux/tile: Likewise.
18532 * README (tilegx-*-linux-gnu): Remove from list of supported
18534 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
18535 contribution of support for generic Linux kernel syscall
18537 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
18538 tilegx configurations.
18539 (Config.install_linux_headers): Do not handle tile.
18540 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
18542 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
18543 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
18544 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18545 conditional undefine and redefine.
18546 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
18548 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18549 conditional undefine and redefine.
18551 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
18553 * signal/tst-sigaction.c: New file to test BZ #23069.
18554 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
18556 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18559 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
18560 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
18561 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
18562 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18564 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18566 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
18567 _DIRENT_MATCHES_DIRENT64 is not defined.
18568 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
18569 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
18571 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
18572 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
18574 2018-04-25 Joseph Myers <joseph@codesourcery.com>
18576 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
18577 version to GCC 8 branch.
18579 2018-04-24 Joseph Myers <joseph@codesourcery.com>
18581 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
18582 (check_no_hidden): Use type of original function when declaring
18585 * sysdeps/unix/sysv/linux/sys/ptrace.h
18586 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
18587 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
18588 (struct __ptrace_seccomp_metadata): New type.
18589 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18590 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18591 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
18592 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18593 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
18594 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18595 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18596 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18597 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18598 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18599 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18600 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18601 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
18602 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18603 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
18604 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18606 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18608 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
18610 * dirent/versionsort.c (versionsort): Likewise.
18611 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
18612 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
18613 * dirent/versionsort64.c (versionsort64): Likewise.
18614 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
18615 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
18616 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
18617 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
18618 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
18619 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
18620 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
18621 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
18622 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
18623 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
18624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
18625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
18626 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
18627 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
18629 2018-04-23 Joseph Myers <joseph@codesourcery.com>
18631 * elf/elf.h (NT_PPC_PKEY): New macro.
18633 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
18636 * localedata/locales/hr_HR: fix thousands_sep and
18639 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18641 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
18642 (XTABS): Define to TAB3.
18644 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18646 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18648 * dirent/scandir-tail-common.c: New file.
18649 * dirent/scandir-tail.c: Use scandir-tail-common.c.
18650 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
18651 * dirent/scandir.c: Use scandir-tail-common.c.
18652 * dirent/scandirat.c: Likewise.
18653 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
18654 * dirent/scandir64.c (scandir64): Always build and alias to scandir
18655 if _DIRENT_MATCHES_DIRENT64 is defined.
18656 * dirent/scandirat64.c (scandirat64): Likewise.
18657 * include/dirent.h (__scandir_tail): Only define iff
18658 _DIRENT_MATCHES_DIRENT64 is not defined.
18659 (__scandir64_tail): Define regardless.
18660 (__scandirat, scandirat64): Remove libc_hidden_proto.
18661 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
18662 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
18663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
18664 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
18665 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18666 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
18667 * sysdeps/unix/sysv/linux/scandir64.c: New file.
18669 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18671 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
18673 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
18675 (_dl_aarch64_cap_flags): Add asimdfhm.
18677 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
18679 * sysdeps/nios2/libm-test-ulps: Update.
18681 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18683 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
18684 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
18686 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
18688 (_DIRENT_MATCHES_DIRENT64): Undef
18689 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
18690 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
18691 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
18692 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
18693 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
18694 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
18695 use getdents64 syscalls as base.
18696 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
18697 symbol if required.
18698 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
18699 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
18700 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
18701 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
18702 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
18703 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
18704 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
18705 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
18706 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18707 (__get_clockfreq_via_proc_openprom): Use __getdents64.
18708 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
18710 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18712 * scripts/test_printers_common.py (init_test): Disable lock elision.
18714 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18716 * math/test-tgmath.c (count_double, count_float,
18717 count_ldouble, count_cdouble, count_cfloat,
18718 count_cldouble): Use volatile int.
18720 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18722 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
18723 (conformtest-xfail-conds): Add i386-gnu.
18724 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
18726 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
18727 ipc_perm.cuid, ipc_perm.cgid): Likewise.
18728 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
18729 msqid_ds.msg_lrpid): Likewise.
18730 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
18732 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
18733 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
18734 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
18735 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
18737 (struct statvfs64): Likewise.
18738 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
18740 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
18741 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
18742 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
18743 instead of wait_queue.
18744 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
18745 instead of vm_area_struct.
18746 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
18747 struct sched_param definition to it.
18748 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18749 * bits/types/struct_sched_param.h: New file.
18750 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
18751 <bits/types/struct_sched_param.h> instead of <sched.h>.
18752 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
18753 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
18754 generic version but include <bits/pthreadtypes.h> to make struct
18755 sigevent's sigev_notify_attributes field a pthread_attr_t*.
18756 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
18758 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
18759 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
18760 [__USE_XOPEN] (OFDEL): New macro.
18761 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
18762 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
18763 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
18765 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
18766 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
18767 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
18769 * sysdeps/i386/sys/ucontext.h: Likewise.
18770 * sysdeps/m68k/sys/ucontext.h: Likewise.
18771 * sysdeps/mips/sys/ucontext.h: Likewise.
18772 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
18773 * sysdeps/mach/hurd/i386/Makefile
18774 (test-xfail-POSIX/fcntl.h/conform): Add.
18775 (test-xfail-POSIX/signal.h/conform): Add.
18776 (test-xfail-POSIX/semaphore.h/conform): Add.
18777 (test-xfail-POSIX/regex.h/conform): Add.
18778 (test-xfail-POSIX/aio.h/conform): Add.
18779 (test-xfail-POSIX/mqueue.h/conform): Add.
18780 (test-xfail-POSIX/sys/types.h/conform): Add.
18781 (test-xfail-UNIX98/fcntl.h/conform): Add.
18782 (test-xfail-UNIX98/netdb.h/conform): Add.
18783 (test-xfail-UNIX98/signal.h/conform): Add.
18784 (test-xfail-UNIX98/semaphore.h/conform): Add.
18785 (test-xfail-UNIX98/regex.h/conform): Add.
18786 (test-xfail-UNIX98/aio.h/conform): Add.
18787 (test-xfail-UNIX98/ftw.h/conform): Add.
18788 (test-xfail-UNIX98/mqueue.h/conform): Add.
18789 (test-xfail-UNIX98/netinet/in.h/conform): Add.
18790 (test-xfail-UNIX98/sys/wait.h/conform): Add.
18791 (test-xfail-UNIX98/sys/sem.h/conform): Add.
18792 (test-xfail-UNIX98/sys/uio.h/conform): Add.
18793 (test-xfail-UNIX98/sys/socket.h/conform): Add.
18794 (test-xfail-UNIX98/sys/types.h/conform): Add.
18795 (test-xfail-UNIX98/stdlib.h/conform): Add.
18796 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
18797 (test-xfail-POSIX2008/fcntl.h/conform): Add.
18798 (test-xfail-POSIX2008/netdb.h/conform): Add.
18799 (test-xfail-POSIX2008/signal.h/conform): Add.
18800 (test-xfail-POSIX2008/semaphore.h/conform): Add.
18801 (test-xfail-POSIX2008/regex.h/conform): Add.
18802 (test-xfail-POSIX2008/aio.h/conform): Add.
18803 (test-xfail-POSIX2008/mqueue.h/conform): Add.
18804 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
18805 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
18806 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
18807 (test-xfail-POSIX2008/sys/types.h/conform): Add.
18808 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
18809 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
18810 (test-xfail-XOPEN2K/netdb.h/conform): Add.
18811 (test-xfail-XOPEN2K/signal.h/conform): Add.
18812 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
18813 (test-xfail-XOPEN2K/regex.h/conform): Add.
18814 (test-xfail-XOPEN2K/aio.h/conform): Add.
18815 (test-xfail-XOPEN2K/ftw.h/conform): Add.
18816 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
18817 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
18818 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
18819 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
18820 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
18821 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
18822 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
18823 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
18824 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
18825 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
18826 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
18827 (test-xfail-XOPEN2K8/signal.h/conform): Add.
18828 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
18829 (test-xfail-XOPEN2K8/regex.h/conform): Add.
18830 (test-xfail-XOPEN2K8/aio.h/conform): Add.
18831 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
18832 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
18833 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
18834 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
18835 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
18836 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
18837 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
18838 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
18839 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
18840 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
18841 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
18843 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
18844 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
18846 2018-04-18 Joseph Myers <joseph@codesourcery.com>
18848 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18849 --enable-obsolete for powerpc-linux-gnuspe.
18851 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18853 * conform/data/sys/un.h-data: Allow sun_ prefix.
18854 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
18856 * sysdeps/mach/include/mach.h: Likewise.
18857 * sysdeps/mach/include/mach/mig_support.h: Likewise.
18858 * sysdeps/mach/include/mach_error.h: Likewise.
18860 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18862 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
18863 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
18864 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
18865 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
18867 2018-04-16 Andreas Schwab <schwab@suse.de>
18870 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
18872 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18874 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
18875 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
18877 2018-04-12 DJ Delorie <dj@redhat.com>
18879 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18882 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18884 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
18885 (struct kernel_sigaction): Use the same definition on 31bit as is used
18888 2018-04-09 Florian Weimer <fweimer@redhat.com>
18891 * resolv/res_send.c (send_dg): Use designated initializers instead
18892 of assignment to zero-initialize other fields of struct mmsghdr.
18894 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18896 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
18897 __READDIR_ALIAS): Undefine after usage.
18898 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
18899 __READDIR_R_ALIAS): Likewise.
18900 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
18901 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
18902 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
18903 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
18904 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
18905 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
18906 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18907 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18908 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
18909 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
18910 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
18911 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
18912 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18913 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
18914 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
18915 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
18916 * sysdeps/unix/sysv/linux/readdir.c: New file.
18917 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
18918 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
18919 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
18921 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18923 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
18925 * manual/charset.texi (Converting a Character): Fix typo.
18927 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18931 * sysdeps/arm/libm-test-ulps: Update.
18933 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
18934 as base implementation.
18935 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18936 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18937 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18938 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18939 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18940 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
18941 remove unrequired definitions and update comments.
18942 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
18943 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
18944 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
18945 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
18946 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
18947 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
18948 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
18949 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
18950 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
18951 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
18952 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
18953 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18954 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18955 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
18956 and RESET_SA_RESTORER hooks.
18958 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
18960 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18962 2018-04-05 Florian Weimer <fweimer@redhat.com>
18964 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
18965 integer overflow, memory leak on error, and indeterminate errno
18966 value. Add a null wide character to terminate the result string.
18967 * manual/charset.texi (Converting a Character): Mention embedded
18968 null bytes in the mbrtowc input string. Explain what happens in
18969 the -2 result case. Do not claim that mbrtowc is simple or
18970 obvious to use. Adjust the description of the code example. Use
18971 @code, not @var, for concrete variables.
18973 2018-04-05 Florian Weimer <fweimer@redhat.com>
18975 * manual/examples/mbstouwcs.c: New file.
18976 * manual/charset.texi (Converting a Character): Include it.
18978 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18980 * include/dirent.h (dirfd): Add hidden proto.
18981 * dirent/dirfd.c (dirfd): Add hidden def.
18982 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
18983 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
18985 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18987 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
18988 sin, cos and sincos to 1 ULP.
18990 2018-04-04 Maciej W. Rozycki <macro@mips.com>
18993 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
18995 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
18996 * elf/tst-absolute-sym.c: New file.
18997 * elf/tst-absolute-sym-lib.c: New file.
18998 * elf/tst-absolute-sym-lib.lds: New file.
18999 * elf/Makefile (tests): Add `tst-absolute-sym'.
19000 (modules-names): Add `tst-absolute-sym-lib'.
19001 (LDLIBS-tst-absolute-sym-lib.so): New variable.
19002 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
19003 ($(objpfx)tst-absolute-sym): New dependency.
19006 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
19008 (SYMBOL_ADDRESS): New macro.
19009 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
19010 SYMBOL_ADDRESS for symbol address calculation.
19011 * elf/dl-runtime.c (_dl_fixup): Likewise.
19012 (_dl_profile_fixup): Likewise.
19013 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
19014 * elf/rtld.c (dl_main): Likewise.
19015 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
19016 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
19017 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
19018 (elf_machine_rela): Likewise.
19019 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
19020 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
19021 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19022 (elf_machine_rela): Likewise.
19023 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19024 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
19025 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
19026 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
19028 (elf_machine_reloc): Likewise.
19029 (elf_machine_got_rel): Likewise.
19030 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
19031 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
19032 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19034 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19036 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
19037 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19039 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19041 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19042 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19044 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19046 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
19047 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19049 2018-04-04 Zack Weinberg <zackw@panix.com>
19051 * sysdeps/generic/internal-signals.h: Include signal.h,
19052 sigsetops.h, and stdbool.h.
19053 (__libc_signal_block_all): Actually block all signals.
19054 (__libc_signal_block_app): Likewise.
19055 (__libc_signal_restore_set): Actually restore the signal mask.
19057 2018-04-04 Florian Weimer <fweimer@redhat.com>
19059 inet: Actually build and run tst-deadline.
19060 * inet/Makefile (tests-internal): Add tst-deadline and do not
19061 overwrite the variable.
19062 (tests-static-internal): Remove variable.
19064 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
19067 * bits/uio-ext.h (RWF_APPEND): New.
19068 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
19069 * manual/llio.texi: Document RWF_APPEND.
19070 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
19071 (RWF_SUPPORTED): Add RWF_APPEND.
19073 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19076 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
19077 check for internal nptl signals.
19078 * nptl/sigaction.c (__sigaction): Likewise.
19079 * signal/sigaddset.c (sigaddset): Likewise.
19080 * signal/sigdelset.c (sigdelset): Likewise.
19081 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
19082 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
19084 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
19085 to filter out internal nptl signals.
19086 * signal/tst-sigset.c (do_test): Check ech signal indidually and
19087 also check realtime signals using standard macros.
19088 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
19089 __is_internal_signal, __libc_signal_block_all,
19090 __libc_signal_block_app, __libc_signal_restore_set): New functions.
19091 * sysdeps/nptl/sigfillset.c: Remove file.
19092 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
19093 Change return to bool.
19094 (__clear_internal_signals): Remove SIGTIMER clean since it is
19095 equal to SIGCANEL on Linux.
19096 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
19097 signal set was constructed using standard functions.
19099 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19101 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
19102 ifname is too long.
19103 * hurd/hurdsig.c (interrupted_reply_port_location): Use
19104 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
19105 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
19107 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
19108 * signal/sigaddset.c: Include <sigsetopts.h>.
19109 * signal/sigdelset.c: Likewise.
19111 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19113 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
19115 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
19116 logic as sin and cos.
19118 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19120 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
19121 inputs. Return correct sign.
19122 (do_sincos): Remove small input check before do_sin, let do_sin set
19127 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19129 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
19130 (do_cos_slow): Likewise.
19131 (do_sin_slow): Likewise.
19132 (reduce_and_compute): Likewise.
19137 (sloww1): Likewise.
19138 (sloww2): Likewise.
19140 (bslow1): Likewise.
19141 (bslow2): Likewise.
19142 (cslow2): Likewise.
19144 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19146 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
19147 (do_cos): Remove corp parameter and calculations.
19148 (do_sin): Likewise.
19149 (do_sincos): Remove cor variable.
19150 (__sin): Use do_sincos for huge inputs.
19152 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19153 (reduce_and_compute_sincos): Remove unused function.
19155 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19157 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
19158 reduce_sincos, improve accuracy to 136 bits.
19159 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
19160 (__sin): Use improved reduction and simplified do_sincos calculation.
19162 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19164 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19166 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
19167 (do_sincos_2): Likewise.
19168 (__sin): Remove middle range reduction case.
19170 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
19173 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19175 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
19176 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
19179 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
19181 2018-04-03 Joseph Myers <joseph@codesourcery.com>
19183 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19186 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19188 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
19189 Remove definitions.
19190 (opendir_oflags): Use O_DIRECTORY regardless.
19191 (__opendir, __opendirat): Remove need_isdir_precheck usage.
19192 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
19194 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19196 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
19197 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
19199 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
19200 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
19201 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
19202 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
19203 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
19204 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
19206 * htl/Makefile: Bump licence to LGPL 2.1+.
19207 * htl/alloca_cutoff.c: Likewise.
19208 * htl/cthreads-compat.c: Likewise.
19209 * htl/lockfile.c: Likewise.
19210 * htl/pt-alloc.c: Likewise.
19211 * htl/pt-cancel.c: Likewise.
19212 * htl/pt-cleanup.c: Likewise.
19213 * htl/pt-create.c: Likewise.
19214 * htl/pt-dealloc.c: Likewise.
19215 * htl/pt-detach.c: Likewise.
19216 * htl/pt-exit.c: Likewise.
19217 * htl/pt-getattr.c: Likewise.
19218 * htl/pt-initialize.c: Likewise.
19219 * htl/pt-internal.h: Likewise.
19220 * htl/pt-join.c: Likewise.
19221 * htl/pt-self.c: Likewise.
19222 * htl/pt-setcancelstate.c: Likewise.
19223 * htl/pt-setcanceltype.c: Likewise.
19224 * htl/pt-sigmask.c: Likewise.
19225 * htl/pt-spin-inlines.c: Likewise.
19226 * htl/pt-testcancel.c: Likewise.
19227 * htl/pt-yield.c: Likewise.
19228 * htl/tests/test-1.c: Likewise.
19229 * htl/tests/test-10.c: Likewise.
19230 * htl/tests/test-11.c: Likewise.
19231 * htl/tests/test-12.c: Likewise.
19232 * htl/tests/test-13.c: Likewise.
19233 * htl/tests/test-14.c: Likewise.
19234 * htl/tests/test-15.c: Likewise.
19235 * htl/tests/test-16.c: Likewise.
19236 * htl/tests/test-17.c: Likewise.
19237 * htl/tests/test-2.c: Likewise.
19238 * htl/tests/test-3.c: Likewise.
19239 * htl/tests/test-4.c: Likewise.
19240 * htl/tests/test-5.c: Likewise.
19241 * htl/tests/test-6.c: Likewise.
19242 * htl/tests/test-7.c: Likewise.
19243 * htl/tests/test-8.c: Likewise.
19244 * htl/tests/test-9.c: Likewise.
19245 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
19246 * sysdeps/htl/bits/cancelation.h: Likewise.
19247 * sysdeps/htl/bits/pthread-np.h: Likewise.
19248 * sysdeps/htl/bits/pthread.h: Likewise.
19249 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
19250 * sysdeps/htl/bits/semaphore.h: Likewise.
19251 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
19252 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
19253 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
19254 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
19255 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
19256 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
19257 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
19258 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
19259 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
19260 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
19261 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
19262 * sysdeps/htl/old_pt-atfork.c: Likewise.
19263 * sysdeps/htl/pt-atfork.c: Likewise.
19264 * sysdeps/htl/pt-attr-destroy.c: Likewise.
19265 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
19266 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
19267 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
19268 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
19269 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
19270 * sysdeps/htl/pt-attr-getscope.c: Likewise.
19271 * sysdeps/htl/pt-attr-getstack.c: Likewise.
19272 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
19273 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
19274 * sysdeps/htl/pt-attr-init.c: Likewise.
19275 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
19276 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
19277 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
19278 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
19279 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
19280 * sysdeps/htl/pt-attr-setscope.c: Likewise.
19281 * sysdeps/htl/pt-attr-setstack.c: Likewise.
19282 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
19283 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
19284 * sysdeps/htl/pt-attr.c: Likewise.
19285 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
19286 * sysdeps/htl/pt-barrier-init.c: Likewise.
19287 * sysdeps/htl/pt-barrier-wait.c: Likewise.
19288 * sysdeps/htl/pt-barrier.c: Likewise.
19289 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
19290 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
19291 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
19292 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
19293 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
19294 * sysdeps/htl/pt-cond-destroy.c: Likewise.
19295 * sysdeps/htl/pt-cond-init.c: Likewise.
19296 * sysdeps/htl/pt-cond-signal.c: Likewise.
19297 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
19298 * sysdeps/htl/pt-cond-wait.c: Likewise.
19299 * sysdeps/htl/pt-cond.c: Likewise.
19300 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
19301 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
19302 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
19303 * sysdeps/htl/pt-condattr-init.c: Likewise.
19304 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
19305 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
19306 * sysdeps/htl/pt-destroy-specific.c: Likewise.
19307 * sysdeps/htl/pt-equal.c: Likewise.
19308 * sysdeps/htl/pt-getconcurrency.c: Likewise.
19309 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
19310 * sysdeps/htl/pt-getschedparam.c: Likewise.
19311 * sysdeps/htl/pt-getspecific.c: Likewise.
19312 * sysdeps/htl/pt-init-specific.c: Likewise.
19313 * sysdeps/htl/pt-key-create.c: Likewise.
19314 * sysdeps/htl/pt-key-delete.c: Likewise.
19315 * sysdeps/htl/pt-key.h: Likewise.
19316 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
19317 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
19318 * sysdeps/htl/pt-mutex-init.c: Likewise.
19319 * sysdeps/htl/pt-mutex-lock.c: Likewise.
19320 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
19321 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
19322 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
19323 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
19324 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
19325 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
19326 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
19327 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
19328 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
19329 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
19330 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
19331 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
19332 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
19333 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
19334 * sysdeps/htl/pt-mutexattr.c: Likewise.
19335 * sysdeps/htl/pt-once.c: Likewise.
19336 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
19337 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
19338 * sysdeps/htl/pt-rwlock-init.c: Likewise.
19339 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
19340 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
19341 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
19342 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
19343 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
19344 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
19345 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
19346 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
19347 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
19348 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
19349 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
19350 * sysdeps/htl/pt-setconcurrency.c: Likewise.
19351 * sysdeps/htl/pt-setschedparam.c: Likewise.
19352 * sysdeps/htl/pt-setschedprio.c: Likewise.
19353 * sysdeps/htl/pt-setspecific.c: Likewise.
19354 * sysdeps/htl/pt-spin.c: Likewise.
19355 * sysdeps/htl/pt-startup.c: Likewise.
19356 * sysdeps/htl/pthread.h: Likewise.
19357 * sysdeps/htl/sem-close.c: Likewise.
19358 * sysdeps/htl/sem-destroy.c: Likewise.
19359 * sysdeps/htl/sem-getvalue.c: Likewise.
19360 * sysdeps/htl/sem-init.c: Likewise.
19361 * sysdeps/htl/sem-open.c: Likewise.
19362 * sysdeps/htl/sem-post.c: Likewise.
19363 * sysdeps/htl/sem-timedwait.c: Likewise.
19364 * sysdeps/htl/sem-trywait.c: Likewise.
19365 * sysdeps/htl/sem-unlink.c: Likewise.
19366 * sysdeps/htl/sem-wait.c: Likewise.
19367 * sysdeps/hurd/htl/pt-kill.c: Likewise.
19368 * sysdeps/i386/htl/pt-machdep.h: Likewise.
19369 * sysdeps/mach/htl/pt-block.c: Likewise.
19370 * sysdeps/mach/htl/pt-spin.c: Likewise.
19371 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
19372 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
19373 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
19374 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
19375 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
19376 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
19377 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
19378 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
19379 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
19380 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
19381 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
19382 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
19383 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
19384 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
19385 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
19386 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
19387 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
19388 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
19389 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
19390 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
19391 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
19392 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
19393 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
19394 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
19395 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
19396 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
19397 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
19398 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
19399 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
19400 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
19401 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
19402 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
19403 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
19404 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
19405 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
19406 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
19407 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
19408 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
19409 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
19410 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
19411 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
19412 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
19413 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
19415 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
19416 * README: Remove the mention of out-of-tree patches needed for
19419 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
19420 (UTIME_NOW, UTIME_OMIT): Define macros.
19422 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
19423 instead of pthread_detach.
19424 (__cthread_fork): Call __pthread_create instead of pthread_create.
19425 (__cthread_keycreate): Call __pthread_key_create instead of
19426 pthread_key_create.
19427 (__cthread_getspecific): Call __pthread_getspecific instead of
19428 pthread_getspecific.
19429 (__cthread_setspecific): Call __pthread_setspecific instead of
19430 pthread_setspecific.
19431 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
19432 __pthread_mutex_unlock instead of pthread_mutex_lock and
19433 pthread_mutex_unlock.
19434 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
19435 ___pthread_get_cleanup_stack.
19436 (__pthread_get_cleanup_stack): New strong alias.
19437 * htl/pt-create.c: Include <pthreadP.h>.
19438 (entry_point): Call __pthread_exit instead of pthread_exit.
19439 (pthread_create): Rename to __pthread_create.
19440 (pthread_create): New strong alias.
19441 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
19442 (pthread_detach): New strong alias.
19443 (__pthread_detach): Call __pthread_cond_broadcast instead of
19444 pthread_cond_broadcast.
19445 * htl/pt-exit.c: Include <pthreadP.h>.
19446 (__pthread_exit): Call __pthread_setcancelstate and
19447 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
19448 __pthread_get_cleanup_stack.
19449 * htl/pt-testcancel.c: Include <pthreadP.h>.
19450 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
19451 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
19452 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
19453 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
19454 pthread_attr_getstacksize.
19455 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
19456 Rename to __pthread_attr_getstackaddr.
19457 (pthread_attr_getstackaddr): New strong alias.
19458 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
19459 Rename to __pthread_attr_getstacksize.
19460 (pthread_attr_getstacksize): New strong alias.
19461 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
19462 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
19463 (pthread_attr_setstack): New strong alias.
19464 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
19465 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
19466 pthread_attr_getstacksize, pthread_attr_setstacksize and
19467 pthread_attr_setstackaddr.
19468 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
19469 Rename to __pthread_attr_setstackaddr.
19470 (pthread_attr_setstackaddr): New strong alias.
19471 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
19472 Rename to __pthread_attr_setstacksize.
19473 (pthread_attr_setstacksize): New strong alias.
19474 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
19475 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
19477 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
19478 (__pthread_key_create): New hidden def.
19479 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
19480 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
19481 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
19482 __pthread_exit, __pthread_key_create, __pthread_getspecific,
19483 __pthread_setspecific, __pthread_setcancelstate,
19484 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
19485 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
19486 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
19488 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
19489 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
19490 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
19491 (pthread_attr_setstackaddr): New strong alias.
19492 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
19493 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
19494 (pthread_attr_setstacksize): New strong alias.
19495 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
19496 (call_exit): Call __pthread_exit instead of pthread_exit.
19497 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
19498 (_pthread_mutex_init): New hidden definition.
19499 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
19500 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
19501 instead of pthread_attr_init and pthread_attr_setstack.
19503 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
19504 __vm_deallocate instead of vm_allocate and vm_deallocate.
19505 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
19507 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
19509 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
19511 * hurd/siginfo.c: Include <libioP.h>.
19512 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
19513 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
19515 * mach/devstream.c: Include <libioP.h>.
19516 (dealloc_ref): Call __mach_port_deallocate instead of
19517 mach_port_deallocate.
19518 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
19519 Call __mach_port_deallocate instead of mach_port_deallocate.
19520 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
19522 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
19524 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
19525 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
19526 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
19528 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
19530 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
19531 instead of sysconf.
19532 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
19533 __clock_gettime instead of clock_gettime.
19534 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
19535 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19536 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
19537 * sysdeps/unix/bsd/stty.c (stty): Likewise.
19538 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
19540 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
19541 __clock_gettime and __nanosleep instead of clock_gettime and
19543 * hurd/catch-signal.c (hurd_catch_signal): Rename to
19544 __hurd_catch_signal.
19545 (hurd_catch_signal): New strong alias.
19546 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
19547 __hurd_catch_signal instead of hurd_catch_signal.
19548 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
19549 * hurd/hurdexec.c (_hurd_init): Add hidden def.
19550 * hurd/hurdinit.c (_hurd_init): Add hidden def.
19551 * hurd/hurdsig.c: Include <mach/mig_support.h>.
19552 (_hurd_thread_sigstate): Add hidden def.
19553 (_hurd_internal_post_signal): Use __mutex_unlock instead of
19555 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
19556 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
19557 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
19558 __hurd_file_name_path_lookup.
19559 (hurd_file_name_path_lookup): New strong alias.
19560 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
19561 hurd_file_name_path_lookup.
19562 * mach/errstring.c (mach_error_type): Add hidden def.
19563 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
19564 * mach/mutex-init.c (__mutex_init): Add hidden def.
19565 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
19566 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
19567 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
19568 * sysdeps/mach/hurd/getcwd.c
19569 (_hurd_canonicalize_directory_name_internal): Rename to
19570 __hurd_canonicalize_directory_name_internal.
19571 (_hurd_canonicalize_directory_name_internal): New strong alias.
19572 (__canonicalize_directory_name_internal, __getcwd): Call
19573 __hurd_canonicalize_directory_name_internal instead of
19574 _hurd_canonicalize_directory_name_internal.
19575 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
19576 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
19578 * sysdeps/hurd/include/hurd.h: New file.
19579 * sysdeps/hurd/include/hurd/fd.h: New file.
19580 * sysdeps/hurd/include/hurd/signal.h: New file.
19581 * sysdeps/mach/include/lock-intern.h: New file.
19582 * sysdeps/mach/include/mach.h: New file.
19583 * sysdeps/mach/include/mach/mig_support.h: New file.
19584 * sysdeps/mach/include/mach_error.h: New file.
19585 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
19587 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
19588 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
19589 _HEADER_H_HIDDEN_DEF macro.
19590 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
19591 _hurd_fd_error_signal): Add hidden prototype.
19592 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
19594 * libio/iolibio.h (_IO_puts): New hidden prototype.
19595 * libio/ioputs.c (_IO_puts): New hidden def.
19596 * sysdeps/mach/hurd/localplt.data: New file.
19598 2018-04-02 Agustina Arzille <avarzille@riseup.net>
19599 Amos Jeffries <squid3@treenet.co.nz>
19600 David Michael <fedora.dm0@gmail.com>
19601 Marco Gerards <marco@gnu.org>
19602 Marcus Brinkmann <marcus@gnu.org>
19603 Neal H. Walfield <neal@gnu.org>
19604 Pino Toscano <toscano.pino@tiscali.it>
19605 Richard Braun <rbraun@sceen.net>
19606 Roland McGrath <roland@gnu.org>
19607 Samuel Thibault <samuel.thibault@ens-lyon.org>
19608 Thomas DiModica <ricinwich@yahoo.com>
19609 Thomas Schwinge <tschwinge@gnu.org>
19611 * htl: New directory.
19612 * sysdeps/htl: New directory.
19613 * sysdeps/hurd/htl: New directory.
19614 * sysdeps/i386/htl: New directory.
19615 * sysdeps/mach/htl: New directory.
19616 * sysdeps/mach/hurd/htl: New directory.
19617 * sysdeps/mach/hurd/i386/htl: New directory.
19618 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
19619 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
19620 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
19622 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19624 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
19625 signals in thread created for runing timers.
19627 2018-04-01 Florian Weimer <fweimer@redhat.com>
19629 * support/support_format_addrinfo.c (support_format_addrinfo):
19630 Include unknown error number in formatted result.
19632 2018-03-29 Florian Weimer <fweimer@redhat.com>
19634 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
19637 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19639 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
19640 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
19641 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19642 (__ASSUME_CLONE_BACKWARDS): Define.
19644 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
19647 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
19648 early when linux sentinel value is set.
19650 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19652 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
19654 2018-03-27 Andreas Schwab <schwab@suse.de>
19657 * resolv/res_send.c (__res_context_send): Return ENOMEM if
19658 allocation of private copy of nsaddr_list fails.
19660 2018-03-26 Joseph Myers <joseph@codesourcery.com>
19663 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
19664 * sysdeps/unix/sysv/linux/umount.c: ... here.
19665 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
19666 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
19667 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
19668 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
19669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
19670 * sysdeps/unix/sysv/linux/umount.S: Likewise.
19671 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
19673 2018-03-26 Andreas Schwab <schwab@suse.de>
19675 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
19676 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
19677 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
19678 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
19679 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
19680 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
19681 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
19682 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
19683 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
19684 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
19685 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
19686 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
19687 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
19688 (R_RISCV_NUM): Define.
19690 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19692 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
19693 TLS declaration of errno.
19694 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
19696 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
19697 (ARCH_SETUP_TLS): Likewise.
19698 * sysdeps/mach/hurd/libc-start.h: New file copied from
19699 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
19700 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
19701 instead of __libc_setup_tls.
19702 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
19703 __libc_setup_tls before initializing libpthread and running _hurd_init
19704 which starts the signal thread.
19705 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
19707 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19709 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
19712 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
19713 after it is defined.
19715 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
19716 Max Horn <max@quendi.de>
19720 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
19722 * string/test-memmove.c (do_test2): New testcase.
19724 2018-03-22 Joseph Myers <joseph@codesourcery.com>
19726 * sysdeps/generic/frame.h: Remove file.
19727 * sysdeps/arm/frame.h: Likewise.
19728 * sysdeps/hppa/frame.h: Likewise.
19729 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
19731 (GET_FRAME): Likewise.
19732 (GET_STACK): Likewise.
19733 (CALL_SIGHANDLER): Likewise.
19734 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
19736 (GET_FRAME): Likewise.
19737 (GET_STACK): Likewise.
19738 (CALL_SIGHANDLER): Likewise.
19739 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
19740 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19741 (GET_FRAME): Likewise.
19742 (GET_STACK): Likewise.
19743 (CALL_SIGHANDLER): Likewise.
19744 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
19745 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19746 (GET_FRAME): Likewise.
19747 (GET_STACK): Likewise.
19748 (ADVANCE_STACK_FRAME): Likewise.
19749 (CALL_SIGHANDLER): Likewise.
19750 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
19751 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19752 (GET_FRAME): Likewise.
19753 (GET_STACK): Likewise.
19754 (CALL_SIGHANDLER): Likewise.
19755 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
19756 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19757 (GET_FRAME): Likewise.
19758 (GET_STACK): Likewise.
19759 (CALL_SIGHANDLER): Likewise.
19760 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
19761 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19762 (GET_FRAME): Likewise.
19763 (GET_STACK): Likewise.
19764 (CALL_SIGHANDLER): Likewise.
19765 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
19766 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19767 (GET_FRAME): Likewise.
19768 (GET_STACK): Likewise.
19769 (CALL_SIGHANDLER): Likewise.
19770 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
19771 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19772 (GET_FRAME): Likewise.
19773 (GET_STACK): Likewise.
19774 (CALL_SIGHANDLER): Likewise.
19775 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
19776 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19777 (GET_FRAME): Likewise.
19778 (GET_STACK): Likewise.
19779 (CALL_SIGHANDLER): Likewise.
19780 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
19781 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19782 (GET_FRAME): Likewise.
19783 (GET_STACK): Likewise.
19784 (CALL_SIGHANDLER): Likewise.
19785 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
19786 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19787 (GET_FRAME): Likewise.
19788 (GET_STACK): Likewise.
19789 (CALL_SIGHANDLER): Likewise.
19790 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
19791 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19792 (GET_FRAME): Likewise.
19793 (GET_STACK): Likewise.
19794 (CALL_SIGHANDLER): Likewise.
19795 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
19796 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19797 (FIRST_FRAME_POINTER): Likewise.
19798 (ADVANCE_STACK_FRAME): Likewise.
19799 (GET_STACK): Likewise.
19800 (GET_FRAME): Likewise.
19801 (CALL_SIGHANDLER): Likewise.
19802 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
19803 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19804 (ADVANCE_STACK_FRAME): Likewise.
19805 (GET_STACK): Likewise.
19806 (GET_FRAME): Likewise.
19807 (CALL_SIGHANDLER): Likewise.
19808 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
19809 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19810 (GET_FRAME): Likewise.
19811 (GET_STACK): Likewise.
19812 (CALL_SIGHANDLER): Likewise.
19813 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
19814 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19815 (GET_FRAME): Likewise.
19816 (GET_STACK): Likewise.
19817 (CALL_SIGHANDLER): Likewise.
19819 2018-03-21 Joseph Myers <joseph@codesourcery.com>
19821 * sysdeps/x86_64/backtrace.c: Move to ....
19822 * debug/backtrace.c: ... here.
19823 * sysdeps/aarch64/backtrace.c: Remove file.
19824 * sysdeps/alpha/backtrace.c: Likewise.
19825 * sysdeps/hppa/backtrace.c: Likewise.
19826 * sysdeps/ia64/backtrace.c: Likewise.
19827 * sysdeps/mips/backtrace.c: Likewise.
19828 * sysdeps/nios2/backtrace.c: Likewise.
19829 * sysdeps/riscv/backtrace.c: Likewise.
19830 * sysdeps/sh/backtrace.c: Likewise.
19831 * sysdeps/tile/backtrace.c: Likewise.
19833 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19836 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
19839 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
19842 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
19843 possibly overflowing computations.
19845 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
19847 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
19848 values from Linux-specific section now that it is in the GNU section.
19849 * sysdeps/gnu/errlist.c: Regenerate.
19851 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19853 * math/Makefile (libm-narrow-fns): Add sub.
19854 (libm-test-funcs-narrow): Likewise.
19855 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
19856 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
19857 * math/gen-auto-libm-tests.c (test_functions): Add sub.
19858 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
19859 (NARROW_SUB_ROUND_TO_ODD): Likewise.
19860 (NARROW_SUB_TRIVIAL): Likewise.
19861 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
19863 (__dsubl): Likewise.
19864 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
19866 (CFLAGS-nldbl-dsub.c): New variable.
19867 (CFLAGS-nldbl-fsub.c): Likewise.
19868 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19870 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
19872 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
19873 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
19874 * math/auto-libm-test-in: Add tests of sub.
19875 * math/auto-libm-test-out-narrow-sub: New generated file.
19876 * math/libm-test-narrow-sub.inc: New file.
19877 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
19878 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
19879 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
19880 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
19881 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
19882 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
19883 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
19884 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
19885 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
19886 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
19887 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
19888 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
19889 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
19890 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
19891 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
19892 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
19893 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
19894 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
19895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19896 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19897 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19898 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19899 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19900 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19901 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19902 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19903 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19904 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19905 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19906 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19907 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19908 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19913 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19914 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19915 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19916 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19917 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19918 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19919 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19920 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19921 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19922 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19924 2018-03-19 Joseph Myers <joseph@codesourcery.com>
19927 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
19929 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
19931 * benchtests/bench-timing.h (attribute_hidden): Undefine.
19933 2018-03-18 Richard Braun <rbraun@sceen.net>
19935 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
19938 2018-03-18 Agustina Arzille <avarzille@riseup.net>
19940 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
19941 (__libc_cleanup_fct): Define function.
19942 (__libc_cleanup_region_start, __libc_cleanup_region_end,
19943 __libc_cleanup_end): Rewrite implementation using
19944 __attribute__ ((__cleanup__)).
19945 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
19946 * hurd/Makefile (routines): Add hurdlock.
19947 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
19949 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
19950 * hurd/hurdpid.c: Include <lowlevellock.h>
19951 (_S_msg_proc_newids): Use lll_wait to synchronize.
19952 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
19953 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
19954 * mach/Makefile (lock-headers): Remove machine-lock.h.
19955 * mach/lock-intern.h: Include <lowlevellock.h> instead of
19957 (__spin_lock_t): New type.
19958 (__SPIN_LOCK_INITIALIZER): New macro.
19959 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
19960 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
19961 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
19962 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
19963 (__mutex_init): Initialize with lll.
19964 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
19965 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
19967 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19968 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
19969 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
19970 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
19971 (__setpgid): Use lll for synchronization.
19972 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
19973 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
19974 instead of <cthreads.h>.
19975 (_IO_lock_inexpensive): New macro
19976 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
19977 (__libc_lock_self0): New declaration.
19978 (__libc_lock_owner_self): New macro.
19979 (__libc_key_t): Remove type.
19980 (_LIBC_LOCK_INITIALIZER): New macro.
19981 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
19982 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
19983 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
19984 __libc_lock_define_initialized_recursive,
19985 __rtld_lock_define_initialized_recursive,
19986 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
19987 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
19988 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
19989 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
19990 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
19991 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
19992 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
19994 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
19995 * hurd/hurdlock.c: New file.
19996 * hurd/hurdlock.h: New file.
19997 * mach/lowlevellock.h: New file
19999 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
20001 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
20002 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
20003 when opening a symlink with O_NOFOLLOW.
20004 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
20005 path when flags contains O_NOFOLLOW.
20006 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
20007 if flags contains O_DIRECTORY and the result is a directory.
20008 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
20009 oneself when the pointer given in D is nul (as set by ext2fs).
20010 * sysdeps/mach/hurd/mlockall.c: New file.
20011 * sysdeps/mach/hurd/munlockall.c: New file.
20013 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
20015 * hurd/hurdsig.c: Include <pthread.h>.
20016 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
20017 get the signal thread stack layout.
20018 * hurd/Makefile (headers): Remove threadvar.h.
20019 (inline-headers): Remove threadvar.h.
20020 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
20021 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
20022 __hurd_threadvar_max, __hurd_errno_location.
20023 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
20024 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
20025 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
20026 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
20027 unless TLS is not initialized yet, in which case we do not need a
20028 critical section yet anyway.
20029 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
20031 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
20033 (__hurd_threadvar_index): Remove enum.
20034 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
20035 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
20037 (__hurd_reply_port0): New variable declaration.
20038 (__hurd_local_reply_port): New macro.
20039 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
20040 (interrupted_reply_port_location): Add thread_t parameter. Use it
20041 with THREAD_TCB to access thread-local variables.
20042 (_hurdsig_abort_rpcs): Pass ss->thread to
20043 interrupted_reply_port_location.
20044 (_hurd_internal_post_signal): Likewise.
20045 (_hurdsig_init): Use presence of cthread_fork instead of
20046 __hurd_threadvar_stack_mask to start signal thread by hand.
20047 Remove signal thread threadvar initialization.
20048 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
20049 * hurd/sigunwind.c: Include <hurd/threadvar.h>
20050 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
20052 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
20054 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
20055 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
20056 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
20057 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
20058 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
20059 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
20060 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
20062 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
20063 <hurd/threadvar.h>.
20064 [IS_IN(rtld)] (rtld_errno): New variable.
20065 [IS_IN(rtld)] (__errno_location): New weak function.
20066 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
20067 * sysdeps/mach/hurd/errno.c: Remove file.
20068 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
20069 (__fork): Remove THREADVAR_SPACE macro and its use.
20070 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
20072 (init): Do not initialize threadvar.
20073 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
20075 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
20076 __hurd_local_reply_port instead of threadvar.
20077 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
20078 _hurd_sigstate fields.
20079 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
20080 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
20081 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
20082 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
20083 instead of threadvar.
20084 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
20085 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
20086 (use_threadvar, global_reply_port): Remove variables.
20087 (__hurd_reply_port0): New variable.
20088 (__mig_get_reply_port): Use __hurd_local_reply_port and
20089 __hurd_reply_port0 instead of threadvar.
20090 (__mig_dealloc_reply_port): Likewise.
20091 (__mig_init): Do not initialize threadvar.
20092 * sysdeps/mach/hurd/profil.c: Fix comment.
20093 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
20094 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
20095 cthread_keycreate, cthread_getspecific, cthread_setspecific to
20096 __cthread_fork, __cthread_detach, __pthread_getattr_np,
20097 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
20098 __cthread_setspecific.
20099 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
20100 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
20101 __cthread_t instead of cthread_fork, cthread_detach,
20102 pthread_getattr_np, pthread_attr_getstack.
20103 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
20104 __cthread_keycreate.
20105 (cthread_getspecific): Rename to __cthread_getspecific.
20106 (cthread_setspecific): Rename to __cthread_setspecific.
20107 (__libc_getspecific): Use __cthread_getspecific instead of
20108 cthread_getspecific.
20109 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
20110 __cthread_keycreate instead of cthread_keycreate.
20111 (__libc_setspecific): Use __cthread_setspecific instead of
20112 cthread_setspecific.
20113 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
20115 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
20116 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
20117 testing whether it is defined.
20119 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20121 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
20123 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
20124 * sysdeps/mach/i386/thread_state.h
20125 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
20127 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
20129 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
20131 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
20132 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
20134 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
20136 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
20137 descriptor instead of creating a new one.
20138 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
20140 * mach/setup-thread.c: Include <ldsodefs.h>.
20141 (__mach_setup_thread): Call _dl_allocate_tls, pass
20142 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
20143 MACHINE_THREAD_STATE_FLAVOR, before getting
20144 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
20145 MACHINE_THREAD_STATE_FLAVOR with the result.
20146 * hurd/hurdfault.c (_hurdsig_fault_init): Call
20147 MACHINE_THREAD_STATE_FIX_NEW.
20148 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
20149 too. Add original thread parameter.
20151 2018-03-16 Joseph Myers <joseph@codesourcery.com>
20153 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
20154 Remove inline function.
20156 * sysdeps/i386/fpu/libm-test-ulps: Update.
20157 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20159 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
20161 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
20164 2018-03-15 Joseph Myers <joseph@codesourcery.com>
20166 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
20167 (__sincos_code): Remove define and undefine.
20168 [__FAST_MATH__] (__sincos): Remove inline function.
20169 [__FAST_MATH__] (__sincosf): Remove inline function.
20170 [__FAST_MATH__] (__sincosl): Remove inline function.
20171 (__atan2l): Remove inline functions.
20172 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
20173 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
20175 (floor): Remove inline function.
20177 [__FAST_MATH__] (__ldexp_code): Remove macro.
20178 [__FAST_MATH__] (ldexp): Remove inline function.
20179 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
20180 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
20181 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
20182 [__USE_ISOC99] (__lrint_code): Remove macro.
20183 [__USE_ISOC99] (__llrint_code): Likewise.
20184 [__USE_ISOC99] (lrintf): Remove inline function.
20185 [__USE_ISOC99] (lrint): Likewise.
20186 [__USE_ISOC99] (lrintl): Likewise.
20187 [__USE_ISOC99] (llrint): Likewise.
20188 [__USE_ISOC99] (llrintf): Likewise.
20189 [__USE_ISOC99] (llrintl): Likewise.
20191 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20193 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
20194 (__ieee754_sqrtf): Remove.
20195 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
20196 (__ieee754_sqrtf): Remove.
20197 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
20198 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20199 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
20200 (__ieee754_sqrtf): Remove.
20201 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
20202 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
20205 (__ieee754_sqrt): Remove.
20206 (__ieee754_sqrtf): Remove.
20207 (__ieee754_sqrtl): Remove.
20208 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20209 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
20210 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
20211 (__ieee754_sqrtf): Remove.
20212 (__ieee754_sqrtl): Remove.
20214 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20216 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
20217 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20218 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20219 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
20220 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
20221 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20222 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20223 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20225 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
20226 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
20227 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20228 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20229 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
20230 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
20231 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20232 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
20233 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20234 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20235 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
20236 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20237 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
20238 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
20239 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
20240 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20241 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20242 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20243 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
20244 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
20245 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20246 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20247 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
20248 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
20249 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
20250 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
20251 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20252 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20253 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
20254 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20255 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20256 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
20257 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20258 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
20259 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20260 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20261 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
20262 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
20263 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20264 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
20266 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20268 * include/math.h (sqrt): Declare with asm redirect.
20271 (sqrtf128): Likewise.
20272 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
20273 nonlib and libnldbl with -fmath-errno.
20274 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
20275 * math/w_sqrt_template.c: Likewise.
20276 * math/w_sqrtf_compat.c: Likewise.
20277 * math/w_sqrtl_compat.c: Likewise.
20278 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
20279 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
20280 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
20283 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20285 * benchtests/Makefile: Define _ISOMAC.
20286 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
20287 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
20288 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
20289 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
20290 * benchtests/bench-timing.h: Define attribute_hidden.
20292 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
20294 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
20297 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20300 * localedata/locales/cs_CZ (mon): Rename to...
20302 (mon): Import from CLDR (genitive case).
20304 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20307 * localedata/locales/el_CY (abmon): Rename to...
20308 (ab_alt_mon): This.
20309 (abmon): Import from CLDR (abbreviated genitive case).
20310 * localedata/locales/el_GR (abmon): Rename to...
20311 (ab_alt_mon): This.
20312 (abmon): Import from CLDR (abbreviated genitive case).
20314 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20317 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
20319 2018-03-15 Robert Buj <robert.buj@gmail.com>
20322 * localedata/locales/ca_ES (abmon): Rename to...
20323 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20324 (mon): Rename to...
20326 (abmon): Import from CLDR (genitive case, month names preceded by
20329 (abday): Synchronize with CLDR.
20330 (d_t_fmt): Likewise.
20334 (LC_TIME): Improve indentation.
20335 (LC_TELEPHONE): Likewise.
20336 (LC_NAME): Likewise.
20337 (LC_ADDRESS): Likewise.
20339 2018-03-14 Joseph Myers <joseph@codesourcery.com>
20341 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
20342 (lrintf): Remove definitions used only with old GCC.
20343 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
20344 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
20345 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
20346 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
20347 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
20348 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
20349 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
20350 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
20351 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
20352 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
20353 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
20354 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
20355 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
20356 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
20357 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
20358 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
20359 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
20360 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
20361 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
20362 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
20363 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
20364 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
20365 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
20366 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
20367 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
20368 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
20369 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
20370 [__FAST_MATH__] (__M_SQRT2): Remove macro.
20372 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20374 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
20375 instruction to unbreak builds with binutils 2.26 and older.
20377 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20379 * sysdeps/aarch64/strncmp.S (count): New macro.
20380 (strncmp): Store misaligned length in SRC1 in COUNT.
20381 (mutual_align): Adjust.
20382 (misaligned8): Load dword at a time when it is safe.
20384 2018-03-12 Zack Weinberg <zackw@panix.com>
20388 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
20389 if the _IO_EOF_SEEN bit is already set; update commentary.
20390 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
20391 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20393 * support/support_openpty.c, support/tty.h: New files.
20394 * support/Makefile (libsupport-routines): Add support_openpty.
20396 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
20398 * libio/Makefile (tests): Add tst-fgetc-after-eof.
20399 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
20401 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
20403 * po/pt_BR.po: Update translations.
20405 2018-03-12 David Michael <fedora.dm0@gmail.com>
20407 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
20408 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
20409 get a port to the startup server.
20411 2018-03-11 Zack Weinberg <zackw@panix.com>
20413 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
20414 before nldbl-compat.h.
20416 2018-03-10 Zack Weinberg <zackw@panix.com>
20418 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
20419 math.h or math_private.h.
20421 * sysdeps/alpha/fpu/s_isnan.c
20422 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
20423 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
20424 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
20425 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
20426 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
20427 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
20428 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
20429 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
20430 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
20431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
20432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
20433 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
20434 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
20435 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
20436 Include math_private.h.
20438 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
20439 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
20440 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
20441 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
20442 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
20443 * sysdeps/powerpc/power7/fpu/s_logb.c:
20444 Include math.h and math_private.h.
20446 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
20447 uses of $at in .set noat / .set at.
20449 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
20451 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
20452 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
20453 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
20454 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
20457 2018-03-09 Florian Weimer <fweimer@redhat.com>
20459 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
20462 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
20465 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
20466 Add nop before __startcontext, add explaining comments.
20468 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20471 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
20473 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
20474 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
20475 Do not build hardware transactional code for __SPE__.
20476 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20477 (__lll_trylock_elision): Likewise.
20478 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20479 (__lll_unlock_elision): Likewise.
20481 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
20482 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
20483 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20484 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
20485 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
20486 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
20487 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
20488 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
20489 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
20490 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
20491 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
20492 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
20493 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
20494 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
20495 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
20496 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
20497 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
20498 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
20499 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
20500 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
20501 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
20502 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20503 (__ASSUME_CLONE_BACKWARDS): Define.
20504 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
20505 __clone2 if __NR_clone2 is defined.
20506 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20507 (__ASSUME_CLONE_BACKWARDS): Likewise.
20508 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20509 (__ASSUME_CLONE_BACKWARDS): Likewise.
20510 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20511 (__ASSUME_CLONE2): Likewise.
20512 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20513 (__ASSUME_CLONE_BACKWARDS3): Likewise.
20514 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
20515 variants and the define architecture can use.
20516 (__ASSUME_CLONE_DEFAULT): Define as default.
20517 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20518 (__ASSUME_CLONE_BACKWARDS): Likewise.
20519 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20520 (__ASSUME_CLONE_BACKWARDS): Likewise.
20521 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20522 (__ASSUME_CLONE_BACKWARDS2): Likewise.
20524 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
20526 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
20528 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
20531 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
20532 (do_test_limit): Likewise.
20534 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
20535 for every implementation.
20536 (do_test): Likewise.
20538 * benchtests/bench-strncmp.c: Convert output to json.
20540 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20542 * io/futimens.c: Add missing start-of-file descriptive comment.
20543 * io/utime.c: Likewise.
20544 * misc/futimesat.c: Likewise.
20545 * misc/utimes.c: Likewise.
20546 * sysdeps/mach/hurd/futimesat.c: Likewise.
20547 * sysdeps/mach/hurd/utimes.c: Likewise.
20548 * sysdeps/posix/utime.c: Likewise.
20549 * sysdeps/posix/utimes.c: Likewise.
20550 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
20551 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20552 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
20553 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
20555 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20557 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
20559 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
20560 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
20561 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
20562 (__futimens): Move implementation to...
20563 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
20564 utime_tvalue_from_tspec): ... new helper functions.
20565 (hurd_futimens): New function.
20566 * sysdeps/mach/hurd/futimesat.c: New file.
20567 * sysdeps/mach/hurd/utimensat.c: New file.
20569 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
20571 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
20572 UTIME_OMIT): New macros.
20573 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
20574 before reverting to converting time spec to time value and calling
20576 * sysdeps/mach/hurd/utime-helper.c: New file.
20577 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
20578 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
20579 reverting to utime_tvalue_from_tval and __file_utimes.
20580 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
20581 (__lutimes): Just call hurd_futimens after lookup.
20582 * sysdeps/mach/hurd/utimes.c: Likewise.
20584 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20586 * bits/sigaction.h: Add include guard.
20587 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
20588 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
20589 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
20590 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
20591 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
20592 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
20593 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
20594 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
20595 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
20597 2018-03-05 Joseph Myers <joseph@codesourcery.com>
20599 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
20600 -Wmaybe-uninitialized for -Os.
20601 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
20604 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20606 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
20607 __INO_T_MATCHES_INO64_T is defined.
20608 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
20609 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
20611 * dirent/alphasort64.c: Likewise.
20612 * dirent/scandir.c: Likewise.
20613 * dirent/scandir64-tail.c: Likewise.
20614 * dirent/scandir64.c: Likewise.
20615 * dirent/scandirat.c: Likewise.
20616 * dirent/scandirat64.c: Likewise.
20617 * dirent/versionsort.c: Likewise.
20618 * dirent/versionsort64.c: Likewise.
20619 * include/dirent.h: Likewise.
20621 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
20622 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
20623 for socketpair endpoint.
20624 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
20625 WRITE_BUFFER_SIZE as buffer size for sending socket.
20626 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
20627 issue on system where send is implemented with sendto syscall.
20628 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
20629 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
20630 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
20631 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
20634 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
20635 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
20636 sa_restorer for vDSO case.
20637 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
20639 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20641 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
20642 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
20643 * hurd/hurd/ioctl.h: Include <mach/port.h>
20644 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
20645 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
20646 <mach/mach_types.h> and <mach/message.h>.
20647 (headers): Move mach/param.h to bits/mach/param.h.
20648 * sysdeps/mach/i386/mach/param.h: Move file to ...
20649 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
20650 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
20652 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
20653 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
20654 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
20655 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
20656 trivial, for C++ conformity.
20657 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
20658 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
20659 Process mig output through $(migheadersed).
20660 * hurd/Makefile (migheadersed): Define variable.
20661 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
20662 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
20664 * hurd/hurd.h: Include <bits/types/sigset_t.h>
20665 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
20666 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
20667 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
20668 <bits/types/sigset_t.h>.
20669 [!defined __USE_GNU]: Do not #error out.
20670 (struct hurd_sigstate): Use _NSIG instead of NSIG.
20671 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
20672 Include <stddef.h> and <bits/types/sigset_t.h>
20673 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
20674 instead of sighandler_t.
20675 * stdlib/errno.h (error_t): Move definition to...
20676 * bits/types/error_t.h: ... new header.
20677 * stdlib/Makefile (headers): Add bits/types/error_t.h.
20678 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
20679 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
20680 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
20681 * hurd/hurd.h: Include <bits/types/error_t.h>
20682 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
20683 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
20684 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
20685 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
20686 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
20687 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
20688 * sysdeps/mach/hurd/futimens.c: New file.
20690 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
20693 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
20694 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
20695 * nscd/gai.c (__nss_hosts_database): Readd definition.
20696 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
20697 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
20698 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
20700 2018-03-02 Joseph Myers <joseph@codesourcery.com>
20702 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
20703 (ifunc_one): Likewise.
20705 2018-03-01 DJ Delorie <dj@delorie.com>
20708 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
20711 2018-03-01 Maciej W. Rozycki <macro@mips.com>
20713 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
20714 `match_pid' parameter.
20715 (td_ta_thr_iter): Update accordingly.
20717 2018-03-01 Florian Weimer <fweimer@redhat.com>
20719 * nptl/Makefile (install-lib-ldscripts): Remove.
20720 (install): Remove rule.
20721 ($(inst_libdir)/libpthread.so): Likewise.
20723 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20726 * localedata/locales/an_ES: update month and day names,
20727 improve d_fmt, improve postal_fmt, add country_post,
20730 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20732 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
20733 Ukrainian instead of Bulgarian.
20735 2018-03-01 Florian Weimer <fweimer@redhat.com>
20737 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
20740 2018-03-01 Florian Weimer <fweimer@redhat.com>
20742 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
20743 * nptl/Makefile (routines): Add pthread_atfork.
20744 (static-only-routines): Set to pthread_atfork.
20745 (libpthread-routines): Remove pthread_atfork.
20746 (libpthread-static-only-routines): Remove.
20747 (install): Update comment.
20748 (libpthread.so): Do not install libpthread_nonshared.a.
20749 (tests): Do not link with libpthread_nonshared.a.
20750 (generated): Remove libpthread_nonshared.a.
20751 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
20752 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
20753 with libpthread_nonshared.a.
20755 2018-02-28 Joseph Myers <joseph@codesourcery.com>
20758 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
20759 (libc_feholdexcept_setroundf128): New macro.
20760 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
20763 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
20765 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
20766 * include/inttypes.h: New file.
20768 2018-02-27 Joseph Myers <joseph@codesourcery.com>
20770 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
20771 -Os in two more places.
20773 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20775 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
20776 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
20777 be sorted correctly at the moment because of a bug.
20779 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20781 [BZ #22550] - es_ES locale (and other es_* locales): collation should
20782 treat ñ as a primary different character, sync the collation
20783 for Spanish with CLDR.
20784 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
20785 * localedata/Makefile: Add new test files.
20786 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
20787 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
20789 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
20790 * localedata/am_ET.UTF-8.in: New test file.
20791 * localedata/az_AZ.UTF-8.in: Likewise.
20792 * localedata/be_BY.UTF-8.in: Likewise.
20793 * localedata/ber_DZ.UTF-8.in: Likewise.
20794 * localedata/ber_MA.UTF-8.in: Likewise.
20795 * localedata/bg_BG.UTF-8.in: Likewise.
20796 * localedata/br_FR.UTF-8.in: Likewise.
20797 * localedata/cmn_TW.UTF-8.in: Likewise.
20798 * localedata/crh_UA.UTF-8.in: Likewise.
20799 * localedata/csb_PL.UTF-8.in: Likewise.
20800 * localedata/cv_RU.UTF-8.in: Likewise.
20801 * localedata/cy_GB.UTF-8.in: Likewise.
20802 * localedata/dz_BT.UTF-8.in: Likewise.
20803 * localedata/eo.UTF-8.in: Likewise.
20804 * localedata/es_ES.UTF-8.in: Likewise.
20805 * localedata/fa_IR.UTF-8.in: Likewise.
20806 * localedata/fi_FI.UTF-8.in: Likewise.
20807 * localedata/fil_PH.UTF-8.in: Likewise.
20808 * localedata/fur_IT.UTF-8.in: Likewise.
20809 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
20810 * localedata/ha_NG.UTF-8.in: Likewise.
20811 * localedata/ig_NG.UTF-8.in: Likewise.
20812 * localedata/ik_CA.UTF-8.in: Likewise.
20813 * localedata/kk_KZ.UTF-8.in: Likewise.
20814 * localedata/ku_TR.UTF-8.in: Likewise.
20815 * localedata/ky_KG.UTF-8.in: Likewise.
20816 * localedata/ln_CD.UTF-8.in: Likewise.
20817 * localedata/mi_NZ.UTF-8.in: Likewise.
20818 * localedata/ml_IN.UTF-8.in: Likewise.
20819 * localedata/mn_MN.UTF-8.in: Likewise.
20820 * localedata/mr_IN.UTF-8.in: Likewise.
20821 * localedata/mt_MT.UTF-8.in: Likewise.
20822 * localedata/nb_NO.UTF-8.in: Likewise.
20823 * localedata/om_KE.UTF-8.in: Likewise.
20824 * localedata/os_RU.UTF-8.in: Likewise.
20825 * localedata/ps_AF.UTF-8.in: Likewise.
20826 * localedata/ro_RO.UTF-8.in: Likewise.
20827 * localedata/ru_RU.UTF-8.in: Likewise.
20828 * localedata/sc_IT.UTF-8.in: Likewise.
20829 * localedata/se_NO.UTF-8.in: Likewise.
20830 * localedata/sq_AL.UTF-8.in: Likewise.
20831 * localedata/sv_SE.UTF-8.in: Likewise.
20832 * localedata/szl_PL.UTF-8.in: Likewise.
20833 * localedata/tg_TJ.UTF-8.in: Likewise.
20834 * localedata/tk_TM.UTF-8.in: Likewise.
20835 * localedata/tt_RU.UTF-8.in: Likewise.
20836 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
20837 * localedata/ug_CN.UTF-8.in: Likewise.
20838 * localedata/uz_UZ.UTF-8.in: Likewise.
20839 * localedata/vi_VN.UTF-8.in: Likewise.
20840 * localedata/yi_US.UTF-8.in: Likewise.
20841 * localedata/yo_NG.UTF-8.in: Likewise.
20842 * localedata/zh_CN.UTF-8.in: Likewise.
20843 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
20844 file and fix bugs in the collation.
20845 * localedata/locales/az_AZ: Likewise.
20846 * localedata/locales/be_BY: Likewise.
20847 * localedata/locales/ber_DZ: Likewise.
20848 * localedata/locales/ber_MA: Likewise.
20849 * localedata/locales/bg_BG: Likewise.
20850 * localedata/locales/br_FR: Likewise.
20851 * localedata/locales/br_FR@euro: Likewise.
20852 * localedata/locales/ca_ES: Likewise.
20853 * localedata/locales/cns11643_stroke: Likewise.
20854 * localedata/locales/crh_UA: Likewise.
20855 * localedata/locales/cs_CZ: Likewise.
20856 * localedata/locales/csb_PL: Likewise.
20857 * localedata/locales/cv_RU: Likewise.
20858 * localedata/locales/cy_GB: Likewise.
20859 * localedata/locales/da_DK: Likewise.
20860 * localedata/locales/dz_BT: Likewise.
20861 * localedata/locales/en_CA: Likewise.
20862 * localedata/locales/eo: Likewise.
20863 * localedata/locales/es_CU: Likewise.
20864 * localedata/locales/es_EC: Likewise.
20865 * localedata/locales/es_ES: Likewise.
20866 * localedata/locales/es_US: Likewise.
20867 * localedata/locales/et_EE: Likewise.
20868 * localedata/locales/fa_IR: Likewise.
20869 * localedata/locales/fi_FI: Likewise.
20870 * localedata/locales/fil_PH: Likewise.
20871 * localedata/locales/fur_IT: Likewise.
20872 * localedata/locales/gez_ER@abegede: Likewise.
20873 * localedata/locales/ha_NG: Likewise.
20874 * localedata/locales/hr_HR: Likewise.
20875 * localedata/locales/hsb_DE: Likewise.
20876 * localedata/locales/hu_HU: Likewise.
20877 * localedata/locales/ig_NG: Likewise.
20878 * localedata/locales/ik_CA: Likewise.
20879 * localedata/locales/is_IS: Likewise.
20880 * localedata/locales/iso14651_t1_pinyin: Likewise.
20881 * localedata/locales/kk_KZ: Likewise.
20882 * localedata/locales/ku_TR: Likewise.
20883 * localedata/locales/ky_KG: Likewise.
20884 * localedata/locales/ln_CD: Likewise.
20885 * localedata/locales/lt_LT: Likewise.
20886 * localedata/locales/lv_LV: Likewise.
20887 * localedata/locales/mi_NZ: Likewise.
20888 * localedata/locales/ml_IN: Likewise.
20889 * localedata/locales/mn_MN: Likewise.
20890 * localedata/locales/mr_IN: Likewise.
20891 * localedata/locales/mt_MT: Likewise.
20892 * localedata/locales/nb_NO: Likewise.
20893 * localedata/locales/om_KE: Likewise.
20894 * localedata/locales/os_RU: Likewise.
20895 * localedata/locales/pl_PL: Likewise.
20896 * localedata/locales/ps_AF: Likewise.
20897 * localedata/locales/ro_RO: Likewise.
20898 * localedata/locales/ru_RU: Likewise.
20899 * localedata/locales/ru_UA: Likewise.
20900 * localedata/locales/sc_IT: Likewise.
20901 * localedata/locales/se_NO: Likewise.
20902 * localedata/locales/si_LK: Likewise.
20903 * localedata/locales/sq_AL: Likewise.
20904 * localedata/locales/sv_FI: Likewise.
20905 * localedata/locales/sv_FI@euro: Likewise.
20906 * localedata/locales/sv_SE: Likewise.
20907 * localedata/locales/szl_PL: Likewise.
20908 * localedata/locales/tg_TJ: Likewise.
20909 * localedata/locales/ti_ER: Likewise.
20910 * localedata/locales/tk_TM: Likewise.
20911 * localedata/locales/tl_PH: Likewise.
20912 * localedata/locales/tr_TR: Likewise.
20913 * localedata/locales/tt_RU: Likewise.
20914 * localedata/locales/tt_RU@iqtelif: Likewise.
20915 * localedata/locales/ug_CN: Likewise.
20916 * localedata/locales/uk_UA: Likewise.
20917 * localedata/locales/uz_UZ: Likewise.
20918 * localedata/locales/uz_UZ@cyrillic: Likewise.
20919 * localedata/locales/vi_VN: Likewise.
20920 * localedata/locales/yi_US: Likewise.
20921 * localedata/locales/yo_NG: Likewise.
20923 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20925 * gen-locales.mk: Make test files which contain @ modifiers in their
20927 * localedata/gen-locale.sh: Likewise.
20929 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20931 * posix/tst-fnmatch.input: Fix results for range expressions
20933 * posix/tst-regexloc.c: Do not use a range expression for
20934 de_DE.ISO-8859-1 locale.
20936 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20938 * posix/bug-regex5.c: Fix test case because with the new
20939 iso14651_t1_common file, the da_DK locale now has 6 collating elements
20940 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
20943 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20945 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
20946 downloaded from ISO, the collation order of @-. and space has changed.
20947 Therefore, this test file needed to be adapted.
20948 * localedata/fr_CA.UTF-8.in: Likewise.
20949 * localedata/fr_FR.UTF-8.in: Likewise.
20950 * localedata/uk_UA.UTF-8.in: Likewise.
20952 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20954 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
20955 order of ȥ in the new iso14651_t1_common file.
20956 * localedata/pl_PL.UTF-8.in: Likewise.
20958 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20960 * localedata/locales/iso14651_t1_common: Add sections for various
20961 scripts to the iso14651_t1_common file.
20963 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20965 * localedata/locales/iso14651_t1_common: Use the code point of a
20966 character in the fourth collation level instead of IGNORE for all
20967 entries which have IGNORE on all 4 levels.
20969 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20971 * localedata/locales/iso14651_t1_common: Add some convenient collation
20972 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
20973 rules similar to those in CLDR.
20975 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20977 * localedata/locales/iso14651_t1_common: The new version of this
20978 file downloaded from ISO contained several syntax errors which
20979 are fixed by this patch.
20981 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20983 * localedata/locales/iso14651_t1_common: replace all <U.....>
20984 with <U000.....> because glibc understands only 4 digit or 8 digit
20986 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20988 * localedata/locales/iso14651_t1_common: Necessary changes
20989 to make the file downloaded from ISO usable by glibc.
20991 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20994 * localedata/locales/iso14651_t1_common: Update file to
20995 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
20997 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20999 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
21000 of <nptl/pthreadP.h>
21001 (thread_attr_compare): Move function to...
21002 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
21003 * sysdeps/nptl/timer_routines.h: ... new header.
21004 * sysdeps/mach/hurd/gai_misc.h: New file.
21006 2018-02-26 Joseph Myers <joseph@codesourcery.com>
21008 * string/strcoll_l.c: Include <libc-diag.h>.
21009 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
21010 declarations of seq1 and seq2.
21013 * stdlib/atoi.c (atoi): Use libc_hidden_def.
21014 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
21016 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
21020 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
21021 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
21022 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
21023 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
21024 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
21025 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
21027 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21029 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
21030 macros used in __ptrace_request.
21032 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
21035 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
21037 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
21038 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
21039 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
21042 2018-02-23 Joseph Myers <joseph@codesourcery.com>
21045 * ctype/ctype.c (tolower): Use libc_hidden_def.
21046 (toupper): Likewise.
21047 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
21048 [!_ISOMAC] (toupper): Likewise.
21050 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21052 * localedata/Makefile: Remove --quiet argument when
21055 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21058 * localedata/locales/pt_BR (LC_TIME): use / instead of -
21060 * localedata/locales/pt_PT (LC_TIME): likewise
21062 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21065 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
21066 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
21067 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
21069 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21073 * nptl/Makefile (routines): Remove unregister-atfork.
21074 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
21075 (fork_handler_alloc): Remove function.
21076 (fork_handlers, fork_handler_init): New variables.
21077 (__fork_lock): Rename to atfork_lock.
21078 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
21079 to use a dynamic array to add/remove atfork handlers.
21080 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21081 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
21082 Remove declaration.
21083 (fork_handler): Remove next, refcntr, and need_signal member.
21084 (__run_fork_handler_type): New enum.
21085 (__run_fork_handlers): New prototype.
21086 * nptl/register-atfork.c: Remove file.
21087 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
21089 * sysdeps/nptl/nptl-signals.h: Move to ...
21090 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
21092 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
21093 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
21094 unnecessary check for SIGTIMER.
21095 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
21096 remove unnecessary removal of SIGTIMER.
21097 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
21098 include-signals.h rename.
21099 * nptl/pthreadP.h: Likewise.
21100 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
21101 __is_internal_signal instead of __nptl_is_internal_signal.
21103 2018-02-22 Andrew Waterman <andrew@sifive.com>
21106 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
21107 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
21108 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
21109 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
21111 2018-02-22 DJ Delorie <dj@delorie.com>
21113 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
21115 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
21117 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
21118 do_misaligned, not misaligned8.
21120 2018-02-22 Steve Ellcey <sellcey@cavium.com>
21122 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21123 Add memcpy_thunderx2.
21124 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
21126 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
21127 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
21128 and IS_THUNDERX2PA checks.
21129 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
21130 Use macro to set name appropriately.
21131 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
21132 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
21133 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
21135 (IS_THUNDERX2): New macro.
21137 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
21139 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21141 2018-02-21 Zack Weinberg <zackw@panix.com>
21143 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
21144 Define here, unconditionally.
21145 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
21146 * libio/libioP.h: Remove #if 0 blocks.
21147 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
21148 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
21149 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
21151 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
21152 Assume weak_alias is always defined.
21154 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
21155 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
21156 Remove #if 0 and #ifdef TODO blocks.
21157 Assume text_set_element is always defined.
21159 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
21160 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
21161 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
21163 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
21164 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
21165 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
21166 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
21167 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
21168 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
21169 Reformat bit flags for _flags field to make occupancy clearer.
21171 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
21172 Keep definitions consistent with those in libio/libio.h.
21174 * libio/libio.h (_IO_file_flags): Remove macro.
21175 All uses changed to _flags.
21177 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
21178 (__HAVE_COLUMN, _IO_BE): Don't define.
21179 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
21180 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
21181 * libio/libioP.h (EOF): Don't define.
21182 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
21183 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
21184 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
21185 testing _IO_UNIFIED_JUMPTABLES.
21187 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
21188 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
21189 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
21190 (_IO_size_t): Delete; all uses changed to size_t.
21191 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
21192 (_IO_off_t): Delete; all uses changed to off_t.
21193 (_IO_off64_t): Delete; all uses changed to off64_t.
21194 (_IO_pid_t): Delete; all uses changed to pid_t.
21195 (_IO_uid_t): Delete; all uses changed to uid_t.
21196 (_IO_wint_t): Delete; all uses changed to wint_t.
21197 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
21198 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
21199 (_IO_cookie_io_functions_t): Delete; all uses changed to
21200 cookie_io_functions_t.
21201 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
21202 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
21203 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
21204 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
21206 * libio/iofopncook.c: Remove unnecessary forward declarations.
21207 * libio/iolibio.h: Correct outdated commentary.
21208 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
21209 * stdio-common/fxprintf.c (__fxprintf_nocancel):
21210 Remove unnecessary casts.
21211 * stdio-common/getline.c: Use _IO_getdelim directly.
21212 Don't redefine ssize_t.
21213 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
21214 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
21215 Remove outdated comments.
21216 * stdio-common/vfscanf.c: Don't redefine va_list.
21218 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
21219 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
21220 Remove preprocessor conditionals on _LIBC and __USE_GNU,
21221 which are always true, and __cplusplus, which is always false.
21223 2018-02-21 Joseph Myers <joseph@codesourcery.com>
21227 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
21228 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
21229 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
21230 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
21232 [!_ISOMAC] (putc_unlocked): Likewise.
21233 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
21234 define inline if [__USE_EXTERN_INLINES].
21235 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
21240 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
21241 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
21242 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
21243 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
21244 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
21246 * time/tzfile.c (__tzfile_read): Likewise.
21248 2018-02-21 Mike FABIAN <mfabian@redhat.com>
21251 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
21253 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21255 * io/fcntl.h: Fix a typo in a comment.
21257 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21260 * include/features.h: Add _ISOC11_SOURCE to test for whether to
21261 define _DEFAULT_SOURCE.
21262 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
21264 2018-02-21 Florian Weimer <fweimer@redhat.com>
21267 * elf/cache.c (save_cache): Call fsync on temporary file before
21269 (save_aux_cache): Call fdatasync on temporary file before renaming
21272 2018-02-21 Florian Weimer <fweimer@redhat.com>
21275 * include/caller.h: Remove file.
21276 * elf/dl-caller.c: Likewise.
21277 * elf/Makefile (dl-routines): Remove dl-caller.
21278 (shared-only-routines): Do not add dl-caller.
21279 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
21281 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
21283 (dl_open_worker): Do not call __check_caller.
21284 (_dl_open): Do not set caller_dl_open member.
21285 * elf/rtld.c (_rtld_global_ro): Do not initialize
21286 _dl_check_caller member.
21287 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
21288 _dl_check_caller member.
21289 (_dl_check_caller): Remove declaration.
21290 * sysdeps/unix/sysv/linux/dl-execstack.c
21291 (_dl_make_stack_executable): Do not call __check_caller.
21293 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
21295 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
21296 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
21298 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21300 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
21303 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21306 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
21307 of 199606L, 200112L, and 200809L.
21308 (_XOPEN_SOURCE): Document special values of 600 and 700.
21309 (_ISOC11_SOURCE): Document macro.
21310 (_ATFILE_SOURCE): Likewise.
21311 (_FORTIFY_SOURCE): Likewise.
21313 2018-02-19 Joseph Myers <joseph@codesourcery.com>
21317 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
21318 and define as weak alias of __ferror_unlocked. Use
21320 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
21322 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
21323 function if [__USE_EXTERN_INLINES].
21324 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
21327 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
21330 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
21332 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21335 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
21336 the GLIBC_2.1 version.
21338 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21341 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
21342 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
21343 intl/tst-gettext-de.po from po/de.po by removing the
21344 POT-Creation-Date line.
21345 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
21347 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
21350 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
21352 * mach/Makefile (headers): Add mach/param.h.
21353 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
21354 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
21355 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
21356 (__ptsname_r): Move implementation to...
21357 (__ptsname_internal): ... new function. Add filling the STP
21360 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
21362 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
21365 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
21367 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
21370 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21372 * nptl/Makefile (tst-mutex8-ENV): Delete.
21373 * nptl/tst-mutex8.c (check_type):
21374 Add runtime check if mutex will be elided.
21376 2018-02-15 Joseph Myers <joseph@codesourcery.com>
21380 * manual/install.texi (Configuring and compiling): Describe
21381 passing CC and CFLAGS on configure command line, not as
21382 environment variables. Use @code markup on those variables.
21383 Specify what options go in CC and what go in CFLAGS. Note the
21384 requirement to compile with optimization.
21385 * INSTALL: Regenerated.
21388 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
21389 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
21390 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
21391 __sigprocmask instead of sigprocmask.
21392 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
21394 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
21395 __sigsetjmp and sigprocmask.
21398 * include/argz.h (argz_next): Use libc_hidden_proto.
21399 (__argz_next): Likewise.
21400 * string-argz-next.c (__argz_next): Use libc_hidden_def.
21401 (argz_next): Use libc_hidden_weak.
21404 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
21406 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
21410 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
21412 * libio/iofputs.c (fputs): Use libc_hidden_weak.
21416 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
21417 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
21418 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
21419 (__feof_unlocked): New declaration, and inline function if
21420 [__USE_EXTERN_INLINES].
21421 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
21422 instead of feof_unlocked.
21423 * intl/localealias.c [_LIBC] (FEOF): Likewise.
21424 * nss/nsswitch.c (nss_parse_file): Likewise.
21425 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
21427 * time/getdate.c (__getdate_r): Likewise.
21428 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
21429 Define as macro to call __feof_unlocked.
21431 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21433 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
21435 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21437 * math/Makefile: Remove mpexp.c and mplog.c
21438 * sysdeps/i386/fpu/mpexp.c: Delete file.
21439 * sysdeps/i386/fpu/mplog.c: Likewise.
21440 * sysdeps/ia64/fpu/mpexp.c: Likewise.
21441 * sysdeps/ia64/fpu/mplog.c: Likewise.
21442 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
21443 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
21444 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
21445 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21446 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
21447 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
21448 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
21449 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
21450 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
21451 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21452 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
21453 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
21454 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21455 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
21456 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
21457 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21459 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21461 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21463 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21465 * sysdeps/sh/libm-test-ulps: Update.
21467 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21469 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
21472 2018-02-12 Zack Weinberg <zackw@panix.com>
21475 * posix/sys/types.h: Don't include sys/sysmacros.h.
21476 * misc/sys/sysmacros.h: Remove the conditional deprecation
21477 warnings for the macros defined by this header.
21479 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21481 * manual/probes.texi: Remove slowexp probes.
21482 * math/Makefile: Remove slowexp.
21483 * sysdeps/generic/math_private.h (__slowexp): Remove.
21484 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
21485 document error bounds.
21486 * sysdeps/i386/fpu/slowexp.c: Remove.
21487 * sysdeps/ia64/fpu/slowexp.c: Remove.
21488 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
21489 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
21490 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
21491 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
21492 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
21493 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
21494 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
21495 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
21496 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
21497 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
21498 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
21500 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
21503 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
21504 * benchtests/pow-inputs: Update comment for slow path cases.
21505 * manual/probes.texi (slowpow_p10): Delete removed probe.
21506 (slowpow_p10): Likewise.
21507 * math/Makefile: Remove halfulp.c and slowpow.c.
21508 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
21509 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
21510 (__halfulp): Remove.
21511 (__slowpow): Remove.
21512 * sysdeps/i386/fpu/halfulp.c: Delete file.
21513 * sysdeps/i386/fpu/slowpow.c: Likewise.
21514 * sysdeps/ia64/fpu/halfulp.c: Likewise.
21515 * sysdeps/ia64/fpu/slowpow.c: Likewise.
21516 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
21517 improve comments and add error analysis.
21518 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
21519 (power1): Remove function:
21520 (log1): Remove error argument, add error analysis.
21521 (my_log2): Remove function.
21522 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
21523 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21524 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
21525 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
21526 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
21527 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
21528 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
21529 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
21530 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
21531 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
21532 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
21533 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21534 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
21535 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21537 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21539 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
21540 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
21542 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
21545 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
21546 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
21547 and PTRACE_SETHBPREGS.
21549 2018-02-10 Zack Weinberg <zackw@panix.com>
21552 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
21554 * malloc/tst-malloc-stats-cancellation.c: New test case.
21555 * malloc/Makefile: Add new test case.
21557 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
21559 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
21561 2018-02-10 Joseph Myers <joseph@codesourcery.com>
21563 * math/Makefile (libm-narrow-fns): Add add.
21564 (libm-test-funcs-narrow): Likewise.
21565 * math/Versions (GLIBC_2.28): Add narrowing add functions.
21566 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
21567 * math/gen-auto-libm-tests.c (test_functions): Add add.
21568 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
21569 (NARROW_ADD_ROUND_TO_ODD): Likewise.
21570 (NARROW_ADD_TRIVIAL): Likewise.
21571 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
21573 (__daddl): Likewise.
21574 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
21576 (CFLAGS-nldbl-dadd.c): New variable.
21577 (CFLAGS-nldbl-fadd.c): Likewise.
21578 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
21580 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
21582 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
21583 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
21584 * math/auto-libm-test-in: Add tests of add.
21585 * math/auto-libm-test-out-narrow-add: New generated file.
21586 * math/libm-test-narrow-add.inc: New file.
21587 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
21588 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
21589 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
21590 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
21591 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
21592 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
21593 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
21594 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
21595 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
21596 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
21597 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
21598 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
21599 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
21600 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
21601 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
21602 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
21603 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
21604 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
21605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21606 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
21607 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21608 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21609 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21610 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21611 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21612 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21613 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21614 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21615 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21616 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21617 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21618 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
21620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
21621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
21622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
21623 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21624 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21625 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21626 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21627 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21628 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21629 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
21630 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
21631 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21632 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21634 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
21635 (f128-pairs): New variable.
21636 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
21637 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
21639 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
21640 Also make tests add $(f128-loader-link) to gnulib-tests.
21642 2018-02-09 DJ Delorie <dj@redhat.com>
21645 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
21646 64-bit ELF type for 64-bit ELF objects.
21648 2018-02-09 Joseph Myers <joseph@codesourcery.com>
21650 * math/libm-test-driver.c (snan_tests_arg): New variable.
21651 * math/libm-test-support.h (snan_tests_arg): New declaration.
21652 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
21654 * math/Makefile (test-type-pairs): New variable.
21655 (test-type-pairs-f64xf128-yes): Likewise.
21656 (tests): Add test-narrow-macros.
21657 (libm-test-funcs-narrow): New variable.
21658 (libm-test-c-narrow): Likewise.
21659 (generated): Add $(libm-test-c-narrow).
21660 (libm-tests-base-narrow): New variable.
21661 (libm-tests-narrow): Likewise.
21662 (libm-tests): Add $(libm-tests-narrow).
21663 (libm-tests-for-type): Handle $(libm-tests-narrow).
21664 (libm-test-c-narrow-obj): New variable.
21665 ($(libm-test-c-narrow-obj)): New rule.
21666 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
21667 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
21668 $(o-iterator) to set dependencies and CFLAGS.
21669 * math/gen-auto-libm-tests.c: Document use for narrowing
21671 (output_for_one_input_case): Take argument NARROW.
21672 (generate_output): Likewise. Update call to
21673 output_for_one_input_case.
21674 (main): Take --narrow option. Update call to generate_output.
21675 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
21676 (apply_lit): Update call to _apply_lit.
21677 (apply_arglit): New function.
21678 (parse_args): Handle "a" arguments.
21679 (parse_auto_input): Handle format names using ":".
21680 * math/README.libm-test: Document "a" parameter type.
21681 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
21682 (ARG_TYPE_TRUE_MIN): Likewise.
21683 (ARG_TYPE_MAX): Likwise.
21684 (ARG_MIN_EXP): Likewise.
21685 (ARG_MAX_EXP): Likewise.
21686 (ARG_MANT_DIG): Likewise.
21687 (TEST_COND_arg_ibm128): Likewise.
21688 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
21689 (TEST_COND_arg_fmt): New macro.
21690 (init_max_error): Update prototype.
21691 * math/libm-test-support.c (test_ibm128): New variable.
21692 (init_max_error): Take argument testing_ibm128 and set test_ibm128
21693 instead of using [TEST_COND_ibm128] conditional.
21694 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
21695 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
21696 [TEST_NARROW] (TEST_MSG): New definition.
21697 (arg_plus_zero): New macro.
21698 (arg_minus_zero): Likewise.
21699 (arg_plus_infty): Likewise.
21700 (arg_minus_infty): Likewise.
21701 (arg_qnan_value_pl): Likewise.
21702 (arg_qnan_value): Likewise.
21703 (arg_snan_value_pl): Likewise.
21704 (arg_snan_value): Likewise.
21705 (arg_max_value): Likewise.
21706 (arg_min_value): Likewise.
21707 (arg_min_subnorm_value): Likewise.
21708 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
21709 (RUN_TEST_LOOP_aa_f): New macro.
21710 (TEST_SUFF): New macro.
21711 (TEST_SUFF_STR): Likewise.
21712 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
21713 (TEST_COND_any_ibm128): New macro.
21714 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
21715 this_func. Update call to init_max_error.
21716 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
21717 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
21718 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
21719 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
21720 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
21721 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
21722 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
21723 * math/test-math-scalar.h (TEST_NARROW): Likewise.
21724 * math/test-math-vector.h (TEST_NARROW): Likewise.
21725 * math/test-arg-double.h: New file.
21726 * math/test-arg-float128.h: Likewise.
21727 * math/test-arg-float32x.h: Likewise.
21728 * math/test-arg-float64.h: Likewise.
21729 * math/test-arg-float64x.h: Likewise.
21730 * math/test-arg-ldouble.h: Likewise.
21731 * math/test-math-narrow.h: Likewise.
21732 * math/test-narrow-macros.c: Likewise.
21733 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
21734 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
21735 test-narrow-macros-ldbl-64.
21736 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
21738 * math/bits/mathcalls-narrow.h: New file.
21739 * include/bits/mathcalls-narrow.h: Likewise.
21740 * math/math-narrow.h: Likewise.
21741 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
21742 (__MATHCALL_NARROW_ARGS_2): Likewise.
21743 (__MATHCALL_NARROW_ARGS_3): Likewise.
21744 (__MATHCALL_NARROW_NORMAL): Likewise.
21745 (__MATHCALL_NARROW_REDIR): Likewise.
21746 (__MATHCALL_NARROW): Likewise.
21747 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
21748 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
21750 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21751 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
21752 (libm-narrow-fns): New variable.
21753 (libm-narrow-types-basic): Likewise.
21754 (libm-narrow-types-ldouble-yes): Likewise.
21755 (libm-narrow-types-float128-yes): Likewise.
21756 (libm-narrow-types-float128-alias-yes): Likewise.
21757 (libm-narrow-types): Likewise.
21758 (libm-routines): Add narrowing functions.
21759 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
21760 (libc_feholdexcept_setroundf128): New macro.
21761 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
21762 * sysdeps/ieee754/float128/float128_private.h: Include
21763 <math/math-narrow.h>.
21764 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
21765 Undefine and redefine.
21766 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
21767 (libm_alias_float_ldouble): Undefine and redefine.
21768 (libm_alias_double_ldouble): Likewise.
21770 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
21772 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
21774 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
21777 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
21779 * manual/creature.texi: Convert references to gcc.info to gcc.
21780 * manual/stdio.texi: Likewise.
21781 * manual/string.texi: Likewise.
21783 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21786 * posix/bits/types.h (__int_least8_t): New typedef.
21787 (__uint_least8_t): Likewise.
21788 (__int_least16_t): Likewise.
21789 (__uint_least16_t): Likewise.
21790 (__int_least32_t): Likewise.
21791 (__uint_least32_t): Likewise.
21792 (__int_least64_t): Likewise.
21793 (__uint_least64_t): Likewise.
21794 * sysdeps/generic/stdint.h (int_least8_t): Define using
21796 (int_least16_t): Define using __int_least16_t.
21797 (int_least32_t): Define using __int_least32_t.
21798 (int_least64_t): Define using __int_least64_t.
21799 (uint_least8_t): Define using __uint_least8_t.
21800 (uint_least16_t): Define using __uint_least16_t.
21801 (uint_least32_t): Define using __uint_least32_t.
21802 (uint_least64_t): Define using __uint_least64_t.
21803 * wcsmbs/uchar.h: Include <bits/types.h>.
21804 (char16_t): Define using __uint_least16_t conditional only on
21806 (char32_t): Define using __uint_least32_t conditional only on
21808 * wcsmbs/test-char-types.c: New file.
21809 * wcsmbs/Makefile (tests): Add test-char-types.
21811 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
21814 2018-02-07 Zack Weinberg <zackw@panix.com>
21816 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
21817 Delete all contents except for definitions of _G_HAVE_MMAP and
21818 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
21819 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
21820 sysdeps/unix/sysv/linux/_G_config.h. Make same content
21823 * libio/libio.h: Don't include bits/_G_config.h here.
21824 Include stddef.h with __need_wchar_t defined. Include
21825 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
21826 Define _IO_iconv_t here, directly.
21827 Don't define _IO_HAVE_ST_BLKSIZE.
21828 * libio/libioP.h: Include _G_config.h here. Move include of
21829 shlib-compat.h up with rest of includes. Simplify conditionals
21830 controlling definition of _IO_JUMPS_OFFSET.
21832 * csu/init.c: Remove always-true #if around entire file.
21833 Don't include stdio.h. Set _IO_stdin_used to hardwired
21834 constant 0x20001, and update commentary.
21835 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
21836 Replace all uses of _G_va_list with __gnuc_va_list.
21837 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
21838 instead of #if _IO_HAVE_ST_BLKSIZE.
21839 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
21840 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
21843 * libio/bits/libio.h: Move back to libio/libio.h and adjust
21844 multiple-include guard to match.
21845 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
21847 Remove preprocessor conditionals that are always true and/or
21848 redundant to other preprocessor conditionals in the same nest.
21849 Include shlib-compat.h unconditionally.
21850 Error out if _LIBC is not defined, or if _ISOMAC is defined,
21851 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
21852 defined after including stdio.h.
21853 Use __BEGIN_DECLS/__END_DECLS.
21855 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
21856 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
21857 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
21859 2018-02-07 Zack Weinberg <zackw@panix.com>
21861 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
21862 New single-type headers split from _G_config.h.
21863 * libio/bits/types/cookie_io_functions_t.h
21864 * libio/bits/types/struct_FILE.h
21865 New single-type headers split from libio.h.
21867 * libio/Makefile: Install the above new headers. Don't install
21868 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
21870 * libio/_G_config.h, libio/libio.h: Delete file.
21872 * libio/bits/libio.h: Remove improper-inclusion guard.
21873 Include stdio.h and don't repeat anything that it does.
21874 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
21875 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
21876 __io_read_fn as cookie_read_function_t,
21877 __io_write_fn as cookie_write_function_t,
21878 __io_seek_fn as cookie_seek_function_t,
21879 __io_close_fn as cookie_close_function_t,
21880 and _IO_cookie_io_functions_t as cookie_io_functions_t.
21881 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
21882 here, in the "compatibility defines" section. Remove an #if 0
21883 block. Use the "body" macros from bits/types/struct_FILE.h to
21884 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
21885 and _IO_ferror_unlocked.
21886 Move prototypes of __uflow and __overflow...
21888 * libio/stdio.h: ...here. Don't include bits/libio.h.
21889 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
21890 directly from stdarg.h. Include bits/types/__fpos_t.h,
21891 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
21892 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
21893 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
21894 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
21895 cookie_io_functions_t, not _IO_cookie_io_functions_t;
21896 __ssize_t, not _IO_ssize_t. Unconditionally define
21897 BUFSIZ as 8192 and EOF as (-1).
21899 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
21900 macros from bits/types/struct_FILE.h instead of _IO_* macros
21901 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
21902 instead of _IO_ssize_t.
21903 * libio/bits/stdio2.h: Similarly.
21905 * libio/iolibio.h: Add multiple-include guard.
21906 Include bits/libio.h after stdio.h.
21907 * libio/libioP.h: Add multiple-include guard.
21908 Include stdio.h and bits/libio.h before iolibio.h.
21910 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
21911 * include/bits/types/cookie_io_functions_t.h
21912 * include/bits/types/struct_FILE.h: New wrappers.
21914 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
21915 Get definitions of _G_fpos_t and _G_fpos64_t from
21916 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
21917 respectively. Remove improper-inclusion guards.
21919 * conform/data/stdio.h-data: Update expectations of va_list.
21920 * scripts/check-installed-headers.sh: Remove special case for
21921 libio.h and _G_config.h.
21923 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21927 * include/sys/sysmacros.h [!_ISOMAC]
21928 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
21929 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
21930 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
21931 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
21933 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
21934 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
21936 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
21937 Undefine and redefine to add use __gnu_dev_ prefix.
21938 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
21940 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
21941 and define as hidden inline function.
21942 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
21944 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
21946 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
21947 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
21948 (gnu_dev_minor): Likewise.
21949 (gnu_dev_makedev): Likewise.
21950 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
21952 * posix/wordexp.c (exec_comm_child): Likewise.
21953 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
21954 instead of minor and __gnu_dev_major instead of major.
21955 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
21956 __gnu_dev_major instead of major.
21957 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
21958 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
21959 instead of gnu_dev_minor.
21960 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
21961 (SLAVE_P): Likewise.
21962 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
21963 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
21967 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
21969 * locale/weightwc.h (findidx): Likewise.
21971 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
21973 * manual/probes.texi (slowlog): Delete documentation of removed probe.
21974 (slowlog_inexact): Likewise
21975 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
21976 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
21978 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
21981 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
21982 missing second underscore to parameter name.
21984 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21990 * bits/byteswap.h: Update file comment. Do not include
21991 <bits/byteswap-16.h>.
21992 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
21994 (__bswap_16): Define as inline function.
21995 (__bswap_constant_32): Reformat definition.
21996 (__bswap_32): Always define as inline function, not macro, using
21997 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
21998 otherwise __bswap_constant_32.
21999 (__bswap_constant_64): Reformat definition. Do not use
22000 __extension__ here.
22001 (__bswap_64): Always define as inline function, not macro. Use
22002 __extension__ on function definition. Use __builtin_bswap64 if
22003 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
22004 * string/test-endian-file-scope.c: New file.
22005 * string/test-endian-sign-conversion.c: Likewise.
22006 * string/Makefile (headers): Remove bits/byteswap-16.h.
22007 (tests): Add test-endian-file-scope and
22008 test-endian-sign-conversion.
22009 (CFLAGS-test-endian-sign-conversion.c): New variable.
22010 * bits/byteswap-16.h: Remove file.
22011 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
22012 * sysdeps/ia64/bits/byteswap.h: Likewise.
22013 * sysdeps/m68k/bits/byteswap.h: Likewise.
22014 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22015 * sysdeps/s390/bits/byteswap.h: Likewise.
22016 * sysdeps/tile/bits/byteswap.h: Likewise.
22017 * sysdeps/x86/bits/byteswap-16.h: Likewise.
22018 * sysdeps/x86/bits/byteswap.h: Likewise.
22021 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
22022 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
22023 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
22024 199901L] (__restrict): Define to restrict.
22027 * string/testcopy.c: Include <support/support.h>. Do not include
22028 <malloc.h>. Use <support/test-driver.c>.
22029 (main): Rename to do_test. Make static. Use xmalloc instead of
22033 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
22034 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
22035 (SSIZE_MAX): Define to INT_MAX.
22036 * posix/test-ssize-max.c: New file.
22037 * posix/Makefile (tests): Add test-ssize-max.
22040 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
22041 <support/support.h>. Do not include <malloc.h>.
22042 (query_auxv): Use xmalloc instead of malloc.
22045 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
22046 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
22049 2018-02-06 Florian Weimer <fweimer@redhat.com>
22052 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22053 Use scratch_buffer instead of extend_alloca.
22055 2018-02-06 Zack Weinberg <zackw@panix.com>
22057 * libio/stdio.h: Don't define getc or putc as macros.
22058 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
22059 not _IO_getc and _IO_putc.
22061 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
22062 * stdio-common/tstgetln.c: Don't redefine ssize_t.
22064 2018-02-06 Joseph Myers <joseph@codesourcery.com>
22066 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
22067 (TCP_FASTOPEN_NO_COOKIE): Likewise.
22069 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
22072 * elf/elf.h (NT_PRFPREG): New macro.
22073 (NT_S390_VXRS_LOW): Likewise.
22074 (NT_S390_VXRS_HIGH): Likewise.
22075 (NT_S390_GS_CB): Likewise.
22076 (NT_S390_GS_BC): Likewise.
22077 (NT_S390_RI_CB): Likewise.
22079 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
22080 (MAP_SYNC): New macro.
22081 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
22083 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
22084 (MAP_SYNC): Likewise.
22085 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
22086 (MAP_SYNC): Likewise.
22087 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
22088 (MAP_SYNC): Likewise.
22089 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
22090 (MAP_SYNC): Likewise.
22091 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
22092 (MAP_SYNC): Likewise.
22093 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
22094 (MAP_SYNC): Likewise.
22095 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
22097 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
22100 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
22101 (MAP_SHARED_VALIDATE): New macro.
22102 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22103 (MAP_SHARED_VALIDATE): Likewise.
22105 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22107 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
22108 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
22109 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22111 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22113 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
22114 (DT_NUM): Updated to 35.
22116 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22118 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
22119 __builtin_expect with __glibc_likely and __glibc_unlikely.
22120 (elf_machine_rela): Likewise.
22121 (elf_machine_lazy_rel): Likewise.
22123 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22125 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
22126 __builtin_expect with __glibc_likely and __glibc_unlikely.
22127 (elf_machine_lazy_rel): Likewise.
22129 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22132 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
22134 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
22136 2018-02-05 Andreas Schwab <schwab@suse.de>
22139 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
22142 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22144 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
22145 not check against PTHREAD_STACK_MIN.
22147 2018-02-02 Sean McKean <smckean83@gmail.com>
22150 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
22152 2018-02-02 Florian Weimer <fweimer@redhat.com>
22155 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
22156 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
22157 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
22158 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
22159 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
22160 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
22161 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
22162 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
22163 * manual/llio.texi (Scatter-Gather): Mention offset -1.
22164 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
22165 * misc/tst-preadvwritev2.c (do_test): Call it.
22166 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
22168 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
22170 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
22172 * benchtests/bench-memcmp.c: Print json instead of plain text.
22174 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
22177 2018-02-01 Joseph Myers <joseph@codesourcery.com>
22179 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22181 (s390_sthyi): New syscall.
22183 * sysdeps/generic/ldbl-classify-compat.h: New file.
22184 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
22185 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
22186 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
22187 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
22188 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
22189 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
22190 * sysdeps/ieee754/dbl-64/s_finite.c: Include
22191 <ldbl-classify-compat.h>.
22192 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22193 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
22194 <ldbl-classify-compat.h>.
22195 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22196 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
22197 <ldbl-classify-compat.h>.
22198 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22199 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
22200 <ldbl-classify-compat.h>.
22201 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22202 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
22203 <ldbl-classify-compat.h>.
22204 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22205 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
22206 <ldbl-classify-compat.h>.
22207 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22208 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
22209 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22210 * sysdeps/m68k/coldfire/math_private.h: Remove file.
22211 * sysdeps/microblaze/math_private.h: Likewise.
22212 * sysdeps/nios2/math_private.h: Likewise.
22213 * sysdeps/sh/math_private.h: Likewise.
22215 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
22216 * sysdeps/m68k/coldfire/math_private.h: ... here.
22217 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
22218 * sysdeps/tile/math_private.h: Likewise.
22219 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
22221 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
22224 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
22226 (libc_fetestexcept): Likewise.
22227 (libc_feupdateenv_test): Likewise.
22228 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
22229 (libc_fetestexcept): Likewise.
22230 (libc_feupdateenv_test): Likewise.
22231 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
22232 (libc_fetestexcept): Likewise.
22233 (libc_feupdateenv_test): Likewise.
22234 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
22235 (libc_fetestexcept): Likewise.
22236 (libc_feupdateenv_test): Likewise.
22238 * sysdeps/generic/math_private.h
22239 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
22240 New inline function.
22241 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
22244 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
22245 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
22246 * sysdeps/generic/math_private.h
22247 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
22249 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
22251 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
22253 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
22255 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
22257 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
22259 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
22260 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
22261 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
22262 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
22263 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
22264 (__fegetenv): Likewise.
22265 (fesetenv): Likewise.
22266 (__fesetenv): Likewise.
22267 (feupdateenv): Likewise.
22268 (__feupdateenv): Likewise.
22269 (fegetround): Likewise.
22270 (__fegetround): Likewise.
22271 (fesetround): Likewise.
22272 (__fesetround): Likewise.
22274 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
22275 (feraiseexcept): New macro.
22276 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
22277 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
22279 (__feraiseexcept): Likewise.
22280 (feclearexcept): Likewise.
22281 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
22282 (__feraiseexcept): Likewise.
22283 (feclearexcept): Likewise.
22284 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
22285 (__feraiseexcept): Likewise.
22286 (feclearexcept): Likewise.
22287 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
22288 (__feraiseexcept): Likewise.
22289 (feclearexcept): Likewise.
22290 (fetestexcept): Likewise.
22292 * sysdeps/m68k/coldfire/math-tests.h: New file.
22294 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
22295 * sysdeps/m68k/bits/fenv.h: ... here.
22296 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
22298 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
22300 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
22302 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
22304 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
22306 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
22308 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
22309 (__FE_UNDEFINED): New enum constant.
22310 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
22312 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
22314 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
22316 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
22317 to match generic bits/fenv.h.
22318 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
22321 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
22323 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
22324 * soft-fp/half.h (union _FP_UNION_H): Likewise.
22325 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
22326 * soft-fp/single.h (union _FP_UNION_S): Likewise.
22328 2018-02-01 Carlos O'Donell <carlos@redhat.com>
22329 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
22330 Joseph Myers <joseph@codesourcery.com>
22333 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
22334 (__log1p): Disable -Wmaybe-uninitialized for -Os around
22335 computation using c.
22336 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
22337 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
22338 computation using c.
22340 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22342 * version.h (RELEASE): Set to "development".
22343 (VERSION): Set to "2.27.9000".
22344 * NEWS (2.28): New section.
22346 * version.h (RELEASE): Set to "stable".
22347 (VERSION): Set to "2.27".
22348 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
22350 * NEWS: Add the list of bugs fixed in 2.27.
22352 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22354 * stdlib/test-atexit-race-common.c (do_test): Check stack size
22355 against PTHREAD_STACK_MIN.
22357 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22359 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
22361 (Rafał Lużyński, Andreas Schwab): Update.
22363 2018-02-01 Rafał Lużyński <digitalfreak@lingonborough.com>
22366 * NEWS: List the languages which actually use the alternative
22367 months feature in this release. Also explain that "alt_mon" and
22368 "ab_alt_mon" are optional.
22370 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
22373 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
22375 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
22377 * manual/install.texi (Tools for Compilation): Update the newest
22378 versions of gcc, binutils, texinfo, gawk, bison, and sed.
22379 * INSTALL: Regenerated.
22381 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22383 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
22384 instead of __builtin_expect.
22386 2018-01-30 Florian Weimer <fweimer@redhat.com>
22388 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
22390 * nss/tst-nss-getpwent.c (do_test): Likewise.
22392 2018-01-30 Rafał Lużyński <digitalfreak@lingonborough.com>
22395 * localedata/locales/hr_HR (mon): Rename to...
22397 (mon): Import from CLDR (genitive case).
22398 (d_t_fmt): Update the comment.
22400 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
22402 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
22403 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
22404 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
22406 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22408 * mach/Versions: Fix version when __mach_host_self_ was added.
22409 * hurd/Versions: Fix version when _hurd_exec_paths was added.
22410 * sysdeps/mach/hurd/i386/ld.abilist: New file.
22411 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
22412 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
22413 * sysdeps/mach/hurd/i386/libc.abilist: New file.
22414 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
22415 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
22416 * sysdeps/mach/hurd/i386/libm.abilist: New file.
22417 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
22418 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
22419 * sysdeps/mach/hurd/i386/librt.abilist: New file.
22420 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
22421 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
22422 || to respect codestyle.
22423 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
22424 (do_test_bz20181): Rename accordingly.
22425 * malloc/malloc.c: Include <assert.h>.
22426 (assert): Do not define.
22427 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
22428 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
22429 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
22430 * sysdeps/mach/hurd/hp-timing.h: New file.
22431 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
22433 2018-01-29 Darius Rad <darius@bluespec.com>
22435 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
22437 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
22439 * sysdeps/init_array/crti.S (.section .init_array): Add
22440 PREINIT_FUNCTION when defined.
22441 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
22442 * config.h.in: Regenerate.
22443 * manual/platform.texi: Add RISC-V documenation for
22444 __riscv_flush_icache.
22445 * sysdeps/riscv/__longjmp.S: New file.
22446 * sysdeps/riscv/backtrace.c: Likewise.
22447 * sysdeps/riscv/bits/endian.h: Likewise.
22448 * sysdeps/riscv/bits/setjmp.h: Likewise.
22449 * sysdeps/riscv/bits/wordsize.h: Likewise.
22450 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
22451 * sysdeps/riscv/bsd-setjmp.c: Likewise.
22452 * sysdeps/riscv/dl-trampoline.S: Likewise.
22453 * sysdeps/riscv/gccframe.h: Likewise.
22454 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
22455 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
22456 * sysdeps/riscv/machine-gmon.h: Likewise.
22457 * sysdeps/riscv/memusage.h: Likewise.
22458 * sysdeps/riscv/setjmp.S: Likewise.
22459 * sysdeps/riscv/sys/asm.h: Likewise.
22460 * sysdeps/riscv/tls-macros.h: Likewise.
22461 * sysdeps/riscv/dl-tls.h: New file.
22462 * sysdeps/riscv/libc-tls.c: Likewise.
22463 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
22464 * sysdeps/riscv/nptl/tls.h: Likewise.
22465 * sysdeps/riscv/stackinfo.h: Likewise.
22466 * sysdeps/riscv/bits/fenv.h: New file.
22467 * sysdeps/riscv/e_sqrtl.c: Likewise.
22468 * sysdeps/riscv/fpu_control.h: Likewise.
22469 * sysdeps/riscv/math-tests.h: Likewise.
22470 * sysdeps/riscv/nofpu/Implies: Likewise.
22471 * sysdeps/riscv/sfp-machine.h: Likewise.
22472 * sysdeps/riscv/tininess.h: Likewise.
22473 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
22474 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
22475 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
22476 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
22477 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
22478 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
22479 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
22480 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
22481 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
22482 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
22483 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
22484 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
22485 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
22486 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
22487 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
22488 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
22489 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
22490 * sysdeps/riscv/rvd/s_finite.c: Likewise.
22491 * sysdeps/riscv/rvd/s_fma.c: Likewise.
22492 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
22493 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
22494 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
22495 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
22496 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
22497 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
22498 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
22499 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
22500 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
22501 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
22502 * sysdeps/riscv/rvf/fegetround.c: Likewise.
22503 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
22504 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
22505 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
22506 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
22507 * sysdeps/riscv/rvf/fesetround.c: Likewise.
22508 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
22509 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
22510 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
22511 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
22512 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
22513 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
22514 * sysdeps/riscv/rvf/math_private.h: Likewise.
22515 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
22516 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
22517 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
22518 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
22519 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
22520 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
22521 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
22522 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
22523 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
22524 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
22525 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
22526 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
22527 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
22528 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
22529 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
22530 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
22531 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
22532 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
22533 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
22534 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
22535 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
22536 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
22537 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
22538 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
22539 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
22540 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
22541 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
22542 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
22543 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
22544 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
22545 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
22546 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
22547 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
22548 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
22549 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
22550 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
22551 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
22552 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
22553 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
22554 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
22555 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
22556 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
22557 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
22558 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
22559 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
22560 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
22561 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
22562 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
22563 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
22564 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
22565 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
22566 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
22567 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
22568 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
22569 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
22570 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
22571 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
22572 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
22573 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
22574 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
22575 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
22576 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
22577 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
22578 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
22579 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
22580 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
22581 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
22582 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
22583 * sysdeps/riscv/Implies: New file.
22584 * sysdeps/riscv/Makefile: Likewise.
22585 * sysdeps/riscv/configure: Likewise.
22586 * sysdeps/riscv/configure.ac: Likewise.
22587 * sysdeps/riscv/nptl/Makefile: Likewise.
22588 * sysdeps/riscv/preconfigure: Likewise.
22589 * sysdeps/riscv/rv64/Implies-after: Likewise.
22590 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
22591 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
22592 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
22593 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
22594 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
22595 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
22596 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
22597 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
22598 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
22599 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
22600 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
22601 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
22602 (Config): Likewise.
22604 2018-01-29 Florian Weimer <fweimer@redhat.com>
22607 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
22608 libnsl_hidden_proto.
22609 * include/rpcsvc/yp.h (yp_xdrall): Declare with
22610 libnsl_hidden_proto.
22611 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
22612 * nis/Makefile (libnsl-routines): Add nss-default only for
22613 build-obsolete-nsl.
22614 * nis/nis_defaults.c (__nis_default_ttl): Add
22615 libnsl_hidden_nolink_def.
22616 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
22618 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
22619 * nis/ypclnt.c (yp_maplist): Likewise.
22621 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
22623 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22624 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
22626 2018-01-29 Joseph Myers <joseph@codesourcery.com>
22628 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
22629 clean -dxfq for git updates when replacing sources.
22631 * scripts/build-many-glibcs.py (Config.build_gcc): Use
22632 --disable-libcilkrts unconditionally, not just for the final GCC
22635 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22638 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22641 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
22644 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22647 * localedata/locales/be_BY (mon): Rename to...
22648 (alt_mon): This, then synchronize with CLDR (nominative case).
22649 (abmon): Rename to...
22650 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
22651 (mon): Import from CLDR (genitive case).
22653 * localedata/locales/be_BY@latin (mon): Rename to...
22655 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
22657 * localedata/locales/be_BY@latin (lang_name): Reworded to
22658 "biełaruskaja mova".
22660 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22663 * localedata/locales/el_CY (mon): Renamed to...
22665 (mon): Import from CLDR (genitive case).
22666 * localedata/locales/el_GR: Likewise.
22668 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22671 * localedata/locales/ru_RU (mon): Rename to...
22673 (abmon): Rename to...
22674 (ab_alt_mon): This.
22675 (mon): Import from CLDR (genitive case).
22676 (abmon): Copy from the old content except the 5th month which is
22677 now in the genitive case, even when abbreviated.
22678 * localedata/locales/ru_UA: Likewise.
22679 * time/tst-strptime.c (day_tests): Add an actual example of
22680 a difference between %b and %Ob in Russian.
22682 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22684 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
22685 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
22687 * resolv/res-close.c: Include <stdlib.h>.
22688 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
22689 <sys/wait.h>, <time.h>, <sys/uio.h>.
22690 (NOT_CANCEL_H): Add inclusion guard.
22691 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
22692 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
22693 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
22695 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
22696 vm_address_t * to ElfW(Addr) * for dl_main parameter.
22697 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
22699 * sysdeps/pthread/timer_create.c (timer_create): Do not use
22700 timer_ptr2id to cast struct timer_node * to void *.
22701 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
22702 --disable-libcilkrts to gcc configure.
22703 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
22704 and make them the default for now.
22705 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
22706 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
22707 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
22708 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
22709 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
22711 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
22712 __task_terminate would ever return successfully.
22713 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
22715 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
22716 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
22717 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
22718 critical section to make code simpler and avoid warning.
22719 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
22720 critical section to make code simpler and avoid warning.
22721 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
22722 const char * instead of char *.
22723 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
22724 __hurd_file_name_split, hurd_file_name_split,
22725 __hurd_directory_name_split, hurd_directory_name_split,
22726 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
22727 hurd_file_name_path_lookup): Make lookup function parameter take a
22728 const char *name instead of char *name.
22729 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
22730 __hurd_directory_name_split): Likewise.
22731 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
22732 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
22733 * sysdeps/mach/hurd/check_native.c: New file.
22734 * sysdeps/mach/hurd/check_pf.c: New file.
22735 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
22736 (__freeifaddrs): Define macro to freeifaddrs.
22737 * sysdeps/mach/hurd/libhurduser.abilist: New file.
22738 * sysdeps/mach/libmachuser.abilist: New file.
22739 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
22740 (do_test_bz20181): Rename accordingly.
22741 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
22742 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
22744 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
22745 version only if __USE_EXTERN_INLINES is defined.
22746 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
22747 __hurd_sockfail): Likewise.
22748 (_hurd_fd_get): Always declare functions, and provide inline versions
22749 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
22750 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
22751 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
22752 _hurd_port_set): Always declare functions, and provide inline versions
22753 only if __USE_EXTERN_INLINES and _LIBC are defined and
22755 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
22756 _hurd_critical_section_unlock): Likewise.
22757 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
22758 * __hurd_threadvar_location): Likewise.
22759 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
22760 _hurd_userlink_clear): Likewise.
22761 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
22762 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
22763 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
22764 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
22765 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
22766 __spin_lock_locked): Likewise.
22767 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
22768 __spin_lock_locked): Likewise.
22769 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
22770 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
22771 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
22772 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
22773 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
22774 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
22775 _POSIX_NO_TRUNC): Define to 0.
22776 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
22777 check size against PTHREAD_STACK_MIN.
22778 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
22779 IS_IN(libpthread)]: Include <sigsetops.h>.
22780 * mach/Makefile (user-interfaces): Add mach/gnumach.
22781 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
22782 * sysdeps/mach/configure (mach_interface_list): Regenerate.
22783 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
22784 instead of invalid -1.
22785 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
22786 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
22787 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
22790 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
22792 * hurd/fcntl-internal.h: New file.
22794 2018-01-27 James Clarke <jrtc27@jrtc27.com>
22796 * sysdeps/hppa/fpu/libm-test-ulps: Update.
22798 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22800 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
22803 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
22804 Build only shared objects.
22806 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22808 * README: Update for hppa.
22810 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22812 * sysdeps/sparc/fpu/libm-test-ulps: Update
22813 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
22815 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22819 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22822 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22823 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22824 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22825 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22828 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22831 * bits/types/__cancel_jmp_buf_tag.h: New file.
22832 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22833 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22834 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22835 * nptl/Makefile (headers): Add
22836 bits/types/__cancel_jmp_buf_tag.h.
22837 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22838 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22839 * sysdeps/nptl/pthread.h: Include
22840 <bits/types/__cancel_jmp_buf_tag.h>.
22841 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22843 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22845 2018-01-25 Rafał Lużyński <digitalfreak@lingonborough.com>
22848 * localedata/locales/uk_UA (mon): Renamed to...
22850 (alt_digits): "0" removed and then renamed to...
22852 (date_fmt): Definition changed not to use the alternative
22855 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
22857 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
22858 FLAG_RISCV_FLOAT_ABI_DOUBLE.
22859 * elf/elf.h (EF_RISCV_RVC): New define.
22860 (EF_RISCV_FLOAT_ABI): Likewise.
22861 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
22862 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
22863 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22864 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
22865 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
22867 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22869 2018-01-25 Andreas Schwab <schwab@suse.de>
22871 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
22873 * sysdeps/gnu/configure: Regenerate.
22874 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22875 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22877 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22878 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22879 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
22880 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22881 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22883 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
22885 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
22886 URL, and run autoconf, make it the default for now.
22888 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22890 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22891 soft-float ColdFire configuration.
22893 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
22894 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
22895 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
22897 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
22900 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
22902 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
22904 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
22907 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
22908 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
22909 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
22912 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22915 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
22916 Rename to __reserved and add comment.
22917 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
22918 Rename to __reserved.
22920 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22922 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22923 i686-gnu configurations.
22924 (Context.run_builds): Include mig, gnumach and hurd in components
22926 (Context.checkout): Add mig, gnumach and hurd to components.
22927 (Context.checkout_tar): Add URL mappings for mig, gnumach and
22929 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
22930 (Config.build): Install gnumach headers, build mig and install
22931 hurd headers for 'gnu' OS.
22932 (Config.install_gnumach_headers): New function.
22933 (Config.install_hurd_headers): Likewise.
22934 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
22935 when building for 'gnu' OS.
22937 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
22939 * manual/tunables.texi (Hardware Capability Tunables): Fix
22942 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
22944 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
22945 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
22946 (ALTMON_11, ALTMON_12): Improve documentation.
22947 * manual/time.texi (strftime): Likewise.
22949 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22952 * localedata/locales/pl_PL: Alternative month names added,
22953 primary month names are genitive now.
22954 * time/tst-strptime.c (day_tests): Actually use a genitive case
22955 of a month name in Polish language.
22957 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22960 * manual/locale.texi: Document ALTMON_1..12 constants for
22961 nl_langinfo. Specify when to use ALTMON instead of MON.
22962 * manual/time.texi (strftime, strptime): Document GNU extension
22963 permitting O modifier with %B and %b. Specify when to use
22966 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22969 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
22970 names, define them as the same as abbreviated month names explicitly.
22971 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
22972 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
22973 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
22974 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
22975 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
22976 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
22977 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
22978 _NL_WABALTMON_12): New enum constants.
22979 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
22980 wab_alt_mon, and ab_alt_mon_defined members.
22981 (time_output): Output ab_alt_mon and wab_alt_mon members.
22982 (time_read): Read them, initialize them as copies of abmon and wabmon
22983 respectively if they are missing, initialize ab_alt_mon_defined.
22984 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
22985 * locale/programs/locfile-kw.h: Regenerate.
22986 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
22987 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
22989 * time/strftime_l.c (a_altmonth, aam_len): New macros.
22990 [!COMPILE_WIDE] (ABALTMON_1): New macro.
22991 (__strftime_internal): Handle %Ob and %Oh formats.
22992 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
22993 (__strptime_internal): Handle %Ob and %Oh formats.
22994 * time/tst-strptime.c (day_tests): Add more tests to parse different
22995 forms of month names including the new %Ob format specifier.
22997 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
23000 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
23001 define them as the same as primary full month names explicitly.
23002 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
23003 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
23004 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
23005 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
23006 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
23007 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
23008 _NL_WALTMON_12): New enum constants.
23009 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
23010 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
23012 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
23013 walt_mon, and alt_mon_defined members.
23014 (time_output): Output alt_mon and walt_mon members.
23015 (time_read): Read them, initialize them as copies of mon and wmon
23016 respectively if they are missing, initialize alt_mon_defined.
23017 * locale/programs/locfile-kw.gperf (alt_mon): Define.
23018 * locale/programs/locfile-kw.h: Regenerate.
23019 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
23020 * localedata/tst-langinfo.c (map): Add tests for the new constants
23021 ALTMON_1 .. ALTMON_12.
23022 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
23024 * time/strftime_l.c (f_altmonth): New macro.
23025 (__strftime_internal): Handle %OB format.
23026 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
23027 (__strptime_internal): Handle %OB format.
23028 * time/tst-strptime.c (day_tests): Add tests to parse different forms
23029 of month names including the new %OB format specifier.
23031 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23034 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
23035 from ABORT_TRANSACTION.
23036 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
23037 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
23038 ABORT_TRANSACTION_IMPL): Likewise.
23039 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
23040 Linux code, but remove the code that aborts transactions.
23042 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
23044 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
23046 2018-01-19 Rafał Lużyński <digitalfreak@lingonborough.com>
23048 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
23049 in date: "2004-14-09" should be "2004-09-14".
23050 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
23051 "2003-15-09" should be "2003-09-15".
23053 2018-01-18 Arjun Shankar <arjun@redhat.com>
23059 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
23061 (_int_memalign): check for integer overflow before calling
23063 * malloc/tst-malloc-too-large.c: New test.
23064 * malloc/Makefile: Add tst-malloc-too-large.
23066 2018-01-18 Rafał Lużyński <digitalfreak@lingonborough.com>
23068 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
23069 in date: "2017-24-07" should be "2017-07-24".
23070 * localedata/locales/mai_IN: Likewise.
23071 * localedata/locales/mai_NP: Likewise.
23073 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
23075 * po/ru.po: Update translations.
23077 2018-01-17 Joseph Myers <joseph@codesourcery.com>
23080 * sysdeps/hppa/backtrace.c: New file.
23082 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
23085 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
23086 align La_x86_64_retval to VEC_SIZE.
23088 2018-01-16 Joseph Myers <joseph@codesourcery.com>
23090 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
23091 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
23093 2018-01-16 Florian Weimer <fweimer@redhat.com>
23095 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
23096 Move tst-thread-exit-clobber ...
23097 [$(CXX)] (tests-unsupported): ... to here.
23099 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23101 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
23102 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
23103 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23104 (_dl_aarch64_cap_flags): Update.
23105 (_DL_HWCAP_COUNT): Update.
23107 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23109 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
23110 (_DL_HWCAP_LAST): Remove.
23111 (_DL_HWCAP_COUNT): Move to ...
23112 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23113 (_DL_HWCAP_COUNT): ... here.
23115 2018-01-16 Florian Weimer <fweimer@redhat.com>
23117 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
23118 mode with GNU extensions.
23120 2018-01-15 Alan Hayward <alan.hayward@arm.com>
23122 * elf/elf.h (NT_ARM_SVE): Define.
23124 2018-01-15 Florian Weimer <fweimer@redhat.com>
23127 * nptl/tst-minstack-throw.cc: New file.
23128 * nptl/Makefile (tests): Add tst-minstack-throw.
23129 (LDLIBS-tst-minstack-throw): Link with libstdc++.
23130 [!CXX] (tests-unsupported): Add tst-minstack-throw.
23132 2018-01-15 Joseph Myers <joseph@codesourcery.com>
23134 * scripts/build-many-glibcs.py (Context.checkout): Default
23135 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
23138 2018-01-13 Carlos O'Donell <carlos@redhat.com>
23141 * elf/elf.h (DF_1_STUB): Define.
23142 (DF_1_PIE): Define.
23144 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23147 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
23148 Do not add 0.5 to integer or out-of-range arguments.
23150 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23152 * po/bg.po: Update translations.
23153 * po/cs.po: Likewise.
23154 * po/de.po: Likewise.
23155 * po/ko.po: Likewise.
23156 * po/pl.po: Likewise.
23157 * po/sv.po: Likewise.
23158 * po/uk.po: Likewise.
23159 * po/vi.po: Likewise.
23161 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23163 * aarch64/start.S (_start): Use __wrap_main.
23164 (__wrap_main): New local symbol.
23166 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23170 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
23171 generic_getcwd if the path returned by getcwd syscall is not absolute.
23172 * io/tst-getcwd-abspath.c: New test.
23173 * io/Makefile (tests): Add tst-getcwd-abspath.
23175 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
23177 * malloc/malloc.c (malloc_consolidate): Add size check.
23179 2018-01-12 Florian Weimer <fweimer@redhat.com>
23181 * support/write_message.c (write_message): Preserve errno.
23182 * support/check.c (print_failure): Likewise.
23183 * support/support_test_verify_impl.c (support_test_verify_impl):
23185 * support/support_test_compare_failure.c
23186 (support_test_compare_failure): Likewise.
23188 2018-01-12 Florian Weimer <fweimer@redhat.com>
23191 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
23192 Prevent installation of libnsl.so.
23193 (libnsl-inhibit-o): Do not build (or install) static libraries.
23195 2018-01-12 Egmont Koblinger <egmont@gmail.com>
23198 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
23199 before the day number which may produce a double space.
23200 (date_fmt): Likewise.
23202 2018-01-12 Joseph Myers <joseph@codesourcery.com>
23204 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
23205 instead of fegetenv.
23207 2018-01-11 Joseph Myers <joseph@codesourcery.com>
23210 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
23211 comment to say exceptions are discarded.
23212 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
23214 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
23217 2018-01-11 Florian Weimer <fweimer@redhat.com>
23219 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
23222 2018-01-11 Florian Weimer <fweimer@redhat.com>
23225 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
23226 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
23228 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23231 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
23232 negative arguments in test for NaN or infinity argument.
23234 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
23236 * po/libc.pot: Regenerate.
23238 2018-01-10 Florian Weimer <fweimer@redhat.com>
23241 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
23242 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
23244 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23246 * hurd/hurd/fd.h: Include <fcntl.h>
23247 (__hurd_at_flags): New function.
23248 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
23249 with call to __hurd_at_flags.
23250 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
23251 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
23253 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
23254 (__access_noerrno): Use __faccessat_common instead of access_common.
23255 (__access): Likewise.
23256 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
23257 with a call to __faccessat.
23258 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
23259 (__faccessat_common): ... this. Move implementation of __access into it when
23260 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
23261 reauthenticate_cwdir_at helper to implement AT mechanism.
23262 (__faccessat_noerrno): New function, just calls __faccessat_common.
23263 (__faccessat): New function, just calls __faccessat_common.
23264 (faccessat): Define weak alias.
23266 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23269 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23270 (CFLAGS-s_fmaxmagl.c): New variable.
23271 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
23274 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
23275 long int for arguments of possibly overflowing addition or
23277 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23279 2018-01-09 Joseph Myers <joseph@codesourcery.com>
23282 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23283 (CFLAGS-e_remainderl.c): New variable.
23286 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
23288 (CFLAGS-s_cacoshl.c): Likewise.
23289 (CFLAGS-s_casinhl.c): Likewise.
23290 (CFLAGS-s_catanl.c): Likewise.
23291 (CFLAGS-s_catanhl.c): Likewise.
23292 (CFLAGS-s_cexpl.c): Likewise.
23293 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
23294 (CFLAGS-s_csinhl.c): Likewise.
23295 (CFLAGS-s_clogl.c): Likewise.
23296 (CFLAGS-s_clog10l.c): Likewise.
23297 (CFLAGS-s_csinl.c): Likewise.
23298 (CFLAGS-s_csqrtl.c): Likewise.
23300 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
23301 2017-01-09 Svante Signell <svante.signell@gmail.com>
23303 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
23304 (_hurd_exec_paths): New function.
23305 * hurd/hurd.h (_hurd_exec): Deprecate function.
23306 (_hurd_exec_paths): Declare function.
23307 * hurd/Versions: Export _hurd_exec_paths.
23308 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
23309 (__execve): Use __getcwd to build absolute path, and use
23310 _hurd_exec_paths instead of _hurd_exec.
23311 * sysdeps/mach/hurd/spawni.c: Likewise.
23312 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
23315 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
23317 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
23318 test instead of failing in case of ENOENT returned by posix_openpt.
23320 2018-01-08 Florian Weimer <fweimer@redhat.com>
23322 resolv: Support binary labels in test framework.
23323 * support/resolv_test.c (struct to_be_freed): Remove.
23324 (struct compressed_name): New.
23325 (allocate_compressed_name, ascii_tolower)
23326 (compare_compressed_name): New functions.
23327 (struct resolv_response_builder): Update type of
23328 compression_offsets for use with tsearch. Rempve to_be_freed.
23329 (response_push_pointer_to_free): Remove function.
23330 (resolv_response_add_name): Rewrite using struct compressed_name
23331 and tsearch instead of hsearch_r.
23332 (response_builder_allocate): Remove initialization of
23333 compression_offsets.
23334 (response_builder_free): Update for removal of to_be_freed. Use
23335 tdestroy instead of hdestroy_r.
23336 * resolv/Makefile (tests): Add tst-resolv-binary.
23337 (tst-resolv-binary): Link with -lresolv -lpthread.
23339 2018-01-08 Florian Weimer <fweimer@redhat.com>
23341 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
23342 time. Pass positive flag instead of negative flag to
23343 support_test_compare_failure.
23344 (support_test_compare_failure): Change negative parameter to
23346 * support/support_test_compare_failure.c (report)
23347 (support_test_compare_failure): Likewise.
23348 * support/tst-test_compare.c (return_ssize_t, return_int): New.
23349 (do_test): Check int/size_t, ssize_t/size_t comparisons.
23351 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
23354 * nptl/descr.h (stackblock, stackblock_size): Update comments.
23355 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
23356 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
23358 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23360 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
23362 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23363 Add s_sincosf-sse2 and s_sincosf-fma.
23364 (CFLAGS-s_sincosf-fma.c): New.
23365 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
23366 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
23367 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
23368 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
23369 __sincosf is defined.
23371 2018-01-08 Florian Weimer <fweimer@redhat.com>
23373 * nptl/tst-thread-exit-clobber.cc: New file.
23374 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
23376 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
23377 (tests): Add tst-thread-exit-clobber.
23378 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
23380 2018-01-08 Florian Weimer <fweimer@redhat.com>
23382 * support/check.h (support_static_assert): Define.
23383 (TEST_COMPARE): Use it.
23385 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
23387 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
23388 [!__RLIM_T_MATCHES_RLIM64_T]
23389 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
23390 __getrlimit64. Add libc_hidden_weak.
23392 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
23394 * elf/elf.h (R_RISCV_NONE): New define.
23395 (R_RISCV_32): Likewise.
23396 (R_RISCV_64): Likewise.
23397 (R_RISCV_RELATIVE): Likewise.
23398 (R_RISCV_COPY): Likewise.
23399 (R_RISCV_JUMP_SLOT): Likewise.
23400 (R_RISCV_TLS_DTPMOD32): Likewise.
23401 (R_RISCV_TLS_DTPMOD64): Likewise.
23402 (R_RISCV_TLS_DTPREL32): Likewise.
23403 (R_RISCV_TLS_DTPREL64): Likewise.
23404 (R_RISCV_TLS_TPREL32): Likewise.
23405 (R_RISCV_TLS_TPREL64): Likewise.
23406 * Makerules (make-link-multidir): Make directories before linking into
23408 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
23410 (VDSO_HASH_LINUX_4_15): Likewise.
23411 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
23412 in subdirectories of lib.
23413 * nptl/Makefile (/librt.so): Always depend on
23414 "$(shared-thread-library)".
23416 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23418 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
23419 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
23420 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
23422 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
23423 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23425 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
23426 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
23427 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
23428 * sysdeps/gnu/glob-lstat-compat.c: New file.
23429 * sysdeps/gnu/glob64-lstat-compat.c: New file.
23430 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
23432 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23434 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
23435 Reserve 16 chars to reloc_addr before calling _itoa_word.
23437 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23440 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
23441 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
23443 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
23444 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
23446 * resource/tst-getrlimit.c: Add copyright header.
23448 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23449 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23451 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23452 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
23453 Define __GI_getrlimit64 as weak alias of __getrlimit64.
23454 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
23456 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23457 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
23458 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
23459 RLIM64_INFINITY): Fix values to match the kernel ones.
23460 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
23461 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
23462 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
23463 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
23464 getrlimit64@@GLIBC_2_27.
23465 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
23467 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
23468 getrlimit, setrlimit, getrlimit64 and setrlimit64.
23469 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
23470 setrlimit, getrlimit64 and setrlimit64.
23472 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23475 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
23476 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
23478 2018-01-04 Joseph Myers <joseph@codesourcery.com>
23480 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
23481 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
23482 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
23484 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23488 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
23489 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
23493 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
23494 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
23495 * sysdeps/alpha/fpu/s_floor.c: Likewise.
23496 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
23498 2018-01-04 Florian Weimer <fweimer@redhat.com>
23501 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23502 Align the stack before calling exit.
23503 * stdlib/tst-makecontext-align.c: New file.
23504 * stdlib/Makefile (tests): Add tst-makecontext-align.
23506 2018-01-04 Florian Weimer <fweimer@redhat.com>
23508 Add support for calling dlvsym from libc.so.
23509 * include/dlfcn.h (__libc_dlvsym): Declare.
23510 * elf/Makefile (tests-static-internal): Add
23511 tst-libc_dlvsym-static.
23512 (tests-internal): Add tst-libc_dlvsym.
23513 (modules-names): Add tst-libc_dlvsym-dso.
23514 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
23515 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
23516 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
23517 object tst-libc_dlvsym-dso.so needs to be built before running
23519 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
23520 * elf/Versions: Export __libc_dlvsym.
23521 * elf/dl-libc.c (struct do_dlvsym_args): New.
23522 (do_dlvsym, __libc_dlvsym): New functions.
23523 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
23524 (_dl_open_hook2): New variable.
23525 (__libc_register_dl_open_hook): Set it.
23526 * elf/tst-libc_dlvsym-dso.c: New file.
23527 * elf/tst-libc_dlvsym-static.c: Likewise.
23528 * elf/tst-libc_dlvsym.c: Likewise.
23529 * elf/tst-libc_dlvsym.h: Likewise.
23531 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23533 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
23534 include <sys/mount.h>.
23536 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
23538 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
23539 Add __NO_MATH_ERRNO__ check.
23541 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23543 * sysdeps/mips/mips32/libm-test-ulps: Update.
23544 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23546 2018-01-02 Florian Weimer <fweimer@redhat.com>
23548 * misc/tst-pselect.c: Add copyright header.
23550 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23552 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
23554 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
23556 (settrlimit): Rename into setrlimit.
23557 (__sttrlimit): Rename into __setrlimit.
23559 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
23560 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
23561 never defined in that case.
23563 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23565 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
23567 * sysdeps/arm/libm-test-ulps: Update.
23569 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
23570 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
23572 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23574 * NEWS: Add cosf and sincosf to list of optimized functions.
23576 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23579 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
23580 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
23581 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
23582 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
23584 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
23587 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
23589 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
23590 making a copy of it.
23592 2018-01-01 Joseph Myers <joseph@codesourcery.com>
23594 * manual/texinfo.tex: Update to version 2017-12-26.21 with
23595 trailing whitespace removed.
23596 * scripts/config.guess: Update to version 2018-01-01.
23597 * scripts/config.sub: Update to version 2018-01-01.
23598 * scripts/move-if-change: Update from gnulib.
23600 * NEWS: Update copyright dates.
23601 * catgets/gencat.c (print_version): Likewise.
23602 * csu/version.c (banner): Likewise.
23603 * debug/catchsegv.sh: Likewise.
23604 * debug/pcprofiledump.c (print_version): Likewise.
23605 * debug/xtrace.sh (do_version): Likewise.
23606 * elf/ldconfig.c (print_version): Likewise.
23607 * elf/ldd.bash.in: Likewise.
23608 * elf/pldd.c (print_version): Likewise.
23609 * elf/sotruss.sh: Likewise.
23610 * elf/sprof.c (print_version): Likewise.
23611 * iconv/iconv_prog.c (print_version): Likewise.
23612 * iconv/iconvconfig.c (print_version): Likewise.
23613 * locale/programs/locale.c (print_version): Likewise.
23614 * locale/programs/localedef.c (print_version): Likewise.
23615 * login/programs/pt_chown.c (print_version): Likewise.
23616 * malloc/memusage.sh (do_version): Likewise.
23617 * malloc/memusagestat.c (print_version): Likewise.
23618 * malloc/mtrace.pl: Likewise.
23619 * manual/libc.texinfo: Likewise.
23620 * nptl/version.c (banner): Likewise.
23621 * nscd/nscd.c (print_version): Likewise.
23622 * nss/getent.c (print_version): Likewise.
23623 * nss/makedb.c (print_version): Likewise.
23624 * posix/getconf.c (main): Likewise.
23625 * scripts/test-installation.pl: Likewise.
23626 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23628 * All files with FSF copyright notices: Update copyright dates
23629 using scripts/update-copyrights.
23630 * locale/programs/charmap-kw.h: Regenerated.
23631 * locale/programs/locfile-kw.h: Likewise.
23633 2017-12-31 Zack Weinberg <zackw@panix.com>
23635 * libio/bits/libio-ldbl.h: Correct check for improper
23636 inclusion. Add own multiple include guard.
23638 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
23639 Dmitry V. Levin <ldv@altlinux.org>
23643 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
23644 string token expansion. Check for NULL pointer or empty string possibly
23645 returned by expand_dynamic_string_token.
23646 (decompose_rpath): Check for empty path after dynamic string
23649 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
23652 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
23654 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
23655 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
23656 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
23657 and PTRACE_SYSCALL.
23658 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
23659 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23660 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23661 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23662 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23663 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23665 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
23666 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23667 __ptrace_peeksiginfo_flags, ptrace): Move to ...
23668 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
23669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23670 bits/ptrace-shared.h.
23671 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
23672 <bits/ptrace-shared.h>.
23673 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23674 __ptrace_peeksiginfo_flags, ptrace): Remove.
23675 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23676 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23677 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23678 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23679 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23681 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23684 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
23685 end of the loop. Improve comments.
23687 2017-12-29 Zack Weinberg <zackw@panix.com>
23690 * manual/errno.texi (Checking for Errors): Explicitly say that errno
23691 might be set on success.
23693 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23696 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
23697 is unchanged on success.
23699 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
23701 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
23703 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
23704 expand_dynamic_string_token): Likewise.
23705 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
23708 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
23711 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
23712 is set and name contains ':', and all code depending on these checks.
23714 2017-12-24 Zack Weinberg <zackw@panix.com>
23716 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
23717 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
23719 * libio/libio.h: Rename the original version of this file to
23720 libio/bits/libio.h. Error out if not included by stdio.h or the
23722 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
23723 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
23724 if not included by bits/libio.h or the stub _G_config.h.
23725 * sysdeps/unix/sysv/linux/_G_config.h: Move to
23726 sysdeps/unix/sysv/linux/bits. Error out if not included by
23727 bits/libio.h or the stub _G_config.h.
23728 * libio/stdio.h: Include bits/libio.h, not libio.h.
23729 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
23730 well as libio.h and _G_config.h.
23732 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
23733 * libio/strfile.h, stdio-common/vfscanf.c
23734 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
23735 Include stdio.h, not _G_config.h nor libio.h.
23736 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
23737 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
23739 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
23741 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
23744 * stdlib/getrandom.c (getrandom): Fix comment.
23745 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
23747 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
23750 * manual/arith.texi (strtoul): Fix a typo.
23753 * manual/arith.texi (finite): Fix the description of the return
23756 2017-12-22 Eric Blake <ebb9@byu.net>
23758 Avoid gcc warnings on cygwin
23759 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
23760 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
23761 Avoid unused variable.
23763 2017-12-22 Florian Weimer <fweimer@redhat.com>
23765 * io/Makefile (routines): Add copy_file_range.
23766 (tests): Add tst-copy_file_range.
23767 (tests-static, tests-internal): Add tst-copy_file_range-compat.
23768 * io/Versions (GLIBC_2.27): Export copy_file_range.
23769 * io/copy_file_range-compat.c: New file.
23770 * io/copy_file_range.c: Likewise.
23771 * io/tst-copy_file_range-compat.c: Likewise.
23772 * io/tst-copy_file_range.c: Likewise.
23773 * manual/llio.texi (Copying File Data): New section.
23774 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
23775 * support/Makefile (libsupport-routines): Add support-xfstat,
23776 xftruncate, xlseek.
23777 * support/support-xfstat.c: New file.
23778 * support/xftruncate.c: Likewise.
23779 * support/xlseek.c: Likewise.
23780 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
23781 * sysdeps/unix/sysv/linux/**.abilist: Update.
23782 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
23784 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
23786 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23787 disable-multi-arch variant to aarch64-linux-gnu.
23789 2017-12-20 Joseph Myers <joseph@codesourcery.com>
23791 * manual/texinfo.tex: Update to version 2017-12-18.20 with
23792 trailing whitespace removed.
23793 * scripts/config.guess: Update to version 2017-12-17.
23794 * scripts/config.sub: Update to version 2017-11-23.
23795 * scripts/install-sh: Update to version 2017-09-23.17.
23796 * scripts/move-if-change: Update to version 2017-09-13 06:45.
23798 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23800 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
23801 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23802 * sysdeps/tile/_mcount.S (__mcount): Likewise.
23803 * sysdeps/tile/crti.S (_init, _fini): Likewise.
23804 * sysdeps/tile/crtn.S: Likewise.
23805 * sysdeps/tile/dl-start.S (_start): Likewise.
23806 * sysdeps/tile/dl-trampoline.S: Likewise.
23807 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
23808 * sysdeps/tile/start.S (_start): Likewise.
23809 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
23810 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
23811 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
23812 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
23813 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
23814 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
23815 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
23817 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
23819 * sysdeps/tile/preconfigure: Remove tilegx folder.
23820 * sysdeps/tile/tilegx/Implies: Move definitions to ...
23821 * sysdeps/tile/Implies: ... here.
23822 * sysdeps/tile/tilegx/Makefile: Move rules to ...
23823 * sysdeps/tile/Makefile: ... here.
23824 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
23825 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
23826 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
23827 * sysdeps/tile/bits/wordsize.h: ... here.
23828 * sysdeps/tile/tilegx/*: Move to ...
23829 * sysdeps/tile/*: ... here.
23830 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
23831 * sysdeps/tile/tilegx32/Implies: ... here.
23832 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
23833 * sysdeps/tile/tilegx64/Implies: ... here.
23834 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
23836 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23837 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
23838 * sysdeps/unix/sysv/linux/tile/*: ... here.
23839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
23840 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
23841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
23842 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
23844 * README: Remove tilepro-*-linux-gnu from supported architecture.
23845 * scripts/build-many-glibcs.py: Likewise.
23846 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23847 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
23848 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
23849 elf_machine_matches_host, elf_machine_dynamic,
23850 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
23851 howto, elf_machine_rela): Likewise.
23852 * sysdeps/tile/dl-start.S (_start): Likewise.
23853 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
23854 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
23855 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
23856 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
23857 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
23858 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23860 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
23861 * sysdeps/tile/preconfigure: Likewise.
23862 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
23863 POINTER_CHK_GUARD): Likewise.
23864 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
23865 * sysdeps/tile/start.S (_start): Likewise.
23866 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
23868 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
23869 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
23871 * sysdeps/unix/sysv/linux/tile/bits/environments.h
23872 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
23873 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
23875 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
23876 * sysdeps/tile/tilepro/Implies: Remove file.
23877 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
23878 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
23879 * sysdeps/tile/tilepro/memchr.c: Likewise.
23880 * sysdeps/tile/tilepro/memcpy.S: Likewise.
23881 * sysdeps/tile/tilepro/memset.c: Likewise.
23882 * sysdeps/tile/tilepro/memusage.h: Likewise.
23883 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
23884 * sysdeps/tile/tilepro/strchr.c: Likewise.
23885 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
23886 * sysdeps/tile/tilepro/strlen.c: Likewise.
23887 * sysdeps/tile/tilepro/strrchr.c: Likewise.
23888 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
23889 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
23890 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23891 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
23892 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
23893 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23895 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
23896 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23897 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
23898 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
23899 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23900 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
23901 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
23902 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
23903 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
23904 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
23905 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
23906 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
23907 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
23908 tilepro mention in comment.
23910 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
23911 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
23912 * nptl/pthread_join_common.c: New file: common function used on
23913 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
23914 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
23915 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
23916 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23917 (cleanup): Move definition to pthread_join_common.c.
23918 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
23919 Remove superflous checks.
23920 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
23923 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23925 * sysdeps/aarch64/libm-test-ulps: Update.
23927 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23929 * sysdeps/aarch64/memset.S (MEMSET): Define.
23931 2017-12-20 Florian Weimer <fweimer@redhat.com>
23934 nptl: Provide full implementation of pthread_self in libc.so.
23935 * nptl/Makefile (routines): Add pthread_self.
23936 (libpthread-routines): Replace pthread_self with
23937 compat-pthread_self.
23938 * nptl/forward.c (pthread_self): Remove.
23939 * nptl/nptl-init.c (pthread_functions): Do not initialize
23941 * nptl/pthread_self.c (pthread_self): Remove weak alias.
23942 * nptl/compat-pthread_self.c: New file.
23943 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
23944 Remove ptr_pthread_self.
23946 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
23948 * posix/regcomp.c: Fix spelling in comments.
23949 * posix/regex.h: Likewise.
23950 * posix/regex_internal.c: Likewise.
23951 * posix/regexec.c: Likewise.
23953 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23956 * math/Makefile [C++] (tests): Add test for iseqsig.
23957 * math/math.h [C++] (iseqsig): New implementation, which does
23958 not rely on __MATH_TG/__builtin_types_compatible_p.
23959 * math/test-math-iseqsig.cc: New file.
23960 * sysdeps/powerpc/powerpc64le/Makefile
23961 (CFLAGS-test-math-iseqsig.cc): New variable.
23963 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
23965 * elf/dl-load.c (is_trusted_path): Remove.
23966 (fillin_rpath): Remove check_trusted argument and its use,
23967 all callers changed.
23969 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23972 * Makeconfig (link-pie-before-libc): Replace -pie with
23973 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
23974 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
23975 (tst-dlopen-aout-no-pie): New.
23976 (LDFLAGS-tst-prelink): Removed.
23977 (tst-prelink-no-pie): New.
23978 (LDFLAGS-tst-main1): Removed.
23979 (tst-main1-no-pie): New.
23980 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
23981 (tst-gmon-no-pie): New.
23983 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23985 * manual/install.texi: Document that --enable-static-pie
23987 * INSTALL: Regenerated.
23989 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
23992 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
23995 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23999 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24001 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24003 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24005 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
24006 <errno.h>. Include "eexp.tbl".
24007 (half): New constant.
24009 (__ieee754_exp): Rewrite.
24010 (__slowexp): Remove prototype.
24011 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24012 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
24013 * sysdeps/i386/fpu/slowexp.c: Likewise.
24014 * sysdeps/ia64/fpu/slowexp.c: Likewise.
24015 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
24016 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24017 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24018 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24019 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24020 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24022 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24023 (CPPFLAGS-slowexp.c): Remove variable.
24024 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24025 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24026 (CFLAGS-slowexp-fma.c): Remove variable.
24027 (CFLAGS-slowexp-fma4.c): Likewise.
24028 (CFLAGS-slowexp-avx.c): Likewise.
24029 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24031 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24032 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24033 * math/Makefile (type-double-routines): Remove slowexp.
24034 * manual/probes.texi (slowexp_p6): Remove.
24035 (slowexp_p32): Likewise.
24037 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24039 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
24042 * lib/glob.c (glob): Do not pass NULL to mempcpy.
24044 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24046 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24048 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24050 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
24051 <errno.h>. Include "eexp.tbl".
24052 (half): New constant.
24054 (__ieee754_exp): Rewrite.
24055 (__slowexp): Remove prototype.
24056 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24057 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
24058 * sysdeps/i386/fpu/slowexp.c: Likewise.
24059 * sysdeps/ia64/fpu/slowexp.c: Likewise.
24060 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
24061 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24062 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24063 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24064 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24065 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24067 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24068 (CPPFLAGS-slowexp.c): Remove variable.
24069 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24070 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24071 (CFLAGS-slowexp-fma.c): Remove variable.
24072 (CFLAGS-slowexp-fma4.c): Likewise.
24073 (CFLAGS-slowexp-avx.c): Likewise.
24074 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24076 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24077 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24078 * math/Makefile (type-double-routines): Remove slowexp.
24079 * manual/probes.texi (slowexp_p6): Remove.
24080 (slowexp_p32): Likewise.
24082 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24083 James Clarke <jrtc27@jrtc27.com>
24086 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
24089 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24092 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
24095 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24098 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24099 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
24100 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24101 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
24104 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24107 * bits/types/__cancel_jmp_buf_tag.h: New file.
24108 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
24109 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
24110 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
24111 * nptl/Makefile (headers): Add
24112 bits/types/__cancel_jmp_buf_tag.h.
24113 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
24114 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
24115 * sysdeps/nptl/pthread.h: Include
24116 <bits/types/__cancel_jmp_buf_tag.h>.
24117 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
24119 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
24121 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24123 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24124 --enable-static-pie variants to x86_64, x32 and i686.
24126 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24129 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
24130 argument for attrubutes. All callers changed.
24131 (__inline_mathop1): Likewise. All callers changed.
24132 (__inline_mathop): Likewise. All callers changed.
24133 [__USE_MISC] (scalbn): Use __inline_forward instead of
24134 __inline_forward_c.
24135 [__USE_ISOC99] (scalbln): Likewise.
24136 [__USE_ISOC99] (nearbyint): Likewise.
24137 [__USE_ISOC99] (lrint): Likewise.
24138 [__USE_MISC] (scalbnf): Likewise.
24139 [__USE_ISOC99] (scalblnf): Likewise.
24140 [__USE_ISOC99] (nearbyintf): Likewise.
24141 [__USE_ISOC99] (lrintf): Likewise.
24142 [__USE_MISC] (scalbnl): Likewise.
24143 [__USE_ISOC99] (scalblnl): Likewise.
24144 [__USE_ISOC99] (nearbyintl): Likewise.
24145 [__USE_ISOC99] (lrintl): Likewise.
24146 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
24147 __inline_mathop and __m81_defun changed.
24149 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
24150 CPU or FPU for ARM hard-float configurations.
24152 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24154 * nptl/tst-attr3.c: Include <libc-diag.h>.
24155 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
24157 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
24159 * string/tester.c (test_strncat): Also disable -Warray-bounds
24160 warnings for two tests.
24162 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24165 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
24166 $(cc-pie-default) == yes.
24167 * config.make.in (cc-pie-default): New.
24168 * configure.ac (libc_cv_pie_default): Renamed to ...
24169 (libc_cv_cc_pie_default): This.
24170 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
24171 * configure: Regenerated.
24173 2017-12-18 Florian Weimer <fweimer@redhat.com>
24176 ld.so: Harden dl-libc/libdl hooks.
24177 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
24178 (rtld_active): New function.
24179 * dlfcn/dladdr.c (__dladdr): Call it.
24180 * dlfcn/dladdr1.c (__dladdr1): Likewise.
24181 * dlfcn/dlclose.c (__dlcose): Likewise.
24182 * dlfcn/dlerror.c (__dlerror): Likewise.
24183 * dlfcn/dlinfo.c (__dlinfo): Likewise.
24184 * dlfcn/dlmopen.c (__dlmopen): Likewise.
24185 * dlfcn/dlopen.c (__dlopen): Likewise.
24186 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24187 * dlfcn/dlsym.c (__dlsym): Likewise.
24188 * dlfcn/dlvsym.c (__dlvsym): Likewise.
24189 * libio/vtables.c (_IO_vtable_check): Likewise.
24190 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
24191 (__libc_dlclose): Likewise.
24192 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
24195 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24198 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
24199 buffers for readlink input and output.
24201 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
24204 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
24205 inhibit_stack_protector.
24208 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
24209 inhibit_stack_protector.
24211 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
24214 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
24215 code and invocation.
24217 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
24219 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
24221 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
24224 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
24226 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24228 * sysdeps/s390/fpu/libm-test-ulps: Update.
24230 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24234 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24236 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
24237 constants to s_sincosf.h file.
24238 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24239 * sysdeps/ieee754/flt-32/s_sincosf.c: New
24241 * sysdeps/ieee754/flt-32/s_sincosf.h:
24244 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24247 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
24250 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
24253 * INSTALL: Regenerated.
24254 * Makeconfig (real-static-start-installed-name): New.
24255 (pic-default): Updated for --enable-static-pie.
24256 (pie-default): New for --enable-static-pie.
24257 (default-pie-ldflag): Likewise.
24258 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
24259 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
24260 Replace $(static-start-installed-name) with
24261 $(real-static-start-installed-name).
24262 (+prectorT): Updated for --enable-static-pie.
24263 (+postctorT): Likewise.
24264 (CFLAGS-.o): Add $(pie-default).
24265 (CFLAGS-.op): Likewise.
24266 * NEWS: Mention --enable-static-pie.
24267 * config.h.in (ENABLE_STATIC_PIE): New.
24268 * configure.ac (--enable-static-pie): New configure option.
24269 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
24270 (have-static-pie): Likewise.
24271 Enable static PIE if linker supports --no-dynamic-linker.
24272 (ENABLE_STATIC_PIE): New AC_DEFINE.
24273 (enable-static-pie): New LIBC_CONFIG_VAR.
24274 * configure: Regenerated.
24275 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
24276 gr$(start-installed-name) for --enable-static-pie.
24277 (extra-objs): Likewise.
24278 (install-lib): Likewise.
24279 (extra-objs): Add static-reloc.o and static-reloc.os
24280 ($(objpfx)$(start-installed-name)): Also depend on
24281 $(objpfx)static-reloc.o.
24282 ($(objpfx)r$(start-installed-name)): New.
24283 ($(objpfx)g$(start-installed-name)): Also depend on
24284 $(objpfx)static-reloc.os.
24285 ($(objpfx)gr$(start-installed-name)): New.
24286 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
24288 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
24290 * csu/static-reloc.c: New file.
24291 * elf/Makefile (routines): Add dl-reloc-static-pie.
24292 (elide-routines.os): Likewise.
24293 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
24294 (tst-tls1-static-non-pie-no-pie): New.
24295 * elf/dl-reloc-static-pie.c: New file.
24296 * elf/dl-support.c (_dl_get_dl_main_map): New function.
24297 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
24298 STATIC_PIE_BOOTSTRAP.
24299 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
24300 * gmon/Makefile (tests): Add tst-gmon-static-pie.
24301 (tests-static): Likewise.
24302 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
24303 (tst-gmon-static-no-pie): New.
24304 (CFLAGS-tst-gmon-static-pie.c): Likewise.
24305 (CRT-tst-gmon-static-pie): Likewise.
24306 (tst-gmon-static-pie-ENV): Likewise.
24307 (tests-special): Likewise.
24308 ($(objpfx)tst-gmon-static-pie.out): Likewise.
24309 (clean-tst-gmon-static-pie-data): Likewise.
24310 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
24311 * gmon/tst-gmon-static-pie.c: New file.
24312 * manual/install.texi: Document --enable-static-pie.
24313 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
24314 (_dl_get_dl_main_map): Likewise.
24315 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
24316 * sysdeps/x86_64/configure.ac: Likewise.
24317 * sysdeps/i386/configure: Regenerated.
24318 * sysdeps/x86_64/configure: Likewise.
24319 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
24320 (ASFLAGS-.op): Likewise.
24322 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24324 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
24325 * posix/tst-mmap-offset.c (fname): Use /tmp.
24326 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
24328 2017-12-15 Steve Ellcey <sellcey@cavium.com>
24330 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
24332 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
24334 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
24337 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24339 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
24340 --with-float=hard for arm-linux-gnueabihf configurations.
24343 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
24344 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
24345 ($(mo-installed)): Use $(objpfx)%.mo.
24346 (realclean): Remove rule.
24348 * po/Makefile (linguas): Remove rule and dependencies.
24349 (linguas.mo): Likewise.
24350 (.PHONY): Do not depend on linguas and linguas.mo.
24351 (podir): Remove variable.
24352 (pofiles): Likewise.
24353 [$(pofiles)] (%.po): Remove rule.
24355 * sysdeps/sparc/sparc32/Makefile
24356 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
24357 start-of-line whitespace in argument of echo.
24358 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
24359 with whitespace. Generate __wrap_.udiv alias.
24360 * sysdeps/sparc/sparc32/rem.S: Regenerated.
24361 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24362 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24363 * sysdeps/sparc/sparc32/urem.S: Likewise.
24365 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24367 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
24368 for aligned inputs.
24370 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24372 * benchtests/bench-strcmp.c: Print output in JSON format.
24374 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
24376 2017-12-14 Florian Weimer <fweimer@redhat.com>
24380 * elf/dl-load.c (_dl_init_paths): Compute number of components in
24381 the expanded path string.
24383 2017-12-14 Florian Weimer <fweimer@redhat.com>
24387 * elf/dl-load.c (system_dirs): Update comment.
24388 (nsystem_dirs_len): Use array_length.
24389 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
24391 2017-12-14 Florian Weimer <fweimer@redhat.com>
24393 Simplify compiling most of support/ outside of glibc.
24394 * support/check_addrinfo.c: Include <string.h>.
24395 * support/check_dns_packet.c: Likewise.
24396 * support/check_hostent.c: Likewise.
24397 * support/support_can_chroot.c: Include <support/xunistd.h>.
24398 * support/support_format_addrinfo.c: Include <stdlib.h>
24399 * support/support_format_dns_packet.c: Include <stdbool.h>.
24400 * support/support_format_hostent.c: Include <stdlib.h>.
24401 * support/support_format_netent.c: Likewise.
24402 * support/support_write_string.c: Include <support/xunistd.h>.
24403 * support/xdlfcn.c: Include <stddef.h>.
24405 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
24407 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
24409 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24410 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24412 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24413 (sysdeps_routines): Add memset-niagara7.
24414 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
24416 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
24418 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
24419 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24420 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
24421 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
24422 Add niagara7 option.
24423 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
24426 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24427 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
24428 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
24430 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
24432 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
24433 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
24434 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24435 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
24436 and __memmove_niagara7.
24437 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
24438 Add niagara7 option.
24439 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
24440 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
24441 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
24442 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
24443 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
24445 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
24447 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
24448 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
24449 * sysdeps/sparc/sparc64/memmove.S: Likewise.
24450 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
24452 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
24453 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
24454 _dl_sparc_cap_flags array.
24455 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
24457 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
24459 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
24460 time whenever possible.
24462 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24464 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
24465 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
24467 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24469 * soft-fp/fmadf4.c: Move to ....
24470 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
24471 * soft-fp/fmasf4.c: Move to ....
24472 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
24473 * soft-fp/fmatf4.c: Move to ....
24474 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
24475 * sysdeps/ieee754/soft-fp/Makefile: New file.
24476 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
24477 * sysdeps/arm/preconfigure: Regenerated.
24478 * sysdeps/arm/nofpu/Implies: New file.
24479 * sysdeps/arm/s_fma.c: Remove file.
24480 * sysdeps/arm/s_fmaf.c: Likewise.
24481 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
24482 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
24483 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24484 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
24485 * sysdeps/microblaze/s_fma.c: Remove file.
24486 * sysdeps/microblaze/s_fmaf.c: Likewise.
24487 * sysdeps/mips/mips32/nofpu/Implies: New file.
24488 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
24489 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
24490 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
24491 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
24492 * sysdeps/mips/ieee754/s_fma.c: Remove file.
24493 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
24494 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
24496 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
24497 * sysdeps/nios2/s_fma.c: Remove file.
24498 * sysdeps/nios2/s_fmaf.c: Likewise.
24499 * sysdeps/sh/nofpu/Implies: New file.
24500 * sysdeps/sh/s_fma.c: Remove file.
24501 * sysdeps/sh/s_fmaf.c: Likewise.
24502 * sysdeps/tile/Implies: Add ieee754/soft-fp.
24503 * sysdeps/tile/s_fma.c: Remove file.
24504 * sysdeps/tile/s_fmaf.c: Likewise.
24506 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
24508 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24509 Add s_cosf-sse2 and s_cosf-fma.
24510 (CFLAGS-s_cosf-fma.c): New.
24511 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
24512 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
24513 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
24515 2017-12-12 Steve Ellcey <sellcey@cavium.com>
24517 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
24519 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24521 * libio/Makefile (tests): Add tst-bz22415.
24522 (tst-bz22415-ENV): New rule.
24523 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
24524 (tests-special): Add tst-bz22415-mem.out.
24525 ($(objpfx)tst-bz22415-mem.out): New rule.
24526 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
24527 in case of a successful seek operation.
24528 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24529 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
24530 buffer is required.
24531 * libio/tst-bz22415.c: New test.
24533 * sysdeps/ia64/fpu/libm-test-ulps: Update.
24535 2017-12-12 James Clarke <jrtc27@jrtc27.com>
24537 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
24538 __IPC_64 to 0 to avoid IPC_64 being set.
24540 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24543 * math/bits/mathcalls.h (nextafter): Remove const.
24544 (nexttoward): Likewise.
24546 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24548 * configure.ac (--with-fp): Remove configure option.
24549 (with_fp_cond): New variable.
24550 (libc_cv_with_fp): New configure test. Use this variable instead
24552 * configure: Regenerated.
24553 * config.make.in (with-fp): Use @libc_cv_with_fp@.
24554 * manual/install.texi (Configuring and compiling): Remove
24556 * INSTALL: Regenerated.
24557 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
24558 * sysdeps/mips/preconfigure (with_fp_cond): Define.
24559 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
24560 * sysdeps/sh/preconfigure (with_fp_cond): Define.
24561 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
24562 use --without-fp to configure glibc.
24564 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
24566 * manual/locale.texi (nl_langinfo): Fix a typo.
24568 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
24571 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
24573 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24575 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
24576 (CFLAGS-argp-parse.c): Likewise.
24577 (CFLAGS-argp-fmtstream.c): Likewise.
24578 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
24579 (CPPFLAGS-sha512-crypt.c): Likewise.
24580 (CPPFLAGS-md5-crypt.c): Likewise.
24581 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
24582 (CFLAGS-stack_chk_fail_local.c): Likewise.
24583 (CFLAGS-backtrace.c): Likewise.
24584 (CFLAGS-sprintf_chk.c): Likewise.
24585 (CFLAGS-snprintf_chk.c): Likewise.
24586 (CFLAGS-vsprintf_chk.c): Likewise.
24587 (CFLAGS-vsnprintf_chk.c): Likewise.
24588 (CFLAGS-asprintf_chk.c): Likewise.
24589 (CFLAGS-vasprintf_chk.c): Likewise.
24590 (CFLAGS-obprintf_chk.c): Likewise.
24591 (CFLAGS-dprintf_chk.c): Likewise.
24592 (CFLAGS-vdprintf_chk.c): Likewise.
24593 (CFLAGS-printf_chk.c): Likewise.
24594 (CFLAGS-fprintf_chk.c): Likewise.
24595 (CFLAGS-vprintf_chk.c): Likewise.
24596 (CFLAGS-vfprintf_chk.c): Likewise.
24597 (CFLAGS-gets_chk.c): Likewise.
24598 (CFLAGS-fgets_chk.c): Likewise.
24599 (CFLAGS-fgets_u_chk.c): Likewise.
24600 (CFLAGS-fread_chk.c): Likewise.
24601 (CFLAGS-fread_u_chk.c): Likewise.
24602 (CFLAGS-swprintf_chk.c): Likewise.
24603 (CFLAGS-vswprintf_chk.c): Likewise.
24604 (CFLAGS-wprintf_chk.c): Likewise.
24605 (CFLAGS-fwprintf_chk.c): Likewise.
24606 (CFLAGS-vwprintf_chk.c): Likewise.
24607 (CFLAGS-vfwprintf_chk.c): Likewise.
24608 (CFLAGS-fgetws_chk.c): Likewise.
24609 (CFLAGS-fgetws_u_chk.c): Likewise.
24610 (CFLAGS-read_chk.c): Likewise.
24611 (CFLAGS-pread_chk.c): Likewise.
24612 (CFLAGS-pread64_chk.c): Likewise.
24613 (CFLAGS-recv_chk.c): Likewise.
24614 (CFLAGS-recvfrom_chk.c): Likewise.
24615 (CFLAGS-tst-longjmp_chk.c): Likewise.
24616 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
24617 (CFLAGS-tst-longjmp_chk2.c): Likewise.
24618 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
24619 (CFLAGS-tst-longjmp_chk3.c): Likewise.
24620 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24621 (CFLAGS-tst-chk1.c): Likewise.
24622 (CFLAGS-tst-chk2.c): Likewise.
24623 (CFLAGS-tst-chk3.c): Likewise.
24624 (CFLAGS-tst-chk4.cc): Likewise.
24625 (CFLAGS-tst-chk5.cc): Likewise.
24626 (CFLAGS-tst-chk6.cc): Likewise.
24627 (CFLAGS-tst-lfschk1.c): Likewise.
24628 (CFLAGS-tst-lfschk2.c): Likewise.
24629 (CFLAGS-tst-lfschk3.c): Likewise.
24630 (CFLAGS-tst-lfschk4.cc): Likewise.
24631 (CFLAGS-tst-lfschk5.cc): Likewise.
24632 (CFLAGS-tst-lfschk6.cc): Likewise.
24633 (CFLAGS-tst-ssp-1.c): Likewise.
24634 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
24635 (CFLAGS-scandir64.c): Likewise.
24636 (CFLAGS-scandir-tail.c): Likewise.
24637 (CFLAGS-scandir64-tail.c): Likewise.
24638 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
24639 (CFLAGS-dl-tunables.c): Likewise.
24640 (CFLAGS-dl-runtime.c): Likewise.
24641 (CFLAGS-dl-lookup.c): Likewise.
24642 (CFLAGS-dl-iterate-phdr.c): Likewise.
24643 (CFLAGS-vismain.c): Likewise.
24644 (CFLAGS-tst-linkall-static.c): Likewise.
24645 (CFLAGS-tst-linkall-static.c): Likewise.
24646 (CPPFLAGS-dl-load.c): Likewise.
24647 (CFLAGS-ldconfig.c): Likewise.
24648 (CFLAGS-dl-cache.c): Likewise.
24649 (CFLAGS-cache.c): Likewise.
24650 (CFLAGS-rtld.c): Likewise.
24651 (CFLAGS-multiload.c): Likewise.
24652 (CFLAGS-filtmod1.c): Likewise.
24653 (CFLAGS-tst-align.c): Likewise.
24654 (CFLAGS-tst-align2.c): Likewise.
24655 (CFLAGS-tst-alignmod.c): Likewise.
24656 (CFLAGS-tst-alignmod2.c): Likewise.
24657 (CPPFLAGS-tst-execstack.c): Likewise.
24658 (CFLAGS-tst-ptrguard1-static.c): Likewise.
24659 (CFLAGS-tst-latepthreadmod.c): Likewise.
24660 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
24661 (CFLAGS-getgrnam_r.c): Likewise.
24662 (CFLAGS-getgrent_r.c): Likewise.
24663 (CFLAGS-getgrent.c): Likewise.
24664 (CFLAGS-fgetgrent.c): Likewise.
24665 (CFLAGS-fgetgrent_r.c): Likewise.
24666 (CFLAGS-putgrent.c): Likewise.
24667 (CFLAGS-initgroups.c): Likewise.
24668 (CFLAGS-getgrgid.c): Likewise.
24669 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
24670 (CFLAGS-getsgent.c): Likewise.
24671 (CFLAGS-fgetsgent.c): Likewise.
24672 (CFLAGS-fgetsgent_r.c): Likewise.
24673 (CFLAGS-putsgent.c): Likewise.
24674 (CFLAGS-getsgnam.c): Likewise.
24675 (CFLAGS-getsgnam_r.c): Likewise.
24676 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
24677 (CFLAGS-iconv_charmap.c): Likewise.
24678 (CFLAGS-dummy-repertoire.c): Likewise.
24679 (CFLAGS-charmap.c): Likewise.
24680 (CFLAGS-linereader.c): Likewise.
24681 (CFLAGS-simple-hash.c): Likewise.
24682 (CFLAGS-gconv_conf.c): Likewise.
24683 (CFLAGS-iconvconfig.c): Likewise.
24684 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24685 (CFLAGS-gethstbyad.c): Likewise.
24686 (CFLAGS-gethstbynm_r.c): Likewise.
24687 (CFLAGS-gethstbynm.c): Likewise.
24688 (CFLAGS-gethstbynm2_r.c): Likewise.
24689 (CFLAGS-gethstbynm2.c): Likewise.
24690 (CFLAGS-gethstent_r.c): Likewise.
24691 (CFLAGS-gethstent.c): Likewise.
24692 (CFLAGS-rcmd.c): Likewise.
24693 (CFLAGS-getnetbynm_r.c): Likewise.
24694 (CFLAGS-getnetbynm.c): Likewise.
24695 (CFLAGS-getnetbyad_r.c): Likewise.
24696 (CFLAGS-getnetbyad.c): Likewise.
24697 (CFLAGS-getnetent_r.c): Likewise.
24698 (CFLAGS-getnetent.c): Likewise.
24699 (CFLAGS-getaliasent_r.c): Likewise.
24700 (CFLAGS-getaliasent.c): Likewise.
24701 (CFLAGS-getrpcent_r.c): Likewise.
24702 (CFLAGS-getrpcent.c): Likewise.
24703 (CFLAGS-getservent_r.c): Likewise.
24704 (CFLAGS-getservent.c): Likewise.
24705 (CFLAGS-getprtent_r.c): Likewise.
24706 (CFLAGS-getprtent.c): Likewise.
24707 (CFLAGS-either_ntoh.c): Likewise.
24708 (CFLAGS-either_hton.c): Likewise.
24709 (CFLAGS-getnetgrent.c): Likewise.
24710 (CFLAGS-getnetgrent_r.c): Likewise.
24711 (CFLAGS-tst-checks-posix.c): Likewise.
24712 (CFLAGS-tst-sockaddr.c): Likewise.
24713 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
24714 (CFLAGS-tst-translit.c): Likewise.
24715 (CFLAGS-tst-gettext2.c): Likewise.
24716 (CFLAGS-tst-codeset.c): Likewise.
24717 (CFLAGS-tst-gettext3.c): Likewise.
24718 (CFLAGS-tst-gettext4.c): Likewise.
24719 (CFLAGS-tst-gettext5.c): Likewise.
24720 (CFLAGS-tst-gettext6.c): Likewise.
24721 * io/Makefile (CFLAGS-open.c): Likewise.
24722 (CFLAGS-open64.c): Likewise.
24723 (CFLAGS-creat.c): Likewise.
24724 (CFLAGS-creat64.c): Likewise.
24725 (CFLAGS-fcntl.c): Likewise.
24726 (CFLAGS-poll.c): Likewise.
24727 (CFLAGS-ppoll.c): Likewise.
24728 (CFLAGS-lockf.c): Likewise.
24729 (CFLAGS-statfs.c): Likewise.
24730 (CFLAGS-fstatfs.c): Likewise.
24731 (CFLAGS-statvfs.c): Likewise.
24732 (CFLAGS-fstatvfs.c): Likewise.
24733 (CFLAGS-fts.c): Likewise.
24734 (CFLAGS-fts64.c): Likewise.
24735 (CFLAGS-ftw.c): Likewise.
24736 (CFLAGS-ftw64.c): Likewise.
24737 (CFLAGS-lockf.c): Likewise.
24738 (CFLAGS-posix_fallocate.c): Likewise.
24739 (CFLAGS-posix_fallocate64.c): Likewise.
24740 (CFLAGS-fallocate.c): Likewise.
24741 (CFLAGS-fallocate64.c): Likewise.
24742 (CFLAGS-read.c): Likewise.
24743 (CFLAGS-write.c): Likewise.
24744 (CFLAGS-test-stat.c): Likewise.
24745 (CFLAGS-test-lfs.c): Likewise.
24746 * libio/Makefile (CFLAGS-fileops.c): Likewise.
24747 (CFLAGS-fputc.c): Likewise.
24748 (CFLAGS-fputwc.c): Likewise.
24749 (CFLAGS-freopen64.c): Likewise.
24750 (CFLAGS-freopen.c): Likewise.
24751 (CFLAGS-fseek.c): Likewise.
24752 (CFLAGS-fseeko64.c): Likewise.
24753 (CFLAGS-fseeko.c): Likewise.
24754 (CFLAGS-ftello64.c): Likewise.
24755 (CFLAGS-ftello.c): Likewise.
24756 (CFLAGS-fwide.c): Likewise.
24757 (CFLAGS-genops.c): Likewise.
24758 (CFLAGS-getc.c): Likewise.
24759 (CFLAGS-getchar.c): Likewise.
24760 (CFLAGS-getwc.c): Likewise.
24761 (CFLAGS-getwchar.c): Likewise.
24762 (CFLAGS-iofclose.c): Likewise.
24763 (CFLAGS-iofflush.c): Likewise.
24764 (CFLAGS-iofgetpos64.c): Likewise.
24765 (CFLAGS-iofgetpos.c): Likewise.
24766 (CFLAGS-iofgets.c): Likewise.
24767 (CFLAGS-iofgetws.c): Likewise.
24768 (CFLAGS-iofputs.c): Likewise.
24769 (CFLAGS-iofputws.c): Likewise.
24770 (CFLAGS-iofread.c): Likewise.
24771 (CFLAGS-iofsetpos64.c): Likewise.
24772 (CFLAGS-iofsetpos.c): Likewise.
24773 (CFLAGS-ioftell.c): Likewise.
24774 (CFLAGS-iofwrite.c): Likewise.
24775 (CFLAGS-iogetdelim.c): Likewise.
24776 (CFLAGS-iogetline.c): Likewise.
24777 (CFLAGS-iogets.c): Likewise.
24778 (CFLAGS-iogetwline.c): Likewise.
24779 (CFLAGS-ioputs.c): Likewise.
24780 (CFLAGS-ioseekoff.c): Likewise.
24781 (CFLAGS-ioseekpos.c): Likewise.
24782 (CFLAGS-iosetbuffer.c): Likewise.
24783 (CFLAGS-iosetvbuf.c): Likewise.
24784 (CFLAGS-ioungetc.c): Likewise.
24785 (CFLAGS-ioungetwc.c): Likewise.
24786 (CFLAGS-oldfileops.c): Likewise.
24787 (CFLAGS-oldiofclose.c): Likewise.
24788 (CFLAGS-oldiofgetpos64.c): Likewise.
24789 (CFLAGS-oldiofgetpos.c): Likewise.
24790 (CFLAGS-oldiofsetpos64.c): Likewise.
24791 (CFLAGS-oldiofsetpos.c): Likewise.
24792 (CFLAGS-peekc.c): Likewise.
24793 (CFLAGS-putc.c): Likewise.
24794 (CFLAGS-putchar.c): Likewise.
24795 (CFLAGS-putwc.c): Likewise.
24796 (CFLAGS-putwchar.c): Likewise.
24797 (CFLAGS-rewind.c): Likewise.
24798 (CFLAGS-wfileops.c): Likewise.
24799 (CFLAGS-wgenops.c): Likewise.
24800 (CFLAGS-oldiofopen.c): Likewise.
24801 (CFLAGS-iofopen.c): Likewise.
24802 (CFLAGS-iofopen64.c): Likewise.
24803 (CFLAGS-oldtmpfile.c): Likewise.
24804 (CFLAGS-tst_putwc.c): Likewise.
24805 * locale/Makefile (CFLAGS-md5.c): Likewise.
24806 (CFLAGS-charmap.c): Likewise.
24807 (CFLAGS-locfile.c): Likewise.
24808 (CFLAGS-charmap-dir.c): Likewise.
24809 * login/Makefile (CFLAGS-grantpt.c): Likewise.
24810 (CFLAGS-getpt.c): Likewise.
24811 (CFLAGS-pt_chown.c): Likewise.
24812 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
24813 (CFLAGS-obstack.c): Likewise.
24814 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
24815 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
24816 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
24817 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
24818 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
24819 (CFLAGS-test-tgmath.c): Likewise.
24820 (CFLAGS-test-tgmath2.c): Likewise.
24821 (CFLAGS-test-tgmath-ret.c): Likewise.
24822 (CFLAGS-test-powl.c): Likewise.
24823 (CFLAGS-test-snan.c): Likewise.
24824 (CFLAGS-test-signgam-finite.c): Likewise.
24825 (CFLAGS-test-signgam-finite-c99.c): Likewise.
24826 (CFLAGS-test-signgam-finite-c11.c): Likewise.
24827 (CFLAGS-test-signgam-uchar.c): Likewise.
24828 (CFLAGS-test-signgam-uchar-init.c): Likewise.
24829 (CFLAGS-test-signgam-uchar-static.c): Likewise.
24830 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24831 (CFLAGS-test-signgam-uint.c): Likewise.
24832 (CFLAGS-test-signgam-uint-init.c): Likewise.
24833 (CFLAGS-test-signgam-uint-static.c): Likewise.
24834 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24835 (CFLAGS-test-signgam-ullong.c): Likewise.
24836 (CFLAGS-test-signgam-ullong-init.c): Likewise.
24837 (CFLAGS-test-signgam-ullong-static.c): Likewise.
24838 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24839 (CFLAGS-test-math-cxx11.cc): Likewise.
24840 (CFLAGS-test-math-isinff.cc): Likewise.
24841 (CFLAGS-test-math-iszero.cc): Likewise.
24842 (CFLAGS-test-math-issignaling.cc): Likewise.
24843 (CFLAGS-test-math-iscanonical.cc): Likewise.
24844 (CFLAGS-test-iszero-excess-precision.c): Likewise.
24845 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
24846 (CFLAGS-test-flt-eval-method.c): Likewise.
24847 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
24848 (CFLAGS-test-finite-macros.c): Likewise.
24849 * misc/Makefile (CFLAGS-select.c): Likewise.
24850 (CFLAGS-tsearch.c): Likewise.
24851 (CFLAGS-lsearch.c): Likewise.
24852 (CFLAGS-pselect.c): Likewise.
24853 (CFLAGS-readv.c): Likewise.
24854 (CFLAGS-writev.c): Likewise.
24855 (CFLAGS-preadv.c): Likewise.
24856 (CFLAGS-preadv64.c): Likewise.
24857 (CFLAGS-pwritev.c): Likewise.
24858 (CFLAGS-pwritev64.c): Likewise.
24859 (CFLAGS-preadv2.c): Likewise.
24860 (CFLAGS-preadv64v2.c): Likewise.
24861 (CFLAGS-pwritev2.c): Likewise.
24862 (CFLAGS-pwritev64v2.c): Likewise.
24863 (CFLAGS-usleep.c): Likewise.
24864 (CFLAGS-syslog.c): Likewise.
24865 (CFLAGS-error.c): Likewise.
24866 (CFLAGS-getpass.c): Likewise.
24867 (CFLAGS-mkstemp.c): Likewise.
24868 (CFLAGS-mkstemp64.c): Likewise.
24869 (CFLAGS-getsysstats.c): Likewise.
24870 (CFLAGS-getusershell.c): Likewise.
24871 (CFLAGS-err.c): Likewise.
24872 (CFLAGS-tst-tsearch.c): Likewise.
24873 (CFLAGS-msync.c): Likewise.
24874 (CFLAGS-fdatasync.c): Likewise.
24875 (CFLAGS-fsync.c): Likewise.
24876 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
24877 (CFLAGS-unwind.c): Likewise.
24878 (CFLAGS-unwind-forcedunwind.c): Likewise.
24879 (CFLAGS-pthread_cancel.c): Likewise.
24880 (CFLAGS-pthread_setcancelstate.c): Likewise.
24881 (CFLAGS-pthread_setcanceltype.c): Likewise.
24882 (CFLAGS-cancellation.c): Likewise.
24883 (CFLAGS-libc-cancellation.c): Likewise.
24884 (CFLAGS-pthread_exit.c): Likewise.
24885 (CFLAGS-forward.c): Likewise.
24886 (CFLAGS-pthread_testcancel.c): Likewise.
24887 (CFLAGS-pthread_join.c): Likewise.
24888 (CFLAGS-pthread_timedjoin.c): Likewise.
24889 (CFLAGS-pthread_once.c): Likewise.
24890 (CFLAGS-pthread_cond_wait.c): Likewise.
24891 (CFLAGS-sem_wait.c): Likewise.
24892 (CFLAGS-sem_timedwait.c): Likewise.
24893 (CFLAGS-fcntl.c): Likewise.
24894 (CFLAGS-lockf.c): Likewise.
24895 (CFLAGS-pread.c): Likewise.
24896 (CFLAGS-pread64.c): Likewise.
24897 (CFLAGS-pwrite.c): Likewise.
24898 (CFLAGS-pwrite64.c): Likewise.
24899 (CFLAGS-wait.c): Likewise.
24900 (CFLAGS-waitpid.c): Likewise.
24901 (CFLAGS-sigwait.c): Likewise.
24902 (CFLAGS-msgrcv.c): Likewise.
24903 (CFLAGS-msgsnd.c): Likewise.
24904 (CFLAGS-tcdrain.c): Likewise.
24905 (CFLAGS-open.c): Likewise.
24906 (CFLAGS-open64.c): Likewise.
24907 (CFLAGS-pause.c): Likewise.
24908 (CFLAGS-recv.c): Likewise.
24909 (CFLAGS-send.c): Likewise.
24910 (CFLAGS-accept.c): Likewise.
24911 (CFLAGS-sendto.c): Likewise.
24912 (CFLAGS-connect.c): Likewise.
24913 (CFLAGS-recvfrom.c): Likewise.
24914 (CFLAGS-recvmsg.c): Likewise.
24915 (CFLAGS-sendmsg.c): Likewise.
24916 (CFLAGS-close.c): Likewise.
24917 (CFLAGS-read.c): Likewise.
24918 (CFLAGS-write.c): Likewise.
24919 (CFLAGS-nanosleep.c): Likewise.
24920 (CFLAGS-sigsuspend.c): Likewise.
24921 (CFLAGS-msync.c): Likewise.
24922 (CFLAGS-fdatasync.c): Likewise.
24923 (CFLAGS-fsync.c): Likewise.
24924 (CFLAGS-pt-system.c): Likewise.
24925 (CFLAGS-tst-cleanup2.c): Likewise.
24926 (CFLAGS-tst-cleanupx2.c): Likewise.
24927 (CFLAGS-flockfile.c): Likewise.
24928 (CFLAGS-ftrylockfile.c): Likewise.
24929 (CFLAGS-funlockfile.c): Likewise.
24930 (CFLAGS-tst-initializers1.c): Likewise.
24931 (CFLAGS-tst-initializers1-c89.c): Likewise.
24932 (CFLAGS-tst-initializers1-c99.c): Likewise.
24933 (CFLAGS-tst-initializers1-c11.c): Likewise.
24934 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
24935 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
24936 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24937 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
24938 (CFLAGS-nscd_getgr_r.c): Likewise.
24939 (CFLAGS-nscd_gethst_r.c): Likewise.
24940 (CFLAGS-nscd_getai.c): Likewise.
24941 (CFLAGS-nscd_initgroups.c): Likewise.
24942 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
24943 (CFLAGS-pause.c): Likewise.
24944 (CFLAGS-pread.c): Likewise.
24945 (CFLAGS-pread64.c): Likewise.
24946 (CFLAGS-pwrite.c): Likewise.
24947 (CFLAGS-pwrite64.c): Likewise.
24948 (CFLAGS-sleep.c): Likewise.
24949 (CFLAGS-wait.c): Likewise.
24950 (CFLAGS-waitid.c): Likewise.
24951 (CFLAGS-waitpid.c): Likewise.
24952 (CFLAGS-getopt.c): Likewise.
24953 (CFLAGS-wordexp.c): Likewise.
24954 (CFLAGS-sysconf.c): Likewise.
24955 (CFLAGS-pathconf.c): Likewise.
24956 (CFLAGS-fpathconf.c): Likewise.
24957 (CFLAGS-spawn.c): Likewise.
24958 (CFLAGS-spawnp.c): Likewise.
24959 (CFLAGS-spawni.c): Likewise.
24960 (CFLAGS-glob.c): Likewise.
24961 (CFLAGS-glob64.c): Likewise.
24962 (CFLAGS-getconf.c): Likewise.
24963 (CFLAGS-nanosleep.c): Likewise.
24964 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
24965 (CFLAGS-getpwent.c): Likewise.
24966 (CFLAGS-getpw.c): Likewise.
24967 (CFLAGS-fgetpwent_r.c): Likewise.
24968 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
24969 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
24970 (CFLAGS-mq_timedreceive.c): Likewise.
24971 (CFLAGS-mq_timedsend.c): Likewise.
24972 (CFLAGS-clock_nanosleep.c): Likewise.
24973 (CFLAGS-librt-cancellation.c): Likewise.
24974 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
24975 (CFLAGS-getspent.c): Likewise.
24976 (CFLAGS-fgetspent.c): Likewise.
24977 (CFLAGS-fgetspent_r.c): Likewise.
24978 (CFLAGS-putspent.c): Likewise.
24979 (CFLAGS-getspnam.c): Likewise.
24980 (CFLAGS-getspnam_r.c): Likewise.
24981 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
24982 (CFLAGS-sigsuspend.c): Likewise.
24983 (CFLAGS-sigtimedwait.c): Likewise.
24984 (CFLAGS-sigwait.c): Likewise.
24985 (CFLAGS-sigwaitinfo.c): Likewise.
24986 (CFLAGS-sigreturn.c): Likewise.
24987 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24988 (CFLAGS-vfwprintf.c): Likewise.
24989 (CFLAGS-tmpfile.c): Likewise.
24990 (CFLAGS-tmpfile64.c): Likewise.
24991 (CFLAGS-tempname.c): Likewise.
24992 (CFLAGS-psignal.c): Likewise.
24993 (CFLAGS-vprintf.c): Likewise.
24994 (CFLAGS-cuserid.c): Likewise.
24995 (CFLAGS-errlist.c): Likewise.
24996 (CFLAGS-siglist.c): Likewise.
24997 (CFLAGS-scanf15.c): Likewise.
24998 (CFLAGS-scanf17.c): Likewise.
24999 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
25000 (CFLAGS-msort.c): Likewise.
25001 (CFLAGS-qsort.c): Likewise.
25002 (CFLAGS-system.c): Likewise.
25003 (CFLAGS-fmtmsg.c): Likewise.
25004 (CFLAGS-strfmon.c): Likewise.
25005 (CFLAGS-strfmon_l.c): Likewise.
25006 (CFLAGS-strfromd.c): Likewise.
25007 (CFLAGS-strfromf.c): Likewise.
25008 (CFLAGS-strfroml.c): Likewise.
25009 (CFLAGS-tst-bsearch.c): Likewise.
25010 (CFLAGS-tst-qsort.c): Likewise.
25011 (CFLAGS-tst-makecontext2.c): Likewise.
25012 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
25013 (CFLAGS-xnlm_prot.c): Likewise.
25014 (CFLAGS-xrstat.c): Likewise.
25015 (CFLAGS-xyppasswd.c): Likewise.
25016 (CFLAGS-xklm_prot.c): Likewise.
25017 (CFLAGS-xrex.c): Likewise.
25018 (CFLAGS-xsm_inter.c): Likewise.
25019 (CFLAGS-xmount.c): Likewise.
25020 (CFLAGS-xrusers.c): Likewise.
25021 (CFLAGS-xspray.c): Likewise.
25022 (CFLAGS-xnfs_prot.c): Likewise.
25023 (CFLAGS-xrquota.c): Likewise.
25024 (CFLAGS-xkey_prot.c): Likewise.
25025 (CFLAGS-auth_unix.c): Likewise.
25026 (CFLAGS-key_call.c): Likewise.
25027 (CFLAGS-pmap_rmt.c): Likewise.
25028 (CFLAGS-clnt_perr.c): Likewise.
25029 (CFLAGS-openchild.c): Likewise.
25030 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
25031 (CFLAGS-msgsnd.c): Likewise.
25032 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
25033 * time/Makefile (CFLAGS-tzfile.c): Likewise.
25034 (CFLAGS-tzset.c): Likewise.
25035 (CFLAGS-getdate.c): Likewise.
25036 (CFLAGS-test_time.c): Likewise.
25037 (CPPFLAGS-tst-tzname.c): Likewise.
25038 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
25039 (CFLAGS-zic.c): Likewise.
25040 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
25041 (CFLAGS-wcswidth.c): Likewise.
25042 (CFLAGS-wcstol.c): Likewise.
25043 (CFLAGS-wcstoul.c): Likewise.
25044 (CFLAGS-wcstoll.c): Likewise.
25045 (CFLAGS-wcstoull.c): Likewise.
25046 (CFLAGS-wcstod.c): Likewise.
25047 (CFLAGS-wcstold.c): Likewise.
25048 (CFLAGS-wcstof128.c): Likewise.
25049 (CFLAGS-wcstof.c): Likewise.
25050 (CFLAGS-wcstol_l.c): Likewise.
25051 (CFLAGS-wcstoul_l.c): Likewise.
25052 (CFLAGS-wcstoll_l.c): Likewise.
25053 (CFLAGS-wcstoull_l.c): Likewise.
25054 (CFLAGS-wcstod_l.c): Likewise.
25055 (CFLAGS-wcstold_l.c): Likewise.
25056 (CFLAGS-wcstof128_l.c): Likewise.
25057 (CFLAGS-wcstof_l.c): Likewise.
25058 (CPPFLAGS-tst-wchar-h.c): Likewise.
25059 (CPPFLAGS-wcstold_l.c): Likewise.
25061 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
25063 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
25065 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25066 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25068 * manual/tunables.texi (Hardware Capability Tunables): Document
25069 glibc.tune.cached_memopt.
25070 * sysdeps/powerpc/cpu-features.c: New file.
25071 * sysdeps/powerpc/cpu-features.h: New file.
25072 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
25073 _dl_powerpc_cpu_features.
25074 * sysdeps/powerpc/dl-tunables.list: New file.
25075 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
25076 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25077 (INIT_ARCH): Initialize use_aligned_memopt.
25078 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
25079 IS_IN(rtld))]: Restrict dl_platform_init availability and
25080 initialize CPU features used by tunables.
25081 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
25082 Add memcpy-power8-cached.
25083 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
25084 __memcpy_power8_cached.
25085 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25086 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
25089 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
25091 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
25092 (CFLAGS-noinl-tester.c): Likewise.
25093 (CFLAGS-tst-strlen.c): Likewise.
25094 (CFLAGS-stratcliff.c): Likewise.
25095 (CFLAGS-test-ffs.c): Likewise.
25096 (CFLAGS-tst-inlcall.c): Likewise.
25097 (CFLAGS-tst-xbzero-opt.c): Likewise.
25098 (CFLAGS-memcpy.c): Likewise.
25099 (CFLAGS-wordcopy.c): Likewise.
25101 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25103 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
25104 Store r15 on stack and add cfi rule.
25105 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
25108 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
25111 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
25114 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25116 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25117 Add s_sinf-sse2 and s_sinf-fma.
25118 (CFLAGS-s_sinf-fma.c): New.
25119 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
25120 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
25121 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
25123 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25125 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
25127 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25130 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
25131 part of result to imaginary part of argument if it is zero and the
25132 real part of the argument is not finite.
25133 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
25134 of result to real part of argument if it is zero and the imaginary
25135 part of the argument is not finite.
25137 2017-12-07 Mike FABIAN <mfabian@redhat.com>
25140 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
25141 and to the list of locales to be built for testing.
25142 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
25143 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
25144 and build the collation rules upon that.
25146 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25148 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
25149 * manual/math.texi (Mathematics): Document support for _Float32.
25150 * math/Makefile (test-types): Add float32.
25151 * math/Versions (GLIBC_2.27): Add _Float32 functions.
25152 * stdlib/Versions (GLIBC_2.27): Likewise.
25153 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25154 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25155 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25156 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25157 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25158 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25159 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25160 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25161 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25162 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25163 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25164 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25165 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25166 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25167 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25168 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25169 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25170 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25171 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25172 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25173 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25174 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25176 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25177 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25178 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25179 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25180 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25198 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25199 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25200 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25201 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25202 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25203 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25204 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25205 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25206 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25207 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25214 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25216 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25217 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25218 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25219 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25220 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25221 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25222 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25223 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25225 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25227 * stdlib/strtof.c: Include <bits/floatn.h>
25228 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
25229 and later undefine as macro. Define as weak alias if
25231 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
25232 and later undefine as macro. Define as weak alias if
25234 * stdlib/strtof_l.c: Include <bits/floatn.h>
25235 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
25236 and later undefine as macro. Define as weak alias if
25238 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
25239 and later undefine as macro. Define as weak alias if
25242 * stdlib/strfromf.c: Include <bits/floatn.h>.
25243 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
25244 and later undefine as macro and define as weak alias.
25246 * math/test-float32.h: New file.
25248 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
25249 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
25250 (libm_alias_float_other_r): Create f32 alias.
25251 (libm_alias_float_r): Use semicolon before call to
25252 libm_alias_float_other_r.
25254 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
25255 second argument to libm_alias_float_other.
25256 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
25257 second argument to libm_alias_float_other.
25258 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
25259 argument to libm_alias_float_other.
25262 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
25263 real part of result for argument 0 + i * NaN.
25264 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
25265 results for tests of 0 + i * NaN.
25267 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25269 * sysdeps/alpha/fpu/libm-test-ulps: Update.
25271 2017-12-06 David S. Miller <davem@davemloft.net>
25273 * sysdeps/sparc/fpu/libm-test-ulps: Update
25274 exp_{downward,towardzero,upward} ulps.
25276 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25278 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
25281 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
25283 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
25285 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
25287 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
25290 2017-12-06 Mike FABIAN <mfabian@redhat.com>
25293 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
25294 and to the list of locales to be built for testing.
25295 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
25296 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
25297 and build the collation rules upon that.
25299 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25301 * NEWS: Add sinf to list of optimized functions.
25303 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25305 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
25306 (__HAVE_FLOAT32X): Likewise.
25307 * manual/math.texi (Mathematics): Document support for _Float64
25309 * math/Makefile (test-types): Add float64 and float32x.
25310 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
25312 * stdlib/Versions (GLIBC_2.27): Likewise.
25313 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25314 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25315 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25316 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25317 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25318 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25319 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25320 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25321 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25322 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25323 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25324 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25325 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25326 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25327 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25328 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25329 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25330 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25331 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25332 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25333 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25334 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25336 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25337 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25338 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25339 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25340 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25357 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25358 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25359 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25360 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25361 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25362 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25363 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25364 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25365 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25366 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25375 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25376 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25377 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25378 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25379 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25380 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25381 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25382 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25384 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25386 * bits/floatn-common.h: Include <bits/long-double.h>.
25387 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25388 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
25389 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25390 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
25391 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25392 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
25393 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25394 (__builtin_huge_valf64): Use __builtin_huge_vall.
25395 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25396 (__builtin_inff64): Use __builtin_infl.
25397 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25398 (__builtin_nanf64): Use __builtin_nanl.
25399 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25400 (__builtin_nansf64): Use __builtin_nansl.
25402 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
25403 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25404 Carlos O'Donell <carlos@redhat.com>
25406 * elf/dl-tunables.list: Add elision parameters.
25407 * manual/tunables.texi: Add entries about elision tunable.
25408 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
25409 Add callback functions to dynamically enable/disable elision.
25410 Add multiple callbacks functions to set elision parameters.
25411 Deleted __libc_enable_secure check.
25412 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
25413 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
25414 * configure: Regenerated.
25415 * configure.ac: Option enable_lock_elision was deleted.
25416 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
25417 * config.make.in: Remove references to enable_lock_elision.
25418 * manual/install.texi: Elision configure option was removed.
25419 * INSTALL: Regenerated to remove enable_lock_elision.
25421 Disable elision so it can verify error case for destroying a mutex.
25422 * sysdeps/powerpc/nptl/elide.h:
25423 Cleanup ENABLE_LOCK_ELISION check.
25424 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
25425 * sysdeps/s390/configure: Regenerated.
25426 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
25427 * nptl/tst-mutex8.c:
25428 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
25429 * sysdeps/powerpc/powerpc32/sysdep.h:
25430 Deleted all ENABLE_LOCK_ELISION checks.
25431 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25432 * sysdeps/powerpc/sysdep.h: Likewise.
25433 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
25434 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
25435 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25436 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25437 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25438 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
25439 enable-lock-elision.
25441 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25443 * stdlib/strtod.c: Include <bits/floatn.h>.
25444 (BUILD_DOUBLE): New macro.
25445 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25446 (strtof64): Define and later undefine as macro. Define as weak
25447 alias if [!USE_WIDE_CHAR].
25448 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25449 (wcstof64): Define and later undefine as macro. Define as weak
25450 alias if [USE_WIDE_CHAR].
25451 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25452 (strtof32x): Define and later undefine as macro. Define as weak
25453 alias if [!USE_WIDE_CHAR].
25454 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25455 (wcstof32x): Define and later undefine as macro. Define as weak
25456 alias if [USE_WIDE_CHAR].
25457 * stdlib/strtod_l.c: Include <bits/floatn.h>.
25458 (BUILD_DOUBLE): New macro.
25459 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25460 (strtof64_l): Define and later undefine as macro. Define as weak
25461 alias if [!USE_WIDE_CHAR].
25462 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25463 (wcstof64_l): Define and later undefine as macro. Define as weak
25464 alias if [USE_WIDE_CHAR].
25465 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25466 (strtof32x_l): Define and later undefine as macro. Define as weak
25467 alias if [!USE_WIDE_CHAR].
25468 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25469 (wcstof32x_l): Define and later undefine as macro. Define as weak
25470 alias if [USE_WIDE_CHAR].
25472 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25474 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
25475 (reduced): Use ones as double instead of integer.
25477 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
25479 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
25481 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25483 * stdlib/strfromd.c: Include <bits/floatn.h>.
25484 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
25485 and later undefine as macro and define as weak alias.
25486 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
25489 * math/test-float32x.h: New file.
25490 * math/test-float64.h: Likewise.
25492 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
25493 (libm_alias_double_other_r_f64): New macro.
25494 (libm_alias_double_other_r_f32x): Likewise.
25495 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25496 libm_alias_double_other_r_f32x.
25497 (libm_alias_double_r): Use semicolon before call to
25498 libm_alias_double_other_r.
25499 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
25501 (libm_alias_double_other_r_f64): New macro.
25502 (libm_alias_double_other_r_f32x): Likewise.
25503 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25504 libm_alias_double_other_r_f32x.
25506 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
25508 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
25510 (SINF_FUNC): Likewise. Replace floor with simple casts.
25512 2017-12-05 Mike FABIAN <mfabian@redhat.com>
25515 * localedata/Makefile: Add et_EE.UTF-8 to test-input
25516 and to the list of locales to be built for testing.
25517 * localedata/et_EE.UTF-8.in: New file for testing the collation.
25518 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
25519 and build the collation rules upon that.
25521 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
25523 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
25524 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
25525 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
25526 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
25527 instead of __insn__xxx.
25528 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
25529 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
25530 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
25531 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
25532 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
25533 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
25535 2017-12-05 Florian Weimer <fweimer@redhat.com>
25537 Linux: Implement interfaces for memory protection keys
25538 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
25540 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
25541 * support/xunistd.h (xsysconf): Declare.
25542 * support/xraise.c: New file.
25543 * support/xsigaction.c: Likewise.
25544 * support/xsignal.c: Likewise.
25545 * support/xsysconf.c: Likewise.
25546 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
25547 pkey_set, pkey_get, pkey_mprotect.
25548 [misc] (tests): Add tst-pkey.
25549 (tst-pkey): Link with -lpthread.
25550 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
25551 pkey_free, pkey_set, pkey_get, pkey_mprotect.
25552 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
25553 (PKEY_DISABLE_WRITE): Define.
25554 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
25556 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
25557 (SEGV_PKUERR): Add.
25558 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
25559 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
25560 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
25561 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
25563 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
25564 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
25565 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
25566 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
25567 * sysdeps/unix/sysv/linux/**.abilist: Update.
25569 2017-12-05 Florian Weimer <fweimer@redhat.com>
25571 * support/tst-test_compare.c (subprocess): Use long long instead
25572 of long argument for consistent type width across 32-bit and
25573 64-bit architectures.
25574 (do_test): Adjust expected output.
25576 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25578 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
25579 (cosf): Define using libm_alias_float.
25580 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
25581 (fabsf): Define using libm_alias_float.
25582 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
25583 (fmaf): Define using libm_alias_float.
25584 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
25585 (rintf): Define using libm_alias_float.
25586 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
25587 (sinf): Define using libm_alias_float.
25588 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
25589 <libm-alias-float.h>.
25590 (modff): Define using libm_alias_float.
25591 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
25592 <libm-alias-float.h>.
25593 (logbf): Define using libm_alias_float.
25594 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
25595 <libm-alias-float.h>.
25596 (ceilf): Define using libm_alias_float.
25597 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25598 <libm-alias-float.h>.
25599 (copysignf): Define using libm_alias_float.
25600 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
25601 <libm-alias-float.h>.
25602 (floorf): Define using libm_alias_float.
25603 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25604 <libm-alias-float.h>.
25605 (llrintf): Define using libm_alias_float.
25606 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25607 <libm-alias-float.h>.
25608 (llroundf): Define using libm_alias_float.
25609 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25610 <libm-alias-float.h>.
25611 (lrintf): Define using libm_alias_float.
25612 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25613 <libm-alias-float.h>.
25614 (lroundf): Define using libm_alias_float.
25615 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
25616 <libm-alias-float.h>.
25617 (nearbyintf): Define using libm_alias_float.
25618 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
25619 <libm-alias-float.h>.
25620 (rintf): Define using libm_alias_float.
25621 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
25622 <libm-alias-float.h>.
25623 (roundf): Define using libm_alias_float.
25624 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
25625 <libm-alias-float.h>.
25626 (truncf): Define using libm_alias_float.
25627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
25628 Include <libm-alias-float.h>.
25629 (ceilf): Define using libm_alias_float.
25630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
25631 Include <libm-alias-float.h>.
25632 (copysignf): Define using libm_alias_float.
25633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
25634 Include <libm-alias-float.h>.
25635 (floorf): Define using libm_alias_float.
25636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
25637 Include <libm-alias-float.h>.
25638 (llrintf): Define using libm_alias_float.
25639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
25640 Include <libm-alias-float.h>.
25641 (llroundf): Define using libm_alias_float.
25642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
25643 Include <libm-alias-float.h>.
25644 (logbf): Define using libm_alias_float.
25645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
25646 Include <libm-alias-float.h>.
25647 (lrintf): Define using libm_alias_float.
25648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
25649 Include <libm-alias-float.h>.
25650 (lroundf): Define using libm_alias_float.
25651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
25652 Include <libm-alias-float.h>.
25653 (modff): Define using libm_alias_float.
25654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
25655 Include <libm-alias-float.h>.
25656 (roundf): Define using libm_alias_float.
25657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
25658 Include <libm-alias-float.h>.
25659 (truncf): Define using libm_alias_float.
25660 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
25661 <libm-alias-float.h>.
25662 (llrintf): Define using libm_alias_float.
25663 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25664 <libm-alias-float.h>.
25665 (llroundf): Define using libm_alias_float.
25666 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
25667 <libm-alias-float.h>.
25668 (ceilf): Define using libm_alias_float.
25669 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
25670 <libm-alias-float.h>.
25671 (floorf): Define using libm_alias_float.
25672 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25673 <libm-alias-float.h>.
25674 (llroundf): Define using libm_alias_float.
25675 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25676 <libm-alias-float.h>.
25677 (lroundf): Define using libm_alias_float.
25678 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
25679 <libm-alias-float.h>.
25680 (roundf): Define using libm_alias_float.
25681 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
25682 <libm-alias-float.h>.
25683 (truncf): Define using libm_alias_float.
25684 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25685 <libm-alias-float.h>.
25686 (copysignf): Define using libm_alias_float.
25687 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
25688 <libm-alias-float.h>.
25689 (llrintf): Define using libm_alias_float.
25690 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25691 <libm-alias-float.h>.
25692 (llroundf): Define using libm_alias_float.
25693 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25694 <libm-alias-float.h>.
25695 (lrintf): Define using libm_alias_float.
25696 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25697 <libm-alias-float.h>.
25698 (lroundf): Define using libm_alias_float.
25699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
25700 <libm-alias-float.h>.
25701 (ceilf): Define using libm_alias_float.
25702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
25703 <libm-alias-float.h>.
25704 (copysignf): Define using libm_alias_float.
25705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
25706 <libm-alias-float.h>.
25707 (cosf): Define using libm_alias_float.
25708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
25709 <libm-alias-float.h>.
25710 (floorf): Define using libm_alias_float.
25711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
25712 <libm-alias-float.h>.
25713 (llrintf): Define using libm_alias_float.
25714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
25715 <libm-alias-float.h>.
25716 (llroundf): Define using libm_alias_float.
25717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
25718 <libm-alias-float.h>.
25719 (logbf): Define using libm_alias_float.
25720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
25721 <libm-alias-float.h>.
25722 (modff): Define using libm_alias_float.
25723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
25724 <libm-alias-float.h>.
25725 (roundf): Define using libm_alias_float.
25726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
25727 <libm-alias-float.h>.
25728 (sinf): Define using libm_alias_float.
25729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
25730 <libm-alias-float.h>.
25731 (truncf): Define using libm_alias_float.
25732 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
25733 <libm-alias-float.h>.
25734 (ceilf): Define using libm_alias_float.
25735 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25736 <libm-alias-float.h>.
25737 (copysignf): Define using libm_alias_float.
25738 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
25739 <libm-alias-float.h>.
25740 (floorf): Define using libm_alias_float.
25741 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25742 <libm-alias-float.h>.
25743 (llrintf): Define using libm_alias_float.
25744 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
25745 <libm-alias-float.h>.
25746 (llroundf): Define using libm_alias_float.
25747 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
25748 <libm-alias-float.h>.
25749 (nearbyintf): Define using libm_alias_float.
25750 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
25751 <libm-alias-float.h>.
25752 (rintf): Define using libm_alias_float.
25753 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
25754 <libm-alias-float.h>.
25755 (roundf): Define using libm_alias_float.
25756 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
25757 <libm-alias-float.h>.
25758 (truncf): Define using libm_alias_float.
25759 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
25760 <libm-alias-float.h>.
25761 (ceilf): Define using libm_alias_float.
25762 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
25763 <libm-alias-float.h>.
25764 (floorf): Define using libm_alias_float.
25765 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25766 <libm-alias-float.h>.
25767 (llroundf): Define using libm_alias_float.
25768 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
25769 <libm-alias-float.h>.
25770 (roundf): Define using libm_alias_float.
25771 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
25772 <libm-alias-float.h>.
25773 (truncf): Define using libm_alias_float.
25774 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25775 <libm-alias-float.h>.
25776 (copysignf): Define using libm_alias_float.
25777 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25778 <libm-alias-float.h>.
25779 (llrintf): Define using libm_alias_float.
25780 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25781 <libm-alias-float.h>.
25782 (llroundf): Define using libm_alias_float.
25783 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
25784 <libm-alias-float.h>.
25785 (cosf): Define using libm_alias_float.
25786 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25787 <libm-alias-float.h>.
25788 (llrintf): Define using libm_alias_float.
25789 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25790 <libm-alias-float.h>.
25791 (llroundf): Define using libm_alias_float.
25792 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
25793 <libm-alias-float.h>.
25794 (sinf): Define using libm_alias_float.
25796 2017-12-04 Florian Weimer <fweimer@redhat.com>
25798 * support/check.h (TEST_COMPARE): Define.
25799 (support_test_compare_failure): Declare.
25800 * support/Makefile (libsupport-routines): Add
25801 support_test_compare_failure.
25802 (tests): Add tst-test_compare.
25803 * support /support_test_compare_failure.c: New file.
25804 * support/tst-test_compare.c: Likewise.
25806 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25809 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
25810 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
25811 available, this rewrite of the collation rules does reproduce
25812 the test file in the same order.
25814 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25817 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
25818 digraphs in the month and day names. Using single code points for
25819 digraphs is deprecated. While there are dedicated Unicode
25820 codepoints, for the digraphs, these are included for backwards
25821 compatibility and modern texts use a sequence of Basic Latin
25822 characters. See: https://www.unicode.org/faq/ligature_digraph.html
25823 This makes the month and day names agree exactly with CLDR now,
25824 CLDR does not use the single code points for the digraphs either.
25826 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
25828 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
25830 2017-12-04 Joseph Myers <joseph@codesourcery.com>
25832 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
25835 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
25837 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
25838 Define only for libc.so.
25840 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
25842 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25843 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
25844 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
25845 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
25846 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25848 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25851 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
25853 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
25856 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
25857 PREINIT_FUNCTION_WEAK is nonzero.
25858 (gmon_initializer): New function. Put procedure label for it in
25859 .init_array section.
25860 (_init): Don't call PREINIT_FUNCTION.
25861 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
25862 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
25863 value when map argument is null.
25865 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
25866 depi instruction from PIC pc-relative sequence.
25867 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
25868 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
25869 (elf_machine_load_address): Likewise.
25870 (elf_machine_runtime_setup): Likewise.
25872 2017-12-02 Joseph Myers <joseph@codesourcery.com>
25874 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
25875 <libm-alias-double.h>.
25876 (logb): Define using libm_alias_double.
25877 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25878 <libm-alias-double.h>.
25879 (copysign): Define using libm_alias_double.
25880 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
25881 <libm-alias-double.h>.
25882 (llrint): Define using libm_alias_double.
25883 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
25884 <libm-alias-double.h>.
25885 (llround): Define using libm_alias_double.
25886 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25887 <libm-alias-double.h>.
25888 (lrint): Define using libm_alias_double.
25889 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25890 <libm-alias-double.h>.
25891 (lround): Define using libm_alias_double.
25892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25893 Include <libm-alias-double.h>.
25894 (copysign): Define using libm_alias_double.
25895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
25896 Include <libm-alias-double.h>.
25897 (llrint): Define using libm_alias_double.
25898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
25899 Include <libm-alias-double.h>.
25900 (llround): Define using libm_alias_double.
25901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
25902 <libm-alias-double.h>.
25903 (logb): Define using libm_alias_double.
25904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
25905 Include <libm-alias-double.h>.
25906 (lrint): Define using libm_alias_double.
25907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
25908 Include <libm-alias-double.h>.
25909 (lround): Define using libm_alias_double.
25910 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
25911 <libm-alias-double.h>.
25912 (llrint): Define using libm_alias_double.
25913 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25914 <libm-alias-double.h>.
25915 (llround): Define using libm_alias_double.
25916 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25917 <libm-alias-double.h>.
25918 (llround): Define using libm_alias_double.
25919 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25920 <libm-alias-double.h>.
25921 (lround): Define using libm_alias_double.
25922 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25923 <libm-alias-double.h>.
25924 (copysign): Define using libm_alias_double.
25925 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
25926 <libm-alias-double.h>.
25927 (llrint): Define using libm_alias_double.
25928 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25929 <libm-alias-double.h>.
25930 (llround): Define using libm_alias_double.
25931 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25932 <libm-alias-double.h>.
25933 (lrint): Define using libm_alias_double.
25934 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25935 <libm-alias-double.h>.
25936 (lround): Define using libm_alias_double.
25937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
25938 <libm-alias-double.h>.
25939 (copysign): Define using libm_alias_double.
25940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
25941 <libm-alias-double.h>.
25942 (llrint): Define using libm_alias_double.
25944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
25945 <libm-alias-double.h>.
25946 (llround): Define using libm_alias_double.
25947 (lround): Likewise.
25948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
25949 <libm-alias-double.h>.
25950 (logb): Define using libm_alias_double.
25951 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25952 <libm-alias-double.h>.
25953 (copysign): Define using libm_alias_double.
25954 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25955 <libm-alias-double.h>.
25956 (llrint): Define using libm_alias_double.
25958 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
25959 <libm-alias-double.h>.
25960 (llround): Define using libm_alias_double.
25961 (lround): Likewise.
25962 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25963 <libm-alias-double.h>.
25964 (llround): Define using libm_alias_double.
25965 (lround): Likewise.
25966 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25967 <libm-alias-double.h>.
25968 (copysign): Define using libm_alias_double.
25969 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25970 <libm-alias-double.h>.
25971 (llrint): Define using libm_alias_double.
25973 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25974 <libm-alias-double.h>.
25975 (llround): Define using libm_alias_double.
25976 (lround): Likewise.
25977 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25978 <libm-alias-double.h>.
25979 (llrint): Define using libm_alias_double.
25981 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25982 <libm-alias-double.h>.
25983 (llround): Define using libm_alias_double.
25984 (lround): Likewise.
25986 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25989 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
25990 compat symbol based on llround.
25992 * sysdeps/powerpc/power7/fpu/s_logb.c
25993 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
25994 symbol based on __logb, not on logb.
25995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
25996 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
25998 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
26000 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
26001 (rint): Define using libm_alias_double.
26002 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
26003 <libm-alias-double.h>.
26004 (modf): Define using libm_alias_double.
26005 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
26006 <libm-alias-double.h>.
26007 (ceil): Define using libm_alias_double.
26008 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
26009 <libm-alias-double.h>.
26010 (floor): Define using libm_alias_double.
26011 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
26012 <libm-alias-double.h>.
26013 (nearbyint): Define using libm_alias_double.
26014 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
26015 <libm-alias-double.h>.
26016 (rint): Define using libm_alias_double.
26017 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
26018 <libm-alias-double.h>.
26019 (round): Define using libm_alias_double.
26020 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
26021 <libm-alias-double.h>.
26022 (trunc): Define using libm_alias_double.
26023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
26024 <libm-alias-double.h>.
26025 (ceil): Define using libm_alias_double.
26026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
26027 Include <libm-alias-double.h>.
26028 (floor): Define using libm_alias_double.
26029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
26030 <libm-alias-double.h>.
26031 (modf): Define using libm_alias_double.
26032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
26033 Include <libm-alias-double.h>.
26034 (round): Define using libm_alias_double.
26035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
26036 Include <libm-alias-double.h>.
26037 (trunc): Define using libm_alias_double.
26038 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
26039 <libm-alias-double.h>.
26040 (ceil): Define using libm_alias_double.
26041 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
26042 <libm-alias-double.h>.
26043 (floor): Define using libm_alias_double.
26044 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
26045 <libm-alias-double.h>.
26046 (round): Define using libm_alias_double.
26047 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
26048 <libm-alias-double.h>.
26049 (trunc): Define using libm_alias_double.
26050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
26051 <libm-alias-double.h>.
26052 (ceil): Define using libm_alias_double.
26053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
26054 <libm-alias-double.h>.
26055 (floor): Define using libm_alias_double.
26056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
26057 <libm-alias-double.h>.
26058 (modf): Define using libm_alias_double.
26059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
26060 <libm-alias-double.h>.
26061 (round): Define using libm_alias_double.
26062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
26063 <libm-alias-double.h>.
26064 (trunc): Define using libm_alias_double.
26065 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
26066 <libm-alias-double.h>.
26067 (ceil): Define using libm_alias_double.
26068 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
26069 <libm-alias-double.h>.
26070 (floor): Define using libm_alias_double.
26071 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
26072 <libm-alias-double.h>.
26073 (nearbyint): Define using libm_alias_double.
26074 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
26075 <libm-alias-double.h>.
26076 (rint): Define using libm_alias_double.
26077 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
26078 <libm-alias-double.h>.
26079 (round): Define using libm_alias_double.
26080 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
26081 <libm-alias-double.h>.
26082 (trunc): Define using libm_alias_double.
26083 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
26084 <libm-alias-double.h>.
26085 (ceil): Define using libm_alias_double.
26086 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
26087 <libm-alias-double.h>.
26088 (floor): Define using libm_alias_double.
26089 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
26090 <libm-alias-double.h>.
26091 (round): Define using libm_alias_double.
26092 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
26093 <libm-alias-double.h>.
26094 (trunc): Define using libm_alias_double.
26096 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
26097 (fabs): Define using libm_alias_double.
26098 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
26099 (fma): Define using libm_alias_double.
26100 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
26101 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
26102 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
26103 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
26105 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26107 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
26109 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
26110 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
26111 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
26114 due redirect macro.
26116 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
26118 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
26120 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26122 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
26123 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
26124 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
26125 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
26127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26128 (libm-sysdep_routines): Add s_nearbyintf-generic and
26129 s_nearbyint-generic.
26130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
26132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
26133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
26135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
26137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
26139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26143 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
26144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
26146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
26147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
26149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
26150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
26151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26154 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
26155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
26157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
26158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
26160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
26161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
26162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
26164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26165 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
26166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
26168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
26169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
26171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
26172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
26173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26176 (sysdep_calls): New rule.
26177 (sysdep_routines): Use sysdep_calls as base.
26178 (libm-sysdep_routines): Add generic rule for symbols shared with
26179 libc. Add s_copysign-generic and s_copysign-generic objects.
26180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
26182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
26183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
26185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
26186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
26187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
26189 2017-12-01 Mike FABIAN <mfabian@redhat.com>
26192 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
26193 the list of locales to be built for testing.
26194 * localedata/is_IS.UTF-8.in: New file.
26195 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
26198 2017-12-01 Joseph Myers <joseph@codesourcery.com>
26200 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
26201 <libm-alias-float.h>.
26202 (fabsf): Define using libm_alias_float.
26204 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26206 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
26208 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26210 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
26211 <libm-alias-float.h>.
26212 (fabsf): Define using libm_alias_float.
26213 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
26214 <libm-alias-float.h>.
26215 (lrintf): Define using libm_alias_float.
26216 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
26217 <libm-alias-float.h>.
26218 (rintf): Define using libm_alias_float.
26220 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
26221 <libm-alias-double.h>.
26222 (fabs): Define using libm_alias_double.
26223 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
26224 <libm-alias-double.h>.
26225 (lrint): Define using libm_alias_double.
26226 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
26227 <libm-alias-double.h>.
26228 (rint): Define using libm_alias_double.
26230 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
26231 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
26232 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
26233 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
26234 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
26235 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
26236 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
26237 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
26238 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
26239 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
26240 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
26241 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
26242 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
26243 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
26244 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
26245 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
26246 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
26247 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
26249 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
26250 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
26251 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
26253 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
26254 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
26255 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
26257 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
26258 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
26259 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
26260 s_expm1_template.c.
26261 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
26262 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
26263 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
26265 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
26266 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
26267 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
26268 s_floor_template.c.
26269 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
26270 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
26271 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
26272 s_frexp_template.c.
26273 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
26274 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
26275 s_lrint_template.c.
26276 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
26277 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
26278 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
26280 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
26281 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
26282 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
26283 s_nearbyint_template.c.
26284 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
26285 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
26286 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
26287 s_remquo_template.c.
26288 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
26289 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
26290 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
26292 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
26293 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
26294 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
26296 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
26297 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
26298 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
26299 s_sincos_template.c.
26300 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
26301 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
26302 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
26304 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
26305 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
26306 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
26308 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
26309 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
26310 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
26311 s_trunc_template.c.
26312 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
26313 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
26314 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
26315 s_atan.c instead of including s_atan.c.
26316 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
26317 s_atanf.c instead of including s_atanf.c.
26318 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
26319 s_atanl.c instead of including s_atanl.c.
26320 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
26321 instead of s_atan.c.
26322 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
26323 instead of s_atanf.c.
26324 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
26325 instead of s_atanl.c.
26327 * scripts/update-copyrights: Do not handle intl/plural.c
26330 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
26333 * configure.ac (BISON): Require to be present.
26334 * configure: Regenerated.
26335 * intl/Makefile (generated): Add plural.c.
26336 [$(BISON) != no]: Make code unconditional.
26337 (plural.c): Change rule to $(objpfx)plural.c.
26338 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
26339 * intl/plural.c: Remove.
26340 * manual/install.texi (Tools for Compilation): Document bison as
26342 * INSTALL: Regenerated.
26344 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26346 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
26347 <libm-alias-double.h>.
26348 (llrint): Define using libm_alias_double.
26349 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
26350 <libm-alias-float.h>.
26351 (llrintf): Define using libm_alias_float.
26352 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
26353 <libm-alias-ldouble.h>.
26354 (llrintl): Define using libm_alias_ldouble.
26356 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
26357 declare_mgen_alias instead of weak_alias.
26358 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
26359 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
26360 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
26362 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26364 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26366 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
26367 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
26368 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
26370 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26371 Add submul_1-generic.
26372 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
26373 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
26374 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
26376 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26377 Add addmul_1-generic.
26378 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
26379 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
26380 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
26382 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26384 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
26385 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
26386 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
26388 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26390 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
26391 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
26392 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
26394 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26396 According to CLDR, collation rules for Serbian and Bosnian
26397 should be the same as for Croatian.
26400 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
26401 and to the list of locales to be built for testing.
26402 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26403 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26404 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
26405 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
26407 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26409 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
26410 to make test case pass.
26411 * localedata/hr_HR.UTF-8.in: Add more test strings.
26413 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26415 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
26417 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26419 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
26420 the list of locales to built for testing.
26421 * localedata/hr_HR.UTF-8.in: New file.
26423 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26426 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
26428 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
26429 CLDR (except use ligatures for the digraphs, CLDR does not use
26430 the ligatures), add first_workday, some fixes in the date and time
26432 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
26434 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
26435 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
26436 Add int_p_cs_precedes and int_n_cs_precedes.
26437 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
26438 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
26440 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
26441 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
26443 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
26444 and lang_lib. Change postal_fmt.
26446 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26448 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
26450 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26451 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
26452 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26453 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
26454 * sysdeps/generic/setjmpP.h: New file.
26455 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
26456 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
26457 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
26458 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
26459 Add jmp_buf-ssp.sym.
26460 (tests): Add tst-saved_mask-1.
26462 2017-11-30 Arjun Shankar <arjun@redhat.com>
26466 * malloc/malloc.c (__libc_malloc): Use checked_request2size
26467 instead of request2size.
26469 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
26472 (__lllrint): Remove alias.
26473 (lllrint): Likewise.
26474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
26475 (__lllrintf): Likewise.
26476 (lllrintf): Likewise.
26478 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
26479 <libm-alias-float.h>.
26480 (copysignf): Define using libm_alias_float.
26481 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
26482 <libm-alias-float.h>.
26483 (fabsf): Define using libm_alias_float.
26484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26485 Include <libm-alias-float.h>.
26486 (copysignf): Define using libm_alias_float.
26487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
26488 <libm-alias-float.h>.
26489 (fabsf): Define using libm_alias_float.
26490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
26491 <libm-alias-float.h>.
26492 (fdimf): Define using libm_alias_float.
26493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
26494 <libm-alias-float.h>.
26495 (fmaf): Define using libm_alias_float.
26496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
26497 <libm-alias-float.h>.
26498 (llrintf): Define using libm_alias_float.
26499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26500 Include <libm-alias-float.h>.
26501 (nearbyintf): Define using libm_alias_float.
26502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
26503 <libm-alias-float.h>.
26504 (rintf): Define using libm_alias_float.
26505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
26506 <libm-alias-float.h>.
26507 (llrintf): Define using libm_alias_float.
26508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
26509 <libm-alias-float.h>.
26510 (lrintf): Define using libm_alias_float.
26511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
26512 <libm-alias-float.h>.
26513 (nearbyintf): Define using libm_alias_float.
26514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
26515 <libm-alias-float.h>.
26516 (rintf): Define using libm_alias_float.
26517 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
26518 <libm-alias-float.h>.
26519 (ceilf): Define using libm_alias_float.
26520 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
26521 <libm-alias-float.h>.
26522 (floorf): Define using libm_alias_float.
26523 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
26524 <libm-alias-float.h>.
26525 (fmaf): Define using libm_alias_float.
26526 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
26527 <libm-alias-float.h>.
26528 (lrintf): Define using libm_alias_float.
26529 (llrintf): Likewise.
26530 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
26531 <libm-alias-float.h>.
26532 (nearbyintf): Define using libm_alias_float.
26533 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
26534 <libm-alias-float.h>.
26535 (rintf): Define using libm_alias_float.
26536 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
26537 <libm-alias-float.h>.
26538 (truncf): Define using libm_alias_float.
26539 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
26540 <libm-alias-float.h>.
26541 (copysignf): Define using libm_alias_float.
26542 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
26543 <libm-alias-float.h>.
26544 (fabsf): Define using libm_alias_float.
26545 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
26546 <libm-alias-float.h>.
26547 (lrintf): Define using libm_alias_float.
26548 (llrintf): Likewise.
26549 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
26550 <libm-alias-float.h>.
26551 (nearbyintf): Define using libm_alias_float.
26552 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
26553 <libm-alias-float.h>.
26554 (rintf): Define using libm_alias_float.
26556 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26558 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26559 <libm-alias-double.h>.
26560 (copysign): Define using libm_alias_double.
26561 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
26562 <libm-alias-double.h>.
26563 (fabs): Define using libm_alias_double.
26564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26565 Include <libm-alias-double.h>.
26566 (copysign): Define using libm_alias_double.
26567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26568 <libm-alias-double.h>.
26569 (fabs): Define using libm_alias_double.
26570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
26571 <libm-alias-double.h>.
26572 (fdim): Define using libm_alias_double.
26573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
26574 <libm-alias-double.h>.
26575 (fma): Define using libm_alias_double.
26576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
26577 <libm-alias-double.h>.
26578 (llrint): Define using libm_alias_double.
26579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
26580 Include <libm-alias-double.h>.
26581 (nearbyint): Define using libm_alias_double.
26582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
26583 <libm-alias-double.h>.
26584 (rint): Define using libm_alias_double.
26585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26586 <libm-alias-double.h>.
26587 (fabs): Define using libm_alias_double.
26588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
26589 <libm-alias-double.h>.
26590 (llrint): Define using libm_alias_double.
26591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
26592 <libm-alias-double.h>.
26593 (nearbyint): Define using libm_alias_double.
26594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
26595 <libm-alias-double.h>.
26596 (rint): Define using libm_alias_double.
26597 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
26598 <libm-alias-double.h>.
26599 (ceil): Define using libm_alias_double.
26600 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
26601 <libm-alias-double.h>.
26602 (floor): Define using libm_alias_double.
26603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
26604 <libm-alias-double.h>.
26605 (fma): Define using libm_alias_double.
26606 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
26607 <libm-alias-double.h>.
26608 (lrint): Define using libm_alias_double.
26609 (llrint): Likewise.
26610 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
26611 <libm-alias-double.h>.
26612 (nearbyint): Define using libm_alias_double.
26613 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
26614 <libm-alias-double.h>.
26615 (rint): Define using libm_alias_double.
26616 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
26617 <libm-alias-double.h>.
26618 (trunc): Define using libm_alias_double.
26619 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
26620 <libm-alias-double.h>.
26621 (copysign): Define using libm_alias_double.
26622 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
26623 <libm-alias-double.h>.
26624 (fabs): Define using libm_alias_double.
26625 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
26626 <libm-alias-double.h>.
26627 (lrint): Define using libm_alias_double.
26628 (llrint): Likewise.
26629 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
26630 <libm-alias-double.h>.
26631 (nearbyint): Define using libm_alias_double.
26632 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
26633 <libm-alias-double.h>.
26634 (rint): Define using libm_alias_double.
26637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26639 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26641 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
26642 SPARC --disable-multi-arch glibc variants.
26644 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
26645 <libm-alias-float.h>.
26646 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26648 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
26649 <libm-alias-float.h>.
26650 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26652 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
26653 <libm-alias-float.h>.
26654 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26656 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
26657 <libm-alias-float.h>.
26658 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26660 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
26661 <libm-alias-float.h>.
26662 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26664 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
26665 <libm-alias-float.h>.
26666 (ceilf): Define using libm_alias_float.
26667 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
26668 <libm-alias-float.h>.
26669 (floorf): Define using libm_alias_float.
26670 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
26671 <libm-alias-float.h>.
26672 (fmaf): Define using libm_alias_float.
26673 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
26674 <libm-alias-float.h>.
26675 (nearbyintf): Define using libm_alias_float.
26676 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
26677 <libm-alias-float.h>.
26678 (rintf): Define using libm_alias_float.
26679 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
26680 <libm-alias-float.h>.
26681 (truncf): Define using libm_alias_float.
26682 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26683 (copysignf): Define using libm_alias_float.
26684 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
26685 (cosf): Define using libm_alias_float.
26686 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26687 (fabsf): Define using libm_alias_float.
26688 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26689 (fmaxf): Define using libm_alias_float.
26690 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
26691 (fminf): Define using libm_alias_float.
26692 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26693 (llrintf): Define using libm_alias_float.
26694 [!__ILP32__] (lrintf): Likewise.
26695 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
26696 (sincosf): Define using libm_alias_float.
26697 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
26698 (sinf): Define using libm_alias_float.
26699 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26700 (lrintf): Define using libm_alias_float.
26702 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
26703 <libm-alias-double.h>.
26704 (atan): Define using libm_alias_double.
26705 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
26706 <libm-alias-double.h>.
26707 (ceil): Define using libm_alias_double.
26708 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
26709 <libm-alias-double.h>.
26710 (floor): Define using libm_alias_double.
26711 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
26712 <libm-alias-double.h>.
26713 (fma): Define using libm_alias_double.
26714 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
26715 <libm-alias-double.h>.
26716 (nearbyint): Define using libm_alias_double.
26717 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
26718 <libm-alias-double.h>.
26719 (rint): Define using libm_alias_double.
26720 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
26721 <libm-alias-double.h>.
26722 (sin): Define using libm_alias_double.
26724 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
26725 <libm-alias-double.h>.
26726 (tan): Define using libm_alias_double.
26727 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
26728 <libm-alias-double.h>.
26729 (trunc): Define using libm_alias_double.
26730 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
26731 (copysign): Define using libm_alias_double.
26732 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
26733 (fabs): Define using libm_alias_double.
26734 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
26735 (fmax): Define using libm_alias_double.
26736 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
26737 (fmin): Define using libm_alias_double.
26738 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
26739 (llrint): Define using libm_alias_double.
26740 [!__ILP32__] (lrint): Likewise.
26741 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
26742 (lrint): Define using libm_alias_double.
26744 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26746 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26747 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
26749 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
26750 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
26751 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
26752 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
26753 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
26754 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26756 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26757 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
26759 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
26760 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
26761 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
26762 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
26763 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
26764 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26766 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26767 (libm-sysdep_routines): Add s_nearbyint-generic and
26768 s_nearbyintf-generic objects.
26769 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
26770 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
26771 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
26772 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
26773 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
26774 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
26776 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26777 Add s_finitef-generic and s_finite-generic objects.
26778 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
26779 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
26780 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
26781 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
26782 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
26783 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
26785 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26786 Add s_isinff-generic and s_isinf-generic objects.
26787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
26788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
26789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
26790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
26791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
26792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26794 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26795 Add s_isnanf-generic and s_isnan-generic objects.
26796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
26797 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
26798 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
26799 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
26800 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
26801 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26803 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
26805 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
26807 (sysdep_routines): Use sysdep_calls as base.
26808 (libm-sysdep_routines): Add generic rule for symbols shared with
26809 libc. Add s_signbit-generic and s_signbitf-generic objects.
26810 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
26811 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
26812 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
26813 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
26814 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
26815 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26817 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26819 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
26820 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
26821 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
26822 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
26823 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
26824 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
26825 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
26826 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
26827 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
26828 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
26829 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
26830 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
26831 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
26832 libm_alias_float_r.
26833 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
26834 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
26836 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
26837 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
26838 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
26839 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
26840 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
26841 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
26842 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
26843 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
26844 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
26845 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
26847 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
26849 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
26850 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
26851 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
26852 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
26853 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
26854 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
26855 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
26856 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
26857 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
26858 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
26859 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
26860 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
26861 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
26862 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
26863 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
26864 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
26865 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
26866 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
26867 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
26869 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
26870 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
26871 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
26872 * sysdeps/ia64/fpu/w_lgammaf_main.c
26873 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
26874 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
26876 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26877 Alexandre Oliva <aoliva@redhat.com>
26880 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
26881 * localedata/fr_CA.UTF-8.in: New file with test data for backward
26883 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
26885 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
26886 * localedata/locales/de_DE (LC_COLLATE): Likewise.
26887 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
26888 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
26889 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
26890 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
26891 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
26892 instead of “ifdef DIACRIT_BACKWARD”.
26894 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26896 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
26897 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
26898 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
26899 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
26900 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
26901 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
26902 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
26903 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
26904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
26905 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
26906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
26907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
26908 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
26909 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
26910 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
26911 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26912 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
26913 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
26914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26915 ($(have-as-vis3) == yes): Remove conditional.
26916 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
26918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
26920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
26922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
26924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
26926 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
26927 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
26928 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
26929 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
26930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
26931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
26932 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
26933 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
26935 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26937 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
26938 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
26939 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
26940 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
26941 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
26942 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
26943 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
26944 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
26945 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
26946 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
26947 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
26948 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
26949 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
26950 libm_alias_double_r.
26951 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
26953 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
26954 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
26955 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
26956 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
26957 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
26958 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
26959 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
26960 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
26961 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
26962 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
26963 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
26965 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
26967 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
26968 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
26969 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
26970 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
26971 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
26972 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
26973 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
26974 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
26975 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
26976 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
26977 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
26978 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
26979 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
26980 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
26981 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
26982 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
26983 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
26984 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
26986 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
26987 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
26988 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
26989 * sysdeps/ia64/fpu/w_lgamma_main.c
26990 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
26991 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
26993 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
26995 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
26996 address of $global$ into %dp register earlier. Use pc-relative
26997 instruction sequence for PIC case.
26999 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27001 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
27002 (asinhf): Define using libm_alias_float.
27003 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
27004 (atanf): Define using libm_alias_float.
27005 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
27006 (cbrtf): Define using libm_alias_float.
27007 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
27008 (ceilf): Define using libm_alias_float.
27009 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
27010 (copysignf): Define using libm_alias_float.
27011 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
27012 (expm1f): Define using libm_alias_float.
27013 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
27014 (fabsf): Define using libm_alias_float.
27015 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
27016 (floorf): Define using libm_alias_float.
27017 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27018 (fmaxf): Define using libm_alias_float.
27019 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
27020 (fminf): Define using libm_alias_float.
27021 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
27022 (frexpf): Define using libm_alias_float.
27023 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
27024 (llrintf): Define using libm_alias_float.
27025 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
27026 (logbf): Define using libm_alias_float.
27027 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
27028 (lrintf): Define using libm_alias_float.
27029 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
27030 (nearbyintf): Define using libm_alias_float.
27031 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
27032 (remquof): Define using libm_alias_float.
27033 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
27034 (rintf): Define using libm_alias_float.
27035 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
27036 (truncf): Define using libm_alias_float.
27037 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
27038 <libm-alias-float.h>.
27039 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27041 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
27042 <libm-alias-float.h>.
27043 (expf): Define using libm_alias_float, or libm_alias_float_other
27045 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
27046 <libm-alias-float.h>.
27047 (log2f): Define using libm_alias_float, or libm_alias_float_other
27049 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
27050 <libm-alias-float.h>.
27051 (logf): Define using libm_alias_float, or libm_alias_float_other
27053 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
27054 <libm-alias-float.h>.
27055 (powf): Define using libm_alias_float, or libm_alias_float_other
27057 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
27058 <libm-alias-float.h>.
27059 (cosf): Define using libm_alias_float.
27060 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
27061 <libm-alias-float.h>.
27062 (sincosf): Define using libm_alias_float.
27063 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
27064 <libm-alias-float.h>.
27065 (sinf): Define using libm_alias_float.
27066 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27067 (fmaxf): Define using libm_alias_float.
27068 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
27069 (fminf): Define using libm_alias_float.
27070 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27071 <libm-alias-float.h>.
27072 (fmaf): Define using libm_alias_float.
27074 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
27075 (asinh): Define using libm_alias_double.
27076 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
27077 (atan): Define using libm_alias_double.
27078 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
27079 (cbrt): Define using libm_alias_double.
27080 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
27081 (ceil): Define using libm_alias_double.
27082 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
27083 (copysign): Define using libm_alias_double.
27084 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
27085 (expm1): Define using libm_alias_double.
27086 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
27087 (fabs): Define using libm_alias_double.
27088 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
27089 (fdim): Define using libm_alias_double.
27090 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
27091 (floor): Define using libm_alias_double.
27092 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
27093 (fmax): Define using libm_alias_double.
27094 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
27095 (fmin): Define using libm_alias_double.
27096 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
27097 (frexp): Define using libm_alias_double.
27098 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
27099 (llrint): Define using libm_alias_double.
27100 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
27101 (logb): Define using libm_alias_double.
27102 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
27103 (lrint): Define using libm_alias_double.
27104 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
27105 (nearbyint): Define using libm_alias_double.
27106 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
27107 (remquo): Define using libm_alias_double.
27108 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
27109 (rint): Define using libm_alias_double.
27110 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
27111 (trunc): Define using libm_alias_double.
27112 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
27113 (fmax): Define using libm_alias_double.
27114 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
27115 (fmin): Define using libm_alias_double.
27116 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
27117 (fma): Define using libm_alias_double.
27119 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
27122 * elf/dl-hwcaps.c (ROUND): Removed.
27123 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
27124 and ELF_NOTE_NEXT_OFFSET.
27125 * elf/dl-load.c (ROUND): Removed.
27126 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27127 * elf/readelflib.c (ROUND): Removed.
27128 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27129 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
27130 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
27131 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
27133 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27135 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27136 [!__fmaf] (fmaf): Define using libm_alias_float.
27138 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
27139 [!__fma] (fma): Define using libm_alias_double.
27140 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
27142 2017-11-28 Mike FABIAN <mfabian@redhat.com>
27145 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
27146 and implement the collation rules for cs from CLDR on top of that.
27147 * Makefile: Add cs_CZ.UTF-8 to test-input.
27148 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
27150 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
27152 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
27154 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27155 Icarus Sparry <icarus.w.sparry@intel.com>
27157 * benchtests/Makefile:Add BENCHSET to allow subsets of
27158 benchmarks to be run.
27159 * benchtests/README: Add documentation for: Running subsets of
27162 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27164 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
27165 range of tests names.
27167 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
27168 result from property and remove "max", min" and "mean" from
27169 required properties based on benchtests/bench-skeleton.c.
27171 2017-11-28 Florian Weimer <fweimer@redhat.com>
27174 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
27175 due to Internet requirement.
27176 * posix/Makefile (tests): Remove tst-getaddrinfo4,
27178 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
27180 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27182 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27183 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
27184 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27185 (sysdep_routines): Add memset-ultra1.
27186 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
27188 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
27189 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
27190 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
27191 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
27192 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
27193 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
27194 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
27195 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27197 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
27199 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
27200 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
27201 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
27202 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
27203 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
27204 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
27205 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
27207 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27208 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
27209 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27210 (sysdep_routines): Add memcpy-ultra1.
27211 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
27212 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
27214 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27216 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
27217 (cfloat_versions): Take function argument without trailing 'f'.
27218 Call libm_alias_float_other.
27219 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
27220 * sysdeps/alpha/fpu/cargf.c: Likewise.
27221 * sysdeps/alpha/fpu/cimagf.c: Likewise.
27222 * sysdeps/alpha/fpu/conjf.c: Likewise.
27223 * sysdeps/alpha/fpu/crealf.c: Likewise.
27224 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
27225 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
27226 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
27227 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
27228 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
27229 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
27230 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
27231 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
27232 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
27233 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
27234 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
27235 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
27236 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
27237 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
27238 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
27239 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
27240 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
27241 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
27242 (clog10f): Use libm_alias_float_other.
27243 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27244 (ceilf): Define using libm_alias_float.
27245 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
27246 (copysignf): Define using libm_alias_float.
27247 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
27248 (fabsf): Define using libm_alias_float.
27249 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
27250 (floorf): Define using libm_alias_float.
27251 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
27252 (fmaxf): Define using libm_alias_float.
27253 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
27254 (fminf): Define using libm_alias_float.
27255 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27256 (lrintf): Define using libm_alias_float.
27257 (llrintf): Likewise.
27258 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27259 (lroundf): Define using libm_alias_float.
27260 (llroundf): Likewise.
27261 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
27262 (rintf): Define using libm_alias_float.
27263 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
27264 (truncf): Define using libm_alias_float.
27266 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27267 (ceilf): Define using libm_alias_float.
27268 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
27269 (floorf): Define using libm_alias_float.
27270 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27271 (fmaf): Define using libm_alias_float.
27272 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
27273 (fmaxf): Define using libm_alias_float.
27274 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
27275 (fminf): Define using libm_alias_float.
27276 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
27277 (llrintf): Define using libm_alias_float.
27278 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
27279 (llroundf): Define using libm_alias_float.
27280 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27281 (lrintf): Define using libm_alias_float.
27282 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27283 (lroundf): Define using libm_alias_float.
27284 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
27285 <libm-alias-float.h>.
27286 (nearbyintf): Define using libm_alias_float.
27287 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
27288 (rintf): Define using libm_alias_float.
27289 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
27290 (roundf): Define using libm_alias_float.
27291 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
27292 (truncf): Define using libm_alias_float.
27294 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
27295 (ceil): Define using libm_alias_double.
27296 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
27297 (copysign): Define using libm_alias_double.
27298 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
27299 (fabs): Define using libm_alias_double.
27300 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
27301 (floor): Define using libm_alias_double.
27302 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
27303 (fmax): Define using libm_alias_double.
27304 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
27305 (fmin): Define using libm_alias_double.
27306 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
27307 (lrint): Define using libm_alias_double.
27308 (llrint): Likewise.
27309 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
27310 (lround): Define using libm_alias_double.
27311 (llround): Likewise.
27312 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
27313 (rint): Define using libm_alias_double.
27314 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
27315 (trunc): Define using libm_alias_double.
27317 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27318 (libm_alias_double_r): Add semicolon after weak_alias call.
27320 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27322 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
27323 (ceil): Define using libm_alias_double.
27324 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
27325 (floor): Define using libm_alias_double.
27326 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
27327 (fma): Define using libm_alias_double.
27328 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
27329 (fmax): Define using libm_alias_double.
27330 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
27331 (fmin): Define using libm_alias_double.
27332 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
27333 (llrint): Define using libm_alias_double.
27334 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
27335 (llround): Define using libm_alias_double.
27336 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
27337 (lrint): Define using libm_alias_double.
27338 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
27339 (lround): Define using libm_alias_double.
27340 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
27341 (nearbyint): Define using libm_alias_double.
27342 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
27343 (rint): Define using libm_alias_double.
27344 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
27345 (round): Define using libm_alias_double.
27346 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
27347 (trunc): Define using libm_alias_double.
27349 2017-11-27 Florian Weimer <fweimer@redhat.com>
27351 * sysdeps/unix/sysv/linux/mlock2.c: New file.
27352 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
27353 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
27354 (tests): Add tst-mlock2.
27355 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
27356 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
27357 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
27358 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
27359 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
27360 for mlock. Document mlock2.
27362 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27364 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
27365 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
27367 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
27369 * sysdeps/x86/Makeconfig: New file.
27370 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
27371 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27372 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
27373 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27374 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27375 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27376 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
27378 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27379 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27380 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27381 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27382 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27383 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27384 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27385 * manual/math.texi (Mathematics): Document support for _Float64x.
27386 * math/Versions (GLIBC_2.27): Add _Float64x functions.
27387 * stdlib/Versions (GLIBC_2.27): Likewise.
27388 * wcsmbs/Versions (GLIBC_2.27): Likewise.
27389 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27390 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27391 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27392 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27393 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27394 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27395 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27396 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27397 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27398 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27399 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
27402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27404 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27405 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27406 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27407 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27408 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27409 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27410 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27411 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27412 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27413 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27414 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27415 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27416 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27417 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27419 2017-11-27 Andreas Schwab <schwab@suse.de>
27421 * elf/Makefile (dl-routines): Add dl-sort-maps.
27422 * elf/dl-sort-maps.c: New file.
27423 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
27424 (_dl_sort_maps): Declare.
27425 * elf/dl-fini.c (_dl_sort_fini): Remove.
27426 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
27427 * elf/dl-close.c (_dl_close_worker): Likewise.
27428 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
27430 * elf/dl-open.c (dl_open_worker): Likewise.
27432 2017-11-24 Joseph Myers <joseph@codesourcery.com>
27434 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
27435 using libm_alias_float128.
27436 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
27438 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
27440 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
27441 (setpayloadsigf128): Likewise.
27442 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
27444 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
27447 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
27448 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
27449 -mfloat128 to CFLAGS.
27451 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
27453 (CFLAGS-libm-test-support-float64x.c): New variable.
27454 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
27455 $(f128-loader-link) to gnulib-tests.
27457 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
27458 (libm_alias_float128_other_r): If
27459 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
27461 (libm_alias_float128_r): Add semicolon after weak_alias call.
27462 * sysdeps/generic/libm-alias-ldouble.h
27463 (libm_alias_ldouble_other_r_f128): New macro.
27464 (libm_alias_ldouble_other_r_f64x): Likewise.
27465 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27466 and libm_alias_ldouble_other_r_f64x.
27467 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
27468 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27469 (libm_alias_ldouble_other_r_f128): New macro.
27470 (libm_alias_ldouble_other_r_f64x): Likewise.
27471 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27472 and libm_alias_ldouble_other_r_f64x.
27474 * stdlib/strfroml.c: Always include <stdlib.h>.
27475 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
27476 undefine as macro and define as weak alias.
27477 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
27478 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
27480 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
27481 Define and later undefine as macro and define as weak alias.
27483 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27484 Define and later undefine as macro. Define as weak alias if
27486 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
27487 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27488 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
27489 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27490 Define and later undefine as macro. Define as weak alias if
27492 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
27493 Define and later undefine as macro. Define as weak alias if
27495 * sysdeps/ieee754/float128/strtof128_l.c
27496 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
27497 Define and later undefine as macro. Define as weak alias if
27499 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
27500 Define and later undefine as macro. Define as weak alias if
27502 * sysdeps/ieee754/ldbl-128/strtold_l.c
27503 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27504 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27505 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27506 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27507 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
27508 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27509 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27510 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27511 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27512 * sysdeps/ieee754/ldbl-96/strtold_l.c
27513 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27514 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27515 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27516 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27518 * math/test-float64x.h: New file.
27519 * math/Makefile (type-float64x-yes): New variable.
27520 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
27522 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
27523 function-like macro.
27524 (min_of_type_): Likewise.
27525 (min_of_type_l): Likewise.
27526 (min_of_type_f128): Likewise.
27527 (min_of_type): Pass () as last argument of __MATH_TG.
27529 * stdlib/tst-strtod-round-skeleton.c
27530 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
27533 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
27534 for combinations of long double with _Float64 and _Float64x.
27536 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
27537 (__DECL_SIMD_cosf32): Likewise.
27538 (__DECL_SIMD_cosf64): Likewise.
27539 (__DECL_SIMD_cosf32x): Likewise.
27540 (__DECL_SIMD_cosf64x): Likewise.
27541 (__DECL_SIMD_cosf128x): Likewise.
27542 (__DECL_SIMD_sinf16): Likewise.
27543 (__DECL_SIMD_sinf32): Likewise.
27544 (__DECL_SIMD_sinf64): Likewise.
27545 (__DECL_SIMD_sinf32x): Likewise.
27546 (__DECL_SIMD_sinf64x): Likewise.
27547 (__DECL_SIMD_sinf128x): Likewise.
27548 (__DECL_SIMD_sincosf16): Likewise.
27549 (__DECL_SIMD_sincosf32): Likewise.
27550 (__DECL_SIMD_sincosf64): Likewise.
27551 (__DECL_SIMD_sincosf32x): Likewise.
27552 (__DECL_SIMD_sincosf64x): Likewise.
27553 (__DECL_SIMD_sincosf128x): Likewise.
27554 (__DECL_SIMD_logf16): Likewise.
27555 (__DECL_SIMD_logf32): Likewise.
27556 (__DECL_SIMD_logf64): Likewise.
27557 (__DECL_SIMD_logf32x): Likewise.
27558 (__DECL_SIMD_logf64x): Likewise.
27559 (__DECL_SIMD_logf128x): Likewise.
27560 (__DECL_SIMD_expf16): Likewise.
27561 (__DECL_SIMD_expf32): Likewise.
27562 (__DECL_SIMD_expf64): Likewise.
27563 (__DECL_SIMD_expf32x): Likewise.
27564 (__DECL_SIMD_expf64x): Likewise.
27565 (__DECL_SIMD_expf128x): Likewise.
27566 (__DECL_SIMD_powf16): Likewise.
27567 (__DECL_SIMD_powf32): Likewise.
27568 (__DECL_SIMD_powf64): Likewise.
27569 (__DECL_SIMD_powf32x): Likewise.
27570 (__DECL_SIMD_powf64x): Likewise.
27571 (__DECL_SIMD_powf128x): Likewise.
27573 * stdlib/Versions (libc): Move entries for wcstof128 and
27574 wcstof128_l to ....
27575 * wcsmbs/Versions (libc): ... here.
27576 Include <float128-abi.h>.
27578 2017-11-24 Florian Weimer <fweimer@redhat.com>
27580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27581 bits/mman-shared.h.
27582 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
27583 <bits/mman-shared.h>.
27584 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
27586 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
27587 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
27588 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
27589 <bits/mman-shared.h>.
27591 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27594 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
27595 posix_memalign/free.
27596 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
27598 2017-11-22 Mike FABIAN <mfabian@redhat.com>
27601 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
27602 and implement the collation rules for pl from CLDR on top of that.
27603 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
27604 of locales to be built for testing.
27605 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
27607 2017-11-23 Joseph Myers <joseph@codesourcery.com>
27609 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
27610 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
27611 libm_alias_ldouble_other.
27612 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
27613 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
27614 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
27615 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
27616 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
27617 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
27618 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
27619 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
27620 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
27621 libm_alias_ldouble_r.
27622 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
27623 libm_alias_ldouble_other.
27624 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
27625 (log10l): Likewise.
27626 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
27627 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
27628 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
27629 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
27630 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
27631 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
27632 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
27633 (atan2l): Likewise.
27634 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
27635 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
27636 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
27637 libm_alias_ldouble.
27638 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
27640 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
27641 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
27642 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
27644 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
27645 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
27646 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
27647 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
27648 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
27649 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
27650 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
27651 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
27652 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
27653 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
27654 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
27655 libm_alias_ldouble.
27656 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
27657 libm_alias_ldouble_other.
27658 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
27659 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
27660 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
27661 libm_alias_ldouble.
27662 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
27663 libm_alias_ldouble_other.
27664 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
27665 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
27666 * sysdeps/ia64/fpu/w_lgammal_main.c
27667 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
27668 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
27670 2017-11-23 Florian Weimer <fweimer@redhat.com>
27672 * malloc/malloc.c (tcache_thread_shutdown): Rename from
27673 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
27674 alike. Remove freeres marker.
27675 * malloc/arena.c (arena_thread_freeres): Call
27676 tcache_thread_shutdown.
27678 2017-11-23 Florian Weimer <fweimer@redhat.com>
27681 Export nscd hash function as __nss_hash.
27682 * include/nss.h (__nss_hash): Declare.
27683 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
27685 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
27686 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
27688 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
27689 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
27690 * nss/Makefiles (routines): Add nss_hash.
27691 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
27692 * nss/nss_hash.c: Rename from nis/nis_hash.c.
27693 (__nss_hash): Rename from __nis_hash. Define hidden alias.
27694 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
27696 2017-11-23 Florian Weimer <fweimer@redhat.com>
27699 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
27700 Return error code, not -1.
27701 * signal/tst-sigwait-eintr.c: New file.
27702 * signal/Makefile (tests): Add tst-sigwait-eintr.
27704 2017-11-23 Florian Weimer <fweimer@redhat.com>
27706 Linux: Add memfd_create system call wrapper
27707 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
27709 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
27710 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
27711 [__USE_GNU] (memfd_create): Declare.
27712 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
27713 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
27714 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
27715 * sysdeps/unix/sysv/linux/**.abilist: Update.
27716 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
27718 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27720 * localedata/gen-locale.sh: Fix typo in variable name.
27722 * resolv/res_debug.c (p_secstodate): Condition definition on
27723 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
27724 directly as __p_secstodate, and as a compat symbol. Do not use
27725 libresolv_hidden_def.
27726 * resolv/resolv.h (p_secstodate): Remove macro and function
27728 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
27729 using p_secstodate.
27730 * include/resolv.h (__p_secstodate): Do not use
27731 libresolv_hidden_proto.
27732 * resolv/Makefile (tests): Move tst-p_secstodate to ....
27733 (tests-internal): ... here.
27734 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
27735 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
27736 and declare and use __p_secstodate and use compat_symbol_reference
27738 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
27739 implementation returning 77.
27742 * resolv/res_debug.c: Include <libc-diag.h>.
27743 (p_secstodate): Assert time_t at least as wide as u_long. On
27744 overflow, use integer seconds since the epoch as output, or use
27745 "<overflow>" as output and set errno to EOVERFLOW if integer
27746 seconds since the epoch would be 14 or more characters.
27747 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
27749 * resolv/tst-p_secstodate.c: New file.
27750 * resolv/Makefile (tests): Add tst-p_secstodate.
27751 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
27753 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
27754 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27755 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
27757 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
27759 * posix/regcomp.c (init_word_char): Add comments.
27761 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27764 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
27765 strlen to compute length of ut_user and set trailing NUL byte of
27768 2017-11-21 Mike FABIAN <mfabian@redhat.com>
27771 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
27772 using “copy "iso14651_t1"” and then implementing the
27773 collation rules for lv from CLDR on top of that.
27774 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
27775 of locales to be built for testing.
27776 * lv_LV.UTF-8.in: New file with test data to test the Latvian
27779 2017-11-21 Joseph Myers <joseph@codesourcery.com>
27781 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27782 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
27783 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
27784 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
27785 [__USE_MISC] (MADV_HWPOISON): New macro.
27786 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
27788 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27790 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
27791 -Wmissing-braces on GCC 4.9.
27793 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27795 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
27796 * sysdeps/s390/s390-32/start.S (_start): Likewise
27797 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
27798 (thread_start): Likewise.
27799 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
27800 (thread_start): Likewise.
27801 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
27802 (__makecontext_ret): Likewise.
27803 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
27804 (__makecontext_ret): Likewise.
27806 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27808 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
27809 __wcschrnul): Remove attribute_hidden.
27811 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
27813 regex: don't assume uint64_t or uint32_t
27814 This avoids -Werror=overflow errors for 32-bit systems in
27815 the 64-bit case. Problem reported by Joseph Myers in:
27816 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
27817 Also, when this code is used in Gnulib it ports to platforms
27818 that lack uint64_t and uint32_t. The C standard doesn't guarantee
27819 them, and on some 32-bit compilers there is no uint64_t.
27820 Problem reported by Gianluigi Tiesi in:
27821 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
27822 * posix/regcomp.c (init_word_char): Don't assume that the types
27823 uint64_t and uint32_t exist. Adapted from Gnulib patch
27824 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
27825 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
27827 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
27829 * sysdeps/aarch64/memset-reg.h: New file.
27830 * sysdeps/aarch64/memset.S: Use it.
27831 (__memset): Rename to MEMSET macro.
27832 [ZVA_MACRO]: Use zva_macro.
27833 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
27834 Add memset_generic and memset_falkor.
27835 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27836 (__libc_ifunc_impl_list): Add memset ifuncs.
27837 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
27838 local variable zva_size.
27839 * sysdeps/aarch64/multiarch/memset.c: New file.
27840 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
27841 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
27842 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
27843 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
27844 (DCZID_DZP_MASK): New macro.
27845 (DCZID_BS_MASK): Likewise.
27846 (init_cpu_features): Read and set zva_size.
27847 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
27848 (struct cpu_features): New member zva_size.
27850 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
27851 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
27852 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
27854 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
27855 backwards. Fix timing computation.
27856 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
27857 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
27858 on memset by N at a time. Fix timing computation.
27860 2017-11-20 Florian Weimer <fweimer@redhat.com>
27862 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
27863 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
27865 2017-11-19 Florian Weimer <fweimer@redhat.com>
27867 manual: Document mprotect
27868 * manual/memory.texi (Memory Protection): New section.
27869 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
27870 documentation of PROT_* flags and reference the Memory Protection
27873 2017-11-19 Florian Weimer <fweimer@redhat.com>
27875 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
27876 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
27877 (Scatter-Gather): ... to here. Remove misleading comment.
27879 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
27881 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
27884 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
27885 when /proc/<pid>/setgroups does not exist.
27887 2017-11-18 Florian Weimer <fweimer@redhat.com>
27889 * sysdeps/unix/sysv/linux/tst-ttyname.c
27890 (become_root_in_mount_ns): Remove.
27891 (do_in_chroot_1): Call support_enter_mount_namespace.
27892 (do_in_chroot_2): Likewise.
27893 (do_test): Call support_become_root early.
27895 2017-11-18 Florian Weimer <fweimer@redhat.com>
27897 * support/namespace.h (support_enter_mount_namespace): Declare.
27898 * support/support_enter_mount_namespace.c: New file.
27899 * support/Makefile (libsupport-routines): Add
27900 support_enter_mount_namespace.
27902 2017-11-18 Florian Weimer <fweimer@redhat.com>
27904 * support/temp_file.c (support_create_temp_directory): Use
27905 test_dir and do not rely on the presence of the XXXXXX suffix.
27906 * support/temp_file.h (support_create_temp_directory): Update
27908 * support/tst-xreadlink.c (do_test): Adjust.
27909 * support/support_chroot.c (support_chroot_create): Likewise.
27911 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27913 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
27915 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
27918 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27920 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27921 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27922 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27923 (ceill): Define using libm_alias_ldouble.
27924 * sysdeps/x86_64/fpu/s_copysignl.S: Include
27925 <libm-alias-ldouble.h>.
27926 (copysignl): Define using libm_alias_ldouble.
27927 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27928 (fabsl): Define using libm_alias_ldouble.
27929 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27930 (floorl): Define using libm_alias_ldouble.
27931 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27932 (fmaxl): Define using libm_alias_ldouble.
27933 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27934 (fminl): Define using libm_alias_ldouble.
27935 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27936 (llrintl): Define using libm_alias_ldouble.
27937 (lrintl): Likewise.
27938 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
27939 <libm-alias-ldouble.h>.
27940 (nearbyintl): Define using libm_alias_ldouble.
27941 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27942 (truncl): Define using libm_alias_ldouble.
27943 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
27944 <libm-alias-ldouble.h>.
27945 (lrintl): Define using libm_alias_ldouble.
27947 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27948 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27949 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
27950 (asinhl): Define using libm_alias_ldouble.
27951 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
27952 (atanl): Define using libm_alias_ldouble.
27953 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
27954 (cbrtl): Define using libm_alias_ldouble.
27955 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27956 (ceill): Define using libm_alias_ldouble.
27957 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
27958 (copysignl): Define using libm_alias_ldouble.
27959 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27960 (fabsl): Define using libm_alias_ldouble.
27961 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27962 (floorl): Define using libm_alias_ldouble.
27963 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27964 (fmaxl): Define using libm_alias_ldouble.
27965 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27966 (fminl): Define using libm_alias_ldouble.
27967 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
27968 (frexpl): Define using libm_alias_ldouble.
27969 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27970 (llrintl): Define using libm_alias_ldouble.
27971 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
27972 (logbl): Define using libm_alias_ldouble.
27973 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
27974 (lrintl): Define using libm_alias_ldouble.
27975 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
27976 (nearbyintl): Define using libm_alias_ldouble.
27977 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
27978 (nextafterl): Define using libm_alias_ldouble.
27979 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
27980 (remquol): Define using libm_alias_ldouble.
27981 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
27982 (rintl): Define using libm_alias_ldouble.
27983 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27984 (truncl): Define using libm_alias_ldouble.
27985 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27986 (fmaxl): Define using libm_alias_ldouble.
27987 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27988 (fminl): Define using libm_alias_ldouble.
27990 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
27991 to C syntax instead of availability and properties of types.
27992 * bits/floatn.h [!__ASSEMBLER]: Likewise.
27993 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
27994 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
27995 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
27996 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
27997 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
27999 2017-11-17 Florian Weimer <fweimer@redhat.com>
28001 support_become_root: Enable file creation in namespaces.
28002 * support/support_become_root.c (setup_mapping): New function.
28003 (support_become_root): Call it.
28005 2017-11-17 Joseph Myers <joseph@codesourcery.com>
28007 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
28010 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28012 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
28013 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
28015 2017-11-16 Joseph Myers <joseph@codesourcery.com>
28017 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
28019 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28022 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28024 * INSTALL: Fix botched up regeneration.
28026 * NEWS: Update sourceare link to https.
28027 * configure.ac: Likewise.
28028 * crypt/md5test-giant.c: Likewise.
28029 * dlfcn/bug-atexit1.c: Likewise.
28030 * dlfcn/bug-atexit2.c: Likewise.
28031 * localedata/README: Likewise.
28032 * malloc/tst-mallocfork.c: Likewise.
28033 * manual/install.texi: Likewise.
28034 * nptl/tst-pthread-getattr.c: Likewise.
28035 * stdio-common/tst-fgets.c: Likewise.
28036 * stdio-common/tst-fwrite.c: Likewise.
28037 * sunrpc/Makefile: Likewise.
28038 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
28039 * wcsmbs/tst-mbrtowc2.c: Likewise.
28040 * configure: Regenerate.
28041 * INSTALL: Regenerate.
28043 2017-11-15 Martin Sebor <msebor@redhat.com>
28045 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
28046 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
28047 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
28049 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28052 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
28053 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
28056 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
28057 Defer is_pty check until end of the function.
28058 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28061 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
28062 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
28063 (ttyname): Likewise.
28064 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28065 (__ttyname_r): Likewise.
28067 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
28070 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
28072 * manual/terminal.texi (Is It a Terminal):
28073 Mention ENODEV for ttyname and ttyname_r.
28075 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28077 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
28078 constant and macro.
28080 * sysdeps/unix/sysv/linux/bits/mman-linux.h
28081 [__USE_MISC] (MADV_WIPEONFORK): New macro.
28082 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28083 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
28084 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
28085 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28087 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28089 * signal/sigrelse.c (sigrelse): Optimize implementation.
28091 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
28092 (__sigpause): Rely on __sigsuspend to implement single thread
28093 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
28095 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28097 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28098 kernel version to 4.14.
28100 2017-11-15 Steve Ellcey <sellcey@cavium.com>
28103 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
28104 Check if ifname is too long.
28106 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28108 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
28110 2017-11-15 Mike FABIAN <mfabian@redhat.com>
28112 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
28113 was accidentally lost.
28115 2017-11-15 Mike FABIAN <mfabian@redhat.com>
28117 * localedata/locales/az_IR: Add standard copyright header.
28119 2017-11-15 Florian Weimer <fweimer@redhat.com>
28122 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
28123 not just the top one. Output a new "subheaps" statistic.
28125 2017-11-15 Florian Weimer <fweimer@redhat.com>
28128 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
28129 under the per-arena lock.
28130 * malloc/Makefile (tests): Add tst-malloc_info.
28131 (tst-malloc_info): Link with libpthread.
28132 * malloc/tst-malloc_info.c: New file.
28134 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28137 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
28138 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
28139 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
28140 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
28141 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
28142 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
28143 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
28144 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
28145 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
28146 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
28147 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
28148 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
28149 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
28150 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
28151 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
28152 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
28153 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
28154 (__floating_type): Likewise.
28155 (__real_integer_type): Likewise.
28156 (__complex_integer_type): Likewise.
28157 (__expr_is_real): Likewise.
28158 (__tgmath_real_type_sub): Likewise.
28159 (__tgmath_real_type): Likewise.
28160 (__tgmath_complex_type_sub): Likewise.
28161 (__tgmath_complex_type): Likewise.
28162 (__TGMATH_F128): Likewise.
28163 (__TGMATH_CF128): Likewise.
28164 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
28166 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
28167 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
28169 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
28171 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
28172 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
28173 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
28174 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
28176 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
28177 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
28179 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
28180 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
28181 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
28183 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
28184 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
28185 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
28189 2017-11-14 Joseph Myers <joseph@codesourcery.com>
28191 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
28192 for stpncpy calls for GCC 8.
28193 (test_strncat): Disable -Wstringop-truncation warning for strncat
28194 calls for GCC 8. Disable -Wstringop-overflow= warning for one
28195 strncat call for GCC 7.
28196 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
28198 (test_memcmp): Use memcpy instead of strncpy for calls not copying
28201 * string/bug-strncat1.c: Include <libc-diag.h>.
28202 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
28204 2017-11-13 Claude Paroz <claude@2xlibre.net>
28207 * localedata/locales/aa_DJ: Improved readibility by replacing
28208 <Uxxxx> sequences in the ASCII printable range by their ASCII
28209 character equivalents.
28210 * localedata/locales/aa_ER: Likewise.
28211 * localedata/locales/aa_ER@saaho: Likewise.
28212 * localedata/locales/aa_ET: Likewise.
28213 * localedata/locales/af_ZA: Likewise.
28214 * localedata/locales/agr_PE: Likewise.
28215 * localedata/locales/ak_GH: Likewise.
28216 * localedata/locales/am_ET: Likewise.
28217 * localedata/locales/anp_IN: Likewise.
28218 * localedata/locales/ar_AE: Likewise.
28219 * localedata/locales/ar_BH: Likewise.
28220 * localedata/locales/ar_DZ: Likewise.
28221 * localedata/locales/ar_EG: Likewise.
28222 * localedata/locales/ar_IN: Likewise.
28223 * localedata/locales/ar_IQ: Likewise.
28224 * localedata/locales/ar_JO: Likewise.
28225 * localedata/locales/ar_KW: Likewise.
28226 * localedata/locales/ar_LB: Likewise.
28227 * localedata/locales/ar_LY: Likewise.
28228 * localedata/locales/ar_MA: Likewise.
28229 * localedata/locales/ar_OM: Likewise.
28230 * localedata/locales/ar_QA: Likewise.
28231 * localedata/locales/ar_SA: Likewise.
28232 * localedata/locales/ar_SD: Likewise.
28233 * localedata/locales/ar_SS: Likewise.
28234 * localedata/locales/ar_SY: Likewise.
28235 * localedata/locales/ar_TN: Likewise.
28236 * localedata/locales/ar_YE: Likewise.
28237 * localedata/locales/as_IN: Likewise.
28238 * localedata/locales/ast_ES: Likewise.
28239 * localedata/locales/ayc_PE: Likewise.
28240 * localedata/locales/az_AZ: Likewise.
28241 * localedata/locales/az_IR: Likewise.
28242 * localedata/locales/be_BY: Likewise.
28243 * localedata/locales/be_BY@latin: Likewise.
28244 * localedata/locales/bem_ZM: Likewise.
28245 * localedata/locales/ber_DZ: Likewise.
28246 * localedata/locales/ber_MA: Likewise.
28247 * localedata/locales/bg_BG: Likewise.
28248 * localedata/locales/bhb_IN: Likewise.
28249 * localedata/locales/bho_IN: Likewise.
28250 * localedata/locales/bi_VU: Likewise.
28251 * localedata/locales/bn_BD: Likewise.
28252 * localedata/locales/bn_IN: Likewise.
28253 * localedata/locales/bo_CN: Likewise.
28254 * localedata/locales/bo_IN: Likewise.
28255 * localedata/locales/br_FR: Likewise.
28256 * localedata/locales/brx_IN: Likewise.
28257 * localedata/locales/bs_BA: Likewise.
28258 * localedata/locales/byn_ER: Likewise.
28259 * localedata/locales/ca_AD: Likewise.
28260 * localedata/locales/ca_ES: Likewise.
28261 * localedata/locales/ca_FR: Likewise.
28262 * localedata/locales/ca_IT: Likewise.
28263 * localedata/locales/ce_RU: Likewise.
28264 * localedata/locales/chr_US: Likewise.
28265 * localedata/locales/cmn_TW: Likewise.
28266 * localedata/locales/crh_UA: Likewise.
28267 * localedata/locales/cs_CZ: Likewise.
28268 * localedata/locales/csb_PL: Likewise.
28269 * localedata/locales/cv_RU: Likewise.
28270 * localedata/locales/cy_GB: Likewise.
28271 * localedata/locales/da_DK: Likewise.
28272 * localedata/locales/de_AT: Likewise.
28273 * localedata/locales/de_BE: Likewise.
28274 * localedata/locales/de_CH: Likewise.
28275 * localedata/locales/de_DE: Likewise.
28276 * localedata/locales/de_IT: Likewise.
28277 * localedata/locales/de_LI: Likewise.
28278 * localedata/locales/de_LU: Likewise.
28279 * localedata/locales/doi_IN: Likewise.
28280 * localedata/locales/dv_MV: Likewise.
28281 * localedata/locales/dz_BT: Likewise.
28282 * localedata/locales/el_CY: Likewise.
28283 * localedata/locales/el_GR: Likewise.
28284 * localedata/locales/en_AG: Likewise.
28285 * localedata/locales/en_AU: Likewise.
28286 * localedata/locales/en_BW: Likewise.
28287 * localedata/locales/en_CA: Likewise.
28288 * localedata/locales/en_DK: Likewise.
28289 * localedata/locales/en_GB: Likewise.
28290 * localedata/locales/en_HK: Likewise.
28291 * localedata/locales/en_IE: Likewise.
28292 * localedata/locales/en_IL: Likewise.
28293 * localedata/locales/en_IN: Likewise.
28294 * localedata/locales/en_NG: Likewise.
28295 * localedata/locales/en_NZ: Likewise.
28296 * localedata/locales/en_PH: Likewise.
28297 * localedata/locales/en_SG: Likewise.
28298 * localedata/locales/en_US: Likewise.
28299 * localedata/locales/en_ZA: Likewise.
28300 * localedata/locales/en_ZM: Likewise.
28301 * localedata/locales/en_ZW: Likewise.
28302 * localedata/locales/eo: Likewise.
28303 * localedata/locales/es_AR: Likewise.
28304 * localedata/locales/es_BO: Likewise.
28305 * localedata/locales/es_CL: Likewise.
28306 * localedata/locales/es_CO: Likewise.
28307 * localedata/locales/es_CR: Likewise.
28308 * localedata/locales/es_CU: Likewise.
28309 * localedata/locales/es_DO: Likewise.
28310 * localedata/locales/es_EC: Likewise.
28311 * localedata/locales/es_ES: Likewise.
28312 * localedata/locales/es_GT: Likewise.
28313 * localedata/locales/es_HN: Likewise.
28314 * localedata/locales/es_MX: Likewise.
28315 * localedata/locales/es_NI: Likewise.
28316 * localedata/locales/es_PA: Likewise.
28317 * localedata/locales/es_PE: Likewise.
28318 * localedata/locales/es_PR: Likewise.
28319 * localedata/locales/es_PY: Likewise.
28320 * localedata/locales/es_SV: Likewise.
28321 * localedata/locales/es_US: Likewise.
28322 * localedata/locales/es_UY: Likewise.
28323 * localedata/locales/es_VE: Likewise.
28324 * localedata/locales/et_EE: Likewise.
28325 * localedata/locales/eu_ES: Likewise.
28326 * localedata/locales/eu_ES@euro: Likewise.
28327 * localedata/locales/fa_IR: Likewise.
28328 * localedata/locales/ff_SN: Likewise.
28329 * localedata/locales/fi_FI: Likewise.
28330 * localedata/locales/fil_PH: Likewise.
28331 * localedata/locales/fo_FO: Likewise.
28332 * localedata/locales/fr_BE: Likewise.
28333 * localedata/locales/fr_CA: Likewise.
28334 * localedata/locales/fr_CH: Likewise.
28335 * localedata/locales/fr_FR: Likewise.
28336 * localedata/locales/fr_LU: Likewise.
28337 * localedata/locales/fur_IT: Likewise.
28338 * localedata/locales/fy_DE: Likewise.
28339 * localedata/locales/fy_NL: Likewise.
28340 * localedata/locales/ga_IE: Likewise.
28341 * localedata/locales/gd_GB: Likewise.
28342 * localedata/locales/gez_ER: Likewise.
28343 * localedata/locales/gez_ET: Likewise.
28344 * localedata/locales/gl_ES: Likewise.
28345 * localedata/locales/gu_IN: Likewise.
28346 * localedata/locales/gv_GB: Likewise.
28347 * localedata/locales/ha_NG: Likewise.
28348 * localedata/locales/hak_TW: Likewise.
28349 * localedata/locales/he_IL: Likewise.
28350 * localedata/locales/hi_IN: Likewise.
28351 * localedata/locales/hif_FJ: Likewise.
28352 * localedata/locales/hne_IN: Likewise.
28353 * localedata/locales/hr_HR: Likewise.
28354 * localedata/locales/hsb_DE: Likewise.
28355 * localedata/locales/ht_HT: Likewise.
28356 * localedata/locales/hu_HU: Likewise.
28357 * localedata/locales/hy_AM: Likewise.
28358 * localedata/locales/i18n: Likewise.
28359 * localedata/locales/ia_FR: Likewise.
28360 * localedata/locales/id_ID: Likewise.
28361 * localedata/locales/ig_NG: Likewise.
28362 * localedata/locales/ik_CA: Likewise.
28363 * localedata/locales/is_IS: Likewise.
28364 * localedata/locales/it_CH: Likewise.
28365 * localedata/locales/it_IT: Likewise.
28366 * localedata/locales/iu_CA: Likewise.
28367 * localedata/locales/ja_JP: Likewise.
28368 * localedata/locales/ka_GE: Likewise.
28369 * localedata/locales/kk_KZ: Likewise.
28370 * localedata/locales/kl_GL: Likewise.
28371 * localedata/locales/kn_IN: Likewise.
28372 * localedata/locales/ko_KR: Likewise.
28373 * localedata/locales/kok_IN: Likewise.
28374 * localedata/locales/ks_IN: Likewise.
28375 * localedata/locales/ks_IN@devanagari: Likewise.
28376 * localedata/locales/ku_TR: Likewise.
28377 * localedata/locales/kw_GB: Likewise.
28378 * localedata/locales/ky_KG: Likewise.
28379 * localedata/locales/lb_LU: Likewise.
28380 * localedata/locales/lg_UG: Likewise.
28381 * localedata/locales/li_BE: Likewise.
28382 * localedata/locales/li_NL: Likewise.
28383 * localedata/locales/lij_IT: Likewise.
28384 * localedata/locales/ln_CD: Likewise.
28385 * localedata/locales/lo_LA: Likewise.
28386 * localedata/locales/lt_LT: Likewise.
28387 * localedata/locales/lv_LV: Likewise.
28388 * localedata/locales/lzh_TW: Likewise.
28389 * localedata/locales/mag_IN: Likewise.
28390 * localedata/locales/mai_IN: Likewise.
28391 * localedata/locales/mg_MG: Likewise.
28392 * localedata/locales/mhr_RU: Likewise.
28393 * localedata/locales/mi_NZ: Likewise.
28394 * localedata/locales/mk_MK: Likewise.
28395 * localedata/locales/ml_IN: Likewise.
28396 * localedata/locales/mn_MN: Likewise.
28397 * localedata/locales/mni_IN: Likewise.
28398 * localedata/locales/mr_IN: Likewise.
28399 * localedata/locales/ms_MY: Likewise.
28400 * localedata/locales/mt_MT: Likewise.
28401 * localedata/locales/my_MM: Likewise.
28402 * localedata/locales/nan_TW: Likewise.
28403 * localedata/locales/nan_TW@latin: Likewise.
28404 * localedata/locales/nb_NO: Likewise.
28405 * localedata/locales/nds_DE: Likewise.
28406 * localedata/locales/nds_NL: Likewise.
28407 * localedata/locales/ne_NP: Likewise.
28408 * localedata/locales/nhn_MX: Likewise.
28409 * localedata/locales/niu_NU: Likewise.
28410 * localedata/locales/niu_NZ: Likewise.
28411 * localedata/locales/nl_AW: Likewise.
28412 * localedata/locales/nl_BE: Likewise.
28413 * localedata/locales/nl_NL: Likewise.
28414 * localedata/locales/nn_NO: Likewise.
28415 * localedata/locales/nr_ZA: Likewise.
28416 * localedata/locales/nso_ZA: Likewise.
28417 * localedata/locales/oc_FR: Likewise.
28418 * localedata/locales/om_ET: Likewise.
28419 * localedata/locales/om_KE: Likewise.
28420 * localedata/locales/or_IN: Likewise.
28421 * localedata/locales/os_RU: Likewise.
28422 * localedata/locales/pa_IN: Likewise.
28423 * localedata/locales/pa_PK: Likewise.
28424 * localedata/locales/pap_AW: Likewise.
28425 * localedata/locales/pap_CW: Likewise.
28426 * localedata/locales/pl_PL: Likewise.
28427 * localedata/locales/ps_AF: Likewise.
28428 * localedata/locales/pt_BR: Likewise.
28429 * localedata/locales/pt_PT: Likewise.
28430 * localedata/locales/quz_PE: Likewise.
28431 * localedata/locales/raj_IN: Likewise.
28432 * localedata/locales/ro_RO: Likewise.
28433 * localedata/locales/ru_RU: Likewise.
28434 * localedata/locales/ru_UA: Likewise.
28435 * localedata/locales/rw_RW: Likewise.
28436 * localedata/locales/sa_IN: Likewise.
28437 * localedata/locales/sat_IN: Likewise.
28438 * localedata/locales/sc_IT: Likewise.
28439 * localedata/locales/sd_IN: Likewise.
28440 * localedata/locales/sd_IN@devanagari: Likewise.
28441 * localedata/locales/se_NO: Likewise.
28442 * localedata/locales/sgs_LT: Likewise.
28443 * localedata/locales/shs_CA: Likewise.
28444 * localedata/locales/si_LK: Likewise.
28445 * localedata/locales/sid_ET: Likewise.
28446 * localedata/locales/sk_SK: Likewise.
28447 * localedata/locales/sl_SI: Likewise.
28448 * localedata/locales/sm_WS: Likewise.
28449 * localedata/locales/so_DJ: Likewise.
28450 * localedata/locales/so_ET: Likewise.
28451 * localedata/locales/so_KE: Likewise.
28452 * localedata/locales/so_SO: Likewise.
28453 * localedata/locales/sq_AL: Likewise.
28454 * localedata/locales/sq_MK: Likewise.
28455 * localedata/locales/sr_ME: Likewise.
28456 * localedata/locales/sr_RS: Likewise.
28457 * localedata/locales/sr_RS@latin: Likewise.
28458 * localedata/locales/ss_ZA: Likewise.
28459 * localedata/locales/st_ZA: Likewise.
28460 * localedata/locales/sv_FI: Likewise.
28461 * localedata/locales/sv_SE: Likewise.
28462 * localedata/locales/sw_KE: Likewise.
28463 * localedata/locales/sw_TZ: Likewise.
28464 * localedata/locales/szl_PL: Likewise.
28465 * localedata/locales/ta_IN: Likewise.
28466 * localedata/locales/ta_LK: Likewise.
28467 * localedata/locales/tcy_IN: Likewise.
28468 * localedata/locales/te_IN: Likewise.
28469 * localedata/locales/tg_TJ: Likewise.
28470 * localedata/locales/th_TH: Likewise.
28471 * localedata/locales/the_NP: Likewise.
28472 * localedata/locales/ti_ER: Likewise.
28473 * localedata/locales/ti_ET: Likewise.
28474 * localedata/locales/tig_ER: Likewise.
28475 * localedata/locales/tk_TM: Likewise.
28476 * localedata/locales/tl_PH: Likewise.
28477 * localedata/locales/tn_ZA: Likewise.
28478 * localedata/locales/to_TO: Likewise.
28479 * localedata/locales/tpi_PG: Likewise.
28480 * localedata/locales/tr_CY: Likewise.
28481 * localedata/locales/tr_TR: Likewise.
28482 * localedata/locales/ts_ZA: Likewise.
28483 * localedata/locales/tt_RU: Likewise.
28484 * localedata/locales/tt_RU@iqtelif: Likewise.
28485 * localedata/locales/ug_CN: Likewise.
28486 * localedata/locales/uk_UA: Likewise.
28487 * localedata/locales/unm_US: Likewise.
28488 * localedata/locales/ur_IN: Likewise.
28489 * localedata/locales/ur_PK: Likewise.
28490 * localedata/locales/uz_UZ: Likewise.
28491 * localedata/locales/uz_UZ@cyrillic: Likewise.
28492 * localedata/locales/ve_ZA: Likewise.
28493 * localedata/locales/vi_VN: Likewise.
28494 * localedata/locales/wa_BE: Likewise.
28495 * localedata/locales/wae_CH: Likewise.
28496 * localedata/locales/wal_ET: Likewise.
28497 * localedata/locales/wo_SN: Likewise.
28498 * localedata/locales/xh_ZA: Likewise.
28499 * localedata/locales/yi_US: Likewise.
28500 * localedata/locales/yo_NG: Likewise.
28501 * localedata/locales/yue_HK: Likewise.
28502 * localedata/locales/yuw_PG: Likewise.
28503 * localedata/locales/zh_CN: Likewise.
28504 * localedata/locales/zh_HK: Likewise.
28505 * localedata/locales/zh_SG: Likewise.
28506 * localedata/locales/zh_TW: Likewise.
28507 * localedata/locales/zu_ZA: Likewise.
28509 2017-11-13 Florian Weimer <fweimer@redhat.com>
28511 * support/next_to_fault.h, support/next_to_fault.c: New files.
28512 * support/Makefile (libsupport-routines): Add next_to_fault.
28513 * resolv/tst-inet_pton.c (struct next_to_fault)
28514 (next_to_fault_allocate, next_to_fault_free): Remove.
28515 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
28517 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
28519 * elf/dl-support.c: Include <dl-procruntime.c>.
28520 * include/link.h: Include <link_map.h>.
28521 * sysdeps/generic/dl-procruntime.c: New file.
28522 * sysdeps/generic/link_map.h: Likewise.
28523 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
28524 the writable ld.so namespace.
28526 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
28528 timezone: pacify GCC -Wstringop-truncation
28529 Problem reported by Martin Sebor in:
28530 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
28531 * timezone/zic.c (writezone): Use memcpy, not strncpy.
28533 2017-11-12 Florian Weimer <fweimer@redhat.com>
28535 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
28537 (tests): Add tst-xreadlink.
28538 * support/support.h (xstrndup): Declare.
28539 * support/xunistd.h (xunlink, xreadlink): Declare.
28540 * support/temp_file.h (support_create_temp_directory): Declare.
28541 * support/temp_file.c (support_create_temp_directory): New function.
28542 * support/support_chroot.c (support_chroot_create): Use it.
28543 * support/xreadlink.c: New file.
28544 * support/xstrndup.c: Likewise.
28545 * support/xunlink.c: Likewise.
28546 * support/tst-xreadlink.c: Likewise.
28548 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
28550 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
28552 2017-11-11 Florian Weimer <fweimer@redhat.com>
28556 * resolv/res_comp.c (printable_string, binary_hnok)
28557 (binary_leading_dash): New functions.
28558 (res_hnok): Reimplement using these functions and ns_name_pton.
28559 (res_ownok): Likewise.
28560 (res_mailok): Reimplement using printable_string, ns_name_pton and
28562 (res_dnok): Reimplement using printable_string and ns_name_pton.
28563 * resolv/tst-res_hnok.c (tests): Add additional tests.
28564 (LETTERDIGITS, PRINTABLE): Define.
28565 (do_test): Adjust one_char results.
28567 2017-11-11 Florian Weimer <fweimer@redhat.com>
28570 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
28571 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
28573 2017-11-11 Florian Weimer <fweimer@redhat.com>
28575 * resolv/tst-ns_name_pton.c: New file.
28576 * resolv/Makefile (tests): Add tst-ns_name_pton.
28577 (tst-ns_name_pton): Link against libresolv.
28579 2017-11-11 Florian Weimer <fweimer@redhat.com>
28581 * resolv/tst-res_hnok.c: New file.
28582 * resolv/Makefile (tests): Add tst-res_hnok.
28583 (tst-res_hnok): Link against libresolv.
28585 2017-11-11 Florian Weimer <fweimer@redhat.com>
28587 * resolv/tst-resolv-network.c: Use test framework instead explicit
28590 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
28592 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
28593 <jmp_buf-macros.h>.
28594 [!_ISOMAC] (STR_HELPER): New.
28595 [!_ISOMAC] (STR): Likewise.
28596 [!_ISOMAC] (TEST_SIZE): Likewise.
28597 [!_ISOMAC] (TEST_ALIGN): Likewise.
28598 [!_ISOMAC] (TEST_OFFSET): Likewise.
28599 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
28600 field offsets of jmp_buf as well as sigjmp_buf.
28601 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
28602 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
28603 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
28604 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
28605 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
28606 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
28607 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
28608 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
28609 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
28610 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
28612 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
28614 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
28615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
28617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
28619 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
28620 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
28621 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
28622 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
28623 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
28624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
28626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
28628 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
28629 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
28630 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
28632 2017-11-07 Joseph Myers <joseph@codesourcery.com>
28635 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28636 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
28637 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28638 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
28639 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28640 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
28641 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28642 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
28643 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28644 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
28645 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28646 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
28647 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28648 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
28649 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28650 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
28651 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28652 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
28653 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28654 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
28655 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28656 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
28657 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28658 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
28659 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28660 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
28661 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28662 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
28663 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28664 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
28665 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28666 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
28667 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28668 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
28669 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28670 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
28671 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28672 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
28673 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28674 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
28675 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28676 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
28677 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28678 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
28679 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28680 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
28681 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28682 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
28683 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28684 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
28685 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28686 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
28687 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28688 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
28689 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28690 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
28691 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28692 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
28693 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28694 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
28695 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28696 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
28697 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28698 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
28699 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28700 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
28701 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28702 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
28703 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28704 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
28705 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28706 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
28707 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28708 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
28709 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28710 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
28711 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28712 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
28713 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28714 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
28715 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28716 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
28717 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28718 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
28719 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28720 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
28721 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28722 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
28724 * stdlib/tst-strtod.h (F16): New macro.
28730 (IF_FLOAT16): Likewise.
28731 (IF_FLOAT32): Likewise.
28732 (IF_FLOAT64): Likewise.
28733 (IF_FLOAT32X): Likewise.
28734 (IF_FLOAT64X): Likewise.
28735 (IF_FLOAT128X): Likewise.
28736 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
28737 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
28738 (STRTOD_TEST_FOREACH): Likewise.
28739 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
28740 (CHOOSE_f64): Likewise.
28741 (CHOOSE_f32x): Likewise.
28742 (CHOOSE_f64x): Likewise.
28744 2017-11-07 Andreas Schwab <schwab@suse.de>
28746 * nptl/Makefile (tests-internal): Remove tst-typesizes.
28748 2017-11-07 Mike FABIAN <mfabian@redhat.com>
28751 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
28753 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
28756 2017-11-07 Claude Paroz <claude@2xlibre.net>
28759 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
28761 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
28763 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
28766 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28769 * nptl/allocatestack.c (allocate_stack): Check if
28770 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
28771 __PTHREAD_MUTEX_HAVE_PREV is defined.
28772 * nptl/descr.h (pthread): Likewise.
28773 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28775 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28776 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28777 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
28778 * sysdeps/nptl/bits/thread-shared-types.h
28779 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28781 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
28782 of __WORDSIZE for internal layout.
28783 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
28784 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
28785 instead of __WORDSIZE whether to use an union for __spins and __list
28787 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
28789 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
28790 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28792 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
28793 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28795 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
28796 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28798 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
28799 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28801 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
28802 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28804 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
28805 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28807 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
28808 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28810 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
28811 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28813 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
28814 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28816 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
28817 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28819 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
28820 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28822 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
28823 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28825 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
28826 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28828 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
28829 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28831 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
28832 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28835 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
28837 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
28838 checks for expected input type size.
28839 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28840 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28842 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28843 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
28844 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28845 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
28846 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28847 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
28848 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
28849 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
28850 superflous runtime assert check.
28851 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
28853 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
28855 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
28857 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
28859 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
28861 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
28863 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
28864 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
28865 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
28867 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
28869 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
28871 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
28873 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
28875 * nptl/pthread_attr_setinheritsched.c
28876 (__pthread_attr_setinheritsched): Likewise.
28877 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
28879 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
28881 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
28882 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
28883 __old_pthread_attr_setstack): Likewise.
28884 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
28886 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
28888 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
28890 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
28891 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
28893 * nptl/tst-typesizes.c: Remove file.
28895 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
28896 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
28897 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
28898 checks for internal pthread_mutex_t offsets.
28899 * sysdeps/aarch64/nptl/pthread-offsets.h
28900 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
28901 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
28902 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
28903 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
28904 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
28905 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
28906 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
28907 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
28908 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
28909 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
28910 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
28911 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
28912 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
28913 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
28914 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
28915 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
28916 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
28917 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
28919 2017-11-07 Florian Weimer <fweimer@redhat.com>
28921 * bits/mman-linux.h: Move ...
28922 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
28924 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
28927 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28929 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
28930 Redefine STRNLEN as __strnlen_power8.
28932 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28934 * signal/sighold.c (sighold): Optimize implementation.
28936 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
28937 __NR_rt_sigqueueinfo.
28939 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28941 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
28942 assume __NR_rt_sigtimedwait.
28943 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
28944 and add LIBC_CANCEL_HANDLED for cancellation marking.
28945 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28947 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28948 (sysdeps_routines): Add memchr_noneon.
28949 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
28950 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
28951 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
28952 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
28953 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
28954 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
28955 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
28957 * sysdeps/arm/arm-ifunc.h: New file.
28958 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
28959 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
28960 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
28961 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
28962 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
28963 (__memcpy_neon): Avoid create hidden alias.
28964 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
28965 (__memcpy_vfp): Likewise.
28966 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28967 (sysdep_routines): Add memcpy_arm.
28968 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
28970 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
28973 * Makerules (make-link-multidir): New.
28974 * config.make.in (multidir): New.
28975 * configure.ac (libc_cv_multidir): New. AC_SUBST.
28976 * configure: Regenerated.
28977 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
28978 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
28979 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
28982 2017-11-06 Joseph Myers <joseph@codesourcery.com>
28985 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
28986 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
28988 2017-11-04 Mike FABIAN <mfabian@redhat.com>
28990 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
28993 2017-11-04 Florian Weimer <fweimer@redhat.com>
28995 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
28997 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28999 * math/math.h [__HAVE_DISTINCT_FLOAT16
29000 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
29001 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
29002 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
29003 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
29004 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
29005 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
29006 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29007 (__MATH_TG_F32): New macro.
29008 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29009 (__MATH_TG_F64X): Likewise.
29010 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29011 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
29013 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
29015 * po/de.po: Update translations.
29016 * po/ru.po: Likewise.
29018 2017-11-03 Florian Weimer <fweimer@redhat.com>
29020 * manual/filesys.texi (Hard Links): Document linkat.
29022 2017-11-03 Joseph Myers <joseph@codesourcery.com>
29024 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
29025 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
29026 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
29027 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
29028 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29029 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29030 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
29031 the same as _Float128.
29032 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29033 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29034 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
29037 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
29039 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
29041 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
29043 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29044 (strtof32x): Likewise.
29045 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29046 (strtof64x): Likewise.
29047 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29048 (strtof128x): Likewise.
29049 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29050 (strfromf16): Likewise.
29051 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29052 (strfromf32): Likewise.
29053 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29054 (strfromf64): Likewise.
29055 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29056 (strfromf32x): Likewise.
29057 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29058 (strfromf64x): Likewise.
29059 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29060 (strfromf128x): Likewise.
29061 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
29062 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
29063 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
29064 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
29065 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
29066 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
29068 2017-11-03 Richard Henderson <rth@twiddle.net>
29070 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
29072 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29074 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
29076 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29078 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
29079 DT_TLSDESC_GOT initialization.
29080 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
29081 (_dl_tlsdesc_resolve_hold): Likewise.
29082 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
29083 (_dl_tlsdesc_resolve_hold): Likewise.
29084 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
29085 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29087 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29089 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
29091 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29094 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
29095 non-lazily for R_ARM_TLS_DESC.
29097 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29100 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
29101 R_ARM_TLS_DESC case.
29102 (elf_machine_lazy_rel): Remove the prelink check.
29104 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29106 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
29107 DT_TLSDESC_GOT initialization.
29108 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
29109 (_dl_tlsdesc_resolve_rela): Likewise.
29110 (_dl_tlsdesc_resolve_hold): Likewise.
29111 (_dl_tlsdesc_undefweak): Remove ldar.
29112 (_dl_tlsdesc_dynamic): Likewise.
29113 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
29114 (_dl_tlsdesc_resolve_rela): Likewise.
29115 (_dl_tlsdesc_resolve_hold): Likewise.
29116 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
29117 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29118 (_dl_tlsdesc_resolve_rela): Likewise.
29119 (_dl_tlsdesc_resolve_hold): Likewise.
29121 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29123 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
29124 binding and initialization non-lazily for R_AARCH64_TLSDESC.
29126 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29128 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
29129 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29131 2017-11-02 Joseph Myers <joseph@codesourcery.com>
29133 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
29135 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
29136 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
29137 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
29138 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
29139 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
29140 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
29141 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
29142 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
29143 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
29144 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
29145 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
29147 2017-11-02 Mike FABIAN <mfabian@redhat.com>
29150 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
29151 * localedata/locales/tpi_PG: Add standard header.
29153 2017-11-02 Florian Weimer <fweimer@redhat.com>
29155 test-errno-linux: quotactl can fail with EPERM in containers.
29156 * sysdeps/unix/sysv/linux/test-errno-linux.c
29157 (LIST, LIST_FORWARD): New macros.
29158 (check_error_in_list): New function.
29159 (test_wrp_rv): Accept list of permitted error codes.
29160 (test_wrp_rv2): Remove.
29161 (test_wrp): Call test_wrp_rv with list of error codes.
29162 (test_wrp2): Accept list of error codes.
29163 (do_test): Adjust. Allow EPERM for quotactl.
29165 2017-11-02 Florian Weimer <fweimer@redhat.com>
29167 * stdio-common/bug16.c (do_test): Use array_length.
29168 * stdio-common/errlist.c (_sys_nerr): Likewise.
29169 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
29170 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
29171 * stdio-common/psiginfo.c (psiginfo): Use array_length.
29172 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
29173 (do_test): Use array_length.
29174 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
29175 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
29176 * stdio-common/tst-printf-round.c (do_test): Likewise.
29177 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
29178 (CHECK): Use array_length.
29179 * stdio-common/tstdiomisc.c (t3, F): Likewise.
29180 * stdio-common/tstscanf.c (main): Likewise.
29181 * stdio-common/vfprintf.c (process_string_arg): Likewise.
29183 2017-11-02 Florian Weimer <fweimer@redhat.com>
29185 Add array_length and array_end macros.
29186 * include/array_length.h: New file.
29188 2017-11-02 Florian Weimer <fweimer@redhat.com>
29191 * posix/tst-glob-tilde.c (do_noescape): New variable.
29192 (one_test): Process it.
29193 (do_test): Set do_noescape. Add unescaping test case.
29195 2017-11-01 Joseph Myers <joseph@codesourcery.com>
29198 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
29199 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
29200 with appropriate macros defined and undefined.
29201 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
29202 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29203 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
29204 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29205 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
29206 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29207 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
29208 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29209 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
29210 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29213 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
29214 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
29215 that for long double. Do not condition define and undefine of
29216 _Mdouble_complex_ on [__CFLOAT128].
29218 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
29220 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29221 of <sysdeps/generic/sysdep.h>.
29222 (ALIGNARG): Removed.
29223 (ASM_SIZE_DIRECTIVE): Likewise.
29226 (ENTRY_CHK): Likewise.
29227 (END_CHK): Likewise.
29228 (syscall_error): Likewise.
29229 (mcount): Likewise.
29230 (PSEUDO_END): Likewise.
29232 (atom_text_section): Likewise.
29233 * sysdeps/x86/sysdep.h: New file.
29234 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29235 of <sysdeps/generic/sysdep.h>.
29236 (ALIGNARG): Removed.
29237 (ASM_SIZE_DIRECTIVE): Likewise.
29240 (ENTRY_CHK): Likewise.
29241 (END_CHK): Likewise.
29242 (syscall_error): Likewise.
29243 (mcount): Likewise.
29244 (PSEUDO_END): Likewise.
29246 (atom_text_section): Likewise.
29248 2017-10-31 Rafał Lużyński <digitalfreak@lingonborough.com>
29250 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
29251 category of LC_CTYPE set to "i18n:2012".
29252 * localedata/locales/i18n_ctype: Regenerate.
29254 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
29256 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
29257 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
29258 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29259 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29261 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
29262 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
29263 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
29264 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
29266 2017-10-31 Joseph Myers <joseph@codesourcery.com>
29269 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
29271 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
29273 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
29275 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29276 (CMPLXF32X): Likewise.
29277 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29278 (CMPLXF64X): Likewise.
29279 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29280 (CMPLXF128X): Likewise.
29283 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
29284 (__MATH_EVAL_FMT2): Define to add 0.0f.
29286 2017-10-31 Alan Modra <amodra@gmail.com>
29288 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
29290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
29291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
29292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
29293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
29294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
29295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
29296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
29297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
29298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
29299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
29300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
29301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
29302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
29303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
29304 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
29305 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
29306 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
29307 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
29308 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
29309 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
29310 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
29311 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
29312 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
29313 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
29314 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29315 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
29316 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
29317 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
29318 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
29319 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
29320 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29321 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29322 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
29323 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
29324 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
29325 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
29326 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
29327 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
29328 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
29329 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
29330 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
29331 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
29332 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
29333 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
29334 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
29335 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
29336 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
29337 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
29338 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29339 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29340 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
29341 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
29342 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
29343 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
29344 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29345 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
29346 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
29347 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
29348 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29349 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29350 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29351 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
29352 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
29353 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
29354 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
29355 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
29356 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
29357 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
29358 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
29360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
29361 include sysdep.h and math_ldbl_opt.h.
29363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
29364 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
29365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
29366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
29367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
29368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
29369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
29370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
29371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
29372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
29373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
29374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
29375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
29376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
29377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
29378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
29379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
29380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
29381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
29382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
29383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
29384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
29385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
29386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
29387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
29388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
29390 2017-10-31 Alan Modra <amodra@gmail.com>
29392 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
29393 string/strncase_l.c, not string/strncase.c.
29394 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
29395 (libc_hidden_def): Redefine.
29397 2017-10-31 Alan Modra <amodra@gmail.com>
29399 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
29400 (__STRCMP, STRCMP, __strcasecmp_l): Define.
29401 (__strcasecmp): Don't define.
29403 2017-10-31 Alan Modra <amodra@gmail.com>
29405 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
29407 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29408 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29409 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29411 2017-10-31 Alan Modra <amodra@gmail.com>
29413 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
29416 2017-10-31 Alan Modra <amodra@gmail.com>
29418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
29419 Redefine only when SHARED.
29421 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29423 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29424 Include <bits/math-finite.h> with appropriate macros defined and
29426 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29427 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29428 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29429 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29430 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29432 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
29433 [!_Mlong_double_] (_Mlong_double_): Likewise.
29434 [!_Mfloat16_] (_Mfloat16_): Likewise.
29435 [!_Mfloat32_] (_Mfloat32_): Likewise.
29436 [!_Mfloat64_] (_Mfloat64_): Likewise.
29437 [!_Mfloat128_] (_Mfloat128_): Likewise.
29438 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
29439 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
29440 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
29441 (_Mdouble_): Define without indirection through those macros.
29442 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
29443 [!_Mfloat128_] (_Mfloat128_): Likewise.
29444 [_Mlong_double_] (_Mlong_double_): Likewise.
29445 (_Mdouble_): Define without indirection through those macros.
29446 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
29447 not add -D_Mlong_double_=double.
29448 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
29449 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
29451 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29453 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
29455 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29457 * sysdeps/x86/libc-start.c: Reformat.
29459 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29462 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
29463 (1): Renamed to ...
29466 (L(Src2)): Likewise.
29467 (L(1)): Renamed to ...
29470 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29472 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
29473 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
29474 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
29475 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
29476 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
29477 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
29478 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
29479 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
29480 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
29481 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
29482 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
29483 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
29484 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
29485 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
29486 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
29487 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
29488 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
29489 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
29490 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
29491 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
29492 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
29493 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
29494 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
29495 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
29496 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
29497 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
29498 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
29499 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
29500 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
29501 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
29502 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
29503 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
29504 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
29505 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
29506 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
29507 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
29508 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
29509 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
29510 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
29511 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
29512 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
29513 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
29514 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
29515 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
29516 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
29517 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
29518 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
29519 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
29520 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
29521 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
29522 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
29523 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
29524 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
29525 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
29526 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
29527 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
29528 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
29529 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
29530 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
29531 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
29532 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
29533 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
29534 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
29535 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
29536 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
29537 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
29539 2017-10-30 Florian Weimer <fweimer@redhat.com>
29541 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
29543 * io/tst-mkdirat.c (do_test): Likewise.
29544 * io/tst-mkfifoat.c (do_test): Likewise.
29545 * io/tst-mknodat.c (do_test): Likewise.
29546 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
29547 * locale/programs/locale.c (select_dirs): Likewise.
29548 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
29549 * posix/bug-glob2.c (my_readdir): Likewise.
29550 * posix/tst-dir.c (main): Likewise.
29551 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
29552 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
29554 2017-10-30 Florian Weimer <fweimer@redhat.com>
29556 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
29559 2017-10-30 Florian Weimer <fweimer@redhat.com>
29561 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
29562 Convert to support/test-driver.c.
29563 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
29564 New macro parameters.
29565 (PRINTF): Remove macro. Use test_verbose conditionals instead.
29566 * posix/tst-gnuglob.c: New file.
29567 * posix/tst-gnuglob64.c: Likewise.
29568 * posix/Makefile (tests): Add tst-gnuglob64.
29570 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
29573 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
29574 and use a better translation for March in “mon”.
29575 * localedata/locales/csb_PL: Use more ASCII to improve the
29576 readability of the source.
29578 2017-10-30 Mike FABIAN <mfabian@redhat.com>
29581 * localedata/locales/km_KH: Use ASCII as much
29582 as possible for better readability of the source and
29583 remove useless comments.
29584 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
29585 was commented out and apparently wrong anyway because it was
29586 using Lao characters. If Buddhist era should be used
29587 for km_KH, a native speaker should write the correct formaat
29589 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
29590 (According to CLDR, the first weekday for Cambodia is Sunday).
29591 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
29592 (These were using Lao characters which must be wrong. If we get
29593 the correct data from a native speaker, we could add it back, until
29594 then it is better not to have name_mr and name_mrs at all than
29597 2017-10-27 Rafał Lużyński <digitalfreak@lingonborough.com>
29599 * locale/loadlocale.c: Correct size of
29600 _nl_value_type_LC_<category> arrays.
29602 2017-10-27 Joseph Myers <joseph@codesourcery.com>
29604 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29605 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
29606 with appropriate macros defined and undefined.
29607 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29608 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29609 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29610 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29611 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29613 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
29615 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
29618 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29620 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
29621 with lowercase letters to make it agree with CLDR.
29623 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29626 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
29627 first letters of yesstr and nostr in yesexpr and noexpr,
29628 not for the full words.
29629 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29630 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
29631 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
29632 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
29633 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
29634 first letters of yesstr and nostr in yesexpr and noexpr,
29635 until now only English was matched in yesexpr and noexpr.
29636 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
29637 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
29638 fil but not for tl. As tl and fil are very similar, using fil
29639 is probably better than using English.
29641 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
29644 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
29645 in yesstr and nostr.
29647 2017-10-26 Joseph Myers <joseph@codesourcery.com>
29649 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29650 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
29651 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
29653 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
29655 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
29657 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
29659 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29660 (SNANF128X): Likewise.
29662 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29663 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
29664 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29665 (HUGE_VAL_F32): Likewise.
29666 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29667 (HUGE_VAL_F64): Likewise.
29668 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29669 (HUGE_VAL_F32X): Likewise.
29670 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29671 (HUGE_VAL_F64X): Likewise.
29672 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29673 (HUGE_VAL_F128X): Likewise.
29675 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29677 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
29678 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
29679 for the br_FR locale.
29681 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29684 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
29686 2017-10-25 Carlos O'Donell <carlos@redhat.com>
29688 * locale/programs/record-status.h: Define globals, and function
29689 prototypes. Move function bodies...
29690 * locale/programs/record-status.c: ... to here. New file.
29691 * iconv/Makefile (iconv_prog-modules): Add record-status.
29692 * locale/Makefile (lib-modules): Likewise.
29693 * iconv/iconv_prog.c: Remove verbose.
29694 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
29695 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
29696 record a warning about ASCII compatibility.
29697 * locale/programs/ld-monetary.c (monetary_finish): If
29698 warn_int_curr_symbol is true then record a warning about the symbol
29699 not being in our ISO 4217 list.
29700 * locale/programs/locale.c: Include record-status.h. Remove verbose.
29701 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
29702 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
29703 (OPT_NO_WARN): Define.
29704 (OPT_WARN): Define.
29705 (options): Add entry for --no-warnings, and --warnings.
29706 (set_warnings): New function to enable/disable warnings.
29707 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
29708 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
29709 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
29710 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
29711 Pass flags to generate_locale.
29712 (generate_locale): Accept new flag argument and pass it to localedef
29714 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
29715 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
29717 * localedata/Makefile (test-input-data): Use full file name.
29718 * localedata/da_DK.in: Rename to...
29719 * localedata/da_DK.ISO-8859-1.in: ...this.
29720 * localedata/de_DE.in: Rename to...
29721 * localedata/de_DE.ISO-8859-1.in: ...this.
29722 * localedata/en_US.in: Rename to...
29723 * localedata/en_US.ISO-8859-1.in: ...this.
29724 * localedata/fr_FR.in: Rename to...
29725 * localedata/fr_FR.UTF-8.in: ... this.
29726 * localedata/hr_HR.in: Rename to...
29727 * localedata/hr_HR.ISO-8859-2.in: ...this.
29728 * localedata/hu_HU.in: Rename to...
29729 * localedata/hu_HU.UTF-8.in: ...this.
29730 * localedata/si_LK.in: Rename to...
29731 * localedata/si_LK.UTF-8.in: ...this.
29732 * localedata/sv_SE.in: Rename to...
29733 * localedata/sv_SE.ISO-8859-1.in: ...this.
29734 * localedata/tr_TR.in: Rename to...
29735 * localedata/tr_TR.UTF-8.in: ...this.
29736 * localedata/uk_UA.in: Rename to...
29737 * localedata/uk_UA.UTF-8.in: ...this.
29738 * localedata/sort-test.sh: Test file is locale name with the
29741 * localedata/unicode-gen/Makefile (check_i18n): Rename to
29742 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
29744 * localedata/locales/i18n_ctype: Regenerate.
29745 * localedata/locales/tr_TR: Likewise.
29746 * localedata/locales/translit_circle: Likewise.
29747 * localedata/locales/translit_cjk_compat: Likewise.
29748 * localedata/locales/translit_combining: Likewise.
29749 * localedata/locales/translit_compat: Likewise.
29750 * localedata/locales/translit_font: Likewise.
29751 * localedata/locales/translit_fraction: Likewise.
29753 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29755 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
29756 lxvd2x/stxvd2x with lvx/stvx.
29757 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
29759 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
29761 * include/alloc_buffer.h: Replace "if if " with "if " in
29763 * sysdeps/mips/memcpy.S: Likkewise.
29764 * sysdeps/mips/memset.S: Likewise.
29765 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29767 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
29769 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
29772 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29775 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
29776 yesexpr and noexpr.
29777 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29778 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29779 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29780 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29781 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29782 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29783 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29785 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29787 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
29788 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29789 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29790 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29791 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29792 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
29793 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29794 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29795 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29796 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29797 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29798 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29800 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29802 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
29803 as possible for better readability of the source.
29804 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
29805 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
29806 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
29807 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
29808 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
29809 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
29810 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
29811 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
29812 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29813 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
29814 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
29815 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
29816 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
29817 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
29818 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
29819 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
29820 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
29821 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
29822 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
29823 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
29824 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
29825 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
29826 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
29827 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
29828 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
29829 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
29830 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
29831 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
29832 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
29833 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
29834 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
29835 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29836 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
29837 * localedata/locales/en_US (LC_MESSAGES): Likewise.
29838 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
29839 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
29840 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
29841 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
29842 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
29843 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
29844 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
29845 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
29846 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
29847 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
29848 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
29849 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
29850 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
29851 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
29852 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
29853 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
29854 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
29855 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
29856 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
29857 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29858 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29859 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
29860 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
29861 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29862 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
29863 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
29864 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
29865 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
29866 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
29867 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
29868 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
29869 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
29870 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
29871 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
29872 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
29873 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
29874 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
29875 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
29876 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
29877 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
29878 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29879 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
29880 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
29881 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
29882 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
29883 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
29884 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
29885 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
29886 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
29887 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29888 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
29889 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
29890 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
29891 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29892 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
29893 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
29894 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
29895 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
29896 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29897 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
29898 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
29899 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29900 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
29901 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29902 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
29903 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
29904 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
29905 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
29906 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
29907 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
29908 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
29909 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
29910 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
29911 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
29912 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
29913 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
29914 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
29915 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
29916 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29917 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
29918 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
29919 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
29920 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
29921 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
29922 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
29923 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
29924 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
29925 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
29926 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
29927 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
29928 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
29929 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
29930 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
29931 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
29932 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
29933 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
29934 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
29935 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
29936 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
29937 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
29938 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
29939 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
29940 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
29941 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
29942 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
29943 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
29944 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
29945 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
29946 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
29947 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
29948 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
29949 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29950 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
29951 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
29952 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
29953 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
29954 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
29955 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
29956 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
29957 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
29958 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29959 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
29960 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
29961 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
29962 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
29963 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
29964 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
29965 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
29966 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
29967 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
29968 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
29969 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29970 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
29971 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
29972 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
29973 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
29974 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29975 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29976 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29977 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
29979 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29981 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
29982 (Use first letters of yesstr and nostr correctly instead of using
29985 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29987 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
29988 (Use first letters of yesstr and nostr correctly).
29990 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29992 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
29993 also check for the first characters of yesstr and nostr.
29994 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
29995 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
29997 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29999 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
30000 also check for Chinese characters.
30002 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30004 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
30005 match also for the contents of yesstr and nostr. As the first letter
30006 of yesstr and nostr is equal, checking only for the first letter
30009 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30011 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
30012 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
30014 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30016 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
30017 of main contributor.
30019 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30021 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
30022 instead of using English.
30024 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30026 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
30027 by including the first letters of nostr and yesexpr in the regexp.
30028 Also make it more readable by using ASCII where possible.
30030 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30032 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
30033 the first letter of nostr in the regexp. It agrees with CLDR now.
30034 Also make it more readable by using ASCII where possible.
30036 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30038 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
30039 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
30040 these strings contain a U+17D6 (which somewhat looks like a colon)
30041 instead of a real colon to separate the full words for “yes”
30042 and “no” from the single letter responses.
30044 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30046 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
30047 it agree with CLDR (include the first letter of yesstr).
30048 Also make it more readable by using ASCII where possible.
30050 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30052 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
30053 and improve yesexpr and noexpr. The yesstr and nostr apparently
30054 came from CLDR. And CLDR has a bug there: these strings contain
30055 a U+0903 (which looks like a colon) instead of a real colon
30056 to separate the full words for “yes” and “no” from the single
30059 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30061 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
30062 letters of the full yesstr and nostr in yesexpr and noexpr.
30064 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30066 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
30067 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
30068 * localedata/locales/an_ES: Make source more readable by using ASCII
30071 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30074 * localedata/locales/yuw_PG: New file.
30075 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
30076 * locale/iso-639.def: Add Yau (Uruwa).
30078 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30080 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
30082 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30084 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
30085 (__libc_realloc): Likewise.
30086 (_mid_memalign): Likewise.
30087 (__libc_calloc): Likewise.
30089 2017-10-23 Mike FABIAN <mfabian@redhat.com>
30091 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
30092 by adding the generic +1 and -0 as in all other locales.
30093 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
30094 day names and make it more readable by using ASCII where possible.
30096 2017-10-24 Joseph Myers <joseph@codesourcery.com>
30098 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
30099 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
30101 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30103 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
30104 WNOHANG in waitpid call.
30106 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
30108 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
30109 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
30111 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
30112 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
30113 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
30114 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
30115 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
30116 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
30117 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
30118 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
30121 2017-10-23 Michael Collison <michael.collison@arm.com>
30123 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
30124 with __builtin_sqrt.
30125 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
30126 with __builtin_sqrtf.
30127 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
30128 with __builtin_ceil.
30129 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
30130 with __builtin_ceilf.
30131 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
30132 with __builtin_floor.
30133 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
30134 with __builtin_floorf.
30135 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
30136 with __builtin_fma.
30137 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
30138 with __builtin_fmaf.
30139 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
30140 with __builtin_fmax.
30141 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
30142 with __builtin_fmaxf.
30143 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
30144 with __builtin_fmin.
30145 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
30146 with __builtin_fminf.
30147 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
30148 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
30149 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
30150 with builtin_rint and conversion to int.
30151 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
30152 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
30153 with builtin_llround.
30154 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
30155 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
30156 with builtin_rint and conversion to long int.
30157 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
30158 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
30159 with builtin_lround.
30160 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
30161 with builtin_lroundf.
30162 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
30163 statements with __builtin_nearbyint.
30164 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
30165 statements with __builtin_nearbyintf.
30166 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
30167 with __builtin_rint.
30168 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
30169 with __builtin_rintf.
30170 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
30171 with __builtin_round.
30172 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
30173 with __builtin_roundf.
30174 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
30175 with __builtin_trunc.
30176 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
30177 with __builtin_truncf.
30178 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
30179 and s_l[l]round[f].c too.
30181 2017-10-23 Alan Modra <amodra@gmail.com>
30183 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
30184 Adjust stack after restoring regs. Add missing LR cfi_restore.
30186 2017-10-23 Alan Modra <amodra@gmail.com>
30188 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
30189 Move LR save and frame setup/teardown and LR restore to
30190 immediately around memset call. Provide cfi.
30192 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30194 * sysdeps/i386/fpu/e_powf.S: Removed.
30195 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
30196 * sysdeps/i386/fpu/w_powf.c: Likewise.
30197 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
30198 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30199 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30201 (CFLAGS-e_powf-sse2.c): New.
30202 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
30203 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
30205 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30207 * sysdeps/i386/fpu/e_log2f.S: Removed.
30208 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
30209 * sysdeps/i386/fpu/w_log2f.c: Likewise.
30210 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
30211 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30212 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30214 (CFLAGS-e_log2f-sse2.c): New.
30215 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
30216 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
30218 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30220 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30222 (CFLAGS-e_powf-fma.c): New.
30223 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
30224 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
30226 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30228 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30230 (CFLAGS-e_log2f-fma.c): New.
30231 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
30232 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
30234 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30236 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30238 (CFLAGS-e_logf-fma.c): New.
30239 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
30240 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
30242 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30244 * sysdeps/i386/fpu/e_logf.S: Removed.
30245 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
30246 * sysdeps/i386/fpu/w_logf.c: Likewise.
30247 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
30248 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
30249 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30250 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30252 (CFLAGS-e_logf-sse2.c): New.
30253 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
30254 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
30256 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30258 * sysdeps/i386/fpu/e_exp2f.S: Removed.
30259 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
30260 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
30261 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30262 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30264 (CFLAGS-e_exp2f-sse2.c): New.
30265 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
30266 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
30268 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30270 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30272 (CFLAGS-e_exp2f-fma.c): New.
30273 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
30274 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
30276 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30278 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
30279 * sysdeps/i386/fpu/e_expf.S: Likewise.
30280 * sysdeps/i386/fpu/math_errf.c: Likewise.
30281 * sysdeps/i386/fpu/w_expf.c: Likewise.
30282 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
30283 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30284 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
30285 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
30286 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30287 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30288 Remove e_expf-ia32.
30289 (CFLAGS-e_expf-sse2.c): New.
30290 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
30291 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
30293 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30295 * sysdeps/x86_64/fpu/e_expf.S: Removed.
30296 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
30297 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
30298 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
30300 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
30302 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
30303 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30305 (__redirect_expf): This.
30306 (SYMBOL_NAME): Changed to expf.
30307 (__ieee754_expf): Renamed to ...
30309 (__GI___expf): This.
30310 (__ieee754_expf): Add strong_alias.
30311 (__expf_finite): Likewise.
30313 Include <sysdeps/ieee754/flt-32/e_expf.c>.
30315 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
30318 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
30321 2017-10-21 Florian Weimer <fweimer@redhat.com>
30323 * posix/Makefile (tests): Add tst-glob-tilde.
30324 (tests-special): Add tst-glob-tilde-mem.out
30325 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
30326 (tst-glob-tilde-mem.out): Add mtrace check.
30327 * posix/tst-glob-tilde.c: New file.
30329 2017-10-20 Joseph Myers <joseph@codesourcery.com>
30331 * bits/floatn-common.h: New file.
30332 * math/Makefile (headers): Add bits/floatn-common.h.
30333 * bits/floatn.h: Include <bits/floatn-common.h>.
30334 * sysdeps/ia64/bits/floatn.h: Likewise.
30335 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30336 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
30337 * sysdeps/powerpc/bits/floatn.h: Likewise.
30338 * sysdeps/x86/bits/floatn.h: Likewise.
30340 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30342 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
30343 indicates whether compiler emits an warning for alias for
30344 functions with incompatible types.
30347 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
30348 the auxiliary process is terminated by a signal before calling _exit
30351 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30354 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
30356 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
30357 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
30358 and bit_arch_XSAVEC_Usable if needed.
30359 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
30360 and bit_arch_Use_dl_runtime_resolve_opt.
30361 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
30363 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
30364 (bit_arch_Prefer_No_AVX512): Updated.
30365 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
30366 (bit_arch_XSAVEC_Usable): New.
30367 (STATE_SAVE_OFFSET): Likewise.
30368 (STATE_SAVE_MASK): Likewise.
30369 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
30370 (cpu_features): Add xsave_state_size and xsave_state_full_size.
30371 (index_arch_Use_dl_runtime_resolve_opt): Removed.
30372 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
30373 (index_arch_XSAVEC_Usable): New.
30374 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30375 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
30376 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
30378 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
30379 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
30380 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
30381 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
30382 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
30383 _dl_runtime_resolve_xsavec.
30384 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
30386 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
30387 instead of VEC_SIZE.
30388 (REGISTER_SAVE_BND0): Removed.
30389 (REGISTER_SAVE_BND1): Likewise.
30390 (REGISTER_SAVE_BND3): Likewise.
30391 (REGISTER_SAVE_RAX): Always defined to 0.
30393 (_dl_runtime_resolve_avx): Likewise.
30394 (_dl_runtime_resolve_avx_slow): Likewise.
30395 (_dl_runtime_resolve_avx_opt): Likewise.
30396 (_dl_runtime_resolve_avx512): Likewise.
30397 (_dl_runtime_resolve_avx512_opt): Likewise.
30398 (_dl_runtime_resolve_sse): Likewise.
30399 (_dl_runtime_resolve_sse_vex): Likewise.
30401 (_dl_runtime_resolve_fxsave): Likewise.
30402 (USE_XSAVE): Likewise.
30403 (_dl_runtime_resolve_xsave): Likewise.
30404 (USE_XSAVEC): Likewise.
30405 (_dl_runtime_resolve_xsavec): Likewise.
30406 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
30408 (_dl_runtime_resolve_avx512_opt): Likewise.
30409 (_dl_runtime_resolve_avx): Likewise.
30410 (_dl_runtime_resolve_avx_opt): Likewise.
30411 (_dl_runtime_resolve_sse): Likewise.
30412 (_dl_runtime_resolve_sse_vex): Likewise.
30413 (_dl_runtime_resolve_fxsave): New.
30414 (_dl_runtime_resolve_xsave): Likewise.
30415 (_dl_runtime_resolve_xsavec): Likewise.
30417 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
30421 * posix/glob.c (__glob): Fix one-byte overflow.
30423 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30425 * malloc/malloc.c (sysdep-cancel.h): Add include.
30427 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30429 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
30431 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
30433 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
30434 (tests): Remove $(objpfx)ga_test depdendency.
30435 * resolv/ga_test.c: Remove file.
30437 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30440 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
30441 * localedata/locales/kab_DZ: New file.
30443 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30445 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
30446 _dl_relocate_static_pie instead of _dl_start to compute load
30447 address in static PIE.
30449 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30451 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
30453 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30456 * localedata/SUPPORTED: Add shn_MM/UTF-8.
30457 * localedata/locales/shn_MM: New file.
30459 2017-10-20 Florian Weimer <fweimer@redhat.com>
30462 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
30463 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
30464 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
30465 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
30466 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
30467 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
30469 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
30471 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30473 2017-10-19 Joseph Myers <joseph@codesourcery.com>
30475 * sysdeps/mips/ieee754/bits/floatn.h: New file.
30478 * sysdeps/mips/bits/long-double.h: Move to ....
30479 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
30481 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
30483 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
30485 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
30486 H.J. Lu <hongjiu.lu@intel.com>
30489 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
30490 GLRO(dl_platform) to NULL.
30491 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
30492 (modules-names): Add tst-platformmod-1 and
30493 x86_64/tst-platformmod-2.
30494 (CFLAGS-tst-platform-1.c): New.
30495 (CFLAGS-tst-platformmod-1.c): Likewise.
30496 (CFLAGS-tst-platformmod-2.c): Likewise.
30497 (LDFLAGS-tst-platformmod-2.so): Likewise.
30498 ($(objpfx)tst-platform-1): Likewise.
30499 ($(objpfx)tst-platform-1.out): Likewise.
30500 (tst-platform-1-ENV): Likewise.
30501 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
30502 * sysdeps/x86_64/tst-platform-1.c: New file.
30503 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
30504 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
30506 2017-10-19 Mike FABIAN <mfabian@redhat.com>
30509 * locale/iso-639.def: Add Karbi.
30510 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
30511 * localedata/locales/mjw_IN: New file.
30513 2017-10-18 Joseph Myers <joseph@codesourcery.com>
30515 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
30516 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30517 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
30518 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
30519 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30520 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30521 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
30523 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30524 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30525 * manual/math.texi (Mathematics): Document additional architecture
30526 support for _Float128.
30527 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
30528 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
30529 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30530 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30531 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30532 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30533 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30534 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30535 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30536 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30537 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30538 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30539 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30540 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30541 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30543 2017-10-18 Renlin Li <renlin.li@arm.com>
30545 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
30546 _DYNAMIC symbol to calculate load address.
30548 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
30550 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
30551 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
30553 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
30554 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
30556 2017-10-18 Mike FABIAN <mfabian@redhat.com>
30559 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
30560 and improve readability by using more ASCII.
30561 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
30562 and improve readability by using more ASCII.
30564 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
30566 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
30567 not all targets support atomics on bool.
30569 2017-10-17 Joseph Myers <joseph@codesourcery.com>
30571 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
30572 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
30574 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30575 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
30576 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30577 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
30578 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30579 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
30581 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30583 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
30586 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30589 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
30590 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
30591 (do_check_remalloced_chunk): Fix build bug.
30592 (do_check_malloc_state): Add assert that checks arena->top.
30593 (malloc_consolidate): Remove initialization.
30594 (int_mallinfo): Remove call to malloc_consolidate.
30595 (__libc_mallopt): Clarify why malloc_consolidate is needed.
30597 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30599 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
30600 (have_fastchunks): Remove.
30601 (clear_fastchunks): Remove.
30602 (set_fastchunks): Remove.
30603 (malloc_state): Add have_fastchunks.
30604 (malloc_init_state): Use have_fastchunks.
30605 (do_check_malloc_state): Remove incorrect invariant checks.
30606 (_int_malloc): Use have_fastchunks.
30607 (_int_free): Likewise.
30608 (malloc_consolidate): Likewise.
30610 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30612 * malloc/malloc.c (tcache_put): Inline.
30613 (tcache_get): Inline.
30615 2017-10-17 Jordi Mallach <jordi@gnu.org>
30617 Aurelien Jarno <aurelien@aurel32.net>
30619 * localedata/locales/ca_ES@valencia: New file.
30620 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
30622 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
30625 * math/math.h: Let signbit use the builtin in C++ mode with gcc
30628 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30630 * scripts/build-many-glibcs.py (Context.add_all_configs):
30631 Add arm-linux-gnueabihf multiarch extra_glibcs.
30633 * sysdeps/generic/ifunc-init.h: New file.
30634 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
30636 2017-10-17 Mike FABIAN <mfabian@redhat.com>
30639 * localedata/locales/el_GR: Set n_cs_precedes to 0.
30640 * localedata/locales/el_CY: copy "el_GR" because it is identical.
30641 * stdlib/tst-strfmon_l.c: adapt test case.
30643 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30645 * sysdeps/generic/float128-abi.h: New file.
30646 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
30647 non-__prefixed symbols to ....
30648 * math/Versions: ... here. Include <float128-abi.h>.
30649 * stdlib/Versions ... and here. Include <float128-abi.h>
30651 2017-10-16 Florian Weimer <fweimer@redhat.com>
30653 * version.h (VERSION): Switch to ".9000" as the development
30656 2017-10-16 Florian Weimer <fweimer@redhat.com>
30659 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
30660 compat_symbol_reference to access non-default version.
30662 2017-10-16 Florian Weimer <fweimer@redhat.com>
30664 * malloc/Makefile (others-extras): Set to mcheck-init.o.
30666 2017-10-16 Carlos O'Donell <carlos@redhat.com>
30668 * include/shlib-compat.h (compat_symbol_reference): Update
30671 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30673 * math/Makefile (test-types): Add
30674 $(type-float128-$(float128-alias-fcts)).
30675 * math/test-float128.h (TYPE_STR): Define conditional on
30676 [FLT128_MANT_DIG == LDBL_MANT_DIG].
30677 (ULP_IDX): Likewise.
30678 (ULP_I_IDX): Likewise.
30680 * stdlib/strtold.c: Include <bits/floatn.h>
30681 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
30682 and later undefine as macro. Define as weak alias if
30684 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
30685 and later undefine as macro. Define as weak alias if
30687 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
30688 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
30689 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
30690 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30691 Define and later undefine as macro. Define as weak alias if
30693 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
30695 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
30696 Define and later undefine as macro. Define as weak alias if
30698 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30699 Define and later undefine as macro. Define as weak alias if
30702 2017-10-15 Carlos O'Donell <carlos@redhat.com>
30704 * localedata/collate-test.c (allocate_arrays): Don't use \n in
30705 record_verbose messages.
30707 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
30710 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
30711 to silence -O3 -Wall warning with GCC 7.
30713 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
30715 * Makeconfig (+link-static-before-libc): Use the first of
30716 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
30717 * gmon/Makefile (tests): Add tst-gmon-static.
30718 (tests-static): Likewise.
30719 (CFLAGS-tst-gmon-static.c): New.
30720 (CRT-tst-gmon-static): Likewise.
30721 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
30722 (tst-gmon-static-ENV): Likewise.
30723 (tests-special): Likewise.
30724 ($(objpfx)tst-gmon-static.out): Likewise.
30725 (clean-tst-gmon-static-data): Likewise.
30726 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
30727 * gmon/tst-gmon-static-gprof.sh: New file.
30728 * gmon/tst-gmon-static.c: Likewise.
30730 2017-10-13 Carlos O'Donell <carlos@redhat.com>
30733 * locale/programs/linereader.c (get_string): Don't warn on
30734 non-symbolic character.
30737 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
30741 * locale/programs/record-status.h: New file
30742 * locale/programs/locale.c: Add comment.
30743 * locale/programs/charmap-dir.c: Don't include error.h.
30744 (charmap_opendir): Use record_error.
30745 * locale/programs/charmap.c: Don't include error.h.
30746 (charmap_read): Use record_error, and record_warning.
30747 (parse_charmap): Likewise.
30748 * locale/programs/ld-address.c: Don't include error.h.
30749 (address_finish): Use record_error, and record_warning.
30750 * locale/programs/ld-collate.c: Don't include error.h.
30751 (collate_finish): Use record_error, and record_error_at_line.
30752 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
30753 (ctype_class_new): Likewise.
30754 (ctype_map_new): Likewise.
30755 (set_one_default): Likewise.
30756 (set_class_defaults): Likewise.
30757 (translit_flatten): Likewise.
30758 (allocate_arrays): Use record_error, and record_verbose.
30759 * locale/programs/ld-identification.c: Don't include error.h.
30760 (indentation_finish): Use record_error and record_warning.
30761 * locale/programs/ld-measurement.c: Don't include error.h.
30762 (measurement_finish): Use record_error.
30763 * locale/programs/ld-messages.c
30764 (message_finish): Likewise.
30765 * locale/programs/ld-monetary.c
30766 (monetary_finish): Likewise.
30767 * locale/programs/ld-name.c (name_finish): Use record_error
30768 and record_warning.
30769 * locale/programs/ld-numeric.c
30770 (numeric_finish): Use record_error.
30771 * locale/programs/ld-paper.c: Don't include error.h.
30772 (paper_finish): Use record_error.
30773 * locale/programs/ld-telephone.c: Don't include error.h.
30774 (telephone_finish): Use record_error.
30775 * locale/programs/ld-time.c (time_finish): Likewise.
30776 * locale/programs/linereader.h (lr_error): Make inline func.
30777 * locale/programs/localedef.c: Define recorded_warning_count,
30778 and recorded_error_count.
30779 (main): Use record_error. Use recorded_error_count and
30780 recorded_warning_count to issue correct error returns.
30781 (add_to_readlist): Use record_error.
30782 (find_locale): Likewise.
30783 (load_locale): Likewise.
30784 * locale/programs/localedef.h: Remove be_quiet
30785 and WITH_CUR_LOCALE.
30786 * locale/programs/locarchive.c (compare_from_file): Use
30788 * locale/programs/locfile.c (write_locale_data): Use
30790 * locale/programs/repertoire.c: Dont include error.h.
30791 (repertoire_complain): Use record_error.
30792 * localedata/tst-fmon.sh: Expect failures from localedef.
30793 * localedata/tst-locale.sh: Likewise.
30794 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
30796 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
30797 (REPORTS): Likewise.
30799 (i18n): Rename to...
30800 (i18n_ctype): ...this.
30801 (i18n-report): Rename to...
30802 (i18n_ctype-report): ...this.
30803 * localedata/locales/i18n_ctype: Regenerate.
30804 * localedata/locales/i18n: copy i18n_ctype.
30806 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30808 * stdlib/strfroml.c: Include <bits/floatn.h>.
30809 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
30810 Define before include of <stdlib.h> and undefine afterwards, then
30811 define as weak alias.
30813 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
30814 Undefine and restore default definition. Use
30815 libm_alias_ldouble_other.
30817 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
30820 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
30823 2017-10-13 James Clarke <jrtc27@jrtc27.com>
30825 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30826 Assign sym_map to be map for local symbols, as TLS relocations
30827 use sym_map to determine whether the symbol is defined and to
30828 extract the TLS information.
30829 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30830 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30832 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30835 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
30836 (math_force_eval): Add powerpc version.
30839 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
30841 (do_test): Likewise.
30842 * stdio-common/tst-printf.sh: Likewise.
30843 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
30844 ifdef clause in order to set the carry bit right. Replace r0 by
30845 0 without changing the behavior.
30847 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30849 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
30850 <libm-alias-ldouble.h>.
30851 (fabsl): Define using libm_alias_ldouble.
30852 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
30853 <libm-alias-ldouble.h>.
30854 (fabsl): Define using libm_alias_ldouble.
30856 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
30857 Remove conditional code.
30859 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
30860 Rename to __clog10_internal_l.
30861 (__clog10_internal_l): Define aliases using
30862 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
30865 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30867 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
30868 * benchtests/sincosf-inputs: New file.
30869 * benchtests/cosf-inputs: New file.
30870 * benchtests/sinf-inputs: New file.
30872 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
30874 * posix/tst-spawn.c (do_test): Wait for both children.
30876 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
30879 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
30880 tests-pie): Add tst-gmon-pie.
30881 (CFLAGS-tst-gmon-pie.c): New.
30882 (CRT-tst-gmon-pie): Likewise.
30883 (tst-gmon-pie-ENV): Likewise.
30884 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
30885 ($(objpfx)tst-gmon-pie.out): Likewise.
30886 (clean-tst-gmon-pie-data): Likewise.
30887 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
30888 * gmon/gmon.c [PIC]: Include <link.h>.
30889 [PIC] (callback): New function.
30890 (write_hist): Add an argument for load address. Subtract load
30892 (write_call_graph): Likewise.
30893 (write_gmon): Call __dl_iterate_phdr to get load address, pass
30894 it to write_hist and write_call_graph.
30895 * gmon/tst-gmon-pie.c: New file.
30897 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30899 * math/Makefile (test-types-basic): New variable.
30900 (test-types): Likewise.
30901 (libm-test-support): Use $(test-types) instead of $(types).
30902 (libm-tests-base-normal): Likewise.
30903 (libm-tests-base-finite): Likewise.
30904 (libm-tests-base-inline): Likewise.
30905 (generated): Likewise.
30906 ($(objpfx)libm-test-support-$(t).c): Likewise.
30907 (libm-tests-for-type iterator): Likewise.
30908 (libm-test-support iterator): Likewise.
30909 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
30910 (ulp_idx): Use ULP_IDX.
30911 * math/test-ldouble.h: Include <float.h>.
30912 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
30913 (ULP_IDX): New macro.
30914 (ULP_I_IDX): Likewise.
30915 * math/test-double.h (ULP_IDX): Likewise.
30916 (ULP_I_IDX): Likewise.
30917 * math/test-float.h (ULP_IDX): Likewise.
30918 (ULP_I_IDX): Likewise.
30919 * math/test-float128.h (ULP_IDX): Likewise.
30920 (ULP_I_IDX): Likewise.
30922 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30924 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
30925 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30926 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30927 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
30928 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30929 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
30930 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
30931 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30932 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30933 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30934 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
30935 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30936 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30937 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30938 (SINGLE_THREAD_BY_GLOBAL): Define.
30939 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30941 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30943 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30945 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30947 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
30948 (SINGLE_THREAD_BY_GLOBAL): Likewise.
30949 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30952 2017-10-11 Andreas Schwab <schwab@suse.de>
30954 * nis/Makefile (aux): Remove.
30955 * nscd/Makefile (aux): Add nscd_hash.
30956 (nscd-modules): Likewise.
30957 ($(objpfx)nscd): Don't depend on libnsl.
30958 * nscd/nscd_hash.c: New file.
30959 * nscd/nscd_hash.h: Likewise.
30960 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
30961 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
30962 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
30963 instead of <nis/rpcsvc/nis.h>.
30964 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
30966 2017-10-11 Florian Weimer <fweimer@redhat.com>
30969 Avoid large NSS buffers with many addresses, aliases.
30970 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
30971 using dynarrays and struct alloc_buffer.
30972 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
30973 (tst-nss-files-hosts-multi): Link with -ldl.
30974 * nss/tst-nss-files-hosts-multi.c: New file.
30976 2017-10-11 Florian Weimer <fweimer@redhat.com>
30979 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
30980 scratch_buffer. Eliminate gotos.
30982 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30984 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
30985 libm_alias_ldouble_other.
30986 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
30987 undefine and redefine.
30988 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30989 (exp10l): Do not define here.
30990 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
30991 (weak_alias): Undefine and redefine.
30992 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
30993 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30994 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
30995 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
30997 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
30998 [!__fma] (fma): Define using libm_alias_double.
30999 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
31000 [!__fmaf] (fmaf): Define using libm_alias_float.
31001 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
31002 (fmal): Define using libm_alias_ldouble.
31004 2017-10-10 Joseph Myers <joseph@codesourcery.com>
31006 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
31008 (libm_alias_double_other): Likewise.
31009 (libm_alias_double_r): Use libm_alias_double_other_r.
31010 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
31012 (libm_alias_float_other): Likewise.
31013 (libm_alias_float_r): Use libm_alias_float_other_r.
31014 * sysdeps/generic/libm-alias-float128.h
31015 (libm_alias_float128_other_r): New macro.
31016 (libm_alias_float128_other): Likewise.
31017 (libm_alias_float128_r): Use libm_alias_float128_other_r.
31018 * sysdeps/generic/libm-alias-ldouble.h
31019 (libm_alias_ldouble_other_r): New macro.
31020 (libm_alias_ldouble_other): Likewise.
31021 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
31022 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
31023 (libm_alias_double_other_r): New macro.
31024 (libm_alias_double_other): Likewise.
31025 (libm_alias_double_r): Use libm_alias_double_other_r.
31026 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
31027 (libm_alias_ldouble_other_r): New macro.
31028 (libm_alias_ldouble_other): Likewise.
31029 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
31030 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
31031 [!USE_AS_COMPAT]: Use libm_alias_double_other.
31032 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
31033 [!USE_AS_COMPAT]: Use libm_alias_float_other.
31034 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
31035 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
31036 * math/w_exp2f.c: Use libm_alias_float_other.
31037 * math/w_expf.c: Likewise.
31038 * math/w_log2f.c: Likewise.
31039 * math/w_logf.c: Likewise.
31040 * math/w_powf.c: Likewise.
31041 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
31042 [!__exp2f]: Use libm_alias_float_other.
31043 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
31044 [!__expf]: Use libm_alias_float_other.
31045 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
31046 [!__log2f]: Use libm_alias_float_other.
31047 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
31048 [!__logf]: Use libm_alias_float_other.
31049 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
31050 [!__powf]: Use libm_alias_float_other.
31052 2017-10-10 Florian Weimer <fweimer@redhat.com>
31054 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
31056 (_nss_files_gethostbyname3_r): Call it.
31058 2017-10-09 Joseph Myers <joseph@codesourcery.com>
31060 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
31061 error. Remove default definition of declare_mgen_alias.
31062 [!declare_mgen_alias_r]: Likewise.
31063 * sysdeps/generic/math-type-macros-double.h
31064 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
31065 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
31066 (declare_mgen_alias_r): Likewise.
31067 * sysdeps/generic/math-type-macros-float128.h
31068 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31069 * sysdeps/generic/math-type-macros-ldouble.h
31070 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31071 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
31073 (declare_mgen_alias_r_s): Likewise.
31074 (declare_mgen_alias_r): Likewise.
31075 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
31076 (lgamma_r): Define using libm_alias_double_r.
31077 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
31078 (lgammaf_r): Define using libm_alias_float_r.
31079 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
31080 (lgammal_r): Define using libm_alias_ldouble_r.
31081 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
31082 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31084 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31086 * lib/glob.c (__glob_pattern_type): Remove now-spurious
31087 extern declaration.
31089 2017-10-09 Joseph Myers <joseph@codesourcery.com>
31091 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
31093 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
31096 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
31097 [__cplusplus >= 201103] (__USE_ISOC99): Define.
31098 * math/Makefile (test-math-cxx11): New test.
31099 * math/test-math-cxx11.cc: New file.
31101 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
31103 * login/openpty.c (openpty): Close slave pty file descriptor on error.
31105 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
31106 call to allocate the slave pty file descriptor.
31108 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31110 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
31111 [!__fma] (fma): Define using libm_alias_double.
31112 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
31113 [!__fma] (fma): Define using libm_alias_double.
31115 * sysdeps/ieee754/float128/float128_private.h: Include
31116 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
31117 (libm_alias_ldouble_r): Undefine and redefine.
31118 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
31119 <libm-alias-ldouble.h>.
31120 (asinhl): Define using libm_alias_ldouble.
31121 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
31122 <libm-alias-ldouble.h>.
31123 (atanl): Define using libm_alias_ldouble.
31124 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
31125 <libm-alias-ldouble.h>.
31126 (cbrtl): Define using libm_alias_ldouble.
31127 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
31128 <libm-alias-ldouble.h>.
31129 (ceill): Define using libm_alias_ldouble.
31130 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
31131 <libm-alias-ldouble.h>.
31132 (copysignl): Define using libm_alias_ldouble.
31133 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
31134 <libm-alias-ldouble.h>.
31135 (cosl): Define using libm_alias_ldouble.
31136 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
31137 <libm-alias-ldouble.h>.
31138 (erfl): Define using libm_alias_ldouble.
31140 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
31141 <libm-alias-ldouble.h>.
31142 (expm1l): Define using libm_alias_ldouble.
31143 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
31144 <libm-alias-ldouble.h>.
31145 (fabsl): Define using libm_alias_ldouble.
31146 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
31147 <libm-alias-ldouble.h>.
31148 (floorl): Define using libm_alias_ldouble.
31149 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
31150 <libm-alias-ldouble.h>.
31151 (fmal): Define using libm_alias_ldouble.
31152 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
31153 <libm-alias-ldouble.h>.
31154 (frexpl): Define using libm_alias_ldouble.
31155 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
31156 libm_alias_ldouble.
31157 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
31158 <libm-alias-ldouble.h>.
31159 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
31160 libm_alias_ldouble.
31161 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
31162 <libm-alias-ldouble.h>.
31163 (getpayloadl): Define using libm_alias_ldouble.
31164 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
31165 <libm-alias-ldouble.h>.
31166 (llrintl): Define using libm_alias_ldouble.
31167 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
31168 <libm-alias-ldouble.h>.
31169 (llroundl): Define using libm_alias_ldouble.
31170 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
31171 <libm-alias-ldouble.h>.
31172 (logbl): Define using libm_alias_ldouble.
31173 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
31174 <libm-alias-ldouble.h>.
31175 (lrintl): Define using libm_alias_ldouble.
31176 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
31177 <libm-alias-ldouble.h>.
31178 (lroundl): Define using libm_alias_ldouble.
31179 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
31180 <libm-alias-ldouble.h>.
31181 (modfl): Define using libm_alias_ldouble.
31182 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
31183 <libm-alias-ldouble.h>.
31184 (nearbyintl): Define using libm_alias_ldouble.
31185 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
31186 <libm-alias-ldouble.h>.
31187 (nextafterl): Define using libm_alias_ldouble.
31188 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
31189 <libm-alias-ldouble.h>.
31190 (nextupl): Define using libm_alias_ldouble.
31191 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
31192 <libm-alias-ldouble.h>.
31193 (remquol): Define using libm_alias_ldouble.
31194 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
31195 <libm-alias-ldouble.h>.
31196 (rintl): Define using libm_alias_ldouble.
31197 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
31198 <libm-alias-ldouble.h>.
31199 (roundevenl): Define using libm_alias_ldouble.
31200 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
31201 <libm-alias-ldouble.h>.
31202 (roundl): Define using libm_alias_ldouble.
31203 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
31204 using libm_alias_ldouble.
31205 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
31206 <libm-alias-ldouble.h>.
31207 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
31208 Define using libm_alias_ldouble.
31209 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
31210 <libm-alias-ldouble.h>.
31211 (sincosl): Define using libm_alias_ldouble.
31212 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
31213 <libm-alias-ldouble.h>.
31214 (sinl): Define using libm_alias_ldouble.
31215 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
31216 <libm-alias-ldouble.h>.
31217 (tanhl): Define using libm_alias_ldouble.
31218 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
31219 <libm-alias-ldouble.h>.
31220 (tanl): Define using libm_alias_ldouble.
31221 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
31222 <libm-alias-ldouble.h>.
31223 (totalorderl): Define using libm_alias_ldouble.
31224 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
31225 <libm-alias-ldouble.h>.
31226 (totalordermagl): Define using libm_alias_ldouble.
31227 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
31228 <libm-alias-ldouble.h>.
31229 (truncl): Define using libm_alias_ldouble.
31230 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
31231 libm_alias_ldouble.
31232 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
31233 libm_alias_ldouble.
31234 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
31235 <libm-alias-ldouble.h>.
31236 (weak_alias): Do not undefine and redefine.
31237 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31238 (copysignl): Define with long_double_symbol only if [IS_IN
31240 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
31241 <libm-alias-ldouble.h>.
31242 (weak_alias): Do not undefine and redefine.
31243 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31244 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
31245 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
31246 <libm-alias-ldouble.h>.
31247 (weak_alias): Do not undefine and redefine.
31248 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31249 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
31250 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
31251 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
31252 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
31253 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
31254 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
31255 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
31256 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
31257 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
31258 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
31259 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
31260 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
31261 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
31262 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
31263 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
31264 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
31265 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
31266 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
31267 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
31268 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
31269 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
31270 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
31271 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
31272 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
31273 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
31275 2017-10-06 Carlos O'Donell <carlos@redhat.com>
31278 * malloc/malloc.c (tcache_shutting_down): Use bool type.
31279 (tcache_thread_freeres): Set tcache_shutting_down before
31280 freeing the tcache.
31281 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
31282 * malloc/tst-malloc-tcache-leak.c: New file.
31284 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31286 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
31287 back to powerpc32 file.
31288 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31289 (memrchr): Add __memrchr_power8 to ifunc list.
31290 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
31291 extra bytes for unaligned inputs.
31293 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31295 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
31296 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
31297 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
31298 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
31299 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
31301 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31303 * sysdeps/arm/libm-test-ulps: Update.
31305 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
31306 <libm-alias-ldouble.h>.
31307 (asinhl): Define using libm_alias_ldouble.
31308 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
31309 <libm-alias-ldouble.h>.
31310 (cbrtl): Define using libm_alias_ldouble.
31311 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
31312 <libm-alias-ldouble.h>.
31313 (copysignl): Define using libm_alias_ldouble.
31314 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
31315 <libm-alias-ldouble.h>.
31316 (cosl): Define using libm_alias_ldouble.
31317 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
31318 <libm-alias-ldouble.h>.
31319 (erfl): Define using libm_alias_ldouble.
31321 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
31322 <libm-alias-ldouble.h>.
31323 (fmal): Define using libm_alias_ldouble.
31324 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
31325 <libm-alias-ldouble.h>.
31326 (frexpl): Define using libm_alias_ldouble.
31327 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
31328 libm_alias_ldouble.
31329 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
31330 <libm-alias-ldouble.h>.
31331 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
31332 libm_alias_ldouble.
31333 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
31334 <libm-alias-ldouble.h>.
31335 (getpayloadl): Define using libm_alias_ldouble.
31336 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
31337 <libm-alias-ldouble.h>.
31338 (llrintl): Define using libm_alias_ldouble.
31339 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
31340 <libm-alias-ldouble.h>.
31341 (llroundl): Define using libm_alias_ldouble.
31342 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
31343 <libm-alias-ldouble.h>.
31344 (lrintl): Define using libm_alias_ldouble.
31345 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
31346 <libm-alias-ldouble.h>.
31347 (lroundl): Define using libm_alias_ldouble.
31348 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
31349 <libm-alias-ldouble.h>.
31350 (modfl): Define using libm_alias_ldouble.
31351 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
31352 <libm-alias-ldouble.h>.
31353 (nextupl): Define using libm_alias_ldouble.
31354 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
31355 <libm-alias-ldouble.h>.
31356 (remquol): Define using libm_alias_ldouble.
31357 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
31358 <libm-alias-ldouble.h>.
31359 (roundevenl): Define using libm_alias_ldouble.
31360 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
31361 <libm-alias-ldouble.h>.
31362 (roundl): Define using libm_alias_ldouble.
31363 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
31364 using libm_alias_ldouble.
31365 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
31366 <libm-alias-ldouble.h>.
31367 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
31368 <libm-alias-ldouble.h>.
31369 (setpayloadsigl): Define using libm_alias_ldouble.
31370 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
31371 <libm-alias-ldouble.h>.
31372 (sincosl): Define using libm_alias_ldouble.
31373 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
31374 <libm-alias-ldouble.h>.
31375 (sinl): Define using libm_alias_ldouble.
31376 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
31377 <libm-alias-ldouble.h>.
31378 (tanhl): Define using libm_alias_ldouble.
31379 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
31380 <libm-alias-ldouble.h>.
31381 (tanl): Define using libm_alias_ldouble.
31382 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
31383 <libm-alias-ldouble.h>.
31384 (totalorderl): Define using libm_alias_ldouble.
31385 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
31386 <libm-alias-ldouble.h>.
31387 (totalordermagl): Define using libm_alias_ldouble.
31388 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
31389 libm_alias_ldouble.
31390 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
31391 libm_alias_ldouble.
31393 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
31395 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31397 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
31398 (__libc_ifunc_impl_list): Likewise.
31399 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
31400 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
31402 * benchtests/bench-memmove-walk.c: New file.
31403 * benchtests/Makefile (string-benchset): Add it.
31405 * benchtests/bench-memset-walk.c: New file.
31406 * benchtests/Makefile (string-benchset): Add it.
31408 * benchtests/bench-memcpy-walk.c: New file.
31409 * benchtests/Makefile (string-benchset): Add it.
31411 2017-10-05 Florian Weimer <fweimer@redhat.com>
31413 nscd: Eliminate compilation time dependency in the build output.
31414 * nscd/nscd_stat.c (STATDATA_VERSION)
31415 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
31416 (STATDATA_VERSION_FULL): New macro definitions.
31417 (compilation): Remove.
31418 (struct statdata): Adjust version member.
31419 (send_stats): Set version from STATDATA_VERSION_FULL.
31420 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
31422 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31424 * configure.ac (--enable-add-ons): Remove option.
31425 (machine): Do not mention add-ons in comment.
31426 (LIBC_PRECONFIGURE): Likewise.
31427 (add_ons): Remove variable and sanity checks and logic to locate
31429 (add_ons_automatic): Remove variable.
31430 (configured_add_ons): Likewise.
31431 (add_ons_sfx): Likewise.
31432 (add_ons_pfx): Likewise.
31433 (add_on_subdirs): Likewise.
31434 (sysnames_add_ons): Likewise. Remove loop over add-ons and
31435 consideration of add-ons in Implies handling.
31436 (sysdeps_add_ons): Likewise.
31437 * configure: Regenerated.
31438 * libidn/configure.ac: Remove.
31439 * libidn/configure: Likewise.
31440 * sysdeps/unix/inet/configure.ac: New file.
31441 * sysdeps/unix/inet/configure: New generated file.
31442 * sysdeps/unix/inet/Subdirs: Add libidn.
31443 * Makeconfig (sysdeps-srcdirs): Remove variable.
31444 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
31445 ($(common-objpfx)config.status): Do not depend on add-on files.
31446 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
31448 (all-subdirs): Do not include $(add-on-subdirs).
31449 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
31450 * config.make.in (add-ons): Remove variable.
31451 (add-on-subdirs): Likewise.
31452 (sysdeps-add-ons): Likewise.
31453 * manual/Makefile (add-chapters): Remove.
31454 ($(objpfx)texis): Do not depend on $(add-chapters).
31455 (nonexamples): Do not handle $(add-chapters).
31456 (examples): Do not handle $(add-ons).
31457 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
31459 * manual/install.texi (Installation): Do not mention add-ons.
31460 (--enable-add-ons): Do not document configure option.
31461 * INSTALL: Regenerated.
31462 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
31463 * manual/maint.texi (Hierarchy Conventions): Do not mention
31465 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
31467 * scripts/gen-sorted.awk: Do not handle Subdirs files from
31469 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
31470 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
31472 2017-10-05 Andreas Schwab <schwab@suse.de>
31475 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
31476 (_IO_flush_all_lockp): Always lock list_all_lock.
31477 (_IO_flush_all_linebuffered): Likewise.
31478 (_IO_unbuffer_all): Likewise.
31480 2017-10-05 Florian Weimer <fweimer@redhat.com>
31483 Do not flush stdio streams on abort.
31484 * stdlib/abort.c (fflush): Remove macro definition.
31485 (abort): Remove stages related to stdio flushing.
31487 2017-10-05 Florian Weimer <fweimer@redhat.com>
31489 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
31491 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
31493 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31495 2017-10-05 Florian Weimer <fweimer@redhat.com>
31497 * support/support_format_hostent.c (support_format_hostent): Add
31498 more error information for NETDB_INTERNAL.
31500 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31502 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
31503 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
31504 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
31505 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
31506 AC_DEFINE if multi-arch is enabled.
31507 * sysdeps/i386/configure: Regenerated.
31509 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31511 * Makeconfig (+link-static-before-libc): Use
31512 $(DEFAULT-LDFLAGS-$(@F)).
31513 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
31514 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
31515 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
31517 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31519 * elf/Makefile (tests): Add tst-main1.
31520 (modules-names): Add tst-main1mod.
31521 ($(objpfx)tst-main1): New.
31522 (CRT-tst-main1): Likewise.
31523 (LDFLAGS-tst-main1): Likewise.
31524 (LDLIBS-tst-main1): Likewise.
31525 (tst-main1mod.so-no-z-defs): Likewise.
31526 * elf/tst-main1.c: New file.
31527 * elf/tst-main1mod.c: Likewise.
31529 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31531 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
31533 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31535 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
31536 (fma): Define using libm_alias_double.
31537 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
31538 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
31540 (fmal): Do not define as compat symbol here.
31541 * sysdeps/alpha/fpu/s_fma.c: New file.
31543 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31545 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
31547 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31550 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
31552 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31554 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
31555 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31556 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
31557 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
31558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31559 Include <math_ldbl_opt.h>
31560 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31562 (compat_symbol): Undefine and redefine.
31563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
31565 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31566 (compat_symbol): Undefine and redefine.
31567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
31568 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
31569 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
31570 GLIBC_2_1 for libm.
31571 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
31572 GLIBC_2.0 copysignl symbol.
31573 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31574 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
31576 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
31578 2017-10-04 Florian Weimer <fweimer@redhat.com>
31580 * scripts/check-local-headers.sh: Ignore nspr4 header file
31581 directory in addition to nspr.
31583 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
31586 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
31587 * configure: Regenerate.
31588 * crypt/Makefile (nss-cpp-flags): New variable.
31589 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
31590 (CPPFLAGS-md5-crypt.c): Use it.
31591 * scripts/check-local-headers.sh: Ignore nspr header file
31594 2017-10-04 Andreas Schwab <schwab@suse.de>
31596 * nis/Makefile (services): Remove compat.
31597 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
31598 ($(objpfx)libnss_compat.so): Remove rule.
31599 * nis/Versions (libnss_compat): Remove.
31600 * nss/Makefile (services): Add compat.
31601 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
31602 * nss/Versions (libnss_compat): Define.
31603 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
31604 Don't include <rpc/types.h>. Replace bool_t by bool.
31605 * nss/nss_compat/compat-initgroups.c: Likewise.
31606 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
31607 instead of <rpcsrv/ypclnt.h>.
31608 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
31609 yp_get_default_domain.
31610 * nss/nss_compat/compat-pwd.c: Likewise.
31611 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
31612 yp_get_default_domain.
31613 * nss/nss_compat/nisdomain.c: New file.
31614 * nss/nss_compat/nisdomain.h: Likewise.
31616 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31619 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
31620 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31622 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31625 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
31626 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
31628 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31630 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
31631 "movl main@GOTOFF(%ebx), %eax".
31633 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31635 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
31636 allow undefined _DYNAMIC in PIE libc.a.
31637 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31640 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31642 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
31645 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31647 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
31650 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31652 * math/test-math-iscanonical.cc (error): Replace bool with int.
31654 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31656 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
31657 (modf): Define using libm_alias_double, only if [!__modf].
31658 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
31659 <libm-alias-double.h>.
31660 (modf): Define using libm_alias_double, only if [!__modf].
31661 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
31662 compat symbol here.
31663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
31664 (weak_alias): Do not undefine and redefine.
31665 (strong_alias): Likewise.
31666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
31667 (weak_alias): Likewise.
31668 (strong_alias): Likewise.
31670 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
31671 (logb): Define using libm_alias_double, only if [!__logb].
31672 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
31673 <libm-alias-double.h>.
31674 (logb): Define using libm_alias_double, only if [!__logb].
31675 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
31676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
31677 (weak_alias): Do not undefine and redefine.
31678 (strong_alias): Likewise.
31679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
31680 (weak_alias): Likewise.
31681 (strong_alias): Likewise.
31683 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31685 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
31686 Check SHARED instead PIC.
31688 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31690 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
31691 [!__fmaf] (fmaf): Define using libm_alias_float.
31693 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
31694 (frexp): Define using libm_alias_double.
31695 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
31696 <libm-alias-double.h>.
31697 (frexp): Define using libm_alias_double.
31698 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
31699 compat symbol here.
31701 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31704 * math/math.h: Trivial fix for unbalanced parentheses in comment.
31705 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
31706 (CFLAGS-test-math-iscanonical.cc): New variable.
31707 * math/test-math-iscanonical.cc: New file.
31708 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
31709 Provide a C++ implementation based on function overloading,
31710 rather than using __MATH_TG, which uses C-only builtins.
31711 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
31713 * sysdeps/powerpc/powerpc64le/Makefile
31714 (CFLAGS-test-math-iscanonical.cc): New variable.
31716 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31718 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
31719 (ceil): Define using libm_alias_double.
31720 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
31721 (floor): Define using libm_alias_double.
31722 * sysdeps/ieee754/dbl-64/s_llround.c: Include
31723 <libm-alias-double.h>.
31724 (llround): Define using libm_alias_double.
31725 * sysdeps/ieee754/dbl-64/s_lround.c: Include
31726 <libm-alias-double.h>.
31727 (lround): Define using libm_alias_double.
31728 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
31729 <libm-alias-double.h>.
31730 (nearbyint): Define using libm_alias_double.
31731 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
31732 <libm-alias-double.h>.
31733 (remquo): Define using libm_alias_double.
31734 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
31735 (rint): Define using libm_alias_double.
31736 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
31737 (round): Define using libm_alias_double.
31738 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
31739 (trunc): Define using libm_alias_double.
31740 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
31741 <libm-alias-double.h>.
31742 (ceil): Define using libm_alias_double.
31743 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
31744 <libm-alias-double.h>.
31745 (floor): Define using libm_alias_double.
31746 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
31747 <libm-alias-double.h>.
31748 (llround): Define using libm_alias_double.
31749 [_LP64] (lround): Likewise.
31750 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
31751 <libm-alias-double.h>.
31752 [!_LP64] (lround): Define using libm_alias_double.
31753 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
31754 <libm-alias-double.h>.
31755 (nearbyint): Define using libm_alias_double.
31756 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
31757 <libm-alias-double.h>.
31758 (remquo): Define using libm_alias_double.
31759 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
31760 <libm-alias-double.h>.
31761 (rint): Define using libm_alias_double.
31762 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
31763 <libm-alias-double.h>.
31764 (round): Define using libm_alias_double.
31765 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
31766 <libm-alias-double.h>.
31767 (trunc): Define using libm_alias_double.
31768 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
31769 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
31770 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
31771 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
31772 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
31773 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
31774 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
31775 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
31776 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
31778 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
31780 * math/w_remainder.c: New file.
31781 * math/w_remainderf.c: New file.
31782 * math/w_remainderl.c: New file.
31784 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31786 * elf/rtld.c (BOOTSTRAP_MAP): New.
31787 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
31788 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31790 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31792 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31795 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31797 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
31798 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
31799 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
31800 rtld_hidden_data_ver): Define to empty.
31801 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
31802 __assert_perror_fail): Likewise.
31803 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31804 (__rewinddir): Likewise.
31805 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31806 (__profile_frequency): Likewise.
31807 * include/setjmp.h (__sigsetjmp): Likewise.
31808 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
31809 __libc_sigaction): Likewise.
31810 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
31811 not set hidden attribute.
31812 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
31813 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
31814 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
31815 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
31816 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
31817 __fxstatat64): Likewise.
31818 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31819 (__uname): Likewise.
31820 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31821 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
31822 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
31823 (NO_RTLD_HIDDEN): Set.
31824 * sysdeps/mach/hurd/configure: Refresh.
31825 * config.h.in: Refresh.
31827 2017-10-02 Joseph Myers <joseph@codesourcery.com>
31829 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
31830 (atan): Define using libm_alias_double.
31831 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
31832 (tan): Define using libm_alias_double.
31833 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
31834 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
31836 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
31837 define as weak alias of __atan. Do not define any aliases if
31839 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
31840 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
31841 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
31842 as weak alias of __tan. Do not define any aliases if [__tan].
31843 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
31844 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
31845 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
31847 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
31848 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
31849 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
31850 and define as weak alias of __atan.
31851 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
31853 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
31854 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
31855 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
31856 define as weak alias of __tan.
31858 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31860 * math/w_lgamma.c: New file.
31861 * math/w_lgammaf.c: New file.
31862 * math/w_lgammal.c: New file.
31864 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31866 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
31867 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
31868 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
31869 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
31870 * sysdeps/ieee754/flt-32/w_logf.c: New file.
31871 * sysdeps/ieee754/flt-32/w_powf.c: New file.
31872 * sysdeps/i386/fpu/w_log2f.c: New file.
31873 * sysdeps/i386/fpu/w_logf.c: New file.
31874 * sysdeps/i386/fpu/w_powf.c: New file.
31875 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
31876 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
31877 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
31879 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31880 H.J. Lu <hongjiu.lu@intel.com>
31882 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
31883 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
31884 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
31885 * sysdeps/ieee754/flt-32/w_expf.c: New file.
31886 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
31888 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
31889 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
31890 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
31891 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
31892 * sysdeps/i386/fpu/w_exp2f.c: New file.
31893 * sysdeps/i386/fpu/w_expf.c: New file.
31894 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
31895 * sysdeps/x86_64/fpu/w_expf.c: New file.
31897 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31899 * math/Versions (logf): New libm symbol at GLIBC_2.27.
31902 * math/w_log2f.c: New file.
31903 * math/w_logf.c: New file.
31904 * math/w_powf.c: New file.
31905 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
31906 * math/w_logf_compat.c (__logf_compat): Likewise.
31907 * math/w_powf_compat.c (__powf_compat): Likewise.
31908 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
31909 * sysdeps/ia64/fpu/e_logf.S: Likewise.
31910 * sysdeps/ia64/fpu/e_powf.S: Likewise.
31911 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31912 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31913 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31914 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31915 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31916 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31917 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31918 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31919 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31920 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31921 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31922 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31931 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31932 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31933 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31934 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31935 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31940 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31941 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31942 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31944 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31946 * sysdeps/powerpc/powerpc64/multiarch/Makefile
31947 (sysdep_routines): Add memrchr_power8.
31948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31949 (memrchr): Add __memrchr_power8 to list of memrchr functions.
31950 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
31952 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31953 (memrchr): Add __memrchr_power8 to ifunc list.
31954 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
31956 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31959 * sysdeps/unix/sysv/linux/posix_fadvise64.c
31960 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
31962 * sysdeps/unix/sysv/linux/posix_fallocate64.c
31963 (__posix_fallocate64_l64): Likewise.
31965 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31968 * sysdeps/unix/sysv/linux/sched_setaffinity.c
31969 (__sched_setaffinity_new): Add libc_hidden_proto and
31972 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31975 * include/glob.h (__glob64): Add libc_hidden_proto.
31976 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
31979 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31982 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
31985 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31988 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
31990 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31993 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
31996 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31999 * csu/version.c (__libc_print_version): Add attribute_hidden.
32001 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32004 * include/libc-internal.h (__init_misc): Add attribute_hidden.
32006 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32009 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
32011 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32014 * nscd/nscd_helper.c (__nis_hash): New prototype.
32016 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32019 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
32020 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
32022 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
32023 * termios/tcgetattr.c (__tcgetattr): Likewise.
32025 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32028 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
32029 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
32030 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
32031 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
32032 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
32034 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32037 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
32039 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32042 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
32043 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
32045 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32048 * intl/hash-string.h (__hash_string): Add attribute_hidden.
32050 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32053 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
32054 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
32056 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32059 * include/ifreq.h: New file.
32060 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
32061 (__ifreq): Likewise.
32062 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
32063 (__ifreq): Likewise.
32065 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32068 * include/idna.h: New file.
32069 * inet/getnameinfo.c: Include <idna.h> instead of
32071 (__idna_to_unicode_lzlz): Removed.
32072 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
32074 (__idna_to_ascii_lz): Removed.
32075 (__idna_to_unicode_lzlz): Likewise.
32077 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32080 * include/plural-exp.h: New file.
32081 * intl/plural-exp.c: Include <plural-exp.h> instead of
32084 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32087 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
32088 "getsourcefilter.h".
32089 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
32090 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
32091 "getsourcefilter.h".
32092 (__get_sol): Removed.
32094 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32097 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
32099 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
32101 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32104 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
32107 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32110 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
32112 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32115 * include/search.h (__tdestroy): Add libc_hidden_proto.
32116 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
32118 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32121 * include/assert.h (__assert_fail_base): Add attribute_hidden.
32123 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32126 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
32129 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32132 * include/signal.h (__kill): Add libc_hidden_proto.
32133 (__sigblock): Likewise.
32134 (__sigprocmask): Likewise.
32135 (__sigaltstack): Likewise.
32136 * signal/kill.c (__kill): Add libc_hidden_def.
32137 * signal/sigblock.c (__sigblock): Likewise.
32138 * signal/sigprocmask.c (__sigprocmask): Likewise.
32139 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
32140 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
32141 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
32142 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
32143 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
32145 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
32147 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
32148 (__sigprocmask): Likewise.
32149 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
32151 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
32152 (__sigprocmask): Likewise.
32153 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
32156 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32159 * include/string.h (__strsep): Add libc_hidden_proto.
32160 * string/strsep.c (__strsep): Add libc_hidden_def.
32162 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32165 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
32167 (__spawni): Likewise.
32169 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32172 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
32173 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
32176 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32179 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
32181 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32184 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
32185 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
32186 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
32187 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
32188 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
32190 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
32191 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
32193 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32196 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
32197 (__dcigettext): Likewise.
32199 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32202 * include/sys/sysinfo.h (__get_nprocs_conf): Add
32204 (__get_nprocs): Likewise.
32205 (__get_phys_pages): Likewise.
32206 (__get_avphys_pages): Likewise.
32207 (__get_child_max): Add attribute_hidden.
32208 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
32209 (__get_nprocs): Likewise.
32210 (__get_phys_pages): Likewise.
32211 (__get_avphys_pages): Likewise.
32212 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
32214 (__get_nprocs): Likewise.
32215 (__get_phys_pages): Likewise.
32216 (__get_avphys_pages): Likewise.
32217 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
32219 (__get_nprocs_conf): Likewise.
32220 (__get_phys_pages): Likewise.
32221 (__get_avphys_pages): Likewise.
32223 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32226 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
32228 (__netlink_close): Likewise.
32229 (__netlink_free_handle): Likewise.
32230 (__netlink_request): Likewise.
32232 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32235 * include/rpc/rpc.h (__rpc_thread_variables): Add
32237 (__rpc_thread_svc_cleanup): Likewise.
32238 (__rpc_thread_clnt_cleanup): Likewise.
32239 (__rpc_thread_key_cleanup): Likewise.
32241 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32244 * include/sys/uio.h (__readv): Add libc_hidden_proto.
32245 (__writev): Likewise.
32246 * misc/readv.c (__readv): Add libc_hidden_def.
32247 * misc/writev.c (__writev): Likewise.
32248 * sysdeps/posix/readv.c (__readv): Likewise.
32249 * sysdeps/posix/writev.c (__writev): Likewise.
32250 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
32251 (__readv): Likewise.
32252 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
32253 (__writev): Likewise.
32255 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32258 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
32259 (__regcomp): Add libc_hidden_proto.
32260 (__regexec): Likewise.
32261 (__regfree): Likewise.
32262 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
32263 (__regfree): Likewise.
32264 * posix/regexec.c (__regexec): Likewise.
32266 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32269 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
32270 (__getutent): Likewise.
32271 (__getutid): Likewise.
32272 (__getutline): Likewise.
32273 (__pututline): Likewise.
32274 (__getutent_r): Likewise.
32275 (__getutid_r): Likewise.
32276 (__getutline_r): Likewise.
32277 (__utmpname): Add attribute_hidden.
32278 (__setutent): Likewise.
32279 (__endutent): Likewise.
32280 * login/getutent.c (__getutent): Add libc_hidden_def.
32281 * login/getutent_r.c (__getutent_r): Likewise.
32282 (__pututline): Likewise.
32283 * login/getutid.c (__getutid): Likewise.
32284 * login/getutid_r.c (__getutid_r): Likewise.
32285 * login/getutline.c (__getutline): Likewise.
32286 * login/getutline_r.c (__getutline_r): Likewise.
32287 * login/updwtmp.c (__updwtmp): Likewise.
32289 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32292 * include/dirent.h (__opendir): Always add attribute_hidden.
32293 (__fdopendir): Likewise.
32294 (__closedir): Likewise.
32295 (__readdir): Likewise.
32296 (__readdir64): Add libc_hidden_proto.
32297 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
32298 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
32299 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
32300 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
32303 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32306 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
32307 * include/netdb.h (__gethostbyaddr_r): Likewise.
32308 (__gethostbyname_r): Likewise.
32309 (__gethostbyname2_r): Likewise.
32310 (__getnetbyaddr_r): Likewise.
32311 (__getnetbyname_r): Likewise.
32312 (__getservbyname_r): Likewise.
32313 (__getservbyport_r): Likewise.
32314 (__getprotobyname_r): Likewise.
32315 (__getprotobynumber_r): Likewise.
32316 (__getnetgrent_r): Likewise.
32317 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
32318 (__getrpcbynumber_r): Likewise.
32319 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
32321 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32324 * include/stdio.h (__fcloseall): Add attribute_hidden.
32325 (__getline): Likewise.
32326 (__path_search): Likewise.
32327 (__gen_tempname): Likewise.
32328 (__libc_message): Likewise.
32329 (__flockfile): Likewise.
32330 (__funlockfile): Likewise.
32331 (__fxprintf): Likewise.
32332 (__fxprintf_nocancel): Likewise.
32334 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32337 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
32338 (__sgetsgent_r): Likewise.
32340 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32343 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
32344 (__statfs64): Likewise.
32345 (__fstatfs64): Likewise.
32346 * include/sys/statvfs.h (__statvfs64): Likewise.
32347 (__fstatvfs64): Likewise.
32348 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
32349 (__statfs_filesize_max): Likewise.
32350 (__statfs_symlinks): Likewise.
32351 (__statfs_chown_restricted): Likewise.
32353 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32356 * include/time.h (__tzstring): Add attribute_hidden.
32357 (__tzfile_read): Likewise.
32358 (__tzfile_compute): Likewise.
32359 (__tzfile_default): Likewise.
32360 (__tzset_parse_tz): Likewise.
32361 (__offtime): Likewise.
32362 (__asctime_r): Likewise.
32363 (__tzset): Likewise.
32364 (__tz_convert): Likewise.
32365 (__getdate_r): Likewise.
32366 (__getclktck): Likewise.
32368 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32371 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
32372 (__nscd_unmap): Likewise.
32373 (__nscd_cache_search): Likewise.
32374 (__nscd_get_nl_timestamp): Likewise.
32375 (__nscd_getpwnam_r): Likewise.
32376 (__nscd_getpwuid_r): Likewise.
32377 (__nscd_getgrnam_r): Likewise.
32378 (__nscd_getgrgid_r): Likewise.
32379 (__nscd_gethostbyname_r): Likewise.
32380 (__nscd_gethostbyname2_r): Likewise.
32381 (__nscd_gethostbyaddr_r): Likewise.
32382 (__nscd_getai): Likewise.
32383 (__nscd_getgrouplist): Likewise.
32384 (__nscd_getservbyname_r): Likewise.
32385 (__nscd_getservbyport_r): Likewise.
32386 (__nscd_innetgr): Likewise.
32387 (__nscd_setnetgrent): Likewise.
32389 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32392 * include/gmp.h: Declare internal functions only if _ISOMAC is
32394 (__mpn_extract_double): Add attribute_hidden.
32395 (__mpn_extract_long_double): Likewise.
32396 (__mpn_extract_float128): Likewise.
32397 (__mpn_construct_float): Likewise.
32398 (__mpn_construct_double): Likewise.
32399 (__mpn_construct_long_double): Likewise.
32400 (__mpn_construct_float128): Likewise.
32401 (mpn_add_1): Likewise.
32402 (mpn_addmul_1): Likewise.
32403 (mpn_add_n): Likewise.
32404 (mpn_cmp): Likewise.
32405 (mpn_divrem): Likewise.
32406 (mpn_lshift): Likewise.
32407 (mpn_mul): Likewise.
32408 (mpn_mul_1): Likewise.
32409 (mpn_rshift): Likewise.
32410 (mpn_sub_1): Likewise.
32411 (mpn_submul_1): Likewise.
32412 (mpn_sub_n): Likewise.
32414 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32417 * include/wchar.h (__wcsnlen): Add attribute_hidden.
32418 (__wcscat): Likewise.
32419 (__btowc): Likewise.
32420 (__wcrtomb): Likewise.
32421 (__mbsrtowcs): Likewise.
32422 (__wcsrtombs): Likewise.
32423 (__mbsnrtowcs): Likewise.
32424 (__wcsnrtombs): Likewise.
32425 (__wcsncpy): Likewise.
32426 (__wcpncpy): Likewise.
32427 (__wmemcpy): Likewise.
32428 (__wmempcpy): Likewise.
32429 (__wmemmove): Likewise.
32430 (__wcschrnul): Likewise.
32431 (__vfwscanf): Likewise.
32432 (__vswprintf): Likewise.
32433 (__fwprintf): Likewise.
32434 (__vfwprintf): Likewise.
32436 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32439 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
32440 (__getgrgid_r): Likewise.
32441 (__getgrnam_r): Likewise.
32442 * include/pwd.h (__getpwuid_r): Likewise.
32443 (__getpwnam_r): Likewise.
32444 (__fgetpwent_r): Likewise.
32445 * include/shadow.h (__getspnam_r): Likewise.
32446 (__sgetspent_r): Likewise.
32447 (__fgetspent_r): Likewise.
32449 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32452 * include/unistd.h (__access): Add attribute_hidden.
32453 (__lseek64): Likewise.
32454 (__libc_pread64): Likewise.
32455 (__pipe2): Likewise.
32456 (__sleep): Likewise.
32457 (__chdir): Likewise.
32458 (__fchdir): Likewise.
32459 (__getcwd): Likewise.
32460 (__rmdir): Likewise.
32461 (__execvpe): Likewise.
32462 (__execve): Likewise.
32463 (__setsid): Likewise.
32464 (__getuid): Likewise.
32465 (__geteuid): Likewise.
32466 (__getgid): Likewise.
32467 (__getegid): Likewise.
32468 (__getgroups): Likewise.
32469 (__group_member): Likewise.
32470 (__ttyname_r): Likewise.
32471 (__isatty): Likewise.
32472 (__readlink): Likewise.
32473 (__unlink): Likewise.
32474 (__gethostname): Likewise.
32475 (__profil): Likewise.
32476 (__getdtablesize): Likewise.
32478 (__ftruncate): Likewise.
32479 (__ftruncate64): Likewise.
32481 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32484 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
32485 * argp/argp-fs-xinl.c: Likewise.
32486 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
32487 * argp/argp-parse.c: Include <argp.h>.
32488 * argp/argp-xinl.c: Likewise.
32489 * include/argp-fmtstream.h: New file.
32490 * include/argp.h (__argp_error): Add attribute_hidden.
32491 (__argp_failure): Likewise.
32492 (__argp_input): Likewise.
32493 (__argp_state_help): Likewise.
32495 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32498 * include/wchar.h (____wcstof_l_internal): New prototype.
32499 (____wcstod_l_internal): Likewise.
32500 (____wcstold_l_internal): Likewise.
32501 (____wcstol_l_internal): Likewise.
32502 (____wcstoul_l_internal): Likewise.
32503 (____wcstoll_l_internal): Likewise.
32504 (____wcstoull_l_internal): Likewise.
32505 (____wcstof128_l_internal): Likewise.
32506 * sysdeps/ieee754/float128/wcstof128.c
32507 (____wcstof128_l_internal): Removed.
32508 * sysdeps/ieee754/float128/wcstof128_l.c
32509 (____wcstof128_l_internal): Likewise.
32510 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
32511 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
32512 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
32513 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
32514 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
32515 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
32516 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
32517 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
32518 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
32519 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
32521 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32524 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
32525 instead of <sys/statvfs.h>.
32526 (__internal_statvfs): Removed.
32527 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
32528 instead of <sys/statvfs.h>.
32529 (__internal_statvfs64): Removed.
32530 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
32531 "internal_statvfs.h" instead of <sys/statvfs.h>.
32532 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
32533 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
32534 instead of <sys/statvfs.h>.
32535 (__internal_statvfs): Removed.
32536 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
32537 instead of <sys/statvfs.h>.
32538 (__internal_statvfs64): Removed.
32540 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32543 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
32544 (__gconv_close): Likewise.
32545 (__gconv): Likewise.
32546 (__gconv_find_transform): Likewise.
32547 (__gconv_lookup_cache): Likewise.
32548 (__gconv_compare_alias_cache): Likewise.
32549 (__gconv_load_cache): Likewise.
32550 (__gconv_get_path): Likewise.
32551 (__gconv_close_transform): Likewise.
32552 (__gconv_release_cache): Likewise.
32553 (__gconv_find_shlib): Likewise.
32554 (__gconv_release_shlib): Likewise.
32555 (__gconv_get_builtin_trans): Likewise.
32556 (__gconv_compare_alias): Likewise.
32557 * include/dlfcn.h (_dlerror_run): Likewise.
32558 * include/stdio.h (__fortify_fail_abort): Likewise.
32559 * include/time.h (__tz_compute): Likewise.
32560 (__strptime_internal): Likewise.
32561 * intl/gettextP.h (_nl_find_domain): Likewise.
32562 (_nl_load_domain): Likewise.
32563 (_nl_find_msg): Likewise.
32564 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
32565 (EXTRACT_PLURAL_EXPRESSION): Likewise.
32566 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
32567 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
32568 (__gai_find_request): Likewise.
32569 (__gai_remove_request): Likewise.
32570 (__gai_notify): Likewise.
32571 (__gai_notify_only): Likewise.
32572 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32573 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32574 (_dl_non_dynamic_init): Likewise.
32575 (_dl_aux_init): Likewise.
32576 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
32577 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32579 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
32580 (__wcsmbs_clone_conv): Likewise.
32581 (__wcsmbs_named_conv): Likewise.
32583 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32586 * include/stdlib.h (__random): Add attribute_hidden.
32587 (__random_r): Likewise.
32588 (__srandom_r): Likewise.
32589 (__initstate_r): Likewise.
32590 (__setstate_r): Likewise.
32591 (__erand48_r): Likewise.
32592 (__nrand48_r): Likewise.
32593 (__jrand48_r): Likewise.
32594 (__srand48_r): Likewise.
32595 (__seed48_r): Likewise.
32596 (__lcong48_r): Likewise.
32597 (__drand48_iterate): Likewise.
32598 (__setenv): Likewise.
32599 (__unsetenv): Likewise.
32600 (__clearenv): Likewise.
32601 (__ptsname_r): Likewise.
32602 (__posix_openpt): Likewise.
32603 (__add_to_environ): Likewise.
32604 (__realpath): Add libc_hidden_proto.
32605 (__ecvt_r): Likewise.
32606 (__fcvt_r): Likewise.
32607 (__qecvt_r): Likewise.
32608 (__qfcvt_r): Likewise.
32609 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
32610 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
32612 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32615 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
32616 * include/time.h (__mktime_internal): Likewise.
32617 * libio/iolibio.h (__fopen_internal): Likewise.
32619 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
32621 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
32623 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
32624 Correct offset used to restore PIC register.
32626 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
32629 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
32630 code to load address of __getcontext_ret when generating PIC code.
32632 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
32634 * elf/Makefile (tests-static-internal): Add
32635 tst-tls1-static-non-pie.
32636 (LDFLAGS-tst-tls1-static-non-pie): New.
32637 * elf/tst-tls1-static-non-pie.c: New file.
32639 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32641 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
32642 (asinh): Define using libm_alias_double.
32643 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
32644 (cbrt): Define using libm_alias_double.
32645 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
32646 <libm-alias-double.h>.
32647 (copysign): Define using libm_alias_double.
32648 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
32649 (erf): Define using libm_alias_double.
32651 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
32652 (expm1): Define using libm_alias_double.
32653 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
32654 (fabs): Define using libm_alias_double.
32655 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
32657 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
32658 <libm-alias-double.h>.
32659 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
32661 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
32662 <libm-alias-double.h>.
32663 (getpayload): Define using libm_alias_double.
32664 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
32665 <libm-alias-double.h>.
32666 (llrint): Define using libm_alias_double.
32667 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
32668 (lrint): Define using libm_alias_double.
32669 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
32670 <libm-alias-double.h>.
32671 (nextup): Define using libm_alias_double.
32672 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
32673 <libm-alias-double.h>.
32674 (roundeven): Define using libm_alias_double.
32675 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
32677 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
32678 <libm-alias-double.h>.
32679 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
32680 using libm_alias_double.
32681 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
32682 (cos): Define using libm_alias_double.
32684 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
32685 <libm-alias-double.h>.
32686 (sincos): Define using libm_alias_double.
32687 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
32688 (tanh): Define using libm_alias_double.
32689 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
32690 <libm-alias-double.h>.
32691 (totalorder): Define using libm_alias_double.
32692 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
32693 <libm-alias-double.h>.
32694 (totalordermag): Define using libm_alias_double.
32695 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
32697 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
32699 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
32700 <libm-alias-double.h>.
32701 (getpayload): Define using libm_alias_double.
32702 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
32703 <libm-alias-double.h>.
32704 (roundeven): Define using libm_alias_double.
32705 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
32706 <libm-alias-double.h>.
32707 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
32708 <libm-alias-double.h>.
32709 (totalorder): Define using libm_alias_double.
32710 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
32711 <libm-alias-double.h>.
32712 (totalordermag): Define using libm_alias_double.
32713 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
32714 libc compat symbol here.
32715 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
32716 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
32717 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
32718 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
32719 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
32720 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
32721 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
32722 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
32723 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
32724 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
32726 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32728 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
32729 _dl_relocate_static_pie instead of _dl_start to compute load
32730 address in static PIE. Return 0 if _DYNAMIC is undefined for
32733 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32735 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
32736 _DYNAMIC is undefined for static executable.
32738 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32740 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
32742 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32744 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32746 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32748 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
32749 (__ieee754_lgamma_r): Use fabs rather than __fabs.
32750 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32751 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32752 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
32753 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
32754 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32755 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
32756 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
32757 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32758 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
32759 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
32760 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32761 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32762 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32763 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32764 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
32766 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32768 * math/bits/cmathcalls.h (cimag): Remove inline.
32769 (creal): Remove inline.
32770 (conj): Remove inline.
32772 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32774 * math/Makefile (type-float-routines): Add e_powf_log2_data.
32775 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
32776 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
32777 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
32778 (issignalingf_inline): Likewise.
32779 (POWF_LOG2_TABLE_BITS): Likewise.
32780 (POWF_LOG2_POLY_ORDER): Likewise.
32781 (POWF_SCALE_BITS): Likewise.
32782 (POWF_SCALE): Likewise.
32783 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
32784 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
32785 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
32787 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32789 * math/Makefile (type-float-routines): Add e_log2f_data.
32790 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
32791 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
32792 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
32793 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
32794 * sysdeps/i386/fpu/e_log2f_data.c: New file.
32795 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
32796 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
32798 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32800 * math/Makefile (type-float-routines): Add e_logf_data.
32801 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
32802 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
32803 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
32804 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
32805 * sysdeps/i386/fpu/e_logf_data.c: New file.
32806 * sysdeps/ia64/fpu/e_logf_data.c: New file.
32807 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
32809 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
32811 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
32812 undefined _DYNAMIC in PIE libc.a.
32813 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32816 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32818 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
32819 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
32820 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
32821 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
32822 (__signbit): Remove.
32823 (__signbitl): Remove.
32824 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
32825 (__signbit): Remove.
32826 (__signbitl): Remove.
32827 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
32828 (__signbit): Remove.
32829 (__signbitl): Remove.
32830 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
32831 (__signbit): Remove.
32832 (__signbitl): Remove.
32833 * sysdeps/tile/bits/mathinline.h: Delete file.
32834 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
32835 (__signbit): Remove.
32836 (__signbitl): Remove.
32838 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32840 * math/math.h: Improve handling of C99 isgreater macros.
32841 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
32842 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
32843 * sysdeps/powerpc/bits/mathinline.h: Likewise.
32844 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32845 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
32847 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
32849 * sysdeps/aarch64/libm-test-ulps: Update.
32851 2017-09-28 Joseph Myers <joseph@codesourcery.com>
32854 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32855 math_opt_barrier on argument when doing arithmetic on it.
32856 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32857 Likewise. Use math_force_eval not math_opt_barrier after
32859 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
32860 math_opt_barrier on argument when doing arithmetic on it.
32861 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32864 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
32866 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
32868 (__freeifaddrs): Likewise.
32870 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32872 * include/dirent.h (__dirfd): New declaration.
32873 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
32875 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
32876 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
32877 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
32878 * include/unistd.h (__revoke): New declaration.
32879 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
32881 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
32882 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
32884 * include/dirent.h (__seekdir): New declaration.
32885 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
32886 redefine as weak alias.
32887 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
32889 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
32890 and use libc_hidden_def on them.
32891 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
32893 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
32894 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
32895 instead of getifaddrs and freeifaddrs.
32897 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32900 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
32901 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
32902 (__dso_handle): Remove declaration.
32903 * dlfcn/tstatexit.c (__dso_handle): Removed.
32904 (main): Don't check __dso_handle.
32905 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
32906 (main): Don't check __dso_handle.
32907 * include/dso_handle.h: New file.
32908 * malloc/mtrace.c: Include <dso_handle.h>.
32909 (mtrace): Pass __dso_handle directly.
32910 * nptl/pthread_atfork.c: Include <dso_handle.h>.
32911 (__dso_handle): Remove declaration.
32912 (__pthread_atfork): Pass __dso_handle directly.
32913 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
32914 (__dso_handle): Removed.
32915 * posix/wordexp-test.c: Include <dso_handle.h>.
32916 (__dso_handle): Remove declaration.
32917 (__app_register_atfork): Pass __dso_handle directly.
32918 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
32919 (__dso_handle): Remove declaration.
32920 (at_quick_exit): Pass __dso_handle directly.
32921 * stdlib/atexit.c: Include <dso_handle.h>.
32922 (__dso_handle): Remove declaration.
32923 (atexit): Pass __dso_handle directly.
32924 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
32925 (__dso_handle): Removed.
32927 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32929 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
32932 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
32934 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
32935 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
32936 values to correct default value for given type.
32938 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32941 * elf/Makefile (tests): Add tst-debug1.
32942 ($(objpfx)tst-debug1): New.
32943 ($(objpfx)tst-debug1.out): Likewise.
32944 ($(objpfx)tst-debug1mod1.so): Likewise.
32945 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
32946 with p_filesz == 0.
32947 * elf/tst-debug1.c: New file.
32949 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32951 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
32952 Define using __ifunc.
32954 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32956 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
32959 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32962 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
32964 2017-09-26 Florian Weimer <fweimer@redhat.com>
32966 * resolv/Makefile (tests-internal): Fix typo in comment.
32968 2017-09-26 Florian Weimer <fweimer@redhat.com>
32970 * resolv/nss_dns/dns-host.c: Fix typo in comment.
32972 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32974 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
32975 Use an union instead of a max_align_t array for __space,
32976 so that __space is the same size on all platforms.
32977 * malloc/scratch_buffer_grow_preserve.c
32978 (__libc_scratch_buffer_grow_preserve): Likewise.
32981 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
32983 * posix/Makefile (routines): Add glob-lstat-compat and
32984 glob64-lstat-compat.
32985 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
32986 * posix/glob-lstat-compat.c: New file.
32987 * posix/glob64-lstat-compat.c: Likewise.
32988 * posix/tst-glob_lstat_compat.c: Likewise.
32989 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
32990 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
32991 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
32992 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
32994 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
32995 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32996 * posix/glob.c (glob_lstat): New function.
32997 (glob): Rename to __glob and add versioned symbol to 2.27.
32998 (glob_in_dir): Use glob_lstat.
32999 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
33000 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
33001 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
33003 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
33004 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
33005 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
33006 gl_lstat on glob call.
33007 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
33008 and glob64 symbols.
33009 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
33010 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
33011 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
33012 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
33013 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
33014 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
33015 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
33016 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
33017 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
33018 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
33019 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
33020 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
33021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
33023 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
33024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
33025 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
33026 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
33027 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
33028 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
33029 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
33030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
33031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
33032 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
33033 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
33034 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
33036 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
33038 * configure.ac (AS): Require binutils 2.25 or later.
33039 * configure: Regenerated.
33041 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33044 * stdlib/test-atexit-race-common.c (do_test): Minimize required
33047 2017-09-25 DJ Delorie <dj@redhat.com>
33050 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
33053 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
33055 * sysdeps/ieee754/dbl-64/sincos32.h
33056 [SINCCOS32_H]: Remove define.
33057 [SINCOS32_H]: Define.
33059 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33061 * math/Versions (expf): New libm symbol at GLIBC_2.27.
33063 * math/w_exp2f.c: New file.
33064 * math/w_expf.c: New file.
33065 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
33066 * math/w_expf_compat.c (__expf_compat): Likewise.
33067 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
33068 * sysdeps/ia64/fpu/e_expf.S: Likewise.
33069 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
33070 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
33071 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
33072 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
33073 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
33074 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
33075 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
33076 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
33077 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
33078 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
33079 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
33080 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
33081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
33083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
33087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
33089 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
33090 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
33091 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
33092 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
33093 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
33094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
33096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
33098 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
33099 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
33100 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
33102 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33104 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
33105 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
33106 (roundtoint, converttoint): Likewise.
33107 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
33108 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
33109 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
33110 * sysdeps/ieee754/flt-32/math_config.h: New file.
33111 * sysdeps/ieee754/flt-32/math_errf.c: New file.
33112 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
33113 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
33114 * sysdeps/i386/fpu/math_errf.c: New file.
33115 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
33116 * sysdeps/ia64/fpu/math_errf.c: New file.
33117 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
33118 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
33120 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
33122 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
33123 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
33124 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
33125 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
33126 to make sure that these symbols are defined.
33127 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
33129 (__need_NULL): Do not define.
33130 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
33132 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
33133 CMGROUP_MAX, cmsgcred): Do not define.
33134 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
33136 * bits/socket.h: Likewise.
33137 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
33138 __gettimeofday instead of gettimeofday.
33139 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
33140 instead of settimeofday.
33142 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33144 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
33145 (asinhf): Define using libm_alias_float.
33146 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
33147 (atanf): Define using libm_alias_float.
33148 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
33149 (cbrtf): Define using libm_alias_float.
33150 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
33151 (ceilf): Define using libm_alias_float.
33152 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
33153 <libm-alias-float.h>.
33154 (copysignf): Define using libm_alias_float.
33155 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
33156 (cosf): Define using libm_alias_float.
33157 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
33158 (erff): Define using libm_alias_float.
33160 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
33161 (expm1f): Define using libm_alias_float.
33162 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
33163 (fabsf): Define using libm_alias_float.
33164 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
33165 (floorf): Define using libm_alias_float.
33166 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
33167 (frexpf): Define using libm_alias_float.
33168 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
33170 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
33171 <libm-alias-float.h>.
33172 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
33174 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
33175 <libm-alias-float.h>.
33176 (getpayloadf): Define using libm_alias_float.
33177 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
33178 <libm-alias-float.h>.
33179 (llrintf): Define using libm_alias_float.
33180 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
33181 <libm-alias-float.h>.
33182 (llroundf): Define using libm_alias_float.
33183 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
33184 (logbf): Define using libm_alias_float.
33185 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
33186 (lrintf): Define using libm_alias_float.
33187 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
33188 (lroundf): Define using libm_alias_float.
33189 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
33190 (modff): Define using libm_alias_float.
33191 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
33192 <libm-alias-float.h>.
33193 (nearbyintf): Define using libm_alias_float.
33194 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
33195 <libm-alias-float.h>.
33196 (nextafterf): Define using libm_alias_float.
33197 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
33198 <libm-alias-float.h>.
33199 (nextupf): Define using libm_alias_float.
33200 * sysdeps/ieee754/flt-32/s_remquof.c: Include
33201 <libm-alias-float.h>.
33202 (remquof): Define using libm_alias_float.
33203 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
33204 (rintf): Define using libm_alias_float.
33205 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
33206 <libm-alias-float.h>.
33207 (roundevenf): Define using libm_alias_float.
33208 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
33209 (roundf): Define using libm_alias_float.
33210 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
33211 using libm_alias_float.
33212 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
33213 <libm-alias-float.h>.
33214 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
33215 Define using libm_alias_float.
33216 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
33217 <libm-alias-float.h>.
33218 (sincosf): Define using libm_alias_float.
33219 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
33220 (sinf): Define using libm_alias_float.
33221 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
33222 (tanf): Define using libm_alias_float.
33223 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
33224 (tanhf): Define using libm_alias_float.
33225 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
33226 <libm-alias-float.h>.
33227 (totalorderf): Define using libm_alias_float.
33228 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
33229 <libm-alias-float.h>.
33230 (totalordermagf): Define using libm_alias_float.
33231 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
33232 (truncf): Define using libm_alias_float.
33233 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
33235 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
33238 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33241 math/math.h: Let fpclassify use the builtin in C++ mode, even
33242 when optimazing for size.
33244 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33246 * csu/Makefile (generated): Do not add version-info.h.
33247 (before-compile): Likewise.
33248 (all-Banner-files): Remove variable.
33249 ($(objpfx)version-info.h): Remove rule.
33250 * csu/version.c (banner): Do not include "version-info.h".
33251 * libidn/Banner: Remove.
33252 * manual/contrib.texi (Simon Josefsson): New entry.
33254 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33256 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33257 Remove conditionals on LDBL_MANT_DIG.
33258 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
33259 (__ieee754_lgammal_r): Likewise.
33261 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33263 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
33265 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
33266 _Float128 and L(). Replace _Float128 with long double and L(x)
33267 with xL, throughout the file.
33268 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33269 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33270 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33271 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33273 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33275 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
33276 sysdeps/ieee754/ldbl-128ibm.
33277 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
33278 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
33279 of including it. Keep _Float128 and L() intact. These will be
33280 reviewed by a separate patch.
33281 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33282 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33283 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33284 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33286 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
33289 (__finitef128): Define to __redirect___finitef128.
33290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
33291 (__isinff128): Define to __redirect___isinff128.
33292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
33293 (__isnanf128): Define to __redirect___isnanf128.
33295 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33297 * sysdeps/powerpc/powerpc64le/Makefile
33298 (CFLAGS-tst-strtod-nan-locale.c): New variable.
33299 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
33301 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
33302 Carlos O'Donell <carlos@redhat.com>
33305 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
33306 * stdlib/test-dlclose-exit-race.c: New file.
33307 * stdlib/test-dlclose-exit-race-helper.c: New file.
33308 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
33310 2017-09-21 Joseph Myers <joseph@codesourcery.com>
33312 * crypt/Banner: Remove file.
33313 * nptl/Banner: Likewise.
33314 * resolv/Banner: Likewise.
33315 * soft-fp/Banner: Likewise.
33316 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
33317 ($(objpfx)version.d): Remove dependency on banner.h.
33318 ($(objpfx)version.os): Likewise.
33319 * nptl/version.c (banner): Do not include banner.h.
33320 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
33321 Jelinek and BIND code.
33323 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33324 Carlos O'Donell <carlos@redhat.com>
33326 * support/xdlfcn.h: New file.
33327 * support/xdlfcn.c: New file.
33328 * support/Makefile (libsupport-routines): Add xdlfcn.
33329 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
33331 2017-09-20 Joseph Myers <joseph@codesourcery.com>
33334 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33335 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
33336 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
33337 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
33338 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
33339 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
33340 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
33341 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
33343 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33344 Ricky Zhou <rickyz@google.com>
33345 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
33348 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
33350 (__new_exitfn): Fail registration when we finished at_exit processing.
33351 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33352 * stdlib/on_exit.c (__on_exit): Likewise.
33353 * stdlib/exit.c (__exit_funcs_done): New variable.
33354 (__run_exit_handlers): Use __exit_funcs_lock.
33355 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
33357 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
33358 (test-cxa_atexit-race, test-on_exit-race): New tests.
33359 * stdlib/test-atexit-race-common.c: New file.
33360 * stdlib/test-atexit-race.c: New file.
33361 * stdlib/test-at_quick_exit-race.c: New file.
33362 * stdlib/test-cxa_atexit-race.c: New file.
33363 * stdlib/test-on_exit-race.c: New file.
33365 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
33367 * benchtests/Makefile: Add exp2f and log2f benchmarks.
33368 * benchtests/exp2f-inputs: Copy of expf-inputs.
33369 * benchtests/log2f-inputs: Copy of logf-inputs.
33371 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33373 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
33374 Explicitly take address of first element of array arguments in
33375 call to INLINE_SYSCALL.
33377 2017-09-19 Andreas Schwab <schwab@suse.de>
33380 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
33382 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
33384 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
33385 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
33386 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33387 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
33388 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33389 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33390 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33391 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33392 * posix/Makefile (tests): Add tst-fexecve.
33393 * posix/tst-fexecve.c: New file.
33395 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33397 * benchtests/Makefile: Add logf benchmark.
33398 * benchtests/logf-inputs: Add reduced trace from wrf_r.
33400 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33402 * benchtests/Makefile: Add expf benchmark.
33403 * benchtests/expf-inputs: Add reduced trace from wrf_r.
33405 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33407 * csu/Makefile: Add -funwind-tables to libc-start.c.
33408 * debug/Makefile: Add -funwind-tables to backtrace.c.
33409 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
33410 * sysdeps/arm/Makefile: Likewise.
33411 * sysdeps/i386/Makefile: Likewise.
33412 * sysdeps/m68k/Makefile: Likewise.
33413 * sysdeps/mips/Makefile: Likewise.
33414 * sysdeps/nios2/Makefile: Likewise.
33415 * sysdeps/sh/Makefile: Likewise.
33416 * sysdeps/sparc/Makefile: Likewise.
33418 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33420 * benchtests/Makefile (bench-math): Add trunc and truncf.
33421 (CFLAGS-bench-trunc.c): New variable.
33422 (CFLAGS-bench-truncf.c): Likewise.
33423 * benchtests/trunc-inputs: New file.
33424 * benchtests/truncf-inputs: Likewise.
33426 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33428 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
33430 2017-09-18 Joseph Myers <joseph@codesourcery.com>
33432 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
33433 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
33435 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
33436 (exp10l): Define as weak alias.
33437 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
33438 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
33440 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
33441 (remainderl): Define as weak alias.
33443 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
33444 (fmal): Define using libm_alias_ldouble.
33445 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
33446 (acoshl): Define using libm_alias_ldouble.
33447 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
33448 (acosl): Define using libm_alias_ldouble.
33449 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
33450 (asinl): Define using libm_alias_ldouble.
33451 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
33452 (atan2l): Define using libm_alias_ldouble.
33453 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
33454 (atanhl): Define using libm_alias_ldouble.
33455 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
33456 (coshl): Define using libm_alias_ldouble.
33457 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
33458 (exp10l): Define using libm_alias_ldouble.
33459 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
33460 (exp2l): Define using libm_alias_ldouble.
33461 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
33462 (expl): Define using libm_alias_ldouble.
33463 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
33464 (fmodl): Define using libm_alias_ldouble.
33465 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
33466 (hypotl): Define using libm_alias_ldouble.
33467 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
33468 (j0l): Define using libm_alias_ldouble.
33470 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
33471 (j1l): Define using libm_alias_ldouble.
33473 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
33474 (jnl): Define using libm_alias_ldouble.
33476 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
33477 (log10l): Define using libm_alias_ldouble.
33478 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
33479 (log2l): Define using libm_alias_ldouble.
33480 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
33481 (logl): Define using libm_alias_ldouble.
33482 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
33483 (powl): Define using libm_alias_ldouble.
33484 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
33485 (remainderl): Define using libm_alias_ldouble.
33486 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
33487 (sinhl): Define using libm_alias_ldouble.
33488 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
33489 (sqrtl): Define using libm_alias_ldouble.
33490 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
33491 (tgammal): Define using libm_alias_ldouble.
33492 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
33493 (exp10l): Do not use long_double_symbol here.
33494 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
33495 [LIBM_SVID_COMPAT] (remainderl): Likewise.
33496 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
33497 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33498 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33499 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33500 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33501 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33502 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33503 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33504 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33505 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33506 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33507 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33508 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33509 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33510 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33511 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33512 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33513 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33514 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33515 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33517 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
33519 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
33520 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
33522 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
33524 * io/read.c (read): Add libc_hidden_weak.
33525 * sysdeps/mach/hurd/read.c (read): Likewise.
33526 * io/write.c (write): Likewise.
33527 * sysdeps/mach/hurd/write.c (write): Likewise.
33528 * io/pread64.c (__pread64): Likewise.
33529 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
33530 * posix/pread64.c (__pread64): Add libc_hidden_def.
33532 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
33534 * benchtests/scripts/compare_strings.py: New option -g.
33535 (draw_graph): Print a message that a graph is being generated.
33536 (process_results): Generate graph only if -g is passed.
33537 (main): Process option -g.
33539 * benchtests/scripts/compare_strings.py (process_results):
33540 Better spacing for output.
33542 * benchtests/scripts/compare_strings.py: Use argparse.
33543 * benchtests/README: Document existence of compare_strings.py.
33545 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33547 * math/s_fma.c: Include <libm-alias-double.h>.
33548 (fma): Define using libm_alias_double.
33549 * math/s_nextafter.c: Include <libm-alias-double.h>.
33550 (nextafter): Define using libm_alias_double.
33551 * math/w_acos_compat.c: Include <libm-alias-double.h>.
33552 (acos): Define using libm_alias_double.
33553 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
33554 (aocsh): Define using libm_alias_double.
33555 * math/w_asin_compat.c: Include <libm-alias-double.h>.
33556 (asin): Define using libm_alias_double.
33557 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
33558 (atan2): Define using libm_alias_double.
33559 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
33560 (atanh): Define using libm_alias_double.
33561 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
33562 (cosh): Define using libm_alias_double.
33563 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
33564 (exp10): Define using libm_alias_double.
33565 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
33566 (exp2): Define using libm_alias_double.
33567 * math/w_exp_compat.c: Include <libm-alias-double.h>.
33568 (exp): Define using libm_alias_double.
33569 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
33570 (fmod): Define using libm_alias_double.
33571 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
33572 (hypot): Define using libm_alias_double.
33573 * math/w_j0_compat.c: Include <libm-alias-double.h>.
33574 (j0): Define using libm_alias_double.
33576 * math/w_j1_compat.c: Include <libm-alias-double.h>.
33577 (j1): Define using libm_alias_double.
33579 * math/w_jn_compat.c: Include <libm-alias-double.h>.
33580 (jn): Define using libm_alias_double.
33582 * math/w_log10_compat.c: Include <libm-alias-double.h>.
33583 (log10): Define using libm_alias_double.
33584 * math/w_log2_compat.c: Include <libm-alias-double.h>.
33585 (log2): Define using libm_alias_double.
33586 * math/w_log_compat.c: Include <libm-alias-double.h>.
33587 (log): Define using libm_alias_double.
33588 * math/w_pow_compat.c: Include <libm-alias-double.h>.
33589 (pow): Define using libm_alias_double.
33590 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
33591 (remainder): Define using libm_alias_double.
33592 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
33593 (sinh): Define using libm_alias_double.
33594 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
33595 (sqrt): Define using libm_alias_double.
33596 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
33597 (tgamma): Define using libm_alias_double.
33598 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
33599 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
33600 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
33601 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
33602 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
33603 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
33604 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
33605 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
33606 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
33607 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
33608 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
33609 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
33610 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
33611 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
33612 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
33613 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
33614 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
33615 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
33616 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
33617 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
33618 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
33619 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
33620 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
33621 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
33622 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
33624 * math/e_acoshl.c: Remove.
33625 * math/e_acosl.c: Likewise.
33626 * math/e_asinl.c: Likewise.
33627 * math/e_atan2l.c: Likewise.
33628 * math/e_atanhl.c: Likewise.
33629 * math/e_coshl.c: Likewise.
33630 * math/e_expl.c: Likewise.
33631 * math/e_fmodl.c: Likewise.
33632 * math/e_gammal_r.c: Likewise.
33633 * math/e_hypotl.c: Likewise.
33634 * math/e_j0l.c: Likewise.
33635 * math/e_j1l.c: Likewise.
33636 * math/e_jnl.c: Likewise.
33637 * math/e_lgammal_r.c: Likewise.
33638 * math/e_log10l.c: Likewise.
33639 * math/e_log2l.c: Likewise.
33640 * math/e_logl.c: Likewise.
33641 * math/e_powl.c: Likewise.
33642 * math/e_rem_pio2l.c: Likewise.
33643 * math/e_sinhl.c: Likewise.
33644 * math/e_sqrtf128.c: Likewise.
33645 * math/e_sqrtl.c: Likewise.
33646 * math/k_cosl.c: Likewise.
33647 * math/k_sinl.c: Likewise.
33648 * math/k_tanl.c: Likewise.
33649 * math/s_asinhl.c: Likewise.
33650 * math/s_atanl.c: Likewise.
33651 * math/s_cbrtl.c: Likewise.
33652 * math/s_erfl.c: Likewise.
33653 * math/s_expm1l.c: Likewise.
33654 * math/s_log1pl.c: Likewise.
33655 * math/s_tanhl.c: Likewise.
33657 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33660 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
33661 [$(subdir) = math] (sysdep_calls): New variable. Has the
33662 previous contents of sysdep_routines, but re-sorted..
33663 [$(subdir) = math] (sysdep_routines): Re-use the contents from
33665 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
33666 defined in sysdep_calls and replace by the respective m_* names.
33667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
33668 (compat_symbol): Undefine to avoid duplicated compat symbols in
33671 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33673 * math/s_fmaf.c: Include <libm-alias-float.h>.
33674 (fmaf): Define using libm_alias_float.
33675 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
33676 (acosf): Define using libm_alias_float.
33677 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
33678 (acoshf): Define using libm_alias_float.
33679 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
33680 (asinf): Define using libm_alias_float.
33681 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
33682 (atan2f): Define using libm_alias_float.
33683 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
33684 (atanhf): Define using libm_alias_float.
33685 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
33686 (coshf): Define using libm_alias_float.
33687 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
33688 (exp10f): Define using libm_alias_float.
33689 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
33690 (fmodf): Define using libm_alias_float.
33691 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
33692 (hypotf): Define using libm_alias_float.
33693 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
33694 (j0f): Define using libm_alias_float.
33696 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
33697 (j1f): Define using libm_alias_float.
33699 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
33700 (jnf): Define using libm_alias_float.
33702 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
33703 (log10f): Define using libm_alias_float.
33704 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
33705 (log2f): Define using libm_alias_float.
33706 * math/w_logf_compat.c: Include <libm-alias-float.h>.
33707 (logf): Define using libm_alias_float.
33708 * math/w_powf_compat.c: Include <libm-alias-float.h>.
33709 (powf): Define using libm_alias_float.
33710 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
33711 (remainderf): Define using libm_alias_float.
33712 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
33713 (sinhf): Define using libm_alias_float.
33714 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
33715 (sqrtf): Define using libm_alias_float.
33716 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
33717 (tgammaf): Define using libm_alias_float.
33719 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33721 * include/math.h (roundeven): Change hidden_proto call to
33723 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
33725 [NO_LONG_DOUBLE] (__j0l): New strong alias.
33726 (y0): Rename to __y0 and define as weak alias.
33727 [NO_LONG_DOUBLE] (__y0l): New strong alias.
33728 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
33730 (y0f): Rename to __y0f and define as weak alias.
33731 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
33733 [NO_LONG_DOUBLE] (__j1l): New strong alias.
33734 (y1): Rename to __y1 and define as weak alias.
33735 [NO_LONG_DOUBLE] (__y1l): New strong alias.
33736 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
33738 (y1f): Rename to __y1f and define as weak alias.
33739 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
33741 [NO_LONG_DOUBLE] (__jnl): New strong alias.
33742 (yn): Rename to __yn and define as weak alias.
33743 [NO_LONG_DOUBLE] (__ynl): New strong alias.
33744 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
33746 (ynf): Rename to __ynf and define as weak alias.
33747 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
33748 (fromfp): Define as weak alias.
33749 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
33750 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
33751 (fromfpx): Define as weak alias.
33752 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
33753 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
33754 __getpayload and define as weak alias.
33755 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33756 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
33757 __roundeven and define as weak alias.
33758 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33759 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
33761 (setpayload): Define as weak alias.
33762 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
33763 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
33765 (setpayloadsig): Define as weak alias.
33766 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
33767 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
33768 __totalorder and define as weak alias.
33769 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33770 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
33771 to __totalordermag and define as weak alias.
33772 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33773 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
33774 (ufromfp): Define as weak alias.
33775 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
33776 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
33778 (ufromfpx): Define as weak alias.
33779 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
33780 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
33781 Rename to __getpayload and define as weak alias.
33782 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33783 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
33784 Rename to __roundeven and define as weak alias.
33785 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33786 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
33787 Rename to __totalorder and define as weak alias.
33788 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33789 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
33790 (totalordermag): Rename to __totalordermag and define as weak
33792 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33793 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
33795 (__roundevenl): Likewise.
33796 (__totalorderl): Likewise.
33797 (__totalordermagl): Likewise
33798 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
33800 (fromfpf128): Define as weak alias.
33801 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
33803 (fromfpxf128): Define as weak alias.
33804 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
33806 (setpayloadf128): Define as weak alias.
33807 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
33808 __setpayloadsigf128.
33809 (setpayloadsigf128): Define as weak alias.
33810 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
33812 (ufromfpf128): Define as weak alias.
33813 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
33815 (ufromfpxf128): Define as weak alias.
33816 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
33817 (fromfpf): Define as weak alias.
33818 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
33820 (fromfpxf): Define as weak alias.
33821 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
33822 __getpayloadf and define as weak alias.
33823 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
33824 __roundevenf and define as weak alias.
33825 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
33827 (setpayloadf): Define as weak alias.
33828 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
33830 (setpayloadsigf): Define as weak alias.
33831 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
33832 __totalorderf and define as weak alias.
33833 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
33834 Rename to __totalordermagf and define as weak alias.
33835 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
33837 (ufromfpf): Define as weak alias.
33838 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
33840 (ufromfpxf): Define as weak alias.
33841 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
33843 (fromfpl): Define as weak alias.
33844 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
33846 (fromfpxl): Define as weak alias.
33847 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
33848 to __getpayloadl and define as weak alias.
33849 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
33850 __roundevenl and define as weak alias.
33851 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
33853 (setpayloadl): Define as weak alias.
33854 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
33856 (setpayloadsigl): Define as weak alias.
33857 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
33858 to __totalorderl and define as weak alias.
33859 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
33860 Rename to __totalordermagl and define as weak alias.
33861 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
33863 (ufromfpl): Define as weak alias.
33864 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
33866 (ufromfpxl): Define as weak alias.
33867 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
33869 (fromfpl): Define as weak alias.
33870 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
33872 (fromfpxl): Define as weak alias.
33873 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
33874 Rename to __getpayloadl and define as weak alias.
33875 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
33876 to __roundevenl and define as weak alias. Call __roundeven
33877 instead of roundeven.
33878 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
33880 (setpayloadl): Define as weak alias.
33881 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
33883 (setpayloadsigl): Define as weak alias.
33884 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
33885 Rename to __totalorderl and define as weak alias.
33886 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
33887 Rename to __totalordermagl and define as weak alias.
33888 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
33890 (ufromfpl): Define as weak alias.
33891 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
33893 (ufromfpxl): Define as weak alias.
33894 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
33896 (fromfpl): Define as weak alias.
33897 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
33899 (fromfpxl): Define as weak alias.
33900 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
33901 __getpayloadl and define as weak alias.
33902 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
33903 __roundevenl and define as weak alias.
33904 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
33906 (setpayloadl): Define as weak alias.
33907 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
33909 (setpayloadsigl): Define as weak alias.
33910 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
33911 __totalorderl and define as weak alias.
33912 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
33913 Rename to __totalordermagl and define as weak alias.
33914 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
33916 (ufromfpl): Define as weak alias.
33917 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
33919 (ufromfpxl): Define as weak alias.
33921 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
33923 * benchtests/bench-string.h (realloc_bufs): New function.
33924 (test_init): Call it.
33925 * benchtests/bench-memset-large.c (do_test): Likewise.
33926 * benchtests/bench-memset.c (do_test): Likewise.
33928 * benchtests/bench-memset-large.c: Print output in JSON
33930 * benchtests/bench-memset.c: Likewise.
33932 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33935 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
33936 * iconvdata/Makefile: Add IBM858.
33937 * iconvdata/gconv-modules: Likewise.
33938 * iconvdata/tst-tables.sh: Likewise.
33939 * iconvdata/ibm858.c: New file.
33940 * localedata/charmaps/IBM858: Likewise.
33942 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
33945 * locales/niu_NZ (LC_TIME): copy "niu_NU".
33946 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
33948 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33951 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
33952 and add tel_int_fmt.
33954 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33956 * sysdeps/generic/libm-alias-float128.h: New file.
33957 * sysdeps/generic/math-type-macros-float128.h: Include
33958 <libm-alias-float128.h>.
33959 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33961 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33963 * sysdeps/generic/libm-alias-ldouble.h: New file.
33964 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
33965 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
33966 * sysdeps/generic/math-type-macros-ldouble.h: Include
33967 <libm-alias-ldouble.h>.
33968 [!declare_mgen_alias] (declare_mgen_alias): Define to use
33969 libm_alias_ldouble.
33971 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
33973 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
33974 * math/w_exp_compat.c: ... here.
33975 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
33976 * math/w_expf_compat.c: ... here.
33977 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
33978 * math/w_expl_compat.c: ... here.
33979 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
33980 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
33981 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
33982 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33984 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33986 * math/w_scalbln_template.c (strong_alias): Do not undefine and
33988 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
33990 (ldexpl): Only define as compat symbol for libc, not libm.
33991 (scalbnl): Define as compat symbol for libc here.
33992 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
33993 define for [IS_IN (libc)].
33994 (__ldexpl_2): Remove alias.
33995 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
33996 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
33997 name in long_double_symbol call.
33998 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
33999 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
34000 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
34001 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
34002 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
34004 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
34005 Define as compat symbol.
34007 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34009 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
34010 * sysdeps/unix/sysv/linux/alpha/Makefile
34011 [$(subdir) = csu] (sysdep_routines): Remove rule.
34013 2017-09-13 Joseph Myers <joseph@codesourcery.com>
34015 * sysdeps/generic/libm-alias-double.h: New file.
34016 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
34017 * sysdeps/generic/math-type-macros-double.h: Include
34018 <libm-alias-double.h>.
34019 [declare_mgen_alias] (declare_mgen_alias): Define to use
34021 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
34022 (M_LIBM_NEED_COMPAT): Remove macro.
34023 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
34024 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
34025 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
34027 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34028 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34029 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34030 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34031 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34032 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34033 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34034 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34035 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34036 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34037 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34038 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34039 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34040 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34041 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34042 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34043 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34044 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34045 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34046 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34047 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34048 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34049 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34050 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34051 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34052 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34053 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34054 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
34055 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
34057 (declare_mgen_alias): New macro.
34058 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
34059 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
34060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
34061 (M_LIBM_NEED_COMPAT): Remove macro.
34062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
34063 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
34064 <first-versions.h>.
34065 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
34066 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
34068 2017-09-12 Joseph Myers <joseph@codesourcery.com>
34070 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
34071 (declare_mgen_alias_2): Remove.
34072 * sysdeps/generic/math-type-macros-double.h
34073 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
34075 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
34077 (ldexp): Define with declare_mgen_alias.
34078 (scalbn): Likewise.
34080 2017-09-12 Steve Ellcey <sellcey@cavium.com>
34082 * grp/initgroups.c: Include config.h.
34083 (DEFAULT_CONFIG): New macro.
34084 (internal_getgrouplist): Use DEFAULT_CONFIG.
34085 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34086 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
34087 (DEFAULT_DEFCONFIG): New macro.
34088 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
34089 * nss/grp-lookup.c: Include config.h
34090 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
34091 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
34092 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
34093 * manual/nss.texi: Update default values section.
34095 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
34098 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
34100 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
34101 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34102 Handle MathVec_Prefer_No_AVX512.
34103 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
34104 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
34107 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
34109 * posix/sched_primax.c (__sched_get_priority_max): Add
34111 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
34112 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34113 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34114 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
34115 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
34116 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
34117 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
34118 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
34121 2017-09-11 Joseph Myers <joseph@codesourcery.com>
34123 * sysdeps/generic/libm-alias-float.h: New file.
34124 * sysdeps/generic/math-type-macros-float.h: Include
34125 <libm-alias-float.h>.
34126 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34128 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
34131 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
34132 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
34133 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
34134 (HWCAP_IMPORTANT): Likewise.
34135 (HWCAP_X86_64): New enum.
34136 (HWCAP_X86_AVX512_1): Updated.
34137 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
34138 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
34139 (modules-names): Add x86_64/tst-x86_64mod-1.
34140 (LDFLAGS-tst-x86_64mod-1.so): New.
34141 ($(objpfx)tst-x86_64-1): Likewise.
34142 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
34143 (tst-x86_64-1-clean): Likewise.
34144 * sysdeps/x86_64/tst-x86_64-1.c: New file.
34145 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
34147 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34149 * po/sv.po: Update translations.
34150 * po/fr.po: Likewise.
34152 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34154 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
34156 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
34158 * elf/rtld-Rules: Fix $(error) use.
34160 2017-09-09 Mike FABIAN <mfabian@redhat.com>
34163 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
34164 * locale/iso-639.def: Change “Bengali” to “Bangla”.
34165 * localedata/locales/bn_BD: “Bengali” was still used in some
34166 comments. Change it to “Bangla”.
34168 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
34170 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
34172 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34174 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
34175 thunderx2t99p1 to list of cpu names.
34176 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34177 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
34179 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34181 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
34182 Use strcmp instead of tunable_is_name.
34184 2017-09-08 Joseph Myers <joseph@codesourcery.com>
34186 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34187 (F_GET_RW_HINT): New macro.
34188 [__USE_GNU] (F_SET_RW_HINT): Likewise.
34189 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
34190 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
34191 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
34192 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
34193 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
34194 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
34195 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
34196 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
34198 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34199 (F_ADD_SEALS): New macro.
34200 [__USE_GNU] (F_GET_SEALS): Likewise.
34201 [__USE_GNU] (F_SEAL_SEAL): Likewise.
34202 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
34203 [__USE_GNU] (F_SEAL_GROW): Likewise.
34204 [__USE_GNU] (F_SEAL_WRITE): Likewise.
34206 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34208 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
34209 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
34210 * posix/glob_internal.h (__glob_pattern_type):
34211 * posix/glob.c (glob):
34212 * posix/glob_pattern_p.c (__glob_pattern_p):
34215 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
34216 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34217 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
34218 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
34219 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
34221 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
34222 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
34223 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34224 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34225 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34226 * sysdeps/wordsize-64/glob.c: Likewise.
34227 * sysdeps/wordsize-64/glob64.c: Likewise.
34228 * sysdeps/wordsize-64/globfree.c: Likewise.
34229 * sysdeps/wordsize-64/globfree64.c: Likewise.
34230 * sysdeps/unix/sysv/linux/glob.c: New file.
34231 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
34232 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
34233 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
34234 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
34235 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
34236 adds !GLOB_NO_OLD_VERSION as an extra condition.
34237 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
34238 using relative path instead of absolute one.
34239 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
34240 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34241 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34242 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
34243 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
34244 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
34247 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
34248 (glob): Use the same scratch buffer for both getlogin_r and
34249 getpwnam_r. Don’t require preallocation of the login name. This
34250 simplifies storage allocation, and corrects the handling of
34254 * posix/glob.c (glob): Port recent patches to platforms
34255 lacking getpwnam_r.
34256 (glob): Fix longstanding misuse of errno after getpwnam_r, which
34257 returns an error number rather than setting errno.
34259 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
34260 instead of GCC extension.
34261 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
34262 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
34263 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
34267 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
34268 * posix/bug-glob1.c: Remove file.
34269 * posix/tst-glob_symlinks.c: New file.
34270 * posix/glob.c (__lstat64): New macro.
34271 (is_dir): New function.
34272 (glob, glob_in_dir): Match symlinks even if they are dangling.
34273 (link_stat, link_exists_p): Remove. All uses removed.
34277 * posix/glob.c (struct readdir_result): Remove skip_entry member.
34278 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
34283 * posix/Makefile (routines): Add globfree, globfree64, and
34285 * posix/flexmember.h: New file.
34286 * posix/glob_internal.h: Likewise.
34287 * posix/glob_pattern_p.c: Likewise.
34288 * posix/globfree.c: Likewise.
34289 * posix/globfree64.c: Likewise.
34290 * sysdeps/gnu/globfree64.c: Likewise.
34291 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
34292 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34293 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
34294 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34295 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34296 * sysdeps/wordsize-64/globfree.c: Likewise.
34297 * sysdeps/wordsize-64/globfree64.c: Likewise.
34298 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
34299 [NDEBUG): Remove comments.
34300 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
34301 (dirent_type): New type. Use uint_fast8_t not
34302 uint8_t, as C99 does not require uint8_t.
34303 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
34304 (struct readdir_result): Use dirent_type. Do not define skip_entry
34305 unless it is needed; this saves a byte on platforms lacking d_ino.
34306 (readdir_result_type, readdir_result_skip_entry):
34307 New functions, replacing ...
34308 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
34309 these functions, which were removed. This makes the callers
34310 easier to read. All callers changed.
34311 (D_INO_TO_RESULT): Now empty if there is no d_ino.
34312 (size_add_wrapv, glob_use_alloca): New static functions.
34313 (glob, glob_in_dir): Check for size_t overflow in several places,
34314 and fix some size_t checks that were not quite right.
34315 Remove old code using SHELL since Bash no longer
34317 (glob, prefix_array): Separate MS code better.
34318 (glob_in_dir): Remove old Amiga and VMS code.
34319 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
34321 (glob_in_dir): Do not rely on undefined behavior in accessing
34322 struct members beyond their bounds. Use a flexible array member
34324 (link_stat): Rename from link_exists2_p and return -1/0 instead of
34325 0/1. Caller changed.
34326 (glob): Fix memory leaks.
34327 * posix/glob64 (globfree64): Move to separate file.
34328 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
34329 (globfree64): Remove hidden alias.
34330 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
34332 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
34334 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
34336 Move compat code to separate file.
34337 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
34340 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
34342 * resolv/tst-resolv-qtypes.c (domain): Changed to
34343 "const char domain[] =".
34345 2017-09-07 Joseph Myers <joseph@codesourcery.com>
34347 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
34350 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
34351 (TCP_MD5SIG_EXT): Likewise.
34352 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
34353 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
34354 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
34356 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
34358 2017-09-07 Mike FABIAN <mfabian@redhat.com>
34360 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
34362 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
34365 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
34367 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
34369 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
34370 before assuming that the file is empty. Avoid testing buffer content
34373 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34376 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34378 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
34380 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
34382 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
34384 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34386 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
34388 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
34391 2017-09-06 Florian Weimer <fweimer@redhat.com>
34393 * malloc/dynarray_emplace_enlarge.c
34394 (__libc_dynarray_emplace_enlarge): Add missing else.
34396 2017-09-06 Florian Weimer <fweimer@redhat.com>
34399 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
34400 case of failure to obtain the global conf object.
34402 2017-09-06 Florian Weimer <fweimer@redhat.com>
34405 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
34406 dynarray allocation failure.
34408 2017-09-06 Florian Weimer <fweimer@redhat.com>
34410 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
34411 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
34412 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
34414 (response): Call them. Add 'p', '6' flag processing.
34415 (test_reverse): New function.
34416 (test_get2_any): Call it.
34417 (test_no_inet6): Add 'p' test.
34418 (test_inet6): Likewise.
34420 2017-09-06 Florian Weimer <fweimer@redhat.com>
34422 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
34423 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
34425 (test_gai): Adjust query names. Add additional tests.
34426 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
34427 test_get2. Adjust query names. Add additional tests.
34428 (test_no_inet6): New function, extracted from threadfunc.
34429 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
34430 Add additional tests.
34432 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34435 * localedata/unicode-gen/utf8_gen.py: Set the width for
34436 characters with Prepended_Concatenation_Mark property to 1
34437 * localedata/charmaps/UTF-8: Updated using the improved script.
34439 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34442 * localedata/unicode-gen/utf8_gen.py: Improve the script to
34443 use the range notation for all ranges of neighbouring characters
34444 with the same width.
34446 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34448 * sysdeps/generic/math-type-macros-double.h: Include
34449 <math-svid-compat.h>.
34450 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34451 * sysdeps/generic/math-type-macros-float.h: Include
34452 <math-svid-compat.h>.
34453 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34454 * sysdeps/generic/math-type-macros-ldouble.h: Include
34455 <math-svid-compat.h>.
34456 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34457 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
34459 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
34460 * math/w_acosf_compat.c: Likewise.
34461 * math/w_acosh_compat.c: Likewise.
34462 * math/w_acoshf_compat.c: Likewise.
34463 * math/w_acoshl_compat.c: Likewise.
34464 * math/w_acosl_compat.c: Likewise.
34465 * math/w_asin_compat.c: Likewise.
34466 * math/w_asinf_compat.c: Likewise.
34467 * math/w_asinl_compat.c: Likewise.
34468 * math/w_atan2_compat.c: Likewise.
34469 * math/w_atan2f_compat.c: Likewise.
34470 * math/w_atan2l_compat.c: Likewise.
34471 * math/w_atanh_compat.c: Likewise.
34472 * math/w_atanhf_compat.c: Likewise.
34473 * math/w_atanhl_compat.c: Likewise.
34474 * math/w_cosh_compat.c: Likewise.
34475 * math/w_coshf_compat.c: Likewise.
34476 * math/w_coshl_compat.c: Likewise.
34477 * math/w_exp10_compat.c: Likewise.
34478 * math/w_exp10f_compat.c: Likewise.
34479 * math/w_exp10l_compat.c: Likewise.
34480 * math/w_exp2_compat.c: Likewise.
34481 * math/w_exp2f_compat.c: Likewise.
34482 * math/w_exp2l_compat.c: Likewise.
34483 * math/w_fmod_compat.c: Likewise.
34484 * math/w_fmodf_compat.c: Likewise.
34485 * math/w_fmodl_compat.c: Likewise.
34486 * math/w_hypot_compat.c: Likewise.
34487 * math/w_hypotf_compat.c: Likewise.
34488 * math/w_hypotl_compat.c: Likewise.
34489 * math/w_j0_compat.c: Likewise.
34490 * math/w_j0f_compat.c: Likewise.
34491 * math/w_j0l_compat.c: Likewise.
34492 * math/w_j1_compat.c: Likewise.
34493 * math/w_j1f_compat.c: Likewise.
34494 * math/w_j1l_compat.c: Likewise.
34495 * math/w_jn_compat.c: Likewise.
34496 * math/w_jnf_compat.c: Likewise.
34497 * math/w_jnl_compat.c: Likewise.
34498 * math/w_lgamma_r_compat.c: Likewise.
34499 * math/w_lgammaf_r_compat.c: Likewise.
34500 * math/w_lgammal_r_compat.c: Likewise.
34501 * math/w_log10_compat.c: Likewise.
34502 * math/w_log10f_compat.c: Likewise.
34503 * math/w_log10l_compat.c: Likewise.
34504 * math/w_log2_compat.c: Likewise.
34505 * math/w_log2f_compat.c: Likewise.
34506 * math/w_log2l_compat.c: Likewise.
34507 * math/w_log_compat.c: Likewise.
34508 * math/w_logf_compat.c: Likewise.
34509 * math/w_logl_compat.c: Likewise.
34510 * math/w_pow_compat.c: Likewise.
34511 * math/w_powf_compat.c: Likewise.
34512 * math/w_powl_compat.c: Likewise.
34513 * math/w_remainder_compat.c: Likewise.
34514 * math/w_remainderf_compat.c: Likewise.
34515 * math/w_remainderl_compat.c: Likewise.
34516 * math/w_sinh_compat.c: Likewise.
34517 * math/w_sinhf_compat.c: Likewise.
34518 * math/w_sinhl_compat.c: Likewise.
34519 * math/w_sqrt_compat.c: Likewise.
34520 * math/w_sqrtf_compat.c: Likewise.
34521 * math/w_sqrtl_compat.c: Likewise.
34522 * math/w_tgamma_compat.c: Likewise.
34523 * math/w_tgammaf_compat.c: Likewise.
34524 * math/w_tgammal_compat.c: Likewise.
34525 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
34526 [LIBM_SVID_COMPAT].
34527 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
34528 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
34529 [LIBM_SVID_COMPAT].
34530 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
34531 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
34532 [LIBM_SVID_COMPAT].
34533 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
34534 * sysdeps/i386/fpu/w_sqrt.c: New file.
34535 * sysdeps/ia64/fpu/w_acos.c: Likewise.
34536 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
34537 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
34538 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
34539 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
34540 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
34541 * sysdeps/ia64/fpu/w_asin.c: Likewise.
34542 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
34543 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
34544 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
34545 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
34546 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
34547 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
34548 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
34549 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
34550 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
34551 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
34552 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
34553 * sysdeps/ia64/fpu/w_exp.c: Likewise.
34554 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
34555 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
34556 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
34557 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
34558 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
34559 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
34560 * sysdeps/ia64/fpu/w_expf.c: Likewise.
34561 * sysdeps/ia64/fpu/w_expl.c: Likewise.
34562 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
34563 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
34564 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
34565 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
34566 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
34567 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
34568 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
34569 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
34570 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
34571 * sysdeps/ia64/fpu/w_log.c: Likewise.
34572 * sysdeps/ia64/fpu/w_log10.c: Likewise.
34573 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
34574 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
34575 * sysdeps/ia64/fpu/w_log2.c: Likewise.
34576 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
34577 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
34578 * sysdeps/ia64/fpu/w_logf.c: Likewise.
34579 * sysdeps/ia64/fpu/w_logl.c: Likewise.
34580 * sysdeps/ia64/fpu/w_pow.c: Likewise.
34581 * sysdeps/ia64/fpu/w_powf.c: Likewise.
34582 * sysdeps/ia64/fpu/w_powl.c: Likewise.
34583 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
34584 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
34585 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
34586 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
34587 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
34588 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
34589 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
34590 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
34591 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
34592 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
34593 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
34594 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
34595 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
34596 [LIBM_SVID_COMPAT].
34597 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34598 * sysdeps/ieee754/k_standard.c: Likewise.
34599 * sysdeps/ieee754/k_standardf.c: Likewise.
34600 * sysdeps/ieee754/k_standardl.c: Likewise.
34601 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34602 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34603 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34604 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
34605 long_double_symbol call on [LIBM_SVID_COMPAT].
34606 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
34607 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
34608 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
34609 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
34610 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
34611 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
34612 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
34613 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
34614 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
34615 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
34616 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
34617 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
34618 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
34619 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
34620 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
34621 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
34622 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
34623 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
34624 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
34625 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
34626 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
34627 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
34629 2017-09-05 Steve Ellcey <sellcey@cavium.com>
34631 * include/shlib-compat.h (TEST_COMPAT): New Macro.
34632 * malloc/tst-mallocstate.c: Convert from test-skeleton
34633 to test-driver. Ifdef code using TEST_COMPAT macro.
34634 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
34635 * math/test-matherr.c: Likewise.
34637 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34640 * debug/pcprofiledump.c (main): Use byte-swapped mask when
34641 comparing word with byte-swapped constant.
34643 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
34646 * locale/iso-639.def: add Miskito.
34647 * localedata/SUPPORTED: Add miq_NI/UTF-8.
34648 * localedata/locales/miq_NI: New file.
34650 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
34653 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
34654 (__mkdir): Likewise.
34655 * io/chmod.c (__chmod): Add libc_hidden_def.
34656 * io/mkdir.c (__mkdir): Likewise.
34657 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
34658 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
34659 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
34660 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
34662 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34664 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
34668 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
34669 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
34671 2017-09-04 Florian Weimer <fweimer@redhat.com>
34673 * math/math.h: Issue warning if log is defined.
34675 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34677 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
34678 kernel version to 4.13.
34680 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
34682 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
34683 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
34685 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
34686 just <bits/types.h>.
34687 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
34688 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
34689 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
34690 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
34691 * misc/preadv2.c: Include <errno.h>.
34692 * misc/preadv64v2.c: Include <errno.h>.
34693 * misc/pwritev2.c: Include <errno.h>.
34694 * misc/pwritev64v2.c: Include <errno.h>.
34695 * sysdeps/posix/preadv2.c: Include <errno.h>.
34696 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
34697 Fix <unistd.h> inclusion.
34698 * sysdeps/posix/pwritev2.c: Include <errno.h>.
34699 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
34700 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
34701 __strtoul_internal): New functions.
34702 * sysdeps/posix/pause.c: Include <sigsetops.h>.
34703 * sysdeps/posix/system.c: Include <sigsetops.h>.
34704 * sysdeps/mach/hurd/i386/Makefile
34705 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
34706 [$(subdir) = csu] (sysdep-only-routines): Likewise.
34707 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
34708 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
34709 __feraiseexcept_renamed to feraiseexcept instead of
34710 __GI_feraiseexcept.
34711 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
34712 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
34713 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
34714 RWF_NOWAIT): Define to 0 if undefined already.
34715 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
34717 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
34718 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
34720 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34722 * manual/math.texi (pow10): Do not document.
34723 (pow10f): Likewise.
34724 (pow10l): Likewise.
34725 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
34726 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
34727 * math/libm-test-exp10.inc (pow10_test): Remove.
34728 (do_test): Do not call pow10.
34729 * math/w_exp10_compat.c (pow10): Make into compat symbol.
34730 [NO_LONG_DOUBLE] (pow10l): Likewise.
34731 * math/w_exp10f_compat.c (pow10f): Likewise.
34732 * math/w_exp10l_compat.c (pow10l): Likewise.
34733 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
34734 (pow10): Make into compat symbol.
34735 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
34736 (pow10f): Make into compat symbol.
34737 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
34738 (pow10l): Make into compat symbol.
34739 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
34741 (CFLAGS-nldbl-pow10.c): Remove variable..
34742 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
34743 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
34744 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
34745 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
34746 Undefine and redefine.
34747 (pow10l): Make into compat symbol.
34748 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
34749 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34750 * sysdeps/arm/libm-test-ulps: Likewise.
34751 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
34752 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34753 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
34754 * sysdeps/microblaze/libm-test-ulps: Likewise.
34755 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34756 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34757 * sysdeps/nios2/libm-test-ulps: Likewise.
34758 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34759 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34760 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34761 * sysdeps/sh/libm-test-ulps: Likewise.
34762 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34763 * sysdeps/tile/libm-test-ulps: Likewise.
34764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34766 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34768 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
34770 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34772 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
34773 "../ChangeLog.old/ChangeLog.8".
34774 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
34775 "../ChangeLog.old/ChangeLog.14".
34777 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34779 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
34782 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34784 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
34786 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34788 * csu/version.c (banner): Remove "by Roland McGrath et al.".
34789 * nptl/Banner: Remove "by Ulrich Drepper et al.".
34791 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34793 * stdlib/tst-atexit-common.c (do_test): Test support for at least
34794 32 atexit handlers.
34796 2017-09-01 Zack Weinberg <zackw@panix.com>
34798 * math/math.h (HUGE_VAL): Improve commentary.
34800 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34801 Andreas Schwab <schwab@suse.de>
34804 * include/stdio.h (__gen_tempfd): New function.
34805 * stdio-common/Makefile (routines): Add gentempfd.
34806 * stdio-common/gentempfd.c: New file.
34807 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
34808 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
34809 unnamed file first.
34811 2017-09-01 Florian Weimer <fweimer@redhat.com>
34815 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
34816 result to determine success or failure, not the errno value.
34817 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
34818 (tst-nss-files-hosts-erange): Link with -ldl.
34819 * nss/tst-nss-files-hosts-erange.c: New file.
34820 * nss/tst-resolv-basic.c (response): Handle nodata.example.
34821 (do_test): Add NO_DATA tests.
34822 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
34823 (do_test): Call it.
34825 2017-09-01 Florian Weimer <fweimer@redhat.com>
34828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
34829 coming from gethostbyname2_r.
34831 2017-09-01 Florian Weimer <fweimer@redhat.com>
34833 * support/namespace.h (struct support_chroot_configuration): Add
34835 (struct support_chroot): Add path_hosts, path_host_conf.
34836 * support/support_chroot.c (write_file): New function.
34837 (support_chroot_create): Call it to process /etc/resolv.conf,
34838 /etc/hosts, /etc/host.conf.
34839 (support_chroot_free): Update.
34841 2017-09-01 Florian Weimer <fweimer@redhat.com>
34843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
34844 status indicates it is set.
34846 2017-09-01 Florian Weimer <fweimer@redhat.com>
34849 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
34850 function lookup failures more reliable.
34852 2017-09-01 Florian Weimer <fweimer@redhat.com>
34854 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
34855 (getcanonname): Likewise.
34856 (gaih_inet): Likewise.
34858 2017-09-01 Florian Weimer <fweimer@redhat.com>
34860 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
34861 (getcanonname): Likewise.
34862 (gaih_inet): Likewise.
34864 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34865 Richard Henderson <rth@twiddle.net>
34867 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
34868 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
34869 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
34870 (IREG_SIZE, OREG_SIZE): New macros.
34871 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
34872 (IREG_SIZE, OREG_SIZE): New macros.
34873 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
34874 (IREG_SIZE): New macro.
34875 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
34876 (IREG_SIZE): New macro.
34877 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
34879 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
34880 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34881 (__CONCATX): Handle exceptions correctly on large values that may
34883 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
34884 Initialize if not already set.
34885 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34887 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34889 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
34890 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
34892 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
34894 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
34896 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
34898 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
34900 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
34902 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
34904 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
34905 (NO_CANCELLATION): Likewise.
34906 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
34908 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
34910 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
34912 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
34913 (NO_CANCELLATION): Likewise.
34914 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
34915 (NO_CANCELLATION): Likewise.
34916 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
34918 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
34920 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
34922 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
34924 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
34926 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
34927 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
34929 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34931 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
34934 2017-08-31 Florian Weimer <fweimer@redhat.com>
34936 * include/libc-symbols.h (internal_function): Remove.
34938 2017-08-31 Florian Weimer <fweimer@redhat.com>
34940 * stdlib/fmtmsg.c (internal_addseverity): Remove
34943 2017-08-31 Florian Weimer <fweimer@redhat.com>
34945 * stdio-common/printf_fp.c (group_number): Remove
34947 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
34949 2017-08-31 Florian Weimer <fweimer@redhat.com>
34951 * posix/fnmatch.c (internal_function): Remove definition.
34952 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
34953 * posix/regcomp.c (peek_token, init_word_char)
34954 (duplicate_node_closure, fetch_token, peek_token)
34955 (peek_token_bracket, build_range_exp, build_collating_symbol):
34957 * posix/regex_internal.c (re_string_construct_common)
34958 (create_ci_newstate, create_cd_newstate, re_string_allocate)
34959 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
34960 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
34961 (re_string_translate_buffer, re_string_reconstruct)
34962 (re_string_peek_byte_case, re_string_fetch_byte_case)
34963 (re_string_destruct, re_string_context_at, re_node_set_alloc)
34964 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
34965 (re_node_set_add_intersect, re_node_set_init_union)
34966 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
34967 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
34968 (re_dfa_add_node, calc_state_hash, re_acquire_state)
34969 (re_acquire_state_context): Likewise.
34970 * posix/regex_internal.h (internal_function): Remove definition.
34971 (re_string_realloc_buffers, build_wcs_buffer)
34972 (build_wcs_upper_buffer, build_upper_buffer)
34973 (re_string_translate_buffer, re_string_context_at)
34974 (re_string_char_size_at, re_string_wchar_at)
34975 (re_string_elem_size_at): Likewise.
34976 * posix/regexec.c (match_ctx_init, match_ctx_clean)
34977 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
34978 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
34979 (re_search_internal, re_search_2_stub, re_search_stub)
34980 (re_copy_regs, prune_impossible_nodes, check_matching)
34981 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
34982 (free_fail_stack_return, sift_states_iter_mb)
34983 (sift_states_backward, build_sifted_states)
34984 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
34985 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
34986 (check_subexp_limits, sift_states_bkref, merge_state_array)
34987 (find_recover_state, transit_state, merge_state_with_log)
34988 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
34989 (transit_state_mb, transit_state_bkref, get_subexp)
34990 (get_subexp_sub, find_subexp_node, check_arrival)
34991 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
34992 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
34993 (check_node_accept_bytes, find_collation_sequence_value)
34994 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
34995 (acquire_init_state_context, check_halt_node_context)
34996 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
34997 (sub_epsilon_src_nodes): Likewise.
34998 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
34999 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
35000 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
35001 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
35002 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
35003 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
35004 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
35005 * sysdeps/posix/ttyname.c (getttyname): Likewise.
35006 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
35007 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
35008 (PREADV): Likewise.
35009 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
35010 (PREADV): Likewise.
35011 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
35012 (PWRITEV): Likewise.
35013 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
35014 (PWRITEV): Likewise.
35015 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
35016 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
35018 2017-08-31 Florian Weimer <fweimer@redhat.com>
35020 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
35021 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
35022 Remove internal_function.
35023 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
35024 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
35025 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
35026 (__deallocate_stack, __libc_pthread_init)
35027 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
35028 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
35029 (__libc_disable_asynccancel, __librt_disable_asynccancel):
35031 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
35032 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
35033 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
35035 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
35036 (__pthread_mutex_unlock_usercnt): Likewise.
35038 2017-08-31 Florian Weimer <fweimer@redhat.com>
35040 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
35041 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
35042 (fts_safe_changedir): Remove internal_function.
35043 * io/ftw.c (internal_function): Remove definition.
35044 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
35046 2017-08-31 Florian Weimer <fweimer@redhat.com>
35048 * inet/deadline.c (__deadline_current_time)
35049 (__deadline_from_timeval, __deadline_to_ms): Remove
35051 * inet/getnameinfo.c (nrl_domainname): Likewise.
35052 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
35053 * inet/inet6_option.c (add_pad): Likewise.
35054 * inet/net-internal.h (__deadline_current_time)
35055 (__deadline_from_timeval, __deadline_to_ms): Likewise.
35056 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
35057 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
35058 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
35060 2017-08-31 Joseph Myers <joseph@codesourcery.com>
35062 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
35063 include <bits/nan.h>.
35064 * math/Makefile (headers): Remove bits/nan.h.
35065 * bits/nan.h: Remove.
35066 * sysdeps/ieee754/bits/nan.h: Likewise.
35067 * sysdeps/mips/bits/nan.h: Likewise.
35069 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
35070 not include <bits/inf.h>.
35071 * math/Makefile (headers): Remove bits/inf.h.
35072 * bits/inf.h: Remove.
35073 * sysdeps/ieee754/bits/inf.h: Likewise.
35075 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
35076 bits/huge_vall.h or bits/huge_val_flt128.h.
35077 (HUGE_VAL): Define directly here.
35078 [__USE_ISOC99] (HUGE_VALF): Likewise.
35079 [__USE_ISOC99] (HUGE_VALL): Likewise.
35080 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35081 (HUGE_VAL_F128): Likewise.
35082 * math/Makefile (headers): Remove bits/huge_val.h,
35083 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
35084 * bits/huge_val.h: Remove.
35085 * bits/huge_val_flt128.h: Likewise.
35086 * bits/huge_valf.h: Likewise.
35087 * bits/huge_vall.h: Likewise.
35088 * sysdeps/ia64/bits/huge_vall.h: Likewise.
35089 * sysdeps/ieee754/bits/huge_val.h: Likewise.
35090 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
35091 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
35092 * sysdeps/sh/bits/huge_val.h: Likewise.
35093 * sysdeps/sparc/bits/huge_vall.h: Likewise.
35094 * sysdeps/x86/bits/huge_vall.h: Likewise.
35096 2017-08-31 Florian Weimer <fweimer@redhat.com>
35098 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
35100 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
35102 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
35103 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35104 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
35105 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
35106 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35107 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35108 * elf/dl-libc.c (dlerror_run): Likewise.
35109 * elf/dl-load.c (add_name_to_object, decompose_rpath)
35110 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
35111 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
35112 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
35114 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
35115 (_dl_higher_prime_number, _dl_strtoul): Likewise.
35116 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
35117 * elf/dl-profile.c (_dl_start_profile): Likewise.
35118 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
35119 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
35121 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
35122 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
35123 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
35124 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
35125 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
35126 (_dl_allocate_tls_storage): Likewise.
35127 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
35128 (_dl_check_all_versions): Likewise.
35129 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
35130 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
35131 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
35132 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35133 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
35134 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
35135 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
35136 internal_function from __dl_start.
35137 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
35138 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
35139 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
35140 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
35141 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
35142 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
35143 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
35144 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
35145 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
35146 (_dl_next_ld_env_entry, _dl_important_hwcaps)
35147 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
35148 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
35149 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
35150 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
35151 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
35153 (struct rtld_global_ro): Remove internal_function from the
35154 _dl_lookup_symbol_x member.
35155 (_dl_symbol_value): Remove. No longer defined anywhere.
35156 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
35158 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35159 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
35160 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
35161 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
35162 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
35163 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
35164 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
35165 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
35166 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
35167 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
35168 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35169 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
35171 2017-08-31 Florian Weimer <fweimer@redhat.com>
35173 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
35174 Remove internal_function.
35175 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35177 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35180 2017-08-31 Florian Weimer <fweimer@redhat.com>
35182 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
35183 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
35184 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
35186 2017-08-31 Florian Weimer <fweimer@redhat.com>
35188 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
35189 (__gai_enqueue_request): Remove internal_function.
35190 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
35191 (__gai_remove_request, __gai_notify, __gai_notify_only)
35192 (__gai_sigqueue): Likewise.
35193 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
35194 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
35195 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
35196 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35199 2017-08-31 Florian Weimer <fweimer@redhat.com>
35201 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
35202 * include/dirent.h (__opendirat, __getdents, __getdents64)
35203 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
35204 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
35205 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35206 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
35208 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
35210 2017-08-31 Florian Weimer <fweimer@redhat.com>
35212 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
35214 (GETCWD_RETURN_TYPE): Likewise.
35216 2017-08-31 Florian Weimer <fweimer@redhat.com>
35218 * include/time.h (__tz_compute, __strptime_internal): Remove
35220 * time/strptime_l.c (__strptime_internal): Likewise.
35221 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
35223 2017-08-31 Florian Weimer <fweimer@redhat.com>
35225 * iconv/gconv.c (__gconv): Remove internal_function.
35226 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
35227 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
35228 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
35229 (__gconv_release_cache): Likewise.
35230 * iconv/gconv_close.c (__gconv_close): Likewise.
35231 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
35232 (read_conf_file, __gconv_get_path): Likewise.
35233 * iconv/gconv_db.c (derivation_lookup, add_derivation)
35234 (__gconv_release_step, gen_steps, increment_counter)
35235 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
35236 (__gconv_close_transform, free_modules_db): Likewise.
35237 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
35239 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
35240 (__gconv_find_transform, __gconv_lookup_cache)
35241 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
35242 (__gconv_close_transform, __gconv_release_cache)
35243 (__gconv_loaded_object, __gconv_release_shlib)
35244 (__gconv_compare_alias): Likewise.
35245 * iconv/gconv_open.c (__gconv_open): Likewise.
35246 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
35247 * iconv/iconvconfig.c (add_module): Likewise.
35248 * intl/dcigettext.c (plural_lookup, guess_category_value)
35249 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
35250 * intl/eval-plural.h (plural_eval): Likewise.
35251 * intl/finddomain.c (_nl_find_domain): Likewise.
35252 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
35253 (_nl_load_domain, _nl_find_msg): Likewise.
35254 (internal_function): Remove definition.
35255 * intl/loadinfo.h (internal_function): Likewise.
35256 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
35258 * intl/localealias.c (internal_function): Remove definition.
35259 (read_alias_file): Remove internal_function.
35260 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
35261 * intl/plural-exp.h (internal_function): Remove definition.
35262 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
35264 * intl/plural.c: Regenerate.
35265 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
35266 * locale/coll-lookup.c (__collidx_table_lookup)
35267 (__collseq_table_lookup): Likewise.
35268 * locale/coll-lookup.h (__collidx_table_lookup)
35269 (__collseq_table_lookup): Likewise.
35270 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
35271 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35272 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
35273 (_nl_unload_locale): Likewise.
35274 * locale/localeinfo.h (struct __locale_data): Remove
35275 internal_function from cleanup member.
35276 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
35277 (_nl_remove_locale, _nl_load_locale_from_archive)
35278 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
35279 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
35280 (_nl_cleanup_time): Remove internal_function.
35281 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
35282 (_nl_parse_alt_digit): Likewise.
35283 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
35284 (_nl_select_era_entry): Likewise.
35285 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
35286 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35287 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35288 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35289 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35291 2017-08-31 Florian Weimer <fweimer@redhat.com>
35293 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
35294 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
35295 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
35296 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
35298 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
35299 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
35300 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
35301 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35303 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
35305 2017-08-31 Florian Weimer <fweimer@redhat.com>
35307 * misc/getttyent.c (skip, value): Remove internal_function.
35308 * misc/syslog.c (openlog_internal): Likewise.
35309 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
35311 2017-08-31 Florian Weimer <fweimer@redhat.com>
35313 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
35314 (__nss_rewrite_field): Remove internal_function.
35315 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35316 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35317 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35318 * nss/nsswitch.c (nss_parse_file, nss_getline)
35319 (nss_parse_service_list, nss_new_service): Likewise.
35320 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
35321 * nss/valid_field.c (__nss_valid_field): Likewise.
35322 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
35324 2017-08-31 Florian Weimer <fweimer@redhat.com>
35326 * malloc/arena.c (__malloc_fork_lock_parent)
35327 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
35328 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
35329 internal_function from defintions.
35330 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
35331 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
35332 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
35333 internal_function from declarations.
35334 * malloc/malloc.c (internal_function): Do not define.
35335 (mem2mem_check): Remove internal_function from declaration.
35336 (munmap_chunk, mremap_chunk): Remove internal_function.
35337 * malloc/mtrace.c (tr_where): Likewise.
35339 2017-08-31 Florian Weimer <fweimer@redhat.com>
35341 * include/rpc/pmap_clnt.h (__get_socket): Remove
35343 * sunrpc/auth_des.c (synchronize): Likewise.
35344 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
35345 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
35346 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
35347 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
35348 (key_call): Likewise.
35349 * sunrpc/pm_getport.c (__get_socket): Likewise.
35350 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
35351 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
35352 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
35353 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
35354 (invalidate): Likewise.
35355 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
35356 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
35357 (set_input_fragment, get_input_bytes): Likewise.
35359 2017-08-31 Florian Weimer <fweimer@redhat.com>
35361 * malloc/malloc.c (_int_free): Remove locked variable and related
35364 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
35367 * Makerules (build-module-helper-objlist): Filter out
35368 $(elf-objpfx)sofini.os.
35369 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
35372 2017-08-31 Florian Weimer <fweimer@redhat.com>
35374 * libio/fcloseall.c: Assume weak_alias is defined.
35375 * libio/feof.c: Likewise.
35376 * libio/fileno.c: Likewise.
35377 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
35378 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35380 (_IO_file_open): Call __open directly.
35381 (_IO_new_file_sync): Assume ESPIPE is defined.
35382 (_IO_file_seekoff_maybe_mmap): Call __read directly.
35383 (_IO_new_file_write): Call __write directly.
35384 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
35385 * libio/ftello64.c (__ftello64): Assume EIO is defined.
35386 * libio/genops.c: Assume _LIBC is defined.
35387 (save_for_backup): Remove internal_function.
35388 * libio/getc.c: Assume weak_alias is defined.
35389 * libio/getwc.c: Likewise.
35390 * libio/iofclose.c: Assume _LIBC is defined.
35391 * libio/iofdopen.c: Likewise.
35392 (_IO_fcntl): Remove macro definition.
35393 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
35394 Call __fcntl directly.
35395 * libio/iofflush.c: Assume weak_alias is defined.
35396 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
35398 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
35399 * libio/iofgets.c: Likewise.
35400 * libio/iofopen.c: Assume _LIBC is defined.
35401 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
35402 * libio/iofputs.c: Assume weak_alias is defined.
35403 * libio/iofread.c: Likewise.
35404 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
35405 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
35406 * libio/ioftell.c: Assume weak_alias is defined.
35407 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
35408 * libio/iofwide.c: Assume _LIBC is defined.
35409 (_IO_fwide): Drop SHARED conditional because it is implied by
35411 * libio/iofwrite.c: Assume weak_alias is defined.
35412 * libio/iogetdelim.c: Likewise.
35413 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
35414 * libio/iogetwline.c (wmemcpy): Remove macro definition.
35415 (_IO_getwline): Call __wmemcpy directly.
35416 * libio/iopopen.c: Assume _LIBC is defined.
35417 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35418 (_IO_close): Remove macro definitions.
35419 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
35421 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
35423 * libio/ioputs.c: Assume weak_alias is defined.
35424 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
35425 * libio/iosetbuffer.c: Assume weak_alias is defined.
35426 * libio/iosetvbuf.c: Likewise.
35427 * libio/ioungetc.c: Likewise.
35428 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
35429 libc_hidden_def, libc_hidden_weak, NULL are defined.
35430 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
35431 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
35433 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35435 (_IO_old_file_init_internal): Drop SHARED conditional because it
35436 is implied by SHLIB_COMPAT.
35437 (_IO_old_file_fopen): Call __open directly.
35438 (_IO_old_file_sync): Assume ESPIPE is defined.
35439 (_IO_old_file_write): Call __write directly.
35440 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
35441 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
35442 Call __fcntl directly.
35443 * libio/oldiofgetpos.c: Assume weak_alias is defined.
35444 (_IO_old_fgetpos): Assume EIO is defined.
35445 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
35446 (_IO_old_fgetpos64): Assume EIO is defined.
35447 * libio/oldiofsetpos.c: Assume weak_alias is defined.
35448 (_IO_old_fsetpos): Assume EIO is defined.
35449 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
35450 (_IO_old_fsetpos64): Assume EIO is defined.
35451 * libio/oldiopopen.c: Assume _LIBC is defined.
35452 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35453 (_IO_close): Remove macro definitions.
35454 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
35456 (_IO_old_proc_close): Call __close, __waitpid directly.
35457 * libio/put.c: Assume weak_alias is defined.
35458 * libio/stdfiles.c: Assume _LIBC is defined.
35459 * libio/stdio.c: Likewise.
35460 * libio/wfileops.c: Likewise.
35461 (_IO_wfile_sync): Assume ESPIPE is defined.
35462 * libio/wgenops.c: Assume _LIBC is defined.
35463 (save_for_wbackup): Remove internal_function.
35465 2017-08-31 Florian Weimer <fweimer@redhat.com>
35467 * malloc/malloc.c (top_check): Change return type to void. Remove
35469 * malloc/hooks.c (top_check): Likewise.
35470 (malloc_check, realloc_check, memalign_check): Adjust.
35472 2017-08-30 Joseph Myers <joseph@codesourcery.com>
35475 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35476 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
35477 sigcontext and namespace requirements.
35478 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35479 * sysdeps/m68k/sys/ucontext.h: Likewise.
35480 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
35481 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
35482 <bits/sigcontext.h>.
35483 (__ctx): Define earlier.
35484 (mcontext_t): Define structure contents rather than using struct
35486 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
35487 __glibc_reserved1 instead of __reserved.
35488 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
35489 <bits/sigcontext.h>.
35490 (__ctx): Define earlier.
35491 (mcontext_t): Define structure contents rather than using struct
35493 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
35494 mcontext_t instead of struct sigcontext.
35495 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
35496 <bits/sigcontext.h>.
35497 (__ctx): Define earlier.
35498 (mcontext_t): Define structure contents rather than using struct
35500 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
35501 <bits/sigcontext.h>.
35502 (__ctx): Define earlier.
35503 (mcontext_t): Define structure contents rather than using struct
35505 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
35506 mcontext_t instead of struct sigcontext.
35507 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
35508 mcontext_t instead of struct sigcontext.
35509 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
35510 <bits/sigcontext.h>.
35511 (__ctx): New macro.
35512 (struct __ia64_fpreg_mcontext): New type.
35513 (mcontext_t): Define structure contents rather than using struct
35515 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
35516 (uc_sigmask): Define using __ctx.
35517 (uc_stack): Likewise.
35518 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
35519 <bits/sigcontext.h>.
35520 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35521 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
35522 <bits/sigcontext.h>.
35523 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
35524 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
35525 <bits/sigcontext.h>.
35526 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
35527 <bits/sigcontext.h>.
35528 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
35529 <bits/sigcontext.h>.
35530 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
35531 <bits/sigcontext.h>.
35532 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
35533 <bits/sigcontext.h>.
35534 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
35535 <bits/sigcontext.h>.
35536 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
35537 <bits/sigcontext.h>.
35538 (__ctx): Define earlier.
35539 (mcontext_t): Define structure contents rather than using struct
35541 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
35542 <bits/sigcontext.h>. Include <bits/types.h>.
35543 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
35544 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
35545 (test-xfail-XPG42/ucontext.h/conform): Likewise.
35546 (test-xfail-UNIX98/signal.h/conform): Likewise.
35547 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35548 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35549 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35550 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35551 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35552 (test-xfail-POSIX2008/signal.h/conform): Likewise.
35553 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35554 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35555 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35557 2017-08-30 Florian Weimer <fweimer@redhat.com>
35559 * malloc/dynarray_emplace_enlarge.c
35560 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
35561 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
35562 * malloc/tst-dynarray.c (test_long_overflow): New function.
35563 (do_test): Call it.
35565 2017-08-30 Florian Weimer <fweimer@redhat.com>
35567 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
35568 (set_arena_corrupt): Remove definitions.
35569 (mtrim): Do not check for corrupt arena.
35570 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
35573 2017-08-30 Florian Weimer <fweimer@redhat.com>
35576 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
35578 (ptmalloc_init): Do not set or use check_action.
35579 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
35580 call to malloc_printerr. Remove return statement.
35581 (free_check): Likewise. Remove arena unlock.
35582 (top_check): Update comment. Adjust call to malloc_printerr.
35583 Remove heap repair code.
35584 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
35585 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
35586 (sysmalloc): Adjust call to malloc_printerr.
35587 (munmap_chunk, __libc_realloc): Likewise. Remove return
35589 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
35590 Remove errout label and corresponding gotos.
35591 (_int_free): Likewise. Remove arena unlock.
35592 (do_set_mallopt_check): Do not set check_action.
35593 (malloc_printerr): Adjust parameter list. Do not mark arena as
35595 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
35597 * manual/probes.texi (Memory Allocation Probes): Remove
35598 memory_mallopt_check_action.
35600 2017-08-30 Steve Ellcey <sellcey@cavium.com>
35602 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
35603 Use pointer to uint64_t instead of long int for sp.
35605 2017-08-30 Florian Weimer <fweimer@redhat.com>
35608 * malloc/malloc.c (malloc_printerr): Always terminate the process,
35609 without printing a backtrace. Do not leak any information in the
35611 * manual/memory.texi (Heap Consistency Checking): Update.
35612 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
35614 2017-08-30 Florian Weimer <fweimer@redhat.com>
35616 Do not scale NPTL tests with available number of CPUs.
35617 * nptl/tst-cond16.c (count): Set to constant value of 8.
35618 * nptl/tst-cond18.c (count): Likewise.
35620 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35623 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
35624 Define to take a second argument that is a macro that
35625 concatentates a suffix, not the suffix itself.
35626 (__CONCAT_d): New macro.
35627 (__CONCAT_f): Likewise.
35628 (__CONCAT_l): Likewise.
35630 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
35632 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
35635 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35636 Aurelien Jarno <aurelien@aurel32.net>
35637 Maciej W. Rozycki <macro@imgtec.com>
35640 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
35641 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
35642 `mips16-syscall6' and `mips16-syscall7'.
35643 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
35644 (CFLAGS-mips16-syscall7.c): Remove.
35645 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
35646 Remove `__mips16_syscall5', `__mips16_syscall6' and
35647 `__mips16_syscall7'.
35648 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
35649 (__mips16_syscall0): Rename `__mips16_syscall_return' to
35650 `__mips_syscall_return'.
35651 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
35652 (__mips16_syscall1): Likewise.
35653 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
35654 (__mips16_syscall2): Likewise.
35655 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
35656 (__mips16_syscall3): Likewise.
35657 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
35658 (__mips16_syscall4): Likewise.
35659 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
35661 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
35663 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
35665 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
35666 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
35667 `__mips16_syscall5'. Remove prototype.
35668 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
35669 `__mips16_syscall6'. Remove prototype.
35670 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
35671 `__mips16_syscall7'. Remove prototype.
35672 (__nomips16, __mips16_syscall_return): Move to...
35673 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
35674 (__nomips16, __mips_syscall_return): ... here.
35675 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
35676 `__mips16_syscall_return' to `__mips_syscall_return'.
35677 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
35678 `internal_syscall##nr'.
35679 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
35680 `internal_syscall##nr'.
35681 (FORCE_FRAME_POINTER): Remove.
35682 (__mips_syscall5): New prototype.
35683 (internal_syscall5): Rewrite to call `__mips_syscall5'.
35684 (__mips_syscall6): New prototype.
35685 (internal_syscall6): Rewrite to call `__mips_syscall6'.
35686 (__mips_syscall7): New prototype.
35687 (internal_syscall7): Rewrite to call `__mips_syscall7'.
35688 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
35689 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
35690 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
35691 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
35692 (sysdep_routines): Add libc-do-syscall.
35693 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
35694 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
35696 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35699 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
35700 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
35701 (advise_stack_range): New function.
35702 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
35703 stack non required to advise_stack_range at allocatestack.c
35705 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
35707 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
35709 2017-08-29 Florian Weimer <fweimer@redhat.com>
35712 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
35713 __end_fct. Mangle __end_fct after setting it to NULL.
35714 * iconv/Makefile (tests): Add tst-gconv-init-failure.
35715 (modules-names, modules-names-tests): Add
35716 tst-gconv-init-failure-mod.
35717 (gconv-modules): New target.
35718 (tst-gconv-init-failure-mod.so): Link against libsupport.
35719 (tst-gconv-init-failure): Depend on gconv-modules,
35720 tst-gconv-init-failure-mod.so.
35721 * iconv/tst-gconv-init-failure-mod.c: New file.
35722 * iconv/tst-gconv-init-failure.c: Likewise.
35723 * iconv/test-gconv-modules: Likewise.
35725 2017-08-29 Florian Weimer <fweimer@redhat.com>
35728 * iconv/gconv_db.c (free_derivation): Remove redundant
35730 (gen_steps): Unconditionally mangle __btowc_fct after
35732 (increment_counter): Likewise. Do not call init_fct for internal
35735 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35738 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35739 (_MSUF_): Remove macro.
35740 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
35742 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35743 (__REDIRFROM_X): New macro.
35744 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
35746 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
35747 (__REDIRTO_X): Likewise.
35748 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
35750 (__MATH_REDIRCALL_2): Likewise.
35751 (__MATH_REDIRCALL_INTERNAL): Likewise.
35752 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35753 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
35754 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
35755 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35756 * math/test-finite-macros.c: New file.
35757 * math/Makefile (tests): Add test-finite-macros.
35758 (CFLAGS-test-finite-macros.c): New variable.
35760 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
35761 Jeff Law <law@redhat.com>
35764 Mangle NULL pointers in iconv/gconv.
35765 * iconv/gconv_cache.c (find_module): Demangle init_fct before
35766 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
35767 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
35768 is non-NULL before demangling the end_fct. Check for NULL
35769 end_fct after demangling.
35770 (__gconv_release_step): Demangle the end_fct before checking
35771 it for NULL. Remove assert on __shlibc_handle != NULL.
35772 (gen_steps): Don't check btowc_fct for NULL before mangling.
35773 Demangle init_fct before checking for NULL.
35774 (increment_counter): Likewise.
35775 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
35776 end_fct for NULL before mangling.
35777 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
35780 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
35783 * locale/iso-639.def: add Morisyen.
35785 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35788 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
35789 (iszero): New C++ implementation that does not use
35790 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
35791 signaling nans are enabled, since __builtin_types_compatible_p
35792 is a C-only feature.
35793 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
35794 defined, include ieee754_float128.h for access to the union and
35795 member ieee854_float128.ieee.
35796 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
35797 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
35798 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35799 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
35800 options of test-math-zero on powerpc64le.
35802 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
35804 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
35805 Change double to float.
35807 2017-08-28 Joseph Myers <joseph@codesourcery.com>
35809 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
35811 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
35812 conditional code; define contents only for [LIBM_SVID_COMPAT].
35814 2017-08-28 Florian Weimer <fweimer@redhat.com>
35816 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
35817 (abi-lp64_be-options): Remove.
35818 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
35819 (abi-hard-options): Likewise.
35820 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
35821 (abi-o32_hard-options, abi-o32_soft_2008-options)
35822 (abi-o32_hard_2008-options, abi-n32_soft-options)
35823 (abi-n32_hard-options, abi-n32_soft_2008-options)
35824 (abi-n32_hard_2008-options, abi-n64_soft-options)
35825 (abi-n64_hard-options, abi-n64_soft_2008-options)
35826 (abi-n64_hard_2008-options): Likewise.
35827 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
35828 (abi-64-v1-options, abi-64-v2-options): Likewise.
35829 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
35830 (abi-64-options): Likewise.
35831 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
35832 (abi-64-options): Likewise.
35833 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
35834 (abi-64-options): Likewise.
35835 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
35836 (abi-64-options, abi-x32-options): Likewise.
35838 2017-08-28 Florian Weimer <fweimer@redhat.com>
35840 Store supported list of SYS_* system calls in the source tree.
35841 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
35842 (bits/syscall.h): Generate from list file.
35843 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
35844 [$(subdir) = misc] (tests): Add tst-syscall-list.
35845 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
35846 [$(subdir) = misc] (tst-syscall-list-macros.list)
35847 [$(subdir) = misc] (tst-syscall-list-nr.list)
35848 (tst-syscall-list-sys.list): Helper targets for new
35849 tst-syscall-list test.
35850 [$(subdir) = misc] (tst-syscall-list.out): Run test script
35851 tst-syscall-list.sh.
35852 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
35853 target. Do not include bits/syscall.d.
35854 [$(subdir) = misc] (generated): Do not update.
35855 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
35856 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
35857 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
35858 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
35860 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35862 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
35863 (tst-cxa_atexit, tst-on_exit): Likewise.
35864 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
35865 tst-cxa_atexit, and tst-on_exit.
35866 * stdlib/tst-atexit-common.c: New file.
35867 * stdlib/tst-atexit.c: New file.
35868 * stdlib/tst-at_quick_exit.c: New file.
35869 * stdlib/tst-cxa_atexit.c: New file.
35870 * stdlib/tst-on_exit.c: New file.
35872 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35874 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
35875 * mach/stack_chk_fail_local.c: New file.
35876 * hurd/stack_chk_fail_local.c: New file.
35877 * mach/Machrules ($(interface-library)-routines): Add
35878 stack_chk_fail_local.
35879 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
35880 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
35881 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
35882 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
35883 * hurd/Makefile (CFLAGS-hurdstartup.o,
35884 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
35886 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
35888 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35889 (index_cpu_*, index_arch_*): Removed.
35891 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
35893 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
35894 Use uint64_t instead of unsigned long.
35896 2017-08-25 Joseph Myers <joseph@codesourcery.com>
35898 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
35899 [__HAVE_DISTINCT_FLOAT128].
35901 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
35902 of <bits/math-finite.h>.
35903 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
35904 inclusion of <bits/math-finite.h>.
35905 * math/bits/math-finite.h (__REDIRTO_X): Do not define
35906 conditionally on [__MATH_DECLARING_LDOUBLE && defined
35907 __NO_LONG_DOUBLE_MATH].
35908 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
35909 (__MATH_REDIRCALL_2): Likewise.
35910 (__MATH_REDIRCALL_INTERNAL): Likewise.
35911 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35912 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
35913 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
35917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
35919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
35921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
35923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
35925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
35927 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35928 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35929 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35930 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
35932 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
35933 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
35934 w_sqrtf_compat-ppc32.
35936 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35938 * math/math.h [defined __cplusplus] (issignaling): In the long
35939 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
35940 is not defined. Call __issignaling, otherwise.
35942 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35944 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
35945 syscall definitions and replace __builtin_expect with __glibc_likely.
35946 * sysdeps/unix/syscall-template.S: Update comment about cancellable
35948 (SYSCALL_CANCELLABLE): Removedefinition
35949 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
35951 (PSEUDO_END): Likewise.
35952 [IS_IN (libpthread)] (CENABLE): Likewise.
35953 [IS_IN (libpthread)] (CDISABLE): Likewise.
35954 [IS_IN (libc)] (CENABLE): Likewise.
35955 [IS_IN (libc)] (CENABLE): Likewise.
35956 [IS_IN (librt)] (CDISABLE): Likewise.
35957 [IS_IN (librt)] (CDISABLE): Likewise.
35958 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35959 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
35961 (PSEUDO_END): Likewise.
35962 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
35963 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
35964 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35965 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35966 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35967 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35968 (CENABLE): Likewise.
35969 (CDISABLE): Likewise.
35970 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35971 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
35973 (PSEUDO_END): Likewise.
35974 [IS_IN (libpthread)] (CENABLE): Likewise.
35975 [IS_IN (libpthread)] (CDISABLE): Likewise.
35976 [IS_IN (libc)] (CENABLE): Likewise.
35977 [IS_IN (libc)] (CENABLE): Likewise.
35978 [IS_IN (librt)] (CDISABLE): Likewise.
35979 [IS_IN (librt)] (CDISABLE): Likewise.
35980 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35981 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
35983 (PSEUDO_END): Likewise.
35984 [IS_IN (libpthread)] (CENABLE): Likewise.
35985 [IS_IN (libpthread)] (CDISABLE): Likewise.
35986 [IS_IN (libc)] (CENABLE): Likewise.
35987 [IS_IN (libc)] (CENABLE): Likewise.
35988 [IS_IN (librt)] (CDISABLE): Likewise.
35989 [IS_IN (librt)] (CDISABLE): Likewise.
35990 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35991 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
35993 (PSEUDO_END): Likewise.
35994 [IS_IN (libpthread)] (CENABLE): Likewise.
35995 [IS_IN (libpthread)] (CDISABLE): Likewise.
35996 [IS_IN (libc)] (CENABLE): Likewise.
35997 [IS_IN (libc)] (CENABLE): Likewise.
35998 [IS_IN (librt)] (CDISABLE): Likewise.
35999 [IS_IN (librt)] (CDISABLE): Likewise.
36000 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36001 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
36003 (PSEUDO_END): Likewise.
36004 [IS_IN (libpthread)] (CENABLE): Likewise.
36005 [IS_IN (libpthread)] (CDISABLE): Likewise.
36006 [IS_IN (libc)] (CENABLE): Likewise.
36007 [IS_IN (libc)] (CENABLE): Likewise.
36008 [IS_IN (librt)] (CDISABLE): Likewise.
36009 [IS_IN (librt)] (CDISABLE): Likewise.
36010 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36011 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
36013 (PSEUDO_END): Likewise.
36014 [IS_IN (libpthread)] (CENABLE): Likewise.
36015 [IS_IN (libpthread)] (CDISABLE): Likewise.
36016 [IS_IN (libc)] (CENABLE): Likewise.
36017 [IS_IN (libc)] (CENABLE): Likewise.
36018 [IS_IN (librt)] (CDISABLE): Likewise.
36019 [IS_IN (librt)] (CDISABLE): Likewise.
36020 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36021 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
36023 (PSEUDO_END): Likewise.
36024 [IS_IN (libpthread)] (CENABLE): Likewise.
36025 [IS_IN (libpthread)] (CDISABLE): Likewise.
36026 [IS_IN (libc)] (CENABLE): Likewise.
36027 [IS_IN (libc)] (CENABLE): Likewise.
36028 [IS_IN (librt)] (CDISABLE): Likewise.
36029 [IS_IN (librt)] (CDISABLE): Likewise.
36030 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36031 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
36033 (PSEUDO_END): Likewise.
36034 [IS_IN (libpthread)] (CENABLE): Likewise.
36035 [IS_IN (libpthread)] (CDISABLE): Likewise.
36036 [IS_IN (libc)] (CENABLE): Likewise.
36037 [IS_IN (libc)] (CENABLE): Likewise.
36038 [IS_IN (librt)] (CDISABLE): Likewise.
36039 [IS_IN (librt)] (CDISABLE): Likewise.
36040 (SINGLE_THREAD_P): Likewise.
36041 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
36043 (PSEUDO_END): Likewise.
36044 [IS_IN (libpthread)] (CENABLE): Likewise.
36045 [IS_IN (libpthread)] (CDISABLE): Likewise.
36046 [IS_IN (libc)] (CENABLE): Likewise.
36047 [IS_IN (libc)] (CENABLE): Likewise.
36048 [IS_IN (librt)] (CDISABLE): Likewise.
36049 [IS_IN (librt)] (CDISABLE): Likewise.
36050 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36051 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
36053 (PSEUDO_END): Likewise.
36054 [IS_IN (libpthread)] (CENABLE): Likewise.
36055 [IS_IN (libpthread)] (CDISABLE): Likewise.
36056 [IS_IN (libc)] (CENABLE): Likewise.
36057 [IS_IN (libc)] (CENABLE): Likewise.
36058 [IS_IN (librt)] (CDISABLE): Likewise.
36059 [IS_IN (librt)] (CDISABLE): Likewise.
36060 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36061 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
36062 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36063 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
36064 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
36066 (PSEUDO_END): Likewise.
36067 [IS_IN (libpthread)] (CENABLE): Likewise.
36068 [IS_IN (libpthread)] (CDISABLE): Likewise.
36069 [IS_IN (libc)] (CENABLE): Likewise.
36070 [IS_IN (libc)] (CENABLE): Likewise.
36071 [IS_IN (librt)] (CDISABLE): Likewise.
36072 [IS_IN (librt)] (CDISABLE): Likewise.
36073 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36074 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
36076 (PSEUDO_END): Likewise.
36077 [IS_IN (libpthread)] (CENABLE): Likewise.
36078 [IS_IN (libpthread)] (CDISABLE): Likewise.
36079 [IS_IN (libc)] (CENABLE): Likewise.
36080 [IS_IN (libc)] (CENABLE): Likewise.
36081 [IS_IN (librt)] (CDISABLE): Likewise.
36082 [IS_IN (librt)] (CDISABLE): Likewise.
36083 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36084 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
36086 (PSEUDO_END): Likewise.
36087 [IS_IN (libpthread)] (CENABLE): Likewise.
36088 [IS_IN (libpthread)] (CDISABLE): Likewise.
36089 [IS_IN (libc)] (CENABLE): Likewise.
36090 [IS_IN (libc)] (CENABLE): Likewise.
36091 [IS_IN (librt)] (CDISABLE): Likewise.
36092 [IS_IN (librt)] (CDISABLE): Likewise.
36093 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36094 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
36095 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36096 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
36097 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
36099 (PSEUDO_END): Likewise.
36100 [IS_IN (libpthread)] (CENABLE): Likewise.
36101 [IS_IN (libpthread)] (CDISABLE): Likewise.
36102 [IS_IN (libc)] (CENABLE): Likewise.
36103 [IS_IN (libc)] (CENABLE): Likewise.
36104 [IS_IN (librt)] (CDISABLE): Likewise.
36105 [IS_IN (librt)] (CDISABLE): Likewise.
36106 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36107 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
36109 (PSEUDO_END): Likewise.
36110 [IS_IN (libpthread)] (CENABLE): Likewise.
36111 [IS_IN (libpthread)] (CDISABLE): Likewise.
36112 [IS_IN (libc)] (CENABLE): Likewise.
36113 [IS_IN (libc)] (CENABLE): Likewise.
36114 [IS_IN (librt)] (CDISABLE): Likewise.
36115 [IS_IN (librt)] (CDISABLE): Likewise.
36116 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36118 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
36120 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
36122 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36124 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36126 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36129 * string/stratcliff.c (do_test): Declare size, nchars, inner,
36130 middle and outer with size_t instead of int. Repleace %d and
36131 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
36132 "MAX (outer, nchars - 64)" to support unsigned outer and
36133 nchars. Also exit loop when outer == 0.
36135 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36137 * include/fcntl.h (__fcntl_nocancel): Remove definition.
36138 * include/signal.h (__sigsuspend_nocancel): Likewise.
36139 * include/time.h (__nanosleep_nocancel): Likewise.
36140 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
36141 * login/utmp_file.c: Include non cancellable syscall header.
36142 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
36145 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36147 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
36148 .byte sequences with AVX512F instructions.
36149 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
36150 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
36151 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
36152 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
36154 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
36157 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
36158 Steve Ellcey <sellcey@cavium.com>
36160 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
36161 Use PTR_REG macro in cmp instruction.
36163 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36165 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
36166 Change the return type of the ifunc resolver to match the return
36167 type of the target function.
36169 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36171 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
36172 (preadv64): Likewise.
36173 (pwrite64(: Likewise.
36174 (pwritev64): Likewise.
36176 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36177 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
36178 (LOAD_ARGS_0): Likewise.
36179 (LOAD_ARGS_1): Likewise.
36180 (LOAD_ARGS_2): Likewise.
36181 (LOAD_ARGS_3): Likewise.
36182 (LOAD_ARGS_4): Likewise.
36183 (LOAD_ARGS_5): Likewise.
36184 (LOAD_ARGS_6): Likewise.
36185 (LOAD_REGS_0): Likewise.
36186 (LOAD_REGS_1): Likewise.
36187 (LOAD_REGS_2): Likewise.
36188 (LOAD_REGS_3): Likewise.
36189 (LOAD_REGS_4): Likewise.
36190 (LOAD_REGS_5): Likewise.
36191 (LOAD_REGS_6): Likewise.
36192 (ASM_ARGS_0): Likewise.
36193 (ASM_ARGS_1): Likewise.
36194 (ASM_ARGS_2): Likewise.
36195 (ASM_ARGS_3): Likewise.
36196 (ASM_ARGS_4): Likewise.
36197 (ASM_ARGS_5): Likewise.
36198 (ASM_ARGS_6): Likewise.
36199 (LOAD_ARGS_TYPES_1): Likewise.
36200 (LOAD_ARGS_TYPES_2): Likewise.
36201 (LOAD_ARGS_TYPES_3): Likewise.
36202 (LOAD_ARGS_TYPES_4): Likewise.
36203 (LOAD_ARGS_TYPES_5): Likewise.
36204 (LOAD_ARGS_TYPES_6): Likewise.
36205 (LOAD_REGS_TYPES_1): Likewise.
36206 (LOAD_REGS_TYPES_2): Likewise.
36207 (LOAD_REGS_TYPES_3): Likewise.
36208 (LOAD_REGS_TYPES_4): Likewise.
36209 (LOAD_REGS_TYPES_5): Likewise.
36210 (LOAD_REGS_TYPES_6): Likewise.
36211 (TYPEFY): New define.
36212 (ARGIFY): Likewise.
36213 (internal_syscall0): Likewise.
36214 (internal_syscall1): Likewise.
36215 (internal_syscall2): Likewise.
36216 (internal_syscall3): Likewise.
36217 (internal_syscall4): Likewise.
36218 (internal_syscall5): Likewise.
36219 (internal_syscall6): Likewise.
36220 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
36221 (INTERNAL_SYSCALL_NCS): Remove define.
36222 (internal_syscall1): Add define.
36224 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36226 * math/w_remainder_compat.c: Remove duplicate inclusion of
36227 math-svid-compat.h.
36228 * math/w_remainderf_compat.c: Likewise.
36229 * math/w_remainderl_compat.c: Likewise.
36231 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36235 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36238 * math/tgmath.h (__floating_type): Simplify definitions.
36239 (__real_integer_type): New macro.
36240 (__complex_integer_type): Likewise.
36241 (__expr_is_real): Likewise.
36242 (__tgmath_real_type_sub): Update comment to describe handling of
36244 (__tgmath_complex_type_sub): New macro.
36245 (__tgmath_complex_type): Likewise.
36246 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36247 (__TGMATH_CF128): Use __expr_is_real.
36248 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
36250 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36251 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
36252 * math/gen-tgmath-tests.py (Type.create_type): Create complex
36255 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36257 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
36259 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
36261 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
36264 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
36265 nanosleep_not_cancel with __nanosleep_nocancel.
36266 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
36267 (__nanosleep_nocancel): New macro.
36268 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
36270 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
36272 (__nanosleep_nocancel): New prototype.
36274 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
36275 pause_not_cancel with __pause_nocancel.
36276 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
36277 (__pause_nocancel): New macro.
36278 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
36280 (__pause_nocancel): New prototype.
36281 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
36283 2017-08-22 Martin Sebor <msebor@redhat.com>
36285 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
36286 to return a pointer to the same type as the target function.
36288 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36292 * include/printf.h (__printf_fphex): Add attribute_hidden.
36293 (__guess_grouping): New prototype.
36294 * stdio-common/printf_fp.c (__guess_grouping): Removed.
36295 * stdio-common/reg-printf.c (__register_printf_specifier): Add
36296 libc_hidden_proto and libc_hidden_def.
36297 * stdlib/strfmon_l.c (__guess_grouping): Removed.
36298 (__vstrfmon_l): Remove the third argument passed to
36301 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36303 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
36304 definition for issignaling that does not rely on __MATH_TG,
36305 since __MATH_TG uses __builtin_types_compatible_p, which is only
36306 available in C mode.
36307 (CFLAGS-test-math-issignaling.cc): New variable.
36308 * math/Makefile [CXX] (tests): Add test-math-issignaling.
36309 * math/test-math-issignaling.cc: New test for C++ implementation
36310 of type-generic issignaling.
36311 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
36312 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
36313 options of test-math-issignaling on powerpc64le.
36315 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36317 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36319 (hidden_proto): Likewise.
36320 (hidden_tls_proto): Likewise.
36321 (__hidden_proto): Likewise.
36323 2017-08-22 Florian Weimer <fweimer@redhat.com>
36325 math: Statically link tests of internal functionality.
36326 * math/Makefile (tests): Remove atest-exp, atest-sincos,
36328 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
36329 (gmp-objs): Remove assignment.
36330 (atest-exp, atest-sincos, atest-exp2): Remove targets.
36332 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36335 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
36337 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
36339 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
36342 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
36343 variable definitions above inclusion of ../Rules.
36345 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36347 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
36348 case calling __builtin_unreachable.
36350 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36352 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
36353 __waitpid_nocancel.
36354 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
36355 (__waitpid_nocancel): New macro.
36356 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
36358 (__waitpid_nocancel): Replace macro with a function.
36359 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
36362 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
36364 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
36365 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
36367 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
36368 __writev_nocancel_nostatus.
36369 (write_call_graph): Likewise.
36370 (write_bb_counts): Likewise.
36371 * resolv/herror.c (herror): Likewise.
36372 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
36374 (__writev_nocancel_nostatus): New macro.
36375 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
36377 (__writev_nocancel_nostatus): New function.
36379 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36382 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36384 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36386 (hidden_proto): Likewise.
36387 (hidden_tls_proto): Likewise.
36388 (__hidden_proto): Likewise.
36391 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
36392 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
36397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
36401 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
36402 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36403 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36404 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36405 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
36406 GLIBC_2.0 sqrtl symbol.
36408 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
36409 [__USE_MISC] (_LIB_VERSION): Likewise.
36410 [__USE_MISC] (struct exception): Likewise.
36411 [__USE_MISC] (matherr): Likewise.
36412 [__USE_MISC] (DOMAIN): Likewise.
36413 [__USE_MISC] (SING): Likewise.
36414 [__USE_MISC] (OVERFLOW): Likewise.
36415 [__USE_MISC] (UNDERFLOW): Likewise.
36416 [__USE_MISC] (TLOSS): Likewise.
36417 [__USE_MISC] (PLOSS): Likewise.
36418 [__USE_MISC] (HUGE): Likewise.
36419 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
36420 * math/math-svid-compat.h: New file.
36421 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
36423 * include/math.h [!_ISOMAC] (__matherr): Remove.
36424 * manual/arith.texi (FP Exceptions): Do not document matherr.
36425 * math/Makefile (tests): Change test-matherr to test-matherr-3.
36426 (tests-internal): New variable.
36427 (install-lib): Do not add libieee.a.
36428 (non-lib.a): Likewise.
36429 (extra-objs): Do not add libieee.a and ieee-math.o.
36430 (CPPFLAGS-s_lib_version.c): Remove variable.
36431 ($(objpfx)libieee.a): Remove rule.
36432 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
36433 * math/ieee-math.c: Remove.
36434 * math/libm-test-support.c (matherr): Remove.
36435 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
36436 and license notices. Include <math-svid-compat.h> and
36438 (matherr): Undefine as macro. Use compat_symbol_reference.
36439 (_LIB_VERSION): Likewise.
36440 * math/test-matherr-2.c: New file.
36441 * math/test-matherr-3.c: Likewise.
36442 * sysdeps/generic/math_private.h (__kernel_standard): Remove
36444 (__kernel_standard_f): Likewise.
36445 (__kernel_standard_l): Likewise.
36446 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
36447 <math_private.h>. Include <math-svid-compat.h>.
36448 (_LIB_VERSION): Undefine as macro.
36449 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
36450 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
36451 [LIBM_SVID_COMPAT], use compat_symbol.
36452 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
36453 <math_private.h>. Include <math-svid-compat.h>.
36454 (matherr): Undefine as macro.
36455 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
36457 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
36458 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
36459 compat_symbol_reference.
36460 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
36461 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
36462 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
36463 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
36464 (MATHERR_D): Remove declaration.
36465 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
36466 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
36467 [LIBM_BUILD] (pmatherrf): Likewise.
36468 [LIBM_BUILD] (pmatherr): Likewise.
36469 [LIBM_BUILD] (pmatherrl): Likewise.
36470 (DOMAIN): Likewise.
36472 (OVERFLOW): Likewise.
36473 (UNDERFLOW): Likewise.
36476 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
36477 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
36479 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
36480 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
36482 * math/lgamma-compat.h: Include <math-svid-compat.h>.
36483 * math/w_acos_compat.c: Likewise.
36484 * math/w_acosf_compat.c: Likewise.
36485 * math/w_acosh_compat.c: Likewise.
36486 * math/w_acoshf_compat.c: Likewise.
36487 * math/w_acoshl_compat.c: Likewise.
36488 * math/w_acosl_compat.c: Likewise.
36489 * math/w_asin_compat.c: Likewise.
36490 * math/w_asinf_compat.c: Likewise.
36491 * math/w_asinl_compat.c: Likewise.
36492 * math/w_atan2_compat.c: Likewise.
36493 * math/w_atan2f_compat.c: Likewise.
36494 * math/w_atan2l_compat.c: Likewise.
36495 * math/w_atanh_compat.c: Likewise.
36496 * math/w_atanhf_compat.c: Likewise.
36497 * math/w_atanhl_compat.c: Likewise.
36498 * math/w_cosh_compat.c: Likewise.
36499 * math/w_coshf_compat.c: Likewise.
36500 * math/w_coshl_compat.c: Likewise.
36501 * math/w_exp10_compat.c: Likewise.
36502 * math/w_exp10f_compat.c: Likewise.
36503 * math/w_exp10l_compat.c: Likewise.
36504 * math/w_exp2_compat.c: Likewise.
36505 * math/w_exp2f_compat.c: Likewise.
36506 * math/w_exp2l_compat.c: Likewise.
36507 * math/w_fmod_compat.c: Likewise.
36508 * math/w_fmodf_compat.c: Likewise.
36509 * math/w_fmodl_compat.c: Likewise.
36510 * math/w_hypot_compat.c: Likewise.
36511 * math/w_hypotf_compat.c: Likewise.
36512 * math/w_hypotl_compat.c: Likewise.
36513 * math/w_j0_compat.c: Likewise.
36514 * math/w_j0f_compat.c: Likewise.
36515 * math/w_j0l_compat.c: Likewise.
36516 * math/w_j1_compat.c: Likewise.
36517 * math/w_j1f_compat.c: Likewise.
36518 * math/w_j1l_compat.c: Likewise.
36519 * math/w_jn_compat.c: Likewise.
36520 * math/w_jnf_compat.c: Likewise.
36521 * math/w_jnl_compat.c: Likewise.
36522 * math/w_lgamma_main.c: Likewise.
36523 * math/w_lgamma_r_compat.c: Likewise.
36524 * math/w_lgammaf_main.c: Likewise.
36525 * math/w_lgammaf_r_compat.c: Likewise.
36526 * math/w_lgammal_main.c: Likewise.
36527 * math/w_lgammal_r_compat.c: Likewise.
36528 * math/w_log10_compat.c: Likewise.
36529 * math/w_log10f_compat.c: Likewise.
36530 * math/w_log10l_compat.c: Likewise.
36531 * math/w_log2_compat.c: Likewise.
36532 * math/w_log2f_compat.c: Likewise.
36533 * math/w_log2l_compat.c: Likewise.
36534 * math/w_log_compat.c: Likewise.
36535 * math/w_logf_compat.c: Likewise.
36536 * math/w_logl_compat.c: Likewise.
36537 * math/w_pow_compat.c: Likewise.
36538 * math/w_powf_compat.c: Likewise.
36539 * math/w_powl_compat.c: Likewise.
36540 * math/w_remainder_compat.c: Likewise.
36541 * math/w_remainderf_compat.c: Likewise.
36542 * math/w_remainderl_compat.c: Likewise.
36543 * math/w_scalb_compat.c: Likewise.
36544 * math/w_scalbf_compat.c: Likewise.
36545 * math/w_scalbl_compat.c: Likewise.
36546 * math/w_sinh_compat.c: Likewise.
36547 * math/w_sinhf_compat.c: Likewise.
36548 * math/w_sinhl_compat.c: Likewise.
36549 * math/w_sqrt_compat.c: Likewise.
36550 * math/w_sqrtf_compat.c: Likewise.
36551 * math/w_sqrtl_compat.c: Likewise.
36552 * math/w_tgamma_compat.c: Likewise.
36553 * math/w_tgammaf_compat.c: Likewise.
36554 * math/w_tgammal_compat.c: Likewise.
36555 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
36556 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
36557 * sysdeps/ieee754/k_standard.c: Likewise.
36558 * sysdeps/ieee754/k_standardf.c: Likewise.
36559 * sysdeps/ieee754/k_standardl.c: Likewise.
36560 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
36561 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
36562 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
36563 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36564 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36565 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36566 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36567 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
36568 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36573 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
36574 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36575 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36576 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36578 2017-08-21 Florian Weimer <fweimer@redhat.com>
36581 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
36582 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
36583 Move before inclusion of ../Rules.
36585 2017-08-21 Florian Weimer <fweimer@redhat.com>
36588 * assert/assert.h (assert): Use static_cast (bool) for C++.
36589 Use the ternary operator in the warning branch for GNU C.
36590 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
36591 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
36592 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
36593 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
36594 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
36596 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36599 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36600 (__syscall_clock_gettime): Add attribute_hidden.
36601 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
36602 (__start_context): Likewise.
36604 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36606 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36608 (hidden_proto): Likewise.
36609 (hidden_tls_proto): Likewise.
36610 (__hidden_proto): Likewise.
36612 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36614 * include/libc-symbols.h (attribute_hidden): Enable hidden
36615 visibility in libc.a compiled with PIE.
36617 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36620 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
36621 Add attribute_hidden.
36623 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36626 * Makerules (all-nonlib): Add $(others-extras).
36627 * catgets/Makefile (others-extras): New.
36628 * elf/Makefile (others-extras): Likewise.
36629 * nss/Makefile (others-extras): Likewise.
36631 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36634 * csu/libc-start.c (__libc_multiple_libcs): Removed.
36635 * elf/dl-open.c: Include <libc-internal.h>.
36636 (__libc_multiple_libcs): Removed.
36637 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
36639 * include/libc-internal.h (__libc_multiple_libcs): New.
36640 * misc/sbrk.c: Include <libc-internal.h>.
36641 (__libc_multiple_libcs): Removed.
36643 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36646 * grp/initgroups.c (__nss_group_database): Removed.
36647 (__nss_initgroups_database): Likewise.
36648 * nscd/gai.c (__nss_hosts_database): Likewise.
36649 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
36650 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
36651 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
36652 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
36653 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
36654 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
36656 * nss/nsswitch.c (__nss_database_custom): Define only if
36657 USE_NSCD is defined.
36658 (__nss_configure_lookup): Use __nss_database_custom only if
36659 USE_NSCD is defined.
36660 * nss/nsswitch.h (__nss_database_custom): Declare only if
36661 USE_NSCD is defined. Add attribute_hidden.
36662 (__nss_setent): Add attribute_hidden.
36663 (__nss_endent): Likewise.
36664 (__nss_getent_r): Likewise.
36665 (__nss_getent): Likewise.
36666 (DEFINE_DATABASE): Declare __nss_##arg##_database.
36668 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36671 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
36672 libc_hidden_proto and libc_hidden_def.
36674 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36677 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
36678 Add libc_hidden_proto.
36679 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
36680 Add libc_hidden_def.
36682 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36685 * gmon/Makefile (routines): Remove bb_init_func and
36687 (elide-routines.os): Removed.
36688 * gmon/bb_exit_func.c: Likewise.
36689 * gmon/bb_init_func.c: Likewise.
36690 * include/sys/gmon.h (__bb): Likewise.
36691 (__bb_init_func): Likewise.
36692 (__bb_exit_func): Likewise.
36693 * sysdeps/alpha/bb_init_func.S: Likewise.
36695 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36697 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
36698 * include/setjmp.h (____longjmp_chk): Here. Add
36701 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
36704 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
36706 (__strspn_sse2): Likewise.
36708 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36710 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
36711 (close_not_cancel_no_status): Likewise.
36712 (__close_nocancel): New macro.
36713 (__close_nocancel_nostatus): Likewise.
36714 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
36716 (close_not_cancel): Likewise.
36717 (close_not_cancel_no_status): Likewise.
36718 (__close_nocancel): New prototype.
36719 (__close_nocancel_nostatus): New function.
36720 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
36721 * catgets/open_catalog.c (__open_catalog): Replace
36722 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
36723 * gmon/gmon.c (write_gmon): Likewise.
36724 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36725 * intl/loadmsgcat.c (close): Likewise.
36726 * io/ftw.c (open_dir_stream): Likewise.
36727 (ftw_startup): Likewise.
36728 * libio/fileops.c (_IO_file_open): Likewise.
36729 (_IO_file_close_mmap): Likewise.
36730 (_IO_file_close): Likewise.
36731 * libio/iopopen.c (_IO_dup2): Likewise.
36732 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36733 * locale/loadlocale.c (_nl_load_locale): Likewise.
36734 * login/utmp_file.c (pututline_file): Likewise.
36735 (endutent_file): Likewise.
36736 * misc/daemon.c (daemon): Likewise.
36737 * nscd/nscd_getai.c (__nscd_getai): Likewise.
36738 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36739 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
36740 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36741 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36742 * nscd/nscd_helper.c (open_socket): Likewise.
36743 (__nscd_open_socket): Likewise.
36744 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36745 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
36746 (__nscd_innetgr): Likewise.
36747 * nss/nss_db/db-open.c (internal_setent): Likewise.
36748 * resolv/res-close.c (__res_iclose): Likewise.
36749 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
36750 * sysdeps/posix/closedir.c (__closedir): Likewise.
36751 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
36752 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36753 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36754 (opendir_tail): Likewise.
36755 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36756 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
36757 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36758 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36759 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36760 (gethostid): Likewise.
36761 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36762 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36764 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36765 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
36766 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36767 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36769 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
36770 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
36771 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36773 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
36774 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36776 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36778 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36779 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36780 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36783 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
36784 (openat_not_cancel_3): Likewise.
36785 (openat64_not_cancel_3): Likewise).
36786 (openat_not_cancel_3): Likewise).
36787 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
36789 (openat_not_cancel_3): Likewise.
36790 (openat64_not_cancel): Likewise.
36791 (openat64_not_cancel_3): Likewise.
36792 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
36793 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
36794 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
36795 __open{64}_nocancel.
36796 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36797 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36798 * sysdeps/posix/opendir.c (__opendirat): Likewise.
36800 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36803 * include/argz.h (__argz_create_sep): New function prototype.
36804 (__argz_append): Likewise.
36805 (__argz_add): Likewise.
36806 (__argz_add_sep): Likewise.
36807 (__argz_delete): Likewise.
36808 (__argz_insert): Likewise.
36809 (__argz_replace): Likewise.
36810 * string/argz.h (__argz_create_sep): Removed.
36811 (__argz_append): Likewise.
36812 (__argz_add): Likewise.
36813 (__argz_add_sep): Likewise.
36814 (__argz_delete): Likewise.
36815 (__argz_insert): Likewise.
36816 (__argz_replace): Likewise.
36818 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36820 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
36821 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
36822 (GNU_PROPERTY_STACK_SIZE): Likewie.
36823 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
36824 (GNU_PROPERTY_LOPROC): Likewise.
36825 (GNU_PROPERTY_HIPROC): Likewise.
36826 (GNU_PROPERTY_LOUSER): Likewise.
36827 (GNU_PROPERTY_HIUSER): Likewise.
36828 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
36829 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
36830 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
36831 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
36832 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
36833 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
36834 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
36835 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
36836 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
36837 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
36838 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
36839 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
36840 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
36841 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
36842 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
36843 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
36844 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
36845 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
36846 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
36847 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
36848 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
36849 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
36850 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
36852 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36854 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
36857 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36860 * math/math.h (isinf): Check if in C or C++ mode before using
36861 __builtin_types_compatible_p, since this is a C mode feature.
36863 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36865 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
36866 (__write_nocancel): New macro.
36867 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
36868 Rewrite as a function prototype.
36869 (write_not_cancel): Remove macro.
36870 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
36871 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
36872 (write_gmon): Likewise.
36873 * libio/fileops.c (_IO_new_file_write): Likewise.
36874 * login/utmp_file.c (pututline_file): Likewise.
36875 (updwtmp_file): Likewise.
36876 * stdio-common/psiginfo.c (psiginfo): Likewise.
36877 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36878 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36879 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36881 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36884 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
36885 (__read_nocancel): New macro.
36886 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36888 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
36890 (__read_nocancel): New prototype.
36891 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
36892 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
36893 with __read_nocancel.
36894 * intl/loadmsgcat.c (read): Likewise.
36895 * libio/fileops.c (_IO_file_read): Likewise.
36896 * locale/loadlocale.c (_nl_load_locale): Likewise.
36897 * login/utmp_file.c (getutent_r_file): Likewise.
36898 (internal_getut_r): Likewise.
36899 (getutline_r_file): Likewise.
36900 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36901 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
36902 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36903 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36905 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
36906 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36907 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36909 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36911 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36913 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36915 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36917 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36920 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
36921 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
36924 2017-08-17 DJ Delorie <dj@redhat.com>
36926 * bug17079.c: Update to new test harness.
36927 * test-digits-dots.c: Likewise.
36928 * test-netdb.c: Likewise.
36929 * tst-field.c: Likewise.
36930 * tst-nss-getpwent.c: Likewise.
36931 * tst-nss-static.c: Likewise.
36932 * tst-nss-test1.c: Likewise.
36933 * tst-nss-test2.c: Likewise.
36934 * tst-nss-test3.c: Likewise.
36935 * tst-nss-test4.c: Likewise.
36936 * tst-nss-test5.c: Likewise.
36938 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36940 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
36941 (open_not_cancel_2): Likewise.
36942 (open_nocancel): New macro.
36943 (open64_nocancel): Likewise.
36944 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
36945 (open_not_cancel_2): Likewise.
36946 (__open_nocancel): New prototype.
36947 (__open64_nocancel): Likewise.
36948 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36950 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
36951 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
36952 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
36953 with __open_nocancel.
36954 * csu/check_fds.c (check_one_fd): Likewise.
36955 * gmon/gmon.c (write_gmon): Likewise.
36956 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
36957 * intl/loadmsgcat.c (open): Likewise.
36958 * libio/fileops.c (_IO_file_open): Likewise.
36959 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36960 * locale/loadlocale.c (_nl_load_locale): Likewise.
36961 * login/utmp_file.c (setutent_file): Likewise.
36962 * misc/daemon.c (daemon): Likewise.
36963 * nss/nss_db/db-open.c (internal_setent): Likewise.
36964 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36965 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
36966 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36967 (__opendir): Likewise.
36968 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36969 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36970 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36971 (gethostid): Likewise.
36972 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36973 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36975 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36976 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
36977 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36978 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36980 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36982 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36984 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36986 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36988 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36990 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36991 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36993 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
36995 * benchtests/bench-skeleton.c (main): Add support for
36996 latency benchmarking.
36997 * benchtests/scripts/bench.py: Add support for latency benchmarking.
36999 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
37001 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
37002 the startup object.
37004 2017-08-17 Florian Weimer <fweimer@redhat.com>
37006 * include/sys/socket.h (__opensock): Remove internal_function.
37007 * socket/opensock.c (__opensock): Likewise.
37008 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
37010 2017-08-16 Joseph Myers <joseph@codesourcery.com>
37013 * signal/bits/types/__sigval_t.h: New file.
37014 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
37015 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
37016 and define sigval_t using __sigval_t.
37017 * include/bits/types/__sigval_t.h: New file.
37018 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
37019 instead of <bits/types/__sigval_t.h>.
37020 (struct sigevent): Use __sigval_t instead of sigval_t.
37021 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
37022 instead of <bits/types/__sigval_t.h>.
37023 (siginfo_t): Use __sigval_t instead of sigval_t.
37024 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
37025 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
37026 (struct sigevent): Use __sigval_t instead of sigval_t.
37027 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
37028 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
37029 (siginfo_t): Use __sigval_t instead of sigval_t.
37030 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
37032 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37034 * NEWS: Remove "[Add new features here]" for 2.27.
37036 2017-08-16 Joseph Myers <joseph@codesourcery.com>
37038 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
37041 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37043 * NEWS: Mention x86-64 FMA optimization.
37045 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37048 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37050 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
37051 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
37052 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
37054 2017-08-16 Andreas Schwab <schwab@suse.de>
37058 * elf/ldd.bash.in: Never run file directly.
37060 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
37063 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
37064 (L(SP_INF_0)): Likewise.
37066 2017-08-15 Florian Weimer <fweimer@redhat.com>
37068 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
37071 2017-08-15 Florian Weimer <fweimer@redhat.com>
37073 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
37074 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
37075 BROKEN_THREAD_SIGNALS code.
37076 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
37077 request_list): Remove caller_pid member used for
37078 BROKEN_THREAD_SIGNALS.
37079 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
37080 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
37081 Remove BROKEN_THREAD_SIGNALS support.
37082 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
37083 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
37085 2017-08-15 Florian Weimer <fweimer@redhat.com>
37087 * gmon/Makefile (tests): Add tst-gmon.
37088 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
37090 (tests-special): Add tst-gmon-prof.out.
37091 (tst-gmon.out): Depend on clean-tst-gmon-data.
37092 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
37093 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
37094 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
37096 * aclocal.m4 (GPROF): Set and substitute.
37097 * config.amke.in (GPROF): Set.
37098 * configure: Regenerate.
37100 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
37102 * elf/elf.h A (NT_PPC_TAR): New macro.
37103 (NT_PPC_PPR): Likewise.
37104 (NT_PPC_DSCR): Likewise.
37105 (NT_PPC_EBB): Likewise.
37106 (NT_PPC_PMU): Likewise.
37107 (NT_PPC_TM_CGPR): Likewise.
37108 (NT_PPC_TM_CFPR): Likewise.
37109 (NT_PPC_TM_CVMX): Likewise.
37110 (NT_PPC_TM_CVSX): Likewise.
37111 (NT_PPC_TM_SPR): Likewise.
37112 (NT_PPC_TM_CTAR): Likewise.
37113 (NT_PPC_TM_CPPR): Likewise.
37114 (NT_PPC_TM_CDSCR): Likewise.
37116 2017-08-15 Florian Weimer <fweimer@redhat.com>
37118 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
37119 regparm (2) instead of internal_function.
37120 (_MCOUNT_DECL): Adjust.
37122 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
37124 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
37125 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
37127 2017-08-14 Joseph Myers <joseph@codesourcery.com>
37129 * conform/data/sys/wait.h-data (si_value): Do not expect for
37132 2017-08-14 Florian Weimer <fweimer@redhat.com>
37135 NSS: Create stubs for accidentally exported lookup functions.
37136 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
37137 Remove declaration.
37138 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
37139 (ether_hostton): Call __nss_ethers_lookup2 instead.
37140 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
37141 (ether_ntohost): Call __nss_ethers_lookup2 instead.
37142 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
37143 (setup): Call __nss_netgroup_lookup2 instead.
37144 * nss/Makefile (routines): Add compat-lookup.
37145 * nss/Versions (GLIBC_2.27): Add symbol version.
37146 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
37147 (DB_COMPAT_FCT): Remove.
37148 * nss/compat-lookup.c: New file.
37149 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
37150 from databases.def.
37151 * nss/service-lookup.c (NO_COMPAT): Remove definition.
37152 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
37153 (netname2user): Call __nss_publickey_lookup2 instead.
37154 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
37155 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
37158 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37159 Sergei Trofimovich <slyfox@inbox.ru>
37162 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
37163 Rename to MMAP2_PAGE_UNIT.
37164 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
37165 __OFF_T_MATCHES_OFF64_T is not defined.
37166 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
37168 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
37169 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
37171 2017-08-14 Florian Weimer <fweimer@redhat.com>
37173 i386: Do not set internal_function.
37174 * config.h.in (USE_REGPARMS, internal_function): Remove.
37175 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
37176 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
37178 2017-08-14 Florian Weimer <fweimer@redhat.com>
37180 * elf/dl-init.c (_dl_init): Remove internal_function.
37181 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
37182 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
37184 2017-08-14 Florian Weimer <fweimer@redhat.com>
37186 * elf/rtld.c (_dl_start): Remove internal_function.
37187 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
37190 2017-08-14 Florian Weimer <fweimer@redhat.com>
37192 * elf/dl-fini.c (_dl_fini): Remove internal_function
37193 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
37195 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
37197 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
37198 (bit_cpu_SHSTK): Likewise.
37199 (index_cpu_IBT): Likewise.
37200 (index_cpu_SHSTK): Likewise.
37201 (reg_IBT): Likewise.
37202 (reg_SHSTK): Likewise.
37203 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
37204 Handle index_cpu_IBT and index_cpu_SHSTK.
37206 2017-08-14 Mike FABIAN <mfabian@redhat.com>
37209 * po/fr.po: Fix spelling mistake.
37211 2017-08-13 Florian Weimer <fweimer@redhat.com>
37213 * elf/dl-addr.c (_dl_addr): Remove internal_function.
37214 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
37215 (_dl_catch_error, _dl_receive_error): Likewise.
37216 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
37217 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
37218 (_dl_deallocate_tls): Likewise.
37219 * include/dlfcn.h (_dl_addr): Likewise.
37220 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
37221 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
37222 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
37225 2017-08-13 Florian Weimer <fweimer@redhat.com>
37227 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
37228 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
37230 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
37232 2017-08-13 Florian Weimer <fweimer@redhat.com>
37234 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
37236 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
37237 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
37238 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
37239 internal_function from _dl_make_stack_executable_hook member.
37240 (_dl_make_stack_executable): Remove internal_function.
37241 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
37243 * sysdeps/unix/sysv/linux/dl-execstack.c
37244 (_dl_make_stack_executable): Likewise.
37246 2017-08-13 Florian Weimer <fweimer@redhat.com>
37248 * sysdeps/unix/sysv/linux/netlinkaccess.h
37249 (__netlink_assert_response): Remove internal_function.
37250 * sysdeps/unix/sysv/linux/netlink_assert_response.c
37251 (__netlink_assert_response): Likewise.
37253 2017-08-13 Florian Weimer <fweimer@redhat.com>
37255 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
37257 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
37259 2017-08-13 Florian Weimer <fweimer@redhat.com>
37261 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
37263 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
37264 * inet/netgroup.h (__internal_setnetgrent)
37265 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37266 * inet/getnetgrent_r.c (__internal_setnetgrent)
37267 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37268 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
37269 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
37270 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
37271 * nss/nsswitch.h (db_lookup_function): Likewise.
37273 2017-08-13 Florian Weimer <fweimer@redhat.com>
37275 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
37276 Remove internal_function.
37277 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
37278 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
37279 message argument on the stack.
37280 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
37283 2017-08-12 Mike FABIAN <mfabian@redhat.com>
37285 Adapt test case data to the changes in the thousands
37289 * localedata/tst-langinfo.sh: Adapt test case data.
37290 * stdlib/tst-strfmon_l.c: Likewise.
37291 * stdlib/tst-strtod4.c: Likewise.
37292 * stdlib/tst-strtod5i.c: Likewise.
37294 2017-08-11 Florian Weimer <fweimer@redhat.com>
37297 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
37298 Suppress pedantic warning resulting from statement expression.
37299 (__ASSERT_FUNCTION): Add missing __extension__.
37301 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
37303 * benchtests/bench-memmove-large.c: Print output in JSON
37305 * benchtests/bench-memmove.c: Likewise.
37307 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
37308 * benchtests/bench-memchr.c (do_one_test): Likewise.
37309 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
37310 * benchtests/bench-memcpy.c (do_one_test): Likewise.
37311 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
37312 * benchtests/bench-memmove.c (do_one_test): Likewise.
37313 * benchtests/bench-memset-large.c (do_one_test): Likewise.
37314 * benchtests/bench-memset.c (do_one_test): Likewise.
37315 * benchtests/bench-string.h (test_init): Remove memsets.
37317 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37320 (Computing the Width of an Integer Data Type): Rename section to
37321 "Width of an Integer Type". Remove inaccurate statement regarding
37322 lack of C language facilities for determining width of integer
37323 types, and reorder content to improve flow and context of
37326 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37328 * lang.texi (va_copy): Change standard from ISO to C99.
37329 (__va_copy): Add standard and header annotation.
37330 Update description for clarity of origins and current use.
37332 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37335 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
37336 xssqrtqp requires operands to be in Vector Registers
37337 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
37338 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
37339 (__ieee754_sqrtf128): Likewise.
37341 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
37343 * sysdeps/aarch64/memcmp.S (memcmp):
37344 Rewrite of optimized memcmp.
37346 2017-08-10 Florian Weimer <fweimer@redhat.com>
37348 Introduce ld.so exceptions.
37349 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
37350 (_dl_exception_create, _dl_exception_create_format)
37351 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
37352 (_dl_catch_exception): Declare.
37353 (_dl_catch_error): Update comment.
37354 * elf/dl-error-skeleton.c (struct catch): Replace objname,
37355 errstring, malloced members with exception member.
37356 (_dl_out_of_memory): Remove.
37357 (fatal_error): New function, extracted from _dl_signal_error.
37358 (_dl_signal_exception, _dl_signal_cexception): New functions.
37359 (_dl_signal_error): Call _dl_exception_create to allocate an
37361 (_dl_catch_exception): New function, based on _dl_catch_error.
37362 (_dl_catch_error): Implement using _dl_catch_exception.
37363 * elf/dl-exception.c: New file.
37364 * elf/Makefile (dl-routines): Add dl-exception.
37365 (elide-routines.os): Likewise.
37366 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
37367 _dl_exception_create_format, _dl_exception_free.
37368 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
37369 _dl_signal_exception.
37370 * elf/dl-lookup.c (make_string): Remove.
37371 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
37372 _dl_signal_cexception, _dl_exception_free.
37373 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
37374 _dl_signal_exception.
37375 * elf/dl-sym.c (do_sym): Likewise.
37376 * elf/dl-version.c (make_string): Remove.
37377 (match_symbol): Use _dl_exception_create_format,
37378 _dl_signal_cexception, _dl_exception_free.
37379 (_dl_check_map_versions): Likewise.
37380 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
37381 _dl_catch_exception.
37382 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
37383 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
37384 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
37385 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
37386 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
37387 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
37388 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
37389 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
37391 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
37392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
37394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
37396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
37398 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
37399 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
37400 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
37402 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
37404 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
37406 2017-08-10 Florian Weimer <fweimer@redhat.com>
37408 * inet/net-internal.h (__inet6_scopeid_pton): Remove
37409 attribute_hidden, internal_function.
37410 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
37413 2017-08-10 Florian Weimer <fweimer@redhat.com>
37415 * malloc/malloc.c (get_max_fast): Reimplement as an inline
37416 function which calls __builtin_unreachable.
37418 2017-08-10 Mike FABIAN <mfabian@redhat.com>
37420 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
37421 Indian monetary formatting
37422 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
37425 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
37427 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
37428 Fix typo in comment.
37431 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
37432 PTRACE_SEIZE_DEVEL): Remove.
37433 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
37434 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37435 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37436 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37437 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37439 2017-08-09 Joseph Myers <joseph@codesourcery.com>
37441 * posix/bits/types.h (__qaddr_t): Remove.
37444 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
37445 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37447 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
37448 (ucontext_t): Use __ctx with uc_flags.
37449 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
37450 (__ctxt): Likewise.
37451 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37453 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
37454 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37456 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
37457 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37459 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
37461 (ucontext_t): Use __ctx with uc_flags.
37462 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
37463 (ucontext_t): Use __ctx with uc_flags.
37464 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
37465 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
37466 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
37467 (ucontext_t): Use __ctx with uc_flags.
37468 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
37469 undefine further down.
37470 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37472 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
37473 undefine further down.
37474 (ucontext_t): Use __ctx with uc_flags.
37475 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
37476 undefine further down.
37477 (ucontext_t): Use __ctx with uc_flags.
37478 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
37479 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
37480 Rename uc_pad to __glibc_reserved1.
37481 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
37482 undefine further down.
37483 (ucontext_t): Use __ctx with uc_flags.
37484 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
37486 (ucontext_t): Use __ctx with uc_flags.
37487 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
37488 __ctx with uc_flags.
37489 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
37490 (ucontext_t): Use __ctx with uc_flags.
37491 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
37492 __ctx with uc_flags.
37494 2017-08-09 Florian Weimer <fweimer@redhat.com>
37497 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
37498 before early return.
37500 2017-08-09 Andreas Schwab <schwab@suse.de>
37503 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
37507 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
37508 tst-compat-forwarder.
37509 (modules-names): Add tst-compat-forwarder-mod.
37510 ($(objpfx)tst-compat-forwarder): Depend on
37511 $(objpfx)tst-compat-forwarder-mod.so.
37512 * nptl/tst-compat-forwarder.c: New file.
37513 * nptl/tst-compat-forwarder-mod.c: New file.
37515 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
37517 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
37520 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
37521 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
37523 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
37525 (__libc_ifunc_impl_list): Add __memcpy_falkor.
37526 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
37527 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
37528 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
37530 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
37533 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37536 * manual/setjmp.texi (getcontex): Document uc_stack value
37537 compatibility differences.
37539 2017-08-08 Joseph Myers <joseph@codesourcery.com>
37541 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
37542 (old_malloc_hook): Likewise.
37543 (old_memalign_hook): Likewise.
37544 (old_realloc_hook): Likewise.
37545 (struct hdr): Likewise.
37547 (freehook): Likewise.
37548 (mallochook): Likewise.
37549 (memalignhook): Likewise.
37550 (reallochook): Likewise.
37551 (mprobe): Likewise.
37552 * malloc/mtrace.c (mallwatch): Likewise.
37553 (tr_old_free_hook): Likewise.
37554 (tr_old_malloc_hook): Likewise.
37555 (tr_old_realloc_hook): Likewise.
37556 (tr_old_memalign_hook): Likewise.
37557 (tr_where): Likewise.
37558 (lock_and_info): Likewise.
37559 (tr_freehook): Likewise.
37560 (tr_mallochook): Likewise.
37561 (tr_reallochook): Likewise.
37562 (tr_memalignhook): Likewise.
37563 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
37564 * misc/mmap.c (__mmap): Likewise.
37565 * misc/mmap64.c (__mmap64): Likewise.
37566 * misc/mprotect.c (__mprotect): Likewise.
37567 * misc/msync.c (msync): Likewise.
37568 * misc/munmap.c (__munmap): Likewise.
37569 * posix/posix_madvise.c (posix_madvise): Likewise.
37570 * socket/send.c (__send): Likewise.
37571 * socket/sendto.c (__sendto): Likewise.
37572 * socket/setsockopt.c (__setsockopt): Likewise.
37573 * string/memcmp.c (__ptr_t): Remove macro.
37574 (MEMCMP): Use void * instead of ptr_t.
37575 * string/memrchr.c (__ptr_t): Remove macro.
37576 (__memrchr): Use void * instead of ptr_t.
37577 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
37578 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
37579 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
37580 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
37581 * sysdeps/mach/msync.c (msync): Likewise.
37582 * sysdeps/mach/munmap.c (__munmap): Likewise.
37583 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
37585 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37586 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
37587 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
37588 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
37589 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
37590 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37591 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
37592 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
37594 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37595 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
37596 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
37597 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
37598 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
37599 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
37600 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
37601 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
37602 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
37604 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
37605 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
37606 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
37607 (MEMCMP): Use void * instead of ptr_t.
37608 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
37609 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
37611 2017-08-08 Florian Weimer <fweimer@redhat.com>
37613 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
37616 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
37619 * csu/libc-tls.c: Include <startup.h> first.
37620 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
37621 * elf/dl-tunables.c: Include <startup.h> first.
37622 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
37623 * sysdeps/generic/startup.h: New file.
37624 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
37625 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
37626 (I386_USE_SYSENTER): New. Defined to 0.
37628 2017-08-08 Andreas Schwab <schwab@suse.de>
37631 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
37632 * nptl/pt-system.c (system): Likewise.
37634 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37637 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
37639 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
37640 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
37641 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
37642 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
37643 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
37644 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
37645 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
37647 2017-08-07 Joseph Myers <joseph@codesourcery.com>
37650 * bits/sigaction.h (struct sigaction): Define sa_handler and
37651 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
37652 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37653 [__USE_XOPEN_EXTENDED].
37654 (SA_RESTART): Likewise.
37655 (SA_NODEFER): Likewise.
37656 (SA_RESETHAND): Likewise.
37657 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
37658 (struct sigaction): Define sa_handler and sa_sigaction using union
37659 also for [__USE_XOPEN_EXTENDED].
37660 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37661 [__USE_XOPEN_EXTENDED].
37662 (SA_RESTART): Likewise.
37663 (SA_NODEFER): Likewise.
37664 (SA_RESETHAND): Likewise.
37665 * sysdeps/unix/sysv/linux/bits/sigaction.h
37666 (struct sigaction): Define sa_handler and sa_sigaction using union
37667 also for [__USE_XOPEN_EXTENDED].
37668 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37669 [__USE_XOPEN_EXTENDED].
37670 (SA_RESTART): Likewise.
37671 (SA_NODEFER): Likewise.
37672 (SA_RESETHAND): Likewise.
37673 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
37674 (struct sigaction): Define sa_handler and sa_sigaction using union
37675 also for [__USE_XOPEN_EXTENDED].
37676 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37677 [__USE_XOPEN_EXTENDED].
37678 (SA_RESTART): Likewise.
37679 (SA_NODEFER): Likewise.
37680 (SA_RESETHAND): Likewise.
37681 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
37682 (struct sigaction): Define sa_handler and sa_sigaction using union
37683 also for [__USE_XOPEN_EXTENDED].
37684 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37685 [__USE_XOPEN_EXTENDED].
37686 (SA_RESTART): Likewise.
37687 (SA_NODEFER): Likewise.
37688 (SA_RESETHAND): Likewise.
37689 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37690 (struct sigaction): Define sa_handler and sa_sigaction using union
37691 also for [__USE_XOPEN_EXTENDED].
37692 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37693 [__USE_XOPEN_EXTENDED].
37694 (SA_RESTART): Likewise.
37695 (SA_NODEFER): Likewise.
37696 (SA_RESETHAND): Likewise.
37697 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37698 (struct sigaction): Define sa_handler and sa_sigaction using union
37699 also for [__USE_XOPEN_EXTENDED].
37700 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37701 [__USE_XOPEN_EXTENDED].
37702 (SA_RESTART): Likewise.
37703 (SA_NODEFER): Likewise.
37704 (SA_RESETHAND): Likewise.
37705 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37706 (struct sigaction): Define sa_handler and sa_sigaction using union
37707 also for [__USE_XOPEN_EXTENDED].
37708 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37709 [__USE_XOPEN_EXTENDED].
37710 (SA_RESTART): Likewise.
37711 (SA_NODEFER): Likewise. Define directly rather than as alias.
37712 (SA_RESETHAND): Likewise.
37713 (SA_INTERRUPT): Define only for [__USE_MISC].
37714 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
37715 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
37717 (SA_STACK): Define only for [__USE_MISC].
37718 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
37719 (struct sigaction): Define sa_handler and sa_sigaction using union
37720 also for [__USE_XOPEN_EXTENDED].
37721 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37722 [__USE_XOPEN_EXTENDED].
37723 (SA_RESTART): Likewise.
37724 (SA_NODEFER): Likewise.
37725 (SA_RESETHAND): Likewise.
37726 (SA_NOPTRACE): Define only for [__USE_MISC].
37728 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
37729 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
37730 (struct catalog_info): Likewise.
37731 * inet/htontest.c (lo): Likewise.
37733 * inet/inet_lnaof.c (inet_lnaof): Likewise.
37734 * inet/inet_net.c (inet_network): Likewise.
37735 * inet/inet_netof.c (inet_netof): Likewise.
37736 * inet/rcmd.c (__ivaliduser): Likewise.
37737 (iruserok): Likewise.
37738 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
37739 * locale/programs/locale-spec.c (locale_special): Likewise.
37740 * nis/nis_findserv.c (struct findserv_req): Likewise.
37741 (__nis_findfastest_with_timeout): Likewise.
37742 * nss/test-netdb.c (test_network): Likewise.
37743 * resolv/inet_neta.c (inet_neta): Likewise.
37744 * resolv/ns_date.c (ns_datetosecs): Likewise.
37745 (SECS_PER_DAY): Likewise.
37746 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
37748 * resolv/res_comp.c (__putlong): Likewise.
37749 (__putshort): Likewise.
37750 (_getlong): Likewise.
37751 (_getshort): Likewise.
37752 * resolv/res_debug.c (p_time): Likewise.
37753 (precsize_ntoa): Likewise.
37754 (precsize_aton): Likewise.
37755 (latlon2ul): Likewise.
37756 (loc_aton): Likewise.
37757 (loc_ntoa): Likewise.
37758 * resolv/res_hconf.c (struct netaddr): Likewise.
37759 (_res_hconf_reorder_addrs): Likewise.
37760 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
37761 (clnttcp_control): Likewise.
37762 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37763 (clntudp_control): Likewise.
37764 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
37765 (clntunix_control): Likewise.
37766 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
37767 * sunrpc/rpc/auth.h (union des_block): Likewise.
37768 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
37769 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
37770 (xdrrec_create): Likewise.
37771 (xdrrec_endofrecord): Likewise.
37772 (flush_out): Likewise.
37773 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
37774 (xdrstdio_putlong): Likewise.
37775 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
37778 * misc/sys/cdefs.h (__long_double_t): Remove.
37779 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
37780 instead of __long_double_t,
37781 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
37783 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
37785 * benchtests/scripts/compare_strings.py: Avoid display error when
37786 running on a text terminal.
37788 * benchtests/scripts/compare_strings.py (main): Add an
37789 optional -base option.
37790 (process_results): New argument base_func.
37792 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
37794 * benchtests/bench-memcpy-large.c (test_name): Likewise.
37795 * benchtests/bench-memcpy-random.c (test_name): Likewise.
37797 2017-08-07 Andreas Schwab <schwab@suse.de>
37799 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
37800 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37801 * intl/Makefile ($(objpfx)tst-gettext.out)
37802 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
37803 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
37804 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37805 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37806 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
37807 * posix/Makefile ($(objpfx)globtest.out)
37808 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
37809 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
37810 ($(objpfx)tst-printf.out): Likewise.
37811 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
37812 ($(objpfx)tst-setcontext3.out): Likewise.
37814 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
37816 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37817 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
37818 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
37819 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
37820 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
37822 (CFLAGS-doasin-fma.c): New.
37823 (CFLAGS-dosincos-fma.c): Likewise.
37824 (CFLAGS-e_asin-fma.c): Likewise.
37825 (CFLAGS-e_atan2-fma.c): Likewise.
37826 (CFLAGS-e_exp-fma.c): Likewise.
37827 (CFLAGS-e_log-fma.c): Likewise.
37828 (CFLAGS-e_pow-fma.c): Likewise.
37829 (CFLAGS-halfulp-fma.c): Likewise.
37830 (CFLAGS-mpa-fma.c): Likewise.
37831 (CFLAGS-mpatan-fma.c): Likewise.
37832 (CFLAGS-mpatan2-fma.c): Likewise.
37833 (CFLAGS-mpexp-fma.c): Likewise.
37834 (CFLAGS-mplog-fma.c): Likewise.
37835 (CFLAGS-mpsqrt-fma.c): Likewise.
37836 (CFLAGS-mptan-fma.c): Likewise.
37837 (CFLAGS-s_atan-fma.c): Likewise.
37838 (CFLAGS-sincos32-fma.c): Likewise.
37839 (CFLAGS-slowexp-fma.c): Likewise.
37840 (CFLAGS-slowpow-fma.c): Likewise.
37841 (CFLAGS-s_sin-fma.c): Likewise.
37842 (CFLAGS-s_tan-fma.c): Likewise.
37843 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
37844 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
37845 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
37846 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
37847 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
37848 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
37849 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
37850 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
37851 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
37852 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
37853 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
37854 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
37855 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
37856 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
37857 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
37858 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
37859 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
37860 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
37861 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
37862 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
37863 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
37864 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
37865 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
37866 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
37867 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37868 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37869 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37870 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
37871 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37872 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37873 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37875 2017-08-04 Joseph Myers <joseph@codesourcery.com>
37877 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
37878 (min_of_type_f): New macro.
37879 (min_of_type_): Likewise.
37880 (min_of_type_l): Likewise.
37881 (min_of_type_f128): Likewise.
37882 (min_of_type): Define using __MATH_TG and taking an expression
37884 (math_check_force_underflow): Pass expression instead of type to
37886 (math_check_force_underflow_nonneg): Likewise.
37888 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37890 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
37891 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
37892 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
37894 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37896 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37897 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
37898 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
37899 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
37900 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
37901 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
37902 memcpy_chk-nonshared, mempcpy_chk-nonshared,
37903 memmove_chk-nonshared and memset_chk-nonshared
37904 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
37905 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
37906 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
37907 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
37908 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
37909 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
37910 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
37911 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
37912 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
37913 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
37914 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
37915 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
37916 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
37917 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
37918 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
37919 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
37920 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
37921 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
37922 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
37923 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
37924 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
37925 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
37926 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
37927 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
37928 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
37929 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
37930 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
37931 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
37932 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
37933 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
37934 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
37935 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
37936 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
37937 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37938 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37939 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
37940 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
37941 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
37942 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
37943 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
37944 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
37945 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
37946 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
37947 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
37948 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
37949 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
37950 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
37951 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
37952 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
37953 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
37954 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
37955 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
37956 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
37957 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
37958 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
37959 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
37960 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
37961 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
37962 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
37963 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
37964 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
37965 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
37966 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
37967 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
37968 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
37969 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
37970 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
37971 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
37972 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
37973 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
37974 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
37975 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37976 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37977 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37978 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37979 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37980 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37981 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37982 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37983 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37984 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37985 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37986 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37987 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37988 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37989 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37990 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37991 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37992 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37993 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37994 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37995 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37996 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37997 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37998 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37999 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38000 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38001 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38002 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38003 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38004 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38005 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38006 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38007 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38008 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38009 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38010 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38011 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38013 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38015 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
38016 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
38017 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
38018 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
38019 svml_d_log2_core-sse2, svml_d_log4_core-sse,
38020 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
38021 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
38022 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
38023 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
38024 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
38025 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
38026 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
38027 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
38028 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
38029 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
38030 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
38031 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
38032 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
38033 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
38034 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
38035 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
38036 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
38037 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
38038 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
38039 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
38040 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
38041 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
38042 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
38043 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
38044 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
38045 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
38046 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
38047 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
38048 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
38049 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
38050 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
38051 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
38052 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
38053 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
38054 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
38055 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
38056 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
38057 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
38058 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
38059 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
38060 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
38061 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
38062 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
38063 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
38064 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
38065 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
38066 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
38067 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
38068 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
38069 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
38070 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
38071 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
38072 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
38073 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
38075 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
38076 Don't include <sysdep.h> nor <init-arch.h>.
38077 (_ZGVbN2v_cos): Removed.
38078 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
38080 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
38081 Don't include <sysdep.h> nor <init-arch.h>.
38082 (_ZGVdN4v_cos): Removed.
38083 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
38085 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
38086 Don't include <sysdep.h> nor <init-arch.h>.
38087 (_ZGVeN8v_cos): Removed.
38088 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
38090 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
38091 Don't include <sysdep.h> nor <init-arch.h>.
38092 (_ZGVbN2v_exp): Removed.
38093 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
38095 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
38096 Don't include <sysdep.h> nor <init-arch.h>.
38097 (_ZGVdN4v_exp): Removed.
38098 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
38100 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
38101 Don't include <sysdep.h> nor <init-arch.h>.
38102 (_ZGVeN8v_exp): Removed.
38103 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
38105 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
38106 Don't include <sysdep.h> nor <init-arch.h>.
38107 (_ZGVbN2v_log): Removed.
38108 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
38110 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
38111 Don't include <sysdep.h> nor <init-arch.h>.
38112 (_ZGVdN4v_log): Removed.
38113 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
38115 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
38116 Don't include <sysdep.h> nor <init-arch.h>.
38117 (_ZGVeN8v_log): Removed.
38118 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
38120 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
38121 Don't include <sysdep.h> nor <init-arch.h>.
38122 (_ZGVbN2vv_pow): Removed.
38123 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
38125 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
38126 Don't include <sysdep.h> nor <init-arch.h>.
38127 (_ZGVdN4vv_pow): Removed.
38128 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
38130 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
38131 Don't include <sysdep.h> nor <init-arch.h>.
38132 (_ZGVeN8vv_pow): Removed.
38133 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
38135 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
38136 Don't include <sysdep.h> nor <init-arch.h>.
38137 (_ZGVbN2v_sin): Removed.
38138 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
38140 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
38141 Don't include <sysdep.h> nor <init-arch.h>.
38142 (_ZGVbN4v_sin): Removed.
38143 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
38145 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
38146 Don't include <sysdep.h> nor <init-arch.h>.
38147 (_ZGVbN8v_sin): Removed.
38148 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
38150 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
38151 Don't include <sysdep.h> nor <init-arch.h>.
38152 (_ZGVbN2vvv_sincos): Removed.
38153 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
38155 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
38156 Don't include <sysdep.h> nor <init-arch.h>.
38157 (_ZGVdN4vvv_sincos): Removed.
38158 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
38160 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
38161 Don't include <sysdep.h> nor <init-arch.h>.
38162 (_ZGVeN8vvv_sincos): Removed.
38163 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
38165 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
38166 Don't include <sysdep.h> nor <init-arch.h>.
38167 (_ZGVeN16v_cosf): Removed.
38168 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
38170 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
38171 Don't include <sysdep.h> nor <init-arch.h>.
38172 (_ZGVbN4v_cosf): Removed.
38173 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
38175 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
38176 Don't include <sysdep.h> nor <init-arch.h>.
38177 (_ZGVdN8v_cosf): Removed.
38178 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
38180 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
38181 Don't include <sysdep.h> nor <init-arch.h>.
38182 (_ZGVeN16v_expf): Removed.
38183 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
38185 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
38186 Don't include <sysdep.h> nor <init-arch.h>.
38187 (_ZGVbN4v_expf): Removed.
38188 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
38190 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
38191 Don't include <sysdep.h> nor <init-arch.h>.
38192 (_ZGVdN8v_expf): Removed.
38193 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
38195 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
38196 Don't include <sysdep.h> nor <init-arch.h>.
38197 (_ZGVeN16v_logf): Removed.
38198 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
38200 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
38201 Don't include <sysdep.h> nor <init-arch.h>.
38202 (_ZGVbN4v_logf): Removed.
38203 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
38205 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
38206 Don't include <sysdep.h> nor <init-arch.h>.
38207 (_ZGVdN8v_logf): Removed.
38208 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
38210 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
38211 Don't include <sysdep.h> nor <init-arch.h>.
38212 (_ZGVeN16vv_powf): Removed.
38213 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
38215 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
38216 Don't include <sysdep.h> nor <init-arch.h>.
38217 (_ZGVbN4vv_powf): Removed.
38218 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
38220 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
38221 Don't include <sysdep.h> nor <init-arch.h>.
38222 (_ZGVdN8vv_powf): Removed.
38223 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
38225 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
38226 Don't include <sysdep.h> nor <init-arch.h>.
38227 (_ZGVeN16vvv_sincosf): Removed.
38228 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
38230 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
38231 Don't include <sysdep.h> nor <init-arch.h>.
38232 (_ZGVbN4vvv_sincosf): Removed.
38233 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
38235 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
38236 Don't include <sysdep.h> nor <init-arch.h>.
38237 (_ZGVdN8vvv_sincosf): Removed.
38238 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
38240 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
38241 Don't include <sysdep.h> nor <init-arch.h>.
38242 (_ZGVeN16v_sinf): Removed.
38243 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
38245 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
38246 Don't include <sysdep.h> nor <init-arch.h>.
38247 (_ZGVbN4v_sinf): Removed.
38248 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
38250 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
38251 Don't include <sysdep.h> nor <init-arch.h>.
38252 (_ZGVdN8v_sinf): Removed.
38254 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38256 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38257 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
38258 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
38259 s_rint-sse4_1 and s_rintf-sse4_1.
38260 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
38261 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
38262 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
38263 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
38264 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
38265 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
38266 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
38267 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
38268 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
38269 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
38270 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
38271 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38273 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
38274 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
38275 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38276 (__ceilf): Removed.
38277 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
38278 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
38279 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38280 (__floor): Removed.
38281 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
38282 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
38283 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38284 (__floorf): Removed.
38285 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
38286 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
38287 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38288 (__nearbyint): Removed.
38289 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
38290 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
38291 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38292 (__nearbyintf): Removed.
38293 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
38294 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
38295 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38297 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
38298 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
38299 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38300 (__rintf): Removed.
38302 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38304 * sysdeps/i386/start.S (_start): Check Check PIC instead of
38305 SHARED. Avoid dynamic relocation against main in static PIE.
38307 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38310 * elf/Makefile (CFLAGS-tst-prelink.c): New.
38311 (LDFLAGS-tst-prelink): Likewise.
38313 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38315 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
38316 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
38317 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
38318 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
38319 (INTERNAL_SYSCALL_NCS): Likewise.
38320 (LOADARGS_1): Likewise.
38321 (LOADARGS_5): Likewise.
38322 (RESTOREARGS_1): Likewise.
38323 (RESTOREARGS_5): Likewise.
38325 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38327 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
38328 (MEMPCPY_SYMBOL): Likewise.
38329 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38330 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
38331 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
38333 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38334 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
38336 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
38337 (__hidden_ver1): Don't use in libc.a.
38338 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
38339 (__mempcpy): Don't create a weak alias in libc.a.
38340 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
38342 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
38343 (__hidden_ver1): Don't use in libc.a.
38345 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38347 * config.make.in (have-insert): New.
38348 * configure.ac (libc_cv_insert): New. Set to yes if linker
38349 supports INSERT in linker script.
38350 (AC_SUBST(libc_cv_insert): New.
38351 * configure: Regenerated.
38352 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
38353 if $(have-insert) == yes.
38355 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38357 * elf/Makefile (tests): Add vismain only if
38358 $(have-protected-data) == yes.
38359 (tests-pie): Likewise.
38361 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38364 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
38365 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
38367 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38370 * sysdeps/i386/i586/memset.S
38371 (__memset_zero_constant_len_parameter): Removed.
38372 * sysdeps/i386/i686/memset.S
38373 (__memset_zero_constant_len_parameter): Likewise.
38374 * sysdeps/i386/i686/multiarch/memset_chk.S
38375 (__memset_zero_constant_len_parameter): Likewise.
38376 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
38379 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38381 * stdlib/getentropy.c (getentropy): Change return type to int.
38383 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38385 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
38387 2017-08-03 Joseph Myers <joseph@codesourcery.com>
38389 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
38391 * math/s_nexttowardf.c (__nexttowardf): Likewise.
38392 * sysdeps/generic/math_private.h (ieee_double_shape_type):
38394 (ieee_float_shape_type): Likewise.
38395 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
38396 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
38397 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38398 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38399 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
38400 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
38401 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
38402 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38403 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
38405 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38406 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
38407 (__ieee754_yn): Likewise.
38408 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38409 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38410 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
38412 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38413 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
38414 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
38415 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
38416 (__erfc): Likewise.
38417 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
38418 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
38419 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
38420 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
38421 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
38422 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
38424 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
38425 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
38426 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
38427 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
38428 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38429 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
38430 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
38431 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
38432 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
38433 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
38434 (__issignaling): Likewise.
38435 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
38436 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
38437 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
38439 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38440 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
38441 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
38442 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
38444 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
38446 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
38447 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
38448 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
38449 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
38450 (__erfcf): Likewise.
38451 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
38452 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
38453 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
38454 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
38456 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
38457 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
38459 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
38460 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
38461 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
38462 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
38463 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
38464 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38465 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
38466 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
38468 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
38470 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
38472 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
38473 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
38475 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38477 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
38478 (__ieee754_ynl): Likewise.
38479 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
38480 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
38482 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
38484 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
38485 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
38486 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38488 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
38489 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
38490 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
38491 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
38492 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
38493 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
38494 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
38495 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
38497 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
38498 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
38499 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
38501 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
38502 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
38503 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
38504 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
38505 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
38506 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38508 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38510 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38512 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38514 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
38515 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38516 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38517 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
38518 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
38519 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
38520 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
38522 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38524 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38525 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38527 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
38528 (__ieee754_remainderl): Likewise.
38529 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38530 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38531 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38532 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38534 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38535 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38537 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38538 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
38539 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
38540 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
38541 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38542 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38544 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
38545 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
38546 (__ieee754_y0l): Likewise.
38549 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38550 (__ieee754_y1l): Likewise.
38553 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
38554 (__ieee754_ynl): Likewise.
38555 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
38556 (__ieee754_lgammal_r): Likewise.
38557 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
38559 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
38560 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
38561 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
38562 (__erfcl): Likewise.
38563 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
38564 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
38566 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
38567 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
38568 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
38569 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
38570 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
38571 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38572 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38574 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
38575 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38576 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
38577 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
38578 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38580 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
38581 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
38583 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
38584 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
38585 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
38586 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38587 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
38589 2017-08-03 Florian Weimer <fweimer@redhat.com>
38592 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
38593 on memory allocation failure.
38595 2017-08-03 Alan Modra <amodra@gmail.com>
38597 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
38598 tst-tlsopt-powerpc.c with function name change and no test harness.
38599 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
38600 Call tls_get_addr_opt_test.
38601 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
38602 (modules-names): Add mod-tlsopt-powerpc.
38603 (mod-tlsopt-powerpc.so-no-z-defs): Define.
38604 (tst-tlsopt-powerpc): Depend on .so.
38605 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
38606 define. Expand use in TLS_GD and TLS_LD.
38608 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38610 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
38612 * sysdeps/posix/shm_open.c: Include <pthread.h>.
38614 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38617 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
38618 comparing size with that of double.
38619 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38620 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38621 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38622 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38623 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38624 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
38625 unsigned __int128 types.
38627 2017-08-02 Steve Ellcey <sellcey@cavium.com>
38629 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
38630 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
38631 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
38632 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
38633 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
38635 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38637 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
38639 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38641 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
38643 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38644 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38645 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38646 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38647 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38648 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38649 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38651 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38654 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
38655 bit-field expressions passed to sizeof or typeof.
38656 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38657 (__TGMATH_F128): Likewise.
38658 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38659 (__TGMATH_CF128): Likewise.
38660 (__TGMATH_UNARY_REAL_ONLY): Likewise.
38661 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
38662 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
38663 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
38664 (__TGMATH_BINARY_REAL_ONLY): Likewise.
38665 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38666 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38667 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38668 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38669 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
38670 (__TGMATH_UNARY_REAL_IMAG): Likewise.
38671 (__TGMATH_UNARY_IMAG): Likewise.
38672 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
38673 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38674 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
38676 (define_vars_for_type): Handle bit_field type specially.
38677 (Tests.__init__): Declare structure with bit-field element.
38679 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38682 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
38683 (MEMCPY_CHK): Define only if SHARED is defined.
38684 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
38686 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
38689 See ChangeLog.18 for earlier changes.