1 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
3 * sysdeps/powerpc/fpu/fenv_private.h
4 (libc_feholdsetround_noex_ppc_ctx): Call fesetenv_mode instead
7 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
9 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status): Rename to
11 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Accommodate
12 rename of fegetenv_status to fegetenv_control.
13 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
15 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Likewise.
16 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
19 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
21 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline): Use
22 'mffscrn' instruction on POWER9.
23 (__fesetround_inline_nocheck): Likewise.
25 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
27 * sysdeps/powerpc/fpu/fenv_libc.h (FPSCR_EXCEPTIONS_MASK): New.
28 * sysdeps/powerpc/fpu/fenv_private.h (__libc_femergeenv_ppc): Optimize
29 to write FPSCR control only, if exceptions have not changed.
31 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
33 * sysdeps/powerpc/fpu/fenv_libc.h:
34 (__TEST_AND_ENTER_NON_STOP): New.
35 (__TEST_AND_EXIT_NON_STOP): New.
36 * sysdeps/powerpc/fpu/fenv_private.h
37 (_FPU_ALL_TRAPS): Delete, replace with FPSCR_ENABLES_MASK.
38 (_FPU_MASK_RN): Delete.
39 (_FPU_MASK_NOT_RN_NI): Delete.
40 (_FPU_MASK_TRAPS_RN): Delete, replace with ~FPSCR_CONTROL_MASK.
41 (_FPU_MASK_FRAC_INEX_RET_CC): Delete, replace with ~FPSCR_STATUS_MASK.
42 (__libc_feholdbits_ppc): Delete, move code into
43 libc_feholdexcept_setround_ppc.
44 (libc_feholdexcept_ppc): Delete.
45 (libc_fesetround_ppc): Delete.
46 (libc_fetestexcept_ppc): Delete.
47 (libc_feholdsetround_ppc): Delete.
48 (__libc_femergeenv_ppc): Use __TEST_AND_ENTER/EXIT_NON_STOP.
49 (libc_feholdsetround_noex_ppc_ctx): Likewise.
50 (libc_feupdateenv_test_ppc): Use FPSCR defines.
51 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
52 __TEST_AND_ENTER_NON_STOP.
53 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
54 * sysdeps/powerpc/fpu/feholdexcpt.c (__feholdexcept): Likewise.
55 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
56 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
57 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
58 (_FPU_MASK_ALL): Delete.
60 2019-09-27 Joseph Myers <joseph@codesourcery.com>
62 * sysdeps/gnu/netinet/tcp.h (TCP_TX_DELAY): New macro.
64 2019-09-26 Lukasz Majewski <lukma@denx.de>
66 * include/time.h: Add struct __timespec64 definition
68 2019-09-26 Siddhesh Poyarekar <siddhesh@gotplt.org>
70 * scripts/vcs_to_changelog/misc_util.py (decode): Remove latin1
73 2019-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
75 * rt/Makefile (CFLAGS-clock_nanosleep.c): Move to ...
76 * time/Makefile (CFLAGS-clock_nanosleep.c): ... here.
78 * sysdeps/unix/sysv/linux/Makefile
79 (CFLAGS-tst-sigcontextinfo-get_pc.c): Rename to
80 CFLAGS-tst-sigcontext-get_pc.c.
82 2019-09-24 Alistair Francis <alistair.francis@wdc.com>
84 * inet/net-internal.h: Fix uninitalised clntudp_call() variable.
86 2019-09-24 Andreas Schwab <schwab@suse.de>
88 * sysdeps/unix/sysv/linux/arm/sysdep.h
89 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
90 not "__vdso_gettimeofday".
91 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
92 "__vdso_clock_gettime".
93 * sysdeps/unix/sysv/linux/mips/sysdep.h
94 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
95 not "__vdso_gettimeofday".
96 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
97 "__vdso_clock_gettime".
99 2019-09-19 Paul A. Clarke <pc@us.ibm.com>
101 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_and_set_rn): New.
103 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
104 Do not clear enable bits, remove obsolete code, use
106 (libc_feresetround_ppc): Remove obsolete code, use
109 2019-09-19 Stefan Liebler <stli@linux.ibm.com>
111 * support/support_ptrace.c: Remove inclusion of sys/prctl.h.
113 2019-09-19 Stefan Liebler <stli@linux.ibm.com>
115 * sysdeps/s390/hp-timing.h (_HP_TIMING_H): Undefine.
116 (_HP_TIMING_S390_H): Define.
118 2019-09-18 Joseph Myers <joseph@codesourcery.com>
120 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
122 (clone3): New syscall.
123 (pidfd_open): Likewise.
125 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
128 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
130 * sysdeps/s390/hp-timing.h: New file.
132 2019-09-18 Joseph Myers <joseph@codesourcery.com>
134 * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include
136 (CLONE_VM): New macro.
137 (CLONE_VFORK): Likewise.
139 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
141 * elf/tst-pldd.c (do_test): Add UNSUPPORTED check.
142 Rearrange subprocesses.
143 (pldd_process): New function.
144 * support/Makefile (libsupport-routines): Add support_ptrace.
145 * support/xptrace.h: New file.
146 * support/support_ptrace.c: Likewise.
148 2019-09-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
150 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Remove file.
152 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
153 (INTERNAL_VSYSCALL_CALL): Remove.
154 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
155 (INTERNAL_VSYSCALL_CALL): Likewise.
156 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
157 (INTERNAL_VSYSCALL_CALL): Likewise.
158 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_VSYSCALL_CALL):
161 * sysdeps/unix/sysv/linux/libc-vdso.h (VDSO_IFUNC_RET): Define if not
163 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
164 (__get_timebase_freq): Remove use of
165 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK.
166 (get_timebase_freq_fallback): New symbol.
167 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (time): Use
168 HAVE_GETTIMEOFDAY_VSYSCALL.
169 * sysdeps/unix/sysv/linux/powerpc/time.c (gettimeofday): Use
171 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Include generic
173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
174 (INTERNAL_VSYSCALL_CALL_TYPE): Make calling convention similar to
176 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove macro.
177 * .../sysv/linux/powerpc/powerpc64/sysdep.h
178 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Likewise.
179 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
180 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
182 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address,
183 is_sigtramp_address_rt): Use HAVE_SIGTRAMP_{RT}32 instead of SHARED.
184 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address):
186 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove file.
187 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Likewise.
188 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
189 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Likewise.
190 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
191 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Likewise.
192 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
193 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
194 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
195 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
196 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
197 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
198 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
199 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Likewise.
200 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
201 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
202 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
203 HAVE_GETTIMEOFDAY_VSYSCALL): Define value based on kernel exported
205 * sysdeps/unix/sysv/linux/arm/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
206 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
207 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
208 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
209 * sysdeps/unix/sysv/linux/mips/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
210 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
211 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
212 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
213 HAVE_GETCPU_VSYSCALL, HAVE_TIME_VSYSCALL, HAVE_GET_TBFREQ,
214 HAVE_SIGTRAMP_RT64, HAVE_SIGTRAMP_32, HAVE_SIGTRAMP_RT32i,
215 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
216 * sysdeps/unix/sysv/linux/riscv/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
217 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
218 HAVE_GETCPU_VSYSCALL): Likewise.
219 * sysdeps/unix/sysv/linux/s390/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
220 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
221 HAVE_GETCPU_VSYSCALL): Likewise.
222 * sysdeps/unix/sysv/linux/sparc/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
223 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
224 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
225 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
226 HAVE_GETCPU_VSYSCALL): Likewise.
227 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME, VDSO_HASH): Define to
228 invalid names if architecture does not define them.
229 (get_vdso_mangle_symbol): New symbol.
230 * sysdeps/unix/sysv/linux/init-first.c: New file.
231 * sysdeps/unix/sysv/linux/libc-vdso.h: Likewise.
232 * sysdeps/unix/sysv/linux/powerpc/init-first.c (gettimeofday,
233 clock_gettime, clock_getres, getcpu, time): Remove declaration.
234 (__libc_vdso_platform_setup_arch): Likewise and use
235 get_vdso_mangle_symbol to setup vDSO symbols.
236 (sigtramp_rt64, sigtramp32, sigtramp_rt32, get_tbfreq): Add
238 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Likewise.
239 * sysdeps/unix/sysv/linux/sysdep-vdso.h (VDSO_SYMBOL): Remove
242 * sysdeps/unix/make-syscalls.sh: Make vDSO call use get_vdso_symbol.
243 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (__gettimeofday):
244 Use get_vdso_symbol instead of _dl_vdso_vsym.
245 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
246 * sysdeps/unix/sysv/linux/riscv/flush-icache.c
247 (__lookup_riscv_flush_icache): Likewise.
248 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
250 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
251 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
252 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
253 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
254 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
255 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
256 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
257 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
258 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
259 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
260 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
261 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (VDSO_NAME, VDSO_HASH):
263 * sysdeps/unix/sysv/linux/arm/sysdep.h (VDSO_NAME, VDSO_HASH):
265 * sysdeps/unix/sysv/linux/i386/sysdep.h (VDSO_NAME, VDSO_HASH):
267 * sysdeps/unix/sysv/linux/riscv/sysdep.h (VDSO_NAME, VDSO_HASH):
269 * sysdeps/unix/sysv/linux/sparc/sysdep.h (VDSO_NAME, VDSO_HASH):
271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (VDSO_NAME, VDSO_HASH):
273 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
274 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Remove
276 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
277 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
278 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
279 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
281 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
283 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
284 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
285 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
286 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
287 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
288 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
289 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
290 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
291 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
292 * sysdeps/unix/sysv/linux/s390/sysdep.h: Likewise.
293 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION,
294 PREPARE_VERSION_KNOWN, VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6,
295 VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15,
296 VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29,
297 VDSO_NAME_LINUX_4_15, VDSO_HASH_LINUX_4_15): Remove defines.
298 (get_vdso_symbol): New function.
300 2019-09-17 Chung-Lin Tang <cltang@codesourcery.com>
302 * sysdeps/generic/hp-timing-common.h (HP_TIMING_PRINT): Correct
303 position of string null termination.
305 2019-09-14 Aurelien Jarno <aurelien@aurel32.net>
308 * sysdeps/unix/alpha/getegid.S: Move to ...
309 * sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
310 * sysdeps/unix/alpha/geteuid.S: Move to ...
311 * sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
312 * sysdeps/unix/alpha/getppid.S: Move to ...
313 * sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
315 2019-09-09 Paul Eggert <eggert@cs.ucla.edu>
317 Fix http: URL in 'configure'
318 * configure.ac: Add URL to AC_INIT so that it generates an
319 https: URL instead of an http: URL.
320 * configure: Regenerate.
322 Regenerate charmap-kw.h, locfile-kw.h
323 This propagates the recent http->https URL changes.
324 Since I used gperf 3.1 to regenerate, this is also a minor
325 internal-to-localedef API change.
326 URL problem reported by Joseph Myers in:
327 https://www.sourceware.org/ml/libc-alpha/2019-09/msg00143.html
328 * locale/programs/charmap-kw.h, locale/programs/locfile-kw.h:
329 Regenerate with gperf 3.1.
330 * locale/programs/linereader.h (kw_hash_fct_t):
331 * locale/programs/repertoire.c (repertoiremap_hash):
332 2nd arg is now size_t not unsigned, for compatibility with gperf 3.1.
334 2019-09-05 Florian Weimer <fweimer@redhat.com>
337 * locale/localeinfo.h (_nl_category_names): Remove union wrapper.
338 (_nl_category_names_get): New function.
339 * intl/dcigettext.c (category_to_name): Call it.
340 * locale/findlocale.c (_nl_find_locale): Likewise.
341 * intl/loadlocale.c (_nl_load_locale): Likewise.
342 * locale/newlocale.c (__newlocale): Likewise.
343 * locale/setlocale.c (_nl_category_names): Adjust definition.
344 (_nl_category_name_idxs): Likewise.
345 (new_composite_name): Call _nl_category_names_get.
346 (setlocale): Likewise.
348 2019-09-05 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
350 * math/bits/mathcalls.h (totalorder, totalordermag): Replace
351 const attribute with pure attribute.
353 2019-09-04 Lukasz Majewski <lukma@denx.de>
355 * sysdeps/unix/sysv/linux/kernel-features.h
356 (__ASSUME_TIME64_SYSCALLS): New macro.
358 2019-09-04 Zack Weinberg <zackw@panix.com>
361 * rt/clock_getcpuclockid.c: Move to time/clock_getcpuclockid.c.
362 * rt/clock_getres.c: Move to time/clock_getres.c.
363 * rt/clock_gettime.c: Move to time/clock_gettime.c.
364 * rt/clock_nanosleep.c: Move to time/clock_nanosleep.c.
365 * rt/clock_settime.c: Move to time/clock_settime.c.
366 * rt/tst-clock.c: Move to time/tst-clock.c.
367 * rt/tst-clock2.c: Move to time/tst-clock2.c.
368 * rt/tst-clock_nanosleep.c: Move to time/tst-clock_nanosleep.c.
369 * rt/tst-cpuclock1.c: Move to time/tst-cpuclock1.c.
370 * rt/clock-compat.c: Delete file.
372 * time/clock_getcpuclockid.c
373 * time/clock_getres.c
374 * time/clock_gettime.c
375 * time/clock_nanosleep.c
376 * time/clock_settime.c
377 * sysdeps/posix/clock_getres.c
378 * sysdeps/unix/clock_gettime.c
379 * sysdeps/unix/clock_nanosleep.c
380 * sysdeps/unix/clock_settime.c
381 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
382 * sysdeps/unix/sysv/linux/clock_getres.c
383 * sysdeps/unix/sysv/linux/clock_gettime.c
384 * sysdeps/unix/sysv/linux/clock_nanosleep.c
385 * sysdeps/unix/sysv/linux/clock_settime.c: Define the function
386 defined by this file with default symbol version GLIBC_2_17,
387 and optionally a compatibility alias at symbol version GLIBC_2_2.
388 * include/time.h: Remove internal prototypes for clock_getres,
389 clock_nanosleep, and clock_getcpuclockid.
391 * sysdeps/unix/sysv/linux/clock_gettime.c: Prune includes.
392 Remove unused function realtime_gettime.
394 * rt/Makefile (clock-routines, routines): Remove variable.
395 (librt-routines): Remove clock-compat.
396 (tests): Remove tst-clock, tst-clock2, tst-clock_nanosleep,
398 * time/Makefile (routines): Add clock_getres, clock_gettime,
399 clock_settime, clock_getcpuclockid, and clock_nanosleep.
400 (tests): Add tst-clock, tst-clock2, tst-clock_nanosleep,
403 * rt/Versions (libc): Remove entire stanza.
404 (librt GLIBC_2.2): Remove all clock_* functions.
405 * time/Versions (libc GLIBC_2.2, libc GLIBC_2.17):
406 Add clock_getres, clock_gettime, clock_settime,
407 clock_getcpuclockid, and clock_nanosleep.
408 (libc GLIBC_PRIVATE): Add __clock_gettime.
410 * sysdeps/mach/hurd/i386/librt.abilist
411 * sysdeps/unix/sysv/linux/alpha/librt.abilist
412 * sysdeps/unix/sysv/linux/arm/be/librt.abilist
413 * sysdeps/unix/sysv/linux/arm/le/librt.abilist
414 * sysdeps/unix/sysv/linux/hppa/librt.abilist
415 * sysdeps/unix/sysv/linux/i386/librt.abilist
416 * sysdeps/unix/sysv/linux/ia64/librt.abilist
417 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
418 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
419 * sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
420 * sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
421 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
422 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist
423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
425 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
426 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
427 * sysdeps/unix/sysv/linux/sh/librt.abilist
428 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
429 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
430 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
431 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist:
432 Remove entries for clock_getres, clock_gettime, clock_settime,
433 clock_getcpuclockid, and clock_nanosleep.
435 * sysdeps/mach/hurd/i386/libc.abilist
436 * sysdeps/unix/sysv/linux/alpha/libc.abilist
437 * sysdeps/unix/sysv/linux/arm/libc.abilist
438 * sysdeps/unix/sysv/linux/hppa/libc.abilist
439 * sysdeps/unix/sysv/linux/i386/libc.abilist
440 * sysdeps/unix/sysv/linux/ia64/libc.abilist
441 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
442 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
443 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
444 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
445 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
446 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
450 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
451 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
452 * sysdeps/unix/sysv/linux/sh/be/libc.abilist
453 * sysdeps/unix/sysv/linux/sh/le/libc.abilist
454 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
455 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
456 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
457 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
458 Add another set of entries for clock_getres, clock_gettime,
459 clock_settime, clock_getcpuclockid, and clock_nanosleep at
460 whatever version GLIBC_2.2 maps to.
462 2019-09-03 Aurelien Jarno <aurelien@aurel32.net>
464 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
466 2019-09-03 Florian Weimer <fweimer@redhat.com>
469 * locale/programs/charmap.h (struct charseq): Turn bytes into a
470 flexible array member.
471 * locale/programs/ld-ctype.c (ctype_finish): Use initializer for
474 2019-09-02 Florian Weimer <fweimer@redhat.com>
476 * misc/tst-mntent-autofs.c: New file.
477 * misc/Makefile (tests): Add misc/tst-mntent-autofs.
479 2019-09-02 Ian Kent <ikent@redhat.com>
481 Use autofs "ignore" mount hint in getmntent_r/getmntent.
482 * misc/mntent_r.c (get_mnt_entry): New function, extracted from
484 (__getmntent_r): Call it. Filter out autofs entries with an
485 "ignore" mount option.
487 2019-08-30 Wilco Dijkstra <wdijkstr@arm.com>
489 * benchtests/bench-memcpy.c (simple_memcpy): Remove.
490 (generic_memcpy): Include generic C memcpy.
491 * benchtests/bench-memmove.c (simple_memmove): Remove.
492 (generic_memmove): Include generic C memmove.
493 * benchtests/bench-memset.c (simple_memset): Remove.
494 (generic_memset): Include generic C memset.
495 * benchtests/bench-memset-large.c (simple_memset): Remove.
496 (generic_memset): Include generic C memset.
497 * benchtests/bench-memset-walk.c (simple_memset): Remove.
498 (generic_memset): Include generic C memset.
499 * string/memcpy.c (MEMCPY): Add defines to enable redirection.
500 * string/memset.c (MEMSET): Likewise.
501 * sysdeps/x86_64/memcopy.h: Remove empty file.
503 2019-08-30 Florian Weimer <fweimer@redhat.com>
505 nptl: Move pthread_attr_getinheritsched implementation into libc.
506 * nptl/Makefile (routines): Add pthread_attr_getinheritsched.
507 (libpthread-routines): Remove pthread_attr_getinheritsched.
508 * nptl/Versions (libpthread GLIBC_2.0): Remove
509 pthread_attr_getinheritsched.
510 * nptl/forward.c (pthread_attr_getinheritsched): Remove definition.
511 * nptl/nptl-init.c (pthread_functions): Remove initializer for
512 ptr_pthread_attr_getinheritsched.
513 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
514 Remove ptr_pthread_attr_getinheritsched member.
515 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
516 Remove pthread_attr_getinheritsched.
517 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
519 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
521 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
523 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
525 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
527 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
529 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
531 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
532 (GLIBC_2.4): Likewise.
533 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
534 (GLIBC_2.0): Likewise.
535 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
536 (GLIBC_2.18): Likewise.
537 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
538 (GLIBC_2.18): Likewise.
539 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
540 (GLIBC_2.0): Likewise.
541 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
542 (GLIBC_2.0): Likewise.
543 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
546 (GLIBC_2.0): Likewise.
547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
548 (GLIBC_2.3): Likewise.
549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
550 (GLIBC_2.17): Likewise.
551 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
552 (GLIBC_2.27): Likewise.
553 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
554 (GLIBC_2.0): Likewise.
555 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
556 (GLIBC_2.2): Likewise.
557 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
559 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
561 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
562 (GLIBC_2.0): Likewise.
563 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
564 (GLIBC_2.2): Likewise.
565 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
566 (GLIBC_2.2.5): Likewise.
567 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
568 (GLIBC_2.16): Likewise.
570 2019-08-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
572 * sysdeps/mach/hurd/getcwd.c
573 (_hurd_canonicalize_directory_name_internal): Do not remove the heading
574 slash if we got an unknown root directory. (__getcwd): Do not fail with
575 EGRATUITOUS if we got an unknown root directory.
576 * hurd/hurdselect.c (SELECT_ERROR): New macro.
578 - Add `error' field to `d' structures array.
579 - If a poll descriptor is bogus, set EBADF, but continue with a zero
581 - Go through the whole fd_set, not only until _hurd_dtablesize. Return
582 EBADF there is any bit set above _hurd_dtablesize.
583 - Do not request io_select on bogus descriptors (SELECT_ERROR).
584 - On io_select request error, record the error.
585 - On io_select bogus reply, use EIO error code.
586 - On io_select bogus or error reply, record the error.
587 - Do not destroy reply port for bogus FDs.
588 - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the
589 EBADF case, or else POLLERR.
590 - On error, make select simulated readiness.
593 * sysdeps/mach/hurd/mmap.c (__mmap): Remove optimizing anonymous maps
596 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
597 unlocks SS and returns to the saved PC.
598 (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
599 thread stack instead of the saved PC.
601 2019-08-30 Richard Braun <rbraun@sceen.net>
603 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
605 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
606 * hurd/Makefile (user-interfaces): Add io_reply and io_request.
607 * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and
609 (_hurd_select): Replace the call to __io_select with either
610 __io_select_request or __io_select_timeout_request, depending on the
611 timeout. Count the number of ready descriptors (replies for which at
612 least one type bit is set). Implement the timeout locally when there is
615 2019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
617 * elf/dl-addr.c (determine_info): Calculate the symbol index
618 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
619 * elf/dl-lookup.c (do_lookup_x): Ditto.
620 (_dl_setup_hash): Initialize MIPS xhash translation table.
621 * elf/elf.h (SHT_MIPS_XHASH): New define.
622 (DT_MIPS_XHASH): New define.
623 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
625 (ELF_MACHINE_HASH_SYMIDX): Ditto.
626 (ELF_MACHINE_XHASH_SETUP): Ditto.
627 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
629 (ELF_MACHINE_HASH_SYMIDX): Ditto.
630 (ELF_MACHINE_XHASH_SETUP): Ditto.
631 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
632 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
634 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
636 2019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
638 * sysdeps/sh/preconfigure.ac: New file.
639 * sysdeps/sh/preconfigure: Regenerate.
640 * sysdeps/sh/be/sh3/Implies: New file.
641 * sysdeps/sh/be/sh4/Implies: Likewise.
642 * sysdeps/sh/le/sh3/Implies: Likewise.
643 * sysdeps/sh/le/sh4/Implies: Likewise.
644 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
645 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
646 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
647 sysdeps/unix/sysv/linux/sh/le/*.abilist.
648 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
650 * sysdeps/microblaze/preconfigure.ac: New file.
651 * sysdeps/microblaze/preconfigure: Regenerate.
652 * sysdeps/microblaze/be/implies: New file.
653 * sysdeps/microblaze/le/implies: Likewise.
654 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
655 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
656 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
657 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
658 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
660 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
661 * sysdeps/arm/preconfigure: Regenerate.
662 * sysdeps/arm/be/Implies: New file.
663 * sysdeps/arm/be/armv6/Implies: Likewise.
664 * sysdeps/arm/be/armv6t2/Implies: Likewise.
665 * sysdeps/arm/be/armv7/Implies: Likewise.
666 * sysdeps/arm/le/Implies: Likewise.
667 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
668 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
669 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
670 sysdeps/unix/sysv/linux/arm/le/*.abilist.
671 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
673 2019-08-27 Paul Eggert <eggert@cs.ucla.edu>
675 Fix posix/tst-regex by using UTF-8 and own test input
676 Problem reported by Stefan Liebler in:
677 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
678 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
679 (do_test, test_expr): Adjust to the fact that this source file,
680 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
681 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
682 so that it is now UTF-8.
684 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
686 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
687 (fegetenv_status): Generate 'mffsl' unconditionally.
689 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
691 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
693 (_FPU_MASK_ALL): Delete.
695 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
697 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
698 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
700 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
701 with simpler required steps, set fewer FPSCR bits if possible.
703 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
705 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
706 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
707 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
708 weight access to FPSCR; remove unnecessary second FPSCR read and
710 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
711 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
712 access to FPSCR; Use macros in fenv_libc.h in favor of local.
714 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
716 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
717 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
718 (fenv_exceptions_to_reg): New.
719 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
720 operation with call to fenv_exceptions_to_reg().
721 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
723 2019-08-28 Florian Weimer <fweimer@redhat.com>
725 * misc/mntent.c (struct mntent_buffer): Define.
726 (mntent_buffer): Adjust type to void *.
727 (allocate): Adjust for allocate_once.
728 (deallocate): New function.
729 (getmntent): Call allocate_once.
731 2019-08-28 Florian Weimer <fweimer@redhat.com>
733 nptl: Move pthread_attr_setdetachstate implementation into libc.
734 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
735 (libpthread-routines): Remove pthread_attr_setdetachstate.
736 * nptl/Versions (libpthread GLIBC_2.0): Remove
737 pthread_attr_setdetachstate.
738 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
739 * nptl/nptl-init.c (pthread_functions): Remove initializer for
740 ptr_pthread_attr_setdetachstate.
741 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
742 Remove ptr_pthread_attr_setdetachstate member.
743 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
744 Remove pthread_attr_setdetachstate.
745 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
747 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
749 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
751 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
753 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
755 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
757 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
758 (GLIBC_2.4): Likewise.
759 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
760 (GLIBC_2.0): Likewise.
761 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
762 (GLIBC_2.18): Likewise.
763 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
764 (GLIBC_2.0): Likewise.
765 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
766 (GLIBC_2.0): Likewise.
767 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
770 (GLIBC_2.0): Likewise.
771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
772 (GLIBC_2.3): Likewise.
773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
774 (GLIBC_2.17): Likewise.
775 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
776 (GLIBC_2.27): Likewise.
777 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
778 (GLIBC_2.0): Likewise.
779 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
780 (GLIBC_2.2): Likewise.
781 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
783 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
784 (GLIBC_2.0): Likewise.
785 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
786 (GLIBC_2.2): Likewise.
787 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
788 (GLIBC_2.2.5): Likewise.
789 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
790 (GLIBC_2.16): Likewise.
792 2019-08-28 Florian Weimer <fweimer@redhat.com>
795 * login/Makefile (tests): Add tst-pututxline-lockfail.
796 (tst-pututxline-lockfail): Link with -lpthread.
797 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
798 (__libc_getutid_r): Adjust.
799 (__libc_pututline): Likewise. Check for file_offset == -1.
800 * login/tst-pututxline-lockfail.c: New file.
802 2019-08-28 Stefan Liebler <stli@linux.ibm.com>
804 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
805 * posix/tst-regex.input: New file.
807 2019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
810 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
812 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
813 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
814 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
815 * sysdeps/mips/tst-undefined-weak.c: Likewise.
816 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
817 Increment highest valid ABIVERSION value.
819 2019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
821 * sysdeps/unix/sysv/linux/mips/Makefile
822 (test-xfail-check-execstack):
823 Move under mips-has-gnustack != yes.
824 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
825 Apply -Wa,-execstack if mips-force-execstack == yes.
826 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
827 * sysdeps/unix/sysv/linux/mips/configure.ac
828 (mips-force-execstack): New var.
829 Set to yes for hard-float builds with minimum_kernel < 4.8.0
830 or minimum_kernel not set at all.
831 (mips-has-gnustack): New var.
832 Use value of libc_cv_as_noexecstack
833 if mips-force-execstack != yes, otherwise set to no.
835 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
836 Florian Weimer <fweimer@redhat.com>
838 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
839 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
840 Make a compat_symbol.
841 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
842 (__profil_counter_global): Likewise.
844 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
845 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
847 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
848 sigcontext_get_pc and return aligned cast to uintptr_t.
849 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
850 * sysdeps/posix/profil.c (profil_count): Change PC argument to
852 (__profil): Use SA_SIGINFO.
853 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
855 (__sprofil): Use SA_SIGINFO.
856 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
857 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
858 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
859 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
860 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
861 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
862 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
863 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
864 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
865 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
866 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
867 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
868 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
869 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
870 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
871 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
872 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
873 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
874 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
875 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
876 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
877 GET_PC, __sigaction, sigaction): Remove defines.
878 (sigcontext_get_pc): New function.
879 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
880 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
881 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
882 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
883 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
884 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
885 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
886 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
887 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
888 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
889 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
890 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
891 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
892 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
893 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
894 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
895 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
896 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
897 Handle CTX argument as ucontext_t.
898 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
900 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
901 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
902 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
903 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
904 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
905 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
906 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
907 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
908 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
909 tst-sigcontextinfo-get_pc.
910 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
911 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
913 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
915 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
918 2019-08-23 Rafał Lużyński <digitalfreak@lingonborough.com>
921 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
922 * localedata/locales/ug_CN (first_weekday): Likewise.
923 * localedata/locales/zh_CN (first_weekday): Likewise.
925 2019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
927 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
928 field name in mcontext_t struct.
930 2019-08-22 Joseph Myers <joseph@codesourcery.com>
932 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
933 unsupported with libidn2 before 2.0.5.
934 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
936 * manual/time.texi (strftime): Document %Ob and %OB as C2X
939 2019-08-21 Paul Eggert <eggert@cs.ucla.edu>
941 Remove dead regex code
942 * posix/regex_internal.c (re_node_set_insert):
943 Remove unnecessary assignment. Reported by Tim Rühsen in:
944 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
946 Fix bad pointer / leak in regex code
947 This was found by Coverity (CID 1484201). [BZ#24844]
948 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
949 pointer and/or memory leak when storage is exhausted.
951 2019-08-21 Zack Weinberg <zackw@panix.com>
953 * misc/syslog.c (__vsyslog_internal)
954 * time/getdate.c (__getdate_r)
955 * time/tst_wcsftime.c (main):
956 Use return value of time, not its argument.
958 * string/strfry.c (strfry)
959 * sysdeps/mach/sleep.c (__sleep):
960 Remove unnecessary casts of NULL in calls to time.
962 2019-08-21 Joseph Myers <joseph@codesourcery.com>
964 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
965 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
966 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
967 (__TGMATH_2_NARROW_F): Likewise.
968 (__TGMATH_2_NARROW_D): New macro.
969 (__TGMATH_2_NARROW_F16): Likewise.
970 (__TGMATH_2_NARROW_F32): Likewise.
971 (__TGMATH_2_NARROW_F64): Likewise.
972 (__TGMATH_2_NARROW_F32X): Likewise.
973 (__TGMATH_2_NARROW_F64X): Likewise.
974 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
975 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
976 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
977 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
978 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
979 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
980 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
981 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
982 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
983 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
984 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
985 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
986 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
987 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
989 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
991 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
993 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
995 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
997 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
999 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
1001 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
1003 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1004 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
1005 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1006 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
1007 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1008 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
1009 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1010 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
1011 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
1013 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
1015 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
1017 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
1019 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1020 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
1021 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1022 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
1023 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1024 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
1025 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1026 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
1027 * math/gen-tgmath-tests.py (Type): Add members
1028 non_standard_real_argument_types_list, long_double_type,
1029 complex_float64_type and float32x_ext_type.
1030 (Type.__init__): Set the new members.
1031 (Type.floating_type): Add new argument floatn.
1032 (Type.real_floating_type): Likewise.
1033 (Type.can_combine_types): Likewise.
1034 (Type.combine_types): Likewise.
1035 (Type.init_types): Create internal Float32x_ext type.
1036 (Tests.__init__): Define Float32x_ext in generated C code.
1037 (Tests.add_tests): Handle narrowing functions.
1038 (Tests.add_all_tests): Likewise.
1039 (Tests.tests_text): Allow variation in mant_dig for narrowing
1040 functions with compilers before GCC 8.
1041 * math/Makefile (tgmath3-narrow-types): New variable.
1042 (tgmath3-narrow-macros): Likewise.
1043 (tgmath3-macros): Add $(tgmath3-narrow-macros).
1045 2019-08-20 Andreas Schwab <schwab@suse.de>
1047 * sysdeps/i386/fpu/libm-test-ulps: Update.
1049 2019-08-19 Carlos O'Donell <carlos@redhat.com>
1051 * nscd/nscd.conf: Add warning and comment about shared option.
1053 2019-08-19 Carlos O'Donell <carlos@redhat.com>
1055 * nss/nsswitch.conf: Expand comments, and simplify defaults.
1056 * manual/nss.texi (NSS Basics): List all known databases.
1057 (Services in the NSS configuration): Mention automount.
1059 2019-08-19 Florian Weimer <fweimer@redhat.com>
1061 Do not print backtraces on fatal errors.
1062 * debug/fortify_fail.c (__libc_argv): Remove declaration.
1063 (__fortify_fail_abort): Remove definition.
1064 (__fortify_fail): Call __libc_message directly.
1065 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
1066 (__stack_chk_fail): Call __fortify_fail instead of
1067 __fortify_fail_abort.
1068 * include/stdio.h (__fortify_fail_abort): Remove declaration.
1069 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
1071 (__libc_message): Do not handle do_backtrace. Do not call
1073 (__libc_fatal): Do not pass do_backtrace to __libc_message.
1074 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
1075 (before_abort): Remove definitions.
1077 2019-08-16 Florian Weimer <fweimer@redhat.com>
1079 nptl: Move pthread_attr_getdetachstate implementation into libc.
1080 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
1081 (libpthread-routines): Remove pthread_attr_getdetachstate.
1082 * nptl/Versions (libpthread GLIBC_2.0): Remove
1083 pthread_attr_getdetachstate.
1084 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
1085 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1086 ptr_pthread_attr_getdetachstate.
1087 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1088 Remove ptr_pthread_attr_getdetachstate member.
1089 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1090 Remove pthread_attr_getdetachstate.
1091 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1093 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1095 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1097 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1099 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1101 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1103 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1104 (GLIBC_2.4): Likewise.
1105 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1106 (GLIBC_2.0): Likewise.
1107 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1108 (GLIBC_2.18): Likewise.
1109 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1110 (GLIBC_2.0): Likewise.
1111 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1112 (GLIBC_2.0): Likewise.
1113 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1116 (GLIBC_2.0): Likewise.
1117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1118 (GLIBC_2.3): Likewise.
1119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1120 (GLIBC_2.17): Likewise.
1121 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1122 (GLIBC_2.27): Likewise.
1123 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1124 (GLIBC_2.0): Likewise.
1125 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1126 (GLIBC_2.2): Likewise.
1127 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1129 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1130 (GLIBC_2.0): Likewise.
1131 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1132 (GLIBC_2.2): Likewise.
1133 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1134 (GLIBC_2.2.5): Likewise.
1135 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1136 (GLIBC_2.16): Likewise.
1138 2019-08-16 Joseph Myers <joseph@codesourcery.com>
1140 * math/libm-test-compat_totalorder.inc (do_test)
1141 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
1142 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
1143 * math/libm-test-compat_totalordermag.inc (do_test)
1144 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
1146 2019-08-15 Florian Weimer <fweimer@redhat.com>
1148 nptl: Move pthread_attr_init implementation into libc.
1149 * nptl/Makefile (routines): Add pthread_attr_init.
1150 (libpthread-routines): Remove pthread_attr_init.
1151 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
1152 (libpthread GLIBC_2.0): Likewise.
1153 * nptl/pthread_attr_init.c: Check for libc compat version instead
1154 of libpthread compat version.
1155 * nptl/forward.c (__pthread_attr_init_2_0)
1156 (__pthread_attr_init_2_1): Remove definitions.
1157 * nptl/nptl-init.c (pthread_functions): Remove initializers for
1158 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
1159 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1160 Remove members ptr___pthread_attr_init_2_0,
1161 ptr___pthread_attr_init_2_1.
1162 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1163 Remove pthread_attr_init.
1164 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1166 (GLIBC_2.1): Likewise.
1167 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1169 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1171 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1173 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1175 (GLIBC_2.1): Likewise.
1176 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1178 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1179 (GLIBC_2.4): Likewise.
1180 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1181 (GLIBC_2.0): Likewise.
1182 (GLIBC_2.1): Likewise.
1183 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1184 (GLIBC_2.18): Likewise.
1185 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1186 (GLIBC_2.0): Likewise.
1187 (GLIBC_2.1): Likewise.
1188 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1189 (GLIBC_2.0): Likewise.
1190 (GLIBC_2.1): Likewise.
1191 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1194 (GLIBC_2.0): Likewise.
1195 (GLIBC_2.1): Likewise.
1196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1197 (GLIBC_2.3): Likewise.
1198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1199 (GLIBC_2.17): Likewise.
1200 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1201 (GLIBC_2.27): Likewise.
1202 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1203 (GLIBC_2.0): Likewise.
1204 (GLIBC_2.1): Likewise.
1205 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1206 (GLIBC_2.2): Likewise.
1207 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1209 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1210 (GLIBC_2.0): Likewise.
1211 (GLIBC_2.1): Likewise.
1212 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1213 (GLIBC_2.2): Likewise.
1214 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1215 (GLIBC_2.2.5): Likewise.
1216 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1217 (GLIBC_2.16): Likewise.
1219 2019-08-15 Florian Weimer <fweimer@redhat.com>
1222 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
1223 new object in __RTLD_OPENEXEC mode (except for the origin).
1224 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
1225 check for the error message.
1226 (do_test): Call it. Add check using relative path.
1227 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
1228 (tst-dlopen-aout-container): Link with libpthread.
1229 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
1231 2019-08-15 Joseph Myers <joseph@codesourcery.com>
1233 * math/bits/mathcalls.h
1234 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1235 (totalorder): Take pointer arguments.
1236 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1237 (totalordermag): Likewise.
1238 * manual/arith.texi (totalorder): Likewise.
1239 (totalorderf): Likewise.
1240 (totalorderl): Likewise.
1241 (totalorderfN): Likewise.
1242 (totalorderfNx): Likewise.
1243 (totalordermag): Likewise.
1244 (totalordermagf): Likewise.
1245 (totalordermagl): Likewise.
1246 (totalordermagfN): Likewise.
1247 (totalordermagfNx): Likewise.
1248 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
1249 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
1250 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
1251 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
1252 totalorderl, totalordermag, totalordermagf, totalordermagl,
1253 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
1254 totalordermagf64, totalordermagf32x, totalorderf64x,
1255 totalordermagf64x, totalorderf128 and totalordermagf128.
1256 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
1257 and compat_totalordermag.
1258 (libm-test-funcs-compat): New variable.
1259 (libm-tests-compat): Likewise.
1260 (tests): Do not include compat tests.
1261 (tests-internal): Add compat tests.
1262 ($(foreach t,$(libm-tests-base),
1263 $(objpfx)$(t)-compat_totalorder.o)): Depend
1264 on $(objpfx)libm-test-totalorder.c.
1265 ($(foreach t,$(libm-tests-base),
1266 $(objpfx)$(t)-compat_totalordermag.o): Depend on
1267 $(objpfx)libm-test-totalordermag.c.
1268 (tgmath3-macros): Remove totalorder and totalordermag.
1269 * math/libm-test-compat_totalorder.inc: New file.
1270 * math/libm-test-compat_totalordermag.inc: Likewise.
1271 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
1272 (RUN_TEST_fpfp_b): New macro.
1273 (RUN_TEST_LOOP_fpfp_b): Likewise.
1274 * math/libm-test-totalorder.inc (totalorder_test_data): Use
1276 (totalorder_test): Condition on [!COMPAT_TEST].
1277 (do_test): Likewise.
1278 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
1280 (totalordermag_test): Condition on [!COMPAT_TEST].
1281 (do_test): Likewise.
1282 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
1283 totalorder and totalordermag.
1284 * math/test-tgmath.c (NCALLS): Change to 132.
1285 (F(compile_test)): Do not call totalorder or totalordermag.
1286 (F(totalorder)): Remove.
1287 (F(totalordermag)): Likewise.
1288 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
1289 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
1290 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
1292 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
1293 [!_ISOMAC] (TEST_SIZE): Update call to STR.
1294 [!_ISOMAC] (TEST_ALIGN): Likewise.
1295 [!_ISOMAC] (TEST_OFFSET): Likewise.
1296 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
1297 and <first-versions.h>.
1298 (__totalorder): Take pointer arguments. Add symbol versions and
1300 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1301 <shlib-compat.h> and <first-versions.h>.
1302 (__totalordermag): Take pointer arguments. Add symbol versions
1304 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1305 <shlib-compat.h> and <first-versions.h>.
1306 (__totalorder): Take pointer arguments. Add symbol versions and
1308 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1309 <shlib-compat.h> and <first-versions.h>.
1310 (__totalordermag): Take pointer arguments. Add symbol versions
1312 * sysdeps/ieee754/float128/float128_private.h
1313 (__totalorder_compatl): New macro.
1314 (__totalordermag_compatl): Likewise.
1315 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
1316 and <first-versions.h>.
1317 (__totalorderf): Take pointer arguments. Add symbol versions and
1319 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1320 <shlib-compat.h> and <first-versions.h>.
1321 (__totalordermagf): Take pointer arguments. Add symbol versions
1323 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1324 <shlib-compat.h> and <first-versions.h>.
1325 (__totalorderl): Take pointer arguments. Add symbol versions and
1327 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1328 <shlib-compat.h> and <first-versions.h>.
1329 (__totalordermagl): Take pointer arguments. Add symbol versions
1331 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1333 (__totalorderl): Take pointer arguments. Add symbol versions and
1335 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1337 (__totalordermagl): Take pointer arguments. Add symbol versions
1339 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1340 <shlib-compat.h> and <first-versions.h>.
1341 (__totalorderl): Take pointer arguments. Add symbol versions and
1343 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1344 <shlib-compat.h> and <first-versions.h>.
1345 (__totalordermagl): Take pointer arguments. Add symbol versions
1347 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
1349 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
1351 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1352 (do_test): Update calls to totalorderl and totalordermagl.
1353 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1354 Update calls to totalorderl and totalordermagl.
1355 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1356 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1357 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1358 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1359 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1360 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1361 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1362 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1363 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1364 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1365 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1366 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1367 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1368 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
1375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
1377 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1378 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1379 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1380 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1381 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1382 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1383 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1384 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1386 2019-08-15 Florian Weimer <fweimer@redhat.com>
1389 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
1390 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
1391 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
1393 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
1394 __attribute_nonstring__ to ut_id.
1395 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
1398 2019-08-15 Florian Weimer <fweimer@redhat.com>
1401 * login/utmp_file.c (file_locking_failed): Use struct flock64.
1402 (file_locking_unlock): Likewise.
1404 2019-08-15 Florian Weimer <fweimer@redhat.com>
1407 login: Disarm timer after utmp lock acquisition.
1408 * login/utmp_file.c (struct file_locking): Remove.
1409 (try_file_lock): Adjust.
1410 (file_lock_restore): Remove function.
1411 (__libc_getutent_r): .
1412 (internal_getut_r): Likewise.
1413 (__libc_getutline_r): Likewise.
1414 (__libc_pututline): Likewise.
1415 (__libc_updwtmp): Likewise.
1417 2019-08-15 Florian Weimer <fweimer@redhat.com>
1419 nptl: Remove pthread_self compatibility symbol from libpthread.
1420 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
1422 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
1423 * nptl/compat-pthread_self.c: Remove file.
1424 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1425 Remove pthread_self.
1426 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1428 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1430 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1432 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1434 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1436 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1437 (GLIBC_2.4): Likewise.
1438 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1439 (GLIBC_2.0): Likewise.
1440 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1441 (GLIBC_2.18): Likewise.
1442 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1443 (GLIBC_2.0): Likewise.
1444 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1445 (GLIBC_2.0): Likewise.
1446 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1449 (GLIBC_2.0): Likewise.
1450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1451 (GLIBC_2.3): Likewise.
1452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1453 (GLIBC_2.17): Likewise.
1454 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1455 (GLIBC_2.0): Likewise.
1456 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1457 (GLIBC_2.2): Likewise.
1458 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1460 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1461 (GLIBC_2.0): Likewise.
1462 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1463 (GLIBC_2.2): Likewise.
1464 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1465 (GLIBC_2.2.5): Likewise.
1466 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1467 (GLIBC_2.16): Likewise.
1469 2019-08-15 Florian Weimer <fweimer@redhat.com>
1471 nptl: Move pthread_attr_destroy implementation into libc.
1472 * nptl/Makefile (routines): Add pthread_attr_destroy.
1473 (libpthread-routines): Remove pthread_attr_destroy.
1474 * nptl/Versions (libpthread GLIBC_2.0): Remove
1475 pthread_attr_destroy.
1476 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
1477 libc compat version instead of libpthread compat version.
1478 * nptl/forward.c (pthread_attr_destroy): Remove definition.
1479 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1480 ptr_pthread_attr_destroy.
1481 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1482 Remove ptr_pthread_attr_destroy member.
1483 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1484 Remove pthread_attr_destroy.
1485 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1487 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1489 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1491 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1493 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1495 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1497 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1498 (GLIBC_2.4): Likewise.
1499 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1500 (GLIBC_2.0): Likewise.
1501 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1502 (GLIBC_2.18): Likewise.
1503 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1504 (GLIBC_2.0): Likewise.
1505 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1506 (GLIBC_2.0): Likewise.
1507 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1510 (GLIBC_2.0): Likewise.
1511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1512 (GLIBC_2.3): Likewise.
1513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1514 (GLIBC_2.17): Likewise.
1515 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1516 (GLIBC_2.27): Likewise.
1517 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1518 (GLIBC_2.0): Likewise.
1519 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1520 (GLIBC_2.2): Likewise.
1521 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1523 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1524 (GLIBC_2.0): Likewise.
1525 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1526 (GLIBC_2.2): Likewise.
1527 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1528 (GLIBC_2.2.5): Likewise.
1529 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1530 (GLIBC_2.16): Likewise.
1532 2019-08-15 Andreas Schwab <schwab@suse.de>
1534 * sysdeps/i386/fpu/libm-test-ulps: Update.
1536 2019-08-15 Florian Weimer <fweimer@redhat.com>
1538 * malloc/Makefile (tests): Only add tst-mxfast for
1540 * malloc/tst-mxfast.c: Fix copyright year.
1541 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
1544 2019-08-15 Florian Weimer <fweimer@redhat.com>
1546 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
1548 * login/Makefile (tests): Add tst-updwtmpx.
1549 * login/tst-updwtmpx.c: New file.
1551 2019-08-15 Florian Weimer <fweimer@redhat.com>
1553 nptl: Move pthread_equal implementation into libc.
1554 * nptl/Makefile (routines): Add pthread_equal.
1555 * nptl/forward.c (pthread_equal): Remove definition.
1556 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1558 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1559 Remove ptr_pthread_equal member.
1560 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1561 Remove pthread_equal.
1562 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1564 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1566 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1568 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1570 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1572 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1574 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1575 (GLIBC_2.4): Likewise.
1576 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1577 (GLIBC_2.0): Likewise.
1578 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1579 (GLIBC_2.18): Likewise.
1580 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1581 (GLIBC_2.0): Likewise.
1582 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1583 (GLIBC_2.0): Likewise.
1584 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1587 (GLIBC_2.0): Likewise.
1588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1589 (GLIBC_2.3): Likewise.
1590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1591 (GLIBC_2.17): Likewise.
1592 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1593 (GLIBC_2.27): Likewise.
1594 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1595 (GLIBC_2.0): Likewise.
1596 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1597 (GLIBC_2.2): Likewise.
1598 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1600 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1601 (GLIBC_2.0): Likewise.
1602 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1603 (GLIBC_2.2): Likewise.
1604 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1605 (GLIBC_2.2.5): Likewise.
1606 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1607 (GLIBC_2.16): Likewise.
1609 2019-08-14 Florian Weimer <fweimer@redhat.com>
1611 * support/support_descriptors.c: Include <support/descriptors.h>.
1613 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
1615 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
1616 Disable DC ZVA code if this macro is defined as zero.
1617 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
1618 Change to zero to disable using DC ZVA.
1620 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1622 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
1624 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
1625 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
1626 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
1627 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
1630 2019-08-13 Florian Weimer <fweimer@redhat.com>
1632 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
1634 (struct file_locking): New.
1635 (try_file_lock, file_unlock, file_lock_restore): New functions.
1636 (__libc_getutent_r): Use the new functions.
1637 (internal_getut_r): Likewise.
1638 (__libc_getutline_r): Likewise.
1639 (__libc_pututline): Likewise.
1640 (__libc_updwtmp): Likewise.
1642 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1644 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
1646 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
1647 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
1648 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
1649 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1650 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1651 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1652 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1654 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1655 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1656 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1658 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1660 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1662 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1664 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1666 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1668 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1670 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
1671 (IEC_60559_BFP_EXT)]: Likewise.
1672 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1674 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1676 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1678 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1680 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1682 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1684 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1686 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1688 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1689 Likewise, except for totalorder, totalordermag, getpayload,
1690 setpayload and setpayloadsig.
1691 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
1692 except for totalorder and totalordermag.
1694 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
1696 (strndup): Likewise.
1698 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
1699 Undefine and define to 1 if [_GNU_SOURCE].
1700 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
1701 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
1702 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
1703 (__USE_ISOC99): Likewise.
1704 (__USE_ISOC95): Likewise.
1705 * manual/creature.texi (_ISOC2X_SOURCE): Document.
1707 2019-08-13 Florian Weimer <fweimer@redhat.com>
1709 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
1711 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
1712 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1713 * login/getutmpx.c (getutmpx): Likewise.
1714 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
1716 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
1717 _HAVE_UT_TV are always true.
1718 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
1719 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1720 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
1721 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
1723 (internal_getut_r): _HAVE_UT_TYPE is always true.
1724 (__libc_pututline): Likewise.
1725 * login/programs/utmpdump.c (print_entry): Assume that
1726 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
1727 _HAVE_UT_TV are always true.
1728 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
1729 _HAVE_UT_ID are always true.
1730 * sysdeps/gnu/bits/utmp.h: Move to ...
1731 * bits/utmp.h: ... here, replacing the old file.
1733 2019-08-12 Florian Weimer <fweimer@redhat.com>
1735 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
1736 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
1738 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
1739 (do_test): Open the executable using an absolute path. Print
1740 error message to standard output.
1742 2019-08-09 DJ Delorie <dj@redhat.com>
1744 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
1745 * manual/tunables.texi: Document it.
1746 * malloc/malloc.c (do_set_mxfast): New.
1747 (__libc_mallopt): Call it.
1748 * malloc/arena.c: Add mxfast tunable.
1749 * malloc/tst-mxfast.c: New.
1750 * malloc/Makefile: Add it.
1752 2019-08-08 Niklas Hambüchen <mail@nh2.me>
1753 Carlos O'Donell <carlos@redhat.com>
1756 * malloc/malloc.c (__malloc_info): Account for top chunk.
1758 2019-08-07 Joseph Myers <joseph@codesourcery.com>
1760 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1761 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
1763 2019-08-06 Joseph Myers <joseph@codesourcery.com>
1765 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
1767 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
1769 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
1771 2019-08-05 Joseph Myers <joseph@codesourcery.com>
1773 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
1776 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1779 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
1781 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
1783 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
1785 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
1787 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1788 (ALWAYS_USE_VSYSCALL): Likewise.
1789 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1790 (ALWAYS_USE_VSYSCALL): Likewise.
1791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1792 (ALWAYS_USE_VSYSCALL): Likewise.
1793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1794 (ALWAYS_USE_VSYSCALL): Likewise.
1795 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1797 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1798 (ALWAYS_USE_VSYSCALL): Likewise.
1799 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1800 (ALWAYS_USE_VSYSCALL): Likewise.
1801 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1803 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1805 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
1806 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
1807 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
1808 USE_VSYSCALL): Remove defitions.
1811 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
1812 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
1813 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1817 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
1818 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
1819 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1820 (ALWAYS_USE_VSYSCALL): Define.
1821 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1822 (ALWAYS_USE_VSYSCALL): Likewise.
1825 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
1826 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
1827 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1830 * sysdeps/sh/libm-test-ulps: Update.
1832 2019-08-05 Florian Weimer <fweimer@redhat.com>
1835 * login/uptmp-private.h (struct ufuncs): Remove definition.
1836 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
1837 (__libc_utmp_jump_table): Remove declarations.
1838 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
1839 (__libc_getutline_r, __libc_pututline, __libc_endutent)
1840 (__libc_updwtmp): Declare.
1841 * login/getutent_r.c (__libc_utmp_unknown_functions)
1842 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
1843 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
1844 (endutent_unknown): Remove definitions.
1845 (__setutent): Call __libc_setutent.
1846 (__getutent_r): Call __libc_getutent_r.
1847 (__pututline): Call __libc_pututline.
1848 (__endutent): Call __libc_endutent.
1849 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
1850 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
1851 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
1852 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
1853 (__libc_setutent): Rename from stetutent_file. Drop static.
1854 (maybe_setutent): New function.
1855 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
1856 Check for initialization.
1857 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
1858 Check for initialization.
1859 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
1860 Check for initialization.
1861 (__libc_pututline): Rename from pututline_file. Drop static.
1862 Check for initialization.
1863 (__libc_endutent): Rename from endutent_file. Drop static. Check
1865 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
1866 * login/utmpname.c (__utmpname): Call __libc_endutent.
1867 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
1868 __libc_getutlien_r, __libc_endutent.
1869 * manual/users.texi (Who Logged In, Manipulating the Database):
1872 2019-08-05 Alexandra Hájková <ahajkova@redhat.com>
1874 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
1876 2019-08-02 Joseph Myers <joseph@codesourcery.com>
1878 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
1880 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
1881 kernel version number to 5.2.
1883 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
1885 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
1886 mnemonics and set .machine power8.
1887 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1888 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
1889 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1890 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1891 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1892 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1893 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1894 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1895 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1896 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1898 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1900 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1902 2019-08-01 Florian Weimer <fweimer@redhat.com>
1905 * malloc/malloc.c (__malloc_info): Remove unwanted leading
1908 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1911 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
1914 2019-08-01 Carlos O'Donell <carlos@redhat.com>
1916 * version.h (RELEASE): Set to "stable".
1917 (VERSION): Set to "2.30".
1918 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
1920 * manual/install.texi: Update component versions.
1921 * INSTALL: Regenerate.
1924 2019-07-31 Carlos O'Donell <carlos@redhat.com>
1926 * po/be.po: Update translations.
1927 * po/bg.po: Likewise.
1928 * po/ca.po: Likewise.
1929 * po/cs.po: Likewise.
1930 * po/da.po: Likewise.
1931 * po/de.po: Likewise.
1932 * po/el.po: Likewise.
1933 * po/eo.po: Likewise.
1934 * po/es.po: Likewise.
1935 * po/fi.po: Likewise.
1936 * po/fr.po: Likewise.
1937 * po/gl.po: Likewise.
1938 * po/hr.po: Likewise.
1939 * po/hu.po: Likewise.
1940 * po/ia.po: Likewise.
1941 * po/id.po: Likewise.
1942 * po/it.po: Likewise.
1943 * po/ja.po: Likewise.
1944 * po/ko.po: Likewise.
1945 * po/lt.po: Likewise.
1946 * po/nb.po: Likewise.
1947 * po/nl.po: Likewise.
1948 * po/pl.po: Likewise.
1949 * po/pt_BR.po: Likewise.
1950 * po/ru.po: Likewise.
1951 * po/rw.po: Likewise.
1952 * po/sk.po: Likewise.
1953 * po/sl.po: Likewise.
1954 * po/sv.po: Likewise.
1955 * po/tr.po: Likewise.
1956 * po/uk.po: Likewise.
1957 * po/vi.po: Likewise.
1958 * po/zh_CN.po: Likewise.
1959 * po/zh_TW.po: Likewise.
1961 2019-07-31 Florian Weimer <fweimer@redhat.com>
1965 iconv, libio: Revert reference counting changes.
1966 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
1967 free the steps array.
1968 * libio/Makefile (tests): Remove tst-wfile-gconv.
1969 (tests-container): Do not add tst-wfile-ascii.
1970 (tst-wfile-gconv-ENV): Do not set.
1971 (generated): Do not add tst-wfile-gconv.mtrace,
1972 tst-wfile-gconv.check.
1973 [($run-built-tests)] (tests-special): Do not add
1974 tst-wfile-gconv-mem.out.
1975 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
1976 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
1977 instead of __wcsmbs_clone_conv.
1978 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
1979 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
1981 2019-07-30 Joseph Myers <joseph@codesourcery.com>
1983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1984 (__CONTEXT_FUNC_NAME): Restore setting of r31.
1986 2019-07-30 Florian Weimer <fweimer@redhat.com>
1988 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
1989 type to uintptr_t. Update comment.
1990 (check_stack_top): Adjust.
1992 2019-07-29 Florian Weimer <fweimer@redhat.com>
1994 Linux: Move declaration of getdents64 to <dirent.h>.
1995 * bits/dirent_ext.h: New file.
1996 * dirent/Makefile (headers): Add bits/dirent_ext.h.
1997 * dirent/dirent.h: Include <bits/dirent_ext.h>.
1998 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
1999 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
2001 * manual/filesys.texi (Low-level Directory Access): Update header
2004 2019-07-29 DJ Delorie <dj@redhat.com>
2005 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2008 * Makeconfig (all-subdirs): Improved source comments.
2009 * Makefile (testroot.pristine/install.stamp): Pass
2010 subdirs='$(sorted-subdirs)' to make install.
2012 2019-07-25 Florian Weimer <fweimer@redhat.com>
2015 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
2016 counter before freeing array.
2018 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
2021 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
2023 * sysdeps/x86_64/configure: Regenerated.
2024 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
2025 to -mprefer-vector-width=128 if supported.
2027 2019-07-24 Florian Weimer <fweimer@redhat.com>
2029 * scripts/build-many-glibcs.py (Context.checkout): Default to
2032 2019-07-24 Florian Weimer <fweimer@redhat.com>
2035 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
2036 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
2037 (sysdep_headers): Add bits/socket-constants.h.
2038 (tests-special): Add tst-socket-consts.out.
2039 (tst-socket-consts.out): New target.
2040 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
2041 around <asm/unistd.h>.
2042 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
2043 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
2045 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
2046 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
2047 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
2048 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
2049 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
2050 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
2052 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
2054 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2057 * Makefile (testroot.pristine/install.stamp): Pass
2058 subdirs='$(all-subdirs)' to make install.
2060 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
2061 the same arguments used in all tests.
2063 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2065 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
2067 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
2070 * locale/C-translit.h.in: Add Cyrillic transliteration.
2072 2019-07-19 Florian Weimer <fweimer@redhat.com>
2074 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
2076 (fsconfig): Add system call name.
2077 (fsmount): Likewise.
2080 (move_mount): Likewise.
2081 (open_tree): Likewise.
2083 2019-07-18 Carlos O'Donell <carlos@redhat.com>
2085 * po/libc.pot: Regenerate.
2087 2019-07-18 Mike Crowe <mac@mcrowe.com>
2089 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
2090 functions recently added to sysdeps/nptl/pthread.h:
2091 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
2092 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
2094 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
2095 pthread_cond_clockwait forwarding functions. There are no internal
2096 users, so it is unnecessary to expose these functions in libc.so.
2097 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
2098 unnecessary ptr___pthread_cond_clockwait member.
2099 * nptl/nptl-init.c (pthread_functions): Remove assignment of
2102 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2105 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
2106 begin with an uppercase letter now.
2108 (mon): Update from CLDR, reword February from "Kudo" to
2109 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
2110 and August from "Liiqen" to "Leqeeni".
2111 * localedata/locales/aa_ER (mon): Update from CLDR, reword
2112 April from "Agda Baxisso" to "Agda Baxis" and August from
2113 "Leqeeni" to "Liiqen".
2114 * localedata/locales/aa_ER@saaho (mon): Likewise.
2115 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
2116 abbreviated February from "Kud" to "Nah".
2117 (mon): Update from CLDR, reword February from "Kudo" to
2118 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
2120 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2123 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
2125 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
2128 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
2129 name_mrs, name_miss, and name_ms.
2130 * localedata/locales/nl_NL (LC_NAME): Likewise.
2132 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
2135 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
2136 * localedata/locales/en_IE (first_weekday): Likewise.
2138 2019-07-12 Mike Crowe <mac@mcrowe.com>
2140 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
2141 that is only useful if futex_supports_exact_relative_timeouts ()
2143 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
2145 * sysdeps/nptl/futex-internal.h: Remove comment about relative
2146 timeouts potentially being imprecise since it's no longer true.
2147 Remove declaration of futex_supports_exact_relative_timeouts.
2148 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
2149 of futex_supports_exact_relative_timeouts.
2151 * NEWS: Mention recently-added pthread_cond_clockwait,
2152 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
2153 sem_clockwait functions.
2155 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
2156 works like pthread_mutex_timedlock but takes a clockid parameter to
2157 measure the abstime parameter against.
2158 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
2159 * nptl/DESIGN-systemtap-probes.txt: Likewise.
2160 * nptl/pthread_mutex_timedlock.c
2161 (__pthread_mutex_clocklock_common): Rename from
2162 __pthread_mutex_timedlock and add clockid parameter. Pass this
2163 parameter to lll_clocklock and lll_clocklock_elision in place of
2164 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
2165 LIBC_PROBE and validate clockid parameter before calling
2166 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
2167 implementation to add LIBC_PROBE and calls
2168 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
2170 * nptl/Makefile: Add tst-mutex11.c.
2171 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
2172 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
2173 clockid parameters to pthread_mutex_clocklock.
2174 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
2175 clockid parameter to indicate which clock to be used. Call
2176 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
2177 (do_test): Call do_test_clock to separately test
2178 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
2179 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
2180 * nptl/tst-mutex9.c: Likewise.
2181 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
2182 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
2184 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
2186 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
2188 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
2190 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
2192 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
2194 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
2196 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2197 (GLIBC_2.30): Likewise.
2198 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2199 (GLIBC_2.30): Likewise.
2200 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2201 (GLIBC_2.30): Likewise.
2202 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2203 (GLIBC_2.30): Likewise.
2204 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2205 (GLIBC_2.30): Likewise.
2206 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
2208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2209 (GLIBC_2.30): Likewise.
2210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2211 (GLIBC_2.30): Likewise.
2212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2213 (GLIBC_2.30): Likewise.
2214 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2215 (GLIBC_2.30): Likewise.
2216 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2217 (GLIBC_2.30): Likewise.
2218 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2219 (GLIBC_2.30): Likewise.
2220 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
2222 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2223 (GLIBC_2.30): Likewise.
2224 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2225 (GLIBC_2.30): Likewise.
2226 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2227 (GLIBC_2.30): Likewise.
2228 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2229 (GLIBC_2.30): Likewise.
2231 nptl: Rename lll_timedlock to lll_clocklock and add clockid
2232 parameter to indicate the clock that the abstime parameter should
2233 be measured against in preparation for adding
2234 pthread_mutex_clocklock.
2235 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
2236 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
2237 from __lll_timedlock and add clockid parameter.
2238 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
2240 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
2241 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
2242 rather than __gettimeofday so that clockid can be used. This means
2243 that conversion from struct timeval is no longer required.
2244 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
2246 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
2247 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
2248 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
2249 from lll_timedlock_elision, add clockid parameter and use
2250 meaningful names for other parameters. (__pthread_mutex_timedlock):
2251 Pass CLOCK_REALTIME where necessary to lll_clocklock and
2252 lll_clocklock_elision.
2253 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2254 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
2255 clockid parameter. (__lll_clocklock_elision): Rename from
2256 __lll_timedlock_elision and add clockid parameter.
2257 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2258 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
2259 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
2260 (__lll_lock_elision): Call __lll_clocklock_elision rather than
2261 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
2262 (LLL_LOCK): Likewise.
2263 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2264 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
2266 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
2267 pthread_rwlock_clockwrlock which behave like
2268 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
2269 respectively, except they always measure abstime against the
2270 supplied clockid. The functions currently support CLOCK_REALTIME
2271 and CLOCK_MONOTONIC and return EINVAL if any other clock is
2273 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
2274 pthread_wrlock_clockwrlock.
2275 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
2276 pthread_rwlock_clockwrlock.c.
2277 * nptl/pthread_rwlock_clockrdlock.c: Implement
2278 pthread_rwlock_clockrdlock.
2279 * nptl/pthread_rwlock_clockwrlock.c: Implement
2280 pthread_rwlock_clockwrlock.
2281 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
2282 clockid parameter and verify that it indicates a supported clock on
2283 entry so that we fail even if it doesn't end up being used. Pass
2284 that clock on to futex_abstimed_wait when necessary.
2285 (__pthread_rwlock_wrlock_full): Likewise.
2286 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
2287 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
2288 be used because there's no timeout.
2289 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
2290 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
2291 be used because there is no timeout.
2292 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2293 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
2295 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2296 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
2298 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2299 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2300 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2301 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2302 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2303 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2304 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2305 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2306 (GLIBC_2.30): Likewise.
2307 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2308 (GLIBC_2.30): Likewise.
2309 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2310 (GLIBC_2.30): Likewise.
2311 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2312 (GLIBC_2.30): Likewise.
2313 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2314 (GLIBC_2.30): Likewise.
2315 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2317 (GLIBC_2.30): Likewise.
2318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2319 (GLIBC_2.30): Likewise.
2320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2321 (GLIBC_2.30): Likewise.
2322 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2323 (GLIBC_2.30): Likewise.
2324 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2325 (GLIBC_2.30): Likewise.
2326 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2327 (GLIBC_2.30): Likewise.
2328 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2329 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2330 (GLIBC_2.30): Likewise.
2331 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2332 (GLIBC_2.30): Likewise.
2333 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2334 (GLIBC_2.30): Likewise.
2335 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2336 (GLIBC_2.30): Likewise.
2337 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
2338 pthread_rwlock_clockwrlock timeout tests to match the existing
2339 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
2340 * nptl/tst-rwlock14.c (do_test): Likewise.
2341 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
2342 ancillary output throughout. (tf): Accept thread_args structure so
2343 that rwlock, a clockid and function name can be passed to the
2344 thread. (do_test_clock): Rename from do_test. Accept clockid
2345 parameter to specify test clock. Use the magic clockid value of
2346 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
2347 pthread_rwlock_timedwrlock should be tested, otherwise pass the
2348 specified clockid to pthread_rwlock_clockrdlock and
2349 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
2350 (do_test): Call do_test_clock to test each clockid in turn.
2351 * nptl/tst-rwlock7.c: Likewise.
2352 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
2353 thread_args structure so that the (now int) thread number, the
2354 clockid and the function name can be passed to the thread.
2355 (do_test_clock): Renamed from do_test. Pass the necessary
2356 thread_args when creating the reader and writer threads. Use
2357 xpthread_create and xpthread_join.
2358 (do_test): Call do_test_clock to test each clockid in turn.
2359 * manual/threads.texi: Add documentation for
2360 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
2362 nptl: pthread_rwlock: Move timeout validation into _full functions
2363 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
2364 Check validity of abstime parameter.
2365 (__pthread_rwlock_rwlock_full): Likewise.
2366 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2367 Remove check for validity of abstime parameter.
2368 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2371 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
2372 like pthread_cond_timedwait except it always measures abstime
2373 against the supplied clockid.
2374 * nptl/Makefile: Add tst-cond26 and tst-cond27
2375 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
2376 * sysdeps/nptl/pthread.h: Likewise
2377 * nptl/forward.c: Add __pthread_cond_clockwait
2378 * nptl/forward.c: Likewise
2379 * nptl/pthreadP.h: Likewise
2380 * sysdeps/nptl/pthread-functions.h: Likewise
2381 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
2382 clockid parameter and comment describing why we don't need to check
2383 its value. Use that value when calling
2384 futex_abstimed_wait_cancelable rather than reading the clock from
2385 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
2386 (__pthread_cond_timedwait): Read clock from flags and pass it to
2387 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
2388 function with weak alias from pthread_cond_clockwait.
2389 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2390 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2391 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2392 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2393 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2394 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2395 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2396 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2397 (GLIBC_2.30): Likewise.
2398 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2399 (GLIBC_2.30): Likewise.
2400 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2401 (GLIBC_2.30): Likewise.
2402 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2403 (GLIBC_2.30): Likewise.
2404 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2405 (GLIBC_2.30): Likewise.
2406 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2408 (GLIBC_2.30): Likewise.
2409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2410 (GLIBC_2.30): Likewise.
2411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2412 (GLIBC_2.30): Likewise.
2413 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2414 (GLIBC_2.30): Likewise.
2415 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2416 (GLIBC_2.30): Likewise.
2417 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2418 (GLIBC_2.30): Likewise.
2419 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2420 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2421 (GLIBC_2.30): Likewise.
2422 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2423 (GLIBC_2.30): Likewise.
2424 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2425 (GLIBC_2.30): Likewise.
2426 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2427 (GLIBC_2.30): Likewise.
2428 * nptl/tst-cond11.c (run_test): Support testing
2429 pthread_cond_clockwait too by using a special magic
2430 CLOCK_USE_ATTR_CLOCK value to determine whether to call
2431 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
2432 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
2433 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
2434 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
2435 clocks to pthread_cond_clockwait.
2436 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
2437 struct timespec and pthread_cond_clockwait.
2438 * manual/threads.texi: Document pthread_cond_clockwait.
2440 nptl: Add POSIX-proposed sem_clockwait which behaves just like
2441 sem_timedwait, but measures abstime against the specified clock.
2442 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
2443 clockid parameters to indicate the clock which abstime should be
2445 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
2446 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
2447 __new_sem_wait_slow.
2448 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
2450 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
2451 sem_clockwait.c to match those used for sem_timedwait.c.
2452 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
2453 * nptl/Versions (GLIBC_2.30): Likewise.
2454 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2455 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2456 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2457 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2458 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2459 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2460 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2461 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2462 (GLIBC_2.30): Likewise.
2463 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2464 (GLIBC_2.30): Likewise.
2465 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2466 (GLIBC_2.30): Likewise.
2467 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2468 (GLIBC_2.30): Likewise.
2469 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2470 (GLIBC_2.30): Likewise.
2471 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2473 (GLIBC_2.30): Likewise.
2474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2475 (GLIBC_2.30): Likewise.
2476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2477 (GLIBC_2.30): Likewise.
2478 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2479 (GLIBC_2.30): Likewise.
2480 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2481 (GLIBC_2.30): Likewise.
2482 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2483 (GLIBC_2.30): Likewise.
2484 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2485 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2486 (GLIBC_2.30): Likewise.
2487 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2488 (GLIBC_2.30): Likewise.
2489 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2490 (GLIBC_2.30): Likewise.
2491 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2492 (GLIBC_2.30): Likewise.
2493 * nptl/tst-sem17.c: Add new test for passing invalid clock to
2495 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
2496 tests to also test sem_clockwait.
2497 * manual/threads.texi: Document sem_clockwait.
2499 nptl: Add clockid parameter to futex timed wait calls
2500 * sysdeps/nptl/lowlevellock-futex.h,
2501 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
2502 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
2503 takes a clockid rather than a special clockbit.
2504 * sysdeps/nptl/lowlevellock-futex.h: Add
2505 lll_futex_supported_clockid so that client functions can check
2506 whether their clockid parameter is valid even if they don't
2507 ultimately end up calling lll_futex_clock_wait_bitset.
2508 * sysdeps/nptl/futex-internal.h,
2509 sysdeps/unix/sysv/linux/futex-internal.h
2510 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
2511 clockid_t parameter to indicate which clock the absolute time
2512 passed should be measured against. Pass that clockid onto
2513 lll_futex_clock_wait_bitset. Add invalid clock as reason for
2515 * sysdeps/nptl/futex-internal.h,
2516 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
2517 futex_abstimed_supported_clockid so that client functions can check
2518 whether their clockid parameter is valid even if they don't
2519 ultimately end up calling futex_abstimed_wait.
2520 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
2521 code to calculate relative timeout for
2522 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
2523 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
2524 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
2525 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
2526 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
2527 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2528 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
2530 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2533 * posix/tst-mmap-offset.c: Mention BZ #24699.
2534 (do_test_bz21270): Rename to do_test_large_offset and use
2535 mmap64_maximum_offset to check for maximum expected offset value.
2536 * sysdeps/generic/mmap_info.h: New file.
2537 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
2538 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
2541 2019-07-10 DJ Delorie <dj@redhat.com>
2542 Sergei Trofimovich <slyfox@inbox.ru>
2546 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
2548 * nss/tst-nss-db-endgrent.c: New.
2549 * nss/tst-nss-db-endgrent.root: New.
2550 * nss/tst-nss-db-endpwent.c: New.
2551 * nss/tst-nss-db-endpwent.root: New.
2552 * nss/Makefile: Add new tests.
2553 * support/links-dso-program-c.c: Add selinux dependency.
2554 * support/links-dso-program.cc: Add selinux dependency.
2555 * support/Makefile: Build those with -lselinux if enabled.
2557 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
2559 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
2560 DT_AARCH64_VARIANT_PCS check.
2561 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
2562 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
2565 2019-07-10 Andreas Schwab <schwab@suse.de>
2568 * malloc/malloc.h (__malloc_check_init): Don't declare.
2569 * include/malloc.h (__malloc_check_init): Likewise.
2570 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
2571 * manual/memory.texi (__malloc_check_init): Don't mention it.
2573 2019-07-10 Mao Han <han_mao@c-sky.com>
2575 * locale/Makefile: Fix tst-locale-locpath arguments passing.
2577 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
2579 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
2580 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
2582 2019-07-08 DJ Delorie <dj@redhat.com>
2585 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
2586 * io/tst-ftw-lnk.c: New test.
2587 * io/Makefile: Run it.
2589 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2591 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
2592 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
2593 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
2594 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
2595 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
2596 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
2597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
2598 Adjust implementation path.
2599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
2600 Adjust implementation path.
2601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
2602 Adjust implementation path.
2603 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2604 (libm-sysdep_routines): Add s_log* objects.
2605 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
2606 CFLAGS-s_logb-power7.c): New fule.
2607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
2609 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
2611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
2613 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
2615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
2616 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
2617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
2619 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
2621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
2623 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
2625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
2626 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
2627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
2629 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
2631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
2633 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
2635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
2636 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
2637 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
2638 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
2639 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2640 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2642 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
2643 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
2644 powerpc32 integer 0 converting to -0.
2646 * benchtests/Makefile (bench-math): Add logb.
2647 * benchtests/logb-inputs: New file.
2648 * benchtests/logbf-inputs: New file.
2650 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
2651 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
2652 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
2653 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
2654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2658 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
2659 sysdep_routines): Add s_modf* objects.
2660 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
2661 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
2662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
2664 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
2666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
2668 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
2670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
2671 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
2672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
2674 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
2676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
2677 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
2679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
2680 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
2682 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
2683 twoM500, twoM600, two60factor, pdnum): Remove.
2684 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
2685 (__ieee754_hypot): Replace static variables with inline definition,
2686 remove ununsed branches.
2687 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2688 (libm-sysdep_routines): Remove e_hypot-* objects.
2689 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
2690 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
2692 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
2693 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
2694 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
2695 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
2696 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
2698 * benchtests/Makefile (bench-math): Add hypot.
2699 * benchtests/hypot-inputs: New file.
2701 2019-07-08 Vincent Chen <vincentc@andestech.com>
2703 * sysdeps/unix/sysv/linux/dl-vdso.h
2704 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
2706 2019-07-04 Andreas Schwab <schwab@suse.de>
2709 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
2711 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2713 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
2714 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
2715 * sysdeps/aarch64/sys/ifunc.h: New file.
2716 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
2717 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
2719 2019-07-01 Florian Weimer <fweimer@redhat.com>
2722 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
2723 Replace __vfork with __libpthread_version_placeholder for
2725 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
2726 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
2728 * nptl/pt-vfork.c: Remove file.
2729 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
2730 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
2731 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2732 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2733 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
2734 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
2735 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
2736 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
2737 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
2738 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2739 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
2740 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
2741 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
2742 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2743 Remove vfork, __vfork.
2744 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2746 (GLIBC_2.1.2): Replace __vfork with
2747 __libpthread_version_placeholder.
2748 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2749 Remove vfork, __vfork.
2750 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2752 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2754 (GLIBC_2.1.2): Replace __vfork with
2755 __libpthread_version_placeholder.
2756 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2758 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2759 (GLIBC_2.4): Remove vfork, __vfork.
2760 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2761 (GLIBC_2.0): Remove vfork.
2762 (GLIBC_2.1.2): Replace __vfork with
2763 __libpthread_version_placeholder.
2764 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2765 (GLIBC_2.18): Remove vfork, __vfork.
2766 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2767 (GLIBC_2.0): Remove vfork.
2768 (GLIBC_2.2): Remove __vfork.
2769 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
2770 (GLIBC_2.2): Remove vfork, __vfork.
2771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/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/powerpc/powerpc64/be/libpthread.abilist
2776 (GLIBC_2.3): Remove vfork, __vfork.
2777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2778 (GLIBC_2.17): Likewise.
2779 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2780 (GLIBC_2.0): Remove vfork.
2781 (GLIBC_2.1.2): Replace __vfork with
2782 __libpthread_version_placeholder.
2783 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2784 (GLIBC_2.2): Remove vfork, __vfork.
2785 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2787 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2788 (GLIBC_2.0): Remove vfork.
2789 (GLIBC_2.1.2): Replace __vfork with
2790 __libpthread_version_placeholder.
2791 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2792 (GLIBC_2.2): Remove vfork, __vfork.
2793 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2794 (GLIBC_2.2.5): Likewise.
2795 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2796 (GLIBC_2.16): Likewise.
2797 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
2798 Remove __errno_location.
2800 2019-07-02 Florian Weimer <fweimer@redhat.com>
2803 * malloc/Depend: Add nptl and htl, due to potential indirect
2804 libpthread dependency of memusagestat.
2806 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
2808 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
2811 2019-07-01 Florian Weimer <fweimer@redhat.com>
2813 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
2814 variant for arm-linux-gnueabi.
2816 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
2819 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
2821 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
2822 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
2823 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
2824 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
2825 and tst-cet-legacy-mod-6c.
2826 (CFLAGS-tst-cet-legacy-5a.c): New.
2827 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
2828 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
2829 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
2830 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
2831 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
2832 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
2833 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
2834 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
2835 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
2836 ($(objpfx)tst-cet-legacy-5a): Likewise.
2837 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
2838 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
2839 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
2840 ($(objpfx)tst-cet-legacy-5b): Likewise.
2841 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
2842 (tst-cet-legacy-5b-ENV): Likewise.
2843 ($(objpfx)tst-cet-legacy-6a): Likewise.
2844 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
2845 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
2846 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
2847 ($(objpfx)tst-cet-legacy-6b): Likewise.
2848 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
2849 (tst-cet-legacy-6b-ENV): Likewise.
2850 * sysdeps/x86/tst-cet-legacy-5.c: New file.
2851 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
2852 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
2853 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
2854 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
2855 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
2856 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
2857 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
2858 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
2859 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
2860 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
2861 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
2862 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
2863 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
2865 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
2867 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
2868 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
2869 (__fegetround_ISA300) New.
2870 (__fegetround_ISA2) New.
2871 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
2872 (_FPU_MFFS): Move implementation...
2874 (_FPU_MFFSL): Move implementation....
2875 (_FPU_GET_RC_ISA300): Here. New.
2876 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
2877 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
2878 (fegetenv_status): New.
2879 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
2880 instead of fegetenv_register().
2881 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
2883 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
2885 * benchtests/bench-math-inlines.c: Increase iterations.
2886 * benchtests/bench-memcmp.c: Likewise.
2887 * benchtests/bench-rawmemchr.c: Likewise.
2888 * benchtests/bench-strcmp.c: Likewise.
2889 * benchtests/bench-strcpy_chk.c: Likewise.
2890 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
2891 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
2892 (INNER_LOOP_ITERS_SMALL): Likewise.
2893 * benchtests/bench-strncat.c: Increase iterations.
2894 * benchtests/bench-strncmp.c: Increase iterations.
2895 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
2896 * benchtests/bench-strrchr.c: Increase iterations.
2897 * benchtests/bench-strstr.c: Keep iterations unchanged.
2898 * benchtests/bench-strtod.c: Increase iterations.
2900 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2902 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
2903 with INNER_LOOP_ITERS_LARGE.
2904 * benchtests/bench-memchr.c: Likewise.
2905 * benchtests/bench-rawmemchr.c: Likewise.
2906 * benchtests/bench-strcat.c: Likewise.
2907 * benchtests/bench-strchr.c: Likewise.
2908 * benchtests/bench-string.h: Likewise.
2909 * benchtests/bench-strlen.c: Likewise.
2910 * benchtests/bench-strncpy.c: Likewise.
2911 * benchtests/bench-strnlen.c: Likewise.
2913 2019-06-28 Florian Weimer <fweimer@redhat.com>
2915 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
2916 Use mmap instead of malloc. malloc with M_PERTURB writes to the
2917 entire allocated memory range.
2919 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
2921 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
2922 (prepare_version_base): New helper inline function.
2923 (prepare_version): New macro replacing PREPARE_VERSION.
2924 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
2926 2019-06-28 Florian Weimer <fweimer@redhat.com>
2929 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
2930 mismatch in a versioned symbol reference.
2931 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
2932 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
2933 tst-sonamemove-dlopen.
2934 (module-names): Add tst-sonamemove-linkmod1,
2935 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
2936 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
2937 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
2938 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
2939 (tst-sonamemove-runmod1.so): Link against
2940 tst-sonamemove-runmod2.so.
2941 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
2942 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
2943 tst-sonamemove-runmod2.so.
2944 (tst-sonamemove-dlopen): Link with -ldl.
2945 (tst-sonamemove-dlopen.out): Likewise.
2946 * elf/tst-sonamemove-link.c: New file.
2947 * elf/tst-sonamemove-dlopen.c: Likewise.
2948 * elf/tst-sonamemove-linkmod1.c: Likewise.
2949 * elf/tst-sonamemove-linkmod1.map: Likewise.
2950 * elf/tst-sonamemove-runmod1.c: Likewise.
2951 * elf/tst-sonamemove-runmod1.map: Likewise.
2952 * elf/tst-sonamemove-runmod2.c: Likewise.
2953 * elf/tst-sonamemove-runmod2.map: Likewise.
2955 2019-06-28 Florian Weimer <fweimer@redhat.com>
2957 * support/xdlfcn.h (xdlvsym): Declare function.
2958 * support/xdlfcn.c (xdlvsym): Define funciton.
2960 2019-06-28 Florian Weimer <fweimer@redhat.com>
2963 io: Remove the copy_file_range emulation.
2964 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
2965 not define and call copy_file_range_compat.
2966 * io/Makefile (tests-static, tests-internal): Do not add
2967 tst-copy_file_range-compat.
2968 * io/copy_file_range-compat.c: Remove file.
2969 * io/copy_file_range.c (copy_file_range): Define as stub.
2970 * io/tst-copy_file_range-compat.c: Remove file.
2971 * io/tst-copy_file_range.c (xdevfile): Remove variable.
2972 (typical_sizes): Update comment. Remove 16K sizes.
2973 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
2975 (find_maximum_offset, pipe_as_source, pipe_as_destination)
2976 (delayed_write_failure_beginning, delayed_write_failure_end)
2977 (cross_device_failure, enospc_failure_1, enospc_failure)
2978 (oappend_failure): Remove functions.
2979 (tests): Adjust test case list.
2980 (do_test): Remove file system search code. Check for ENOSYS from
2981 copy_file_range. Do not free xdevfile.
2982 * manual/llio.texi (Copying File Data): Document ENOSYS error from
2983 copy_file_range. Do not document the EXDEV error, which future
2984 kernels may not report. Update the wording to reflect that
2985 further errors are possible.
2986 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2987 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
2989 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2990 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2992 * sysdeps/unix/sysv/linux/kernel-features.h
2993 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
2995 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2996 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
2998 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2999 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
3002 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3004 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
3005 used as a mask for the mode argument of __vfprintf_internal.
3006 * stdio-common/printf-parse.h (printf_arg): New union member:
3008 * stdio-common/vfprintf-internal.c
3009 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
3010 (PARSE_FLOAT_VA_ARG): Likewise.
3011 (SETUP_FLOAT128_INFO): Likewise.
3012 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
3013 SETUP_FLOAT128_INFO.
3014 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
3015 floating-point value to the new union member, pa_float128.
3016 (printf_positional): Zero-initialize args_value[cnt] with memset.
3018 2019-06-27 Florian Weimer <fweimer@redhat.com>
3021 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
3022 buffer size if necessary.
3023 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3025 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
3027 (large_buffer_checks): Likewise.
3028 (do_test): Call large_buffer_checks.
3030 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
3032 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
3033 * sysdeps/x86/dl-lookupcfg.h: Here.
3034 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
3036 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3038 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3039 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
3040 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
3042 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3043 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3044 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
3045 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3046 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
3048 * sysdeps/powerpc/powerpc32/fpu/Makefile
3049 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
3050 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
3051 and fctidz optimization.
3052 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
3053 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
3054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3055 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
3056 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
3057 CFLAGS-s_lround-power5+.c): New rule.
3058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
3060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
3062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
3064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
3066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
3068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3078 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3079 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
3080 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3081 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
3082 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3083 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3084 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
3086 2019-06-26 Vincent Chen <vincentc@andestech.com>
3088 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
3089 specific system calls, fp_udfiex_crtl and udftrap.
3091 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
3093 * nptl/tst-eintr1.c (tf1): Add return statement.
3094 (do_test): Remove unused th variable.
3096 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
3098 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
3099 Return error if get_character fails.
3101 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
3103 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3105 2019-06-24 Rafał Lużyński <digitalfreak@lingonborough.com>
3108 * localedata/locales/szl_PL (day): Use the correct Unicode
3109 sequences instead of non-ASCII characters.
3111 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
3114 * localedata/locales/szl_PL (abday): Spelling corrections.
3118 (alt_mon): This, then apply spelling corrections.
3119 (mon): New entry, month names in the genitive case.
3121 2019-06-21 Rafał Lużyński <digitalfreak@lingonborough.com>
3124 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
3125 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
3126 (thousands_sep): Likewise.
3127 (grouping): Set to 3;3.
3129 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
3131 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
3132 PREPARE_VERSION_KNOWN.
3133 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3134 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
3136 (VDSO_HASH_LINUX_2_6_39): Likewise.
3137 (VDSO_NAME_LINUX_4_9): Likewise.
3138 (VDSO_HASH_LINUX_4_9): Likewise.
3139 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
3140 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3141 (_libc_vdso_platform_setup): Likewise.
3142 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
3143 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
3145 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
3148 2019-06-20 Mike Crowe <mac@mcrowe.com>
3150 * nptl/eintr.c: Use libsupport.
3151 * nptl/tst-eintr1.c: Likewise.
3152 * nptl/tst-eintr2.c: Likewise.
3153 * nptl/tst-eintr3.c: Likewise.
3154 * nptl/tst-eintr4.c: Likewise.
3155 * nptl/tst-eintr5.c: Likewise.
3156 * nptl/tst-mutex-errorcheck.c: Likewise.
3157 * nptl/tst-mutex5.c: Likewise.
3159 * support/test-driver.h: Add verbose_printf macro.
3161 * support/xtime.h: Add xclock_now() helper function.
3163 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
3164 Florian Weimer <fweimer@redhat.com>
3167 * libio/genops.c (_IO_unbuffer_all)
3168 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
3169 buffers and access _IO_FILE_complete members of legacy libio streams.
3170 * libio/tst-bz24228.c: New file.
3171 * libio/tst-bz24228.map: Likewise.
3172 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
3173 [build-shared] (generated): Add tst-bz24228.mtrace and
3175 [run-built-tests && build-shared] (tests-special): Add
3176 $(objpfx)tst-bz24228-mem.out.
3177 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
3178 ($(objpfx)tst-bz24228-mem.out): New rule.
3180 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
3182 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
3183 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
3184 (__FPU_MFFSL): Likewise.
3185 (_FPU_SETCW): Likewise.
3187 2019-06-19 Stan Shebs <stanshebs@google.com>
3188 Raoni Fassina Firmino <raoni@linux.ibm.com>
3191 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
3192 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
3193 static-linking version.
3194 * sysdeps/unix/sysv/linux/powerpc/Makefile
3195 (tests-static): Add test-gettimebasefreq-static.
3197 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
3200 2019-06-19 Rafał Lużyński <digitalfreak@lingonborough.com>
3203 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
3204 between the currency symbol and the minus sign).
3205 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3207 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
3210 * string/test-strcasestr.c (check_result): Add NULL check.
3211 * nss/tst-field.c (check_rewrite): Likewise.
3212 * benchtests/bench-strstr.c (do_one_test): Likewise.
3213 * string/test-strstr.c (check_result): Likewise.
3214 * argp/argp-test.c (popt): Increase size of buf to 12.
3215 * benchtests/bench-malloc-simple.c (bench):
3216 Do not initialize tests array out of bounds.
3218 2019-06-19 Florian Weimer <fweimer@redhat.com>
3221 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
3224 2019-06-18 Florian Weimer <fweimer@redhat.com>
3227 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
3228 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
3229 fail when called from dlopen.
3230 * elf/Makefile [have-fpie && build-shared] (tests): Add
3232 (tst-dlopen-pie): Link with -ldl.
3233 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
3234 * elf/tst-dlopen-pie.c (do_test): New file.
3236 2019-06-17 Rafał Lużyński <digitalfreak@lingonborough.com>
3239 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
3240 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
3241 between the currency symbol and the minus sign).
3242 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3243 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
3245 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3247 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
3248 sysdep-rtld-routines): Remove rules.
3249 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
3250 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
3251 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
3252 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
3253 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
3254 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
3255 vDSO path for SHARED.
3256 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
3257 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
3258 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3259 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
3260 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
3261 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
3263 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3264 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
3265 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
3266 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
3267 CFLAGS-s_llround-power5+.c): New rule.
3268 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
3270 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
3272 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
3274 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
3276 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
3278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
3279 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
3280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
3281 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
3282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
3283 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
3284 * sysdeps/powerpc/powerpc64/fpu/Makefile
3285 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
3286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3287 (libm-sysdep_routines): Remove s_llround-* objects.
3288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
3290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
3292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
3294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
3296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
3298 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3299 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3300 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
3301 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
3302 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
3303 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
3304 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
3305 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
3306 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3307 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
3308 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3309 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
3310 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3311 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
3313 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
3314 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
3315 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
3316 * sysdeps/powerpc/powerpc32/fpu/Makefile
3317 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
3318 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
3320 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
3321 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
3322 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
3323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3324 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
3325 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
3326 CFLAGS-s_lrint-ppc32.c): New rule.
3327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3337 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3338 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3339 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3340 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
3343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
3345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
3347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
3349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
3352 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3353 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
3355 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
3356 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
3358 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
3360 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
3362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
3363 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
3364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
3365 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
3366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
3367 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
3368 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
3369 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
3370 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3371 (libm-sysdep_routines): Remove s_llrint-* objects.
3372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
3374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
3376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
3377 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
3378 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
3379 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
3380 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
3381 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
3382 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3383 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
3384 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3385 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
3387 2019-06-14 Florian Weimer <fweimer@redhat.com>
3389 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
3390 argument to __glibc_has_include to inhibit macro expansion.
3392 2019-06-14 Florian Weimer <fweimer@redhat.com>
3394 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
3395 function-like macro, so that __has_include can inhibit expansion
3398 2019-06-13 Joseph Myers <joseph@codesourcery.com>
3400 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
3403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3404 Allow memset in libc.so.
3406 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3408 * sysdeps/aarch64/dl-dtprocnum.h: New file.
3409 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
3410 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
3411 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
3412 symbols at load time.
3413 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
3415 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3417 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
3418 (DT_AARCH64_VARIANT_PCS): Define.
3420 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3423 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
3425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
3429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
3430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3433 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3434 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
3435 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3436 Remove s_finite* objects.
3437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
3438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
3439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
3440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
3442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3443 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3444 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
3445 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3446 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
3448 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
3449 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
3451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3452 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
3454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
3456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
3458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3462 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3463 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
3464 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3465 Remove s_isinf* and s_isinf* objects.
3466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
3469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
3471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3472 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3473 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
3474 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3475 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
3477 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
3478 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
3480 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
3481 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
3482 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3484 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
3486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
3488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
3490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
3492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
3494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
3497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
3500 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3501 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
3502 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3503 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
3504 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3505 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
3506 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
3507 Remove s_isnan-* and s_isnanf-* objects.
3508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
3509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
3510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
3512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
3513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
3514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
3515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3517 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3518 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3519 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3520 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3521 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3522 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
3523 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3524 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
3526 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
3527 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
3529 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
3530 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
3531 CFLAGS-bench-isfinite.c): New rule.
3532 * benchtests/isnan-input: New file.
3533 * benchtests/isinf-input: New file.
3534 * benchtests/isfinite-input: New file.
3536 * sysdeps/powerpc/fpu/s_copysign.c: New file.
3537 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
3538 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
3539 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
3540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3541 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
3543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3551 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3552 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
3553 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
3554 Remove s_copysign-power6 s_copysign-ppc64.
3555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
3557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
3559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
3561 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3562 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
3563 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3564 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
3566 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
3567 round_to_integer_float, round_mode): Add RINT handling.
3568 (reset_fenv_mode): New symbol.
3569 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
3570 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
3571 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
3572 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3573 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3574 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3576 2019-06-12 Florian Weimer <fweimer@redhat.com>
3579 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
3580 * libio/freopen.c (freopen): Use it.
3582 2019-06-12 Florian Weimer <fweimer@redhat.com>
3584 Linux: Deprecate sysctl.
3585 * include/sysctl.h (__sysctl): Remove declaration.
3586 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
3588 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
3589 (sysctl): Add deprecation attribute.
3590 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
3591 directly, to avoid the deprecation warning. Do not include
3593 (__sysctl): Remove hidden alias.
3595 2019-06-12 Florian Weimer <fweimer@redhat.com>
3597 Linux: Use kernel headers for statx definitions if available.
3598 * include/bits/statx-generic.h: New file.
3599 * include/bits/types/struct_statx.h: Likewise.
3600 * include/bits/types/struct_statx_timestamp.h: Likewise.
3601 * io/Makefile (headers): Add bits/statx-generic.h.
3602 * io/bits/statx-generic.h: New file. Partly copied from
3604 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
3605 define original_statx.
3606 * io/bits/types/struct_statx.h: Likewise.
3607 * io/bits/types/struct_statx_timestamp.h: Likewise.
3608 (statx_generic): Use original_statx.
3609 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
3610 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
3612 2019-06-12 Florian Weimer <fweimer@redhat.com>
3614 * misc/sys/cdefs.h (__glibc_has_include): Define.
3616 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3618 * string/memmem.c (__memmem): Rewrite to improve performance.
3620 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3622 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
3624 (two_way_long_needle): Block inlining.
3625 * string/strstr.c (strstr2): Add new function.
3626 (strstr3): Likewise.
3627 (STRSTR): Completely rewrite strstr to improve performance.
3629 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
3631 * benchtests/bench-strstr.c (test_hard_needle): New function.
3633 2019-06-10 Joseph Myers <joseph@codesourcery.com>
3635 * malloc/tst-calloc.c: Include <libc-diag.h>.
3636 (null_test): Ignore -Wunused-result around calls to calloc.
3637 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
3638 (do_test): Ignore -Wunused-result around call to malloc.
3640 2019-06-07 Florian Weimer <fweimer@redhat.com>
3642 Linux: Add getdents64 system call.
3643 * include/dirnent.h (getdents): Add comment and change buffer
3644 argument type to void *.
3645 (getdents64): Likewise. Add hidden prototype.
3646 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
3648 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
3650 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
3651 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
3652 argument type to void *.
3653 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
3654 Add hidden definition and getdents64 alias.
3655 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3657 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
3658 * manual/filesys.texi (Accessing Directories): Add Low-level
3659 Directory Access node reference.
3660 (Opening a Directory): Cross-reference it.
3661 (Low-level Directory Access): New node.
3662 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3664 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3666 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3667 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3669 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3671 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3673 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3675 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3677 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3679 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3681 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3682 (GLIBC_2.30): Likewise.
3683 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3684 (GLIBC_2.30): Likewise.
3685 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3686 (GLIBC_2.30): Likewise.
3687 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3688 (GLIBC_2.30): Likewise.
3689 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3692 (GLIBC_2.30): Likewise.
3693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3694 (GLIBC_2.30): Likewise.
3695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3696 (GLIBC_2.30): Likewise.
3697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3698 (GLIBC_2.30): Likewise.
3699 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3701 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3703 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3705 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3706 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3708 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3710 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3712 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3715 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
3717 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
3721 (_FPU_GETCW): Use __FPU_MFFS().
3722 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
3724 2019-06-06 Florian Weimer <fweimer@redhat.com>
3726 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
3727 internal GCC preprocessor identifier __has_include__.
3729 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
3731 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
3732 with call to equivalent function.
3734 2019-06-04 Florian Weimer <fweimer@redhat.com>
3736 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
3737 (do_release_shlib): Adjust for __twalk_r.
3738 (__gconv_release_shlib): Call __twalk_r.
3740 2019-06-04 Andreas Schwab <schwab@suse.de>
3743 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
3744 no irreversible characters occurred.
3745 * iconv/gconv_simple.c (internal_ucs4_loop)
3746 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
3747 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
3748 (ucs4_internal_loop_single, internal_ucs4le_loop)
3749 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
3750 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
3751 (ucs4le_internal_loop_single): Add const to outend.
3752 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
3753 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
3754 * iconv/Makefile (tests): Add tst-iconv7.
3755 * iconv/tst-iconv7.c: New file.
3757 2019-06-03 Joseph Myers <joseph@codesourcery.com>
3759 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
3761 2019-06-01 Florian Weimer <fweimer@redhat.com>
3763 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
3764 * sysdeps/unix/sysv/linux/arm/Makefile
3765 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
3766 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
3767 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
3768 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
3769 compatibility symbols.
3771 2019-05-31 Florian Weimer <fweimer@redhat.com>
3773 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
3774 system calls for the arm architecture: breakpoint, get_tls,
3775 set_tls, usr26, usr32.
3777 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3779 * sysdeps/powerpc/Makefile
3780 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
3781 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
3782 Declare '.machine power7' to get support for ldbrx.
3783 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
3784 directive based on the directory of the file.
3785 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3786 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3787 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
3788 '.machine' directive.
3789 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
3790 (VADDUQM_V7_V8): Remove.
3791 (__STRCASECMP): Replace macros with actual instructions.
3792 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
3793 '.machine' directive.
3794 (VCLZD_V8_v7): Remove.
3795 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
3797 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3799 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
3801 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
3803 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3805 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3807 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
3808 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
3809 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
3810 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
3811 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
3812 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3814 2019-05-28 mansayk <6688000@gmail.com>
3817 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
3819 2019-05-28 mansayk <6688000@gmail.com>
3822 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
3823 (abmon): Likewise, but remove the trailing dots.
3825 2019-05-28 Joseph Myers <joseph@codesourcery.com>
3827 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
3829 2019-05-27 Florian Weimer <fweimer@redhat.com>
3831 * nptl/nptl-init.c: Add comment.
3833 2019-05-24 Florian Weimer <fweimer@redhat.com>
3835 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
3836 struct in_addr/struct in6_addr alignment.
3838 2019-05-23 Joseph Myers <joseph@codesourcery.com>
3840 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3841 (F_SEAL_FUTURE_WRITE): New macro.
3843 2019-05-23 Alexandra Hájková <ahajkova@redhat.com>
3845 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
3846 * elf/tst-ldconfig-bad-aux-cache.c: New file.
3847 * elf/tst-ldconfig_aux-cache.root: New directory.
3848 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
3849 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
3850 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
3852 2019-05-22 Zack Weinberg <zackw@panix.com>
3854 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
3856 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
3857 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
3859 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
3860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
3861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
3864 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
3865 Issue an #error if used with a compiler in SPE-float mode.
3866 * sysdeps/powerpc/powerpc32/__longjmp_common.S
3867 * sysdeps/powerpc/powerpc32/setjmp_common.S
3868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
3870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
3871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
3872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3874 Remove code to preserve SPE register state.
3876 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3877 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3878 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
3879 Remove __SPE__ ifndefs.
3881 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
3883 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
3884 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
3885 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
3886 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
3887 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
3888 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
3889 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
3890 (INNER_LOOP_ITERS_MEDIUM): New define.
3891 (INNER_LOOP_ITERS_SMALL): New define.
3892 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
3893 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
3894 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
3895 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
3896 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
3898 2019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3900 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
3902 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
3903 (SEMTIMEDOP_IPC_ARGS): Likewise.
3905 2019-05-21 Florian Weimer <fweimer@redhat.com>
3908 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
3909 before updating __counter field and release it afterwards. Add
3911 * iconv/gconv.h (struct __gconv_step): Mention synchronization
3912 requirement for __counter member.
3914 2019-05-21 Florian Weimer <fweimer@redhat.com>
3917 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
3918 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
3919 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
3920 instead of __gconv_release_step.
3921 * libio/Makefile (tests): Add tst-wfile-gconv.
3922 (tests-container): Add tst-wfile-ascii.
3923 (tst-wfile-gconv-ENV): Enable mtrace.
3924 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
3925 (tests-special): Add tst-wfile-gconv-mem.out.
3926 (tst-wfile-gconv.out): Depend on locales.
3927 (tst-wfile-gconv-mem.out): Add mtrace rule.
3928 * libio/tst-wfile-ascii.c: New file.
3929 * libio/tst-wfile-gconv.c: Likewise.
3931 2019-05-20 Florian Weimer <fweimer@redhat.com>
3934 libio: Remove codecvt vtable.
3935 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
3937 * libio/iofgetpos.c (_IO_new_fgetpos): Call
3938 __libio_codecvt_encoding.
3939 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
3940 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3941 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
3942 * libio/iofwide.c (__libio_codecvt): Remove variable.
3943 (_IO_fwide): Do not copy __libio_codecvt.
3944 (__libio_codecvt_out): Rename from do_out and export.
3945 (do_unshift): Remove function.
3946 (__libio_codecvt_in): Rename from do_in and export.
3947 (__libio_codecvt_encoding): Rename from do_encoding and export.
3948 (do_always_noconv): Remove function.
3949 (__libio_codecvt_length): Rename from do_length and export.
3950 (do_max_length): Remove function.
3951 * libio/libio.h (enum __codecvt_result): Remove definition; moved
3953 (struct _IO_codecvt): Remove fields __codecvt_destr,
3954 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
3955 __codecvt_do_encoding, __codecvt_do_always_noconv,
3956 __codecvt_do_length, __codecvt_do_max_length.
3957 * libio/libioP.h (enum __codecvt_result): Define; moved from
3959 (__libio_codecvt_out, __libio_codecvt_in)
3960 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
3962 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
3963 (_IO_wfile_underflow): Call __libio_codecvt_in.
3964 (_IO_wfile_underflow): Likewise.
3965 (_IO_wfile_underflow_mmap): Likewise.
3966 (_IO_wfile_sync): Call __libio_codecvt_encoding,
3967 __libio_codecvt_length.
3968 (adjust_wide_data): Call __libio_codecvt_encoding,
3970 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
3971 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
3972 __libio_codecvt_length.
3974 2019-05-20 Florian Weimer <fweimer@redhat.com>
3976 * support/support.h (support_sbindir_prefix): Declare.
3977 (support_install_rootsbindir): Update comment.
3978 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
3979 * support/support_paths.c (support_sbindir_prefix): Define.
3981 2019-05-20 Mike Crowe <mac@mcrowe.com>
3983 * support/timespec.c: Add backslash to correct newline in failure
3986 * support/timespec.h: Correct confusing comment.
3988 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3990 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
3992 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
3993 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
3994 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
3995 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
3998 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
4001 2019-05-20 Joseph Myers <joseph@codesourcery.com>
4003 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
4004 (NT_ARM_PACG_KEYS): Likewise.
4006 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
4008 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
4009 (tcache_put): Remove redundant assert.
4010 (tcache_get): Remove redundant asserts.
4011 (__libc_malloc): Check tcache count is not zero.
4012 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
4014 2019-05-17 Florian Weimer <fweimer@redhat.com>
4016 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
4018 2019-05-16 Joseph Myers <joseph@codesourcery.com>
4020 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4021 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
4023 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
4025 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4026 (__ASSUME_STATX): Likewise.
4028 2019-05-16 Florian Weimer <fweimer@redhat.com>
4030 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
4032 (LINE_PARSER): Do not map IPv4 addresses.
4033 (internal_nis_gethostent_r): Remove flags argument. Adjust call
4035 (_nss_nis_gethostent_r): Always pass AF_INET to
4036 internal_nis_gethostent_r.
4037 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4039 (_nss_nis_gethostbyname2_r): Adjust call to
4040 internal_nis_gethostent_r.
4041 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
4042 call to internal_nis_gethostent_r.
4043 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
4045 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
4046 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
4047 Remove flags argument. Do not map IPv4 addresses.
4048 (internal_nisplus_gethostent_r): Adjust call to
4049 _nss_nisplus_parse_hostent.
4050 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4051 to _nss_nisplus_parse_hostent.
4052 (_nss_nisplus_gethostbyname2_r): Adjust call to
4053 internal_gethostbyname2_r.
4054 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
4055 Adjust call to internal_gethostbyname2_r.
4056 (_nss_nisplus_gethostbyaddr_r): Adjust call to
4057 _nss_nisplus_parse_hostent.
4058 (_nss_nisplus_gethostbyname4_r): Adjust call to
4059 internal_gethostbyname2_r.
4061 2019-05-16 Florian Weimer <fweimer@redhat.com>
4063 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
4065 (LINE_PARSER): Remove address mapping.
4066 (EXTRA_ARGS_VALUE): Remove flags argument.
4067 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
4068 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
4069 gethostbyname3_multi.
4070 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
4071 _nss_files_gethostbyname3_r.
4072 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
4074 2019-05-16 Florian Weimer <fweimer@redhat.com>
4076 * support/support_test_compare_blob.c (report_blob): Report
4077 incorrect NULL blobs.
4079 2019-05-15 Mark Wielaard <mark@klomp.org>
4082 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
4083 __libc_once_get (once) and static_buf == NULL.
4084 (__dlerror): Check we have a valid key, set result to static_buf
4087 2019-05-15 Andreas Schwab <schwab@suse.de>
4090 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
4091 __codecvt_do_length.
4092 * libio/Makefile (tests): Add tst-wfile-sync.
4093 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
4094 * libio/tst-wfile-sync.c: New file.
4095 * libio/tst-wfile-sync.input: New file.
4097 2019-05-15 Florian Weimer <fweimer@redhat.com>
4099 nss: Turn __nss_database_lookup into a compatibility symbol.
4100 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
4101 __nss_database_lookup.
4102 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
4103 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
4104 __nss_database_lookup.
4105 (__nss_next): Move to …
4106 * nss/compat-lookup.c (nss_next): … here. Change it to fail
4108 (__nss_database_lookup): New function.
4109 * nss/Versions (GLIBC_2.0): Update comment.
4110 (GLIBC_PRIVATE): Export __nss_database_lookup2.
4111 * grp/initgroups.c (internal_getgrouplist): Call
4112 __nss_database_lookup2 instead of __nss_database_lookup.
4113 * nscd/aicache.c (addhstaiX): Likewise.
4114 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4115 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4116 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
4117 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
4118 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
4120 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
4121 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
4122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4124 2019-05-15 Alexandra Hájková <ahajkova@redhat.com>
4126 * support/support.h (support_install_rootsbindir): New variable.
4127 * support/support_paths.c: Likewise.
4128 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
4130 2019-05-15 Florian Weimer <fweimer@redhat.com>
4132 * iconv/gconv.h (__gconv_transliterate): Move declaration …
4133 * iconv/gconv_int.h (__gconv_transliterate): … here.
4134 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
4135 * iconv/skeleton.c: Likewise.
4137 2019-05-14 Florian Weimer <fweimer@redhat.com>
4139 Linux: Add the tgkill function.
4140 * bits/signal_ext.h: New file.
4141 * manual/signal.texi (Signaling Another Process): Document tgkill.
4142 * signal/Makefile (headers): Add bits/signal_ext.h.
4143 * signal/signal.h: Include <bits/signal_ext.h>.
4144 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
4145 (tst-tgkill): Link with libpthread.
4146 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
4147 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
4148 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
4149 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
4151 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4152 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4153 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4154 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4155 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4156 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4157 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4158 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4159 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4160 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4161 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4163 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4164 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4165 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
4172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
4174 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4175 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4176 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4177 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4178 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4179 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4180 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4181 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4183 2019-05-14 Carlos O'Donell <carlos@redhat.com>
4185 * manual/search.texi (Tree Search Function): Adjust twalk_r
4188 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4191 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
4194 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
4195 * support/support.h (support_bindir_prefix): New variable.
4196 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
4198 * config.make.in (bindir): New variable.
4200 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
4201 (lll_trylock): Call __lll_trylock.
4202 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
4203 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
4204 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4205 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4206 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
4207 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
4208 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4209 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4210 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
4211 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
4212 lowlevellock-futex.h.
4214 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4215 initialization for LLL_LOCK_INITIALIZER different than 0.
4216 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
4217 Assume LLL_LOCK_INITIALIZER being 0.
4218 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
4219 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
4221 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
4222 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
4224 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
4225 Optimize futex call and add systemtap probe.
4227 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
4228 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
4229 __libc_disable_asynccancel, __librt_enable_asynccancel,
4230 __libc_disable_asynccancel, __librt_enable_asynccancel,
4231 __librt_disable_asynccancel): Move to ...
4232 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
4233 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
4234 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
4235 * sysdeps/generic/single-thread.h: New file.
4236 * sysdeps/unix/sysdep.h: Include single-thread.h.
4237 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
4238 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4240 2019-05-08 Mike FABIAN <mfabian@redhat.com>
4243 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
4244 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4246 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4247 * localedata/unicode-gen/PropList.txt: Likewise.
4248 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4249 * localedata/charmaps/UTF-8: Regenerate.
4250 * localedata/locales/i18n_ctype: Likewise.
4251 * localedata/locales/tr_TR: Likewise.
4252 * localedata/locales/translit_circle: Likewise.
4253 * localedata/locales/translit_cjk_compat: Likewise.
4254 * localedata/locales/translit_combining: Likewise.
4255 * localedata/locales/translit_compat: Likewise.
4256 * localedata/locales/translit_font: Likewise.
4257 * localedata/locales/translit_fraction: Likewise.
4259 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
4262 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
4263 (do_set_tcache_count): Only update if count is small enough.
4264 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
4266 2019-05-10 Florian Weimer <fweimer@redhat.com>
4268 * nptl/sem_close.c (struct walk_closure): Define.
4269 (walker): Adjust for __twalk_r.
4270 (sem_close): Call __twalk_r.
4272 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4274 * support/timespec.c (test_timespec_before_impl,
4275 test_timespec_equal_or_after_impl): print timespec member as intmax_t
4278 2019-05-09 Mike Crowe <mac@mcrowe.com>
4280 * nptl/tst-abstime.c: Use libsupport.
4282 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
4283 small bug where only tv.tv_usec was checked which could cause an
4284 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
4287 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
4290 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
4291 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
4293 * nptl/tst-cond11.c: Use libsupport.
4295 * support/timespec.h: New file. Provide timespec helper functions
4296 along with macros in the style of those in check.h.
4297 * support/timespec.c: New file. Implement check functions declared
4298 in support/timespec.h.
4299 * support/timespec-add.c: New file from gnulib containing
4300 timespec_add implementation that handles overflow.
4301 * support/timespec-sub.c: New file from gnulib containing
4302 timespec_sub implementation that handles overflow.
4303 * support/README: Mention timespec.h.
4305 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4308 * nptl/Makefile: Move tst-eintr1 to xtests.
4310 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4312 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
4314 (round_mode): Add definition for TRUNC.
4315 * sysdeps/powerpc/fpu/s_trunc.c: New file.
4316 * sysdeps/powerpc/fpu/s_truncf.c: New file.
4317 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
4318 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4319 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
4321 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
4323 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
4325 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4327 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
4329 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
4331 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
4333 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
4335 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
4336 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
4337 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4338 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
4339 s_truncf-power5+, and s_truncf-ppc64.
4340 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
4341 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
4343 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
4344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
4345 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
4346 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
4348 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
4350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
4351 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
4352 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4353 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
4354 s_truncf-power5+, and s_truncf-ppc64.
4355 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
4357 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
4358 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
4360 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
4361 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4362 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4363 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
4364 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
4366 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4368 (round_mode): Add definition for ROUND.
4369 (round_to_integer_float): Likewise.
4370 * sysdeps/powerpc/fpu/s_round.c: New file.
4371 * sysdeps/powerpc/fpu/s_roundf.c: New file.
4372 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
4373 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4374 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
4376 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
4378 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
4380 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4382 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
4384 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
4386 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
4388 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
4390 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
4391 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
4392 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4393 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
4394 s_roundf-power5+, and s_roundf-ppc64.
4395 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
4396 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
4398 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
4399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
4400 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
4401 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
4403 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
4405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
4406 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
4407 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4408 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
4409 s_roundf-power5+, and s_roundf-ppc64.
4410 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
4412 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
4413 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
4415 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
4416 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4417 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4418 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
4419 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
4421 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
4423 (round_mode): Add definition for FLOOR.
4424 * sysdeps/powerpc/fpu/s_floor.c: New file.
4425 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
4426 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
4427 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
4432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
4438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
4440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
4442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
4444 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
4445 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
4446 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
4447 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
4448 s_floorf-power5+, and s_floorf-ppc64.
4449 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
4450 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
4452 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
4453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
4454 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
4455 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
4457 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
4459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
4460 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
4461 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4462 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
4463 s_floorf-power5+, and s_floorf-ppc64.
4464 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
4466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
4468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
4470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
4472 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4473 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4474 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
4475 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
4477 2019-05-08 Mike Crowe <mac@mcrowe.com>
4479 * support/xclock_gettime.c (xclock_gettime): New file. Provide
4480 clock_gettime wrapper for use in tests that fails the test rather
4481 than returning failure.
4483 * support/xtime.h: New file to declare xclock_gettime.
4485 * support/Makefile: Add xclock_gettime.c.
4487 * support/README: Mention xtime.h.
4489 2019-05-08 Florian Weimer <fweimer@redhat.com>
4491 malloc/tst-mallocfork2: Use process-shared barriers.
4492 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
4493 (signal_count, sigusr1_sender_pid): Remove.
4494 (iterations): Define constant.
4495 (shared): New variable.
4496 (sigusr1_received): Update comment.
4497 (sigusr1_handler): Do not send SIGSTOP to the sender process.
4498 (signal_sender): Optional use barriers to avoid sending signals
4499 during irrelevant times.
4500 (do_it): Initialize variable shared. Use xfork for error
4501 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
4502 the iteration count, independent of signal delivery. Check for
4503 deadlocks in fork. Introduce barriers for reducing signal
4504 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
4505 replaced by the barriers. Count signals during fork/free/malloc
4507 * malloc/Makefile (tst-mallocfork): Link with libpthread.
4509 2019-05-07 Joseph Myers <joseph@codesourcery.com>
4511 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4513 (clock_adjtime64) New syscall.
4514 (clock_getres_time64) Likewise.
4515 (clock_gettime64) Likewise.
4516 (clock_nanosleep_time64) Likewise.
4517 (clock_settime64) Likewise.
4518 (futex_time64) Likewise.
4519 (io_pgetevents_time64) Likewise.
4520 (io_uring_enter) Likewise.
4521 (io_uring_register) Likewise.
4522 (io_uring_setup) Likewise.
4523 (mq_timedreceive_time64) Likewise.
4524 (mq_timedsend_time64) Likewise.
4525 (pidfd_send_signal) Likewise.
4526 (ppoll_time64) Likewise.
4527 (pselect6_time64) Likewise.
4528 (recvmmsg_time64) Likewise.
4529 (rt_sigtimedwait_time64) Likewise.
4530 (sched_rr_get_interval_time64) Likewise.
4531 (semtimedop_time64) Likewise.
4532 (timer_gettime64) Likewise.
4533 (timer_settime64) Likewise.
4534 (timerfd_gettime64) Likewise.
4535 (timerfd_settime64) Likewise.
4536 (utimensat_time64) Likewise.
4538 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
4539 version to 9 branch.
4541 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4543 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
4544 __memmove_thunderx2 to the list of implementations
4545 * sysdeps/aarch64/multiarch/memmove.c: Likewise
4546 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
4547 (__memmove_thunderx2): Rewritten using SIMD ld/st
4548 (__memcpy_thunderx2): Fixed handling overlapping cases.
4549 Used ldp/stp instead of ldr/str if possible. Made loops
4552 2019-05-03 Florian Weimer <fweimer@redhat.com>
4554 * misc/tst-tsearch.c (walk_tree): Add more error checking.
4556 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4559 * elf/tst-pldd.c (in_str_list): New function.
4560 (do_test): Add default names for ld and libc as one option.
4562 2019-05-02 Florian Weimer <fweimer@redhat.com>
4564 misc: Add twalk_r function.
4565 * include/search.h (__twalk_r): Declare.
4566 * manual/examples/twalk.c: New file.
4567 * manual/search.texi (Tree Search Function): Document twalk_r.
4568 * misc/Versions (2.30): Export twalk_r.
4569 (GLIBC_PRIVATE): Export __twalk_r.
4570 * misc/search.h [__USE_GNU] (twalk_r): Declare.
4571 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
4572 (twalk_r): Add weak alias.
4573 * misc/tst-tsearch.c (struct walk_trace_element): Define.
4574 (walk_trace): New variable.
4575 (struct twalk_with_twalk_r_closure): Define.
4576 (twalk_with_twalk_r_action): New function.
4577 (twalk_with_twalk_r): Likewise.
4578 (walk_action): Call walk_trace_add.
4579 (walk_tree_with): Rename from walk_tree. Add walk argument.
4580 (walk_tree): New function.
4581 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
4582 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4584 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4586 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4587 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
4588 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
4589 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
4590 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
4591 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4593 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4595 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4597 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4598 (GLIBC_2.30): Likewise.
4599 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4600 (GLIBC_2.30): Likewise.
4601 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4602 (GLIBC_2.30): Likewise.
4603 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4604 (GLIBC_2.30): Likewise.
4605 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4608 (GLIBC_2.30): Likewise.
4609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4610 (GLIBC_2.30): Likewise.
4611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4612 (GLIBC_2.30): Likewise.
4613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4614 (GLIBC_2.30): Likewise.
4615 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4617 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4619 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4621 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4622 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4624 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4626 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4628 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4631 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
4633 Make mktime etc. compatible with __time64_t
4634 Keep these functions compatible with Gnulib while adding
4635 __time64_t support. The basic idea is to move private API
4636 declarations from include/time.h to time/mktime-internal.h, since
4637 the former file cannot easily be shared with Gnulib whereas the
4639 Also, do some other minor cleanup while in the neighborhood.
4640 * include/time.h: Include stdbool.h, time/mktime-internal.h.
4641 (__mktime_internal): Move this prototype to time/mktime-internal.h,
4642 since Gnulib needs it.
4643 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
4644 Move these macros to time/mktime-internal.h, since Gnulib needs them.
4645 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
4646 (in_time_t_range): New static function.
4647 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
4648 so that glibc users are not tempted to use __time64_t.
4649 * time/mktime-internal.h: Rewrite so that it does both glibc
4650 and Gnulib work. Include time.h if not _LIBC.
4651 (mktime_offset_t) [!_LIBC]: Define for gnulib.
4652 (__time64_t): New type or macro, moved here from
4654 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
4655 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
4656 from include/time.h.
4657 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
4658 New macros, taken from GNulib.
4659 (__mktime_internal): New prototype, moved here from include/time.h.
4660 * time/mktime.c (mktime_min, mktime_max, convert_time)
4661 (ranged_convert, __mktime_internal, __mktime64):
4662 * time/timegm.c (__timegm64):
4663 Use __time64_t, not time_t.
4664 * time/mktime.c: Stop worrying about whether time_t is floating-point.
4665 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
4667 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
4668 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
4669 for libc_hidden_def.
4671 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
4673 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
4675 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
4678 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
4679 from `-Wmaybe-uninitialized'.
4680 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
4682 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4684 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
4686 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
4687 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
4688 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
4689 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
4690 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4692 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
4693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
4697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
4701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
4703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
4705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
4707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
4709 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
4710 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
4711 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
4712 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
4714 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
4716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
4717 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
4718 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
4720 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
4722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
4723 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
4725 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4726 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
4727 s_ceilf-power5+, and s_ceilf-ppc64.
4728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
4730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
4731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
4732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
4733 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
4734 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
4735 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
4736 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
4738 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
4739 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
4740 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
4742 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
4744 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
4745 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
4746 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
4747 (sem_getvalue): Likewise.
4749 2019-04-26 Florian Weimer <fweimer@redhat.com>
4751 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
4752 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
4754 2019-04-26 Florian Weimer <fweimer@redhat.com>
4756 Makeconfig: Move -Wl,-rpath-link options before library references.
4757 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
4758 (link-libc): Remove $(link-libc-rpath-link).
4760 2019-04-25 Florian Weimer <fweimer@redhat.com>
4762 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4763 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4764 (+link-static-before-libc): Remove $(CC).
4765 (+link-static, +link-static-tests): Add $(CC).
4766 (+link-before-libc): Remove $(CC).
4767 (+link, +link-pie, +link-pie-printers): Add $(CC).
4769 2019-04-26 Florian Weimer <fweimer@redhat.com>
4771 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4772 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4773 (+link-static-before-libc): Remove $(CC).
4774 (+link-static, +link-static-tests): Add $(CC).
4775 (+link-before-libc): Remove $(CC).
4776 (+link, +link-pie, +link-pie-printers): Add $(CC).
4778 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
4781 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
4783 2019-04-25 Florian Weimer <fweimer@redhat.com>
4785 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
4786 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
4787 (bench-link-targets): New variable.
4788 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
4790 2019-04-25 Florian Weimer <fweimer@redhat.com>
4792 Also enable BIND_NOW for programs if --enable-bind-now.
4793 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
4794 (+link-pie): Use $(link-extra-flags).
4795 (+link-static): Likewise.
4796 [! $(build-pie-default)] (+link): Likewise.
4797 * manual/install.texi (Configuring and compiling): Update
4798 --enable-bind-now description.
4799 * INSTALL: Regenerated.
4801 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
4803 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
4804 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
4806 2019-04-24 Mike Frysinger <vapier@gentoo.org>
4809 * malloc/Makefile (others): Add memusagestat.
4810 ($(objpfx)memusagestat): Delete rule.
4811 (LDLIBS-memusagestat): New variable.
4813 2019-04-24 Florian Weimer <fweimer@redhat.com>
4815 * locale/Makefile (tests-special): Guard setting by
4816 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
4817 to run while cross-compiling.
4819 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4822 * elf/Makefile (tests-container): Add tst-pldd.
4823 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
4824 (E(find_maps)): Avoid use alloca, use default read file operations
4825 instead of explicit LFS names, and fix infinite loop.
4826 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
4827 (get_process_info): Use _Static_assert instead of assert, use default
4828 directory operations instead of explicit LFS names, and free some
4830 * elf/tst-pldd.c: New file.
4832 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
4834 * malloc/arena.c (do_set_mallopt_check): Removed.
4836 2019-04-23 Florian Weimer <fweimer@redhat.com>
4838 locale: Add LOCPATH diagnostics to the locale program.
4839 * locale/programs/locale.c (setlocale_failed): New variable.
4840 (try_setlocale): New function.
4841 (quote_string): Likewise.
4842 (setlocale_diagnostics): Likewise.
4843 (main): Call try_setlocale instead of setlocale. Call
4844 setlocale_diagnostics.
4845 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
4846 (tst-locale-locpath.out): New target.
4847 * locale/tst-locale-locpath.sh: New file.
4849 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4851 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
4854 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4857 * malloc/hooks.c (malloc_check, realloc_check): Use
4858 __builtin_add_overflow on overflow check and adapt to
4859 checked_request2size change.
4860 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
4861 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
4862 allocation size to PTRDIFF_MAX.
4863 (REQUEST_OUT_OF_RANGE): Remove macro.
4864 (checked_request2size): Change to inline function and limit maximum
4865 requested size to PTRDIFF_MAX.
4866 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
4867 maximum allocation size to PTRDIFF_MAX.
4868 (_mid_memalign): Use _int_memalign call for overflow check.
4869 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
4870 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
4871 limit maximum requested size to PTRDIFF_MAX.
4872 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
4873 valloc, pvalloc): Add __attribute_alloc_size__.
4874 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
4875 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
4876 larger than PTRDIFF_MAX.
4877 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
4878 around tests of malloc with negative sizes.
4879 * malloc/tst-posix_memalign.c (do_test): Likewise.
4880 * malloc/tst-pvalloc.c (do_test): Likewise.
4881 * malloc/tst-valloc.c (do_test): Likewise.
4882 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
4883 with resulting size allocation larger than PTRDIFF_MAX with
4884 reallocarray_nowarn.
4885 (reallocarray_nowarn): New function.
4886 * NEWS: Mention the malloc function semantic change.
4888 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4890 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
4891 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4893 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
4894 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
4895 * sysdeps/powerpc/fpu/s_fma.c: New file.
4896 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4898 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
4899 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
4901 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
4902 the magic flag store.
4903 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4905 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
4907 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
4908 Remove rt_sigreturn call.
4910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4911 Remove rt_sigreturn call.
4912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
4915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4917 * support/Makefile (libsupport-routines): Add support_subprocess,
4918 xposix_spawn, xposix_spawn_file_actions_addclose, and
4919 xposix_spawn_file_actions_adddup2.
4920 (tst-support_capture_subprocess-ARGS): New rule.
4921 * support/capture_subprocess.h (support_capture_subprogram): New
4923 * support/support_capture_subprocess.c (support_capture_subprocess):
4924 Refactor to use support_subprocess and support_capture_poll.
4925 (support_capture_subprogram): New function.
4926 * support/tst-support_capture_subprocess.c (write_mode_to_str,
4927 str_to_write_mode, test_common, parse_int, handle_restart,
4928 do_subprocess, do_subprogram, do_multiple_tests): New functions.
4929 (do_test): Add support_capture_subprogram tests.
4930 * support/subprocess.h: New file.
4931 * support/support_subprocess.c: Likewise.
4932 * support/xposix_spawn.c: Likewise.
4933 * support/xposix_spawn_file_actions_addclose.c: Likewise.
4934 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
4935 * support/xspawn.h: Likewise.
4937 2019-04-17 Mike Gerow <gerow@google.com>
4939 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
4942 2019-04-11 Florian Weimer <fweimer@redhat.com>
4944 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
4945 domain with empty string.
4946 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4948 2019-04-11 Florian Weimer <fweimer@redhat.com>
4950 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
4952 (alloc_buffer_next): Change return type to non-const. Update
4955 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
4957 * manual/time.texi (Formatting Calendar Time): Add missing percent
4958 sign to conversion specifier.
4960 2019-04-09 Carlos O'Donell <carlos@redhat.com>
4961 Kwok Cheung Yeung <kcy@codesourcery.com>
4964 * malloc/mtrace.c: Define prototypes for all hooks.
4965 (set_default_hooks): New function.
4966 (set_trace_hooks): Likewise.
4967 (save_default_hooks): Likewise.
4968 (tr_freehook): Use new s*_hooks functions.
4969 (tr_mallochook): Likewise.
4970 (tr_reallochook): Likewise.
4971 (tr_memalignhook): Likewise.
4973 (muntrace): Likewise.
4975 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4977 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
4978 (generic_stpcpy): New function.
4979 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
4980 (generic_stpncpy): New function.
4981 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
4982 (generic_strcat): New function.
4983 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
4984 (generic_strcpy): New function.
4985 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
4986 (STUPID_STRNCAT): Remove function.
4987 (generic_strncat): New function.
4988 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
4989 (STUPID_STRNCPY): Remove function.
4990 (generic_strncpy): New function.
4991 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
4992 (generic_strnlen): New function.
4993 (memchr_strnlen): New function.
4994 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
4995 (memchr_strlen): Likewise.
4997 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4999 * benchtests/bench-strstr.c (input): Add realistic input text.
5000 (stupid_strstr): Remove function.
5001 (basic_strstr): Add function.
5002 (twoway_strstr): Add function.
5003 (do_one_test): Add result checking.
5004 (do_test): Use new input text. Remove accidental early matches.
5005 (test_main): Improve range of tests, reduce unaligned cases.
5007 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5009 * benchtests/bench-memmem.c (simple_memmem): Remove function.
5010 (basic_memmem): Add function.
5011 (twoway_memmem): Add function.
5013 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5015 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
5016 * benchtests/bench-malloc-thread.c: Likewise.
5017 * benchtests/bench-skeleton.c: Likewise.
5018 * benchtests/bench-strtod.c: Likewise.
5019 * benchtests/bench-timing.h: Likewise.
5021 2019-04-08 Florian Weimer <fweimer@redhat.com>
5023 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
5025 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
5026 RES_INSECURE2 security checks.
5027 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
5028 RES_INSECURE2 handling.
5030 2019-04-08 Florian Weimer <fweimer@redhat.com>
5032 resolv: Remove support for RES_USE_INET6 and the inet6 option.
5033 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
5034 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
5036 * resolv/Makefile (tests): Remove tst-res_use_inet6.
5037 (tests-internal): Update justification for tst-resolv-res_init,
5038 tst-resolv-res_init-thread.
5039 (tst-res_use_inet6): Remove target.
5040 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
5041 * resolv/res_debug.c (p_option): Remove "inet6" support.
5042 * resolv/res_init.c (res_setoptions): Likewise.
5043 * resolv/res_use_inet6.h: Remove file.
5044 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
5046 (res_use_inet6): Always return false.
5047 * resolv/resolv.h (RES_USE_INET6): Remove definition.
5048 * resolv/resolv_context.h: Adjust file comment.
5049 (struct resolv_context): Update comment on __next field.
5050 (__resolv_context_put): Update comment.
5051 * resolv/tst-res_use_inet6.c: Remove file.
5052 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
5054 (test_cases): Adjust test case.
5055 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
5056 (thread_byname2_af_inet6): Use old byname_inet6 code.
5057 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
5058 (gai): Remove do_inet6 argument.
5059 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
5060 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
5061 (thread_gai_unspec_inet6): Remove functions.
5062 (do_test): Adjust thread_funcs.
5063 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
5065 (gaih_inet): Do not disable RES_USE_INET6 flag.
5067 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5069 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
5070 and remove redundant code.
5072 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5074 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
5076 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
5077 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
5079 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
5081 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
5083 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5084 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
5085 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
5086 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
5087 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5088 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
5089 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5090 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
5092 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
5093 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5094 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5095 Remove wcsrchr optimizations.
5096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5098 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
5101 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
5103 * sysdeps/powerpc/power6/wcschr.c: Remove file.
5104 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
5106 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
5108 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
5110 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5111 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
5112 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
5113 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
5114 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5115 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
5116 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5117 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
5119 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
5120 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5121 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5122 Remove wcschr optimizations.
5123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5125 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
5128 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
5130 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
5131 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
5133 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
5135 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
5137 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5138 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
5139 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
5140 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
5141 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5142 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
5143 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5144 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
5146 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
5147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5148 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5149 Remove wcscpy optimizations.
5150 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5152 * include/loop_unroll.h: New file.
5153 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
5154 besides generic implementation.
5156 2019-04-03 DJ Delorie <dj@redhat.com>
5158 * time/tst-strftime3.c (tm_to_printed): Disable warning about
5159 snprintf truncating output.
5161 2019-04-02 DJ Delorie <dj@redhat.com>
5163 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
5166 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5169 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
5171 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
5172 (mkreftable): Add rules for the new Japanese era and the new dates.
5174 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5175 Rafał Lużyński <digitalfreak@lingonborough.com>
5177 * time/tst-strftime2.c (date_t): Explicitly define the type.
5178 (dates): Use natural month and year numbers to express a date.
5179 (is_before): New function to compare dates.
5180 (mkreftable): Minor improvements to simplify maintenance.
5181 (do_test): Reflect the changes in dates array.
5184 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
5185 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
5186 * time/tst-strftime2.c (locales): Likewise.
5187 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
5188 2010-04-01, and 2011-04-01.
5189 (mkreftable): Add rules for the new locales and the new dates.
5191 2019-04-01 Carlos O'Donell <carlos@redhat.com>
5193 * localedata/locales/ja_JP: Add comments to era entries.
5195 2019-04-01 DJ Delorie <dj@redhat.com>
5198 * time/strptime_l.c (%Ey): Fix fencepost error.
5199 * time/tst-strftime3.c: New.
5200 * time/Makefile (tests): Add tst-strftime3.
5202 2019-04-01 Uroš Bizjak <ubizjak@gmail.com>
5204 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
5205 conditional branch to DIVBYZERO. Fix unwind info.
5206 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
5207 excb after conditional branch to $powerof2. Add missing unop
5208 instructions and .align directives and reorder instructions to
5211 2019-04-01 Richard Henderson <rth@twiddle.net>
5213 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5215 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
5218 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
5220 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
5221 $libc_cv_riscv_float_abi in `test' invocation.
5222 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
5224 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
5226 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
5228 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
5230 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5231 (_GET_SI_FPSCR): Likewise.
5232 (_SET_SI_FPSCR): Likewise.
5234 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5236 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
5238 (signbit): Use builtin for clang 3.3.
5239 (isinf): Use builtin for clang 3.7.
5241 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5243 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
5245 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
5247 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
5250 2019-03-25 Mike Crowe <mac@mcrowe.com>
5252 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
5253 pthread_rwlock_timedrdlock with calls to
5254 pthread_rwlock_timedwrlock to ensure that the latter is tested
5255 too. Use new function name in diagnostic messages too.
5257 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
5258 (do_test) Use libsupport test macros rather than hand-coded
5259 conditionals and error messages. Ensure that sem_init returns zero
5260 rather than not -1. Use <support/test-driver.c> rather than
5263 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
5264 test macros rather than hand-coded conditionals and error messages.
5265 Use <support/test-driver.c> rather than test-skeleton.c.
5267 2019-03-25 Joseph Myers <joseph@codesourcery.com>
5269 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
5271 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
5272 (NT_MIPS_MSA): Likewise.
5274 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5276 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
5277 * benchtests/README: Update description.
5278 * benchtests/bench-timing.h: Default to hp-timing.
5279 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
5280 HP_TIMING_PRINT): Remove.
5281 (HP_TIMING_NOW): Add generic implementation.
5282 (hp_timing_t): Change to uint64_t.
5284 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
5286 * nptl/descr.h: Likewise.
5287 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
5288 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
5289 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
5290 Abstract hp-timing usage with RTLD_* macros.
5291 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
5292 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
5293 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
5294 HP_TIMING_NONAVAIL): Likewise.
5295 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5297 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
5298 HP_SMALL_TIMING_AVAIL): Likewise.
5299 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
5300 HP_SMALL_TIMING_AVAIL): Likewise.
5301 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
5302 HP_SMALL_TIMING_AVAIL): Likewise.
5303 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
5304 HP_SMALL_TIMING_AVAIL): Likewise.
5305 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5307 * sysdeps/generic/hp-timing-common.h: Update comment with
5308 HP_TIMING_AVAIL removal.
5310 * include/random-bits.h: New file.
5311 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
5312 (__res_context_mkquery): Remove usage hp-timing usage and replace with
5314 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
5315 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
5318 * include/libc-internal.h (__get_clockfreq): Remove prototype.
5319 * rt/Makefile (clock-routines): Remove get_clockfreq.
5320 * rt/get_clockfreq.c: Remove file.
5321 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5322 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
5323 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
5324 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
5325 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
5327 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
5328 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
5329 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
5330 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
5331 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
5333 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
5334 pthread_clock_settime.
5335 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
5336 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
5337 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
5338 * elf/rtld.c (_dl_start_final): Likewise.
5339 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
5340 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
5342 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
5343 (_dl_cpuclock_offset): Remove.
5344 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
5345 cpuclock_offset_ununsed.
5346 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
5347 cpuclock_offset set.
5348 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5349 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5350 * nptl/pthread_clock_gettime.c: Remove file.
5351 * nptl/pthread_clock_settime.c: Likewise.
5352 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
5353 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
5354 and CLOCK_PROCESS_CPUTIME_ID support.
5355 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
5356 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
5357 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
5358 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
5359 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
5361 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
5363 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5365 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
5366 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
5367 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
5369 * sysdeps/s390/memmem-arch13.S: New file.
5370 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
5371 if it is only used as fallback.
5372 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
5373 * sysdeps/s390/multiarch/ifunc-impl-list.c
5374 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
5376 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5378 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
5379 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
5380 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
5382 * sysdeps/s390/multiarch/ifunc-impl-list.c
5383 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
5384 * sysdeps/s390/strstr-arch13.S: New file.
5385 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
5386 if it is only used as fallback.
5387 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
5389 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5391 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
5392 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
5393 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
5394 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
5396 * sysdeps/s390/multiarch/ifunc-impl-list.c
5397 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
5398 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
5399 S390_IS_ARCH13_MIE3): New defines.
5401 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5403 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
5404 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
5405 * sysdeps/s390/configure.ac: Add checks for arch13 support.
5406 * sysdeps/s390/configure: Regenerated.
5408 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5410 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
5411 Add vxe2, vxp, dflt, sort flags.
5412 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
5413 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
5415 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
5416 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
5417 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
5418 HWCAP_S390_DFLT): Define.
5420 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5423 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
5424 of compiler warning.
5425 * locale/programs/ld-collate.c (collate_output): Likewise.
5427 2019-03-21 DJ Delorie <dj@redhat.com>
5430 * iconv/iconvconfig.c (write_output): Replace floating point math
5431 with integer math to avoid imprecise results.
5432 * locale/programs/ld-collate.c (collate_output): Likewise.
5434 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
5436 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
5437 Add HWCAP_S390_VX and HWCAP_S390_VXE.
5439 2019-03-20 mansayk <6688000@gmail.com>
5442 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
5443 (abday): Likewise, but remove the trailing dots.
5445 2019-03-19 Joseph Myers <joseph@codesourcery.com>
5447 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
5449 (HWCAP_PACA): Likewise.
5450 (HWCAP_PACG): Likewise.
5451 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5453 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
5455 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5457 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
5460 2019-03-15 Joseph Myers <joseph@codesourcery.com>
5462 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5464 (old_getpagesize): New syscall.
5466 2019-03-15 Felix Yan <felixonmars@archlinux.org>
5469 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
5470 * localedata/locales/cmn_TW (era): Likewise.
5471 * localedata/locales/hak_TW (era): Likewise.
5472 * localedata/locales/lzh_TW (era): Likewise.
5473 * localedata/locales/nan_TW (era): Likewise.
5475 2019-03-14 Adam Maris <amaris@redhat.com>
5477 * malloc/malloc.c (_int_malloc): Check for large bin list
5478 corruption when inserting unsorted chunk.
5480 2019-03-14 Florian Weimer <fweimer@redhat.com>
5482 Remove obsolete, never-implemented XSI STREAMS declarations.
5483 * manual/terminal.texi (Allocation): Remove portability note and
5485 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
5487 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
5488 * sysdeps/unix/inet/Subdirs (streams): Remove.
5489 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
5490 (conformtest-headers-UNIX98): Likewise.
5491 (conformtest-headers-XOPEN2K): Likewise.
5492 (conformtest-headers-POSIX2008): Likewise.
5493 * posix/compat-streams.c: New file.
5494 * posix/Makefile (routines): Add it.
5495 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
5496 getpmsg, isastream, putmsg, putpmsg.
5497 (GLIBC_2.30): New section.
5498 * bits/stropts.h: Remove file.
5499 * bits/xtitypes.h: Likewise.
5500 * conform/data/stropts.h-data: Likewise.
5501 * include/stropts.h: Likewise.
5502 * include/sys/stropts.h: Likewise.
5503 * include/xtitypes.h: Likewise.
5504 * streams/Makefile: Likewise.
5505 * streams/fattach.c: Likewise.
5506 * streams/fdetach.c: Likewise.
5507 * streams/getmsg.c: Likewise.
5508 * streams/getpmsg.c: Likewise.
5509 * streams/isastream.c: Likewise.
5510 * streams/putmsg.c: Likewise.
5511 * streams/putpmsg.c: Likewise.
5512 * streams/stropts.h: Likewise.
5513 * streams/sys/stropts.h: Likewise.
5514 * sysdeps/ia64/bits/xtitypes.h: Likewise.
5515 * sysdeps/s390/bits/xtitypes.h: Likewise.
5516 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
5517 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
5518 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
5519 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
5520 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
5521 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
5522 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
5523 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
5524 * sysdeps/x86/bits/xtitypes.h: Likewise.
5526 2019-03-14 Florian Weimer <fweimer@redhat.com>
5528 * nss/tst-nss-files-alias-truncated.c (do_test): Load
5530 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
5531 but not with libnss_files.
5532 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
5534 2019-03-14 Zack Weinberg <zackw@panix.com>
5536 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
5537 Specify encoding="utf-8" when opening headers to check.
5539 2019-03-13 Joseph Myers <joseph@codesourcery.com>
5541 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5543 (Context.checkout_tar): Handle variable major version for Linux
5546 2019-03-13 Florian Weimer <fweimer@redhat.com>
5549 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
5551 2019-03-13 Zack Weinberg <zackw@panix.com>
5553 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
5555 * include/inttypes.h: Adjust to match.
5556 * include/stdint.h: New wrapper.
5558 2019-03-13 Zack Weinberg <zackw@panix.com>
5560 * scripts/check-obsolete-constructs.py: New test script.
5561 * scripts/check-installed-headers.sh: Remove tests for
5562 obsolete typedefs, superseded by check-obsolete-constructs.py.
5563 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
5564 as a special test. Update commentary.
5565 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
5566 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
5568 * posix/sys/types.h (__u_intN_t): Remove.
5569 (u_int8_t): Typedef using __uint8_t.
5570 (u_int16_t): Typedef using __uint16_t.
5571 (u_int32_t): Typedef using __uint32_t.
5572 (u_int64_t): Typedef using __uint64_t.
5574 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
5576 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
5578 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
5579 Ignore types other than AT_HWCAP.
5580 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
5581 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
5583 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
5584 in the case of falling back to generic output mechanism.
5585 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
5588 2019-03-12 Florian Weimer <fweimer@redhat.com>
5590 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
5592 2019-03-12 Florian Weimer <fweimer@redhat.com>
5595 resolv: Enable full ICMP errors for UDP DNS sockets
5596 * resolv/res_enable_icmp.c: New file.
5597 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
5598 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
5599 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
5602 2019-03-11 Mao Han <han_mao@c-sky.com>
5604 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
5605 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
5607 2019-03-11 Mao Han <han_mao@c-sky.com>
5609 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
5610 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5611 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5613 2019-03-11 Mao Han <han_mao@c-sky.com>
5615 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
5617 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
5620 2019-03-11 Mao Han <han_mao@c-sky.com>
5622 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
5623 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
5626 2019-03-08 Mike FABIAN <mfabian@redhat.com>
5629 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
5630 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
5632 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
5633 * localedata/unicode-gen/PropList.txt: Likewise.
5634 * localedata/unicode-gen/UnicodeData.txt: Likewise.
5635 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
5636 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
5637 * localedata/charmaps/UTF-8: Regenerate.
5638 * localedata/locales/i18n_ctype: Likewise.
5639 * localedata/locales/tr_TR: Likewise.
5640 * localedata/locales/translit_circle: Likewise.
5641 * localedata/locales/translit_cjk_compat: Likewise.
5642 * localedata/locales/translit_combining: Likewise.
5643 * localedata/locales/translit_compat: Likewise.
5644 * localedata/locales/translit_font: Likewise.
5645 * localedata/locales/translit_fraction: Likewise.
5647 2019-03-07 Joseph Myers <joseph@codesourcery.com>
5649 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
5650 than after operators.
5651 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
5652 (setitimer_locked): Likewise.
5653 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5654 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5655 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
5656 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
5657 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
5658 (PPC_CPU_SUPPORTED): Likewise.
5659 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
5660 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
5661 (stat_overflow): Likewise.
5662 (statfs_overflow): Likewise.
5663 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
5664 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
5665 (eq_ttyname_r): Likewise.
5666 (run_chroot_tests): Likewise.
5668 2019-03-07 Florian Weimer <fweimer@redhat.com>
5670 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
5673 2019-03-07 Martin Liska <mliska@suse.cz>
5675 * math/Makefile: Change location where math-vector-fortran.h is
5677 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
5678 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
5679 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
5680 * scripts/check-installed-headers.sh: Skip Fortran header files.
5681 * scripts/check-wrapper-headers.py: Likewise.
5683 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5685 * nptl/nptl-init.c (__have_futex_clock_realtime,
5686 __have_futex_clock_realtime): Remove definition.
5687 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
5688 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
5689 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
5690 __ASSUME_FUTEX_CLOCK_REALTIME support.
5691 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
5692 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5693 * sysdeps/unix/sysv/linux/kernel-features.h
5694 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
5695 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
5698 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5700 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
5701 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
5702 __GI___wcscpy and wcscpy.
5704 2019-03-04 Florian Weimer <fweimer@redhat.com>
5706 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
5708 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
5711 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
5713 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
5714 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5716 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5719 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
5720 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
5722 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5724 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
5726 (do_test): Likewise.
5727 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5728 (do_test_call_varg): Likewise.
5729 (do_test_call_rarg): Likewise.
5730 * sysdeps/ieee754/ldbl-opt/Makefile
5731 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
5733 ($(objpfx)tst-nldbl-warn.c): New rule.
5734 ($(objpfx)tst-nldbl-error.c): Likewise.
5735 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
5738 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5741 * include/bits/error-ldbl.h: New file.
5742 * include/error.h: Include stdarg.h. Declare internal functions
5743 __error_internal and __error_at_line_internal.
5744 * misc/Makefile (headers): Add bits/error-ldbl.h.
5745 * misc/bits/error-ldbl.h: New file.
5746 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
5747 avoid the inclusion of bits/error.h.
5748 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
5749 and __nldbl_error_at_line.
5750 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
5751 (__nldbl_error, __ndlbl_error_at_line): New functions.
5752 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
5753 Redirect error and error_at_line.
5754 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5763 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5764 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5765 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5767 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5770 * include/bits/err-ldbl.h: New file.
5771 * include/err.h: Add prototypes for the internal functions:
5772 __vwarnx_internal and __vwarn_internal.
5773 * misc/Makefile (headers): Add bits/err-ldbl.h.
5774 * misc/bits/err-ldbl.h: New file.
5775 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
5776 defined, i.e.: when -mlong-double-64 is in use.
5777 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
5778 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
5779 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
5780 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
5781 (VA_CALL): New macro.
5782 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
5783 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
5785 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
5786 declare prototypes for the new functions.
5787 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5796 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5797 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5798 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5800 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5802 * sysdeps/ieee754/ldbl-opt/Makefile
5803 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
5804 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
5805 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
5807 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5810 * argp/Makefile (headers): Add bits/argp-ldbl.h.
5811 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
5812 * argp/bits/argp-ldbl.h: New file.
5813 * include/argp.h: Include stdarg.h. Add prototypes for internal
5814 functions: __argp_error_internal and __argp_failure_internal.
5815 * include/bits/argp-ldbl.h: New file.
5816 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
5817 __nldbl_argp_error and __nldbl_argp_failure.
5818 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
5819 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
5820 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
5821 Redirect argp_error and argp_failure calls.
5822 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5831 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5832 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5833 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5835 2019-03-01 Florian Weimer <fweimer@redhat.com>
5838 * elf/tst-big-note-lib.S: Create a syntactically valid note.
5839 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
5840 code, to avoid creating an ABI tag note.
5841 (modules-names-nobuild): Add tst-big-note-lib.
5843 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
5845 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
5846 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
5848 2019-03-01 Florian Weimer <fweimer@redhat.com>
5851 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5852 (__netlink_assert_response): Add additional missing newlines.
5854 2019-02-28 Joseph Myers <joseph@codesourcery.com>
5856 * sysdeps/powerpc/powerpc32/dl-machine.c
5857 (__elf_machine_fixup_plt): Use space before '('.
5858 (__process_machine_rela): Likewise.
5859 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
5861 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
5863 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
5865 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
5866 (pattern): Likewise.
5868 (check_result): Likewise.
5869 (check_excepts): Likewise.
5870 (check_op): Likewise.
5871 (fail_xr): Likewise.
5872 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
5873 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
5875 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
5878 (__makecontext): Likewise.
5879 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
5882 2019-02-28 Florian Weimer <fweimer@redhat.com>
5885 elf: Add test with a local IFUNC resolver.
5886 * elf/ifuncmain9.c: New file.
5887 * elf/ifuncmain9pic.c: Likewise.
5888 * elf/ifuncmain9picstatic.c: Likewise.
5889 * elf/ifuncmain9pie.c: Likewise.
5890 * elf/ifuncmain9static.c: Likewise.
5891 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
5892 ifuncmain9static, ifuncmain9picstatic.
5893 * elf/Makefile [multi-arch && build-shared] (tests-internal):
5894 Add ifuncmain9, ifuncmain9pic.
5895 * elf/Makefile [multi-arch && build-shared && have-fpie]
5896 (ifunc-pie-tests): Add ifuncmain9pie.
5897 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
5898 (CFLAGS-ifuncmain9picstatic.c): Likewise.
5899 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
5901 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
5903 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
5904 * configure: Regenerated.
5905 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
5907 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5909 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
5910 symbol as __wcspcy instead of wcscpy.
5912 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5914 * include/stdio.h (__renameat2): New hidden prototype.
5915 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
5916 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
5917 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
5918 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
5920 2019-02-27 Joseph Myers <joseph@codesourcery.com>
5922 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
5925 * benchtests/bench-strcpy.c (do_test): Use space before '('.
5926 * benchtests/bench-string.h (cmdline_process_function): Likewise.
5927 * benchtests/bench-strlen.c (do_test): Likewise.
5928 (test_main): Likewise.
5929 * catgets/gencat.c (read_old): Likewise.
5930 * elf/cache.c (load_aux_cache): Likewise.
5931 * iconvdata/bug-iconv8.c (do_test): Likewise.
5932 * math/test-tgmath-ret.c (do_test): Likewise.
5933 * nis/nis_call.c (rec_dirsearch): Likewise.
5934 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5935 * nptl/tst-audit-threads.c (do_test): Likewise.
5936 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
5937 * nss/nss_test1.c (init): Likewise.
5938 * nss/test-netdb.c (test_hosts): Likewise.
5939 * posix/execvpe.c (maybe_script_execute): Likewise.
5940 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
5941 * stdio-common/tst-printf.c (do_test): Likewise.
5942 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
5943 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
5944 * stdlib/qsort.c (STACK_SIZE): Likewise.
5945 * stdlib/test-canon.c (do_test): Likewise.
5946 * stdlib/tst-swapcontext1.c (do_test): Likewise.
5947 * string/memcmp.c (OPSIZ): Likewise.
5948 * string/test-strcpy.c (do_test): Likewise.
5949 (do_random_tests): Likewise.
5950 * string/test-strlen.c (do_test): Likewise.
5951 (test_main): Likewise.
5952 * string/test-strrchr.c (do_test): Likewise.
5953 (do_random_tests): Likewise.
5954 * string/tester.c (test_memrchr): Likewise.
5955 (test_memchr): Likewise.
5956 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
5957 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
5958 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
5959 (read_encoded_value_with_base): Likewise.
5960 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
5961 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
5962 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
5963 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5964 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
5965 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
5967 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
5969 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
5970 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
5971 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
5973 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
5975 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
5977 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5979 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
5980 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5981 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5982 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
5983 * time/test_time.c (main): Likewise.
5985 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5987 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
5989 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
5992 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
5995 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5997 * include/wchar.h (__wcscpy): New prototype.
5998 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
5999 (__wcscpy): Route internal symbol to generic implementation.
6000 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
6001 Add internal __wcscpy alias.
6002 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
6003 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
6004 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
6005 * wcsmbs/wcscpy.c (wcscpy): Add
6006 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
6007 use generic implementation.
6008 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
6010 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
6013 * sysdeps/m68k/wcpcpy.c: Remove file.
6014 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
6016 2019-02-26 Joseph Myers <joseph@codesourcery.com>
6018 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
6019 than after operators.
6020 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6021 * sysdeps/mach/hurd/getcwd.c
6022 (__hurd_canonicalize_directory_name_internal): Likewise.
6023 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
6024 (pthread_mutex_consistent): Likewise.
6025 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
6027 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
6028 (__pthread_mutex_transfer_np): Likewise.
6029 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
6030 (__pthread_mutex_unlock): Likewise.
6031 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
6032 (mtx_owned_p): Likewise.
6033 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
6034 (pthread_mutexattr_getrobust): Likewise.
6035 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
6036 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6038 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6039 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
6040 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
6041 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
6042 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6043 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6044 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
6046 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
6048 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
6049 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
6050 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
6051 (____longjmp_chk): Likewise.
6052 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
6054 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6055 (INTERNAL_SYSCALL): Likewise.
6056 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6057 (INTERNAL_SYSCALL): Likewise.
6058 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6059 (__get_clockfreq_via_cpuinfo): Likewise.
6061 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
6063 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
6064 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
6065 (WORD_COPY_BWD): Likewise.
6066 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6067 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6069 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
6070 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
6072 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
6074 2019-02-25 Joseph Myers <joseph@codesourcery.com>
6076 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
6077 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
6078 rather than after operators.
6079 * elf/cache.c (print_cache): Likewise.
6080 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
6081 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
6082 * hurd/hurdinit.c (_hurd_setproc): Likewise.
6083 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
6084 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
6085 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
6086 (reauth_proc): Likewise.
6087 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
6088 (__file_name_split_at): Likewise.
6089 (__directory_name_split_at): Likewise.
6090 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6091 * hurd/port2fd.c (_hurd_port2fd): Likewise.
6092 * iconv/gconv_dl.c (do_print): Likewise.
6093 * inet/netinet/in.h (struct sockaddr_in): Likewise.
6094 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
6095 * locale/setlocale.c (new_composite_name): Likewise.
6096 * malloc/memusagestat.c (main): Likewise.
6097 * misc/fstab.c (fstab_convert): Likewise.
6098 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6100 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
6101 (getgrent_next_file): Likewise.
6102 (internal_getgrnam_r): Likewise.
6103 (internal_getgrgid_r): Likewise.
6104 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
6106 (internal_getgrent_r): Likewise.
6107 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6108 (getpwent_next_nss): Likewise.
6109 (getpwent_next_file): Likewise.
6110 (internal_getpwnam_r): Likewise.
6111 (internal_getpwuid_r): Likewise.
6112 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
6114 (getspent_next_nss): Likewise.
6115 (internal_getspnam_r): Likewise.
6116 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
6117 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
6118 * string/strchr.c (STRCHR): Likewise.
6119 * string/strchrnul.c (STRCHRNUL): Likewise.
6120 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
6121 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6122 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
6123 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
6124 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
6126 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
6127 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6128 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6129 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
6130 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
6131 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
6132 (open_file): Likewise.
6133 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
6134 (pthread_mutexattr_setprotocol): Likewise.
6135 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6136 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6137 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6138 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6139 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6141 (elf_machine_rela): Likewise.
6142 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6143 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6144 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
6145 * sysdeps/posix/rename.c (rename): Likewise.
6146 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
6147 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
6148 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
6149 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
6150 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6151 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
6152 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
6154 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
6156 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
6157 * time/tzfile.c (__tzfile_compute): Likewise.
6159 2019-02-22 Joseph Myers <joseph@codesourcery.com>
6161 * benchtests/bench-memmem.c (simple_memmem): Break lines before
6162 rather than after operators.
6163 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
6164 * crypt/md5.c (md5_finish_ctx): Likewise.
6165 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
6166 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
6167 * elf/cache.c (load_aux_cache): Likewise.
6168 * elf/dl-load.c (open_verify): Likewise.
6169 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
6170 * elf/readelflib.c (process_elf_file): Likewise.
6171 * elf/rtld.c (dl_main): Likewise.
6172 * elf/sprof.c (generate_call_graph): Likewise.
6173 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
6174 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
6175 * hurd/dtable.c (reauth_dtable): Likewise.
6176 * hurd/getdport.c (__getdport): Likewise.
6177 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
6178 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
6179 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
6181 * hurd/hurdioctl.c (fioctl): Likewise.
6182 * hurd/hurdselect.c (_hurd_select): Likewise.
6183 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
6184 (STOPSIGS): Likewise.
6185 * hurd/hurdstartup.c (_hurd_startup): Likewise.
6186 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
6187 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6188 * hurd/msgportdemux.c (msgport_server): Likewise.
6189 * hurd/setauth.c (_hurd_setauth): Likewise.
6190 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
6191 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
6192 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6193 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
6194 * login/tst-utmp.c (do_check): Likewise.
6195 (simulate_login): Likewise.
6196 * mach/lowlevellock.h (lll_lock): Likewise.
6197 (lll_trylock): Likewise.
6198 * math/test-fenv.c (ALL_EXC): Likewise.
6199 * math/test-fenvinline.c (ALL_EXC): Likewise.
6200 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
6201 * nis/nis_call.c (__do_niscall3): Likewise.
6202 * nis/nis_callback.c (cb_prog_1): Likewise.
6203 * nis/nis_defaults.c (searchaccess): Likewise.
6204 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6205 * nis/nis_ismember.c (internal_ismember): Likewise.
6206 * nis/nis_local_names.c (nis_local_principal): Likewise.
6207 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
6208 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
6210 * nis/ypclnt.c (yp_match): Likewise.
6211 (yp_first): Likewise.
6212 (yp_next): Likewise.
6213 (yp_master): Likewise.
6214 (yp_order): Likewise.
6215 * nscd/hstcache.c (cache_addhst): Likewise.
6216 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6217 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
6218 (internal_getpwuid_r): Likewise.
6219 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
6220 * posix/glob.h (__GLOB_FLAGS): Likewise.
6221 * posix/regcomp.c (peek_token): Likewise.
6222 (peek_token_bracket): Likewise.
6223 (parse_expression): Likewise.
6224 * posix/regexec.c (sift_states_iter_mb): Likewise.
6225 (check_node_accept_bytes): Likewise.
6226 * posix/tst-spawn3.c (do_test): Likewise.
6227 * posix/wordexp-test.c (testit): Likewise.
6228 * posix/wordexp.c (parse_tilde): Likewise.
6229 (exec_comm): Likewise.
6230 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
6231 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
6232 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
6233 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
6234 * stdio-common/tst-fileno.c (do_test): Likewise.
6235 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
6236 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
6237 * stdlib/strtod_l.c (round_and_return): Likewise.
6238 (____STRTOF_INTERNAL): Likewise.
6239 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
6240 * string/strcspn.c (STRCSPN): Likewise.
6241 * string/test-memmem.c (simple_memmem): Likewise.
6242 * termios/tcsetattr.c (tcsetattr): Likewise.
6243 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
6244 * time/asctime.c (asctime_internal): Likewise.
6245 * time/strptime_l.c (__strptime_internal): Likewise.
6246 * time/sys/time.h (timercmp): Likewise.
6247 * time/tzfile.c (__tzfile_compute): Likewise.
6249 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
6252 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
6254 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6256 * argp/argp-help.c (__argp_error_internal): New function,
6257 renamed from __argp_error, but that takes a 'mode_flags'
6258 parameter to control the format of long double parameters.
6259 (__argp_error): Converted into a call __argp_error_internal.
6260 (__argp_failure_internal): New function, renamed from
6261 __argp_failure, but that takes a 'mode_flags' parameter.
6262 (__argp_failure): Converted into a call __argp_failure_internal.
6263 * misc/err.c (__vwarnx_internal): New function, renamed from
6264 vwarnx, but that takes a 'mode_flags' parameter.
6265 (vwarnx): Converted into a call to __vwarnx_internal.
6266 (__vwarn_internal): New function, renamed from vwarn, but that
6267 takes a 'mode_flags' parameter.
6268 (vwarn): Converted into a call to __vwarn_internal.
6269 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
6270 call to __vfxprintf with 'mode_flags'.
6271 (__error_internal): New function, renamed from error, but that
6272 takes a 'mode_flags' parameter.
6273 (error): Converted into a call to __error_internal.
6274 (__error_at_line_internal): New function, renamed from
6275 error_at_line, but that takes a 'mode_flags' parameter.
6276 (error_at_line): Converted into a call to
6277 __error_at_line_internal.
6278 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
6279 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
6282 2019-02-20 Martin Liska <mliska@suse.cz>
6284 * math/Makefile: Install math-vector-fortran.h.
6285 * bits/math-vector-fortran.h: New file.
6286 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
6288 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6290 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
6291 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
6293 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
6295 * nptl/pthread_mutex_trylock.c: Fix comment.
6297 2019-02-19 Carlos O'Donell <carlos@redhat.com>
6299 * nptl/pthread_tryjoin.c: Fix comment.
6301 2019-02-18 Joseph Myers <joseph@codesourcery.com>
6304 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
6305 after R_SPARC_H34 case.
6307 2019-02-18 Florian Weimer <fweimer@redhat.com>
6309 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
6310 (getanswer): Do not call Dprintf.
6311 (res_gethostbyname2_context): Likewise.
6312 (res_gethostbyaddr_context): Likewise.
6314 2019-02-18 Florian Weimer <fweimer@redhat.com>
6316 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
6318 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
6320 * libio/stdfiles.c: Update comment.
6321 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
6322 set _IO_stdin, _IO_stdout, _IO_stderr.
6323 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
6324 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
6326 (_IO_deallocate_file): New inline function.
6327 * libio/iolibio.h (_IO_vprintf): Remove definition.
6328 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
6329 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6330 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
6332 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
6333 __builtin_expect. Use _IO_legacy_file.
6335 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
6337 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
6338 Initialize ctid with a known value and remove update of ctid
6340 (wait_tid): Adjust arguments and call futex_wait with ctid_val
6341 as assumed current value of ctid_ptr.
6343 2019-02-16 Florian Weimer <fweimer@redhat.com>
6345 Check that non-sysdeps headers have wrapper headers.
6346 * scripts/check-wrapper-headers.py: New file.
6347 * Makefile (tests-special): Add check-wrapper-headers.out.
6348 (check-wrapper-headers.out): New target.
6349 * Rules (tests-special): Add check-wrapper-headers.out.
6350 (check-wrapper-headers.out): New target.
6352 2019-02-16 Florian Weimer <fweimer@redhat.com>
6354 Add missing header wrappers under include/.
6355 * include/ar.h: New file.
6356 * include/bits/mqueue2.h: Likewise.
6357 * include/bits/stdio.h: Likewise.
6358 * include/bits/stdio2.h: Likewise.
6359 * include/fstab.h: Likewise.
6360 * include/fts.h: Likewise.
6361 * include/lastlog.h: Likewise.
6362 * include/netinet/icmp6.h: Likewise.
6363 * include/netinet/igmp.h: Likewise.
6364 * include/netinet/ip6.h: Likewise.
6365 * include/re_comp.h: Likewise.
6366 * include/regexp.h: Likewise.
6367 * include/rpcsvc/bootparam.h: Likewise.
6368 * include/rpcsvc/yp_prot.h: Likewise.
6369 * include/sys/random.h: Likewise.
6370 * include/sys/stropts.h: Likewise.
6371 * include/sys/ttychars.h: Likewise.
6372 * include/sys/vfs.h: Likewise.
6373 * include/wait.h: Likewise.
6375 2019-02-16 Florian Weimer <fweimer@redhat.com>
6377 * nptl_db/proc_service.h: Move to ...
6378 * sysdeps/nptl/proc_service.h: ... here.
6379 * nptl_db/thread_db.h: Move to ...
6380 * sysdeps/nptl/thread_db.h: ... here.
6381 * nptl/descr.h: Include <thread_db.h>.
6383 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6385 * io/Makefile (tests): Add tst-lockf.
6386 * io/lockf.c (lockf): Use __fcntl and only define for
6387 !__OFF_T_MATCHES_OFF64_T.
6388 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
6389 __OFF_T_MATCHES_OFF64_T case.
6390 * io/tst-lockf.c: New file.
6391 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
6392 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
6393 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
6394 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
6395 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
6396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
6397 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
6398 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
6399 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
6401 2019-02-15 Florian Weimer <fweimer@redhat.com>
6404 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
6405 pd->result after the thread descriptor has been freed.
6407 2019-02-15 Joseph Myers <joseph@codesourcery.com>
6409 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
6410 from function return type.
6412 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
6414 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6416 * scripts/test_printers_common.py: Set TERM to a known harmless
6419 2019-02-14 Joseph Myers <joseph@codesourcery.com>
6421 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
6422 (xdr_u_int): Likewise.
6423 (xdr_enum): Likewise.
6424 (xdr_bytes): Reword fall-through comment.
6425 (xdr_string): Likewise.
6427 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6430 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
6431 (tests): Add tst-join8 tst-join9.
6432 * nptl/lll_timedwait_tid.c: Remove file.
6433 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
6434 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
6435 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
6436 * nptl/pthread_join_common.c (timedwait_tid): New function.
6437 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
6439 * nptl/tst-join5.c (thread_join): New function.
6440 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
6442 * nptl/tst-join8.c: New file.
6443 * nptl/tst-join9.c: Likewise.
6444 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
6445 lll_futex_timed_wait_cancel): Add generic macros.
6446 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
6448 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6449 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6450 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6451 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
6453 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
6455 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6456 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6457 (lll_futex_timed_wait_cancel): New macro.
6459 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
6461 * benchtests/Makefile: Add malloc-simple benchmark.
6462 * benchtests/bench-malloc-simple.c: New benchmark.
6464 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6466 * benchtests/bench-memmove.c (do_one_test): Remove unused
6469 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
6473 2019-01-13 Jim Wilson <jimw@sifive.com>
6476 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
6477 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
6479 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
6481 * nptl/Makefile (tests): Add tst-unwind-thread.
6482 (CFLAGS-tst-unwind-thread.c): Define.
6483 * nptl/tst-unwind-thread.c: New file.
6484 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
6487 2019-02-13 Joseph Myers <joseph@codesourcery.com>
6489 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
6491 * nis/nis_call.c (__do_niscall3): Likewise.
6493 * catgets/gencat.c (normalize_line): Use braces around empty
6495 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6496 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
6497 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
6498 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
6499 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
6500 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
6501 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
6504 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
6507 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
6509 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
6510 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
6511 * benchtests/bench-strchr.c (stupid_strchr): Remove.
6512 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
6513 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
6514 * benchtests/bench-strlen.c (builtin_strlen): Remove.
6515 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
6516 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
6517 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
6518 * benchtests/bench-strspn.c (stupid_strspn): Remove.
6519 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
6520 * benchtests/bench-bcopy.c: Delete file.
6521 * benchtests/bench-bzero.c: Likewise.
6522 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
6523 (simple_memccpy): Remove.
6524 (generic_memccpy): Add function.
6525 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
6526 * benchtests/bench-memmove.c (simple_bcopy): Remove.
6527 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
6528 (generic_mempcpy): Add new function.
6529 * benchtests/bench-memset.c (simple_bzero): Remove.
6530 (builtin_bzero): Remove.
6531 (builtin_memset): Remove.
6532 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
6533 (generic_rawmemchr): Add new function.
6535 2019-02-12 Florian Weimer <fweimer@redhat.com>
6537 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
6539 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6542 * elf/Makefile (tests): Add tst-audit13.
6543 (modules-names): Add tst-audit13mod1.
6544 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6546 * elf/tst-audit13.c: New file.
6547 * elf/tst-audit13mod1.c: Likewise.
6549 2019-02-12 Florian Weimer <fweimer@redhat.com>
6552 * elf/rtld.c (unload_audit_module): New function.
6553 (report_audit_module_load_error): Likewise.
6554 (load_audit_module): Likewise. Extracted from dl_main. Call
6555 _dl_close if the laversion symbol cannot be found. Use early
6556 returns for error handling. Add malloc error check. Check for a
6557 zero return value from la_version. Remove spurious comment about
6558 static TLS initialization. Remove useless casts.
6559 (notify_audit_modules_of_loaded_object): New function. Extracted
6561 (load_audit_module): Likewise.
6562 (dl_main): Call load_audit_modules.
6564 2019-02-12 Joseph Myers <joseph@codesourcery.com>
6566 * elf/dl-exception.c (_dl_exception_create_format): Add
6567 fall-through comments.
6568 * elf/ldconfig.c (parse_conf_include): Likewise.
6569 * elf/rtld.c (print_statistics): Likewise.
6570 * locale/programs/charmap.c (parse_charmap): Likewise.
6571 * misc/mntent_r.c (__getmntent_r): Likewise.
6572 * posix/wordexp.c (parse_arith): Likewise.
6573 (parse_backtick): Likewise.
6574 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
6575 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6576 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6578 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
6580 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
6581 Use float instead of double.
6583 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6585 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
6587 2019-02-08 Joseph Myers <joseph@codesourcery.com>
6589 * sysdeps/powerpc/bits/mathinline.h: Remove.
6591 2019-02-08 Florian Weimer <fweimer@redhat.com>
6593 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
6594 * math/bits/math-finite.h: Move to ...
6595 * bits/math-finite.h: ... here.
6597 2019-02-08 Florian Weimer <fweimer@redhat.com>
6599 * sysdeps/generic/bits/unistd_ext.h: Move to ...
6600 * bits/unistd_ext.h: here.
6602 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
6605 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
6606 * nss/tst-nss-files-hosts-long.c: New file.
6607 * nss/tst-nss-files-hosts-long.root: New directory.
6608 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
6609 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
6611 2019-02-08 Florian Weimer <fweimer@redhat.com>
6613 * include/bits/unistd_ext.h: Remove file.
6614 * posix/bits/unistd_ext.h: Move to ...
6615 * sysdeps/generic/bits/unistd_ext.h: ... here.
6617 2019-02-08 Florian Weimer <fweimer@redhat.com>
6619 * include/bits/unistd_ext.h: New file.
6621 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
6623 * time/tst-strftime2.c: Use array_length macros instead of magic
6626 2019-02-08 Florian Weimer <fweimer@redhat.com>
6629 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
6631 * nptl/register-atfork.c (__run_fork_handlers): Only perform
6632 locking if the new do_locking argument is true.
6633 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
6634 __run_fork_handlers.
6636 2019-02-08 Florian Weimer <fweimer@redhat.com>
6639 Linux: Add gettid system call wrapper.
6640 * posix/Makefile (headers): Add bits/unistd_ext.h.
6641 * posix/bits/unistd_ext.h: New file.
6642 * posix/unistd.h: Include it.
6643 * manual/process.texi (Process Identification): Document gettid.
6644 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
6645 tst-gettid, tst-gettid-kill.
6646 (tst-gettid): Link with $(shared-thread-library).
6647 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
6648 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
6649 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
6650 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
6651 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
6652 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
6654 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
6656 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
6657 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
6659 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
6661 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
6663 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
6665 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
6667 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
6669 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
6671 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6672 (GLIBC_2.30): Likewise.
6673 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6674 (GLIBC_2.30): Likewise.
6675 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6676 (GLIBC_2.30): Likewise.
6677 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6678 (GLIBC_2.30): Likewise.
6679 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
6681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6682 (GLIBC_2.30): Likewise.
6683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6684 (GLIBC_2.30): Likewise.
6685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
6686 (GLIBC_2.30): Likewise.
6687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
6688 (GLIBC_2.30): Likewise.
6689 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
6691 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
6693 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
6695 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
6696 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
6698 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
6700 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
6702 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
6704 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
6706 2019-02-08 Florian Weimer <fweimer@redhat.com>
6708 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
6709 compatibility symbols.
6711 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
6714 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6715 Add compiler barriers and comments.
6717 2019-02-07 Florian Weimer <fweimer@redhat.com>
6719 * include/array_length.h (array_length): Do not use a statement
6720 expression and _Static_assert, so that array_length can be used at
6721 file scope and as a constant expression.
6723 2019-02-07 Florian Weimer <fweimer@redhat.com>
6725 * support/xdlfcn.h (xdlmopen): Declare.
6726 * support/xdlmopen.c: New file.
6727 * support/Makefile (libsupport-routines): Add xdlmopen.
6729 2019-02-06 Joseph Myers <joseph@codesourcery.com>
6731 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
6732 before return type, without separate inline.
6733 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
6734 * elf/dl-tunables.h (tunable_is_name): Likewise.
6735 * malloc/malloc.c (do_set_trim_threshold): Likewise.
6736 (do_set_top_pad): Likewise.
6737 (do_set_mmap_threshold): Likewise.
6738 (do_set_mmaps_max): Likewise.
6739 (do_set_mallopt_check): Likewise.
6740 (do_set_perturb_byte): Likewise.
6741 (do_set_arena_test): Likewise.
6742 (do_set_arena_max): Likewise.
6743 (do_set_tcache_max): Likewise.
6744 (do_set_tcache_count): Likewise.
6745 (do_set_tcache_unsorted_limit): Likewise.
6746 * nis/nis_subr.c (count_dots): Likewise.
6747 * nptl/allocatestack.c (advise_stack_range): Likewise.
6748 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
6750 (reduce_sincos): Likewise.
6751 (do_sincos): Likewise.
6752 * sysdeps/unix/sysv/linux/x86/elision-conf.c
6753 (do_set_elision_enable): Likewise.
6754 (TUNABLE_CALLBACK_FNDECL): Likewise.
6756 2019-02-06 Florian Weimer <fweimer@redhat.com>
6758 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
6759 (xdlsym): Use dlerror to detect a NULL symbol.
6761 2019-02-06 Florian Weimer <fweimer@redhat.com>
6763 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
6765 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6767 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6769 * libio/tst-bz24153.c (wide): Use wide char format specifier.
6771 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6773 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
6774 __wmemcmp and weak alias to wmemcmp.
6776 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6779 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
6780 TLS_TCB_AT_TP tls variant.
6781 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
6782 Add alignment checks.
6783 * support/Makefile (libsupport-routines): Add xposix_memalign and
6785 * support/support.h: Add xposix_memalign.
6786 * support/xthread.h: Add xpthread_attr_setstack.
6787 * support/xposix_memalign.c: New File.
6788 * support/xpthread_attr_setstack.c: Likewise.
6790 2019-02-05 Florian Weimer <fweimer@redhat.com>
6793 arm: Use "nr" constraint for Systemtap probes, to avoid the
6794 compiler using memory operands for constants, due to the "o"
6795 alternative in the default "nor" constraint.
6796 * include/stap-probe.h [USE_STAP_PROBE]: Include
6797 <stap-probe-machine.h>
6798 * sysdeps/generic/stap-probe-machine.h: New file.
6799 * sysdeps/arm/stap-probe-machine.h: Likewise.
6801 2019-02-04 Joseph Myers <joseph@codesourcery.com>
6803 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
6804 with 0, not tcache->entries[tc_idx].
6806 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
6809 2019-02-04 Andreas Schwab <schwab@suse.de>
6813 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
6814 looking up collating elements match against (wide) character
6815 sequence instead of name. Correct alignment adjustment.
6816 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
6817 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
6818 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
6819 (LOCALES): Add cs_CZ.ISO-8859-2.
6820 * posix/tst-fnmatch4.c: New file.
6821 * posix/tst-fnmatch5.c: New file.
6822 * include/wchar.h (__wmemcmp): Declare.
6823 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
6824 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
6825 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
6826 * sysdeps/s390/wmemcmp.c: Likewise.
6828 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
6832 * NEWS: Updated for CVE-2019-7309.
6833 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
6834 upper 32 bits of RDX register for x32. Use unsigned Jcc
6835 instructions, instead of signed.
6836 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
6837 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
6839 2019-02-04 Florian Weimer <fweimer@redhat.com>
6841 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
6842 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
6843 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
6845 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
6846 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
6847 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
6848 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
6850 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
6852 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
6854 (posix_spawn_file_actions_addopen): Likewise.
6855 (posix_spawn_file_actions_addclose): Likewise.
6856 (posix_spawn_file_actions_adddup2): Likewise.
6857 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
6859 (posix_spawn_file_actions_addfchdir_np): Likewise.
6861 2019-02-04 David Newall <glibc@davidnewall.com>
6863 elf: Implement --preload option for the dynamic linker.
6864 * elf/rtld.c (preloadarg): New variable.
6865 (handle_preload_list): Pass through “where” argument to
6867 (dl_main): Handle "--preload" and add second call to
6868 handle_preload_list.
6869 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
6870 (tst-rtld-preload-OBJS): Set variable.
6871 (tst-rtld-preload.out): New target.
6872 * elf/tst-rtld-preload.sh: New file.
6874 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
6876 * Makefile (testrun.sh): Exit in case of incorrect argument.
6878 2019-02-04 Florian Weimer <fweimer@redhat.com>
6880 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
6883 2019-02-03 Florian Weimer <fweimer@redhat.com>
6885 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
6886 implicit overflow checks.
6888 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
6890 * stdlib/isomac.c: Include <unistd.h>.
6892 2019-02-03 Florian Weimer <fweimer@redhat.com>
6894 * include/time.h (__tzfile_default): Use int, not long int, for
6896 * time/tzfile.c (struct ttinfo): Change type of the offset member
6898 (__tzfile_read): Remove useless cast.
6899 (__tzfile_default): Adjust prototype.
6900 * time/tzset.c (tz_rule): Change type of the offset member to int.
6901 (parse_offset): Change the type of the sign variable to int.
6903 2019-02-03 Florian Weimer <fweimer@redhat.com>
6906 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
6907 * libio/getchar.c (getchar): Likewise.
6908 * libio/getchar_u.c (getchar_unlocked): Likewise.
6909 * libio/getwchar.c (getwchar): Likewise.
6910 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6911 * libio/iogets.c (_IO_gets): Likewise.
6912 * libio/vscanf.c (_IO_vscanf): Likewise.
6913 * libio/vwscanf.c (__vwscanf): Likewise.
6914 * libio/tst-bz24153.c: New file.
6915 * libio/Makefile (tests): Add it.
6917 2019-02-02 Florian Weimer <fweimer@redhat.com>
6920 * manual/resource.texi (Basic Scheduling Functions): Add
6921 portability note. Change process to task throughout the section.
6922 Remove incorrect comment about sched_yield as it affects
6923 tasks/threads, not entire processes.
6924 * sysdeps/unix/sysv/linux/bits/posix_opt.h
6925 (_POSIX_PRIORITY_SCHEDULING): Update comment.
6927 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6929 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
6930 * configure: Regenerated.
6931 * manual/install.texi (Tools for Compilation): Update minimum GCC
6933 * INSTALL: Regenerated.
6935 2019-02-01 Florian Weimer <fweimer@redhat.com>
6937 * support/support_test_compare_string.c
6938 (support_test_compare_string): Use "string" in error message.
6939 * support/tst-test_compare_string.c (do_test): Adjust.
6941 2019-02-01 Florian Weimer <fweimer@redhat.com>
6943 * support/support_format_address_family.c
6944 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
6946 2019-02-01 Florian Weimer <fweimer@redhat.com>
6948 * manual/socket.texi (Internet Address Formats): Clarify the byte
6949 order of struct sockaddr_in, struct sockaddr_in6. Document
6950 sin6_flowinfo and sin6_scope_id.
6952 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
6954 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
6955 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
6956 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
6957 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
6958 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
6959 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
6961 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6963 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
6964 [!MEMCHR](MEMCHR): Set to __memchr.
6965 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6966 Add memchr_generic and memchr_nosimd.
6967 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6968 (__libc_ifunc_impl_list): Add memchr ifuncs.
6969 * sysdeps/aarch64/multiarch/memchr.c: New file.
6970 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
6971 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
6973 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6975 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6977 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6978 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
6979 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
6980 Add IS_EMAG check for ifunc dispatch.
6981 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
6982 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
6984 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6986 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
6987 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6989 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
6992 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
6994 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
6996 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
6998 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
6999 syscall-template file.
7001 2019-01-31 Carlos O'Donell <carlos@redhat.com>
7002 Torvald Riegel <triegel@redhat.com>
7003 Rik Prohaska <prohaska7@gmail.com>
7006 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
7007 tst-rwlock-trywrlock-stall.
7008 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
7009 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
7010 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
7011 Set __wrphase_fute to 1 only if we started the write phase.
7012 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
7013 * nptl/tst-rwlock-trywrlock-stall.c: New file.
7014 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
7015 * support/xpthread_rwlock_destroy.c: New file.
7016 * support/xthread.h: Declare xpthread_rwlock_destroy.
7018 2019-02-01 Joseph Myers <joseph@codesourcery.com>
7020 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
7023 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7026 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
7027 * libio/fileops.c (_IO_new_file_underflow): Likewise
7028 * libio/wfileops.c (_IO_wfile_underflow): Likewise
7029 * libio/putchar.c (putchar): Likewise.
7030 * libio/putchar_u.c (putchar_unlocked): Likewise.
7031 * libio/putwchar.c (putchar): Likewise.
7032 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7033 * libio/tst-bz24051.c: New test.
7034 * libio/Makefile (tests): Add tst-bz24051
7036 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
7039 regex: fix read overrun [BZ #24114]
7040 Problem found by AddressSanitizer, reported by Hongxu Chen in:
7041 https://debbugs.gnu.org/34140
7042 * posix/regexec.c (proceed_next_node):
7043 Do not read past end of input buffer.
7045 2019-01-31 Florian Weimer <fweimer@redhat.com>
7048 * nss/nss_files/files-alias.c (get_next_alias): Handle
7049 continuation line without newline at the end.
7050 * nss/tst-nss-files-alias-truncated.c: New file.
7051 * nss/Makefile [$(build-shared)] (tests): Add
7052 tst-nss-files-alias-truncated.
7053 (tst-nss-files-alias-truncated): Link with libnss_files.so.
7054 * support/namespace.h (struct support_chroot_configuration): Add
7056 (struct support_chroot): Add path_aliases member.
7057 * support/support_chroot.c (support_chroot_create): Handle
7059 (support_chroot_free): Free path_aliases.
7061 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
7063 * version.h (RELEASE): Set to "development".
7064 (VERSION): Set to "2.29.9000".
7065 * NEWS: Add section for 2.30.
7067 * version.h (RELEASE): Set to "stable".
7068 (VERSION): Set to "2.29".
7069 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
7071 * NEWS: Add the list of bugs fixed in 2.29.
7072 * manual/contrib.texi: Update contributors list with some more
7074 * manual/install.texi: Update latest versions of packages
7076 * INSTALL: Regenerated.
7078 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
7080 * po/be.po: Update translations.
7081 * po/bg.po: Likewise.
7082 * po/ca.po: Likewise.
7083 * po/cs.po: Likewise.
7084 * po/da.po: Likewise.
7085 * po/de.po: Likewise.
7086 * po/el.po: Likewise.
7087 * po/eo.po: Likewise.
7088 * po/es.po: Likewise.
7089 * po/fi.po: Likewise.
7090 * po/fr.po: Likewise.
7091 * po/gl.po: Likewise.
7092 * po/hr.po: Likewise.
7093 * po/hu.po: Likewise.
7094 * po/ia.po: Likewise.
7095 * po/id.po: Likewise.
7096 * po/it.po: Likewise.
7097 * po/ja.po: Likewise.
7098 * po/ko.po: Likewise.
7099 * po/lt.po: Likewise.
7100 * po/nb.po: Likewise.
7101 * po/nl.po: Likewise.
7102 * po/pl.po: Likewise.
7103 * po/pt_BR.po: Likewise.
7104 * po/ru.po: Likewise.
7105 * po/rw.po: Likewise.
7106 * po/sk.po: Likewise.
7107 * po/sl.po: Likewise.
7108 * po/sv.po: Likewise.
7109 * po/tr.po: Likewise.
7110 * po/uk.po: Likewise.
7111 * po/vi.po: Likewise.
7112 * po/zh_CN.po: Likewise.
7113 * po/zh_TW.po: Likewise.
7115 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
7118 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
7119 of $f3 register on $y_is_neg path.
7121 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
7124 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
7125 sigaltstack.ss_flags.
7127 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
7130 * manual/time.texi (strftime): Document "%Ey".
7131 * time/strftime_l.c (__strftime_internal): Set the default width
7132 padding with zero of "%Ey" to 2.
7135 * manual/time.texi (strftime): Document "%EC" and "%EY".
7136 * time/Makefile (tests): Add tst-strftime2.
7137 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
7138 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
7139 override padding for "%Ey".
7140 If an optional flag ('_' or '-') is specified to "%EY", interpret the
7141 "%Ey" in the subformat as if decorated with that flag.
7142 * time/tst-strftime2.c: New file.
7144 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7146 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
7150 * elf/Makefile (tests): Add tst-audit13.
7151 (modules-names): Add tst-audit13mod1.
7152 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
7154 * elf/rtld.c (dl_main): Handle invalid audit module version.
7155 * elf/tst-audit13.c: New file.
7156 * elf/tst-audit13mod1.c: Likewise.
7158 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7160 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
7161 returned by __hurd_at_flags.
7162 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
7163 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
7164 directly instead of __hurd_file_name_lookup.
7166 2019-01-21 Joseph Myers <joseph@codesourcery.com>
7168 * scripts/build-many-glibcs.py (Context.checkout): Default
7169 binutils version to 2.32 branch.
7171 2019-01-21 Florian Weimer <fweimer@redhat.com>
7175 resolv: Reject trailing characters in host names
7176 * include/arpa/inet.h (__inet_aton_exact): Declare.
7177 (inet_aton): Remove hidden prototype. No longer used internally.
7178 * nscd/gai.c (__inet_aton): Do not define.
7179 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
7180 * nss/digits_dots.c (__inet_aton): Likewise.
7181 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
7182 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
7183 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
7184 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
7185 (tst-resolv-trailing): Likewise.
7186 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
7188 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
7189 Make static. Add endp parameter.
7190 (__inet_aton_exact): New function.
7191 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
7192 (__inet_addr): Call inet_aton_end.
7193 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
7194 not just IPv6. Call __inet_aton_exact.
7195 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
7196 (tests): Make const. Add additional test cases with trailing
7198 (do_test): Use array_length.
7199 * resolv/tst-inet_aton_exact.c: New file.
7200 * resolv/tst-resolv-trailing.c: Likewise.
7201 * resolv/tst-resolv-nondecimal.c: Likewise.
7202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
7204 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7208 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
7209 Clear the upper 32 bits of RSI register.
7210 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
7211 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
7212 and tst-size_t-wcsnlen.
7213 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
7214 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
7216 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7220 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
7221 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7222 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7223 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
7224 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
7226 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7230 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
7231 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7232 * sysdeps/x86_64/strcmp.S: Likewise.
7233 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
7234 tst-size_t-strncmp and tst-size_t-wcsncmp.
7235 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
7236 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
7237 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
7239 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7243 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
7244 RDX_LP for length. Clear the upper 32 bits of RDX register.
7245 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
7246 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
7247 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
7248 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
7250 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7254 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
7255 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
7256 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
7257 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
7259 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7263 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
7264 length. Clear the upper 32 bits of RDX register.
7265 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7266 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7268 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7270 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
7272 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
7274 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7278 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
7279 length. Clear the upper 32 bits of RDX register.
7280 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7281 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7282 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
7284 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
7285 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
7287 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7291 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
7292 upper 32 bits of RDX register.
7293 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
7294 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
7296 * sysdeps/x86_64/x32/test-size_t.h: New file.
7297 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
7298 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
7300 2019-01-18 Florian Weimer <fweimer@redhat.com>
7303 resolv: Do not send queries for non-host-names in nss_dns.
7304 * resolv/nss_dns/dns-host.c (check_name): New function.
7305 (_nss_dns_gethostbyname2_r): Use it.
7306 (_nss_dns_gethostbyname_r): Likewise.
7307 (_nss_dns_gethostbyname4_r): Likewise.
7309 2019-01-21 Florian Weimer <fweimer@redhat.com>
7311 * resolv/inet_addr.c: Reformat to GNU style.
7312 (__inet_addr, __inet_aton): Update comment.
7314 2019-01-18 Florian Weimer <fweimer@redhat.com>
7316 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
7317 ("malloc: Use current (C11-style) atomics for fastbin access").
7318 This commit introduces a substantial performance regression on
7320 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
7321 (REMOVE_FB): Define.
7322 (_int_malloc): Use it and reindent.
7323 (_int_free): Use CAS loop with
7324 catomic_compare_and_exchange_val_rel.
7325 (malloc_consolidate): Use atomic_exchange_acq.
7328 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
7330 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
7332 (LDFLAGS-tst-minsigstksz-2): Likewise.
7333 (LDFLAGS-tst-minsigstksz-3): Likewise.
7334 (LDFLAGS-tst-minsigstksz-3a): Likewise.
7335 (LDFLAGS-tst-minsigstksz-4): Likewise.
7337 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
7339 * manual/time.texi (strftime): Fix the wording to "alternative" rather
7342 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
7344 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
7346 2019-01-16 Zack Weinberg <zackw@panix.com>
7348 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
7349 (xget_sigstack_location): New test support functions.
7350 * support/xsigstack.c: New file, implementing them.
7351 * support/tst-xsigstack.c: New test for them.
7352 * support/Makefile: Update.
7354 * signal/tst-minsigstksz-1.c
7355 * signal/tst-minsigstksz-2.c
7356 * signal/tst-minsigstksz-3.c
7357 * signal/tst-minsigstksz-3a.c
7358 * signal/tst-minsigstksz-4.c: New tests.
7359 * signal/Makefile: Run them.
7361 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7363 * po/libc.pot: Regenerate.
7365 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7367 * math/libm-test-fma.inc (fma_test_data): Set
7368 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
7370 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7372 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
7373 (do_test): Changed __vector __int128_t to __vector unsigned int.
7375 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7378 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
7379 stpcpy-avx2 and stpncpy-avx2.
7380 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
7381 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
7382 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
7384 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
7385 ifunc-strcpy.h}: rename header for a more generic name.
7386 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
7387 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7388 AVX unaligned load is fast and vzeroupper is preferred.
7389 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
7390 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
7391 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
7392 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
7393 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
7394 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
7396 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
7398 * argp/argp-help.c: Fix typo in comment.
7399 * misc/sys/cdefs.h: Likewise.
7400 * posix/regexec.c (sift_states_iter_mb): Likewise.
7401 * socket/sockatmark.c: Likewise.
7402 * socket/sys/socket.h: Likewise.
7403 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
7404 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
7405 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
7406 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7407 * sysdeps/unix/sockatmark.c: Likewise.
7408 * time/strptime_l.c: Likewise.
7410 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7412 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
7413 missing space after the cast of "_NL_CURRENT".
7415 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7417 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
7418 ifdef to fix read of VSCR.
7419 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
7420 tst-ucontext-ppc64-vscr.c to test list.
7421 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
7423 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
7425 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
7428 2019-01-09 Jim Wilson <jimw@sifive.com>
7430 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7432 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
7434 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
7435 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
7436 __memcpy_falkor for ares.
7437 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
7439 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7442 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
7445 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
7446 4_FP_W_TYPEs are used for IEEE quad precision.
7447 * soft-fp/extendhftf2.c: Likewise.
7448 * soft-fp/extendsftf2.c: Likewise.
7449 * soft-fp/extendxftf2.c: Likewise.
7450 * soft-fp/trunctfdf2.c: Likewise.
7451 * soft-fp/trunctfhf2.c: Likewise.
7452 * soft-fp/trunctfsf2.c: Likewise.
7453 * soft-fp/trunctfxf2.c: Likewise.
7454 * sysdeps/alpha/ots_cvttx.c: Likewise.
7455 * sysdeps/alpha/ots_cvtxt.c: Likewise.
7456 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
7457 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7458 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7459 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
7460 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
7461 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7462 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7463 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
7464 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
7465 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
7466 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
7467 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
7468 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
7469 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
7470 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
7471 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
7473 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7476 * Makeconfig: Build libm with -fno-math-errno but build the remaining
7477 code with -fmath-errno.
7478 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
7479 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
7480 * string/test-strerror-errno.c: New file.
7482 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7485 * localedata/locales/en_US (date_fmt): Add, set to
7486 "%a %d %b %Y %r %Z".
7488 2019-01-07 Florian Weimer <fweimer@redhat.com>
7491 * manual/arith.texi (Math Error Reporting): Use @code{errno}
7492 instead of @var{errno}.
7493 (Parsing of Integers): Likewise.
7494 (Parsing of Floats): Likewise.
7495 * manual/filesys.texi (Working with Directory Trees): Likewise.
7496 (Temporary Files): Likewise.
7497 * manual/job.texi (Terminal Access Functions): Likewise.
7498 * manual/llio.texi (Synchronizing I/O): Likewise.
7499 * manual/math.texi (SVID Random): Likewise.
7500 * manual/message.texi (The catgets Functions): Likewise.
7501 (Translation with gettext): Likewise.
7502 (Locating gettext catalog): Likewise.
7503 (Charset conversion in gettext): Likewise.
7504 * manual/nss.texi (NSS Module Function Internals): Likewise.
7505 * manual/search.texi (Hash Search Function): Likewise.
7506 * manual/setjmp.texi (System V contexts): Likewise.
7507 * manual/time.texi (Sleeping): Likewise.
7508 * manual/users.texi (Lookup User): Likewise.
7509 (Lookup Group): Likewise.
7511 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7513 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
7516 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
7519 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
7520 __builtin_unreachable for default case in switch.
7521 (__ieee754_yn): Likewise.
7522 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7523 (__ieee754_ynl): Likewise.
7524 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7525 (__ieee754_ynl): Likewise.
7526 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7527 (__ieee754_ynl): Likewise.
7529 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7531 * manual/maint.texi: Use @{ and @}.
7533 2019-01-04 Florian Weimer <fweimer@redhat.com>
7535 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
7537 (do_in_chroot_1): Call it.
7539 Improve error reporting in case it is not possible to create a
7540 collision for the PTY name required by the test.
7542 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7544 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
7545 lll_wait_tid with timeout.
7546 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
7547 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
7548 futex_reltimed_wait_cancelable for cancelabla mode.
7549 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
7550 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
7552 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
7553 * sysdeps/posix/waitid.c (__sigwait): Likewise.
7554 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
7555 SYSCALL_CANCEL_NCS): New macro.
7556 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
7557 (lll_timedwait_tid): Remove macro.
7558 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
7560 (lll_timedwait_tid): Likewise.
7561 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
7563 (lll_timedwait_tid): Likewise.
7564 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
7566 (lll_timedwait_tid): Likewise.
7567 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
7568 Use INTERNAL_SYSCALL_CANCEL.
7569 * sysdeps/unix/sysv/linux/futex-internal.h
7570 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
7571 instead of __pthread_{enable,disable}_asynccancel.
7572 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
7573 (lll_futex_wait_cancel): New macro.
7575 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7576 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7578 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7579 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7581 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
7582 in backtrace analysis.
7583 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
7585 (tf_send): Likewise.
7587 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
7588 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
7589 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
7590 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
7591 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7592 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7593 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
7594 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
7595 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
7596 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
7597 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
7598 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
7600 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
7601 tst-cancel-wrappers.sh.
7602 (generated): Remove tst-cancel-wrappers.out.
7603 (tst-cancel-wrappers.out): Remove rule.
7604 * nptl/tst-cancel-wrappers.sh: Remove file.
7606 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7608 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
7609 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7612 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7615 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
7616 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
7617 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
7618 close-on-exec reset for adddup2 file action.
7619 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7621 2019-01-03 Zack Weinberg <zackw@panix.com>
7623 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
7624 parameter. Only use deprecated scanf when __USE_GNU is defined
7625 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
7626 than 201103L, whichever is relevant for the language being compiled.
7628 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
7629 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
7630 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
7631 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
7632 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
7636 * libio/iovswscanf.c
7641 * stdio-common/fscanf.c
7642 * stdio-common/scanf.c
7643 * stdio-common/vfscanf.c
7644 * stdio-common/vfwscanf.c
7645 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7646 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
7647 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
7648 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
7649 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
7650 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
7651 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
7652 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
7653 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
7654 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
7655 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
7656 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
7657 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
7658 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
7659 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
7661 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
7662 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
7663 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
7665 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
7666 with a preprocessor macro.
7668 * stdio-common/bug21.c, stdio-common/scanf14.c:
7669 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
7670 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7671 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
7672 to xscanf, xfscanf, xsscanf.
7674 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
7675 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7676 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
7677 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
7679 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
7680 override feature selection macros or provide definitions of u_char etc.
7681 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
7682 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
7683 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
7686 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7688 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7689 bits/termios-misc.h.
7690 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
7691 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7692 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7693 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7694 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
7695 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
7697 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
7698 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7699 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
7700 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
7701 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
7702 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
7704 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
7705 (sysdep_headers): Add termios-misc.h.
7707 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
7708 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7709 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7711 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7713 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
7714 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
7715 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
7716 TCSAFLUSH): Move to termios-tcflow.h.
7717 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7718 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7719 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7720 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7724 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
7725 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
7726 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
7727 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
7728 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
7729 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
7730 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
7731 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
7733 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7734 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7735 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7736 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7738 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7740 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
7741 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
7742 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
7743 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
7744 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
7746 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7747 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7748 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7749 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7754 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
7755 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
7756 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
7757 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
7758 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
7759 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
7760 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
7761 __MAX_BAUD): Move to termios-baud.h.
7762 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
7763 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7764 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7765 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7766 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7768 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7770 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
7771 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
7772 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
7773 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
7774 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
7775 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
7777 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
7778 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
7780 [USE_MISC] (XTABS): Likewise.
7781 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7782 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7783 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7784 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
7786 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7788 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
7789 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
7790 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
7791 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
7792 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
7793 IUTF8): Move to termios-c_iflag.h.
7794 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7795 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7796 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7797 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7799 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7801 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
7802 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
7803 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
7804 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
7805 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
7806 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
7807 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
7808 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
7809 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7810 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7811 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7812 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7814 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
7815 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
7816 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
7817 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
7818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7820 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
7822 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
7824 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
7826 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
7828 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
7830 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
7831 _HAVE_C_OSPEED): Define.
7832 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
7833 _HAVE_C_OSPEED): Likewise.
7834 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
7835 _HAVE_C_OSPEED): Likewise.
7836 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
7837 (cfsetospeed): Check for define value instead of existence.
7838 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
7839 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7840 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
7841 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7842 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
7845 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
7847 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7848 (TIOCSER_TEMT): Likewise.
7849 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
7850 (TEOCSER_TEMT): Likewise.
7852 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
7855 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
7857 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7859 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7861 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7863 * sysdeps/htl/pt-barrierattr-setpshared.c
7864 (pthread_barrierattr_setpshared): Add stub warning.
7865 * sysdeps/htl/pt-condattr-setpshared.c
7866 (pthread_condattr_setpshared): Likewise.
7867 * sysdeps/htl/pt-mutexattr-setpshared.c
7868 (pthread_mutexattr_setpshared): Likewise.
7869 * sysdeps/htl/pt-rwlockattr-setpshared.c
7870 (pthread_rwlockattr_setpshared): Likewise.
7871 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
7872 (pthread_mutexattr_setpshared): Likewise.
7874 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7876 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
7877 constants to match with Linux 4.20.
7879 * sysdeps/mips/mips32/libm-test-ulps: Update.
7880 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7882 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
7885 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
7886 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
7887 than __typeof (...) for the a_ptr variable.
7889 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7891 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
7892 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
7893 * libio/Makefile (tests): Add tst-sprintf-ub and
7895 (CFLAGS-tst-sprintf-ub.c): New variable.
7896 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
7897 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
7898 destination buffer and check for overflows in fortified mode.
7899 * libio/libioP.h (PRINTF_CHK): New macro.
7900 * libio/tst-sprintf-chk-ub.c: New file.
7901 * libio/tst-sprintf-ub.c: Likewise.
7903 2019-01-02 Florian Weimer <fweimer@redhat.com>
7906 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
7909 2019-01-02 Florian Weimer <fweimer@redhat.com>
7911 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
7913 2019-01-01 Joseph Myers <joseph@codesourcery.com>
7915 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
7918 * sysdeps/unix/sysv/linux/netpacket/packet.h
7919 (PACKET_IGNORE_OUTGOING): New macro.
7921 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
7924 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7926 (riscv_flush_icache): New syscall.
7928 * manual/texinfo.tex: Update to version 2018-12-28.17 with
7929 trailing whitespace removed.
7930 * scripts/config.guess: Update to version 2019-01-01.
7931 * scripts/config.sub: Update to version 2019-01-01.
7932 * scripts/move-if-change: Update from gnulib.
7934 * NEWS: Update copyright dates.
7935 * catgets/gencat.c (print_version): Likewise.
7936 * csu/version.c (banner): Likewise.
7937 * debug/catchsegv.sh: Likewise.
7938 * debug/pcprofiledump.c (print_version): Likewise.
7939 * debug/xtrace.sh (do_version): Likewise.
7940 * elf/ldconfig.c (print_version): Likewise.
7941 * elf/ldd.bash.in: Likewise.
7942 * elf/pldd.c (print_version): Likewise.
7943 * elf/sotruss.sh: Likewise.
7944 * elf/sprof.c (print_version): Likewise.
7945 * iconv/iconv_prog.c (print_version): Likewise.
7946 * iconv/iconvconfig.c (print_version): Likewise.
7947 * locale/programs/locale.c (print_version): Likewise.
7948 * locale/programs/localedef.c (print_version): Likewise.
7949 * login/programs/pt_chown.c (print_version): Likewise.
7950 * malloc/memusage.sh (do_version): Likewise.
7951 * malloc/memusagestat.c (print_version): Likewise.
7952 * malloc/mtrace.pl: Likewise.
7953 * manual/libc.texinfo: Likewise.
7954 * nptl/version.c (banner): Likewise.
7955 * nscd/nscd.c (print_version): Likewise.
7956 * nss/getent.c (print_version): Likewise.
7957 * nss/makedb.c (print_version): Likewise.
7958 * posix/getconf.c (main): Likewise.
7959 * scripts/test-installation.pl: Likewise.
7960 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7962 * All files with FSF copyright notices: Update copyright dates
7963 using scripts/update-copyrights.
7964 * locale/programs/charmap-kw.h: Regenerated.
7965 * locale/programs/locfile-kw.h: Likewise.
7967 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7969 * timezone/zdump.c: Update from tzcode 2018i.
7970 * timezone/zic.c: Likewise.
7972 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
7974 regex: improve Gnulib port to AIX
7975 From the glibc point of view, this removes duplicate macro
7976 definitions and is obviously safe.
7977 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
7978 * posix/regex_internal.h:
7979 (__attribute__, __attribute_warn_unused_result__):
7980 Remove; already defined elsewhere.
7982 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
7985 * malloc/malloc.c (_int_realloc): Always call memcpy for the
7986 copying operation. (ncopies had the wrong type, resulting in an
7987 integer wraparound and too few elements being copied.)
7989 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
7992 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
7993 <asm/syscalls.h> exists with __has_include__ before including it.
7995 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7997 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8000 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
8002 * hurd/lookup-retry: Include <unistd.h>.
8003 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
8004 Release it on return. Handle "pid" magical lookup retry.
8006 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
8009 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
8010 (t_fmt_ampm): Likewise.
8011 * localedata/locales/aa_ER (t_fmt): Likewise.
8012 (t_fmt_ampm): Likewise.
8013 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
8014 (t_fmt_ampm): Likewise.
8015 * localedata/locales/aa_ET (t_fmt): Likewise.
8016 (t_fmt_ampm): Likewise.
8017 * localedata/locales/am_ET (t_fmt): Likewise.
8018 (t_fmt_ampm): Likewise.
8019 * localedata/locales/byn_ER (t_fmt): Likewise.
8020 (t_fmt_ampm): Likewise.
8021 * localedata/locales/om_ET (t_fmt): Likewise.
8022 (t_fmt_ampm): Likewise.
8023 * localedata/locales/sid_ET (t_fmt): Likewise.
8024 (t_fmt_ampm): Likewise.
8025 * localedata/locales/so_DJ (t_fmt): Likewise.
8026 (t_fmt_ampm): Likewise.
8027 * localedata/locales/so_ET (t_fmt): Likewise.
8028 (t_fmt_ampm): Likewise.
8029 * localedata/locales/so_SO (t_fmt): Likewise.
8030 (t_fmt_ampm): Likewise.
8031 * localedata/locales/ti_ER (t_fmt): Likewise.
8032 (t_fmt_ampm): Likewise.
8033 * localedata/locales/ti_ET (t_fmt): Likewise.
8034 (t_fmt_ampm): Likewise.
8035 * localedata/locales/tig_ER (t_fmt): Likewise.
8036 (t_fmt_ampm): Likewise.
8037 * localedata/locales/wal_ET (t_fmt): Likewise.
8038 (t_fmt_ampm): Likewise.
8040 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
8041 * localedata/locales/ar_IN (t_fmt): Likewise.
8042 * localedata/locales/bhb_IN (t_fmt): Likewise.
8043 * localedata/locales/bho_IN (t_fmt): Likewise.
8044 * localedata/locales/bi_VU (t_fmt): Likewise.
8045 * localedata/locales/bn_BD (t_fmt): Likewise.
8046 * localedata/locales/bn_IN (t_fmt): Likewise.
8047 * localedata/locales/brx_IN (t_fmt): Likewise.
8048 * localedata/locales/doi_IN (t_fmt): Likewise.
8049 * localedata/locales/en_HK (t_fmt): Likewise.
8050 (t_fmt_ampm): Likewise.
8051 * localedata/locales/en_IN (t_fmt): Likewise.
8052 * localedata/locales/en_PH (t_fmt): Likewise.
8053 * localedata/locales/gu_IN (t_fmt): Likewise.
8054 * localedata/locales/hi_IN (t_fmt): Likewise.
8055 * localedata/locales/hif_FJ (t_fmt): Likewise.
8056 * localedata/locales/hne_IN (t_fmt): Likewise.
8057 * localedata/locales/kn_IN (t_fmt): Likewise.
8058 * localedata/locales/kok_IN (t_fmt): Likewise.
8059 * localedata/locales/ks_IN (t_fmt): Likewise.
8060 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
8061 * localedata/locales/mag_IN (t_fmt): Likewise.
8062 * localedata/locales/mai_IN (t_fmt): Likewise.
8063 * localedata/locales/mjw_IN (t_fmt): Likewise.
8064 * localedata/locales/ml_IN (t_fmt): Likewise.
8065 * localedata/locales/mni_IN (t_fmt): Likewise.
8066 * localedata/locales/mr_IN (t_fmt): Likewise.
8067 * localedata/locales/ms_MY (t_fmt): Likewise.
8068 * localedata/locales/pa_IN (t_fmt): Likewise.
8069 * localedata/locales/raj_IN (t_fmt): Likewise.
8070 * localedata/locales/sa_IN (t_fmt): Likewise.
8071 * localedata/locales/sat_IN (t_fmt): Likewise.
8072 * localedata/locales/sd_IN (t_fmt): Likewise.
8073 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
8074 * localedata/locales/tcy_IN (t_fmt): Likewise.
8075 * localedata/locales/the_NP (t_fmt): Likewise.
8076 * localedata/locales/to_TO (t_fmt): Likewise.
8077 * localedata/locales/ur_IN (t_fmt): Likewise.
8079 * localedata/locales/hif_FJ (d_t_fmt): Set to
8080 "%A %d %b %Y %I:%M:%S %p".
8081 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
8083 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
8084 * localedata/locales/ar_BH (t_fmt): Likewise.
8085 * localedata/locales/ar_DZ (t_fmt): Likewise.
8086 * localedata/locales/ar_EG (t_fmt): Likewise.
8087 * localedata/locales/ar_IQ (t_fmt): Likewise.
8088 * localedata/locales/ar_JO (t_fmt): Likewise.
8089 * localedata/locales/ar_KW (t_fmt): Likewise.
8090 * localedata/locales/ar_LB (t_fmt): Likewise.
8091 * localedata/locales/ar_LY (t_fmt): Likewise.
8092 * localedata/locales/ar_OM (t_fmt): Likewise.
8093 * localedata/locales/ar_QA (t_fmt): Likewise.
8094 * localedata/locales/ar_SD (t_fmt): Likewise.
8095 * localedata/locales/ar_SS (t_fmt): Likewise.
8096 * localedata/locales/ar_SY (t_fmt): Likewise.
8097 * localedata/locales/ar_TN (t_fmt): Likewise.
8098 * localedata/locales/ar_YE (t_fmt): Likewise.
8100 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
8101 (t_fmt_ampm): Likewise.
8102 * localedata/locales/gez_ET (t_fmt): Likewise.
8103 (t_fmt_ampm): Likewise.
8105 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
8106 (t_fmt_ampm): Likewise.
8107 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
8109 * localedata/locales/zh_HK (t_fmt):
8110 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
8112 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
8113 because this locale does not use the 12-hour clock.
8114 (t_fmt): Set to "%Z %H:%M:%S".
8115 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
8117 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
8118 because this locale does not use the 12-hour clock.
8119 (t_fmt): Set to "%H:%M:%S %Z".
8120 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
8122 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
8123 because this locale does not use the 12-hour clock.
8124 (t_fmt): Set to "%T".
8125 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
8126 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
8128 * localedata/locales/ta_LK (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 %B %Y %H:%M:%S %Z".
8133 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
8134 because this locale does not use the 12-hour clock.
8135 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
8136 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
8138 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
8142 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
8143 (t_fmt_ampm): Likewise.
8144 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
8145 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
8146 (d_fmt): Set to "%-d.%-m.%y".
8148 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8150 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
8151 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
8152 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
8154 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
8155 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
8156 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
8158 * support/blob_repeat.c (check_mul_overflow_size_t,
8159 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
8161 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
8163 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
8165 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
8167 regex: simplify Gnulib port
8168 This simplifies the code, by removing stuff intended for porting
8169 to Gnulib but no longer needed there.
8170 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
8171 uses of libc_hidden_def, weak_alias.
8172 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
8173 _Restrict_ except for public-facing headers.
8174 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
8175 Remove; already defined elsewhere.
8176 * posix/regex.c, posix/regex_internal.h:
8177 Use __GNUC_PREREQ instead of rolling our own.
8178 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
8180 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
8182 * benchtests/bench-strlen.c (generic_strlen): New function.
8183 (memchr_strlen): New function.
8185 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8187 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
8188 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
8189 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
8191 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8193 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8195 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8197 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
8198 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
8199 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
8200 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
8201 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
8202 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
8203 <sysdeps/ieee754/flt-32/s_sincosf.c>.
8205 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8208 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
8209 PLT reference in libc.so.
8210 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
8211 _Q_lltoq and _Q_qtod PLT references in libc.so.
8213 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
8215 * benchtests/bench-memchr.c: Cleanup defines.
8216 * benchtests/bench-memcmp.c: Likewise.
8217 * benchtests/bench-memset.c: Likewise.
8218 * benchtests/bench-memset-large.c: Likewise.
8219 * benchtests/bench-memset-walk.c: Likewise.
8220 * benchtests/bench-stpcpy.c: Likewise.
8221 * benchtests/bench-stpncpy.c: Likewise.
8222 * benchtests/bench-strcat.c: Likewise.
8223 * benchtests/bench-strchr.c: Likewise.
8224 * benchtests/bench-strcmp.c: Likewise.
8225 * benchtests/bench-strcpy.c: Likewise.
8226 * benchtests/bench-strcspn.c: Likewise.
8227 * benchtests/bench-string.h: Likewise.
8228 * benchtests/bench-strlen.c: Likewise.
8229 * benchtests/bench-strncat.c: Likewise.
8230 * benchtests/bench-strncmp.c: Likewise.
8231 * benchtests/bench-strncpy.c: Likewise.
8232 * benchtests/bench-strnlen.c: Likewise.
8233 * benchtests/bench-strpbrk.c: Likewise.
8234 * benchtests/bench-strrchr.c: Likewise.
8235 * benchtests/bench-strspn.c: Likewise.
8237 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8239 * stdlib/longlong.h: Update from GCC.
8242 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
8243 * configure: Regenerated.
8244 * manual/install.texi (Tools for Compilation): Update minimum GCC
8246 * INSTALL: Regenerated.
8248 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
8250 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
8252 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
8254 * malloc/malloc.c (mremap_chunk): Additional checks.
8256 2018-12-21 Mao Han <han_mao@c-sky.com>
8258 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
8259 * scripts/build-many-glibcs.py: Add C-SKY targets.
8260 * sysdeps/csky/Implies: New file.
8261 * sysdeps/csky/Makefile: Likewise.
8262 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
8263 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
8264 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
8265 * sysdeps/csky/abiv2/memcmp.S: Likewise.
8266 * sysdeps/csky/abiv2/memcpy.S: Likewise.
8267 * sysdeps/csky/abiv2/memmove.S: Likewise.
8268 * sysdeps/csky/abiv2/memset.S: Likewise.
8269 * sysdeps/csky/abiv2/setjmp.S: Likewise.
8270 * sysdeps/csky/abiv2/start.S: Likewise.
8271 * sysdeps/csky/abiv2/strcmp.S: Likewise.
8272 * sysdeps/csky/abiv2/strcpy.S: Likewise.
8273 * sysdeps/csky/abiv2/strlen.S: Likewise.
8274 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
8275 * sysdeps/csky/abort-instr.h: Likewise.
8276 * sysdeps/csky/atomic-machine.h: Likewise.
8277 * sysdeps/csky/bits/endian.h: Likewise.
8278 * sysdeps/csky/bits/fenv.h: Likewise.
8279 * sysdeps/csky/bits/link.h: Likewise.
8280 * sysdeps/csky/bits/setjmp.h: Likewise.
8281 * sysdeps/csky/bsd-_setjmp.S: Likewise.
8282 * sysdeps/csky/bsd-setjmp.S: Likewise.
8283 * sysdeps/csky/configure: Likewise.
8284 * sysdeps/csky/configure.ac: Likewise.
8285 * sysdeps/csky/dl-machine.h: Likewise.
8286 * sysdeps/csky/dl-procinfo.c: Likewise.
8287 * sysdeps/csky/dl-procinfo.h: Likewise.
8288 * sysdeps/csky/dl-sysdep.h: Likewise.
8289 * sysdeps/csky/dl-tls.h: Likewise.
8290 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
8291 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
8292 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
8293 * sysdeps/csky/fpu/fegetenv.c: Likewise.
8294 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
8295 * sysdeps/csky/fpu/fegetmode.c: Likewise.
8296 * sysdeps/csky/fpu/fegetround.c: Likewise.
8297 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
8298 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
8299 * sysdeps/csky/fpu/fenv_private.h: Likewise.
8300 * sysdeps/csky/fpu/fesetenv.c: Likewise.
8301 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
8302 * sysdeps/csky/fpu/fesetmode.c: Likewise.
8303 * sysdeps/csky/fpu/fesetround.c: Likewise.
8304 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
8305 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
8306 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
8307 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
8308 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
8309 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
8310 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
8311 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
8312 * sysdeps/csky/fpu_control.h: Likewise.
8313 * sysdeps/csky/gccframe.h: Likewise.
8314 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
8315 * sysdeps/csky/ldsodefs.h: Likewise.
8316 * sysdeps/csky/libc-tls.c: Likewise.
8317 * sysdeps/csky/linkmap.h: Likewise.
8318 * sysdeps/csky/machine-gmon.h: Likewise.
8319 * sysdeps/csky/memusage.h: Likewise.
8320 * sysdeps/csky/nofpu/Implies: Likewise.
8321 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
8322 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
8323 * sysdeps/csky/nptl/Makefile: Likewise.
8324 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
8325 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
8326 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
8327 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
8328 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
8329 * sysdeps/csky/nptl/tls.h: Likewise.
8330 * sysdeps/csky/preconfigure: Likewise.
8331 * sysdeps/csky/sfp-machine.h: Likewise.
8332 * sysdeps/csky/sotruss-lib.c: Likewise.
8333 * sysdeps/csky/stackinfo.h: Likewise.
8334 * sysdeps/csky/sysdep.h: Likewise.
8335 * sysdeps/csky/tininess.h: Likewise.
8336 * sysdeps/csky/tst-audit.h: Likewise.
8337 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
8338 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
8339 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
8340 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
8341 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
8342 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
8343 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
8344 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
8345 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
8346 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
8347 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
8348 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
8349 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
8350 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
8351 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
8352 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
8353 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
8354 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
8355 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
8356 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
8357 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
8358 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
8359 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
8360 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
8361 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
8362 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
8363 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
8364 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
8365 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
8366 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
8367 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
8368 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
8369 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
8370 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
8371 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
8372 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
8373 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
8374 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
8375 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
8376 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
8377 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
8378 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
8379 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
8380 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
8382 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8384 * include/time.h (__difftime64): Add.
8385 * time/difftime.c (subtract): convert to 64-bit time.
8386 * time/difftime.c (__difftime64): Add.
8387 * time/difftime.c (__difftime): Wrap around __difftime64.
8389 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
8391 * manual/examples/add.c: Remove redundant "if not".
8392 * manual/examples/argp-ex1.c: Likewise.
8393 * manual/examples/argp-ex2.c: Likewise.
8394 * manual/examples/argp-ex3.c: Likewise.
8395 * manual/examples/argp-ex4.c: Likewise.
8396 * manual/examples/atexit.c: Likewise.
8397 * manual/examples/db.c: Likewise.
8398 * manual/examples/dir.c: Likewise.
8399 * manual/examples/dir2.c: Likewise.
8400 * manual/examples/execinfo.c: Likewise.
8401 * manual/examples/filecli.c: Likewise.
8402 * manual/examples/filesrv.c: Likewise.
8403 * manual/examples/fmtmsgexpl.c: Likewise.
8404 * manual/examples/genpass.c: Likewise.
8405 * manual/examples/inetcli.c: Likewise.
8406 * manual/examples/inetsrv.c: Likewise.
8407 * manual/examples/isockad.c: Likewise.
8408 * manual/examples/longopt.c: Likewise.
8409 * manual/examples/memopen.c: Likewise.
8410 * manual/examples/memstrm.c: Likewise.
8411 * manual/examples/mkdirent.c: Likewise.
8412 * manual/examples/mkfsock.c: Likewise.
8413 * manual/examples/mkisock.c: Likewise.
8414 * manual/examples/mygetpass.c: Likewise.
8415 * manual/examples/pipe.c: Likewise.
8416 * manual/examples/popen.c: Likewise.
8417 * manual/examples/rprintf.c: Likewise.
8418 * manual/examples/search.c: Likewise.
8419 * manual/examples/select.c: Likewise.
8420 * manual/examples/setjmp.c: Likewise.
8421 * manual/examples/sigh1.c: Likewise.
8422 * manual/examples/sigusr.c: Likewise.
8423 * manual/examples/stpcpy.c: Likewise.
8424 * manual/examples/strdupa.c: Likewise.
8425 * manual/examples/strftim.c: Likewise.
8426 * manual/examples/subopt.c: Likewise.
8427 * manual/examples/swapcontext.c: Likewise.
8428 * manual/examples/termios.c: Likewise.
8429 * manual/examples/testopt.c: Likewise.
8430 * manual/examples/testpass.c: Likewise.
8431 * manual/examples/timeval_subtract.c: Likewise.
8433 2018-12-19 Joseph Myers <joseph@codesourcery.com>
8435 * sysdeps/x86/fpu/math_private.h: New file.
8436 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
8438 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
8443 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8445 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
8446 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
8447 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
8448 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
8450 (_dl_show_auxv): Give a special treatment to
8451 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
8452 and AT_L3_CACHEGEOMETRY.
8453 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
8454 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
8455 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
8456 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
8458 2018-12-19 Andreas Schwab <schwab@suse.de>
8460 * nscd/connections.c (check_use): Don't abort on invalid len.
8462 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8464 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
8465 values in the 64bit value cases.
8467 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8473 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
8479 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
8482 (__gmtime64_r): Add.
8484 (__gmtime64_r): Add.
8485 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8491 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8494 (__localtime64_r): Add.
8496 (__localtime64_r): Add.
8497 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
8499 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8501 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
8502 kernel_sigction definition.
8504 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
8506 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
8508 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
8509 __syscall_rt_sigaction.
8510 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
8511 (kernel_sigaction): Use Linux generic defintion.
8513 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
8514 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
8515 (__syscall_rt_sigaction): Remove implementation.
8516 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
8518 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
8519 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
8520 INTERNAL_SYSCALL): Remove definitions.
8521 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
8522 action and signal set size.
8523 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
8524 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
8526 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8527 James Clarke <jrtc27@jrtc27.com>
8530 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
8531 Define if SA_RESTORER is defined.
8532 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
8533 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
8535 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
8536 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
8538 (HAS_SA_RESTORER): Define.
8539 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
8540 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
8541 (HAS_SA_RESTORER): Define.
8542 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
8543 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
8544 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
8545 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
8546 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8548 2018-12-18 Joseph Myers <joseph@codesourcery.com>
8550 * sysdeps/unix/sysv/linux/kernel-features.h
8551 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
8552 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8553 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
8554 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8555 (__ASSUME_ST_INO_64_BIT): Likewise.
8556 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8557 <kernel-features.h>.
8558 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8559 Remove conditional code.
8560 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8561 <kernel-features.h>.
8562 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8563 Remove conditional code.
8564 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
8565 <kernel-features.h>.
8566 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8567 Remove conditional code.
8568 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
8569 <kernel-features.h>.
8570 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
8571 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
8573 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8575 * sysdeps/s390/multiarch/ifunc-resolve.h
8576 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
8577 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
8578 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
8579 Delete macro definition.
8580 (s390_libc_ifunc_init): Rename to
8581 s390_libc_ifunc_expr_stfle_init.
8582 * sysdeps/s390/bzero: Use
8583 s390_libc_ifunc_expr_stfle_init instead of
8584 s390_libc_ifunc_init.
8585 * sysdeps/s390/memcmp.c: Likewise.
8586 * sysdeps/s390/memcpy.c: Likewise.
8587 * sysdeps/s390/mempcpy.c: Likewise.
8588 * sysdeps/s390/memset.c: Likewise.
8590 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8592 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
8593 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
8595 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8597 * sysdeps/s390/multiarch/Makefile
8598 (sysdep_routines): Remove wmemcmp variants.
8599 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
8600 * sysdeps/s390/multiarch/ifunc-impl-list.c
8601 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
8602 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
8603 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
8604 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
8605 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
8606 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
8607 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
8608 * sysdeps/s390/ifunc-wmemcmp.h: New file.
8610 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8612 * sysdeps/s390/multiarch/Makefile
8613 (sysdep_routines): Remove wmemset variants.
8614 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
8615 * sysdeps/s390/multiarch/ifunc-impl-list.c
8616 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
8617 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
8618 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
8619 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
8620 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
8621 * sysdeps/s390/multiarch/wmemset.c: Move to ...
8622 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
8623 * sysdeps/s390/ifunc-wmemset.h: New file.
8625 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8627 * sysdeps/s390/multiarch/Makefile
8628 (sysdep_routines): Remove wmemchr variants.
8629 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
8630 * sysdeps/s390/multiarch/ifunc-impl-list.c
8631 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
8632 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
8633 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
8634 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
8635 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
8636 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
8637 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
8638 * sysdeps/s390/ifunc-wmemchr.h: New file.
8640 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8642 * sysdeps/s390/multiarch/Makefile
8643 (sysdep_routines): Remove wcscspn variants.
8644 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
8645 * sysdeps/s390/multiarch/ifunc-impl-list.c
8646 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
8647 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
8648 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
8649 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
8650 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
8651 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
8652 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
8653 * sysdeps/s390/ifunc-wcscspn.h: New file.
8655 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8657 * sysdeps/s390/multiarch/Makefile
8658 (sysdep_routines): Remove wcspbrk variants.
8659 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
8660 * sysdeps/s390/multiarch/ifunc-impl-list.c
8661 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
8662 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
8663 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
8664 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
8665 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
8666 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
8667 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
8668 * sysdeps/s390/ifunc-wcspbrk.h: New file.
8670 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8672 * sysdeps/s390/multiarch/Makefile
8673 (sysdep_routines): Remove wcsspn variants.
8674 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
8675 * sysdeps/s390/multiarch/ifunc-impl-list.c
8676 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
8677 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
8678 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
8679 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
8680 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
8681 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
8682 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
8683 * sysdeps/s390/ifunc-wcsspn.h: New file.
8685 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8687 * sysdeps/s390/multiarch/Makefile
8688 (sysdep_routines): Remove wcsrchr variants.
8689 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
8690 * sysdeps/s390/multiarch/ifunc-impl-list.c
8691 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
8692 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
8693 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
8694 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
8695 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
8696 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
8697 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
8698 * sysdeps/s390/ifunc-wcsrchr.h: New file.
8700 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8702 * sysdeps/s390/multiarch/Makefile
8703 (sysdep_routines): Remove wcschrnul variants.
8704 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
8705 * sysdeps/s390/multiarch/ifunc-impl-list.c
8706 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
8707 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
8708 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
8709 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
8710 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
8711 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
8712 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
8713 * sysdeps/s390/ifunc-wcschrnul.h: New file.
8715 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8717 * sysdeps/s390/multiarch/Makefile
8718 (sysdep_routines): Remove wcschr variants.
8719 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
8720 * sysdeps/s390/multiarch/ifunc-impl-list.c
8721 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
8722 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
8723 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
8724 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
8725 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
8726 * sysdeps/s390/multiarch/wcschr.c: Move to ...
8727 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
8728 * sysdeps/s390/ifunc-wcschr.h: New file.
8730 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8732 * sysdeps/s390/multiarch/Makefile
8733 (sysdep_routines): Remove wcsncmp variants.
8734 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
8735 * sysdeps/s390/multiarch/ifunc-impl-list.c
8736 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
8737 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
8738 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
8739 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
8740 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
8741 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
8742 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
8743 * sysdeps/s390/ifunc-wcsncmp.h: New file.
8745 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8747 * sysdeps/s390/multiarch/Makefile
8748 (sysdep_routines): Remove wcscmp variants.
8749 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
8750 * sysdeps/s390/multiarch/ifunc-impl-list.c
8751 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
8752 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
8753 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
8754 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
8755 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
8756 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
8757 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
8758 * sysdeps/s390/ifunc-wcscmp.h: New file.
8760 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8762 * sysdeps/s390/multiarch/Makefile
8763 (sysdep_routines): Remove wcsncat variants.
8764 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
8765 * sysdeps/s390/multiarch/ifunc-impl-list.c
8766 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
8767 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
8768 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
8769 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
8770 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
8771 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
8772 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
8773 * sysdeps/s390/ifunc-wcsncat.h: New file.
8775 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8777 * sysdeps/s390/multiarch/Makefile
8778 (sysdep_routines): Remove wcscat variants.
8779 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
8780 * sysdeps/s390/multiarch/ifunc-impl-list.c
8781 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
8782 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
8783 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
8784 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
8785 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
8786 * sysdeps/s390/multiarch/wcscat.c: Move to ...
8787 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
8788 * sysdeps/s390/ifunc-wcscat.h: New file.
8790 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8792 * sysdeps/s390/multiarch/Makefile
8793 (sysdep_routines): Remove wcpncpy variants.
8794 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
8795 * sysdeps/s390/multiarch/ifunc-impl-list.c
8796 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
8797 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
8798 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
8799 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
8800 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
8801 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
8802 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
8803 * sysdeps/s390/ifunc-wcpncpy.h: New file.
8805 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8807 * sysdeps/s390/multiarch/Makefile
8808 (sysdep_routines): Remove wcsncpy variants.
8809 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
8810 * sysdeps/s390/multiarch/ifunc-impl-list.c
8811 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
8812 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
8813 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
8814 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
8815 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
8816 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
8817 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
8818 * sysdeps/s390/ifunc-wcsncpy.h: New file.
8820 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8822 * sysdeps/s390/multiarch/Makefile
8823 (sysdep_routines): Remove wcpcpy variants.
8824 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
8825 * sysdeps/s390/multiarch/ifunc-impl-list.c
8826 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
8827 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
8828 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
8829 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
8830 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
8831 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
8832 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
8833 * sysdeps/s390/ifunc-wcpcpy.h: New file.
8835 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8837 * sysdeps/s390/multiarch/Makefile
8838 (sysdep_routines): Remove wcscpy variants.
8839 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
8840 * sysdeps/s390/multiarch/ifunc-impl-list.c
8841 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
8842 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
8843 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
8844 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
8845 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
8846 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
8847 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
8848 * sysdeps/s390/ifunc-wcscpy.h: New file.
8850 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8852 * sysdeps/s390/multiarch/Makefile
8853 (sysdep_routines): Remove wcsnlen variants.
8854 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
8855 * sysdeps/s390/multiarch/ifunc-impl-list.c
8856 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
8857 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
8858 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
8859 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
8860 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
8861 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
8862 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
8863 * sysdeps/s390/ifunc-wcsnlen.h: New file.
8865 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8867 * sysdeps/s390/multiarch/Makefile
8868 (sysdep_routines): Remove wcslen variants.
8869 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
8870 * sysdeps/s390/multiarch/ifunc-impl-list.c
8871 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
8872 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
8873 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
8874 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
8875 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
8876 * sysdeps/s390/multiarch/wcslen.c: Move to ...
8877 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
8878 * sysdeps/s390/ifunc-wcslen.h: New file.
8880 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8882 * sysdeps/s390/multiarch/Makefile
8883 (sysdep_routines): Remove memrchr variants.
8884 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
8885 * sysdeps/s390/multiarch/ifunc-impl-list.c
8886 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
8887 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
8888 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
8889 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
8890 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
8891 * sysdeps/s390/multiarch/memrchr.c: Move to ...
8892 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
8893 * sysdeps/s390/ifunc-memrchr.h: New file.
8895 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8897 * sysdeps/s390/multiarch/Makefile
8898 (sysdep_routines): Remove memccpy variants.
8899 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
8900 * sysdeps/s390/multiarch/ifunc-impl-list.c
8901 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
8902 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
8903 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
8904 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
8905 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
8906 * sysdeps/s390/multiarch/memccpy.c: Move to ...
8907 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
8908 * sysdeps/s390/ifunc-memccpy.h: New file.
8910 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8912 * sysdeps/s390/multiarch/Makefile
8913 (sysdep_routines): Remove rawmemchr variants.
8914 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
8915 * sysdeps/s390/multiarch/ifunc-impl-list.c
8916 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
8917 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
8918 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
8919 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
8920 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
8921 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
8922 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
8923 * sysdeps/s390/ifunc-rawmemchr.h: New file.
8925 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8927 * sysdeps/s390/multiarch/Makefile
8928 (sysdep_routines): Remove memchr variants.
8929 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
8930 * sysdeps/s390/multiarch/ifunc-impl-list.c
8931 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
8932 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
8933 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
8934 * sysdeps/s390/multiarch/memchr.c: Move to ...
8935 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
8936 * sysdeps/s390/ifunc-memchr.h: New file.
8937 * sysdeps/s390/s390-64/memchr.S: Move to ...
8938 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
8939 for 31/64bit and ifunc handling.
8940 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
8941 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8942 * sysdeps/s390/s390-32/memchr.S: Likewise.
8944 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8946 * sysdeps/s390/multiarch/Makefile
8947 (sysdep_routines): Remove strcspn variants.
8948 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
8949 * sysdeps/s390/multiarch/ifunc-impl-list.c
8950 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
8951 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
8952 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
8953 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
8954 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
8955 * sysdeps/s390/multiarch/strcspn.c: Move to ...
8956 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
8957 * sysdeps/s390/ifunc-strcspn.h: New file.
8959 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8961 * sysdeps/s390/multiarch/Makefile
8962 (sysdep_routines): Remove strpbrk variants.
8963 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
8964 * sysdeps/s390/multiarch/ifunc-impl-list.c
8965 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
8966 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
8967 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
8968 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
8969 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
8970 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
8971 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
8972 * sysdeps/s390/ifunc-strpbrk.h: New file.
8974 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8976 * sysdeps/s390/multiarch/Makefile
8977 (sysdep_routines): Remove strspn variants.
8978 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
8979 * sysdeps/s390/multiarch/ifunc-impl-list.c
8980 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
8981 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
8982 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
8983 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
8984 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
8985 * sysdeps/s390/multiarch/strspn.c: Move to ...
8986 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
8987 * sysdeps/s390/ifunc-strspn.h: New file.
8989 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8991 * sysdeps/s390/multiarch/Makefile
8992 (sysdep_routines): Remove strrchr variants.
8993 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
8994 * sysdeps/s390/multiarch/ifunc-impl-list.c
8995 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
8996 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
8997 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
8998 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
8999 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
9000 * sysdeps/s390/multiarch/strrchr.c: Move to ...
9001 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
9002 * sysdeps/s390/ifunc-strrchr.h: New file.
9004 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9006 * sysdeps/s390/multiarch/Makefile
9007 (sysdep_routines): Remove strchrnul variants.
9008 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
9009 * sysdeps/s390/multiarch/ifunc-impl-list.c
9010 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
9011 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
9012 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
9013 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
9014 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
9015 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
9016 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
9017 * sysdeps/s390/ifunc-strchrnul.h: New file.
9019 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9021 * sysdeps/s390/multiarch/Makefile
9022 (sysdep_routines): Remove strchr variants.
9023 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
9024 * sysdeps/s390/multiarch/ifunc-impl-list.c
9025 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
9026 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
9027 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
9028 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
9029 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
9030 * sysdeps/s390/multiarch/strchr.c: Move to ...
9031 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
9032 * sysdeps/s390/ifunc-strchr.h: New file.
9034 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9036 * sysdeps/s390/multiarch/Makefile
9037 (sysdep_routines): Remove strncmp variants.
9038 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
9039 * sysdeps/s390/multiarch/ifunc-impl-list.c
9040 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
9041 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
9042 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
9043 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
9044 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
9045 * sysdeps/s390/multiarch/strncmp.c: Move to ...
9046 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
9047 * sysdeps/s390/ifunc-strncmp.h: New file.
9049 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9051 * sysdeps/s390/multiarch/Makefile
9052 (sysdep_routines): Remove strcmp variants.
9053 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
9054 * sysdeps/s390/multiarch/ifunc-impl-list.c
9055 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
9056 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
9057 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
9058 * sysdeps/s390/multiarch/strcmp.c: Move to ...
9059 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
9060 * sysdeps/s390/ifunc-strcmp.h: New file.
9061 * sysdeps/s390/s390-64/strcmp.S: Move to ...
9062 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
9063 for 31/64bit and ifunc handling.
9064 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
9065 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9066 * sysdeps/s390/s390-32/strcmp.S: Likewise.
9068 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9070 * sysdeps/s390/multiarch/Makefile
9071 (sysdep_routines): Remove strncat variants.
9072 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
9073 * sysdeps/s390/multiarch/ifunc-impl-list.c
9074 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
9075 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
9076 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
9077 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
9078 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
9079 * sysdeps/s390/multiarch/strncat.c: Move to ...
9080 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
9081 * sysdeps/s390/ifunc-strncat.h: New file.
9083 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9085 * sysdeps/s390/multiarch/Makefile
9086 (sysdep_routines): Remove strcat variants.
9087 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
9088 * sysdeps/s390/multiarch/ifunc-impl-list.c
9089 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
9090 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
9091 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
9092 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
9093 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
9094 * sysdeps/s390/multiarch/strcat.c: Move to ...
9095 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
9096 * sysdeps/s390/ifunc-strcat.h: New file.
9098 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9100 * sysdeps/s390/multiarch/Makefile
9101 (sysdep_routines): Remove stpncpy variants.
9102 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
9103 * sysdeps/s390/multiarch/ifunc-impl-list.c
9104 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
9105 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
9106 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
9107 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
9108 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
9109 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
9110 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
9111 * sysdeps/s390/ifunc-stpncpy.h: New file.
9113 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9115 * sysdeps/s390/multiarch/Makefile
9116 (sysdep_routines): Remove strncpy variants.
9117 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
9118 * sysdeps/s390/multiarch/ifunc-impl-list.c
9119 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
9120 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
9121 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
9122 * sysdeps/s390/multiarch/strncpy.c: Move to ...
9123 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
9124 * sysdeps/s390/ifunc-strncpy.h: New file.
9125 * sysdeps/s390/s390-64/strncpy.S: Move to ...
9126 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
9127 and adjust ifunc handling.
9128 * sysdeps/s390/s390-32/strncpy.S: Move to ...
9129 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
9130 and adjust ifunc handling.
9131 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
9132 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9134 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9136 * sysdeps/s390/multiarch/Makefile
9137 (sysdep_routines): Remove stpcpy variants.
9138 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
9139 * sysdeps/s390/multiarch/ifunc-impl-list.c
9140 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
9141 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
9142 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
9143 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
9144 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
9145 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
9146 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
9147 * sysdeps/s390/ifunc-stpcpy.h: New file.
9149 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9151 * sysdeps/s390/multiarch/Makefile
9152 (sysdep_routines): Remove strcpy variants.
9153 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
9154 * sysdeps/s390/multiarch/ifunc-impl-list.c
9155 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
9156 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
9157 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
9158 * sysdeps/s390/multiarch/strcpy.c: Move to ...
9159 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
9160 * sysdeps/s390/ifunc-strcpy.h: New file.
9161 * sysdeps/s390/s390-64/strcpy.S: Move to ...
9162 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
9163 for 31/64bit and ifunc handling.
9164 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
9165 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9166 * sysdeps/s390/s390-32/strcpy.S: Likewise.
9168 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9170 * sysdeps/s390/multiarch/Makefile
9171 (sysdep_routines): Remove strnlen variants.
9172 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
9173 * sysdeps/s390/multiarch/ifunc-impl-list.c
9174 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
9175 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
9176 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
9177 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
9178 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
9179 * sysdeps/s390/multiarch/strnlen.c: Move to ...
9180 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
9181 * sysdeps/s390/ifunc-strnlen.h: New file.
9183 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9185 * sysdeps/s390/multiarch/Makefile
9186 (sysdep_routines): Remove strlen variants.
9187 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
9188 * sysdeps/s390/multiarch/ifunc-impl-list.c
9189 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
9190 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
9191 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
9192 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
9193 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
9194 * sysdeps/s390/multiarch/strlen.c: Move to ...
9195 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
9196 * sysdeps/s390/ifunc-strlen.h: New file.
9198 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9200 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
9201 * sysdeps/s390/multiarch/ifunc-impl-list.c
9202 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
9203 * sysdeps/s390/ifunc-memmem.h: New file.
9204 * sysdeps/s390/memmem.c: Likewise.
9205 * sysdeps/s390/memmem-c.c: Likewise.
9206 * sysdeps/s390/memmem-vx.c: Likewise.
9208 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9210 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
9211 * sysdeps/s390/multiarch/ifunc-impl-list.c
9212 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
9213 * sysdeps/s390/ifunc-strstr.h: New file.
9214 * sysdeps/s390/strstr.c: Likewise.
9215 * sysdeps/s390/strstr-c.c: Likewise.
9216 * sysdeps/s390/strstr-vx.c: Likewise.
9218 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9220 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
9221 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
9222 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
9223 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
9225 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
9226 * sysdeps/s390/memmove-c.c: New file.
9227 * sysdeps/s390/memmove.c: Likewise.
9228 * sysdeps/s390/multiarch/ifunc-impl-list.c
9229 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
9231 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9233 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
9234 * sysdeps/s390/configure.ac: Add check for z13 support.
9235 * sysdeps/s390/configure: Regenerated.
9237 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9239 * sysdeps/s390/memcopy.h: New file.
9241 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9243 * sysdeps/s390/s390-32/bcopy.S: Remove.
9244 * sysdeps/s390/s390-64/bcopy.S: Likewise.
9246 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9248 * sysdeps/s390/ifunc-memcpy.h: New File.
9249 * sysdeps/s390/memcpy.S: Move to ...
9250 * sysdeps/s390/memcpy-z900.S ... here.
9251 Move implementations from memcpy-s390x.s to here.
9252 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
9253 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9254 Remove memcpy/mempcpy variants.
9255 * sysdeps/s390/Makefile (sysdep_routines):
9256 Add memcpy/mempcpy variants.
9257 * sysdeps/s390/multiarch/ifunc-impl-list.c
9258 (__libc_ifunc_impl_list): Adjust ifunc variants for
9260 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
9262 * sysdeps/s390/memcpy.c: ... here.
9263 Adjust ifunc variants for memcpy.
9264 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
9265 * sysdeps/s390/mempcpy.c: ... here.
9266 Adjust ifunc variants for mempcpy.
9267 * sysdeps/s390/mempcpy.S: Delete file.
9269 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9271 * sysdeps/s390/s390-64/memcpy.S: Move to ...
9272 * sysdeps/s390/memcpy.S: ... here.
9273 Adjust to be usable for 31/64bit.
9274 * sysdeps/s390/s390-32/memcpy.S: Delete File.
9275 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
9276 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
9277 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9278 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
9279 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
9280 Adjust to be usable for 31/64bit.
9281 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
9282 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
9283 * sysdeps/s390/multiarch/memcpy.c: ... here.
9284 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
9286 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9288 * sysdeps/s390/ifunc-memcmp.h: New File.
9289 * sysdeps/s390/memcmp.S: Move to ...
9290 * sysdeps/s390/memcmp-z900.S ... here.
9291 Move implementations from memcmp-s390x.s to here.
9292 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
9293 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9294 Remove memcmp variants.
9295 * sysdeps/s390/Makefile (sysdep_routines):
9296 Add memcmp variants.
9297 * sysdeps/s390/multiarch/ifunc-impl-list.c
9298 (__libc_ifunc_impl_list): Adjust ifunc variants for
9300 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
9302 * sysdeps/s390/memcmp.c: ... here.
9303 Adjust ifunc variants for memcmp.
9305 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9307 * sysdeps/s390/s390-64/memcmp.S: Move to ...
9308 * sysdeps/s390/memcmp.S: ... here.
9309 Adjust to be usable for 31/64bit.
9310 * sysdeps/s390/s390-32/memcmp.S: Delete File.
9311 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
9312 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9314 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9315 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
9316 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
9317 Adjust to be usable for 31/64bit.
9318 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
9319 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
9320 * sysdeps/s390/multiarch/memcmp.c: ... here.
9321 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
9323 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9325 * sysdeps/s390/s390-32/bzero.S: Delete file.
9326 * sysdeps/s390/s390-64/bzero.S: Likewise.
9327 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
9328 * sysdeps/s390/bzero.c: New file.
9329 * sysdeps/s390/memset-z900.S: Add bzero entry points.
9330 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
9331 * sysdeps/s390/multiarch/ifunc-impl-list.c
9332 (__libc_ifunc_impl_list): Add bzero ifunc variants.
9334 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9336 * sysdeps/s390/ifunc-memset.h: New File.
9337 * sysdeps/s390/memset.S: Move to ...
9338 * sysdeps/s390/memset-z900.S ... here.
9339 Move implementations from memset-s390x.s to here.
9340 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
9341 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9342 Remove memset variants.
9343 * sysdeps/s390/Makefile (sysdep_routines):
9344 Add memset variants.
9345 * sysdeps/s390/multiarch/ifunc-impl-list.c
9346 (__libc_ifunc_impl_list): Adjust ifunc variants for
9348 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
9350 * sysdeps/s390/memset.c: ... here.
9351 Adjust ifunc variants for memset.
9353 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9355 * sysdeps/s390/s390-64/memset.S: Move to ...
9356 * sysdeps/s390/memset.S: ... here.
9357 Adjust to be usable for 31/64bit.
9358 * sysdeps/s390/s390-32/memset.S: Delete File.
9359 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
9360 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9362 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9363 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
9364 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
9365 Adjust to be usable for 31/64bit.
9366 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
9367 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
9368 * sysdeps/s390/multiarch/memset.c: ... here.
9369 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
9371 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9373 * sysdeps/s390/multiarch/ifunc-resolve.h
9374 (s390_libc_ifunc_init, s390_libc_ifunc,
9375 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
9377 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9379 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
9380 * sysdeps/s390/configure.ac: Add check for z10 support.
9381 * sysdeps/s390/configure: Regenerated.
9383 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
9385 * sysdeps/i386/atomic-machine.h: Merged with ...
9386 * sysdeps/x86_64/atomic-machine.h: To ...
9387 * sysdeps/x86/atomic-machine.h: This. New file.
9389 2018-12-18 Florian Weimer <fweimer@redhat.com>
9391 Rewrite locale/gen-translit.pl in Python.
9392 * locale/Makefile (generated): Add C-translit.h.
9393 (before-compile): Add $(objpfx)C-translit.h.
9394 (C-translit.h): Move to $(objpfx). Create target directory.
9395 Build using Python script.
9396 * locale/gen-translit.py: New file.
9397 * locale/gen-translit.pl: Remove file.
9398 * locale/C-translit.h.in: Change comment character to '#' for
9399 easier parsing without a C preprocessor.
9400 * locale/C-translit.h: Remove generated file.
9401 * manual/install.texi (Tools for Compilation): Do not mention
9403 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9404 Remove locale/C-translit.h.
9405 * scripts/update-copyrights: Likewise.
9406 * INSTALL: Regenerate.
9408 2018-12-18 Florian Weimer <fweimer@redhat.com>
9411 * localedata/locales/bi_VU: Remove executable bit from file.
9413 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
9416 (__localtime64): Add.
9417 * manual/maint.texi: Document Y2038 symbol handling.
9419 (__localtime64): Add.
9420 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
9422 2018-12-17 Joseph Myers <joseph@codesourcery.com>
9424 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
9427 * scripts/glibcextract.py (compare_macro_consts): Take parameters
9428 to allow extra macros from first or second sources.
9429 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
9430 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9431 (tests-special): Add $(objpfx)tst-mman-consts.out.
9432 ($(objpfx)tst-mman-consts.out): New makefile target.
9434 2018-12-17 Mao Han <han_mao@c-sky.com>
9436 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
9437 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
9438 without stat64 system call support.
9439 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
9440 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
9441 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9442 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
9443 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
9444 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
9445 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
9446 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
9447 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
9448 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
9449 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
9451 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
9453 regex: fix storage-exhaustion error
9455 * posix/regexec.c (get_subexp):
9456 Do not continue if storage is exhausted.
9458 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
9460 regex: fix heap-use-after-free error
9462 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
9463 https://debbugs.gnu.org/32592
9464 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
9465 call extend_buffers which reallocates the re_string_t internal buffer.
9466 Local variable 'buf' was not updated in such case, resulting in
9468 * posix/regexec.c (get_subexp): Update 'buf' after call to
9471 2018-12-15 Florian Weimer <fweimer@redhat.com>
9473 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
9474 (minimum_stride_size): Use it.
9475 (support_blob_repeat_allocate): Likewise.
9477 2018-12-14 Joseph Myers <joseph@codesourcery.com>
9479 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
9484 2018-12-14 Florian Weimer <fweimer@redhat.com>
9486 * manual/process.texi (Process Creation Concepts): Remove
9487 documentation of process (ID) lifetime. List more process
9488 creation functions. Reference Process Identification section.
9489 (Process Identification): Add information about process ID
9490 lifetime. Describe Linux thread/task IDs.
9491 * manual/signal.texi (Signaling Another Process): Mention that the
9492 signal is always sent to the process.
9494 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9496 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
9497 and tst-ldbl-efgcvt.
9498 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
9499 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
9500 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
9501 (fcvt_tests, output_error, output_r_error, do_test): Use the
9502 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
9503 select the type of floating-point variables and arguments; to
9504 produce extra tests for double and conversion specifiers for
9505 printf; and to set the names of called functions.
9506 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
9507 in tst-efgcvt-template.c.
9508 * misc/tst-ldbl-efgcvt.c: Likewise.
9510 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
9512 * nss/Makefile (tst-nss-test3.out): New rule.
9514 2018-12-13 Joseph Myers <joseph@codesourcery.com>
9516 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
9519 2018-12-13 fanjinke <fanjinke@hygon.cn>
9521 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
9524 2018-12-13 Andreas Schwab <schwab@suse.de>
9527 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
9528 (__pthread_rwlock_rdlock_full): Update expected value for
9529 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
9530 * nptl/tst-rwlock-pwn.c: New file.
9531 * nptl/Makefile (tests): Add tst-rwlock-pwn.
9533 2018-12-12 Joseph Myers <joseph@codesourcery.com>
9535 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
9538 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9540 * benchtests/scripts/compare_bench.py (do_compare): write to
9541 stderr in casestat is not present.
9542 * benchtests/scripts/compare_bench.py (plot_graphs): write to
9543 stderr in case timings field is not present. Also string showing
9544 the output filename goes into the stderr.
9546 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9548 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
9549 and ZeroDivisorError exceptions.
9550 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
9551 argument to loop through user provided statistics.
9552 * benchtests/scripts/compare_bench.py (main): Include the --stats
9555 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9557 * benchtests/scripts/compare_bench.py (compare_runs): Continue
9560 2018-12-12 Florian Weimer <fweimer@redhat.com>
9562 * sysdeps/posix/timespec_get.c: Add missing “any later version”
9563 clause to copyright header.
9565 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9568 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
9569 registers saved in the stack frame.
9570 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
9571 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
9573 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9575 * include/bits/monetary-ldbl.h: New file.
9576 * include/bits/printf-ldbl.h: Likewise.
9577 * include/bits/stdio-ldbl.h: Likewise.
9578 * include/bits/stdlib-ldbl.h: Likewise.
9579 * include/bits/syslog-ldbl.h: Likewise.
9580 * include/bits/wchar-ldbl.h: Likewise.
9582 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9584 * libio/libio.h: Remove redirection for _IO_vfprintf.
9586 2018-12-11 Andreas Schwab <schwab@suse.de>
9588 * Makerules: Remove all references to abilist-pattern.
9589 (update-all-abi): Simplify find expression.
9591 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
9594 * math/auto-libm-test-in: Add new test case.
9595 * math/auto-libm-test-out-pow: Regenerated.
9596 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
9598 2018-12-10 DJ Delorie <dj@redhat.com>
9601 * support/test-container.c: Move postclean step to before we
9604 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9606 * scripts/gen-as-const.py (main): Handle --python option.
9607 * scripts/gen-py-const.awk: Remove.
9608 * Makerules (py-const-script): Use gen-as-const.py.
9609 ($(py-const)): Likewise.
9610 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
9611 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
9612 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
9613 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
9614 ~PTHREAD_MUTEX_NO_ELISION_NP.
9615 * manual/README.pretty-printers: Update reference to
9618 * scripts/glibcextract.py: New file.
9619 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
9620 or tempfile. Import glibcexctract.
9621 (compute_c_consts): Remove. Moved to glibcextract.py.
9622 (gen_test): Update reference to compute_c_consts.
9624 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
9625 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
9626 * sysdeps/unix/sysv/linux/Makefile
9627 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
9628 Redirect stderr as well as stdout.
9630 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
9633 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
9634 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
9635 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
9636 ALWAYS_USE_VSYSCALL.
9637 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
9638 ALWAYS_USE_VSYSCALL.
9639 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
9640 ALWAYS_USE_VSYSCALL.
9642 2018-12-10 Florian Weimer <fweimer@redhat.com>
9645 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
9646 offset instead of count for clarity. Fix typo in comment.
9647 (__old_getdents64): Keep track of previous offset. Use it to call
9649 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
9650 that d_off is never zero.
9652 2018-12-10 Andreas Schwab <schwab@suse.de>
9654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
9655 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
9656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
9657 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
9658 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
9660 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9662 * timezone/private.h: Update from tzcode 2018g.
9663 * timezone/tzfile.h: Likewise.
9664 * timezone/tzselect.ksh: Likewise.
9665 * timezone/zdump.c: Likewise.
9666 * timezone/zic.c: Likewise.
9668 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9671 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
9672 (do_test): Adjust buffer size and fix format.
9674 2018-12-07 DJ Delorie <dj@redhat.com>
9677 * malloc/tst-tcfree3.c: New.
9678 * malloc/Makefile: Add it.
9680 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9682 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
9684 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9686 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
9687 used as a mask for the mode argument of __vfscanf_internal and
9688 __vfwscanf_internal.
9689 * stdio-common/vfscanf-internal.c
9690 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
9691 (__strtof128_internal): Define to __wcstof128_internal.
9692 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
9693 __strtof128_internal or __wcstof128_internal when the format of
9694 long double is the same as _Float128.
9696 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9698 * include/unistd.h (__confstr): Add prototype and hidden prototype.
9699 * posix/confstr.c (confstr): Rename to __confstr.
9700 (__confstr): Add hidden def.
9701 (confstr): Add weak alias for __confstr.
9702 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
9705 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9707 * NEWS: Mention getcpu.
9708 * include/sched.h (__getcpu): New libc_hidden_proto.
9709 * manual/resource.texi: Document getcpu.
9710 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
9711 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
9712 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
9713 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9714 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9715 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9716 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9717 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9718 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9719 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9720 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9721 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9722 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
9724 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9725 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9726 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
9735 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9736 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9737 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9738 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9739 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9740 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9741 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9742 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9743 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
9744 * sysdeps/unix/sysv/linux/getcpu.c: New file.
9745 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
9748 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9750 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
9752 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
9754 2018-12-07 Florian Weimer <fweimer@redhat.com>
9757 * posix/Makefile (routines): Add spawn_faction_addfchdir.
9758 * posix/Versions (GLIBC_2.29): Export
9759 posix_spawn_file_actions_addfchdir_np.
9760 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
9761 * posix/spawn_faction_destroy.c
9762 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
9763 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
9764 and the field action.fchdir_action.
9765 * posix/tst-spawn-chdir.c (add_chdir): New function.
9766 (do_test): Add do_fchdir loop. Call add_chdir.
9767 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
9768 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9769 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9770 posix_spawn_file_actions_addfchdir_np.
9771 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9773 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9775 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9776 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9778 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9780 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9782 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9784 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9786 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9788 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9789 (GLIBC_2.29): Likewise.
9790 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9791 (GLIBC_2.29): Likewise.
9792 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9793 (GLIBC_2.29): Likewise.
9794 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9795 (GLIBC_2.29): Likewise.
9796 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9799 (GLIBC_2.29): Likewise.
9800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9801 (GLIBC_2.29): Likewise.
9802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9803 (GLIBC_2.29): Likewise.
9804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9805 (GLIBC_2.29): Likewise.
9806 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9808 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9810 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9812 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9813 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9815 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9817 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9819 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9822 2018-12-06 Joseph Myers <joseph@codesourcery.com>
9824 * manual/texinfo.tex: Update to version 2018-09-21.20 with
9825 trailing whitespace removed.
9826 * scripts/config.guess: Update to version 2018-11-28.
9827 * scripts/config.sub: Update to version 2018-11-28.
9828 * scripts/install-sh: Update to version 2018-03-11.20.
9829 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
9830 * scripts/move-if-change: Update to version 2018-03-07 03:47.
9832 2018-12-07 Florian Weimer <fweimer@redhat.com>
9836 * inet/tst-if_index-long.c: New file.
9837 * inet/Makefile (tests): Add tst-if_index-long.
9839 2018-12-07 Florian Weimer <fweimer@redhat.com>
9841 * support/check.h (support_record_failure_is_failed): Declare.
9842 * support/descriptors.h: New file.
9843 * support/support_descriptors.c: Likewise.
9844 * support/tst-support_descriptors.c: Likewise.
9845 * support/support_record_failure.c
9846 (support_record_failure_is_failed): New function.
9847 * support/Makefile (libsupport-routines): Add support_descriptors.
9848 (tests): Add tst-support_descriptors.
9850 2018-12-05 Zack Weinberg <zackw@panix.com>
9851 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9853 * stdio-common/vfprintf-internal.c
9854 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
9855 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
9856 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
9857 and __no_long_double.
9858 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
9859 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
9860 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
9861 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
9862 and __nldbl_*syslog* functions.
9863 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
9864 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
9865 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
9866 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
9867 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
9868 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
9869 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
9870 (__nldbl_vwprintf, __nldbl_wprintf):
9871 Directly call the appropriate __v*printf_internal routine, passing
9872 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
9874 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
9875 (__nldbl___printf_chk, __nldbl___snprintf_chk)
9876 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
9877 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
9878 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
9879 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9880 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
9881 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
9882 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
9883 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
9884 Likewise, and also pass PRINTF_FORTIFY when appropriate.
9885 (__nldbl_syslog, __nldbl_vsyslog):
9886 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
9887 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9889 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9892 2018-12-05 Zack Weinberg <zackw@panix.com>
9893 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9896 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
9897 Moved here from debug/vsprintf_chk.c.
9898 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
9899 and completion logic for the strfile to match exactly what
9900 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
9901 _IO_str_init_static_internal instead of maxlen-1.
9902 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9903 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
9904 __vsprintf_internal.
9906 * debug/vsprintf_chk.c (__vsprintf_chk)
9907 * debug/sprintf_chk.c (__sprintf_chk):
9908 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
9909 'flags' argument is positive, and slen as maxlen. No need to lock
9910 the FILE and/or construct a temporary FILE. Minimize and normalize
9911 header inclusions and variable names. Do not libc_hidden_def anything.
9913 * debug/asprintf_chk.c (__asprintf_chk)
9914 * debug/dprintf_chk.c (__dprintf_chk)
9915 * debug/fprintf_chk.c (__fprintf_chk)
9916 * debug/fwprintf_chk.c (__fwprintf_chk)
9917 * debug/printf_chk.c (__printf_chk)
9918 * debug/snprintf_chk.c (__snprintf_chk)
9919 * debug/swprintf_chk.c (__swprintf_chk)
9920 * debug/vasprintf_chk.c (__vasprintf_chk)
9921 * debug/vdprintf_chk.c (__vdprintf_chk)
9922 * debug/vfprintf_chk.c (__vfprintf_chk)
9923 * debug/vfwprintf_chk.c (__vfwprintf_chk)
9924 * debug/vprintf_chk.c (__vprintf_chk)
9925 * debug/vsnprintf_chk.c (__vsnprintf_chk)
9926 * debug/vswprintf_chk.c (__vswprintf_chk)
9927 * debug/vwprintf_chk.c (__vwprintf_chk)
9928 * debug/wprintf_chk.c (__wprintf_chk):
9929 Directly call the corresponding vxxprintf_internal function, passing
9930 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
9931 the FILE and/or construct a temporary FILE. Minimize and normalize
9932 header inclusions and variable names. Do not libc_hidden_def anything.
9934 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
9935 __obstack_vprintf_internal.
9936 (__obstack_vprintf_chk): Convert into a wrapper that calls
9937 __obstack_vprintf_internal (these two functions already had the
9938 same code) and move to new file...
9939 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
9941 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
9942 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
9943 * debug/Makefile (routines): Add vobprintf_chk.
9945 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9946 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9947 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
9948 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9949 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
9950 (__nldbl___obstack_vfprintf_chk):
9951 Directly call the corresponding vxxprintf_internal function,
9952 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
9953 duplicate comparison of slen with 0 or maxlen from the corresponding
9954 non-__nldbl function.
9956 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
9957 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
9958 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
9959 Remove libc_hidden_proto.
9961 * stdio-common/vfprintf-internal.c
9962 (__vfprintf_internal, __vfwprintf_internal):
9963 Do not check _IO_FLAGS2_FORTIFY.
9964 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
9965 * libio/libioP.h: Update prototype of __vsprintf_internal and add
9966 a comment explaining why it has the maxlen argument.
9967 (_IO_acquire_lock_clear_flags2_fct): Remove.
9968 (_IO_acquire_lock_clear_flags2): Remove.
9969 (_IO_release_lock): Remove conditional statement which will
9971 (_IO_acquire_lock): Remove variable which is now unused.
9972 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9973 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9975 * stdio-common/Makefile (tests): Add tst-bz11319 and
9976 tst-bz11319-fortify2.
9977 (CFLAGS-tst-bz11319-fortify2.c): New macro.
9978 * stdio-common/tst-bz11319-fortify2.c: New file.
9979 * stdio-common/tst-bz11319.c: Likewise.
9981 2018-12-05 Zack Weinberg <zackw@panix.com>
9982 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9984 * misc/syslog.c: Include libioP.h, not iolibio.h.
9985 (__vsyslog_internal): New function with the former body of
9986 __vsyslog_chk; takes mode_flags argument same as
9987 __v*printf_internal. Call __vfprintf_internal directly.
9989 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
9990 Remove libc_hidden_def.
9991 (__syslog, __syslog_chk): Use __vsyslog_internal.
9992 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
9994 * include/sys/syslog.h: Add multiple inclusion guard.
9995 Add prototype for __vsyslog_internal.
9996 Remove declaration and libc_hidden_proto for __vsyslog_chk.
9998 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
9999 Use __vsyslog_internal.
10001 2018-12-05 Zack Weinberg <zackw@panix.com>
10002 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10004 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
10005 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
10006 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
10008 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
10009 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
10011 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
10012 Include wctype.h here if COMPILE_WPRINTF is defined.
10013 Define __vfprintf_internal or __vfwprintf_internal, depending
10014 on COMPILE_WPRINTF.
10015 Temporarily, on entry to this function, update mode_flags
10016 according to the environmental settings corresponding to
10017 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
10018 Throughout, check mode_flags instead of __ldbl_is_dbl and
10019 _IO_FLAGS2_FORTIFY on the destination FILE.
10020 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
10021 Include vfprintf-internal.c. Don't include wctype.h.
10022 * stdio-common/vfprintf.c: New file. Just define __vfprintf
10023 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
10025 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
10026 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
10028 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
10030 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
10031 and add mode_flags argument; use __vfprintf_internal.
10032 (__vdprintf): New function. Alias vdprintf to this.
10033 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
10034 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
10035 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
10036 (__obstack_printf): Use __obstack_printf_internal.
10037 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
10038 public aliases __vsnprintf and vsnprintf.
10039 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
10041 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
10042 public aliases _IO_vsprintf and vsprintf.
10043 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
10044 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
10045 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
10046 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
10047 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
10049 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
10050 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
10051 * stdio-common/fprintf.c, stdio-common/fxprintf.c
10052 * stdio-common/printf.c: Use __vfprintf_internal.
10054 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
10055 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
10056 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
10058 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
10059 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
10060 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
10061 __vfwprintf_internal.
10063 * libio/libio.h: Remove libc_hidden_proto and declaration for
10065 Remove declaration of _IO_vfwprintf.
10066 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
10068 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
10069 _IO_obstack_printf.
10070 * include/stdio.h: Add prototype for __vasprintf.
10071 (__vsnprintf): Remove declaration, because there are no more
10073 * include/wchar.h (__vfwprintf, __vswprintf): Remove
10074 declaration, because there are no more internal calls.
10076 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
10077 __vsnprintf_internal, instead of _IO_vsnprintf.
10078 * argp/argp-help.c (__argp_error, __argp_failure): Use
10079 __vasprintf_internal, instead of _IO_vasprintf.
10080 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
10081 redefine, because there are no more internal calls.
10083 2018-12-05 Zack Weinberg <zackw@panix.com>
10084 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10086 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
10087 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
10088 Include libio/strfile.h instead of libioP.h.
10089 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
10090 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
10091 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
10092 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
10093 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
10094 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
10095 necessary. Do not set __no_long_double. Normalize variable names.
10096 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
10097 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
10098 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
10099 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
10100 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
10101 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
10102 Call __vfscanf_internal / __vfwscanf_internal directly, passing
10103 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
10104 Do not set __no_long_double. Normalize variable names.
10106 2018-12-05 Zack Weinberg <zackw@panix.com>
10107 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10109 * stdio-common/isoc99_scanf.c
10110 * stdio-common/isoc99_fscanf.c
10111 * stdio-common/isoc99_sscanf.c
10112 * stdio-common/isoc99_vscanf.c
10113 * stdio-common/isoc99_vfscanf.c
10114 * stdio-common/isoc99_vsscanf.c
10115 * wcsmbs/isoc99_wscanf.c
10116 * wcsmbs/isoc99_fwscanf.c
10117 * wcsmbs/isoc99_swscanf.c
10118 * wcsmbs/isoc99_vwscanf.c
10119 * wcsmbs/isoc99_vfwscanf.c
10120 * wcsmbs/isoc99_vswscanf.c:
10121 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
10122 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
10123 No need to lock and unlock the FILE passed to that function.
10125 * stdio-common/vfscanf-internal.c
10126 (__vfscanf_internal, __vfwscanf_internal):
10127 Don't look at _IO_FLAGS2_SCANF_STD.
10128 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
10129 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
10130 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
10132 2018-12-05 Zack Weinberg <zackw@panix.com>
10133 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10135 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
10136 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
10137 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
10138 * libio/strfile.h: Add multiple inclusion guard.
10139 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
10141 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
10142 consistency with the other version of this file.
10143 (ldbl_compat_symbol): New macro.
10144 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
10147 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
10148 Define __vfscanf_internal or __vfwscanf_internal, depending on
10149 COMPILE_WSCANF; don't define any other public symbols.
10150 Remove errval and code to set errp.
10151 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
10152 as the mode_flags argument.
10153 (encode_error, conv_error, input_error): Don't set errval.
10154 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
10155 Include vfscanf-internal.c.
10156 * stdio-common/vfscanf.c: New file defining the public entry
10157 point vfscanf, which calls __vfscanf_internal.
10158 * stdio-common/vfwscanf.c: New file defining the public entry
10159 point vfwscanf, which calls __vfwscanf_internal.
10161 * stdio-common/iovfscanf.c: New file.
10162 * stdio-common/iovfwscanf.c: Likewise.
10164 * stdio-common/Makefile (routines): Add vfscanf-internal,
10165 vfwscanf-internal, iovfscanf, iovfwscanf.
10166 * stdio-common/Versions: Mention GLIBC_2.29, so that
10167 it can be used in SHLIB_COMPAT expressions.
10168 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
10169 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
10170 Call __vfscanf_internal, instead of _IO_vfscanf.
10171 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
10173 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
10176 * libio/iovsscanf.c: Clean up includes, when possible. Use
10177 _IO_strfile_read or _IO_strfile_readw, when needed. Call
10178 __vfscanf_internal or __vfwscanf_internal directly.
10179 * libio/iovswscanf.c: Likewise.
10180 * libio/swscanf.c: Likewise.
10181 * libio/vscanf.c: Likewise.
10182 * libio/vwscanf.c: Likewise.
10183 * libio/wscanf.c: Likewise.
10184 * stdio-common/isoc99_fscanf.c: Likewise.
10185 * stdio-common/isoc99_scanf.c: Likewise.
10186 * stdio-common/isoc99_sscanf.c: Likewise.
10187 * stdio-common/isoc99_vfscanf.c: Likewise.
10188 * stdio-common/isoc99_vscanf.c: Likewise.
10189 * stdio-common/isoc99_vsscanf.c: Likewise.
10190 * stdio-common/scanf.c: Likewise.
10191 * stdio-common/sscanf.c: Likewise.
10192 * wcsmbs/isoc99_fwscanf.c: Likewise.
10193 * wcsmbs/isoc99_swscanf.c: Likewise.
10194 * wcsmbs/isoc99_vfwscanf.c: Likewise.
10195 * wcsmbs/isoc99_vswscanf.c: Likewise.
10196 * wcsmbs/isoc99_vwscanf.c: Likewise.
10197 * wcsmbs/isoc99_wscanf.c: Likewise.
10199 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
10202 (__tz_compute): Replace time_t with __time64_t.
10203 (__tz_convert): Replace time_t* with __time64_t.
10204 (__offtime): Replace time_t* with __time64_t.
10206 (__gmtime_r): Adjust call to __tz_convert.
10207 (gmtime): Likewise.
10209 (__localtime_r): Likewise.
10210 (localtime): Likewise.
10211 * time/offtime.c: Replace time_t with __time64_t.
10212 * time/tzset.c: Likewise.
10214 2018-12-04 Joseph Myers <joseph@codesourcery.com>
10216 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
10217 dynamic linker unless [$(run-built-tests) = yes].
10219 2018-12-03 DJ Delorie <dj@delorie.com>
10221 * support/test-container.c (check_for_unshare_hints): New.
10222 (main): Call it if unshare fails. Add support for "su" scriptlet
10225 2018-12-03 Joseph Myers <joseph@codesourcery.com>
10227 * scripts/gen-as-const.py (compute_c_consts): Take an argument
10228 'START' to indicate that start text should be output.
10229 (gen_test): Likewise.
10230 (main): Generate 'START' for first symbol or '--' line, or at end
10231 of input if not previously generated.
10233 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
10236 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
10237 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
10238 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
10239 ALWAYS_USE_VSYSCALL.
10241 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10244 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
10247 2018-12-03 Carlos O'Donell <carlos@redhat.com>
10250 * locale/programs/localedef.c: Declare boolean hard_links default true.
10251 (options): Add --no-hard-links option.
10252 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
10253 * locale/programs/localedef.h: Declare prototype for hard_links.
10254 * locale/programs/locfile.c (write_locale_data): Don't use hard
10255 links if hard_links is false.
10257 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
10259 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
10260 cpu_features_basic.
10261 (__cache_sysconf): Likewise.
10262 (init_cacheinfo): Likewise.
10263 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
10264 populate COMMON_CPUID_INDEX_80000007 and
10265 COMMON_CPUID_INDEX_80000008.
10266 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
10267 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
10268 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
10269 (init_cpu_features): Use _Static_assert on
10270 index_arch_Fast_Unaligned_Load.
10271 __get_cpuid_registers and __get_arch_feature. Updated for
10272 cpu_features_basic. Set stepping in cpu_features.
10273 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
10274 (FEATURE_INDEX_2): New.
10275 (FEATURE_INDEX_MAX): Changed to enum.
10276 (COMMON_CPUID_INDEX_D_ECX_1): New.
10277 (COMMON_CPUID_INDEX_80000007): Likewise.
10278 (COMMON_CPUID_INDEX_80000008): Likewise.
10279 (cpuid_registers): Likewise.
10280 (cpu_features_basic): Likewise.
10281 (CPU_FEATURE_USABLE): Likewise.
10282 (bit_arch_XXX_Usable): Likewise.
10283 (cpu_features): Use cpuid_registers and cpu_features_basic.
10284 (bit_arch_XXX): Reweritten.
10285 (bit_cpu_XXX): Likewise.
10286 (index_cpu_XXX): Likewise.
10287 (reg_XXX): Likewise.
10288 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
10290 (CHECK_CPU_FEATURE): New.
10291 (CHECK_CPU_FEATURE_USABLE): Likewise.
10292 (cpu_kinds): Likewise.
10293 (do_test): Print vendor, family, model and stepping. Check
10294 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
10295 (TEST_FUNCTION): Removed.
10296 Include <support/test-driver.c> instead of
10297 "../../test-skeleton.c".
10298 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
10299 Check POPCNT instead of POPCOUNT.
10300 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
10302 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10304 * scripts/gen-as-const.py (main): Avoid emitting empty line when
10305 there is no element in `consts'.
10307 2018-12-01 Florian Weimer <fweimer@redhat.com>
10309 * support/support_capture_subprocess.c
10310 (support_capture_subprocess): Check that pipe descriptors have
10311 expected values. Close original pipe descriptors in subprocess.
10313 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10316 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
10317 attr with __pthread_default_barrierattr.
10318 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
10319 attr with __pthread_default_condattr.
10320 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
10321 attr with __pthread_default_mutexattr.
10322 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
10323 attr with __pthread_default_rwlockattr.
10325 2018-12-01 Kemi Wang <kemi.wang@intel.com>
10327 * manual/tunables.texi (POSIX Thread Tunables): New node.
10328 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
10329 * nptl/nptl-init.c: Include pthread_mutex_conf.h
10330 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
10331 __pthread_tunables_init.
10332 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
10333 (max_adaptive_count): Define.
10334 * nptl/pthread_mutex_conf.c: New file.
10335 * nptl/pthread_mutex_conf.h: New file.
10336 * sysdeps/generic/adaptive_spin_count.h: New file.
10337 * sysdeps/nptl/dl-tunables.list: New file.
10338 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10339 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
10340 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
10343 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10346 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
10347 * stdlib/on_exit.c (__on_exit): Likewise.
10348 * stdlib/Makefile (tests): Add tst-bz20544.
10349 * stdlib/tst-bz20544.c: New test.
10351 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
10354 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
10355 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
10358 2018-11-30 Florian Weimer <fweimer@redhat.com>
10360 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
10361 Extend error logging.
10362 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
10365 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10367 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
10368 __sigismember instead of sigismember.
10369 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
10370 cancel_handler): New definitions.
10371 (do_system): Use posix_spawn instead of fork and execl and remove
10373 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
10374 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
10375 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
10376 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10377 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10378 * sysdeps/unix/sysv/linux/system.c: Likewise.
10382 * NEWS: Add new semantic for atfork with popen and system.
10383 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
10386 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10389 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
10390 modification order when accessing reloc_result->addr.
10391 * include/link.h (reloc_result): Add field init.
10392 * nptl/Makefile (tests): Add tst-audit-threads.
10393 (modules-names): Add tst-audit-threads-mod1 and
10394 tst-audit-threads-mod2.
10395 Add rules to build tst-audit-threads.
10396 * nptl/tst-audit-threads-mod1.c: New file.
10397 * nptl/tst-audit-threads-mod2.c: Likewise.
10398 * nptl/tst-audit-threads.c: Likewise.
10399 * nptl/tst-audit-threads.h: Likewise.
10401 2018-11-30 Joseph Myers <joseph@codesourcery.com>
10403 * scripts/gen-as-const.py: New file.
10404 * scripts/gen-as-const.awk: Remove.
10405 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
10407 ($(objpfx)test-as-const-%.c): Likewise.
10409 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10411 * elf/dl-exception.c: Include <_itoa.h>.
10413 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10415 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
10416 returned by __f_setlk.
10418 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10419 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10421 * elf/Makefile (tests-internal): Add tst-create_format1.
10422 * elf/dl-exception.c (_dl_exception_create_format): Support
10424 * elf/tst-create_format1.c: New file.
10426 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
10428 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
10429 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
10431 * argp/argp-help.c (__argp_failure): Likewise.
10433 2018-11-29 Mao Han <han_mao@c-sky.com>
10435 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
10436 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
10437 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
10438 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
10439 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
10440 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
10441 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
10442 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
10443 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
10444 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
10445 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
10446 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
10447 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
10448 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
10449 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
10450 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
10451 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
10452 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
10453 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
10454 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
10455 (R_CKCORE_TLS_TPOFF32): New defines.
10457 2018-11-29 Florian Weimer <fweimer@redhat.com>
10459 * posix/Makefile (before-compile): Remove testcases.h and
10461 (generated): Add testcases.h and ptestcases.h.
10462 (testcases.h, ptestcases.h): Move to $(objpfx).
10463 (runtests.o): Add dependency on testcases.h.
10464 (runptests.o): Add dependency on ptestcases.h.
10465 * posix/testcases.h, posix/ptestcases.h: Remove files.
10466 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
10467 not touch posix/testcases.h and posix/ptestcases.h.
10469 2018-11-28 Florian Weimer <fweimer@redhat.com>
10471 support: Add signal support to support_capture_subprocess_check.
10472 * support/capture_subprocess.h (support_capture_subprocess_check):
10473 Adjust comment and rename parameter.
10474 * support/support_capture_subprocess_check.c
10475 (print_actual_status): New function.
10476 (support_capture_subprocess_check): Support negative
10477 status_or_signal. Call print_actual_status.
10478 * support/tst-support_capture_subprocess.c (do_test): Call
10479 support_capture_subprocess_check.
10480 * libio/tst-vtables-common.c (termination_status)
10481 (init_termination_status): Remove.
10482 (check_for_termination): Adjust support_capture_subprocess_check
10484 (do_test): Remove call to init_termination_status.
10486 2018-11-28 Joseph Myers <joseph@codesourcery.com>
10488 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
10489 source directory instead of a copy.
10490 (CommandList.create_copy_dir): Remove.
10492 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
10494 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10496 2018-11-28 Florian Weimer <fweimer@redhat.com>
10498 * support/support.h (support_quote_string): Do not use str
10501 2018-11-27 Joseph Myers <joseph@codesourcery.com>
10503 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
10504 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
10506 2018-11-27 Florian Weimer <fweimer@redhat.com>
10508 * support/support.h (support_quote_string): Declare.
10509 * support/support_quote_string.c: New file.
10510 * support/tst-support_quote_string.c: Likewise.
10511 * support/Makefile (libsupport-routines): Add
10512 support_quote_string.
10513 (tests): Add tst-support_quote_string.
10515 2018-11-27 Florian Weimer <fweimer@redhat.com>
10519 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
10520 descriptor leak in case of ENODEV error.
10522 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
10525 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
10526 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
10527 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
10529 2018-11-26 Carlos O'Donell <carlos@redhat.com>
10531 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
10532 Error for unknown lines.
10534 2018-11-26 Joseph Myers <joseph@codesourcery.com>
10536 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
10537 Touch additional files.
10539 2018-11-26 Florian Weimer <fweimer@redhat.com>
10542 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
10545 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
10548 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
10549 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
10550 SHARED. Include sysdep.h.
10551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
10552 ALWAYS_USE_VSYSCALL.
10553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
10554 ALWAYS_USE_VSYSCALL.
10556 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
10559 * nptl/Makefile (tests-static): Add tst-cond11-static.
10561 * nptl/tst-cond11-static.c: New File.
10562 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
10563 tst-affinity-static.
10565 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
10567 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
10568 (USE_VSYSCALL): Likewise.
10569 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
10570 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
10572 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
10574 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
10577 2018-11-23 Joseph Myers <joseph@codesourcery.com>
10580 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10581 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
10584 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
10586 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
10587 (tst-cet-legacy-1a-ARGS): New.
10588 ($(objpfx)tst-cet-legacy-1a): New target.
10589 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
10591 2018-11-22 Joseph Myers <joseph@codesourcery.com>
10593 * conform/conformtest.py (CompileSubTest.__init__): Set
10594 self.run_early to False.
10595 (ExecuteSubTest.__init__): Likewise.
10596 (HeaderTests.run): Try running all non-optional, non-XFAILed
10597 compilation tests in a single execution of the compiler.
10599 * conform/conformtest.py (CompileSubTest): New class.
10600 (ExecuteSubTest): Likewise.
10601 (ElementTest.run): Rename to gen_subtests. Append tests to
10602 self.subtests instead of running them.
10603 (ConstantTest.run): Likewise.
10604 (SymbolTest.run): Likewise.
10605 (TypeTest.run): Likewise.
10606 (TagTest.run): Likewise.
10607 (FunctionTest.run): Likewise.
10608 (VariableTest.run): Likewise.
10609 (MacroFunctionTest.run): Likewise.
10610 (MacroStrTest.run): Likewise.
10611 (HeaderTests.handle_test_line): Generate subtests for tests.
10612 (HeaderTests.run): Run subtests for tests.
10614 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10616 * math/Versions (GLIBC_2.29): Add pow.
10617 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
10619 * math/w_pow.c: New file.
10620 * sysdeps/i386/fpu/w_pow.c: New file.
10621 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
10622 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
10623 and add necessary aliases.
10624 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
10625 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
10626 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10627 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10628 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10629 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10630 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10631 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10632 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10633 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10634 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10635 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10636 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10637 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10638 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10643 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10644 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10645 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10646 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10647 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10648 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10649 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10650 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
10652 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
10653 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
10654 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
10656 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10658 * math/Versions (GLIBC_2.29): Add log2.
10659 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
10661 * math/w_log2.c: New file.
10662 * sysdeps/i386/fpu/w_log2.c: New file.
10663 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
10664 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
10665 and add necessary aliases.
10666 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
10667 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
10668 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10669 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10670 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10671 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10672 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10673 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10674 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10675 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10676 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10677 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10678 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10679 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10680 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10685 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10686 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10687 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10688 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10689 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10690 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10691 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10693 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10695 * math/Versions (GLIBC_2.29): Add log.
10696 * math/w_log_compat.c (__log_compat): Change to versioned compat
10698 * math/w_log.c: New file.
10699 * sysdeps/i386/fpu/w_log.c: New file.
10700 * sysdeps/ia64/fpu/e_log.S: Update.
10701 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
10702 and add necessary aliases.
10703 * sysdeps/ieee754/dbl-64/w_log.c: New file.
10704 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
10705 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10706 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10707 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10708 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10709 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10710 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10711 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10712 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10713 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10714 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10715 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10716 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10717 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10722 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10723 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10724 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10725 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10726 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10727 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10728 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10729 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
10731 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
10732 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
10733 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
10734 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
10736 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10738 * math/Versions (GLIBC_2.29): Add exp and exp2.
10739 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
10740 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
10741 * math/w_exp_compat.c (__exp_compat): Likewise.
10742 * math/w_exp.c: New file.
10743 * math/w_exp2.c: New file.
10744 * sysdeps/i386/fpu/w_exp.c: New file.
10745 * sysdeps/i386/fpu/w_exp2.c: New file.
10746 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
10747 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
10748 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
10749 and add necessary aliases.
10750 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
10751 and add necessary aliases.
10752 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
10753 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
10754 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
10755 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
10756 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10757 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10758 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10759 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10760 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10761 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10762 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10763 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10764 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10765 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10766 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10767 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10768 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10773 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10774 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10775 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10776 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10777 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10778 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10779 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10780 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
10781 (__ieee754_exp): Rename to __exp.
10782 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
10783 (__ieee754_exp): Rename to __exp.
10784 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
10785 (__ieee754_exp): Rename to __exp.
10786 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
10788 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
10790 2018-11-20 DJ Delorie <dj@redhat.com>
10792 * malloc/malloc.c (tcache_entry): Add key field.
10793 (tcache_put): Set it.
10794 (tcache_get): Likewise.
10795 (_int_free): Check for double free in tcache.
10796 * malloc/tst-tcfree1.c: New.
10797 * malloc/tst-tcfree2.c: New.
10798 * malloc/Makefile: Run the new tests.
10799 * manual/probes.texi: Document memory_tcache_double_free probe.
10801 * dlfcn/dlerror.c (check_free): Prevent double frees.
10803 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
10805 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
10807 2018-11-20 Joseph Myers <joseph@codesourcery.com>
10809 * conform/conformtest.py (ElementTest.run): Use unique identifiers
10810 in tests. Use names for format arguments.
10811 (ConstantTest.run): Likewise.
10812 (SymbolTest.run): Likewise.
10813 (TypeTest.run): Likewise.
10814 (TagTest.run): Likewise.
10815 (FunctionTest.run): Likewise.
10816 (VariableTest.run): Likewise.
10817 (MacroFunctionTest.run): Likewise.
10818 (MacroStrTest.run): Likewise.
10819 (HeaderTests.__init__): Set self.num_tests.
10820 (HeaderTests.handle_test_line): Set test.num. Increment
10823 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10825 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
10826 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
10829 2018-11-19 Mao Han <han_mao@c-sky.com>
10831 * scripts/config.guess: Update to version 2018-08-29.
10832 * scripts/config.sub: Update to version 2018-08-29.
10834 2018-11-19 Florian Weimer <fweimer@redhat.com>
10836 support: Print timestamps in timeout handler.
10837 * support/support_test_main.c (print_timestamp): New function.
10838 (signal_handler): Use it to print the termination time and the
10839 time of the last write to standard output.
10841 2018-11-16 Zack Weinberg <zackw@panix.com>
10842 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10844 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
10845 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
10847 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
10848 and add flags argument. Check flags instead of __ldbl_is_dbl when
10849 deciding whether to set is_long_double.
10850 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
10851 passing zero for flags argument.
10852 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
10854 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10855 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
10856 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
10857 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
10858 variable names. Remove libc_hidden_def/libc_hidden_proto from
10859 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
10860 longer called from within the library.
10861 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
10862 for __nldbl___vstrfmon_l, declare it explicitly.
10864 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
10866 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10868 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
10870 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
10871 F_SETLK64, F_SETLKW64, respectively.
10872 * sysdeps/mach/hurd/f_setlk.c: New file.
10873 * sysdeps/mach/hurd/f_setlk.h: New file.
10874 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
10876 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
10877 (__libc_fcntl): Move non-flock operations to...
10878 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
10879 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
10881 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
10883 mktime: DEBUG_MKTIME cleanup
10884 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
10885 And it’s no longer needed now that glibc and Gnulib both have
10886 their own testing mechanisms for mktime.
10887 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
10889 mktime: fix non-EOVERFLOW errno handling
10891 mktime was not properly reporting failures when the underlying
10892 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
10893 them like EOVERFLOW failures, and set errno to EOVERFLOW.
10894 The problem could happen on non-glibc platforms, with Gnulib.
10895 * time/mktime.c (guess_time_tm): Remove, replacing with ...
10896 (tm_diff): ... this simpler function, which does not change errno.
10897 All callers changed to deal with errno themselves.
10898 (ranged_convert, __mktime_internal): Return failure immediately if
10899 the underlying function reports any failure other than EOVERFLOW.
10900 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
10903 mktime: fix bug with Y2038 DST transition
10905 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
10906 mishandle a DST transition that jumps over the Y2038 boundary.
10907 No such DST transitions are known so this is only a theoretical
10908 bug, but we might as well do things right.
10910 mktime: make more room for overflow
10912 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
10913 This is so that we can add tm_diff results to a previous guess,
10914 which will be useful in a later patch.
10916 mktime: simplify offset guess
10918 * time/mktime.c (__mktime_internal): Omit excess precision.
10920 mktime: new test for mktime failure
10922 Based on a test suggested by Albert Aribaud in:
10923 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
10924 * time/Makefile (tests): Add bug-mktime4.
10925 * time/bug-mktime4.c: New file.
10927 mktime: fix EOVERFLOW bug
10929 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
10930 Include libc-config.h, not config.h, for __set_errno.
10931 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
10933 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10935 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
10936 __attribute_copy__ to copy attributes from name. Drop static qualifier
10937 to avoid warnings about leaf attribute not having effect on static
10940 2018-11-13 Florian Weimer <fweimer@redhat.com>
10942 * malloc/malloc.c (fastbin_push_entry): New function.
10943 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
10944 (REMOVE_FB): Remove macro.
10945 (_int_malloc): Use fastbin_pop_entry and reindent.
10946 (_int_free): Use fastbin_push_entry.
10947 (malloc_consolidate): Use atomic_exchange_acquire.
10949 2018-11-13 Joseph Myers <joseph@codesourcery.com>
10951 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
10952 alias attribute, not with strong_alias.
10954 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
10955 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
10956 with additional parameter thread.
10957 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
10958 in terms of __hidden_ver2.
10959 (hidden_tls_def): New macro.
10960 (libc_hidden_tls_def): Likewise.
10961 (rtld_hidden_tls_def): Likewise.
10962 (libm_hidden_tls_def): Likewise.
10963 (libmvec_hidden_tls_def): Likewise.
10964 (libresolv_hidden_tls_def): Likewise.
10965 (librt_hidden_tls_def): Likewise.
10966 (libdl_hidden_tls_def): Likewise.
10967 (libnss_files_hidden_tls_def): Likewise.
10968 (libnsl_hidden_tls_def): Likewise.
10969 (libnss_nisplus_hidden_tls_def): Likewise.
10970 (libutil_hidden_tls_def): Likewise.
10971 (libutil_hidden_tls_def): Likweise.
10972 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
10973 libc_hidden_tls_def.
10974 (__sim_disabled_exceptions_thread): Likewise.
10975 (__sim_round_mode_thread): Likewise.
10977 * sysdeps/sparc/sparc-ifunc.h [SHARED]
10978 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
10979 copy attributes from name.
10981 2018-11-12 Joseph Myers <joseph@codesourcery.com>
10983 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
10984 Use __attribute_copy__ to copy attributes from name.
10986 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
10987 with __hidden_ver1 call.
10988 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
10989 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
10990 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
10991 (__cosf): Do not declare here.
10992 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
10993 (__sincosf): Do not declare here.
10994 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
10995 (__sinf): Do not declare here.
10997 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
10998 (__BIG_ENDIAN): Likewise.
10999 (__BYTE_ORDER): Likewise.
11000 (strong_alias): Likewise.
11001 (_strong_alias): Likewise.
11003 2018-11-12 Florian Weimer <fweimer@redhat.com>
11005 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
11006 function. Move after the definition of in_smallbin_range. Do not
11007 use __builtin_expect for paths that lead to a noreturn function.
11008 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
11009 because it is unclear whether this is in fact an unlikely
11011 (_int_malloc, _int_free): Adjust.
11012 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
11014 * malloc/arena.c (heap_trim): Likewise.
11016 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11018 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
11019 it, free it if needed.
11020 (reauthenticate): Test and use ccwdir.
11021 (child_init_port): In non-resetids case, test and use ccwdir.
11022 (child_chdir): New nested function to set ccwdir.
11023 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
11024 * hurd/hurd/port.h (_hurd_port_move): New function.
11025 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
11026 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
11027 * hurd/Versions (_hurd_port_move): Export function.
11028 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
11030 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
11031 of dtablesize for allocating dtable_cloexec.
11033 2018-11-09 Martin Sebor <msebor@redhat.com>
11035 * include/libc-symbols.h (__attribute_copy__): Define macro unless
11036 it's already defined.
11037 (_strong_alias): Use __attribute_copy__.
11038 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
11039 * misc/sys/cdefs.h (__attribute_copy__): New macro.
11040 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
11041 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
11042 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
11043 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
11044 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
11045 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
11046 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
11047 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
11048 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
11049 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
11050 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
11051 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
11052 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
11053 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
11054 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
11055 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
11056 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
11058 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11060 * misc/tst-efgcvt.c: Include support/check.h and
11061 support/test-driver.c. Do not include test-skeleton.c.
11062 (error_count): Remove.
11063 (output_error): Replace increments to error_count with calls to
11064 support_record_failure.
11065 (output_r_error): Likewise.
11066 (special): Likewise.
11067 (do_test): Unconditionally return zero.
11068 (TEST_FUNCTION): Remove.
11070 2018-11-09 Joseph Myers <joseph@codesourcery.com>
11072 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
11074 ($(linknamespace-header-tests)): Likewise.
11076 * conform/conformtest.py: New file.
11077 * conform/conformtest.pl: Remove.
11078 * conform/GlibcConform.pm: Likewise.
11079 * conform/glibcconform.py (KEYWORDS_C90): New constant.
11080 (KEYWORDS_C99): Likewise.
11081 (KEYWORDS): Likewise.
11082 * conform/Makefile ($(conformtest-header-tests)): Use
11083 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
11084 option. Use --header instead of --headers.
11085 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
11087 * conform/data/spawn.h-data: Likewise.
11088 * conform/data/fcntl.h-data (openat): Add space after function
11090 * conform/data/wchar.h-data (wcscasecmp): Likewise.
11091 (wcscasecmp_l): Likewise.
11092 * conform/data/termios.h-data (c_cc): Add space after element
11095 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11097 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
11098 instead of manually comparing and reporting mismatching strings.
11099 * misc/tst-ldbl-error.c (do_one_test): Likewise.
11100 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
11102 2018-11-08 Joseph Myers <joseph@codesourcery.com>
11104 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
11105 __ASSUME_SOCKETCALL.
11106 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11107 (__ASSUME_SOCKETCALL): Remove.
11108 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11109 (__ASSUME_SOCKETCALL): Likewise.
11110 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11111 (__ASSUME_SOCKETCALL): Likewise.
11112 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11113 (__ASSUME_SOCKETCALL): Likewise.
11114 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11115 (__ASSUME_SOCKETCALL): Likewise.
11116 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11117 (__ASSUME_SOCKETCALL): Likewise.
11118 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11119 (__ASSUME_SOCKETCALL): Likewise.
11121 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
11124 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
11125 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
11126 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
11127 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
11128 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
11131 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
11134 * resolv/tst-resolv-network.c: Add test for getnetbyname.
11136 2018-11-07 Joseph Myers <joseph@codesourcery.com>
11139 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11140 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11141 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11142 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11144 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11146 * support/support_test_compare_string.c
11147 (support_test_compare_string): Fix printf format.
11149 2018-11-07 Florian Weimer <fweimer@redhat.com>
11151 Implement TEST_COMPARE_STRING.
11152 * support/check.h (TEST_COMPARE_STRING): Define.
11153 (support_test_compare_string): Declare.
11154 * support/Makefile (libsupport-routines): Add
11155 support_test_compare_string.
11156 (tests): Add tst-test_compare_string.
11157 * support/support_test_compare_string.c: New file.
11158 * support/tst-test_compare_string.c: Likewise.
11160 2018-11-07 Andreas Schwab <schwab@suse.de>
11163 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
11164 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
11167 2018-11-06 Joseph Myers <joseph@codesourcery.com>
11170 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11171 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
11172 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
11173 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
11176 2018-11-06 Florian Weimer <fweimer@redhat.com>
11179 * posix/Makefile (routines): Add spawn_faction_addchdir.
11180 (tests): Add tst-spawn-chdir.
11181 * posix/Versions (GLIBC_2.29): Add
11182 posix_spawn_file_actions_addchdir_np.
11183 * posix/spawn_faction_addchdir.c: New file.
11184 * posix/spawn_faction_destroy.c
11185 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
11186 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
11187 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
11189 * posix/tst-spawn-chdir.c: New file.
11190 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
11191 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
11192 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
11193 posix_spawn_file_actions_addchdir_np.
11194 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
11196 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
11198 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
11199 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
11201 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
11203 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
11205 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
11207 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
11209 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
11211 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11212 (GLIBC_2.29): Likewise.
11213 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11214 (GLIBC_2.29): Likewise.
11215 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11216 (GLIBC_2.29): Likewise.
11217 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11218 (GLIBC_2.29): Likewise.
11219 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
11221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11222 (GLIBC_2.29): Likewise.
11223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11224 (GLIBC_2.29): Likewise.
11225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11226 (GLIBC_2.29): Likewise.
11227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11228 (GLIBC_2.29): Likewise.
11229 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
11231 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
11233 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
11235 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
11236 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
11238 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
11240 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
11242 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
11245 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11247 * misc/Makefile (tests): Add tst-ldbl-error.
11248 * misc/tst-ldbl-error.c: New file.
11250 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11252 * misc/Makefile (tests): Add tst-ldbl-warn.
11253 * misc/tst-ldbl-warn.c: New file.
11255 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11257 * argp/Makefile (tests): Add tst-ldbl-argp.
11258 * argp/tst-ldbl-argp.c: New file.
11260 2018-11-05 Arjun Shankar <arjun@redhat.com>
11262 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
11263 __gconv_path_elem and call __gconv_get_path unconditionally.
11265 2018-11-05 Andreas Schwab <schwab@suse.de>
11268 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
11269 creating the first helper thread failed.
11271 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11273 * sysdeps/mach/hurd/msync.c: New file.
11275 2018-11-02 Florian Weimer <fweimer@redhat.com>
11277 * support/shell-container.c (copy_func): Call
11278 support_copy_file_range instead of copy_file_range to support
11279 cross-device copies.
11281 2018-11-02 Florian Weimer <fweimer@redhat.com>
11283 * support/test-container.c: Include <libc-pointer-arith.h> for
11286 2018-11-01 Zong Li <zong@andestech.com>
11288 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
11289 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
11290 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
11291 (__FP_FRAC_SET_8): Add implementation for RV32 use.
11293 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
11294 variable to avoid overlap arguments.
11296 2018-11-01 Joseph Myers <joseph@codesourcery.com>
11298 * posix/bug-regex22.c (main): Use puts with distinct error
11299 messages for unexpected success of re_compile_pattern, not printf
11300 with NULL argument to %s.
11302 * stdio-common/bug22.c: Include <libc-diag.h>.
11303 (do_test): Disable -Wformat-overflow= warnings around fprintf
11304 calls outputting more than INT_MAX characters.
11305 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
11306 around printf call with NULL %s argument.
11309 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
11310 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
11312 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11313 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11314 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11315 (__ASSUME_SENDTO_SYSCALL): Likewise.
11316 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11317 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
11319 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11320 (__ASSUME_CONNECT_SYSCALL): Likewise.
11321 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11322 (__ASSUME_RECVFROM_SYSCALL): Likewise.
11323 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
11325 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
11327 [__LINUX_KERNEL_VERSION >= 0x040400]
11328 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11329 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
11331 (listen): Likewise.
11332 (setsockopt): Likewise.
11334 2018-11-01 Fredrik Noring <noring@nocrew.org>
11336 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
11337 with the ISA override.
11339 2018-10-31 Rafael Ávila de Espíndola <rafael@espindo.la>
11341 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
11344 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11346 * manual/errno.texi (EIEIO): Document how translators should
11347 translate the error message.
11348 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
11349 printing trailing whitespaces refused by git.
11350 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
11351 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11352 * hurd/Makefile (user-interfaces): Add pci.
11354 2018-10-30 Joseph Myers <joseph@codesourcery.com>
11356 * conform/linknamespace.py: New file.
11357 * conform/linknamespace.pl: Remove file.
11358 * conform/Makefile ($(linknamespace-header-tests)): Use
11359 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
11362 2018-10-30 Florian Weimer <fweimer@redhat.com>
11364 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
11367 2018-10-30 Florian Weimer <fweimer@redhat.com>
11369 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
11371 2018-10-30 Florian Weimer <fweimer@redhat.com>
11373 * stdlib/tst-strtod-overflow.c (do_test): Switch to
11374 support_blob_repeat.
11376 2018-10-30 Florian Weimer <fweimer@redhat.com>
11378 Avoid spurious test failures in stdlib/test-bz22786.
11379 * support/Makefile (libsupport-routines): Add blob_repeat.
11380 (tests): Add tst-support_blob_repeat.
11381 * support/blob_repeat.h: New file.
11382 * support/blob_repeat.c: Likewise.
11383 * support/tst-support_blob_repeat.c: Likewise.
11384 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
11385 support_blob_repeat_allocate.
11387 2018-10-30 Andreas Schwab <schwab@suse.de>
11390 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
11391 Don't use tail call.
11392 * elf/tst-unwind-main.c: New file.
11393 * elf/Makefile (tests): Add tst-unwind-main.
11394 (CFLAGS-tst-unwind-main.c): Define.
11396 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
11399 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
11400 n_cs_precedes to 0.
11401 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
11403 2018-10-29 Joseph Myers <joseph@codesourcery.com>
11405 * conform/glibcconform.py: Do not import shutil.
11406 (list_exported_functions): Use tempfile.TemporaryDirectory instead
11409 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
11410 critic_missing for versions before 3.4.
11411 * configure: Regenerated.
11412 * manual/install.texi (Tools for Compilation): Document
11413 requirement for Python to build glibc.
11414 * INSTALL: Regenerated.
11415 * Rules [PYTHON]: Make code unconditional.
11416 * benchtests/Makefile [PYTHON]: Likewise.
11417 * conform/Makefile [PYTHON]: Likewise.
11418 * manual/Makefile [PYTHON]: Likewise.
11419 * math/Makefile [PYTHON]: Likewise.
11421 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11423 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
11424 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
11425 answer to interrupt_operation, return EIEIO instead of EINTR.
11426 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
11427 _hurd_intr_rpc_msg_about_to global point to start of controlled
11428 assembly snippet. Make it check canceled flag.
11429 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
11430 the _hurd_intr_rpc_msg_about_to point.
11431 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
11432 issue, remove cancel flag check.
11434 2018-10-26 Joseph Myers <joseph@codesourcery.com>
11436 * scripts/build-many-glibcs.py: Remove compatibility for missing
11437 os.cpu_count and re.fullmatch.
11439 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
11442 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
11443 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
11444 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
11446 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11448 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
11451 2018-10-25 Florian Weimer <fweimer@redhat.com>
11455 XFAIL siginfo_t si_band conform test on sparc64.
11456 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
11457 (__SI_BAND_TYPE): Only override long int default type on sparc64.
11458 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11459 (conformtest-xfail-conds): Add sparc64-linux.
11460 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
11462 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
11464 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11466 * elf/elf.h (NT_MIPS_DSP): New macro.
11467 (NT_MIPS_FP_MODE): Likewise.
11469 2018-10-25 Zong Li <zong@andestech.com>
11471 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
11472 name by adding the file extension (.so).
11474 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11476 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11477 (test-xfail-ISO11/threads.h/linknamespace,
11478 test-xfail-ISO11/threads.h/conform): Add.
11480 2018-10-24 Joseph Myers <joseph@codesourcery.com>
11482 * math/gen-libm-test.py: Import os.
11483 (ALL_FLOATS_MANUAL): New constant.
11484 (ALL_FLOATS_SUFFIX): Likewise.
11485 (Ulps.all_functions): New function.
11486 (real_all_ulps): Likewise.
11487 (generate_err_table_sub): Likewise.
11488 (generate_err_table): Likewise.
11489 (main): Handle -s and -m options.
11490 * manual/libm-err-tab.pl: Remove.
11491 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
11492 instead of libm-err-tab.pl.
11493 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
11495 * manual/install.texi (Tools for Compilation): Document
11496 requirement for Python to build manual.
11497 * INSTALL: Regenerated.
11499 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11501 * bits/time64.h: New file.
11502 * include/time.h: Replace internal_time_t with __time64_t.
11503 * posix/bits/types (__time64_t): Add.
11504 * stdlib/Makefile: Add bits/time64.h to includes.
11505 * time/tzfile.c: Replace internal_time_t with __time64_t.
11507 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11509 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
11510 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
11511 __posix_spawn_file_actions_init, __posix_spawnattr_init,
11512 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
11513 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
11515 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
11516 * posix/spawn_faction_addclose.c
11517 (__posix_spawn_file_actions_addclose): Add hidden definition.
11518 * posix/spawn_faction_adddup2.c
11519 (__posix_spawn_file_actions_adddup2): Likewise.
11520 * posix/spawn_faction_destroy.c
11521 (__posix_spawn_file_actions_destroy): Likewise.
11522 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
11524 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
11525 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
11526 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
11528 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
11529 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
11532 2018-10-24 Andreas Schwab <schwab@suse.de>
11535 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
11537 * elf/cache.c (print_cache): Likewise.
11539 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11541 * bits/timesize.h: New file.
11542 * stdlib/Makefile (headers): Add bits/timesize.h.
11543 * sysdeps/unix/sysv/linux/bits/msq-pad.h
11544 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
11545 * sysdeps/unix/sysv/linux/bits/sem-pad.h
11546 (__SEM_PAD_AFTER_TIME): Likewise.
11547 * sysdeps/unix/sysv/linux/bits/shm-pad.h
11548 (__SHM_PAD_AFTER_TIME): Likewise.
11549 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
11550 (__MSQ_PAD_BEFORE_TIME): Likewise.
11551 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
11552 (__SEM_PAD_BEFORE_TIME): Likewise.
11553 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
11554 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11555 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
11556 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
11557 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
11558 (__MSQ_PAD_BEFORE_TIME): Likewise.
11559 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
11560 (__SEM_PAD_BEFORE_TIME): Likewise.
11561 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
11562 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11563 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
11564 (__MSQ_PAD_BEFORE_TIME): Likewise.
11565 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
11566 (__SEM_PAD_BEFORE_TIME): Likewise.
11567 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
11568 (__SHM_PAD_BEFORE_TIME): Likewise.
11569 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
11570 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11571 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
11573 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
11575 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
11576 USE_RDTSCP is defined.
11577 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
11578 USE_RDTSCP is defined.
11580 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11582 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
11586 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
11587 independently of other flags.
11589 2018-10-23 Florian Weimer <fweimer@redhat.com>
11591 * time/tst-mktime2.c (N_STRINGS): Remove.
11592 (set_timezone): New function.
11593 (spring_forward_gap): Call it. Use FAIL_EXIT1.
11594 (mktime_test1): Report localtime failure and check errno value.
11596 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
11597 (do_test): Remove alarm call. Use set_timezone and array_length.
11599 2018-10-23 Andreas Schwab <schwab@suse.de>
11601 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
11602 (__start_context): Use END instead of PSEUDO_END.
11604 2018-10-22 Joseph Myers <joseph@codesourcery.com>
11606 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11609 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11613 * wcsmbs/c32rtomb.c: New file.
11614 * wcsmbs/mbrtoc32.c: Likewise.
11615 * wcsmbs/tst-c32-state.c: Likewise.
11616 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
11617 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
11618 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
11619 (tests): Add tst-c32-state.
11620 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
11623 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
11625 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
11626 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
11628 2018-10-19 Joseph Myers <joseph@codesourcery.com>
11631 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
11632 pair and return 0 in that case, and use saved character to
11633 interpret following character.
11634 * wcsmbs/tst-c16-surrogate.c: New file.
11635 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
11636 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
11637 Depend on $(gen-locales)
11639 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
11642 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
11643 (struct siginfo_t): Use correct type for si_band.
11645 2018-10-19 Florian Weimer <fweimer@redhat.com>
11648 * resource/bits/types/struct_rusage.h (struct rusage): Update
11649 comment on struct. Remove extraneous field comment.
11651 2018-10-18 David S. Miller <davem@davemloft.net>
11653 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
11654 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
11655 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
11656 sysdep_routines in subdir elf.
11657 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
11658 version for __vdso_clock_gettime.
11659 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
11661 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11662 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11664 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11666 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
11668 * sysdeps/i386/init-arch.h: Removed.
11669 * sysdeps/i386/i586/init-arch.h: Likewise.
11670 * sysdeps/i386/i686/init-arch.h: Likewise.
11671 * sysdeps/i386/i686/hp-timing.h: Likewise.
11672 * sysdeps/x86_64/hp-timing.h: Likewise.
11673 * sysdeps/i386/isa.h: New file.
11674 * sysdeps/i386/i586/isa.h: Likewise.
11675 * sysdeps/i386/i686/isa.h: Likewise.
11676 * sysdeps/x86_64/isa.h: Likewise.
11677 * sysdeps/x86/hp-timing.h: New file.
11678 * sysdeps/x86/init-arch.h: Include <isa.h>.
11680 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11682 * math/libm-test-pow.inc (pow_test_data): Do not allow
11683 divide-by-zero exception for pow(+/- 0, -Inf).
11685 2018-10-17 Zack Weinberg <zackw@panix.com>
11687 * manual/job.texi (Job Control is Optional): Remove node, as
11688 job control has not been optional in quite some time.
11689 (Job Control): Mention briefly that systems older than
11690 POSIX.1-2001 might not support job control.
11691 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
11692 defined on systems conforming to POSIX.1-2001.
11694 2018-10-17 Arjun Shankar <arjun@redhat.com>
11697 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
11699 * (__gconv_read_conf): Mark function static.
11700 * (once): New static variable.
11701 * (__gconv_load_conf): New function.
11702 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
11703 * iconv/gconv_db.c (once): Remove static variable.
11704 * (__gconv_compare_alias): Use __gconv_load_conf instead of
11706 * (__gconv_find_transform): Likewise.
11707 * iconv/tst-iconv-mt.c: New test.
11708 * iconv/Makefile: Add tst-iconv_mt.
11710 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11712 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11714 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
11715 (shmatt_t): Define as __syscall_ulong_t.
11716 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
11717 and [__SHM_PAD_AFTER_TIME].
11718 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
11719 Define shm_segsz and associated padding based on
11720 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
11721 Use __syscall_ulong_t instead of unsigned long int.
11722 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
11724 [__USE_MISC] (struct shm_info): Likewise.
11725 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
11726 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
11727 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
11728 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
11729 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
11730 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11731 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
11732 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11733 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11734 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11735 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11739 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
11740 (SHMLBA): Remove macro.
11741 (__getpagesize): Remove function declaration.
11742 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
11744 (SHMLBA): Remove macro.
11745 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
11747 (SHMLBA): Remove macro.
11748 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
11750 (SHMLBA): Remove macro.
11751 (__getpagesize): Remove function declaration.
11752 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
11754 (SHMLBA): Remove macro.
11755 (__getshmlba): Remove function declaration.
11756 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
11757 (SHMLBA): Remove macro.
11758 (__getpagesize): Remove function declaration.
11759 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
11760 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
11761 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11762 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
11763 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
11764 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
11765 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
11766 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
11767 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
11768 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
11770 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
11773 * nptl/tst-mutex10.c: New File.
11774 * nptl/Makefile (tests): Add tst-mutex10.
11775 (tst-mutex10-ENV): New variable.
11776 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
11777 Ensure that elision path is used if elision is available.
11778 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
11780 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
11782 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
11783 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
11784 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
11785 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
11787 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
11788 (__pthread_mutex_cond_lock_adjust): Likewise.
11789 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11791 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
11792 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11793 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11794 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
11796 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11797 Use atomic_load_relaxed and atomic_store_relaxed.
11798 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
11799 Use atomic_store_relaxed.
11801 2018-10-17 Andreas Schwab <schwab@suse.de>
11803 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
11804 * crypt/badsalttest.c (TIMEOUT): Likewise.
11805 * crypt/sha256c-test.c (TIMEOUT): Likewise.
11806 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
11807 * io/test-lfs.c (TIMEOUT): Likewise.
11808 * libio/tst-atime.c (TIMEOUT): Likewise.
11809 * localedata/tst-leaks.c (TIMEOUT): Likewise.
11810 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
11811 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
11812 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
11813 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
11814 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
11815 * nptl/tst-cond11.c (TIMEOUT): Likewise.
11816 * nptl/tst-cond14.c (TIMEOUT): Likewise.
11817 * nptl/tst-cond15.c (TIMEOUT): Likewise.
11818 * nptl/tst-cond24.c (TIMEOUT): Likewise.
11819 * nptl/tst-cond25.c (TIMEOUT): Likewise.
11820 * nptl/tst-kill2.c (TIMEOUT): Likewise.
11821 * nptl/tst-kill3.c (TIMEOUT): Likewise.
11822 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
11823 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
11824 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
11825 * nptl/tst-once2.c (TIMEOUT): Likewise.
11826 * nptl/tst-once3.c (TIMEOUT): Likewise.
11827 * nptl/tst-once4.c (TIMEOUT): Likewise.
11828 * nptl/tst-robust8.c (TIMEOUT): Likewise.
11829 * nptl/tst-robust9.c (TIMEOUT): Likewise.
11830 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
11831 * nptl/tst-sem14.c (TIMEOUT): Likewise.
11832 * nptl/tst-sem6.c (TIMEOUT): Likewise.
11833 * nptl/tst-signal3.c (TIMEOUT): Likewise.
11834 * nptl/tst-spin4.c (TIMEOUT): Likewise.
11835 * nptl/tst-tls3.c (TIMEOUT): Likewise.
11836 * nptl/tst-tls4.c (TIMEOUT): Likewise.
11837 * posix/tst-chmod.c (TIMEOUT): Likewise.
11838 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
11839 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
11840 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
11841 * posix/tst-regex2.c (TIMEOUT): Likewise.
11842 * posix/tst-waitid.c (TIMEOUT): Likewise.
11843 * rt/tst-aio.c (TIMEOUT): Likewise.
11844 * rt/tst-aio10.c (TIMEOUT): Likewise.
11845 * rt/tst-aio4.c (TIMEOUT): Likewise.
11846 * rt/tst-aio5.c (TIMEOUT): Likewise.
11847 * rt/tst-aio6.c (TIMEOUT): Likewise.
11848 * rt/tst-aio64.c (TIMEOUT): Likewise.
11849 * rt/tst-aio7.c (TIMEOUT): Likewise.
11850 * rt/tst-aio9.c (TIMEOUT): Likewise.
11851 * rt/tst-clock.c (TIMEOUT): Likewise.
11852 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
11853 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
11854 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
11855 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
11856 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
11857 * rt/tst-timer4.c (TIMEOUT): Likewise.
11858 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
11859 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
11860 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
11861 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
11862 * time/tst-ftime.c (TIMEOUT): Likewise.
11863 * timezone/tst-tzset.c (TIMEOUT): Likewise.
11865 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
11867 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
11868 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
11871 2018-10-15 Joseph Myers <joseph@codesourcery.com>
11873 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11875 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
11876 instead of <bits/wordsize.h>.
11877 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
11878 and [__SEM_PAD_AFTER_TIME].
11879 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
11880 __syscall_ulong_t instead of unsigned long int.
11881 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
11882 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
11883 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
11884 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
11885 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
11886 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
11887 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
11888 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
11889 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11890 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11891 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11893 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
11895 regex: simplify by using intprops.h
11897 * posix/regex_internal.h [_LIBC]: Include intprops.h.
11898 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
11899 intprops.h defines them.
11901 regex: __builtin_expect → __glibc_unlikely
11903 This refactoring was prompted by a problem when the regex code is
11904 used as part of Gnulib and when the builder’s compiler does not grok
11905 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
11906 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
11907 Although this refactoring does not fix the problem directly,
11908 we might as well have Gawk use the now-preferred glibc style for when
11909 __builtin_expect is unavailable.
11910 * posix/regex_internal.h (BE): Remove.
11911 All uses replaced by __glibc_unlikely or __glibc_likely.
11913 2018-10-11 Joseph Myers <joseph@codesourcery.com>
11915 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11917 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
11918 instead of <bits/wordsize.h>.
11919 (msgqnum_t): Define as __syscall_ulong_t.
11920 (msglen_t): Likewise.
11921 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
11922 and [__MSQ_PAD_AFTER_TIME].
11923 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
11924 __syscall_ulong_t instead of unsigned long int.
11925 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
11926 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
11927 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
11928 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
11929 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
11930 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
11931 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
11932 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
11933 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11934 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11935 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11937 2018-10-10 Joseph Myers <joseph@codesourcery.com>
11939 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
11940 (struct shmid_ds): Condition padding after time fields on
11941 [__WORDSIZE == 32].
11942 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
11943 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
11944 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11946 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
11947 (struct semid_ds): Condition padding after time fields on
11948 [__WORDSIZE == 32].
11949 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
11950 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
11951 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
11952 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11954 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
11955 (struct msqid_ds): Condition padding after time fields on
11956 [__WORDSIZE == 32].
11957 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
11958 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
11959 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
11960 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11962 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11964 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
11966 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11968 * libio/tst-readline.c (TIMEOUT): Define.
11970 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
11972 mktime fix for Gnulib + coreutils
11974 This fix affects only Gnulib. Problem discovered when
11975 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
11977 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
11978 Do not define since it is not used. Defining an unused static
11979 function prompts a warning from GCC when Coreutils is configured
11980 with --enable-gcc-warnings.
11982 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11984 * benchtests/scripts/compare_bench.py (main): set float type on
11985 threshold argument.
11987 2018-10-08 Rafał Lużyński <digitalfreak@lingonborough.com>
11990 * localedata/locales/kl_GL (mon): Update, the relative case.
11991 (alt_mon): Add, fill with month names in the nominative case.
11992 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
11993 (d_fmt): Set to "%b %d %Y".
11995 2018-10-04 Joseph Myers <joseph@codesourcery.com>
11997 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
11998 <bits/mman-linux.h>.
11999 (PROT_READ): Don't define here.
12000 (PROT_WRITE): Likewise.
12001 (PROT_EXEC): Likewise.
12002 (PROT_NONE): Likewise.
12003 (PROT_GROWSDOWN): Likewise.
12004 (PROT_GROWSUP): Likewise.
12005 (MAP_SHARED): Likewise.
12006 (MAP_PRIVATE): Likewise.
12007 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
12008 [__USE_MISC] (MAP_FILE): Likewise.
12009 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
12010 [__USE_MISC] (MAP_ANON): Likewise.
12011 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
12012 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
12013 (MCL_CURRENT): Likewise.
12014 (MCL_FUTURE): Likewise.
12015 (MCL_ONFAULT): Likewise.
12016 [__USE_MISC] (MADV_NORMAL): Likewise.
12017 [__USE_MISC] (MADV_RANDOM): Likewise.
12018 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
12019 [__USE_MISC] (MADV_WILLNEED): Likewise.
12020 [__USE_MISC] (MADV_DONTNEED): Likewise.
12021 [__USE_MISC] (MADV_FREE): Likewise.
12022 [__USE_MISC] (MADV_REMOVE): Likewise.
12023 [__USE_MISC] (MADV_DONTFORK): Likewise.
12024 [__USE_MISC] (MADV_DOFORK): Likewise.
12025 [__USE_MISC] (MADV_HWPOISON): Likewise.
12026 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
12027 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
12028 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
12029 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
12030 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
12031 (__MAP_ANONYMOUS): New macro.
12032 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
12033 <bits/mman-linux.h> inclusion.
12034 (MAP_FIXED): Likewise.
12035 (MS_SYNC): Likewise.
12036 (MS_ASYNC): Likewise.
12037 (MS_INVALIDATE): Likewise.
12038 [__USE_MISC] (MADV_MERGEABLE): Likewise.
12039 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
12040 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
12041 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
12042 [__USE_MISC] (MADV_DONTDUMP): Likewise.
12043 [__USE_MISC] (MADV_DODUMP): Likewise.
12044 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
12045 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
12048 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
12050 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
12051 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
12052 Add test-nldbl-redirect.
12053 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
12054 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
12055 $(objpfx)libnldbl_nonshared.a.
12057 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
12059 * support/support.h (support_objdir_elf_ldso): New variable.
12060 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
12061 * support/Makefile (CFLAGS-support_paths.c): Add definition
12062 for OBJDIR_ELF_LDSO_PATH.
12063 * support/test-container.c (main): Search for the ld.so
12064 which is also used by the testsuite.
12066 2018-10-02 Rafał Lużyński <digitalfreak@lingonborough.com>
12069 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
12070 should be "sap" rather than "sab".
12071 (day): Fix spelling of Sunday, should be "sapaat" rather than
12074 2018-10-02 Joseph Myers <joseph@codesourcery.com>
12076 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12078 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
12081 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
12082 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
12083 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
12085 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12087 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
12089 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
12091 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
12093 (CFLAGS-elision-unlock.c): Likewise.
12094 (CFLAGS-elision-timed.c): Likewise.
12095 (CFLAGS-elision-trylock.c): Likewise.
12096 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
12098 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12101 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
12102 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
12103 new fd_to_filename interface.
12104 * libio/freopen64.c (freopen64): Likewise.
12105 * libio/tst-memstream.h: New file.
12106 * libio/tst-memstream4.c: Likewise.
12107 * libio/tst-wmemstream4.c: Likewise.
12108 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
12109 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
12110 and remove internal dynamic allocation.
12112 2018-10-01 Joseph Myers <joseph@codesourcery.com>
12114 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
12115 (MREMAP_MAYMOVE): Do not define here.
12116 [__USE_GNU] (MREMAP_FIXED): Likewise.
12117 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
12118 (MREMAP_MAYMOVE): Define here instead.
12119 [__USE_GNU] (MREMAP_FIXED): Likewise.
12120 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
12121 (MREMAP_MAYMOVE): Remove.
12122 [__USE_GNU] (MREMAP_FIXED): Likewise.
12124 2018-09-28 Joseph Myers <joseph@codesourcery.com>
12126 * math/fromfp.h: Do not include <math_private.h>.
12127 * math/s_cacosh_template.c: Likewise.
12128 * math/s_casin_template.c: Likewise.
12129 * math/s_casinh_template.c: Likewise.
12130 * math/s_ccos_template.c: Likewise.
12131 * math/s_cproj_template.c: Likewise.
12132 * math/s_fdim_template.c: Likewise.
12133 * math/s_fmaxmag_template.c: Likewise.
12134 * math/s_fminmag_template.c: Likewise.
12135 * math/s_iseqsig_template.c: Likewise.
12136 * math/s_ldexp_template.c: Likewise.
12137 * math/s_nextdown_template.c: Likewise.
12138 * math/w_log1p_template.c: Likewise.
12139 * math/w_scalbln_template.c: Likewise.
12140 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12141 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12142 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12143 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12144 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12145 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12146 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12147 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12148 * sysdeps/i386/fpu/s_atanl.c: Likewise.
12149 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12150 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12151 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12152 * sysdeps/i386/fpu/s_logbl.c: Likewise.
12153 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12154 * sysdeps/i386/fpu/s_significandl.c: Likewise.
12155 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
12156 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
12157 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12158 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12159 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12160 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12161 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12162 * sysdeps/ieee754/k_standardf.c: Likewise.
12163 * sysdeps/ieee754/k_standardl.c: Likewise.
12164 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12165 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12166 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
12167 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12168 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12169 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12170 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12171 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12172 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12173 * sysdeps/ieee754/s_signgam.c: Likewise.
12174 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12175 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
12176 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
12177 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12178 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12179 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12180 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12181 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12182 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12183 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12184 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12185 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12186 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12187 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12188 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12189 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12190 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12191 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12192 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12193 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12194 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12195 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12196 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12197 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12198 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12199 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12200 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12201 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12202 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12203 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12204 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12205 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12206 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12207 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12208 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12209 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12210 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
12212 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12214 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
12217 * sysdeps/i386/dl-cet.c: Removed.
12218 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
12220 (_dl_runtime_profile_shstk): Likewise.
12221 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
12222 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
12224 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12227 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
12228 do_test_with_invalid_iov): New tests.
12229 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
12230 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
12231 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
12233 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12234 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12235 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
12237 2018-09-27 Joseph Myers <joseph@codesourcery.com>
12239 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12240 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
12241 (MATH_REDIRECT_BINARY_ARGS): New macro.
12242 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12243 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
12244 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
12246 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
12247 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12248 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
12249 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12250 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12251 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12252 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
12257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
12259 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
12260 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
12261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
12263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
12265 * sysdeps/generic/math_private_calls.h
12266 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
12267 Do not declare and define as an inline function.
12268 * math/divtc3.c (__divtc3): Use copysign functions instead of
12269 __copysign variants.
12270 * math/multc3.c (__multc3): Likewise.
12271 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
12272 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
12273 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12274 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12276 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12277 (__ieee754_yn): Likewise.
12278 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12279 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
12280 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12281 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12282 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
12284 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12285 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12287 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12289 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12291 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12292 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12294 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12295 (__ieee754_ynf): Likewise.
12296 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12297 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12298 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12299 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12301 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12302 (__ieee754_ynl): Likewise.
12303 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12304 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12305 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12307 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12308 (__ieee754_ynl): Likewise.
12309 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
12310 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12311 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12312 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12314 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12316 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
12317 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12318 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
12319 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12320 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12322 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12323 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
12324 using MATH_REDIRECT.
12325 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
12327 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
12328 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12329 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12330 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
12331 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12332 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12333 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
12335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
12336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
12337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
12338 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12339 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12340 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12341 (round): Redirect to __round.
12342 (__roundl): Call round instead of __round.
12343 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
12345 [_ARCH_PWR5X] (__roundf): Likewise.
12346 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
12347 functions instead of __round variants.
12348 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12349 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12351 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12353 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12355 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
12356 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
12358 (__ieee754_expl): Call roundl instead of __roundl.
12360 2018-09-27 Andreas Schwab <schwab@suse.de>
12363 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
12364 (do_test): Make st1 static.
12366 2018-09-26 Andreas Schwab <schwab@suse.de>
12369 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
12370 * elf/Makefile (tests): Add tst-unwind-ctor.
12371 (modules-names): Add tst-unwind-ctor-lib.
12372 ($(objpfx)tst-unwind-ctor): Depend on
12373 $(objpfx)tst-unwind-ctor-lib.so.
12375 2018-09-26 Joseph Myers <joseph@codesourcery.com>
12377 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
12378 file. Most contents moved from ....
12379 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
12380 and include <bits/mman-map-flags-generic.h>.
12381 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12382 (sysdep_headers): Add bits/mman-map-flags-generic.h.
12383 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
12384 <bits/mman-map-flags-generic.h>.
12385 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
12386 macros defined in <bits/mman-map-flags-generic.h>.
12387 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
12388 <bits/mman-map-flags-generic.h>.
12389 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
12390 defined in <bits/mman-map-flags-generic.h>.
12392 2018-09-26 Andreas Schwab <schwab@suse.de>
12394 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
12397 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
12398 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12399 Fangrui Song <maskray@google.com>
12402 * config.make.in (have-textrel_ifunc): New define.
12403 * configure.ac: Add check if linker supports textrel relocation with
12405 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
12407 (CFLAGS-tst-ifunc-textrel.c): New rule.
12408 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
12409 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
12410 * elf/tst-ifunc-textrel.c: New file.
12412 2018-09-25 Joseph Myers <joseph@codesourcery.com>
12414 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12415 <bits/procfs-prregset.h>.
12416 (prgregset_t): Define using __prgregset_t.
12417 (prfpregset_t): Define using __prfpregset_t.
12418 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12419 (sysdep_headers): Add bits/procfs-prregset.h.
12420 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
12421 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
12422 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
12423 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
12425 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12426 <bits/procfs-id.h> and <bits/procfs-extra.h>.
12427 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
12429 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12430 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
12431 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
12432 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
12433 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
12434 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
12435 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
12436 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
12437 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
12438 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
12439 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
12440 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
12441 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
12442 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
12443 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
12444 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
12445 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
12446 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
12447 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
12448 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
12449 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
12450 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
12451 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12452 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
12454 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
12455 AArch64 version. Include <bits/procfs.h>.
12456 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12457 (sysdep_headers): Add bits/procfs.h.
12458 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
12459 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
12460 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
12461 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
12462 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
12463 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
12464 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
12465 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
12466 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
12467 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
12468 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
12469 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
12470 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
12471 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
12472 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
12473 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12474 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12476 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12478 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
12481 2018-09-25 Arjun Shankar <arjun@redhat.com>
12483 * iconv/gconv_int.h (__gconv_path_elem): Remove.
12484 (__gconv_max_path_elem_len): Likewise.
12485 (__gconv_nmodules): Likewise.
12486 (__gconv_get_path): Likewise.
12487 (path_elem): Move to ...
12488 * iconv/gconv_conf.c: ... here.
12489 (__gconv_get_path): Mark function static.
12490 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
12491 * iconv/gconv_open.c: ... here.
12493 2018-09-24 Andreas Schwab <schwab@suse.de>
12495 * scripts/haveversions.awk: New file.
12496 * Makerules ($(common-objpfx)Versions.def)
12497 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12498 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12500 * Makeconfig ($(common-objpfx)Versions.def)
12501 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12502 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12504 ($(common-objpfx)Versions.mk): New rule. Include it.
12505 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
12506 Emit error if build-obsolete-nsl = yes.
12507 * manual/install.texi (Configuring and compiling): Describe
12508 --enable-obsolete-nsl as unavaiable after version 2.28.
12509 * INSTALL: Regenerate.
12511 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12513 * NEWS: Add note about new TLE support on powerpc64le.
12514 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
12515 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
12517 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
12518 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
12519 * sysdeps/powerpc/powerpc32/sysdep.h,
12520 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
12521 ABORT_TRANSACTION): Remove macros.
12522 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12523 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
12524 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
12525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
12526 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12527 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
12529 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
12531 2018-09-21 Rafał Lużyński <digitalfreak@lingonborough.com>
12534 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
12535 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
12536 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
12537 which is the same as in it_IT.
12538 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
12539 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
12541 2018-09-20 Joseph Myers <joseph@codesourcery.com>
12543 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12544 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
12545 using MATH_REDIRECT.
12546 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
12548 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
12549 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12550 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
12551 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12552 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12553 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
12555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
12556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
12557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
12558 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12559 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12560 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12561 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12562 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
12563 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
12564 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
12565 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12566 (ceil): Redirect to __ceil.
12567 (floor): Redirect to __floor.
12568 (trunc): Redirect to __trunc.
12569 (__truncl): Call trunc instead of __trunc.
12570 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
12572 [_ARCH_PWR5X] (__truncf): Likewise.
12573 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
12574 trunc functions instead of __trunc variants.
12575 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12577 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12579 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12581 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12584 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
12585 [__i586__ || __pentium__].
12586 [__i486__]: Handle explicitly.
12587 (HAS_CPUID): Define to 1 if above macros are undefined.
12588 (HAS_I586): Likewise.
12589 (HAS_I686): Likewise.
12591 2018-09-20 Florian Weimer <fweimer@redhat.com>
12593 * misc/tst-gethostid.c: New file.
12594 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
12595 (tst-gethostid): Link with -ldl.
12597 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
12599 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
12600 value from gethostbyname_r.
12602 2018-09-19 Carlos O'Donell <carlos@redhat.com>
12604 * stdlib/tst-setcontext9.c (f1): Rename to...
12606 (f1b): New function implementing lower half of f1 in alternate stack.
12608 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
12610 Fix mktime localtime offset confusion
12612 * include/time.h (__mktime_internal): The localtime offset is now
12613 of type long int instead of time_t. This is the longstanding type
12614 in glibc, and it is more than enough to represent difference
12615 between localtime and gmtime even if it is 32 bits and time_t is
12616 64. Changing it now will let us avoid an unnecessary change when
12617 time_t is widened to 64 bits on 32-bit platforms.
12618 * time/mktime-internal.h (mktime_offset_t): Now long int.
12620 Merge mktime, timegm from upstream Gnulib
12621 [BZ #23603][BZ #16346]
12622 This fixes some obscure problems with integer overflow.
12623 Although it looks scary, it is almost all a byte-for-byte copy
12624 from Gnulib, and the Gnulib code has been tested reasonably well.
12625 * include/intprops.h: New file, copied from Gnulib.
12626 * include/verify.h, time/mktime-internal.h:
12627 New tiny files, simplified from Gnulib.
12628 * time/mktime.c: Copy from Gnulib. This has the following changes:
12629 Do not include config.h if DEBUG_MKTIME is nonzero.
12630 Include stdbool.h, intprops.h, verify.h.
12631 Include string.h only if needed.
12632 Include stdlib.h on MS-Windows.
12633 Include mktime-internal.h.
12634 (DEBUG_MKTIME): Default to 0, and simplify later uses.
12635 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
12636 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
12637 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
12638 simplify later conditionals; default the others to zero. Use
12639 these conditionals to express only the code needed on the current
12640 platform. In uses of these conditionals, explicitly spell out how
12641 _LIBC affects things, so it’s easier to review from a glibc
12643 (WRAPV): Remove; no longer needed now that we have
12644 systematic overflow checking.
12645 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
12646 compartmentalize tzset issues. Move system-dependent tzsettish
12647 code here from mktime.
12648 (verify): Remove; now done by verify.h. All uses changed.
12649 (long_int): Use a more-conservative definition, to avoid
12651 (SHR): Remove, replacing with ...
12652 (shr): New function, which means we needn’t worry about side
12653 effects in args, and conversion analysis is simpler.
12654 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
12655 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
12656 (time_t_avg, time_t_add_ok): Remove.
12657 (mktime_min, mktime_max): New constants.
12658 (leapyear, isdst_differ): Use bool for booleans.
12659 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
12660 Use long_int, not time_t, for mktime differences.
12661 (long_int_avg): New function, replacing time_t_avg.
12662 INT_ADD_WRAPV replaces time_t_add_ok.
12663 (guess_time_tm): 6th arg is now long_int, not time_t const *.
12665 (convert_time): New function.
12666 (ranged_convert): Use it.
12667 (__mktime_internal): Last arg now points to mktime_offset_t, not
12668 time_t. All uses changed. This is a no-op on glibc, where
12669 mktime_offset_t is always time_t. Use int, not time_t, for UTC
12670 offset guess. Directly check for integer overflow instead of
12671 using a heuristic that works only 99.9...% of the time.
12672 Access *OFFSET only once, to avoid an unlikely race if the
12673 compiler delays a load and if this cascades into a signed integer
12675 (mktime): Move tzsettish code to my_tzset, and move
12676 localtime_offset to within mktime so that it doesn’t
12677 need a separate ifdef.
12678 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
12679 instead of localtime.
12680 * time/timegm.c: Copy from Gnulib. This has the following changes:
12681 Include mktime-internal.h.
12682 [!_LIBC]: Include config.h and time.h. Do not include
12683 timegm.h or time_r.h. Make __mktime_internal a macro,
12684 and include mktime-internal.h to get its declaration.
12685 (timegm): Temporary is now mktime_offset_t, not time_t.
12686 This affects only Gnulib.
12688 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12691 * string/test-strstr.c (pr23637): New function.
12692 (test_main): Add tests with longer needles.
12693 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
12694 * string/strstr.c (AVAILABLE): Likewise.
12696 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12698 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
12700 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12702 * NEWS: Mention pow improvements.
12703 * math/Makefile (type-double-routines): Add e_pow_log_data.
12704 * sysdeps/generic/math_private.h (__exp1): Remove.
12705 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
12706 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
12707 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
12709 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
12710 (exp_inline): Remove.
12711 (__ieee754_exp): Only single double input is handled.
12712 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
12713 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
12714 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
12715 (__pow_log_data): Define.
12716 * sysdeps/ieee754/dbl-64/upow.h: Remove.
12717 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
12718 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
12719 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
12721 (CFLAGS-e_pow-fma4.c): Likewise.
12723 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
12725 Simplify tzfile fstat failure code
12727 * time/tzfile.c (__tzfile_read): Simplify slightly.
12729 Fix tzfile low-memory assertion failure
12731 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
12732 when registering time zone abbreviations.
12734 2018-09-18 Joseph Myers <joseph@codesourcery.com>
12736 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
12737 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
12738 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
12739 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
12740 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
12741 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
12742 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12743 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12744 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12746 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
12748 (__ceill): Call ceil instead of __ceil.
12749 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
12751 (__floorl): Call floor instead of __floor.
12753 2018-09-17 Joseph Myers <joseph@codesourcery.com>
12755 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12756 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
12757 using MATH_REDIRECT.
12758 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
12760 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
12761 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12762 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12763 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
12764 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12765 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12766 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12767 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
12768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
12769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
12770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
12771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
12772 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12773 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12774 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12775 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12776 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
12777 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
12778 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
12780 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
12781 functions instead of __ceil variants.
12782 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12783 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12785 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12787 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12788 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12790 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12791 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12794 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
12796 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
12797 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
12798 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
12799 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
12800 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
12801 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
12802 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
12803 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
12804 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
12805 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
12806 (ILL_BADIADDR): Remove constant.
12807 (TRAP_BRANCH): Likewise.
12808 (TRAP_HWBKPT): Likewise.
12810 2018-09-14 Joseph Myers <joseph@codesourcery.com>
12813 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
12814 Remove [_MIPS_SIM = _ABIN32] conditional case.
12815 (struct elf_prpsinfo): Likewise.
12818 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
12819 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
12820 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
12822 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
12823 elf_prpsinfo): Likewise.
12824 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
12825 elf_prpsinfo): Likewise.
12826 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
12829 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12830 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
12831 using MATH_REDIRECT.
12832 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
12834 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
12835 * sysdeps/alpha/fpu/s_rint.c: Likewise.
12836 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
12837 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12838 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12839 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12840 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
12841 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12842 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12843 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12844 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
12845 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
12846 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
12847 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
12848 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
12849 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12850 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12851 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12852 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
12854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
12855 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
12856 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
12857 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
12858 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
12859 * sysdeps/x86_64/fpu/math_private.h: Remove file.
12860 * math/e_scalb.c (invalid_fn): Use rint functions instead of
12862 * math/e_scalbf.c (invalid_fn): Likewise.
12863 * math/e_scalbl.c (invalid_fn): Likewise.
12864 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12866 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12868 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12869 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
12870 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12872 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12874 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12876 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
12877 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
12879 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12880 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
12882 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12883 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
12884 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12885 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
12886 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12887 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
12888 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12889 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
12890 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12891 && !NO_MATH_REDIRECT] (floor): Likewise.
12892 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
12894 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
12895 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12896 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12897 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
12898 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12899 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12900 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12901 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
12902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
12903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
12904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
12905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
12906 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12907 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12908 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12909 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12910 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
12911 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
12912 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
12914 [_ARCH_PWR5X] (__floorf): Likewise.
12915 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
12917 [__SSE4_1__] (__floorf): Likewise.
12918 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
12919 instead of __floor variants.
12920 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
12921 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
12922 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
12923 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
12924 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
12925 * math/w_tgamma_compat.c (__tgamma): Likewise.
12926 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
12927 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
12928 * math/w_tgammal_compat.c (__tgammal): Likewise.
12929 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
12930 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12932 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12933 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
12934 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12935 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12937 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12938 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
12940 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12941 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
12943 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12944 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
12946 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12947 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12948 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
12949 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
12950 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12951 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12953 2018-09-12 Joseph Myers <joseph@codesourcery.com>
12955 * elf/Makefile (modules-names-tests): New variable.
12957 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12959 * NEWS: Mention log2 improvements.
12960 * math/Makefile (type-double-routines): Add e_log2_data.
12961 * sysdeps/i386/fpu/e_log2_data.c: New file.
12962 * sysdeps/ia64/fpu/e_log2_data.c: New file.
12963 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
12964 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
12965 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
12966 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
12967 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
12969 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12971 * NEWS: Mention log improvement.
12972 * math/Makefile (type-double-routines): Add e_log_data.
12973 * sysdeps/i386/fpu/e_log_data.c: New file.
12974 * sysdeps/ia64/fpu/e_log_data.c: New file.
12975 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
12976 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
12977 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
12978 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
12979 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
12980 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
12982 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
12983 Xuepeng Guo <xuepeng.guo@intel.com>
12986 * sysdeps/i386/start.S: Include <sysdep.h>
12987 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
12988 enabled. Add cfi_undefined (eip).
12990 2018-09-11 Joseph Myers <joseph@codesourcery.com>
12992 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
12994 (EXTRACT_WORDS64): Likewise.
12995 (INSERT_WORDS64): Likewise.
12996 (GET_FLOAT_WORD): Likewise.
12997 (SET_FLOAT_WORD): Likewise.
12999 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
13001 (Config.build_gcc): Use --disable-libsanitizer for first GCC
13002 build, but not for second build if --full-gcc. Use
13003 --enable-languages=all for second build if --full-gcc.
13004 (get_parser): Add --full-gcc option.
13005 (main): Update call to Context.
13007 2018-09-10 Rafał Lużyński <digitalfreak@lingonborough.com>
13010 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
13011 Single Quotation Mark).
13012 (thousands_sep): Likewise.
13013 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
13014 * localedata/locales/it_IT (thousands_sep): Use ".".
13015 (grouping): Use "3;3".
13017 2018-09-10 Joseph Myers <joseph@codesourcery.com>
13019 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
13020 x86_64 and i686 configs using --enable-obsolete-rpc
13021 --enable-obsolete-nsl.
13023 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
13025 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13027 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
13029 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
13030 Increment size of new_argv by one.
13032 2018-09-05 Rafał Lużyński <digitalfreak@lingonborough.com>
13035 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
13036 * localedata/locales/ar_IN (d_fmt): Likewise.
13037 * localedata/locales/bhb_IN (d_fmt): Likewise.
13038 * localedata/locales/bho_IN (d_fmt): Likewise.
13039 * localedata/locales/bn_BD (d_fmt): Likewise.
13040 * localedata/locales/bn_IN (d_fmt): Likewise.
13041 * localedata/locales/doi_IN (d_fmt): Likewise.
13042 * localedata/locales/gu_IN (d_fmt): Likewise.
13043 * localedata/locales/hi_IN (d_fmt): Likewise.
13044 * localedata/locales/hne_IN (d_fmt): Likewise.
13045 * localedata/locales/kn_IN (d_fmt): Likewise.
13046 * localedata/locales/mag_IN (d_fmt): Likewise.
13047 * localedata/locales/mai_IN (d_fmt): Likewise.
13048 * localedata/locales/mjw_IN (d_fmt): Likewise.
13049 * localedata/locales/ml_IN (d_fmt): Likewise.
13050 * localedata/locales/mni_IN (d_fmt): Likewise.
13051 * localedata/locales/mr_IN (d_fmt): Likewise.
13052 * localedata/locales/pa_IN (d_fmt): Likewise.
13053 * localedata/locales/raj_IN (d_fmt): Likewise.
13054 * localedata/locales/sat_IN (d_fmt): Likewise.
13055 * localedata/locales/sd_IN (d_fmt): Likewise.
13056 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
13057 * localedata/locales/ta_IN (d_fmt): Likewise.
13058 * localedata/locales/ta_LK (d_fmt): Likewise.
13059 * localedata/locales/tcy_IN (d_fmt): Likewise.
13060 * localedata/locales/ur_IN (d_fmt): Likewise.
13062 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
13063 * localedata/locales/ks_IN (d_fmt): Likewise.
13064 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
13066 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
13067 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
13068 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
13069 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
13071 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
13073 * NEWS: Mention exp and exp2 improvements.
13074 * math/Makefile (libm-support): Remove t_exp.
13075 (type-double-routines): Add math_err and e_exp_data.
13076 * sysdeps/aarch64/libm-test-ulps: Update.
13077 * sysdeps/arm/libm-test-ulps: Update.
13078 * sysdeps/i386/fpu/e_exp_data.c: New file.
13079 * sysdeps/i386/fpu/math_err.c: New file.
13080 * sysdeps/i386/fpu/t_exp.c: Remove.
13081 * sysdeps/ia64/fpu/e_exp_data.c: New file.
13082 * sysdeps/ia64/fpu/math_err.c: New file.
13083 * sysdeps/ia64/fpu/t_exp.c: Remove.
13084 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
13085 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
13086 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
13087 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
13088 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
13089 * sysdeps/ieee754/dbl-64/math_config.h: New file.
13090 * sysdeps/ieee754/dbl-64/math_err.c: New file.
13091 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
13092 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
13093 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
13094 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
13095 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
13096 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
13097 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
13098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13099 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13101 2018-09-05 Joseph Myers <joseph@codesourcery.com>
13103 * sysdeps/alpha/fpu/math_private.h: Remove.
13105 * sysdeps/generic/math_private.h
13106 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
13107 Move this inline function ....
13108 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
13109 * include/math.h [!_ISOMAC]: To here....
13111 2018-09-04 Joseph Myers <joseph@codesourcery.com>
13113 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
13115 [!FE_HAVE_ROUNDING_MODES]: And this code ....
13116 * include/fenv.h [!_ISOMAC]: ... to here.
13117 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
13118 (feraiseexcept): Likewise.
13119 * math/fromfp.h: Do not include <fenv_private.h>.
13120 * math/s_cexp_template.c: Likewise.
13121 * math/s_csin_template.c: Likewise.
13122 * math/s_csinh_template.c: Likewise.
13123 * math/s_ctan_template.c: Likewise.
13124 * math/s_ctanh_template.c: Likewise.
13125 * math/s_iseqsig_template.c: Likewise.
13126 * math/w_acos_compat.c: Likewise.
13127 * math/w_acosf_compat.c: Likewise.
13128 * math/w_acosl_compat.c: Likewise.
13129 * math/w_asin_compat.c: Likewise.
13130 * math/w_asinf_compat.c: Likewise.
13131 * math/w_asinl_compat.c: Likewise.
13132 * math/w_j0_compat.c: Likewise.
13133 * math/w_j0f_compat.c: Likewise.
13134 * math/w_j0l_compat.c: Likewise.
13135 * math/w_j1_compat.c: Likewise.
13136 * math/w_j1f_compat.c: Likewise.
13137 * math/w_j1l_compat.c: Likewise.
13138 * math/w_jn_compat.c: Likewise.
13139 * math/w_jnf_compat.c: Likewise.
13140 * math/w_log10_compat.c: Likewise.
13141 * math/w_log10f_compat.c: Likewise.
13142 * math/w_log10l_compat.c: Likewise.
13143 * math/w_log2_compat.c: Likewise.
13144 * math/w_log2f_compat.c: Likewise.
13145 * math/w_log2l_compat.c: Likewise.
13146 * math/w_log_compat.c: Likewise.
13147 * math/w_logf_compat.c: Likewise.
13148 * math/w_logl_compat.c: Likewise.
13149 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13150 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13151 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13152 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13153 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13154 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13155 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13156 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13157 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13158 * sysdeps/ieee754/k_standardl.c: Likewise.
13159 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13160 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13161 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13162 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13163 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13164 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13165 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13166 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13167 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13168 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13169 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13170 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13171 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13172 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13173 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13174 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13175 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13176 * math/w_ilogb_template.c: Include <fenv.h> instead of
13178 * math/w_llogb_template.c: Likewise.
13179 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13180 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13182 2018-09-03 Joseph Myers <joseph@codesourcery.com>
13184 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
13185 * math/fromfp.h: Include <fenv_private.h>.
13186 * math/math-narrow.h: Likewise.
13187 * math/s_cexp_template.c: Likewise.
13188 * math/s_csin_template.c: Likewise.
13189 * math/s_csinh_template.c: Likewise.
13190 * math/s_ctan_template.c: Likewise.
13191 * math/s_ctanh_template.c: Likewise.
13192 * math/s_iseqsig_template.c: Likewise.
13193 * math/w_acos_compat.c: Likewise.
13194 * math/w_acosf_compat.c: Likewise.
13195 * math/w_acosl_compat.c: Likewise.
13196 * math/w_asin_compat.c: Likewise.
13197 * math/w_asinf_compat.c: Likewise.
13198 * math/w_asinl_compat.c: Likewise.
13199 * math/w_ilogb_template.c: Likewise.
13200 * math/w_j0_compat.c: Likewise.
13201 * math/w_j0f_compat.c: Likewise.
13202 * math/w_j0l_compat.c: Likewise.
13203 * math/w_j1_compat.c: Likewise.
13204 * math/w_j1f_compat.c: Likewise.
13205 * math/w_j1l_compat.c: Likewise.
13206 * math/w_jn_compat.c: Likewise.
13207 * math/w_jnf_compat.c: Likewise.
13208 * math/w_llogb_template.c: Likewise.
13209 * math/w_log10_compat.c: Likewise.
13210 * math/w_log10f_compat.c: Likewise.
13211 * math/w_log10l_compat.c: Likewise.
13212 * math/w_log2_compat.c: Likewise.
13213 * math/w_log2f_compat.c: Likewise.
13214 * math/w_log2l_compat.c: Likewise.
13215 * math/w_log_compat.c: Likewise.
13216 * math/w_logf_compat.c: Likewise.
13217 * math/w_logl_compat.c: Likewise.
13218 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
13219 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
13220 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
13221 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
13222 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13223 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13224 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13225 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13226 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13227 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13228 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13229 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13230 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
13231 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13232 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13233 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13234 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13235 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13236 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13237 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13238 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13239 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13240 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13241 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13242 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13243 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13244 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13245 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13246 * sysdeps/ieee754/float128/float128_private.h: Likewise.
13247 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13248 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13249 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13250 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13251 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13252 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13253 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13254 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13255 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13256 * sysdeps/ieee754/k_standardl.c: Likewise.
13257 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13258 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13259 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13260 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13261 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13262 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13263 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13264 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13265 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13266 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13267 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13268 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13269 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13270 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13271 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13272 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13273 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13274 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13275 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13276 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13277 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13278 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13279 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13280 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13281 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13282 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13283 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13284 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13285 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13286 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13287 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13288 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13289 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13290 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13291 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13292 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13293 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13294 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13295 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
13296 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13297 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
13298 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
13299 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
13300 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13301 * sysdeps/riscv/rvd/s_finite.c: Likewise.
13302 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
13303 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
13304 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
13305 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
13306 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
13307 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
13308 * sysdeps/riscv/rvf/fegetround.c: Likewise.
13309 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
13310 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
13311 * sysdeps/riscv/rvf/fesetround.c: Likewise.
13312 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
13313 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
13314 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
13315 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13316 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
13317 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13318 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
13319 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
13320 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
13321 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
13322 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
13323 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
13324 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
13325 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
13326 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
13327 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13329 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13332 * include/stdio.h (__libc_fatal): Mention newline in comment.
13333 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
13334 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
13335 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13336 * nss/nsswitch.c (__nss_next2): Likewise.
13337 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
13338 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
13339 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
13340 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13341 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
13342 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
13343 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
13344 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
13345 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
13346 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
13347 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
13348 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13349 (__netlink_assert_response): Likewise.
13351 2018-08-31 Joseph Myers <joseph@codesourcery.com>
13353 * conform/glibcconform.py: New file.
13354 * conform/list-header-symbols.py: Likewise.
13355 * conform/list-header-symbols.pl: Remove.
13356 * conform/Makefile (tests-special): Only add linknamespace tests
13358 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
13360 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
13363 * support/Makefile (libsupport-routines): Add
13364 support_copy_file_range and xcopy_file_range.
13365 * support/support.h: Include <sys/types.h>.
13366 (support_copy_file_range): New prototype.
13367 * support/support_copy_file_range.c: New file. Copied and
13368 modified from io/copy_file_range-compat.c.
13369 * support/test-container.c (copy_one_file): Call xcopy_file_rang
13370 instead of copy_file_range.
13371 * support/xcopy_file_range.c: New file.
13372 * support/xunistd.h (xcopy_file_range): New prototype.
13374 2018-08-30 Carlos O'Donell <carlos@redhat.com>
13376 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
13377 xpthread_create and xpthread_join.
13379 2018-08-30 Florian Weimer <fweimer@redhat.com>
13381 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
13383 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
13385 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
13388 2018-08-29 Joseph Myers <joseph@codesourcery.com>
13390 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
13391 and minus_oflow as non-finite.
13393 2018-08-28 Joseph Myers <joseph@codesourcery.com>
13395 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
13396 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
13397 moved to fenv_private.h except for ...
13398 (TOINT_INTRINSICS): Kept in math_private.h.
13399 (roundtoint): Likewise.
13400 (converttoint): Likewise.
13401 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
13402 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13403 * sysdeps/arm/math_private.h: Remove.
13404 * sysdeps/generic/fenv_private.h: New file. Contents moved from
13406 * sysdeps/generic/math_private.h: ... this file. Include
13407 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
13408 Include <fenv_private.h>. Remove functions and macros moved to
13410 * sysdeps/i386/fpu/math_private.h: Remove.
13411 * sysdeps/mips/math_private.h: Move to ....
13412 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
13413 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
13414 [__mips_hard_float] conditional. Include next <fenv_private.h>.
13415 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
13416 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13417 * sysdeps/powerpc/fpu/math_private.h: Do not include
13419 * sysdeps/riscv/rvf/math_private.h: Move to ....
13420 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
13421 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
13423 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
13424 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13425 * sysdeps/sparc/fpu/math_private.h: Remove.
13426 * sysdeps/i386/fpu/fenv_private.h: Move to ....
13427 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
13428 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
13430 * sysdeps/x86_64/fpu/math_private.h: Do not include
13431 <sysdeps/i386/fpu/fenv_private.h>.
13433 2018-08-28 Florian Weimer <fweimer@redhat.com>
13436 * posix/tst-regcomp-truncated.c: New file.
13437 * posix/Makefile (tests): Add it.
13438 (tst-regcomp-truncated.out): Depend on generated locales.
13440 2018-08-28 Florian Weimer <fweimer@redhat.com>
13442 * support/test-container.c (main): Treat unshare failure with
13443 EPERM as an unsupported test.
13445 2018-08-28 Florian Weimer <fweimer@redhat.com>
13448 nscd: Fix use-after-free in addgetnetgrentX and its callers.
13449 * nscd/netgroupcache.c
13450 (addgetnetgrentX): Add tofreep parameter. Do not free
13451 heap-allocated buffer.
13452 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
13453 (addgetnetgrentX_ignore): New function.
13454 (addgetnetgrent): Call it.
13455 (readdgetnetgrent): Likewise.
13457 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13459 * string/memmem.c: Use memcmp for first match.
13461 2018-08-28 Rafał Lużyński <digitalfreak@lingonborough.com>
13464 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
13466 2018-08-27 DJ Delorie <dj@redhat.com>
13468 * support/Makefile (others): Don't list programs explicitly as a
13469 dependency of "others".
13471 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13473 * sysdeps/generic/math-tests-trap-force.h: New file.
13474 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
13475 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
13476 * sysdeps/powerpc/math-tests.h: Remove file.
13477 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
13479 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
13480 Torvald Riegel <triegel@redhat.com>
13483 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
13484 Update r to include the set wake-request flag if waiters are
13485 remaining after spinning.
13487 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13489 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
13491 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
13494 regex: fix uninitialized memory access
13495 I introduced this bug into gnulib in commit
13496 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
13497 eventually it was merged into glibc. The bug was found by
13498 project-repo <bugs@feusi.co> and reported here:
13499 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
13500 Diagnosis and draft fix reported by Assaf Gordon here:
13501 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
13502 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
13503 * posix/regex_internal.c (build_wcs_upper_buffer):
13504 Fix bug when mbrtowc returns 0.
13506 2018-08-24 Carlos O'Donell <carlos@redhat.com>
13508 * po/be.po: Update translation.
13510 2018-08-24 DJ Delorie <dj@delorie.com>
13512 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
13515 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13518 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
13519 create temporary files in source tree.
13521 2018-08-24 Joseph Myers <joseph@codesourcery.com>
13523 * sysdeps/generic/math-tests-trap.h: New file.
13524 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
13525 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
13526 * sysdeps/aarch64/math-tests.h: Remove file.
13527 * sysdeps/arm/math-tests.h: Likewise.
13528 * sysdeps/riscv/math-tests.h: Likewise.
13529 * sysdeps/aarch64/math-tests-trap.h: New file.
13530 * sysdeps/arm/math-tests-trap.h: Likewise.
13531 * sysdeps/riscv/math-tests-trap.h: Likewise.
13533 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13535 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
13536 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
13537 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
13538 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
13539 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
13540 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
13541 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13542 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
13543 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
13544 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13545 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13546 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13547 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13548 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
13549 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
13550 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
13551 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13552 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13554 2018-08-23 Joseph Myers <joseph@codesourcery.com>
13556 * sysdeps/generic/math-tests-exceptions.h: New file.
13557 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
13558 (EXCEPTION_TESTS_float): Do not define here.
13559 (EXCEPTION_TESTS_double): Likewise.
13560 (EXCEPTION_TESTS_long_double): Likewise.
13561 (EXCEPTION_TESTS_float128): Likewise.
13562 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
13564 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
13565 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
13566 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
13567 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
13568 * sysdeps/mips/math-tests.h: Likewise.
13569 * sysdeps/nios2/math-tests.h: Likewise.
13570 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13571 (EXCEPTION_TESTS_float): Do not define here.
13572 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
13573 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
13574 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
13576 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13578 * NEWS: Move optimized sinf entry to 2.29.
13580 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13582 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
13584 2018-08-22 DJ Delorie <dj@redhat.com>
13586 * Makefile (testroot.pristine): New rules to initialize the
13587 test-in-container "testroot".
13588 * Makerules (all-testsuite): Add tests-container.
13589 * Rules (tests-expected): Add tests-container.
13590 (binaries-all-tests): Likewise.
13591 (tests-container): New, run these tests in the testroot container.
13592 * support/Makefile (others): Add *-container, support_paths.c,
13593 xmkdirp, and links-dso-program.
13594 * support/links-dso-program-c.c: New.
13595 * support/links-dso-program.cc: New.
13596 * support/test-container.c: New.
13597 * support/shell-container.c: New.
13598 * support/echo-container.c: New.
13599 * support/true-container.c: New.
13600 * support/xmkdirp.c: New.
13601 * support/xsymlink.c: New.
13602 * support/support_paths.c: New.
13603 * support/support.h: Add support paths prototypes.
13604 * support/xunistd.h: Add xmkdirp () and xsymlink ().
13606 * nss/tst-nss-test3.c: Convert to test-in-container.
13607 * nss/tst-nss-test3.root/: New.
13609 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
13611 regex: port Gnulib code to z/OS POSIX environment
13612 Problem reported by Arnold Robbins in:
13613 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
13614 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
13617 2018-08-22 Joseph Myers <joseph@codesourcery.com>
13619 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
13620 (ROUNDING_TESTS_double): Remove.
13621 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
13622 (ROUNDING_TESTS_double): Remove.
13623 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
13624 (ROUNDING_TESTS_double): Remove.
13625 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
13626 (ROUNDING_TESTS_float): Remove.
13627 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
13628 (ROUNDING_TESTS_float): Remove.
13629 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
13630 (ROUNDING_TESTS_float): Remove.
13631 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
13632 !TEST_MATHVEC here.
13633 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13634 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13636 * sysdeps/generic/math-tests-rounding.h: New file.
13637 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
13638 (ROUNDING_TESTS_float): Do not define here.
13639 (ROUNDING_TESTS_double): Likewise.
13640 (ROUNDING_TESTS_long_double): Likewise.
13641 (ROUNDING_TESTS_float128): Likewise.
13642 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
13643 (ROUNDING_TESTS_double): Undefine before defining.
13644 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
13645 (ROUNDING_TESTS_double): Undefine before defining.
13646 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
13647 (ROUNDING_TESTS_double): Undefine before defining.
13648 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
13649 (ROUNDING_TESTS_float): Undefine before defining.
13650 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
13651 (ROUNDING_TESTS_float): Undefine before defining.
13652 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
13653 (ROUNDING_TESTS_float): Undefine before defining.
13654 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
13655 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
13657 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
13658 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
13659 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
13660 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13661 (ROUNDING_TESTS_float): Do not define here.
13662 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
13663 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
13664 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
13665 (ROUNDING_TESTS_float): Likewise.
13666 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
13667 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
13668 * sysdeps/mips/math-tests.h [__mips_soft_float]
13669 (ROUNDING_TESTS_float): Likewise.
13670 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
13671 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
13672 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
13673 (ROUNDING_TESTS_double): Likewise.
13674 (ROUNDING_TESTS_long_double): Likewise.
13676 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
13678 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
13679 (PF_XDP): New macro.
13680 (AF_XDP): New macro.
13681 (SOL_XDP): New macro.
13683 2018-08-21 Joseph Myers <joseph@codesourcery.com>
13685 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
13686 (TCP_INQ): Likewise.
13687 (TCP_CM_INQ): Likewise.
13688 (TCP_REPAIR_ON): Likewise.
13689 (TCP_REPAIR_OFF): Likewise.
13690 (TCP_REPAIR_OFF_NO_WP): Likewise.
13691 (struct tcp_zerocopy_receive): New type.
13693 2018-08-21 Florian Weimer <fweimer@redhat.com>
13695 * support/support.h (support_descriptor_supports_holes): Declare.
13696 * support/Makefile (libsupport-routines): Add
13697 support_descriptor_supports_holes.
13698 * support/support_descriptor_supports_holes.c: New file.
13699 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
13700 and stop testing if holes are not supported.
13701 * io/test-lfs.c (do_prepare): Likewise.
13702 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
13704 * timezone/tst-tzset.c (create_tz_file): Likewise.
13705 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
13707 (do_prepare): Set it.
13708 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
13710 2018-08-21 Florian Weimer <fweimer@redhat.com>
13713 * Makeconfig (+cflags): Do not sort (and deduplicate).
13715 2018-08-21 Florian Weimer <fweimer@redhat.com>
13717 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
13718 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
13720 2018-08-20 Florian Weimer <fweimer@redhat.com>
13722 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
13723 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
13725 2018-08-20 Joseph Myers <joseph@codesourcery.com>
13727 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
13728 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
13729 and ssi_arch members.
13731 * elf/elf.c (NT_VMCOREDD): New macro.
13732 (AT_MINSIGSTKSZ): Likewise.
13734 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13736 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13737 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
13738 s_cosf-ppc64 and s_cosf-power8.
13739 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
13740 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13741 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13742 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
13744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
13745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
13746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
13747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13749 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
13750 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13752 2018-08-17 Florian Weimer <fweimer@redhat.com>
13754 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13756 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
13758 * malloc/malloc.c (_int_malloc): Additional binning code checks.
13760 2018-08-16 Florian Weimer <fweimer@redhat.com>
13762 * configure.ac: Add --with-nonshared-cflags option.
13763 * config.make.in (extra-nonshared-cflags): Set variable.
13764 * Makeconfig (CFLAGS-.oS): Use it.
13765 * manual/install.texi (Configuring and compiling): Document
13766 --with-nonshared-cflags.
13767 * configure: Regenerate.
13768 * INSTALL: Likewise.
13770 2018-08-16 Florian Weimer <fweimer@redhat.com>
13772 * Makeconfig (ASFLAGS): Always append required assembler flags.
13774 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
13776 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
13777 (malloc_consolidate): Likewise.
13779 2018-08-16 Pochang Chen <johnchen902@gmail.com>
13781 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
13783 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
13785 * benchtests/bench-strlen.c (do_test): Allocate buffers before
13788 * benchtests/bench-strlen.c: Print performance numbers in json.
13790 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13792 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13793 (sysdep_routines): Build strcmp-power9 and strncmp-power9
13794 only for little endian.
13795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13796 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
13797 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
13798 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
13799 Add check for little endian.
13800 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13801 (__strcmp_power9): Add check for little endian.
13802 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
13803 Add check for little endian.
13804 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13805 (__strncmp_power9): Add check for little endian.
13806 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
13807 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
13808 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
13809 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
13810 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
13812 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13814 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
13815 [!STRLEN](STRLEN): Set to __strlen.
13816 * sysdeps/aarch64/multiarch/strlen.c: New file.
13817 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
13818 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
13819 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
13820 (__libc_ifunc_impl_list): Add strlen.
13821 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13822 strlen_generic and strlen_asimd.
13824 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13826 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
13827 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
13828 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13830 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13832 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
13834 2018-08-14 Florian Weimer <fweimer@redhat.com>
13837 * include/stdio.h (__vfxprintf): Declare.
13838 * stdio-common/fxprintf.c (__vfxprintf): New function.
13839 (__fxprintf): Call it.
13840 * misc/err.c (convert_and_print): Remove function.
13841 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
13842 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
13843 * misc/Makefile (tests): Add tst-warn-wide.
13844 * misc/tst-warn-wide.c: New file.
13846 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
13847 Szabolcs Nagy <szabolcs.nagy@arm.com>
13849 * NEWS: Mention sinf, cosf, sincosf.
13850 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
13851 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
13852 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
13853 constants rather than including generic sincosf.h.
13854 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
13855 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
13856 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
13857 (reduced_cos): Remove.
13858 (sinf_poly): New function.
13859 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
13861 2018-08-14 Florian Weimer <fweimer@redhat.com>
13865 * nss/nss_files/files-alias.c (get_next_alias): During :include:
13866 processing, bail out if no room, and close the stream before
13868 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
13869 (tst-nss-files-alias-leak): Link with libdl.
13870 (tst-nss-files-alias-leak.out): Depend on nss_files.
13872 * nss/tst-nss-files-alias-leak.c: New file.
13874 2018-08-14 Florian Weimer <fweimer@redhat.com>
13876 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
13877 server_user, stat_user.
13879 2018-08-13 Joseph Myers <joseph@codesourcery.com>
13881 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13883 (io_pgetevents): New syscall.
13886 * manual/install.texi (Configuring and compiling): Do not list
13887 tools used for testing pretty printers here.
13888 (Tools for Compilation): List Python, PExpect and GDB here.
13889 Update descriptions of uses of Perl and Python.
13890 * INSTALL: Regenerate.
13892 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13895 2018-08-13 Florian Weimer <fweimer@redhat.com>
13897 * misc/error.c (error): Add missing va_end call.
13898 (error_at_line): Likewise.
13900 2018-08-13 Florian Weimer <fweimer@redhat.com>
13902 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
13904 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13906 * benchtests/scripts/benchout.schema.json (properties): Add
13909 * benchtests/bench-skeleton.c (main): Add duration and
13910 iterations attributes.
13912 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
13914 regex: Gnulib unibyte RRI uses bytes not chars
13915 Adjust the non-glibc code to agree with what Gawk needs for
13916 rational range interpretation (RRI) for regular expression ranges.
13917 In unibyte locales, Gawk wants ranges to use the underlying byte
13918 rather than the character code point. This change does not affect
13920 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
13921 In unibyte locales, use the byte value rather than
13922 running it through btowc.
13924 2018-08-10 Joseph Myers <joseph@codesourcery.com>
13926 * sysdeps/generic/math-tests-snan.h: New file.
13927 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
13928 (SNAN_TESTS_float): Do not define here.
13929 (SNAN_TESTS_double): Likewise.
13930 (SNAN_TESTS_long_double): Likewise.
13931 (SNAN_TESTS_float128): Likewise.
13932 * sysdeps/i386/fpu/math-tests-snan.h: New file.
13933 * sysdeps/i386/fpu/math-tests.h: Remove file.
13934 * sysdeps/ia64/math-tests-snan.h: New file.
13935 * sysdeps/ia64/math-tests.h: Remove file.
13936 * sysdeps/x86/math-tests.h: Likewise.
13937 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
13939 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13940 Szabolcs Nagy <szabolcs.nagy@arm.com>
13942 * math/Makefile: Add s_sincosf_data.c.
13943 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
13944 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
13945 (sincosf_poly): Likewise.
13946 (reduce_small): Likewise.
13947 (reduce_large): Likewise.
13948 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
13949 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
13950 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
13951 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
13953 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13954 Szabolcs Nagy <szabolcs.nagy@arm.com>
13956 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
13957 (converttoint): Use lround.
13958 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
13959 document the semantics when TOINT_INTRINSICS is set.
13960 (converttoint): Likewise.
13961 (TOINT_RINT): Remove.
13962 (TOINT_SHIFT): Remove.
13963 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
13966 2018-08-10 Florian Weimer <fweimer@redhat.com>
13969 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
13971 (__old_getdents64): Use getdents64. Convert entries without
13973 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
13974 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
13975 tst-readdir64-compat.
13977 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13979 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
13982 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13984 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
13985 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
13986 code to s390x-mcount.h and #include it.
13987 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
13988 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13991 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13993 * stdlib/Versions: Remove __fentry__.
13994 * sysdeps/i386/Versions: Add __fentry__.
13995 * sysdeps/x86_64/Versions: Add __fentry__.
13997 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13999 * sysdeps/s390/Makefile: Register the new tests.
14000 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
14001 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
14002 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
14003 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
14004 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
14005 * sysdeps/s390/tst-dl-runtime.c: New file.
14007 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14009 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14012 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14014 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14017 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14019 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14022 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14024 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14027 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14029 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14030 Use symbolic offsets for stack variables.
14032 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14034 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14035 Use symbolic offsets for stack variables.
14037 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14039 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14040 Use symbolic offsets for stack variables.
14042 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14044 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14045 Use symbolic offsets for stack variables.
14047 2018-08-09 Joseph Myers <joseph@codesourcery.com>
14049 * math/gen-libm-test.py: New file.
14050 * math/gen-libm-test.pl: Remove.
14051 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
14052 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
14054 ($(libm-test-c-noauto-obj)): Likewise.
14055 ($(libm-test-c-auto-obj)): Likewise.
14056 ($(libm-test-c-narrow-obj)): Likewise.
14057 (regen-ulps): Likewise.
14058 * math/README.libm-test: Update references to gen-libm-test.pl.
14059 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
14060 referencing gen-libm-test.pl.
14061 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
14062 * math/libm-test-support.c: Likewise.
14063 * math/libm-test-support.h: Likewise.
14064 * sysdeps/generic/libm-test-ulps: Likewise.
14066 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
14068 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
14071 2018-08-08 Joseph Myers <joseph@codesourcery.com>
14073 * math/libm-test-nextdown.inc (do_test): Move comment to ....
14074 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
14076 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
14078 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
14080 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
14081 __pthread_setspecific): Add hidden proto.
14082 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
14083 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
14085 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14087 * benchtests/bench-string.h (buf1_size, buf2_size): New
14089 (init_sizes): New function.
14090 (test_init): Use it.
14091 (alloc_buf, exit_error): New functions.
14092 (alloc_bufs): Use ALLOC_BUF.
14093 (realloc_bufs): Remove.
14094 * benchtests/bench-memcmp.c (do_test): Adjust.
14095 * benchtests/bench-memset-large.c (do_test): Likewise.
14096 * benchtests/bench-memset-walk.c (do_test): Likewise.
14097 * benchtests/bench-memset.c (do_test): Likewise.
14098 * benchtests/bench-strncmp.c (do_test): Likewise.
14100 2018-08-06 Andreas Schwab <schwab@suse.de>
14102 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
14103 of CONST_THREAD_AREA.
14105 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
14107 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
14108 (STATE_SAVE_MASK): Likewise.
14109 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
14110 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
14111 (STATE_SAVE_MASK): Likewise.
14112 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
14113 instead of <cpu-features.h>.
14115 2018-08-03 DJ Delorie <dj@redhat.com>
14117 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
14118 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
14120 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
14122 2018-08-03 Joseph Myers <joseph@codesourcery.com>
14124 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
14125 after TEST_* calls.
14126 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
14127 * math/libm-test-logb.inc (logb_test_data): Likewise.
14129 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
14131 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
14132 * string/strstr.c (AVAILABLE): Likewise.
14134 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14136 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
14138 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
14139 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
14140 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
14142 2018-08-03 Carlos O'Donell <carlos@redhat.com>
14144 * po/be.po: Update translation.
14146 * po/be.po: Update translation.
14148 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14150 * sysdeps/x86/cpu-features-offsets.sym
14151 (rtld_global_ro_offsetof): Removed.
14152 (CPU_FEATURES_SIZE): Likewise.
14153 (CPUID_OFFSET): Likewise.
14154 (CPUID_SIZE): Likewise.
14155 (CPUID_EAX_OFFSET): Likewise.
14156 (CPUID_EBX_OFFSET): Likewise.
14157 (CPUID_ECX_OFFSET): Likewise.
14158 (CPUID_EDX_OFFSET): Likewise.
14159 (FAMILY_OFFSET): Likewise.
14160 (MODEL_OFFSET): Likewise.
14161 (FEATURE_OFFSET): Likewise.
14162 (FEATURE_SIZ): Likewise.
14163 (COMMON_CPUID_INDEX_1): Likewise.
14164 (COMMON_CPUID_INDEX_7): Likewise.
14165 (FEATURE_INDEX_1): Likewise.
14166 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
14168 2018-08-02 Carlos O'Donell <carlos@redhat.com>
14170 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
14171 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
14172 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
14173 (install-locales): Depend on install-locale-archive.
14174 (install-locale-archive): Define.
14175 (install-locale-files): Define.
14176 (build-one-locale): Define macro.
14177 * manual/install.texi (Running make install): Document.
14178 * manual/INSTALL: Regenerate.
14180 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14182 * benchtests/scripts/compare_strings.py: Import traceback.
14183 (parse_file): Pretty-print error.
14185 * NEWS: Mention the change.
14186 * elf/dl-tunables.list: Rename tune namespace to cpu.
14187 * sysdeps/powerpc/dl-tunables.list: Likewise.
14188 * sysdeps/x86/dl-tunables.list: Likewise.
14189 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
14191 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
14192 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
14193 * manual/README.tunables: Likewise.
14194 * manual/tunables.texi: Likewise.
14195 * sysdeps/powerpc/cpu-features.c: Likewise.
14196 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
14197 (init_cpu_features): Likewise.
14198 * sysdeps/x86/cpu-features.c: Likewise.
14199 * sysdeps/x86/cpu-features.h: Likewise.
14200 * sysdeps/x86/cpu-tunables.c: Likewise.
14201 * sysdeps/x86_64/Makefile: Likewise.
14202 * sysdeps/x86/dl-cet.c: Likewise.
14204 2018-08-02 Joseph Myers <joseph@codesourcery.com>
14207 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
14208 [__mips_hard_float].
14209 (FE_UNDERFLOW): Likewise.
14210 (FE_OVERFLOW): Likewise.
14211 (FE_DIVBYZERO): Likewise.
14212 (FE_INVALID): Likewise.
14213 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
14214 (FE_TOWARDZERO): Define only if [__mips_hard_float].
14215 (FE_UPWARD): Likewise.
14216 (FE_DOWNWARD): Likewise.
14217 (__FE_UNDEFINED): Define if [!__mips_hard_float]
14218 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
14219 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
14220 [__mips_hard_float].
14221 (FP_ROUNDMODE): Likewise.
14222 (FP_RND_NEAREST): Likewise.
14223 (FP_RND_ZERO): Likewise.
14224 (FP_RND_PINF): Likewise.
14225 (FP_RND_MINF): Likewise.
14226 (FP_EX_INVALID): Likewise.
14227 (FP_EX_OVERFLOW): Likewise.
14228 (FP_EX_UNDERFLOW): Likewise.
14229 (FP_EX_DIVZERO): Likewise.
14230 (FP_EX_INEXACT): Likewise.
14231 (FP_INIT_ROUNDMODE): Likewise.
14232 * sysdeps/mips/nofpu/fesetenv.c: New file.
14233 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
14235 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14237 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
14238 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
14239 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
14240 conditional on [FE_UPWARD].
14242 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
14244 regex: fix memory leak in Gnulib
14245 Problem and fix reported by Assaf Gordon in:
14246 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
14247 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
14248 range_ends members too, as they are defined in 'struct
14249 re_charset_t' even if not _LIBC. This affects only Gnulib.
14251 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
14253 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
14255 (get_common_indices): This.
14256 (init_cpu_features): Updated.
14258 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14260 * sysdeps/generic/math-tests-snan-payload.h: New file.
14261 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
14262 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
14263 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
14264 * sysdeps/generic/math-tests.h: Include
14265 <math-tests-snan-payload.h>.
14266 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14267 * sysdeps/hppa/math-tests.h: Remove file.
14268 * sysdeps/mips/math-tests.h [!__mips_nan2008]
14269 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14270 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
14273 * sysdeps/generic/math-tests-snan-cast.h: New file.
14274 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
14275 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
14276 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
14277 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
14279 2018-08-01 Carlos O'Donell <carlos@redhat.com>
14281 * version.h (RELEASE): Set to "development".
14282 (VERSION): Set to "2.28.9000".
14283 * NEWS (2.29): New section.
14285 * version.h (RELEASE): Set to "stable".
14286 (VERSION): Set to "2.28".
14287 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
14288 * NEWS: Add the list of bugs fixed in 2.28.
14290 * po/ca.po: Update to latest version.
14291 * po/cs.po: Likewise
14292 * po/da.po: Likewise
14293 * po/el.po: Likewise
14294 * po/eo.po: Likewise
14295 * po/es.po: Likewise
14296 * po/fi.po: Likewise
14297 * po/fr.po: Likewise
14298 * po/gl.po: Likewise
14299 * po/hu.po: Likewise
14300 * po/ia.po: Likewise
14301 * po/id.po: Likewise
14302 * po/it.po: Likewise
14303 * po/ja.po: Likewise
14304 * po/ko.po: Likewise
14305 * po/lt.po: Likewise
14306 * po/nb.po: Likewise
14307 * po/nl.po: Likewise
14308 * po/pt_BR.po: Likewise
14309 * po/ru.po: Likewise
14310 * po/rw.po: Likewise
14311 * po/sk.po: Likewise
14312 * po/sl.po: Likewise
14313 * po/tr.po: Likewise
14314 * po/zh_CN.po: Likewise
14315 * po/zh_TW.po: Likewise
14317 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14319 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
14321 (init): ... before initializing libpthread.
14323 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
14324 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
14325 (__mach_setup_tls): ... new function.
14326 (mach_setup_tls): New alias.
14327 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
14328 __mach_setup_thread.
14329 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
14330 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
14331 * mach/Versions [libc] (mach_setup_tls): Add symbol.
14332 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
14334 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14336 * manual/install.texi: Update versions.
14337 * INSTALL: Regenerate.
14339 * manual/contrib.texi (Contributors): Update contributions.
14341 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14343 * po/be.po: Update translations.
14345 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14347 * sysdeps/sh/libm-test-ulps: Update.
14349 2018-07-30 Carlos O'Donell <carlos@redhat.com>
14351 * po/bg.po: Update translations.
14352 * po/de.po: Likewise.
14353 * po/hr.po: Likewise.
14354 * po/pt_BR.po: Likewise.
14355 * po/sv.po: Likewise.
14356 * po/vi.po: Likewise.
14358 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14361 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14362 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
14363 (CFLAGS-tst-cet-property-1.o): New.
14364 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
14365 ($(objpfx)tst-cet-property-2): Likewise.
14366 ($(objpfx)tst-cet-property-2.out): Likewise.
14367 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
14368 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
14369 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
14370 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
14371 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
14373 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14376 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
14378 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
14380 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
14381 __sbrk): Do not set attribute_hidden.
14382 * sysdeps/mach/hurd/not-errno.h: New file.
14383 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14384 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
14386 2018-07-27 Carlos O'Donell <carlos@redhat.com>
14388 * po/uk.po: Update translations.
14389 * po/cs.po: Likewise.
14390 * po/pl.po: Likewise.
14392 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
14394 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
14395 parse beyond the note end.
14397 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14399 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
14400 kernel does not support OFD locks.
14401 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
14403 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14405 * sysdeps/mach/hurd/Versions (libc): Make __access and
14406 __access_noerrno external so they can override the ld symbols.
14407 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
14408 __writev, __open64, __access_noerrno extern so they can be overrided.
14409 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
14410 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14412 2018-07-26 Carlos O'Donell <carlos@redhat.com>
14414 * po/libc.pot: Regenerate.
14416 2018-07-26 Joseph Myers <joseph@codesourcery.com>
14418 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14420 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14423 * sysdeps/x86/cpu-features.c (get_extended_indices): New
14425 (init_cpu_features): Call get_extended_indices for both Intel
14427 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
14428 Remove "for AMD" comment.
14430 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14433 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
14434 COMMON_CPUID_INDEX_80000001.
14436 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
14438 * string/tst-xbzero-opt.c (use_test_buffer): New function.
14439 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
14441 2018-07-26 Florian Weimer <fweimer@redhat.com>
14443 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
14444 aliases for symbols not in the implementation namespace.
14446 2018-07-25 Carlos O'Donell <carlos@redhat.com>
14449 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
14450 lowercase in LATIN script.
14451 * localedata/Makefile (test-input): Add en_US.UTF-8.
14452 * localedata/en_US.UTF-8.in: New file.
14453 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
14454 and restore old tests.
14455 * posix/tst-regexloc.c (do_test): Add back range expression test.
14457 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14459 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
14461 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14463 * nptl/threads.h: Move to ...
14464 * sysdeps/nptl/threads.h: ... here.
14465 * sysdeps/hurd/stdc-predef.h: New file.
14467 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14469 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14470 tst-cet-setcontext-1 if CET is enabled.
14471 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
14472 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
14474 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14476 * include/threads.h: Move to ...
14477 * sysdeps/nptl/threads.h: ... here.
14478 * sysdeps/htl/threads.h: New file.
14479 * conform/Makefile (linknamespace-libs-ISO11): Use
14480 static-thread-library instead of linking libpthread.
14481 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
14483 2018-07-25 Florian Weimer <fweimer@redhat.com>
14485 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
14486 nanoseconds into seconds.
14487 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
14488 (do_test): Likewise.
14489 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
14490 (do_test): Likewise. Avoid nanosecond overflow and spurious
14491 timeouts due to system load.
14492 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
14493 (child_wait): Increment it.
14494 (do_test): Wait as long as necessary until all expected threads
14497 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
14498 H.J. Lu <hongjiu.lu@intel.com>
14500 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
14502 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
14503 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
14504 (__push___start_context): New.
14505 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
14507 (__getcontext): Record the current shadow stack base. Save the
14508 caller's shadow stack pointer and base.
14509 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
14510 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
14511 (__push___start_context): New prototype.
14512 (__makecontext): Call __push___start_context to allocate a new
14513 shadow stack, push __start_context onto the new stack as well
14514 as the new shadow stack.
14515 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
14517 (__setcontext): Restore the target shadow stack.
14518 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
14520 (__swapcontext): Record the current shadow stack base. Save
14521 the caller's shadow stack pointer and base. Restore the target
14523 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14524 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
14525 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
14527 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14529 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
14530 tst-setcontext8 and tst-setcontext9.
14531 * stdlib/tst-setcontext6.c: New file.
14532 * stdlib/tst-setcontext7.c: Likewise.
14533 * stdlib/tst-setcontext8.c: Likewise.
14534 * stdlib/tst-setcontext9.c: Likewise.
14536 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14538 * stdlib/Makefile ((tests): Add tst-setcontext5.
14539 * stdlib/tst-setcontext5.c: New file.
14541 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14543 * stdlib/Makefile (tests): Add tst-setcontext4.
14544 * stdlib/tst-setcontext4.c: New file.
14546 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14548 * stdlib/Makefile (tests): Add tst-swapcontext1.
14549 * stdlib/tst-swapcontext1.c: New test.
14551 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14553 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
14554 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
14555 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
14556 and tst-cet-legacy-4c.
14557 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
14558 and tst-cet-legacy-mod-4.
14559 (CFLAGS-tst-cet-legacy-2.c): New.
14560 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
14561 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
14562 (CFLAGS-tst-cet-legacy-3.c): Likewise.
14563 (CFLAGS-tst-cet-legacy-4.c): Likewise.
14564 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
14565 ($(objpfx)tst-cet-legacy-1): Likewise.
14566 ($(objpfx)tst-cet-legacy-2): Likewise.
14567 ($(objpfx)tst-cet-legacy-2.out): Likewise.
14568 ($(objpfx)tst-cet-legacy-2a): Likewise.
14569 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
14570 ($(objpfx)tst-cet-legacy-4): Likewise.
14571 ($(objpfx)tst-cet-legacy-4.out): Likewise.
14572 ($(objpfx)tst-cet-legacy-4a): Likewise.
14573 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
14574 (tst-cet-legacy-4a-ENV): Likewise.
14575 ($(objpfx)tst-cet-legacy-4b): Likewise.
14576 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
14577 (tst-cet-legacy-4b-ENV): Likewise.
14578 ($(objpfx)tst-cet-legacy-4c): Likewise.
14579 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
14580 (tst-cet-legacy-4c-ENV): Likewise.
14581 * sysdeps/x86/tst-cet-legacy-1.c: New file.
14582 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
14583 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
14584 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
14585 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
14586 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
14587 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
14588 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
14589 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
14590 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
14591 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
14593 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14595 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14596 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14598 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14599 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14602 2018-07-25 Andreas Schwab <schwab@suse.de>
14605 * locale/weightwc.h (findidx): Handle the case where usrc is a
14606 prefix of cp but one character too short.
14608 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14610 * NEWS: Add ISO C threads addition.
14612 2018-07-24 Florian Weimer <fweimer@redhat.com>
14614 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14615 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
14616 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
14619 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14621 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
14622 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
14623 <sys/prctl.h> and <asm/prctl.h>.
14624 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
14625 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
14627 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
14628 ARCH_CET_LEGACY_BITMAP.
14629 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
14630 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
14631 * sysdeps/x86/libc-start.c: Include <startup.h>.
14633 2018-07-24 Florian Weimer <fweimer@redhat.com>
14635 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
14636 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
14638 2018-07-24 Rical Jasan <rj@2c3t.io>
14639 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14640 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14643 * manual/debug.texi: Update adjacent chapter name.
14644 * manual/probes.texi: Likewise.
14645 * manual/threads.texi (ISO C Threads): New section.
14646 (POSIX Threads): Convert to a section.
14648 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14649 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14652 * nptl/Makefile (tests): Add new test files.
14653 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
14654 * nptl/tst-cnd-basic.c: Likewise.
14655 * nptl/tst-cnd-broadcast.c: Likewise.
14656 * nptl/tst-cnd-timedwait.c: Likewise.
14657 * nptl/tst-mtx-basic.c: Likewise.
14658 * nptl/tst-mtx-recursive.c: Likewise.
14659 * nptl/tst-mtx-timedlock.c: Likewise.
14660 * nptl/tst-mtx-trylock.c: Likewise.
14661 * nptl/tst-thrd-basic.c: Likewise.
14662 * nptl/tst-thrd-detach.c: Likewise.
14663 * nptl/tst-thrd-sleep.c: Likewise.
14664 * nptl/tst-tss-basic.c: Likewise.
14666 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14669 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14670 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
14672 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14673 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14674 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14675 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14676 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14677 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14678 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14679 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14680 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14681 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14682 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14683 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
14690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14691 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14692 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14693 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14694 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14695 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14696 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14697 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14698 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14699 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
14700 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
14701 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
14702 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
14703 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
14705 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14706 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14707 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14708 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14709 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14710 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14711 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14712 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14713 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14714 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14715 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14716 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14723 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14724 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14725 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14726 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14727 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14728 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14729 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14730 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14733 * conform/data/threads.h-data (thread_local): New macro.
14734 (TSS_DTOR_ITERATIONS): Likewise.
14736 (tss_dtor_t): Likewise.
14737 (tss_create): New function.
14738 (tss_get): Likewise.
14739 (tss_set): Likewise.
14740 (tss_delete): Likewise.
14741 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
14742 tss_get, and tss_set objects.
14743 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14744 * nptl/tss_create.c: New file.
14745 * nptl/tss_delete.c: Likewise.
14746 * nptl/tss_get.c: Likewise.
14747 * nptl/tss_set.c: Likewise.
14748 * sysdeps/nptl/threads.h (thread_local): New define.
14749 (TSS_DTOR_ITERATIONS): Likewise.
14750 (tss_t): New typedef.
14751 (tss_dtor_t): Likewise.
14752 (tss_create): New prototype.
14753 (tss_get): Likewise.
14754 (tss_set): Likewise.
14755 (tss_delete): Likewise.
14758 * conform/data/threads.h-data (cnd_t): New type.
14759 (cnd_init): New function.
14760 (cnd_signal): Likewise.
14761 (cnd_broadcast): Likewise.
14762 (cnd_wait): Likewise.
14763 (cnd_timedwait): Likewise.
14764 (cnd_destroy): Likewise.
14765 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
14766 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
14768 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14769 * nptl/cnd_broadcast.c: New file.
14770 * nptl/cnd_destroy.c: Likewise.
14771 * nptl/cnd_init.c: Likewise.
14772 * nptl/cnd_signal.c: Likewise.
14773 * nptl/cnd_timedwait.c: Likewise.
14774 * nptl/cnd_wait.c: Likewise.
14775 * sysdeps/nptl/threads.h (cnd_t): New type.
14776 (cnd_init): New prototype.
14777 (cnd_signa): Likewise.
14778 (cnd_broadcast): Likewise.
14779 (cnd_wait): Likewise.
14780 (cnd_timedwait): Likewise.
14781 (cnd_destroy): Likewise.
14784 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
14785 (once_flag): New type.
14786 (call_once): New function.
14787 * nptl/Makefile (libpthread-routines): Add call_once object.
14788 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
14789 * nptl/call_once.c: New file.
14790 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
14791 (once_flag): New type.
14792 (call_once): New prototype.
14795 * conform/data/threads.h-data (mtx_plain): New constant.
14796 (mtx_recursive): Likewise.
14797 (mtx_timed): Likewise.
14799 (mtx_init): New function.
14800 (mtx_lock): Likewise.
14801 (mtx_timedlock): Likewise.
14802 (mtx_trylock): Likewise.
14803 (mtx_unlock): Likewise.
14804 (mtx_destroy): Likewise.
14805 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
14806 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
14807 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
14808 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
14809 * nptl/mtx_destroy.c: New file.
14810 * nptl/mtx_init.c: Likewise.
14811 * nptl/mtx_lock.c: Likewise.
14812 * nptl/mtx_timedlock.c: Likewise.
14813 * nptl/mtx_trylock.c: Likewise.
14814 * nptl/mtx_unlock.c: Likewise.
14815 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
14816 (mtx_recursive): Likewise.
14817 (mtx_timed): Likewise.
14819 (mtx_init): New prototype.
14820 (mtx_lock): Likewise.
14821 (mtx_timedlock): Likewise.
14822 (mtx_trylock): Likewise.
14823 (mtx_unlock): Likewise.
14824 (mtx_destroy): Likewise.
14827 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
14828 (linknamespace-libs-ISO11): Add libpthread.a.
14829 * conform/data/threads.h-data: New file: add C11 thrd_* types and
14831 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
14832 * nptl/Makefile (headers): Add threads.h.
14833 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
14834 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
14836 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
14837 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
14838 thrd_join, thrd_sleep, and thrd_yield symbols.
14839 * nptl/descr.h (struct pthread): Add c11 field.
14840 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
14841 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
14842 routine with expected function prototype.
14843 (__pthread_create_2_1): Add C11 threads check based on attribute
14845 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
14846 * nptl/thrd_create.c: New file.
14847 * nptl/thrd_current.c: Likewise.
14848 * nptl/thrd_detach.c: Likewise.
14849 * nptl/thrd_equal.c: Likewise.
14850 * nptl/thrd_exit.c: Likewise.
14851 * nptl/thrd_join.c: Likewise.
14852 * nptl/thrd_priv.h: Likewise.
14853 * nptl/thrd_sleep.c: Likewise.
14854 * nptl/thrd_yield.c: Likewise.
14855 * include/threads.h: Likewise.
14857 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14859 * bits/indirect-return.h: New file.
14860 * misc/sys/cdefs.h (__glibc_has_attribute): New.
14861 * sysdeps/x86/bits/indirect-return.h: Likewise.
14862 * stdlib/Makefile (headers): Add bits/indirect-return.h.
14863 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
14864 (swapcontext): Add __INDIRECT_RETURN.
14865 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
14866 (prepare_test_buffer): Use it.
14868 2018-07-24 Andreas Schwab <schwab@suse.de>
14871 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
14872 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
14874 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14876 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
14877 Redefine if shadow stack is enabled.
14878 (SYSCALL_ERROR_LABEL): Likewise.
14879 (__vfork): Pop shadow stack and jump back to to caller directly
14880 when shadow stack is in use.
14881 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
14882 Redefine if shadow stack is enabled.
14883 (SYSCALL_ERROR_LABEL): Likewise.
14884 (__vfork): Pop shadow stack and jump back to to caller directly
14885 when shadow stack is in use.
14887 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14889 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
14892 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
14895 2018-07-20 Joseph Myers <joseph@codesourcery.com>
14897 * scripts/build-many-glibcs.py (Context.checkout): Default
14898 binutils version to 2.31 branch.
14900 2018-07-20 Zong Li <zong@andestech.com>
14902 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
14903 URL of gcc's tarball.
14905 2018-07-20 Florian Weimer <fweimer@redhat.com>
14908 * posix/regcomp.c (build_equiv_class): When comparing weights, do
14909 not compare an extra byte after the end of the weights.
14911 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14913 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
14915 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
14917 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
14918 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
14919 * scripts/check-execstack.awk: Consider `xfail' variable containing a
14920 list of libraries whose stack executability is expected.
14921 * elf/Makefile ($(objpfx)check-execstack.out): Pass
14922 $(check-execstack-xfail) to check-execstack.awk through `xfail'
14924 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
14925 libc.so libpthread.so.
14927 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
14929 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
14931 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
14933 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
14935 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
14937 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14939 * benchtests/scripts/compare_bench.py (__main__): use the argparse
14940 library to improve command line parsing.
14941 (__main__): make schema file as optional parameter (--schema),
14942 defaulting to benchtests/scripts/benchout.schema.json.
14943 (main): move out of the parsing stuff to __main_ and leave it
14944 only as caller of main comparison functions.
14946 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
14948 * NEWS: Add a note for Intel CET status.
14949 * manual/install.texi: Likewise.
14950 * INSTALL: Regenerated.
14952 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
14955 * localedata/locales/oc_FR (mon): Rename to...
14956 (alt_mon): This, then update October (typo fix).
14957 (mon): New content (genitive case, month names preceded by
14961 * localedata/locales/oc_FR (abday): Update all items.
14962 (day): Update Wednesday and Saturday (typo fixes).
14963 (abmon): Update all items, except May.
14964 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
14965 (LC_IDENTIFICATION): Bump the revision number and date.
14966 Keep the "category" entries in alphabetic order.
14967 (LC_ADDRESS): Remove no longer needed comment.
14968 (LC_COLLATE): Use “copy "ca_ES"”.
14969 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
14972 2018-07-18 Joseph Myers <joseph@codesourcery.com>
14974 * grp/tst_fgetgrent.c: Include <unistd.h>.
14975 (main): Use mkstemp instead of tmpnam.
14976 * io/test-utime.c (main): Likewise.
14977 * posix/annexc.c (macrofile): Change to modifiable array.
14978 (main): Remove macrofile here.
14979 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14981 (check_header): Do not remove macrofile here.
14982 * posix/bug-getopt1.c: Include <stdlib.h>.
14983 (do_test): Use mkstemp instead of tmpnam.
14984 * posix/bug-getopt2.c: Include <stdlib.h>.
14985 (do_test): Use mkstemp instead of tmpnam.
14986 * posix/bug-getopt3.c: Include <stdlib.h>.
14987 (do_test): Use mkstemp instead of tmpnam.
14988 * posix/bug-getopt4.c: Include <stdlib.h>.
14989 (do_test): Use mkstemp instead of tmpnam.
14990 * posix/bug-getopt5.c: Include <stdlib.h>.
14991 (do_test): Use mkstemp instead of tmpnam.
14992 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
14993 (main): Use mkstemp instead of tmpnam.
14994 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
14995 (main): Use mkstemp instead of tmpnam.
14996 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
14997 (main): use mkstemp instead of tmpnam.
14998 * stdlib/isomac.c (macrofile): Change to modifiable array.
14999 (main): Remove macrofile here.
15000 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
15002 (check_header): Do not remove macrofile here.
15004 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15006 * manual/tunables.texi: Document glibc.tune.x86_ibt and
15007 glibc.tune.x86_shstk.
15009 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15011 * NEWS: Mention --enable-cet.
15012 * manual/install.texi: Document --enable-cet.
15013 * INSTALL: Regenerated.
15015 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15017 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
15018 Add _CET_NOTRACK before indirect jump to jump table.
15020 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15022 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
15023 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15026 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15028 * sysdeps/i386/i686/multiarch/strcat-sse2.S
15029 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15032 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15034 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
15035 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15038 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15040 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
15041 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15044 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15046 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
15047 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15049 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
15051 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15053 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
15054 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15057 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15059 * sysdeps/i386/i686/multiarch/memset-sse2.S
15060 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15063 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15065 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
15066 indirect jump to jump table.
15068 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15070 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
15071 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15073 (MEMCPY): Likewise.
15075 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15077 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
15078 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15080 (MEMCPY): Likewise.
15082 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15084 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15085 _CET_NOTRACK before indirect jump to jump table.
15087 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15089 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
15090 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15093 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15095 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
15096 indirect jump to jump table.
15098 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
15101 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
15102 (LOCALES): Likewise.
15103 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
15104 * localedata/locales/sah_RU: New file.
15105 * localedata/sah_RU.UTF-8.in: New file.
15107 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15109 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
15111 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15112 _CET_ENDBR to indirect jump targets and adjust jump destination
15114 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
15116 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15117 _CET_ENDBR to indirect jump targets and adjust jump destination
15119 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
15121 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
15122 _CET_ENDBR to indirect jump targets and adjust jump destination
15125 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15127 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15130 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15132 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
15134 (_dl_tlsdesc_undefweak): Likewise.
15135 (_dl_tlsdesc_dynamic): Likewise.
15136 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
15137 (_dl_tlsdesc_resolve_rel): Likewise.
15138 (_dl_tlsdesc_resolve_rela): Likewise.
15139 (_dl_tlsdesc_resolve_hold): Likewise.
15140 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
15141 (_dl_tlsdesc_undefweak): Likewise.
15142 (_dl_tlsdesc_dynamic): Likewise.
15143 (_dl_tlsdesc_resolve_rela): Likewise.
15144 (_dl_tlsdesc_resolve_hold): Likewise.
15146 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15148 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
15150 * sysdeps/x86_64/crti.S (_init): Likewise.
15153 2018-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
15156 * localedata/locales/os_RU (mon): Rename to...
15158 (mon): Import from CLDR (genitive case).
15160 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15162 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
15163 cet-tunables.h> when CET is enabled.
15165 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
15168 * configure.ac: Add --enable-cet.
15169 * configure: Regenerated.
15170 * elf/Makefille (all-built-dso): Add a comment.
15171 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
15172 Include <dl-prop.h>.
15173 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
15175 * elf/dl-open.c: Include <dl-prop.h>.
15176 (dl_open_worker): Call _dl_open_check.
15177 * elf/rtld.c: Include <dl-prop.h>.
15178 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
15180 * sysdeps/generic/dl-prop.h: New file.
15181 * sysdeps/i386/dl-cet.c: Likewise.
15182 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
15183 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
15184 * sysdeps/x86/cet-tunables.h: Likewise.
15185 * sysdeps/x86/check-cet.awk: Likewise.
15186 * sysdeps/x86/configure: Likewise.
15187 * sysdeps/x86/configure.ac: Likewise.
15188 * sysdeps/x86/dl-cet.c: Likewise.
15189 * sysdeps/x86/dl-procruntime.c: Likewise.
15190 * sysdeps/x86/dl-prop.h: Likewise.
15191 * sysdeps/x86/libc-start.h: Likewise.
15192 * sysdeps/x86/link_map.h: Likewise.
15193 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
15195 (_dl_runtime_profile): Likewise.
15196 (_dl_runtime_resolve_shstk): New.
15197 (_dl_runtime_profile_shstk): Likewise.
15198 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
15200 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
15201 (CFLAGS-.os): Likewise.
15202 (CFLAGS-.op): Likewise.
15203 (CFLAGS-.oS): Likewise.
15204 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
15206 (tests-special): Add $(objpfx)check-cet.out.
15207 (cet-built-dso): New.
15208 (+$(cet-built-dso:=.note)): Likewise.
15209 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
15210 ($(objpfx)check-cet.out): New.
15211 (generated): Add check-cet.out.
15212 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
15214 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
15215 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15216 (init_cpu_features): Call get_cet_status to check CET status
15217 and update dl_x86_feature_1 with CET status. Call
15218 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
15219 (set_x86_shstk). Disable and lock CET in libc.a.
15220 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
15221 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
15222 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15223 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
15224 (_CET_ENDBR): Define if not defined.
15225 (ENTRY): Add _CET_ENDBR.
15226 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
15228 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
15230 (_dl_runtime_profile): Likewise.
15232 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
15235 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
15236 restore r2 on longjmp.
15237 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
15239 Added rules to build test tst-setjmp-bug21895-static.
15240 Added module setjmp-bug21895 and rules to build a shared object from it.
15241 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
15242 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
15244 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
15246 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
15247 * benchtests/bench-strstr.c: Likewise.
15248 * string/memmem.c (FASTSEARCH): Define.
15249 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
15250 Add support for FASTSEARCH.
15251 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
15252 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
15253 (FASTSEARCH): Define.
15254 * string/test-strcasestr.c: Rename __strnlen to strnlen.
15255 * string/test-strstr.c: Likewise.
15257 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
15259 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
15260 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
15262 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
15263 H.J. Lu <hongjiu.lu@intel.com>
15265 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
15266 (__longjmp): Restore shadow stack pointer if shadow stack is
15267 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15268 isn't defined for __longjmp_cancel.
15269 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
15270 (_setjmp): Save shadow stack pointer if shadow stack is enabled
15271 and SHADOW_STACK_POINTER_OFFSET is defined.
15272 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
15273 (setjmp): Save shadow stack pointer if shadow stack is enabled
15274 and SHADOW_STACK_POINTER_OFFSET is defined.
15275 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
15276 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15277 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15278 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
15280 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15281 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15282 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
15283 Remove jmp_buf-ssp.sym.
15284 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15286 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15287 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15288 * sysdeps/x86/Makefile (gen-as-const-headers): Add
15290 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
15291 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
15292 (__longjmp): Restore shadow stack pointer if shadow stack is
15293 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15294 isn't defined for __longjmp_cancel.
15295 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
15296 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15297 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15299 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
15302 * nptl/pthread_create.c: Include <tls-setup.h>.
15303 (__pthread_create_2_1): Call tls_setup_tcbhead.
15304 * sysdeps/generic/tls-setup.h: New file.
15305 * sysdeps/x86/nptl/tls-setup.h: Likewise.
15306 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15307 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
15309 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
15311 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15312 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
15313 (X86_FEATURE_1_SHSTK): Likewise.
15314 (CET_ENABLED): Likewise.
15315 (IBT_ENABLED): Likewise.
15316 (SHSTK_ENABLED): Likewise.
15318 2018-07-13 Rafał Lużyński <digitalfreak@lingonborough.com>
15321 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
15322 (LOCALES): Likewise.
15323 * localedata/dsb_DE.UTF-8.in: New file.
15324 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
15326 2018-07-12 Florian Weimer <fweimer@redhat.com>
15328 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
15329 __mprotect, not mprotect.
15331 2018-07-11 Florian Weimer <fweimer@redhat.com>
15333 * io/Makefile (headers): Add bits/statx.h.
15335 2018-07-10 Mike FABIAN <mfabian@redhat.com>
15337 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
15338 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
15340 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
15341 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
15344 2018-07-10 Florian Weimer <fweimer@redhat.com>
15346 * io/Makefile (routines): Add statx.
15347 (tests-internal): Add tst-statx.
15348 * io/Versions (GLIBC_2.28): Export statx.
15349 * io/bits/statx.h: New file.
15350 * io/sys/stat.h [__USE_GNU]: Include it.
15351 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
15352 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
15354 * io/statx.c: New file.
15355 * io/statx_generic.: Likewise.
15356 * io/tst-statx.: Likewise.
15357 * include/bits/statx.h: Likewise.
15358 * sysdeps/unix/sysv/linux/kernel-features.h
15359 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
15360 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15361 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
15362 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
15364 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15365 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
15366 * sysdeps/unix/sysv/linux/statx.c: New file.
15367 * manual/filesys.texi: Note that statx is undocumented.
15368 * sysdeps/**/libc*.abilist: Update.
15370 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15372 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
15373 a kernel issue which lead to test failure in some cases.
15375 2018-07-10 Florian Weimer <fweimer@redhat.com>
15378 * posix/regexec.c (check_node_accept_bytes): When comparing
15379 weights, do not compare an extra byte after the end of the
15382 2018-07-10 Florian Weimer <fweimer@redhat.com>
15384 * libio/readline.c: Fix copyright year.
15385 * libio/tst-readline.c Likewise.
15386 * nss/tst-nss-files-hosts-getent.c: Likewise.
15388 2018-07-06 Florian Weimer <fweimer@redhat.com>
15391 * nss/nss_files/files-XXX.c (internal_getent): Use
15392 __libc_readline_unlocked. Seek back to the start of the line if
15393 parsing failes with ERANGE.
15394 (get_contents_ret, get_contents): Remove.
15395 * nss/tst-nss-files-hosts-getent.c: New file.
15396 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
15397 (tst-nss-files-hosts-getent): Link with -ldl.
15399 2018-07-06 Florian Weimer <fweimer@redhat.com>
15401 * include/stdio.h (__libc_readline_unlocked): Declare.
15402 (__ftello64, __fseeko64): Declare aliases.
15403 * libio/readline.c: New file.
15404 * libio/tst-readline.c: Likewise.
15405 (routines): Add readline.
15406 (tests-internal): Add tst-readlime.
15407 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
15408 __libc_readline_unlocked.
15409 * libio/fseeko.c (__fseeko): Rename from fseeko.
15410 (fseeko): Add alias.
15411 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
15412 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
15413 (fseeko64): Add alias.
15414 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
15415 * libio/ftello64.c (__ftello64): Rename from ftello64.
15416 (ftello64): Add alias.
15418 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15420 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
15423 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15425 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
15426 Use dl_hwcap without masking.
15427 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
15428 Remove HWCAP_CPUID.
15430 2018-07-06 Florian Weimer <fweimer@redhat.com>
15432 * conform/conformtest.pl (checknamespace): Escape literal braces
15433 in regular expressions.
15435 2018-07-06 Amit Pawar <amit.pawar@amd.com>
15437 * sysdeps/x86/cpu-features.c (get_common_indeces):
15438 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
15439 * sysdeps/x86/cpu-features.c (init_cpu_features):
15440 AVX_Fast_Unaligned_Load is disabled for Excavator core.
15442 2018-07-05 Florian Weimer <fweimer@redhat.com>
15444 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
15446 (CFLAGS-elf-init.oS): Likewise.
15448 2018-07-05 Florian Weimer <fweimer@redhat.com>
15449 Carlos O'Donell <carlos@redhat.com>
15451 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
15452 $(no-stack-protector). stack_chk_fail_local.c can be compiled
15453 with stack protector enabled because there is no risk of infinite
15456 2018-07-05 Maciej W. Rozycki <macro@mips.com>
15460 * libc-abis (ABSOLUTE): New ABI.
15461 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
15462 * NEWS: Mention the new ABI.
15464 2018-07-05 Florian Weimer <fweimer@redhat.com>
15467 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
15468 (RENAME_WHITEOUT): Define.
15469 [__USE_GNU] (renameat2): Declare.
15470 * stdio-common/Makefile (routines): Add renameat2.
15471 (tests): Add tst-renameat2.
15472 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
15473 * stdio-common/renameat2.c: New file.
15474 * stdio-common/tst-renameat2.c: Likewise.
15475 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
15476 * manual/filesys.texi (Temporary Files): Note that renameat2 is
15478 * sysdeps/unix/sysv/linux/kernel-features.h
15479 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
15480 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15481 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15482 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15483 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15484 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15485 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
15486 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15487 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
15488 * include/stdio.h (__renameat): Add alias for renameat.
15489 * stdio-common/renameat.c (__renameat): Rename from renameat.
15490 Add hidden definition and alias.
15491 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15492 * sysdeps/mach/hurd/renameat.c: Likewise.
15493 * sysdeps/**/libc*.abilist: Add renameat2.
15495 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15497 * posix/bug-regex33.c: Fix build after regex sync.
15499 2018-07-04 Carlos O'Donell <carlos@redhat.com>
15502 * localedata/tst-langinfo-setlocale.c: New file.
15503 * localedata/tst-langinfo-setlocale-static.c: New file.
15504 * localedata/tst-langinfo-newlocale.c: New file.
15505 * localedata/tst-langinfo-newlocale-static.c: New file.
15506 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
15507 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
15508 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
15509 (tests-static): Remove tst-langinfo-static. Add
15510 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
15511 (tests-special): Remove $(objpfx)tst-langinfo.out,
15512 $(objpfx)tst-langinfo-static.out. Add
15513 $(objpfx)tst-langinfo-setlocale.out,
15514 $(objpfx)tst-langinfo-newlocale.out,
15515 $(objpfx)tst-langinfo-setlocale-static.out,
15516 $(objpfx)tst-langinfo-newlocale-static.out.
15517 ($(objpfx)tst-langinfo.out): Remove.
15518 ($(objpfx)tst-langinfo-static.out): Remove.
15519 ($(objpfx)tst-langinfo-newlocale.out): New target.
15520 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
15521 (test-xfail-tst-langinfo-newlocale-static): Add.
15522 ($(objpfx)tst-langinfo-setlocale.out): New target.
15523 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
15524 * localedata/tst-langinfo.c: Call test_locale.
15525 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
15528 2018-07-04 Florian Weimer <fweimer@redhat.com>
15530 testrun.sh: Implement --tool=strace, --tool=valgrind
15531 * Makefile (testrun-script): Define variable.
15532 (testrun.sh): Use variable.
15533 * manual/install.texi (Tools for Compilation): make 4.0 or later
15535 * configure.ac: Check for make 4.0 or later.
15536 * INSTALL: Regenerate.
15537 * configure: Likewise.
15539 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15545 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
15546 * posix/PCRE.tests: Remove invalid test.
15547 * posix/bug-regex28.c: Fix expected values for used syntax.
15548 * posix/bug-regex37.c: New file.
15549 * posix/bug-regex38.c: Likewise.
15550 * posix/regcomp.c: Sync with gnulib.
15551 * posix/regex.c: Likewise.
15552 * posix/regex.h: Likewise.
15553 * posix/regex_internal.c: Likewise.
15554 * posix/regex_internal.h: Likewise.
15555 * posix/regexec.c: Likewise.
15557 2018-06-26 Mike FABIAN <mfabian@redhat.com>
15560 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
15561 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
15562 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
15563 * localedata/unicode-gen/PropList.txt: likewise.
15564 * localedata/unicode-gen/UnicodeData.txt: likewise.
15565 * localedata/charmaps/UTF-8: Regenerate.
15566 * localedata/locales/i18n_ctype: likewise.
15567 * localedata/locales/tr_TR: likewise.
15568 * localedata/locales/translit_circle: likewise.
15569 * localedata/locales/translit_cjk_compat: likewise.
15570 * localedata/locales/translit_combining: likewise.
15571 * localedata/locales/translit_compat: likewise.
15572 * localedata/locales/translit_font: likewise.
15573 * localedata/locales/translit_fraction: likewise.
15575 2018-07-03 Florian Weimer <fweimer@redhat.com>
15578 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
15579 * stdio-common/tst-printf.sh: Adjust expected output.
15580 * LICENSES: Update.
15582 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15584 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
15587 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15589 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
15590 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
15591 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
15592 * stdio-common/tst-printfsz-islongdouble.c: New file.
15593 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
15594 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
15595 [subdir == stdio-common] (routines): Add ieee128-printf_size.
15596 [subdir == stdio-common] (tests-internal): Add
15597 test-printf-size-ieee128, and test-printf-size-ibm128.
15598 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
15599 (CFLAGS-test-printf-size-ibm128.c): New variables.
15600 [subdir == stdio-common] (tests-special): Add
15601 $(objpfx)test-printf-size-ieee128.out and
15602 $(objpfx)test-printf-size-ibm128.out.
15603 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
15604 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
15605 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
15606 __printf_sizeieee128.
15607 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
15609 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
15611 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
15614 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
15616 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
15617 (exp2f_inline): Likewise.
15618 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
15619 (__math_uflowf): Likewise.
15620 (__math_may_uflowf): Likewise.
15621 (__math_divzerof): Likewise.
15622 (__math_invalidf): Likewise.
15623 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
15624 (__math_oflowf): Likewise.
15625 (__math_uflowf): Likewise.
15626 (__math_may_uflowf): Likewise.
15627 (__math_divzerof): Likewise.
15628 (__math_invalidf): Likewise.
15630 2018-06-29 DJ Delorie <dj@redhat.com>
15631 Carlos O'Donell <carlos@redhat.com>
15634 * include/libc-symbols.h: Comment the freeres framework.
15635 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
15636 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
15637 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
15638 * dlfcn/dlerror.c: Include libc-symbols.h
15639 (__dlerror_main_freeres): New function.
15640 * dlfcn/dlfreeres.c: New file.
15641 * dlfcn/sdlfreeres.c: New file.
15642 * include/dlfcn.h: Declare __dlerror_main_freeres.
15643 * malloc/set-freeres.c: Declare __libdl_freeres, and
15644 __libpthread_freeres.
15645 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
15646 the releavant libraries are loaded.
15647 * malloc/thread-freeres.c: Add comments.
15648 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
15649 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
15650 * nptl/allocatestack.c (__nptl_free_stacks): New function.
15651 (__free_stacks): Rename to...
15652 (free_stacks): ...this. Mark static.
15653 (queue_stack): Call free_stacks.
15654 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
15655 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
15656 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
15657 ptr_freeres element from struct.
15658 (pthread_functions): Remove .ptr_freeres from struct initializer.
15659 [SHARED] (nptl_freeres): Remove.
15660 * nptl/nptlfreeres.c: New file.
15662 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
15663 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
15665 (__free_stacks): Rename to...
15666 (__nptl_stacks_freeres): ...this.
15667 (__shm_directory_freeres): Declare.
15668 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
15669 (__nptl_unwind_freeres): ...this.
15670 * resolv/res-close.c: Add comment.
15671 * resolv/resolv_conf.c: Include libc-symbols.h.
15672 * string/strerror_l.c: Include libc-symbols.h.
15673 * sunrpc/rpc_thread.c: Include libc-symbols.h.
15674 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
15675 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
15676 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
15678 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15680 * stdlib/tst-strfmon_l.c: Add tests for long double.
15682 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
15685 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
15686 * localedata/locales/dsb_DE: New file.
15688 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15691 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
15693 (alt_mon): New entry, import from CLDR (nominative case).
15695 2018-06-29 Sylvain Lesage <severo@rednegra.net>
15698 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
15700 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
15702 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15703 Use vector registers.
15705 * sysdeps/aarch64/multiarch/memmove_falkor.S
15706 (__memcpy_falkor): Use vector registers.
15708 2018-06-29 Martin Sebor <msebor@redhat.com>
15710 * manual/stdio.texi (Customizing Printf): Mention interaction
15711 with GCC built-ins.
15713 2018-06-29 Maciej W. Rozycki <macro@mips.com>
15716 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
15717 `st_value' is 0 if `st_shndx' is SHN_ABS.
15718 * elf/tst-absolute-zero.c: New file.
15719 * elf/tst-absolute-zero-lib.c: New file.
15720 * elf/tst-absolute-zero-lib.lds: New file.
15721 * elf/Makefile (tests): Add `tst-absolute-zero'.
15722 (modules-names): Add `tst-absolute-zero-lib'.
15723 (LDLIBS-tst-absolute-zero-lib.so): New variable.
15724 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
15725 ($(objpfx)tst-absolute-zero: New dependency.
15727 2018-06-29 Zack Weinberg <zackw@panix.com>
15729 * configure.ac: New command-line option --disable-crypt.
15730 Force --disable-nss-crypt when --disable-crypt is given, with a
15731 warning if it was explicitly enabled.
15732 * configure: Regenerate.
15733 * config.make.in: New boolean substitution variable $(build-crypt).
15734 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
15735 when $(build-crypt).
15736 * manual/install.texi: Document --disable-crypt.
15737 * INSTALL: Regenerate.
15739 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
15740 which is never set.
15741 * conform/Makefile: Only include libcrypt.a in
15742 linknamespace-libs-xsi and linknamespace-libs-XPG4
15743 when $(build-crypt).
15744 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
15745 USE_CRYPT to 1 when $(build-crypt).
15746 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
15747 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
15748 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
15750 2018-06-29 Zack Weinberg <zackw@panix.com>
15752 * crypt/crypt.h, posix/unistd.h: Update comments and
15753 prototypes for crypt and crypt_r.
15755 * manual/crypt.texi (Cryptographic Functions): New initial
15757 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
15758 (Unpredictable Bytes): Improve initial exposition. Clarify error
15759 behavior of getentropy and getrandom.
15760 * manual/examples/genpass.c: Generate a salt using getentropy
15761 instead of the current time. Use hash $5$ (SHA-2-256).
15762 * manual/examples/testpass.c: Demonstrate validation against
15763 hashes generated with three different one-way functions.
15765 * manual/intro.texi: crypt.texi does not need an overview
15768 * manual/nss.texi, manual/memory.texi, manual/socket.texi
15769 * manual/terminal.texi: Consistently refer to "passphrases"
15770 * instead of "passwords", and to the "user database" instead
15771 * of the "password database".
15772 * manual/users.texi: Similarly. Add notes about how actual
15773 passphrase hashes are now stored in the shadow database.
15774 Remove 20-year-old junk todo note.
15776 2018-06-29 Zack Weinberg <zackw@panix.com>
15778 * manual/crypt.texi: Use a normal top-level @node declaration.
15779 Move most of the introductory text to the 'crypt' section.
15780 Move the example programs below the @deftypefun for 'crypt_r'.
15781 Move the 'getpass' section...
15782 * manual/terminal.texi: ...here.
15784 2018-06-29 Zack Weinberg <zackw@panix.com>
15785 Florian Weimer <fweimer@redhat.com>
15787 * posix/unistd.h: Do not declare encrypt.
15788 (_XOPEN_CRYPT): Remove macro definition.
15789 (crypt): Declare only for _USE_MISC.
15790 * stdlib/stdlib.h: Do not declare setkey.
15791 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
15792 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
15794 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
15795 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
15796 into compat symbols. Don't define initial_perm if it's not
15798 * crypt/cert.c: Link explicitly with the expected versions for
15799 setkey and encrypt. If they are not available at all, mark
15800 the test as unsupported.
15802 * sunrpc/des_crypt.c: Unconditionally block linkage with
15803 cbc_crypt and ecb_crypt for new binaries.
15804 * sunrpc/des_soft.c: Unconditionally block linkage with
15805 des_setparity for new binaries.
15807 * manual/crypt.texi: Remove the entire "DES Encryption"
15808 section. Also remove the paragraph talking about FIPS 140-2
15809 from the introduction.
15810 * manual/string.texi (strfry, memfrob): Revise. Recommend use
15811 of libgcrypt for "real" encryption, not DES.
15812 * manual/conf.texi (Constants for Sysconf): Mention that
15813 _XOPEN_CRYPT is no longer impelemented.
15815 * conform/data/unistd.h-data: Remove crypt function declaration.
15817 2018-06-29 Florian Weimer <fweimer@redhat.com>
15820 * malloc/hooks.c: Update comments on restoring of dumped heaps.
15821 (disallow_malloc_check): Remove variable.
15822 (__malloc_check_init): Adjust.
15823 (malloc_set_state): Update comment.
15824 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
15827 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15830 * localedata/locales/ast_ES (mon): Rename to...
15832 (mon): Import from CLDR (genitive case).
15834 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
15835 Jakub Sitnicki <jkbs@redhat.com>
15838 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
15839 on NLM_F_DUMP_INTR.
15841 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
15843 * manual/llio.texi: Remove spurious space.
15845 2018-06-28 Florian Weimer <fweimer@redhat.com>
15848 * time/bits/types/struct_timespec.h: Change header inclusion guard to
15851 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15853 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
15854 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
15855 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
15856 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
15857 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
15858 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
15859 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
15861 2018-06-27 Maciej W. Rozycki <macro@mips.com>
15864 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
15865 Copy and null-terminate entries that are not terminated, in
15866 addition to empty ones.
15868 2018-06-27 Florian Weimer <fweimer@redhat.com>
15871 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
15872 (extend_alloca_account): Remove.
15873 * manual/stdio.texi (Variable Arguments Output): Update comment.
15875 2018-06-27 Joseph Myers <joseph@codesourcery.com>
15877 * nptl/sockperf.c: Remove file.
15879 2018-06-27 Florian Weimer <fweimer@redhat.com>
15882 * elf/dl-deps.c (_dl_map_object_deps): Use struct
15883 scratch_buffer instead of extend_alloca.
15885 2018-06-27 Florian Weimer <fweimer@redhat.com>
15888 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
15889 scratch_buffer instead of extend_alloca. Update comments.
15891 2018-06-27 Florian Weimer <fweimer@redhat.com>
15894 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
15895 instead of extend_alloca.
15897 2018-06-26 Joseph Myers <joseph@codesourcery.com>
15900 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
15901 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
15903 * scripts/test-installation.pl: Put temporary files in build
15904 directory, not /tmp.
15905 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
15906 (CFLAGS-bug4.c): Likewise.
15907 (CFLAGS-bug5.c): Likewise.
15908 (CFLAGS-test-fseek.c): Likewise.
15909 (CFLAGS-test-popen.c): Likewise.
15910 (CFLAGS-test_rdwr.c): Likewise.
15911 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
15913 * stdio-common/bug4.c (main): Likewise.
15914 * stdio-common/bug5.c (main): Likewise.
15915 * stdio-common/test-fseek.c (TESTFILE): Likewise.
15916 * stdio-common/test-popen.c (do_test): Likewise.
15917 * stdio-common/test_rdwr.c (main): Likewise.
15919 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
15921 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
15922 (sem_open): Set sem.newsem.pad to zero for valgrind.
15924 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15927 * NEWS: Mention fcntl64 addition.
15928 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
15929 * login/utmp_file.c: Likewise.
15930 * sysdeps/posix/fdopendir.c: Likewise.
15931 * sysdeps/posix/opendir.c: Likewise.
15932 * sysdeps/unix/pt-fcntl.c: Likewise.
15933 * include/fcntl.h (__libc_fcntl64, __fcntl64,
15934 __fcntl64_nocancel_adjusted): New prototype.
15935 (__fcntl_nocancel_adjusted): Remove prototype.
15936 * io/Makefile (routines): Add fcntl64.
15937 (CFLAGS-fcntl64.c): New rule.
15938 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
15939 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
15940 * io/fcntl.h (fcntl64): Add prototype and redirect if
15941 __USE_FILE_OFFSET64 is defined.
15942 * io/fcntl64.c: New file.
15943 * manual/llio.text: Add a note for which commands fcntl acts a
15944 cancellation point.
15945 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
15946 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
15947 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
15949 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
15950 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
15952 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
15953 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
15954 to __fcntl64_nocancel.
15955 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
15956 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
15957 to __fcntl64_nocancel.
15958 * sysdeps/generic/not-cancel.h: Likewise.
15959 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
15960 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
15961 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15962 (fcntl64): New symbol.
15963 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15964 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15965 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15968 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15969 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15970 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15971 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15972 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15973 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
15974 fcntl64): Likewise.
15975 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15976 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
15977 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15978 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15979 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15980 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15981 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15982 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15983 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15988 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15989 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15990 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15992 2018-06-26 Florian Weimer <fweimer@redhat.com>
15994 Run thread shutdown functions in an explicit order.
15995 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
15997 (__libc_thread_freeres): Call thread shutdown functions
15999 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
16000 * include/string.h (__strerror_thread_freeres): Declare.
16001 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
16002 arena_thread_freeres. No longer static. Remove thread shutdown
16004 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
16006 * resolv/res-close.c (__res_thread_freeres): Renamed from
16007 res_thread_freeres. No longer static. Remove thread shutdown
16009 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
16010 * resolv/resolv_conf.c (freeres): Remove incorrect section
16011 attribute and use libc_freeres_fn.
16012 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
16013 strerror_thread_freeres. No longer static. Remove thread
16014 shutdown hook registration.
16015 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
16016 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
16017 shutdown hook registration.
16018 * Makerules (shlib.lds): Do not provide section boundary symbols
16019 for __libc_thread_subfreeres.
16020 * manual/memory.texi (Basic Allocation): Update comment.
16022 2018-06-26 Florian Weimer <fweimer@redhat.com>
16024 Remove always-defined _RPC_THREAD_SAFE_ macro.
16025 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
16026 Do not define _RPC_THREAD_SAFE_.
16027 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
16029 * sunrpc/clnt_perr.c: Likewise.
16030 * sunrpc/clnt_raw.c: Likewise.
16031 * sunrpc/clnt_simp.c: Likewise.
16032 * sunrpc/key_call.c: Likewise.
16033 * sunrpc/rpc_common.c: Likewise.
16034 * sunrpc/rpc_main.c: Likewise.
16035 * sunrpc/rpc_thread.c: Likewise.
16036 * sunrpc/svc.c: Likewise.
16037 * sunrpc/svc_raw.c: Likewise.
16038 * sunrpc/svc_simple.c: Likewise.
16039 * sumrpc/svcauth_des.c: Likewise.
16041 2018-06-26 Florian Weimer <fweimer@redhat.com>
16043 * libio/Makefile (tests-internal): Add tst-vtables,
16044 tst-vtables-interposed.
16045 * libio/tst-vtables.c: New file.
16046 * libio/tst-vtables-common.c: Likewise.
16047 * libio/tst-vtables-interposed.c: Likewise.
16049 2018-06-26 Florian Weimer <fweimer@redhat.com>
16051 * support/support_test_main.c (support_test_main): Only call
16052 setvbuf if not disables.
16053 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
16054 * support/test-driver.h (struct test_config): Add no_setvbuf member.
16056 2018-06-26 Florian Weimer <fweimer@redhat.com>
16059 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
16061 2018-06-25 Florian Weimer <fweimer@redhat.com>
16064 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16065 Use struct scratch_buffer instead of extend_alloca.
16067 2018-06-25 Florian Weimer <fweimer@redhat.com>
16070 * nss/getent.c (initgroups_keys): Use dynarray instead of
16073 2018-06-25 Florian Weimer <fweimer@redhat.com>
16076 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
16077 Use struct scratch_buffer instead of extend_alloca.
16079 2018-06-25 Florian Weimer <fweimer@redhat.com>
16082 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
16083 back to malloc directly, without stack allocations.
16085 2018-06-25 Florian Weimer <fweimer@redhat.com>
16088 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
16091 2018-06-25 Florian Weimer <fweimer@redhat.com>
16094 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
16096 * nscd/hstcache.c (addhstbyX): Likewise.
16097 * nscd/pwdcache.c (addpwbyX): Likewise.
16098 * nscd/servicescache.c (addservbyX): Likewise.
16100 2018-06-25 Florian Weimer <fweimer@redhat.com>
16103 * nscd/connections.c (read_cmdline): New function.
16104 (restart): Use it. Update comment.
16106 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
16109 * localedata/locales/csb_PL (mon): Rename to...
16111 (abmon): Rename to...
16112 (ab_alt_mon): This.
16113 (mon): Add with proper genitive forms, copy from Wikipedia.
16116 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
16119 * localedata/locales/csb_PL (mon): Fix typos:
16120 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
16121 (yesstr): Add, value is "jo".
16122 (nostr): Add, value is "nié".
16124 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16126 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
16127 all log1p and significand functions on m680x0.
16128 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
16129 of s_significand.c..
16130 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16131 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
16132 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
16133 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
16134 s_log1p.c and include it..
16136 2018-06-21 Vincent Chen <vincentc@andestech.com>
16138 * elf/elf.h (R_NDS32_NONE): New define.
16139 (R_NDS32_32_RELA): Likewise.
16140 (R_NDS32_COPY): Likewise.
16141 (R_NDS32_GLOB_DAT): Likewise.
16142 (R_NDS32_JUMP_SLOT): Likewise.
16143 (R_NDS32_RELATIVE): Likewise.
16144 (R_NDS32_TLS_TPOFF): Likewise.
16145 (R_NDS32_TLS_DESC): Likewise.
16147 2018-06-21 Mark Wielaard <mark@klomp.org>
16149 * elf/elf.h (R_BPF_MAP_FD): Removed.
16150 (R_BPF_64_64, R_BPF_64_32): New.
16152 2018-06-21 Florian Weimer <fweimer@redhat.com>
16155 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
16156 Renamed from libc_feholdsetround_ctx.
16157 (default_libc_feresetround_ctx): Renamed from
16158 libc_feresetround_ctx.
16159 (default_libc_feholdsetround_noex_ctx): Renamed from
16160 libc_feholdsetround_noex_ctx.
16161 (default_libc_feresetround_noex_ctx): Renamed from
16162 libc_feresetround_noex_ctx.
16163 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
16164 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
16165 forwardning to the old implementations under the new names.
16166 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
16167 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
16168 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
16169 (libc_feresetround_ctx): Forward to default implements for i386
16170 and MATH_SET_BOTH_ROUNDING_MODES.
16171 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
16172 Add -DMATH_SET_BOTH_ROUNDING_MODES.
16174 2018-06-20 Joseph Myers <joseph@codesourcery.com>
16176 * string/tst-cmp.c: Include <libc-diag.h>.
16177 (strncmp_max): Disable -Wstringop-overflow= around call to
16179 (strncasecmp_max): Disable -Wstringop-overflow= around call to
16182 * string/bug-strpbrk1.c: Include <libc-diag.h>.
16183 (main): Disable -Wunused-value around call to strpbrk.
16184 * string/bug-strspn1.c: Include <libc-diag.h>.
16185 (main): Disable -Wunused-value around call to strspn.
16187 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16188 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16190 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
16191 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
16193 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16195 * math/Makefile (libm-calls): Move s_significandF to...
16196 (gen-libm-calls): ... here.
16197 * math/s_significand_template.c: New file.
16198 * math/s_significand.c: Removed.
16199 * math/s_significandf.c: Removed.
16200 * math/s_significandl.c: Removed.
16201 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
16202 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
16204 * math/e_exp2_template.c (declare_mgen_finite_alias,
16205 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
16206 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
16207 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
16209 2018-06-20 Florian Weimer <fweimer@redhat.com>
16211 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
16213 2018-06-19 Joseph Myers <joseph@codesourcery.com>
16216 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
16217 floating-point number to strtod functions rather than possibly
16218 negating result of those functions.
16219 * stdio-common/tst-scanf-round.c: New file.
16220 * stdio-common/Makefile (tests): Add tst-scanf-round.
16221 ($(objpfx)tst-scanf-round): Depend on $(libm).
16223 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16225 * sysdeps/mach/hurd/localplt.data: Move to...
16226 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
16227 R_386_GLOB_DAT like on Linux i386.
16229 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16231 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
16232 (SHM_STAT_ANY): New macro.
16233 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
16234 (SHM_STAT_ANY): Likewise.
16235 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
16236 (SHM_STAT_ANY): Likewise.
16237 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
16238 (SHM_STAT_ANY): Likewise.
16239 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
16240 (SHM_STAT_ANY): Likewise.
16241 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
16242 (SHM_STAT_ANY): Likewise.
16243 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
16244 (SHM_STAT_ANY): Likewise.
16245 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
16246 (SHM_STAT_ANY): Likewise.
16247 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
16248 (SHM_STAT_ANY): Likewise.
16249 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
16250 (SHM_STAT_ANY): Likewise.
16251 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
16252 (SHM_STAT_ANY): Likewise.
16253 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
16254 (SHM_STAT_ANY): Likewise.
16256 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
16257 (SEM_STAT_ANY): New macro.
16258 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
16259 (SEM_STAT_ANY): Likewise.
16260 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
16261 (SEM_STAT_ANY): Likewise.
16262 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
16263 (SEM_STAT_ANY): Likewise.
16264 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
16265 (SEM_STAT_ANY): Likewise.
16266 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
16267 (SEM_STAT_ANY): Likewise.
16268 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
16269 (SEM_STAT_ANY): Likewise.
16270 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
16271 (SEM_STAT_ANY): Likewise.
16272 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
16273 (SEM_STAT_ANY): Likewise.
16274 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
16275 (SEM_STAT_ANY): Likewise.
16277 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
16278 (MSG_STAT_ANY): New macro.
16279 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
16280 (MSG_STAT_ANY): Likewise.
16281 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
16282 (MSG_STAT_ANY): Likewise.
16283 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
16284 (MSG_STAT_ANY): Likewise.
16285 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
16286 (MSG_STAT_ANY): Likewise.
16287 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
16288 (MSG_STAT_ANY): Likewise.
16289 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
16290 (MSG_STAT_ANY): Likewise.
16291 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
16292 (MSG_STAT_ANY): Likewise.
16293 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
16294 (MSG_STAT_ANY): Likewise.
16295 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
16296 (MSG_STAT_ANY): Likewise.
16298 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16299 (MAP_TYPE): Change value to 0x2b.
16301 2018-06-18 Florian Weimer <fweimer@redhat.com>
16304 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
16305 socket with SOCK_CLOEXEC.
16307 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16310 * sysdeps/powerpc/powerpc64/le/Makefile
16311 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
16312 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
16313 (gnulib-tests): Also add $(f128-loader-link) for
16314 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
16316 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
16318 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
16319 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
16321 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
16322 (sendfile64): New strong alias.
16323 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
16324 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
16325 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
16326 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
16328 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
16329 ___pthread_get_cleanup_stack.
16330 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
16331 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
16332 * mach/shortcut.awk: Make syscall stubs include
16333 <mach-shortcuts-hidden.h> and add hidden definition.
16334 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
16335 (__mach_msg): Add hidden prototype.
16336 * mach/msg.c: Include <mach.h>.
16337 (__mach_msg): Add hidden definition.
16338 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
16339 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
16340 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
16341 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
16342 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
16343 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
16344 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
16345 prototype and definition.
16346 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
16347 hidden target for _hurd_self_sigstate.
16349 2018-06-15 Joseph Myers <joseph@codesourcery.com>
16352 * stdlib/tst-strtod-nan-sign-main.c: New file.
16353 * stdlib/tst-strtod-nan-sign.c: Likewise.
16354 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
16355 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
16356 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
16357 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
16358 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
16360 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
16363 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
16366 2018-06-14 Florian Weimer <fweimer@redhat.com>
16369 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
16370 that the result stays within the ISO-8859-1 range.
16371 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
16372 characters are defined in IBM273.
16374 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
16376 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
16377 __mach_task_self): Remove attribute_hidden.
16379 2018-06-14 Joseph Myers <joseph@codesourcery.com>
16381 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
16382 ignore -Wrestrict for one test.
16384 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
16385 Szabolcs Nagy <szabolcs.nagy@arm.com>
16387 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
16389 2018-06-14 Florian Weimer <fweimer@redhat.com>
16391 * scripts/update-abilist.sh: Accept empty list of files to patch.
16393 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
16395 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
16396 test-xfail-check-abi-libmachuser): Add.
16397 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
16398 __libc_read and __libc_write to __read and __write.
16399 * sysdeps/hurd/include/hurd/port.h: New file.
16400 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
16401 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
16402 __thread_switch, __evc_wait): Move declarations to...
16403 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
16405 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
16406 use PLT to call _hurd_self_sigstate.
16408 2018-06-13 Joseph Myers <joseph@codesourcery.com>
16411 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
16412 MAX_EXP as overflowing.
16413 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
16415 (round_str): Output also whether result overflows in each rounding
16417 * stdlib/tst-strtod-round-data: Add more tests.
16418 * stdlib/tst-strtod-round-data.h: Regenerated.
16419 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
16420 (TEST): Handle extra arguments for overflow flags.
16421 (struct test_overflow): New type.
16422 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
16423 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
16424 (test_in_one_mode): Take argument with overflow information.
16425 (do_test): Update calls to test_in_one_mode.
16427 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16429 * elf/dl-load (_dl_dst_substitute): Correct comment.
16430 (_dl_dst_count): Likewise.
16432 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
16433 lll_futex_timed_wait.
16435 2018-06-12 Joseph Myers <joseph@codesourcery.com>
16438 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
16440 * math/test-nan-const.c: New file.
16441 * math/Makefile (tests): Add test-nan-const.
16442 (CFLAGS-test-nan-const.c): New variable.
16444 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16446 * benchtests/scripts/compare_strings.py (process_results): Add
16447 funcs argument. Compare only functions which are selected.
16448 (main): Check if base function is among selected functions.
16449 Pass selected functions to process_results.
16450 (__main__): Add -f/--functions argument.
16452 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
16453 Hongbo Zhang <hongbo.zhang@linaro.org>
16455 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
16456 __memcpy_falkor for phecda core.
16457 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
16458 __memmove_falkor for phecda core.
16459 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
16460 __memset_falkor for phecda core.
16461 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
16463 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
16464 macro to identify phecda core.
16466 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16467 Andreas Schwab <schwab@suse.de>
16468 Dmitry V. Levin <ldv@altlinux.org>
16469 Florian Weimer <fweimer@redhat.com>
16476 * elf/dl-dst.h: Remove DL_DST_COUNT.
16477 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
16478 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
16479 (is_dst): Comment. Support ELF gABI.
16480 (_dl_dst_count): Comment. Simplify and count DSTs.
16481 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
16482 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
16485 2018-06-12 Zack Weinberg <zackw@panix.com>
16487 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
16488 * sysdeps/unix/sysv/linux/dl-sysdep.c
16489 Include not-cancel.h. Use __close_nocancel instead of __close,
16490 __open64_nocancel instead of __open, __read_nocancel instead of
16491 __libc_read, and __write_nocancel instead of __libc_write.
16493 * csu/check_fds.c (check_one_fd)
16494 * sysdeps/posix/fdopendir.c (__fdopendir)
16495 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
16496 instead of __fcntl and/or __libc_fcntl.
16498 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
16499 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
16500 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
16501 Use __open64_nocancel instead of __open_nocancel.
16503 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
16504 hidden_proto declarations to the end and issue them if either
16505 IS_IN(libc) or IS_IN(rtld).
16506 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
16507 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
16508 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
16509 read_nocancel, waitpid_nocancel, write_nocancel.
16511 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
16512 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
16513 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
16515 * nptl/pt-fcntl.c: New file.
16516 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
16517 (libpthread-routines): Add pt-fcntl.
16518 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
16519 (__libc_fcntl): Remove attribute_hidden.
16520 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
16521 __fcntl_nocancel_adjusted, not fcntl_common.
16522 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
16523 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
16524 to fcntl_nocancel.c.
16525 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
16526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
16527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16528 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
16530 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
16531 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
16532 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
16533 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
16534 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
16535 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
16536 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
16537 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
16538 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
16539 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
16540 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
16541 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
16542 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
16543 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
16544 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
16545 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
16546 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
16547 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
16548 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
16549 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
16551 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
16552 libpthread-routines.
16553 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
16556 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
16557 __libc_read, and __write instead of __libc_write. Define
16558 __open64 in addition to __open.
16560 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16564 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
16565 to _private_tm[3] and add __glibc_reserved2.
16566 Add _Static_assert of offset of __private_ss == 0x30.
16567 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
16568 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
16570 2018-06-12 Florian Weimer <fweimer@redhat.com>
16572 x86: Make strncmp usable from rtld.
16573 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
16574 __strncmp_ia32 if in libc (and not in rtld).
16575 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
16576 strncmp if not in libc (and not to __strncmp_sse2).
16578 2018-06-12 Rafał Lużyński <digitalfreak@lingonborough.com>
16581 * localedata/locales/gd_GB (mon): Rename to...
16583 (mon): Import from CLDR (genitive case).
16584 * localedata/locales/hsb_DE (mon): Rename to...
16586 (mon): Import from CLDR (genitive case).
16587 * localedata/locales/wa_BE (mon): Rename to...
16589 (mon): Add, fill with the proper genitive forms, but CLDR data
16590 is incomplete; completed according to the comments in this file.
16591 (d_t_fmt): Do not use "di" before the month name, no longer needed.
16593 * localedata/locales/wa_BE (country_name): Reword
16594 "Beljike" -> "Beldjike".
16596 2018-06-11 Joseph Myers <joseph@codesourcery.com>
16599 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
16600 cases of non-finite arguments.
16601 * math/libm-test-fma.inc (fma_test_data): Add more tests.
16603 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
16606 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
16608 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16611 * include/unistd.h (__execvpex): New prototype.
16612 * posix/Makefile (tests): Add tst-spawn4.
16613 (tests-internal): Add tst-spawn4-compat.
16614 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
16615 * posix/tst-spawn4-compat.c: New file.
16616 * posix/tst-spawn4.c: Likewise.
16617 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
16618 binaries as shell scripts.
16619 * sysdeps/posix/spawni.c (__spawni): Likewise.
16621 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
16624 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
16625 ($(all-built-dso:=.dynsym): New target.
16626 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
16627 ($(objpfx)check-initfini.out): New target.
16628 (generated): Add check-initfini.out.
16629 * scripts/check-initfini.awk: New file.
16630 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
16632 * sysdeps/alpha/crti.S (_init): Mark as hidden.
16634 * sysdeps/arm/crti.S (_init): Mark as hidden.
16636 * sysdeps/hppa/crti.S (_init): Mark as hidden.
16638 * sysdeps/i386/crti.S (_init): Mark as hidden.
16640 * sysdeps/ia64/crti.S (_init): Mark as hidden.
16642 * sysdeps/m68k/crti.S (_init): Mark as hidden.
16644 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
16646 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
16648 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
16650 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
16652 * sysdeps/nios2/crti.S (_init): Mark as hidden.
16654 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
16656 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
16658 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
16660 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
16662 * sysdeps/sh/crti.S (_init): Mark as hidden.
16664 * sysdeps/sparc/crti.S (_init): Mark as hidden.
16666 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
16669 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16671 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
16672 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
16673 and TF redirection to KFtype and KF only when the default
16674 long double type is not the IEEE 128-bit floating point type.
16676 2018-06-05 Joseph Myers <joseph@codesourcery.com>
16678 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
16680 (HWCAP_USCAT): Likewise.
16681 (HWCAP_ILRCPC): Likewise.
16682 (HWCAP_FLAGM): Likewise.
16683 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16685 (_dl_aarch64_cap_flags): Add new flag names.
16687 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16688 (MAP_FIXED_NOREPLACE): New macro.
16689 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
16690 (MAP_FIXED_NOREPLACE): Likewise.
16691 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
16692 (MAP_FIXED_NOREPLACE): Likewise.
16693 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16694 (MAP_FIXED_NOREPLACE): Likewise.
16695 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16696 (MAP_FIXED_NOREPLACE): Likewise.
16697 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16698 (MAP_FIXED_NOREPLACE): Likewise.
16699 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16700 (MAP_FIXED_NOREPLACE): Likewise.
16701 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
16702 (MAP_FIXED_NOREPLACE): Likewise.
16703 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16704 (MAP_FIXED_NOREPLACE): Likewise.
16705 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
16706 (MAP_FIXED_NOREPLACE): Likewise.
16707 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16708 (MAP_FIXED_NOREPLACE): Likewise.
16709 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16710 (MAP_FIXED_NOREPLACE): Likewise.
16711 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
16712 (MAP_FIXED_NOREPLACE): Likewise.
16713 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
16714 (MAP_FIXED_NOREPLACE): Likewise.
16715 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
16716 (MAP_FIXED_NOREPLACE): Likewise.
16718 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16721 2018-06-04 Joseph Myers <joseph@codesourcery.com>
16723 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16726 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16728 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
16730 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
16732 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16734 * benchtests/scripts/compare_string.py: (process_results) Catch
16735 exception in non-existent base_func and catch exception in
16736 non-existent attribute.
16737 (parse_file) Catch exception if input file does not exist.
16739 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16741 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
16742 options to avoid diff calculation and omit header, respectively.
16743 (main): process --no-diff and --no-header
16745 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16746 H.J. Lu <hongjiu.lu@intel.com>
16748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16749 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
16751 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16752 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
16753 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
16754 and __wcsncmp_sse2.
16755 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
16756 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
16757 AVX unaligned load is fast and vzeroupper is preferred.
16758 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
16759 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
16760 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
16761 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
16762 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
16763 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
16764 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
16765 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
16766 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
16767 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
16770 2018-06-01 Florian Weimer <fweimer@redhat.com>
16772 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
16773 configuring with --disable-multi-arch, building with
16774 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
16777 2018-06-01 Florian Weimer <fweimer@redhat.com>
16779 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
16780 results from building with “-march=x86-64 -mtune=generic
16781 -mfpmath=sse” and running on a Haswell-era CPU.
16783 2018-06-01 Joseph Myers <joseph@codesourcery.com>
16786 * soft-fp/sqrttf2.c: Remove file.
16787 * soft-fp/sqrtdf2.c: Move to ....
16788 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
16790 (__sqrtdf2): Make conditional on
16791 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16793 * soft-fp/sqrtsf2.c: Move to ....
16794 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
16796 (__sqrtsf2): Make conditional on
16797 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16799 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
16800 (gcc-double-routines): Remove sqrtdf2.
16801 (gcc-quad-routines): Remove sqrttf2.
16802 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16803 Do not filter out sqrtsf2 and sqrtdf2.
16804 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16805 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
16807 2018-06-01 Florian Weimer <fweimer@redhat.com>
16809 * sysdeps/generic/libcidn.abilist: Remove file.
16811 2018-06-01 Florian Weimer <fweimer@redhat.com>
16814 * libio/strfile.h (struct _IO_str_fields): Rename members to
16815 discourage their use and add comment.
16816 (_IO_STR_DYNAMIC): Remove unused macro.
16817 * libio/strops.c (_IO_str_init_static_internal): Do not use
16818 callback pointers. Call malloc and free.
16819 (_IO_str_overflow): Do not use callback pointers. Call malloc
16821 (enlarge_userbuf): Likewise.
16822 (_IO_str_finish): Call free.
16823 * libio/wstrops.c (_IO_wstr_init_static): Initialize
16824 _allocate_buffer_unused.
16825 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
16827 (enlarge_userbuf): Likewise.
16828 (_IO_wstr_finish): Call free.
16829 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
16830 _allocate_buffer_unused, _free_buffer_unused.
16831 * libio/memstream.c (__open_memstream): Likewise.
16832 * libio/vasprintf.c (_IO_vasprintf): Likewise.
16833 * libio/wmemstream.c (open_wmemstream): Likewise.
16835 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
16837 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
16840 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16842 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
16843 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
16844 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
16846 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
16848 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
16850 2018-05-29 Florian Weimer <fweimer@redhat.com>
16852 * support/Makefile (libsupport-routines): Add
16853 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
16854 xpthread_barrierattr_setpshared.
16855 * support/xpthread_barrierattr_destroy.c: New file.
16856 * support/xpthread_barrierattr_init.c: Likewise.
16857 * support/xpthread_barrierattr_setpshared.c: Likewise.
16859 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
16862 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
16863 _r_debug and update DT_DEBUG for debugger.
16865 2018-05-29 Florian Weimer <fweimer@redhat.com>
16867 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
16868 (tst-strtod5i.out): Likewise.
16870 2018-05-25 Joseph Myers <joseph@codesourcery.com>
16872 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
16873 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
16874 (sparc64-quad-routines): New variable. Moved from ....
16875 [$(subdir) = soft-fp] (sysdep_routines): Add
16876 $(sparc64-quad-routines). Moved from ....
16877 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
16878 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
16879 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
16881 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
16882 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
16883 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
16884 * sysdeps/sparc/sparc64/qp_add.c: ... here.
16885 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
16886 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
16887 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
16888 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
16889 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
16890 * sysdeps/sparc/sparc64/qp_div.c: ... here.
16891 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
16892 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
16893 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
16894 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
16895 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
16896 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
16897 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
16898 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
16899 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
16900 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
16901 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
16902 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
16903 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
16904 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
16905 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
16906 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
16907 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
16908 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
16909 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
16910 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
16911 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
16912 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
16913 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
16914 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
16915 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
16916 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
16917 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
16918 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
16919 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
16920 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
16921 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
16922 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
16923 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
16924 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
16925 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
16926 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
16927 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
16928 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
16929 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
16930 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
16931 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
16932 * sysdeps/sparc/sparc64/qp_util.c: ... here.
16933 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
16934 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
16935 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
16936 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
16937 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
16938 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
16940 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
16941 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
16942 (sparc32-quad-routines): New variable. Moved from ....
16943 [$(subdir) = soft-fp] (sysdep_routines): Add
16944 $(sparc32-quad-routines). Moved from ....
16945 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
16946 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
16948 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
16949 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
16950 * sysdeps/sparc/sparc32/q_add.c: ... here.
16951 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
16952 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
16953 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
16954 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
16955 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
16956 * sysdeps/sparc/sparc32/q_div.c: ... here.
16957 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
16958 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
16959 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
16960 * sysdeps/sparc/sparc32/q_feq.c: ... here.
16961 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
16962 * sysdeps/sparc/sparc32/q_fge.c: ... here.
16963 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
16964 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
16965 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
16966 * sysdeps/sparc/sparc32/q_fle.c: ... here.
16967 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
16968 * sysdeps/sparc/sparc32/q_flt.c: ... here.
16969 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
16970 * sysdeps/sparc/sparc32/q_fne.c: ... here.
16971 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
16972 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
16973 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
16974 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
16975 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
16976 * sysdeps/sparc/sparc32/q_mul.c: ... here.
16977 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
16978 * sysdeps/sparc/sparc32/q_neg.c: ... here.
16979 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
16980 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
16981 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
16982 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
16983 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
16984 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
16985 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
16986 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
16987 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
16988 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
16989 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
16990 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
16991 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
16992 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
16993 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
16994 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
16995 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
16996 * sysdeps/sparc/sparc32/q_sub.c: ... here.
16997 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
16998 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
16999 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
17000 * sysdeps/sparc/sparc32/q_util.c: ... here.
17001 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
17002 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
17003 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
17004 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
17006 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17007 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17009 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
17010 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
17011 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
17012 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
17014 2018-05-24 Joseph Myers <joseph@codesourcery.com>
17016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
17018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17020 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
17021 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
17023 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17026 * math/math.h [C++] (iseqsig): Fix parameter type for the long
17029 2018-05-23 Joseph Myers <joseph@codesourcery.com>
17031 * sysdeps/sh/Implies: Remove sh/soft-fp.
17032 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
17033 * sysdeps/sh/sfp-machine.h: ... here.
17035 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17037 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17038 (__mempcpy_erms): Skip zero length.
17039 (__memmove_erms): Likewise.
17040 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17041 (__memset_erms): Likewise.
17043 2018-05-23 Joseph Myers <joseph@codesourcery.com>
17045 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
17046 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
17047 Add functions moved from ....
17048 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
17049 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
17050 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
17052 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
17053 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
17054 * sysdeps/alpha/e_sqrtl.c: ... here.
17055 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
17056 * sysdeps/alpha/local-soft-fp.h: ... here.
17057 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
17058 * sysdeps/alpha/ots_add.c: ... here.
17059 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
17060 * sysdeps/alpha/ots_cmp.c: ... here.
17061 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
17062 * sysdeps/alpha/ots_cmpe.c: ... here.
17063 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
17064 * sysdeps/alpha/ots_cvtqux.c: ... here.
17065 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
17066 * sysdeps/alpha/ots_cvtqx.c: ... here.
17067 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
17068 * sysdeps/alpha/ots_cvttx.c: ... here.
17069 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
17070 * sysdeps/alpha/ots_cvtxq.c: ... here.
17071 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
17072 * sysdeps/alpha/ots_cvtxt.c: ... here.
17073 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
17074 * sysdeps/alpha/ots_div.c: ... here.
17075 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
17076 * sysdeps/alpha/ots_mul.c: ... here.
17077 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
17078 * sysdeps/alpha/ots_nintxq.c: ... here.
17079 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
17080 * sysdeps/alpha/ots_sub.c: ... here.
17081 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
17082 * sysdeps/alpha/sfp-machine.h: ... here.
17084 2018-05-23 Florian Weimer <fweimer@redhat.com>
17092 Switch to extern IDNA implementation (libidn2).
17093 * libidn: Remove subdirectory.
17094 * LICENSES: Do not mention licensing conditions for the removed
17096 * config.h.in (HAVE_LIBIDN): Remove.
17097 * include/dlfcn.h (__libc_dlopen): Update comment.
17098 * include/idna.h: Remove file.
17099 * inet/Makefile (routines): Add idna.
17100 (tests-static, tests-internal): Add tst-idna_name_classify.
17101 (LOCALES): Generate locales for tests.
17102 (tst-idna_name_classify.out): Depend on generated locales.
17103 * inet/idna_name_classify.c: New file.
17104 * inet/tst-idna_name_classify.c: Likewise.
17105 * inet/net-internal.h (__idna_to_dns_encoding)
17106 (__idna_from_dns_encoding): Declare.
17107 * inet/net-internal.h (enum idna_name_classification): Define.
17108 (__idna_name_classify): Declare.
17109 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
17110 __idna_from_dns_encoding.
17111 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
17112 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
17113 name as a fallback in case of encoding errors.
17114 (getnameinfo): Use DEPRECATED_NI_IDN.
17115 * inet/idna.c: New file.
17116 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
17117 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
17118 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
17119 (modules-names): Add tst-no-libidn2.
17120 (extra-test-objs): Add tst-no-libidn2.os.
17121 (LDFLAGS-tst-no-libidn2.so): Set soname.
17122 (LOCALES): Set, and generate locales.
17123 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
17124 (tst-resolv-ai_idn-latin1): Likewise.
17125 (tst-resolv-ai_idn-nolibidn2): Likewise.
17126 (tst-resolv-ai_idn.out): Depend on locales.
17127 (tst-resolv-ai_idn-latin1.out): Depend on locales.
17128 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
17130 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
17131 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
17132 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
17133 * resolv/tst-resolv-ai_idn.c: New file.
17134 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
17135 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
17136 * resolv/tst-no-libidn2.c: Likewise.
17137 * support/support_format_addrinfo.c (format_ai_flags): Do not
17138 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
17139 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
17140 (gaih_inet): Call __idna_to_dns_encoding and
17141 __idna_from_dns_encoding, and use the original (punycode) name if
17142 __idna_from_dns_encoding fails due to an encoding error.
17143 (getaddrinfo): Use DEPRECATED_AI_IDN.
17144 * sysdeps/unix/inet/Subdirs (libidn): Remove.
17145 * sysdeps/unix/inet/configure: Remove file.
17146 * sysdeps/unix/inet/configure.ac: Likewise.
17148 2018-05-23 Florian Weimer <fweimer@redhat.com>
17150 Implement allocate_once.
17151 * include/allocate_once.h: New file.
17152 * misc/allocate_once.c: Likewise.
17153 * misc/tst-allocate_once.c: Likewise.
17154 * misc/Makefile (routines): Add allocate_once.
17155 (tests-internal): Add tst-allocate_once.
17156 (generated): Add tst-allocate_once.mtrace,
17157 tst-allocate_once-mem.out.
17158 (tests-special): Add tst-allocate_once-mem.out.
17159 (tst-allocate_once-ENV): Set MALLOC_TRACE.
17160 (tst-allocate_once-mem.out): Call mtrace.
17161 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
17163 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17166 * string/test-memcpy.c (do_test1): New function.
17167 (test_main): Call it.
17169 2018-05-23 Andreas Schwab <schwab@suse.de>
17173 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
17174 (L(preloop_large)): Save initial destination pointer in %r11 and
17175 use it instead of %rax after the loop.
17176 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
17178 2018-05-22 Joseph Myers <joseph@codesourcery.com>
17180 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
17181 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
17182 -I../soft-fp. Moved from ....
17183 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
17184 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
17185 * sysdeps/aarch64/e_sqrtl.c: ... here.
17186 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
17187 * sysdeps/aarch64/sfp-machine.h: ... here.
17189 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
17190 -Wmaybe-uninitialized around access to fq[0].
17191 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17195 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
17196 aliases for non-libc case of versioned symbols.
17197 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
17198 (llseek): Define as compat symbol if
17199 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
17201 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
17202 Make into a compat symbol, disabled for minimum symbol version
17203 GLIBC_2.28 and later.
17204 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
17206 2018-05-22 Florian Weimer <fweimer@redhat.com>
17208 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
17209 not add -mpreferred-stack-boundary=4.
17210 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
17211 (stack-align-test-flags): Likewise.
17212 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
17214 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
17215 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
17216 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
17217 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
17218 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
17219 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
17220 (CFLAGS-tst-align2.c): Likewise.
17222 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17224 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
17225 (index_arch_Prefer_FSRM): Likewise.
17226 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
17227 Also check Prefer_FSRM.
17228 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
17229 Also return OPTIMIZE (erms) for Prefer_FSRM.
17231 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17233 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
17234 (index_cpu_FSRM): Likewise.
17235 (reg_FSRM): Likewise.
17237 2018-05-18 Joseph Myers <joseph@codesourcery.com>
17239 * math/gen-tgmath-tests.py: Import sys.
17240 (Tests.__init__): Initialize macros_seen.
17241 (Tests.add_tests): Add macro to macros_seen. Only generate tests
17242 if requested to do so for this macro.
17243 (Tests.add_all_tests): Take argument for macro for which to
17245 (Tests.check_macro_list): New function.
17246 (main): Handle check-list argument and argument specifying macro
17247 for which to generate tests.
17248 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
17249 [PYTHON] (tgmath3-macro-tests): Likewise.
17250 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
17251 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
17252 not test-tgmath3.c.
17253 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
17254 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
17256 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
17257 [PYTHON] ($(foreach
17258 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
17260 [PYTHON] (tests-special): Add
17261 $(objpfx)test-tgmath3-macro-list.out.
17262 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
17264 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
17265 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
17269 * time/tzset.c (SECSPERDAY): Cast to time_t.
17270 * time/tst-y2039.c: New file.
17271 * time/Makefile (tests): Add tst-y2039.
17273 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17275 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17276 (PREFETCH_ONE_SET): Remove duplicate line.
17278 2018-05-17 Florian Weimer <fweimer@redhat.com>
17280 * sysdeps/generic/math-type-macros-double.h: Include
17281 <math-nan-payload-double.h> after <libm-alias-double.h>.
17282 * sysdeps/generic/math-type-macros-float.h: Include
17283 <math-nan-payload-float.h> after <libm-alias-float.h>.
17284 * sysdeps/generic/math-type-macros-float128.h: Include
17285 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
17286 * sysdeps/generic/math-type-macros-ldouble.h: Include
17287 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
17289 2018-05-17 Andreas Schwab <schwab@suse.de>
17291 * resolv/res_send.c (__res_context_send): Don't set errno when
17292 returing error after malloc failure.
17294 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
17296 * nptl/allocatestack.c (allocate_stack): Remove the
17297 !__ASSUME_PRIVATE_FUTEX paths.
17298 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
17299 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17301 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
17302 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17303 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17304 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17305 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
17306 !__ASSUME_PRIVATE_FUTEX path.
17307 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
17308 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
17309 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
17310 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
17311 !__ASSUME_PRIVATE_FUTEX macros.
17312 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17313 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17314 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17315 * sysdeps/unix/sysv/linux/kernel-features.h
17316 (__ASSUME_PRIVATE_FUTEX): Removed.
17318 2018-05-17 Joseph Myers <joseph@codesourcery.com>
17320 * math/Makefile (libm-narrow-fns): Add div.
17321 (libm-test-funcs-narrow): Likewise.
17322 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
17323 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
17324 * math/gen-auto-libm-tests.c (test_functions): Add div.
17325 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
17326 (NARROW_DIV_ROUND_TO_ODD): Likewise.
17327 (NARROW_DIV_TRIVIAL): Likewise.
17328 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
17330 (__ddivl): Likewise.
17331 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
17333 (CFLAGS-nldbl-ddiv.c): New variable.
17334 (CFLAGS-nldbl-fdiv.c): Likewise.
17335 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17337 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
17339 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
17340 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
17341 * math/auto-libm-test-in: Add tests of div.
17342 * math/auto-libm-test-out-narrow-div: New generated file.
17343 * math/libm-test-narrow-div.inc: New file.
17344 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
17345 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
17346 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
17347 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
17348 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
17349 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
17350 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
17351 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
17352 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
17353 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
17354 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
17355 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
17356 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
17357 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
17358 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
17359 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
17360 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
17361 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
17362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17363 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17364 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17365 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17366 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17367 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17368 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17369 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17370 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17371 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17372 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17373 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17374 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17375 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17380 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17381 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17382 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17383 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17384 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17385 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17386 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17387 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17389 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17392 * nscd/nscd-client.h (sendfileall): Remove prototype.
17393 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
17394 (handle_request): Use writeall instead of sendfileall.
17395 * nscd/aicache.c (addhstaiX): Likewise.
17396 * nscd/grpcache.c (cache_addgr): Likewise.
17397 * nscd/hstcache.c (cache_addhst): Likewise.
17398 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17399 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
17400 * nscd/pwdcache.c (cache_addpw): Likewise.
17401 * nscd/servicescache.c (cache_addserv): Likewise.
17402 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
17403 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
17404 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
17407 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
17409 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
17410 Include <string/strncat.c>.
17411 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
17413 (__GI___strncat): New hidden alias.
17415 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17417 * sysdeps/mips/mips32/libm-test-ulps: Update.
17418 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17420 2018-05-16 Florian Weimer <fweimer@redhat.com>
17422 * support/Makefile (libsupport-routines): Add support_quote_blob,
17423 support_test_compare_blob.
17424 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
17425 * support/check.h (TEST_COMPARE_BLOB): Define.
17426 (support_test_compare_blob): Declare.
17427 * support/support.h (support_quote_blob): Declare.
17428 * support/support_quote_blob.c: New file.
17429 * support/support_test_compare_blob.c: Likewise.
17430 * support/tst-support_quote_blob.c: Likewise.
17431 * support/tst-test_compare_blob.c: Likewise.
17433 2018-05-16 Florian Weimer <fweimer@redhat.com>
17435 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
17436 of <strtod_nan_double.h>.
17437 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
17438 instead of SET_MANTISSA.
17439 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
17440 of include <strtod_nan_float.h>.
17441 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
17442 instead of <strtod_nan_ldouble.h>.
17443 * stdlib/strtod_nan_double.h: Move to ...
17444 * sysdeps/generic/math-nan-payload-double.h: ... here.
17445 (FLOAT): Remove definition.
17446 (SET_MANTISSA): Rename to ...
17447 (SET_NAN_PAYLOAD): ... this.
17448 * stdlib/strtod_nan_float.h: Move to ...
17449 * sysdeps/generic/math-nan-payload-float.h: ... here.
17450 (FLOAT): Remove definition.
17451 (SET_MANTISSA): Rename to ...
17452 (SET_NAN_PAYLOAD): ... this.
17453 * sysdeps/generic/math-type-macros-double.h: Include
17454 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
17455 instead of <math-svid-compat.h>.
17456 * sysdeps/generic/math-type-macros-float.h: Include
17457 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
17458 instead of <math-svid-compat.h>.
17459 * sysdeps/generic/math-type-macros-float128.h: Include
17460 <math-nan-payload-float128.h>.
17461 * sysdeps/generic/math-type-macros-ldouble.h: Include
17462 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
17463 instead of <math-svid-compat.h>.
17464 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
17465 check for definition.
17466 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
17467 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
17468 Include <ieee754_float128.h>.
17469 (FLOAT): Remove definition.
17470 (SET_MANTISSA): Rename to ...
17471 (SET_NAN_PAYLOAD): ... this.
17472 * sysdeps/ieee754/float128/strtof128_nan.c: Include
17473 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
17474 Do not include <float128_private.h>.
17475 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
17476 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
17477 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
17478 (FLOAT): Remove definition.
17479 (SET_MANTISSA): Rename to ...
17480 (SET_NAN_PAYLOAD): ... this.
17481 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
17482 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
17483 (FLOAT): Remove definition.
17484 (SET_MANTISSA): Rename to ...
17485 (SET_NAN_PAYLOAD): ... this.
17486 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
17487 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
17488 (FLOAT): Remove definition.
17489 (SET_MANTISSA): Rename to ...
17490 (SET_NAN_PAYLOAD): ... this.
17491 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
17492 of "../stdlib/strtod_nan_double.h".
17493 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
17494 of "../stdlib/strtod_nan_float.h".
17495 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
17496 instead of "../stdlib/strtod_nan_ldouble.h".
17497 * manual/arith.texi (Parsing of Floats): Adjust comment.
17499 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17501 * math/Makefile (libm-narrow-fns): Add mul.
17502 (libm-test-funcs-narrow): Likewise.
17503 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
17504 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
17505 * math/gen-auto-libm-tests.c (test_functions): Add mul.
17506 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
17507 (NARROW_MUL_ROUND_TO_ODD): Likewise.
17508 (NARROW_MUL_TRIVIAL): Likewise.
17509 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
17510 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
17512 (__dmull): Likewise.
17513 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
17515 (CFLAGS-nldbl-dmul.c): New variable.
17516 (CFLAGS-nldbl-fmul.c): Likewise.
17517 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17519 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
17521 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
17522 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
17523 * math/auto-libm-test-in: Add tests of mul.
17524 * math/auto-libm-test-out-narrow-mul: New generated file.
17525 * math/libm-test-narrow-mul.inc: New file.
17526 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
17527 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
17528 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
17529 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
17530 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
17531 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
17532 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
17533 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
17534 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
17535 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
17536 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
17537 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
17538 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
17539 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
17540 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
17541 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
17542 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
17543 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
17544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17545 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17546 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17547 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17548 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17549 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17550 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17551 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17552 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17553 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17554 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17555 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17556 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17557 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17562 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17563 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17564 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17565 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17566 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17567 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17568 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17569 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17571 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17573 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17574 with *%eax in call.
17576 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17578 * sysdeps/i386/ldsodefs.h: Removed.
17579 * sysdeps/x86_64/ldsodefs.h: Moved to ...
17580 * sysdeps/x86/ldsodefs.h: This.
17581 (La_i86_regs): New.
17582 (La_i86_retval): Likewise.
17583 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
17584 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
17586 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17588 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
17591 2018-05-13 Alan Modra <amodra@gmail.com>
17593 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
17594 R_PARISC_TLS_DTPOFF32 reloc addend.
17596 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17598 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
17599 * math/math.h: Restrict the prototype definition for the functions
17600 issignaling(_Float128) and iszero(_Float128); and template
17601 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
17602 __HAVE_FLOAT128_UNLIKE_LDBL.
17603 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
17604 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17605 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
17606 __f128() constants; define the type _Float128 as long double;
17607 and reuse long double in __CFLOAT128.
17609 2018-05-11 Joseph Myers <joseph@codesourcery.com>
17611 * sysdeps/generic/math_private.h: Do not include
17613 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
17615 * math/fromfp.h: Include <math-barriers.h>.
17616 * math/math-narrow.h: Likewise.
17617 * math/s_nextafter.c: Likewise.
17618 * math/s_nexttowardf.c: Likewise.
17619 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
17620 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
17621 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
17622 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
17623 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17624 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17625 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17626 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17627 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17628 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17629 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17630 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17631 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17632 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17633 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
17634 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17635 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17636 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17637 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17638 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17639 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17640 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17641 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17642 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17643 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17644 * sysdeps/ieee754/k_standardl.c: Likewise.
17645 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17646 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17647 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17648 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17649 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17650 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17651 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17652 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17653 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17654 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17655 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17656 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17657 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17658 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17659 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17660 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17661 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
17662 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
17663 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17664 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17665 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
17666 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
17668 2018-05-11 Florian Weimer <fweimer@redhat.com>
17670 Use 64-bit epoch values in the time zone file parser.
17671 * include/time.h (internal_time_t): Define.
17672 (__tzfile_compute): Use it.
17673 * time/tzfile.c (struct leap): Use internal_time_t for epoch
17675 (transitions): Switch to internal_time_t.
17676 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
17678 (__tzfile_compute): Use internal_time_t for timer argument. Check
17679 for truncation before calling __offtime.
17681 2018-05-11 Florian Weimer <fweimer@redhat.com>
17684 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
17685 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
17687 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
17688 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
17689 export without --enable-obsolete-rpc.
17690 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
17691 symbol. This should not have been exported, ever.
17693 2018-05-11 Rafał Lużyński <digitalfreak@lingonborough.com>
17696 * localedata/locales/gd_GB (abmon): Fix typo in May:
17697 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
17699 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17701 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
17702 Use multiple registers to copy data in loop tail.
17704 * sysdeps/aarch64/multiarch/memmove_falkor.S
17705 (__memmove_falkor): Use multiple registers to move data in
17708 2018-05-10 Joseph Myers <joseph@codesourcery.com>
17710 * math/math-underflow.h: New file.
17711 * sysdeps/generic/math_private.h: Do not include <float.h>.
17712 (fabs_tg): Remove macro. Moved to math-underflow.h.
17713 (min_of_type_f): Likewise.
17714 (min_of_type_): Likewise.
17715 (min_of_type_l): Likewise.
17716 (min_of_type_f128): Likewise.
17717 (min_of_type): Likewise.
17718 (math_check_force_underflow): Likewise.
17719 (math_check_force_underflow_nonneg): Likewise.
17720 (math_check_force_underflow_complex): Likewise.
17721 * math/e_exp2_template.c: Include <math-underflow.h>.
17722 * math/k_casinh_template.c: Likewise.
17723 * math/s_catan_template.c: Likewise.
17724 * math/s_catanh_template.c: Likewise.
17725 * math/s_ccosh_template.c: Likewise.
17726 * math/s_cexp_template.c: Likewise.
17727 * math/s_clog10_template.c: Likewise.
17728 * math/s_clog_template.c: Likewise.
17729 * math/s_csin_template.c: Likewise.
17730 * math/s_csinh_template.c: Likewise.
17731 * math/s_csqrt_template.c: Likewise.
17732 * math/s_ctan_template.c: Likewise.
17733 * math/s_ctanh_template.c: Likewise.
17734 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17735 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17736 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17737 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17738 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17739 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17740 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17741 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17742 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17743 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17744 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17745 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17746 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17747 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17748 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17749 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17750 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17751 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17752 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17753 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17754 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17755 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17756 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17757 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17758 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17759 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17760 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17761 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17762 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17763 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17764 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17765 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17766 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17767 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17768 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17769 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17770 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17771 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17772 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17773 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17774 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17775 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17776 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17777 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17778 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17779 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17780 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17781 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17782 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17783 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17784 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17785 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17786 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17787 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17788 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17789 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17790 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17791 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17792 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17793 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17794 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17795 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17796 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17797 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17798 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17799 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17800 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17801 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17802 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17803 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17804 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17805 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17806 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17807 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
17808 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17809 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17810 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17811 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17812 * sysdeps/x86/fpu/powl_helper.c: Likewise.
17813 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
17814 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
17815 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17816 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17817 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17819 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17821 * sysdeps/generic/math-barriers.h: New file.
17822 * sysdeps/generic/math_private.h [!math_opt_barrier]
17823 (math_opt_barrier): Move to math-barriers.h.
17824 [!math_opt_barrier] (math_force_eval): Likewise.
17825 * sysdeps/aarch64/fpu/math-barriers.h: New file.
17826 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
17828 (math_force_eval): Likewise.
17829 * sysdeps/alpha/fpu/math-barriers.h: New file.
17830 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
17832 (math_force_eval): Likewise.
17833 * sysdeps/x86/fpu/math-barriers.h: New file.
17834 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
17836 (math_force_eval): Likewise.
17837 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
17838 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
17839 multiple-include guard for rename.
17840 * sysdeps/powerpc/fpu/math-barriers.h: New file.
17841 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
17843 (math_force_eval): Likewise.
17845 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17849 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
17851 * stdlib/Makefile (test-bz22786): New test.
17852 * stdlib/test-bz22786.c: New test.
17854 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17856 * include/math-narrow-eval.h: New file. Contents moved from ....
17857 * sysdeps/generic/math_private.h: ... here.
17858 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
17859 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17860 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
17861 * stdlib/strtod_l.c: Likewise.
17862 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17863 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17864 * sysdeps/i386/fpu/s_fdim.c: Likewise.
17865 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17866 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17867 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17868 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17869 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17870 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17871 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17872 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17873 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
17874 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17875 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17876 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17877 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17878 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17879 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17880 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17881 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17882 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17883 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17884 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17885 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17886 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17887 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17888 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17889 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17890 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17892 2018-05-08 Andreas Schwab <schwab@suse.de>
17894 * sysdeps/nptl/internaltypes.h: Fix comment.
17896 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
17898 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17899 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
17902 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
17904 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
17905 of I into loop header.
17906 * benchtests/bench-memmove-walk.c
17907 (test_main): Likewise.
17909 2018-05-07 Alexandre Oliva <oliva@gnu.org>
17912 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17913 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17915 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17918 * elf/dl-load.c (open_verify): Fix stack overflow.
17919 * elf/Makefile (tst-big-note): New test.
17920 * elf/tst-big-note-lib.S: New.
17921 * elf/tst-big-note.c: New.
17923 2018-05-04 Joseph Myers <joseph@codesourcery.com>
17925 * scripts/abilist.awk: Ignore absolute symbols.
17926 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
17927 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
17928 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
17929 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
17930 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
17931 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
17932 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17933 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
17934 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
17935 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
17936 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
17937 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
17938 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
17939 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
17940 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
17941 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
17942 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
17943 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
17944 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17945 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
17946 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
17947 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
17948 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
17949 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
17950 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
17951 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
17952 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
17953 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
17954 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17955 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
17956 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
17957 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17958 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
17959 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
17960 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
17961 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
17962 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
17963 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
17964 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
17965 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
17966 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
17967 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17968 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
17969 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
17970 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17971 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
17972 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
17973 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
17974 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
17975 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
17976 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
17977 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
17978 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
17979 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
17980 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17981 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
17982 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
17983 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17984 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
17985 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
17986 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
17987 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
17988 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
17989 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
17990 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
17991 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
17992 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
17993 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17994 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
17995 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
17996 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17997 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
17998 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
17999 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
18000 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
18001 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
18002 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
18003 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
18004 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
18005 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
18006 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18007 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
18008 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
18009 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18010 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
18011 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
18012 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
18013 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
18014 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
18015 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
18016 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
18017 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18019 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
18020 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18021 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
18022 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
18023 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18024 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
18025 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
18026 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
18027 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
18028 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
18029 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
18030 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
18031 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18033 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
18034 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18035 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
18036 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
18037 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18038 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
18039 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
18040 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
18041 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
18042 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
18043 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
18044 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
18045 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
18046 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
18047 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18048 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
18049 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
18050 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18051 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
18052 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
18053 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
18054 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
18055 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
18056 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
18057 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18058 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
18059 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18061 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
18062 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
18063 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
18064 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
18065 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18066 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
18067 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
18068 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
18069 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
18070 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
18071 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
18072 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
18073 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
18074 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
18075 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
18076 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
18077 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
18078 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
18079 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18080 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18082 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
18083 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
18084 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
18085 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18086 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
18087 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
18088 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
18089 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
18090 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
18091 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
18092 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18093 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
18094 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
18095 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18096 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
18097 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
18098 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
18099 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
18100 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18101 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
18102 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
18103 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18104 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
18105 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
18106 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
18107 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
18108 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
18109 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
18110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
18111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
18113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
18116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
18117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
18118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
18119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
18121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
18123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
18124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
18127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
18139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
18145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
18146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
18147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
18151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
18152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
18160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
18161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
18162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
18169 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18170 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
18172 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18173 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18174 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
18175 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18176 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18177 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18178 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
18179 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
18180 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18181 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
18182 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18183 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
18184 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
18185 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18187 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18188 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
18189 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
18190 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18191 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
18192 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
18193 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
18194 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
18195 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
18196 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
18197 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
18198 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18200 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18201 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
18202 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
18203 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18204 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
18205 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
18206 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
18207 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
18208 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
18209 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
18210 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
18211 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
18212 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
18213 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18214 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
18215 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
18216 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18217 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
18218 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
18219 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
18220 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
18221 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
18222 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
18223 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
18224 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18226 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
18227 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18228 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
18229 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
18230 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18231 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
18232 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
18233 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
18234 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
18235 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
18236 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
18237 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
18238 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18240 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
18241 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18242 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
18243 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
18244 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18245 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
18246 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
18247 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
18248 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
18249 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
18250 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
18251 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
18252 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
18253 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
18254 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18255 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
18256 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
18257 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18258 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
18259 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
18260 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
18261 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
18262 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
18263 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
18264 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18265 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
18266 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
18267 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
18268 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18269 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
18270 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
18271 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18272 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
18273 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
18274 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
18275 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
18276 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
18277 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
18279 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18282 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
18283 Use atomic_load_acquire to load __tid.
18285 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18287 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
18288 Restore the pointer into %rdx, after syscall and use %rdx,
18289 instead of %rsi, to restore context.
18291 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18293 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
18294 Pop the pointer into %rdx after syscall and use %rdx, instead
18295 of %rsi, to restore context.
18297 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18299 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
18300 handlers after setjmp.
18301 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
18303 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
18304 <libc-pointer-arith.h>.
18305 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
18306 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
18307 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
18308 _JUMP_BUF_SIGSET_BITS_PER_WORD.
18309 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
18310 * sysdeps/x86/__longjmp_cancel.S: New file.
18311 * sysdeps/x86/longjmp.c: Likewise.
18312 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
18314 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18316 * NEWS: Add ustat.h deprecation entry.
18317 * bits/ustat.h: Remove file.
18318 * misc/sys/ustat.h: Likewise.
18319 * misc/ustat.h: Likewise.
18320 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
18321 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
18322 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
18323 compatibility mode.
18324 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
18325 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
18326 generic Linux implementation.
18328 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18330 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
18331 * math/w_expl_compat.c: Likewise.
18332 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
18334 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
18336 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18338 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18340 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
18341 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
18342 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
18344 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
18345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18346 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18347 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
18348 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
18351 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18353 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
18355 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
18356 * math/w_asin_template.c: Likewise.
18357 * math/w_atanh_template.c: Likewise.
18359 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18361 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
18362 to powerpc/powerpc64/be for big-endian.
18363 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
18366 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
18367 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
18368 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
18369 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
18370 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18371 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
18372 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
18373 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
18374 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
18375 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18376 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
18377 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
18378 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
18379 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
18380 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
18381 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
18382 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
18383 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
18384 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
18385 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
18386 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
18387 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18388 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
18389 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
18390 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
18391 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18392 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
18393 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
18394 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
18395 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18396 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18397 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18399 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
18400 adjusted to imply powerpc64 and older processors on powerpc64/be.
18401 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
18402 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
18403 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
18404 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
18405 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
18406 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
18407 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
18408 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
18409 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
18410 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
18411 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
18412 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
18413 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
18414 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
18415 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
18416 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
18417 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
18418 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
18419 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
18420 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
18421 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
18422 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
18423 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
18424 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
18425 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
18426 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
18427 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
18428 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
18429 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
18430 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
18431 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
18433 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
18434 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
18435 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
18436 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
18438 * sysdeps/powerpc/powerpc64/be/Implies: New file.
18439 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
18440 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
18441 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
18443 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
18444 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
18445 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
18446 * sysdeps/powerpc/powerpc64le/configure: Likewise.
18447 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
18448 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
18449 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
18450 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
18451 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
18452 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
18453 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
18455 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
18456 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
18457 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
18458 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
18459 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
18460 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
18461 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
18462 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
18463 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
18464 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
18465 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
18467 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
18468 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
18469 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
18470 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
18471 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
18472 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
18473 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
18474 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
18475 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
18476 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
18477 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
18478 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
18480 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
18481 and adjusted to imply olders processors.
18482 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
18483 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
18484 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
18485 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
18486 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
18487 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
18488 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
18489 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
18490 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
18491 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
18492 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
18494 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
18496 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
18497 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
18499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
18501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
18502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
18504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
18506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
18508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
18510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
18511 powerpc64 and adjusted.
18512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
18513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
18514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
18517 2018-04-27 Joseph Myers <joseph@codesourcery.com>
18519 * sysdeps/tile: Remove.
18520 * sysdeps/unix/sysv/linux/tile: Likewise.
18521 * README (tilegx-*-linux-gnu): Remove from list of supported
18523 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
18524 contribution of support for generic Linux kernel syscall
18526 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
18527 tilegx configurations.
18528 (Config.install_linux_headers): Do not handle tile.
18529 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
18531 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
18532 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
18533 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18534 conditional undefine and redefine.
18535 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
18537 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18538 conditional undefine and redefine.
18540 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
18542 * signal/tst-sigaction.c: New file to test BZ #23069.
18543 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
18545 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18548 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
18549 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
18550 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
18551 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18553 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18555 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
18556 _DIRENT_MATCHES_DIRENT64 is not defined.
18557 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
18558 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
18560 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
18561 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
18563 2018-04-25 Joseph Myers <joseph@codesourcery.com>
18565 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
18566 version to GCC 8 branch.
18568 2018-04-24 Joseph Myers <joseph@codesourcery.com>
18570 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
18571 (check_no_hidden): Use type of original function when declaring
18574 * sysdeps/unix/sysv/linux/sys/ptrace.h
18575 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
18576 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
18577 (struct __ptrace_seccomp_metadata): New type.
18578 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18579 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18580 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
18581 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18582 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
18583 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18584 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18585 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18586 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18587 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18588 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18589 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18590 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
18591 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18592 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
18593 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18595 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18597 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
18599 * dirent/versionsort.c (versionsort): Likewise.
18600 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
18601 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
18602 * dirent/versionsort64.c (versionsort64): Likewise.
18603 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
18604 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
18605 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
18606 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
18607 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
18608 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
18609 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
18610 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
18611 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
18612 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
18613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
18614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
18615 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
18616 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
18618 2018-04-23 Joseph Myers <joseph@codesourcery.com>
18620 * elf/elf.h (NT_PPC_PKEY): New macro.
18622 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
18625 * localedata/locales/hr_HR: fix thousands_sep and
18628 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18630 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
18631 (XTABS): Define to TAB3.
18633 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18635 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18637 * dirent/scandir-tail-common.c: New file.
18638 * dirent/scandir-tail.c: Use scandir-tail-common.c.
18639 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
18640 * dirent/scandir.c: Use scandir-tail-common.c.
18641 * dirent/scandirat.c: Likewise.
18642 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
18643 * dirent/scandir64.c (scandir64): Always build and alias to scandir
18644 if _DIRENT_MATCHES_DIRENT64 is defined.
18645 * dirent/scandirat64.c (scandirat64): Likewise.
18646 * include/dirent.h (__scandir_tail): Only define iff
18647 _DIRENT_MATCHES_DIRENT64 is not defined.
18648 (__scandir64_tail): Define regardless.
18649 (__scandirat, scandirat64): Remove libc_hidden_proto.
18650 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
18651 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
18652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
18653 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
18654 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18655 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
18656 * sysdeps/unix/sysv/linux/scandir64.c: New file.
18658 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18660 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
18662 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
18664 (_dl_aarch64_cap_flags): Add asimdfhm.
18666 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
18668 * sysdeps/nios2/libm-test-ulps: Update.
18670 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18672 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
18673 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
18675 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
18677 (_DIRENT_MATCHES_DIRENT64): Undef
18678 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
18679 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
18680 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
18681 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
18682 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
18683 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
18684 use getdents64 syscalls as base.
18685 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
18686 symbol if required.
18687 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
18688 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
18689 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
18690 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
18691 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
18692 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
18693 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
18694 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
18695 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18696 (__get_clockfreq_via_proc_openprom): Use __getdents64.
18697 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
18699 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18701 * scripts/test_printers_common.py (init_test): Disable lock elision.
18703 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18705 * math/test-tgmath.c (count_double, count_float,
18706 count_ldouble, count_cdouble, count_cfloat,
18707 count_cldouble): Use volatile int.
18709 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18711 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
18712 (conformtest-xfail-conds): Add i386-gnu.
18713 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
18715 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
18716 ipc_perm.cuid, ipc_perm.cgid): Likewise.
18717 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
18718 msqid_ds.msg_lrpid): Likewise.
18719 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
18721 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
18722 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
18723 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
18724 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
18726 (struct statvfs64): Likewise.
18727 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
18729 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
18730 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
18731 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
18732 instead of wait_queue.
18733 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
18734 instead of vm_area_struct.
18735 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
18736 struct sched_param definition to it.
18737 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18738 * bits/types/struct_sched_param.h: New file.
18739 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
18740 <bits/types/struct_sched_param.h> instead of <sched.h>.
18741 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
18742 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
18743 generic version but include <bits/pthreadtypes.h> to make struct
18744 sigevent's sigev_notify_attributes field a pthread_attr_t*.
18745 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
18747 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
18748 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
18749 [__USE_XOPEN] (OFDEL): New macro.
18750 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
18751 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
18752 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
18754 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
18755 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
18756 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
18758 * sysdeps/i386/sys/ucontext.h: Likewise.
18759 * sysdeps/m68k/sys/ucontext.h: Likewise.
18760 * sysdeps/mips/sys/ucontext.h: Likewise.
18761 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
18762 * sysdeps/mach/hurd/i386/Makefile
18763 (test-xfail-POSIX/fcntl.h/conform): Add.
18764 (test-xfail-POSIX/signal.h/conform): Add.
18765 (test-xfail-POSIX/semaphore.h/conform): Add.
18766 (test-xfail-POSIX/regex.h/conform): Add.
18767 (test-xfail-POSIX/aio.h/conform): Add.
18768 (test-xfail-POSIX/mqueue.h/conform): Add.
18769 (test-xfail-POSIX/sys/types.h/conform): Add.
18770 (test-xfail-UNIX98/fcntl.h/conform): Add.
18771 (test-xfail-UNIX98/netdb.h/conform): Add.
18772 (test-xfail-UNIX98/signal.h/conform): Add.
18773 (test-xfail-UNIX98/semaphore.h/conform): Add.
18774 (test-xfail-UNIX98/regex.h/conform): Add.
18775 (test-xfail-UNIX98/aio.h/conform): Add.
18776 (test-xfail-UNIX98/ftw.h/conform): Add.
18777 (test-xfail-UNIX98/mqueue.h/conform): Add.
18778 (test-xfail-UNIX98/netinet/in.h/conform): Add.
18779 (test-xfail-UNIX98/sys/wait.h/conform): Add.
18780 (test-xfail-UNIX98/sys/sem.h/conform): Add.
18781 (test-xfail-UNIX98/sys/uio.h/conform): Add.
18782 (test-xfail-UNIX98/sys/socket.h/conform): Add.
18783 (test-xfail-UNIX98/sys/types.h/conform): Add.
18784 (test-xfail-UNIX98/stdlib.h/conform): Add.
18785 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
18786 (test-xfail-POSIX2008/fcntl.h/conform): Add.
18787 (test-xfail-POSIX2008/netdb.h/conform): Add.
18788 (test-xfail-POSIX2008/signal.h/conform): Add.
18789 (test-xfail-POSIX2008/semaphore.h/conform): Add.
18790 (test-xfail-POSIX2008/regex.h/conform): Add.
18791 (test-xfail-POSIX2008/aio.h/conform): Add.
18792 (test-xfail-POSIX2008/mqueue.h/conform): Add.
18793 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
18794 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
18795 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
18796 (test-xfail-POSIX2008/sys/types.h/conform): Add.
18797 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
18798 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
18799 (test-xfail-XOPEN2K/netdb.h/conform): Add.
18800 (test-xfail-XOPEN2K/signal.h/conform): Add.
18801 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
18802 (test-xfail-XOPEN2K/regex.h/conform): Add.
18803 (test-xfail-XOPEN2K/aio.h/conform): Add.
18804 (test-xfail-XOPEN2K/ftw.h/conform): Add.
18805 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
18806 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
18807 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
18808 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
18809 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
18810 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
18811 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
18812 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
18813 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
18814 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
18815 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
18816 (test-xfail-XOPEN2K8/signal.h/conform): Add.
18817 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
18818 (test-xfail-XOPEN2K8/regex.h/conform): Add.
18819 (test-xfail-XOPEN2K8/aio.h/conform): Add.
18820 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
18821 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
18822 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
18823 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
18824 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
18825 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
18826 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
18827 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
18828 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
18829 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
18830 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
18832 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
18833 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
18835 2018-04-18 Joseph Myers <joseph@codesourcery.com>
18837 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18838 --enable-obsolete for powerpc-linux-gnuspe.
18840 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18842 * conform/data/sys/un.h-data: Allow sun_ prefix.
18843 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
18845 * sysdeps/mach/include/mach.h: Likewise.
18846 * sysdeps/mach/include/mach/mig_support.h: Likewise.
18847 * sysdeps/mach/include/mach_error.h: Likewise.
18849 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18851 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
18852 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
18853 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
18854 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
18856 2018-04-16 Andreas Schwab <schwab@suse.de>
18859 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
18861 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18863 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
18864 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
18866 2018-04-12 DJ Delorie <dj@redhat.com>
18868 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18871 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18873 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
18874 (struct kernel_sigaction): Use the same definition on 31bit as is used
18877 2018-04-09 Florian Weimer <fweimer@redhat.com>
18880 * resolv/res_send.c (send_dg): Use designated initializers instead
18881 of assignment to zero-initialize other fields of struct mmsghdr.
18883 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18885 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
18886 __READDIR_ALIAS): Undefine after usage.
18887 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
18888 __READDIR_R_ALIAS): Likewise.
18889 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
18890 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
18891 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
18892 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
18893 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
18894 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
18895 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18896 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18897 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
18898 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
18899 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
18900 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
18901 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18902 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
18903 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
18904 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
18905 * sysdeps/unix/sysv/linux/readdir.c: New file.
18906 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
18907 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
18908 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
18910 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18912 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
18914 * manual/charset.texi (Converting a Character): Fix typo.
18916 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18920 * sysdeps/arm/libm-test-ulps: Update.
18922 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
18923 as base implementation.
18924 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18925 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18926 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18927 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18928 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18929 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
18930 remove unrequired definitions and update comments.
18931 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
18932 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
18933 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
18934 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
18935 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
18936 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
18937 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
18938 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
18939 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
18940 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
18941 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
18942 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18943 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18944 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
18945 and RESET_SA_RESTORER hooks.
18947 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
18949 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18951 2018-04-05 Florian Weimer <fweimer@redhat.com>
18953 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
18954 integer overflow, memory leak on error, and indeterminate errno
18955 value. Add a null wide character to terminate the result string.
18956 * manual/charset.texi (Converting a Character): Mention embedded
18957 null bytes in the mbrtowc input string. Explain what happens in
18958 the -2 result case. Do not claim that mbrtowc is simple or
18959 obvious to use. Adjust the description of the code example. Use
18960 @code, not @var, for concrete variables.
18962 2018-04-05 Florian Weimer <fweimer@redhat.com>
18964 * manual/examples/mbstouwcs.c: New file.
18965 * manual/charset.texi (Converting a Character): Include it.
18967 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18969 * include/dirent.h (dirfd): Add hidden proto.
18970 * dirent/dirfd.c (dirfd): Add hidden def.
18971 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
18972 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
18974 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18976 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
18977 sin, cos and sincos to 1 ULP.
18979 2018-04-04 Maciej W. Rozycki <macro@mips.com>
18982 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
18984 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
18985 * elf/tst-absolute-sym.c: New file.
18986 * elf/tst-absolute-sym-lib.c: New file.
18987 * elf/tst-absolute-sym-lib.lds: New file.
18988 * elf/Makefile (tests): Add `tst-absolute-sym'.
18989 (modules-names): Add `tst-absolute-sym-lib'.
18990 (LDLIBS-tst-absolute-sym-lib.so): New variable.
18991 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
18992 ($(objpfx)tst-absolute-sym): New dependency.
18995 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
18997 (SYMBOL_ADDRESS): New macro.
18998 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
18999 SYMBOL_ADDRESS for symbol address calculation.
19000 * elf/dl-runtime.c (_dl_fixup): Likewise.
19001 (_dl_profile_fixup): Likewise.
19002 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
19003 * elf/rtld.c (dl_main): Likewise.
19004 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
19005 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
19006 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
19007 (elf_machine_rela): Likewise.
19008 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
19009 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
19010 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19011 (elf_machine_rela): Likewise.
19012 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19013 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
19014 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
19015 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
19017 (elf_machine_reloc): Likewise.
19018 (elf_machine_got_rel): Likewise.
19019 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
19020 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
19021 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19023 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19025 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
19026 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19028 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19030 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19031 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19033 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19035 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
19036 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19038 2018-04-04 Zack Weinberg <zackw@panix.com>
19040 * sysdeps/generic/internal-signals.h: Include signal.h,
19041 sigsetops.h, and stdbool.h.
19042 (__libc_signal_block_all): Actually block all signals.
19043 (__libc_signal_block_app): Likewise.
19044 (__libc_signal_restore_set): Actually restore the signal mask.
19046 2018-04-04 Florian Weimer <fweimer@redhat.com>
19048 inet: Actually build and run tst-deadline.
19049 * inet/Makefile (tests-internal): Add tst-deadline and do not
19050 overwrite the variable.
19051 (tests-static-internal): Remove variable.
19053 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
19056 * bits/uio-ext.h (RWF_APPEND): New.
19057 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
19058 * manual/llio.texi: Document RWF_APPEND.
19059 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
19060 (RWF_SUPPORTED): Add RWF_APPEND.
19062 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19065 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
19066 check for internal nptl signals.
19067 * nptl/sigaction.c (__sigaction): Likewise.
19068 * signal/sigaddset.c (sigaddset): Likewise.
19069 * signal/sigdelset.c (sigdelset): Likewise.
19070 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
19071 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
19073 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
19074 to filter out internal nptl signals.
19075 * signal/tst-sigset.c (do_test): Check ech signal indidually and
19076 also check realtime signals using standard macros.
19077 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
19078 __is_internal_signal, __libc_signal_block_all,
19079 __libc_signal_block_app, __libc_signal_restore_set): New functions.
19080 * sysdeps/nptl/sigfillset.c: Remove file.
19081 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
19082 Change return to bool.
19083 (__clear_internal_signals): Remove SIGTIMER clean since it is
19084 equal to SIGCANEL on Linux.
19085 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
19086 signal set was constructed using standard functions.
19088 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19090 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
19091 ifname is too long.
19092 * hurd/hurdsig.c (interrupted_reply_port_location): Use
19093 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
19094 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
19096 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
19097 * signal/sigaddset.c: Include <sigsetopts.h>.
19098 * signal/sigdelset.c: Likewise.
19100 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19102 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
19104 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
19105 logic as sin and cos.
19107 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19109 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
19110 inputs. Return correct sign.
19111 (do_sincos): Remove small input check before do_sin, let do_sin set
19116 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19118 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
19119 (do_cos_slow): Likewise.
19120 (do_sin_slow): Likewise.
19121 (reduce_and_compute): Likewise.
19126 (sloww1): Likewise.
19127 (sloww2): Likewise.
19129 (bslow1): Likewise.
19130 (bslow2): Likewise.
19131 (cslow2): Likewise.
19133 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19135 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
19136 (do_cos): Remove corp parameter and calculations.
19137 (do_sin): Likewise.
19138 (do_sincos): Remove cor variable.
19139 (__sin): Use do_sincos for huge inputs.
19141 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19142 (reduce_and_compute_sincos): Remove unused function.
19144 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19146 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
19147 reduce_sincos, improve accuracy to 136 bits.
19148 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
19149 (__sin): Use improved reduction and simplified do_sincos calculation.
19151 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19153 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19155 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
19156 (do_sincos_2): Likewise.
19157 (__sin): Remove middle range reduction case.
19159 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
19162 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19164 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
19165 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
19168 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
19170 2018-04-03 Joseph Myers <joseph@codesourcery.com>
19172 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19175 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19177 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
19178 Remove definitions.
19179 (opendir_oflags): Use O_DIRECTORY regardless.
19180 (__opendir, __opendirat): Remove need_isdir_precheck usage.
19181 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
19183 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19185 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
19186 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
19188 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
19189 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
19190 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
19191 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
19192 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
19193 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
19195 * htl/Makefile: Bump licence to LGPL 2.1+.
19196 * htl/alloca_cutoff.c: Likewise.
19197 * htl/cthreads-compat.c: Likewise.
19198 * htl/lockfile.c: Likewise.
19199 * htl/pt-alloc.c: Likewise.
19200 * htl/pt-cancel.c: Likewise.
19201 * htl/pt-cleanup.c: Likewise.
19202 * htl/pt-create.c: Likewise.
19203 * htl/pt-dealloc.c: Likewise.
19204 * htl/pt-detach.c: Likewise.
19205 * htl/pt-exit.c: Likewise.
19206 * htl/pt-getattr.c: Likewise.
19207 * htl/pt-initialize.c: Likewise.
19208 * htl/pt-internal.h: Likewise.
19209 * htl/pt-join.c: Likewise.
19210 * htl/pt-self.c: Likewise.
19211 * htl/pt-setcancelstate.c: Likewise.
19212 * htl/pt-setcanceltype.c: Likewise.
19213 * htl/pt-sigmask.c: Likewise.
19214 * htl/pt-spin-inlines.c: Likewise.
19215 * htl/pt-testcancel.c: Likewise.
19216 * htl/pt-yield.c: Likewise.
19217 * htl/tests/test-1.c: Likewise.
19218 * htl/tests/test-10.c: Likewise.
19219 * htl/tests/test-11.c: Likewise.
19220 * htl/tests/test-12.c: Likewise.
19221 * htl/tests/test-13.c: Likewise.
19222 * htl/tests/test-14.c: Likewise.
19223 * htl/tests/test-15.c: Likewise.
19224 * htl/tests/test-16.c: Likewise.
19225 * htl/tests/test-17.c: Likewise.
19226 * htl/tests/test-2.c: Likewise.
19227 * htl/tests/test-3.c: Likewise.
19228 * htl/tests/test-4.c: Likewise.
19229 * htl/tests/test-5.c: Likewise.
19230 * htl/tests/test-6.c: Likewise.
19231 * htl/tests/test-7.c: Likewise.
19232 * htl/tests/test-8.c: Likewise.
19233 * htl/tests/test-9.c: Likewise.
19234 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
19235 * sysdeps/htl/bits/cancelation.h: Likewise.
19236 * sysdeps/htl/bits/pthread-np.h: Likewise.
19237 * sysdeps/htl/bits/pthread.h: Likewise.
19238 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
19239 * sysdeps/htl/bits/semaphore.h: Likewise.
19240 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
19241 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
19242 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
19243 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
19244 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
19245 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
19246 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
19247 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
19248 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
19249 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
19250 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
19251 * sysdeps/htl/old_pt-atfork.c: Likewise.
19252 * sysdeps/htl/pt-atfork.c: Likewise.
19253 * sysdeps/htl/pt-attr-destroy.c: Likewise.
19254 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
19255 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
19256 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
19257 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
19258 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
19259 * sysdeps/htl/pt-attr-getscope.c: Likewise.
19260 * sysdeps/htl/pt-attr-getstack.c: Likewise.
19261 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
19262 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
19263 * sysdeps/htl/pt-attr-init.c: Likewise.
19264 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
19265 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
19266 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
19267 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
19268 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
19269 * sysdeps/htl/pt-attr-setscope.c: Likewise.
19270 * sysdeps/htl/pt-attr-setstack.c: Likewise.
19271 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
19272 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
19273 * sysdeps/htl/pt-attr.c: Likewise.
19274 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
19275 * sysdeps/htl/pt-barrier-init.c: Likewise.
19276 * sysdeps/htl/pt-barrier-wait.c: Likewise.
19277 * sysdeps/htl/pt-barrier.c: Likewise.
19278 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
19279 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
19280 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
19281 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
19282 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
19283 * sysdeps/htl/pt-cond-destroy.c: Likewise.
19284 * sysdeps/htl/pt-cond-init.c: Likewise.
19285 * sysdeps/htl/pt-cond-signal.c: Likewise.
19286 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
19287 * sysdeps/htl/pt-cond-wait.c: Likewise.
19288 * sysdeps/htl/pt-cond.c: Likewise.
19289 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
19290 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
19291 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
19292 * sysdeps/htl/pt-condattr-init.c: Likewise.
19293 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
19294 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
19295 * sysdeps/htl/pt-destroy-specific.c: Likewise.
19296 * sysdeps/htl/pt-equal.c: Likewise.
19297 * sysdeps/htl/pt-getconcurrency.c: Likewise.
19298 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
19299 * sysdeps/htl/pt-getschedparam.c: Likewise.
19300 * sysdeps/htl/pt-getspecific.c: Likewise.
19301 * sysdeps/htl/pt-init-specific.c: Likewise.
19302 * sysdeps/htl/pt-key-create.c: Likewise.
19303 * sysdeps/htl/pt-key-delete.c: Likewise.
19304 * sysdeps/htl/pt-key.h: Likewise.
19305 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
19306 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
19307 * sysdeps/htl/pt-mutex-init.c: Likewise.
19308 * sysdeps/htl/pt-mutex-lock.c: Likewise.
19309 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
19310 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
19311 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
19312 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
19313 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
19314 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
19315 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
19316 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
19317 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
19318 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
19319 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
19320 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
19321 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
19322 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
19323 * sysdeps/htl/pt-mutexattr.c: Likewise.
19324 * sysdeps/htl/pt-once.c: Likewise.
19325 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
19326 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
19327 * sysdeps/htl/pt-rwlock-init.c: Likewise.
19328 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
19329 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
19330 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
19331 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
19332 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
19333 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
19334 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
19335 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
19336 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
19337 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
19338 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
19339 * sysdeps/htl/pt-setconcurrency.c: Likewise.
19340 * sysdeps/htl/pt-setschedparam.c: Likewise.
19341 * sysdeps/htl/pt-setschedprio.c: Likewise.
19342 * sysdeps/htl/pt-setspecific.c: Likewise.
19343 * sysdeps/htl/pt-spin.c: Likewise.
19344 * sysdeps/htl/pt-startup.c: Likewise.
19345 * sysdeps/htl/pthread.h: Likewise.
19346 * sysdeps/htl/sem-close.c: Likewise.
19347 * sysdeps/htl/sem-destroy.c: Likewise.
19348 * sysdeps/htl/sem-getvalue.c: Likewise.
19349 * sysdeps/htl/sem-init.c: Likewise.
19350 * sysdeps/htl/sem-open.c: Likewise.
19351 * sysdeps/htl/sem-post.c: Likewise.
19352 * sysdeps/htl/sem-timedwait.c: Likewise.
19353 * sysdeps/htl/sem-trywait.c: Likewise.
19354 * sysdeps/htl/sem-unlink.c: Likewise.
19355 * sysdeps/htl/sem-wait.c: Likewise.
19356 * sysdeps/hurd/htl/pt-kill.c: Likewise.
19357 * sysdeps/i386/htl/pt-machdep.h: Likewise.
19358 * sysdeps/mach/htl/pt-block.c: Likewise.
19359 * sysdeps/mach/htl/pt-spin.c: Likewise.
19360 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
19361 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
19362 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
19363 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
19364 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
19365 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
19366 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
19367 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
19368 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
19369 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
19370 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
19371 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
19372 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
19373 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
19374 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
19375 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
19376 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
19377 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
19378 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
19379 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
19380 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
19381 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
19382 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
19383 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
19384 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
19385 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
19386 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
19387 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
19388 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
19389 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
19390 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
19391 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
19392 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
19393 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
19394 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
19395 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
19396 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
19397 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
19398 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
19399 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
19400 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
19401 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
19402 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
19404 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
19405 * README: Remove the mention of out-of-tree patches needed for
19408 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
19409 (UTIME_NOW, UTIME_OMIT): Define macros.
19411 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
19412 instead of pthread_detach.
19413 (__cthread_fork): Call __pthread_create instead of pthread_create.
19414 (__cthread_keycreate): Call __pthread_key_create instead of
19415 pthread_key_create.
19416 (__cthread_getspecific): Call __pthread_getspecific instead of
19417 pthread_getspecific.
19418 (__cthread_setspecific): Call __pthread_setspecific instead of
19419 pthread_setspecific.
19420 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
19421 __pthread_mutex_unlock instead of pthread_mutex_lock and
19422 pthread_mutex_unlock.
19423 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
19424 ___pthread_get_cleanup_stack.
19425 (__pthread_get_cleanup_stack): New strong alias.
19426 * htl/pt-create.c: Include <pthreadP.h>.
19427 (entry_point): Call __pthread_exit instead of pthread_exit.
19428 (pthread_create): Rename to __pthread_create.
19429 (pthread_create): New strong alias.
19430 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
19431 (pthread_detach): New strong alias.
19432 (__pthread_detach): Call __pthread_cond_broadcast instead of
19433 pthread_cond_broadcast.
19434 * htl/pt-exit.c: Include <pthreadP.h>.
19435 (__pthread_exit): Call __pthread_setcancelstate and
19436 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
19437 __pthread_get_cleanup_stack.
19438 * htl/pt-testcancel.c: Include <pthreadP.h>.
19439 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
19440 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
19441 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
19442 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
19443 pthread_attr_getstacksize.
19444 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
19445 Rename to __pthread_attr_getstackaddr.
19446 (pthread_attr_getstackaddr): New strong alias.
19447 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
19448 Rename to __pthread_attr_getstacksize.
19449 (pthread_attr_getstacksize): New strong alias.
19450 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
19451 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
19452 (pthread_attr_setstack): New strong alias.
19453 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
19454 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
19455 pthread_attr_getstacksize, pthread_attr_setstacksize and
19456 pthread_attr_setstackaddr.
19457 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
19458 Rename to __pthread_attr_setstackaddr.
19459 (pthread_attr_setstackaddr): New strong alias.
19460 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
19461 Rename to __pthread_attr_setstacksize.
19462 (pthread_attr_setstacksize): New strong alias.
19463 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
19464 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
19466 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
19467 (__pthread_key_create): New hidden def.
19468 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
19469 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
19470 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
19471 __pthread_exit, __pthread_key_create, __pthread_getspecific,
19472 __pthread_setspecific, __pthread_setcancelstate,
19473 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
19474 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
19475 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
19477 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
19478 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
19479 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
19480 (pthread_attr_setstackaddr): New strong alias.
19481 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
19482 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
19483 (pthread_attr_setstacksize): New strong alias.
19484 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
19485 (call_exit): Call __pthread_exit instead of pthread_exit.
19486 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
19487 (_pthread_mutex_init): New hidden definition.
19488 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
19489 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
19490 instead of pthread_attr_init and pthread_attr_setstack.
19492 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
19493 __vm_deallocate instead of vm_allocate and vm_deallocate.
19494 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
19496 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
19498 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
19500 * hurd/siginfo.c: Include <libioP.h>.
19501 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
19502 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
19504 * mach/devstream.c: Include <libioP.h>.
19505 (dealloc_ref): Call __mach_port_deallocate instead of
19506 mach_port_deallocate.
19507 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
19508 Call __mach_port_deallocate instead of mach_port_deallocate.
19509 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
19511 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
19513 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
19514 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
19515 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
19517 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
19519 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
19520 instead of sysconf.
19521 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
19522 __clock_gettime instead of clock_gettime.
19523 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
19524 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19525 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
19526 * sysdeps/unix/bsd/stty.c (stty): Likewise.
19527 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
19529 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
19530 __clock_gettime and __nanosleep instead of clock_gettime and
19532 * hurd/catch-signal.c (hurd_catch_signal): Rename to
19533 __hurd_catch_signal.
19534 (hurd_catch_signal): New strong alias.
19535 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
19536 __hurd_catch_signal instead of hurd_catch_signal.
19537 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
19538 * hurd/hurdexec.c (_hurd_init): Add hidden def.
19539 * hurd/hurdinit.c (_hurd_init): Add hidden def.
19540 * hurd/hurdsig.c: Include <mach/mig_support.h>.
19541 (_hurd_thread_sigstate): Add hidden def.
19542 (_hurd_internal_post_signal): Use __mutex_unlock instead of
19544 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
19545 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
19546 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
19547 __hurd_file_name_path_lookup.
19548 (hurd_file_name_path_lookup): New strong alias.
19549 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
19550 hurd_file_name_path_lookup.
19551 * mach/errstring.c (mach_error_type): Add hidden def.
19552 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
19553 * mach/mutex-init.c (__mutex_init): Add hidden def.
19554 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
19555 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
19556 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
19557 * sysdeps/mach/hurd/getcwd.c
19558 (_hurd_canonicalize_directory_name_internal): Rename to
19559 __hurd_canonicalize_directory_name_internal.
19560 (_hurd_canonicalize_directory_name_internal): New strong alias.
19561 (__canonicalize_directory_name_internal, __getcwd): Call
19562 __hurd_canonicalize_directory_name_internal instead of
19563 _hurd_canonicalize_directory_name_internal.
19564 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
19565 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
19567 * sysdeps/hurd/include/hurd.h: New file.
19568 * sysdeps/hurd/include/hurd/fd.h: New file.
19569 * sysdeps/hurd/include/hurd/signal.h: New file.
19570 * sysdeps/mach/include/lock-intern.h: New file.
19571 * sysdeps/mach/include/mach.h: New file.
19572 * sysdeps/mach/include/mach/mig_support.h: New file.
19573 * sysdeps/mach/include/mach_error.h: New file.
19574 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
19576 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
19577 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
19578 _HEADER_H_HIDDEN_DEF macro.
19579 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
19580 _hurd_fd_error_signal): Add hidden prototype.
19581 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
19583 * libio/iolibio.h (_IO_puts): New hidden prototype.
19584 * libio/ioputs.c (_IO_puts): New hidden def.
19585 * sysdeps/mach/hurd/localplt.data: New file.
19587 2018-04-02 Agustina Arzille <avarzille@riseup.net>
19588 Amos Jeffries <squid3@treenet.co.nz>
19589 David Michael <fedora.dm0@gmail.com>
19590 Marco Gerards <marco@gnu.org>
19591 Marcus Brinkmann <marcus@gnu.org>
19592 Neal H. Walfield <neal@gnu.org>
19593 Pino Toscano <toscano.pino@tiscali.it>
19594 Richard Braun <rbraun@sceen.net>
19595 Roland McGrath <roland@gnu.org>
19596 Samuel Thibault <samuel.thibault@ens-lyon.org>
19597 Thomas DiModica <ricinwich@yahoo.com>
19598 Thomas Schwinge <tschwinge@gnu.org>
19600 * htl: New directory.
19601 * sysdeps/htl: New directory.
19602 * sysdeps/hurd/htl: New directory.
19603 * sysdeps/i386/htl: New directory.
19604 * sysdeps/mach/htl: New directory.
19605 * sysdeps/mach/hurd/htl: New directory.
19606 * sysdeps/mach/hurd/i386/htl: New directory.
19607 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
19608 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
19609 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
19611 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19613 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
19614 signals in thread created for runing timers.
19616 2018-04-01 Florian Weimer <fweimer@redhat.com>
19618 * support/support_format_addrinfo.c (support_format_addrinfo):
19619 Include unknown error number in formatted result.
19621 2018-03-29 Florian Weimer <fweimer@redhat.com>
19623 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
19626 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19628 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
19629 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
19630 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19631 (__ASSUME_CLONE_BACKWARDS): Define.
19633 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
19636 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
19637 early when linux sentinel value is set.
19639 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19641 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
19643 2018-03-27 Andreas Schwab <schwab@suse.de>
19646 * resolv/res_send.c (__res_context_send): Return ENOMEM if
19647 allocation of private copy of nsaddr_list fails.
19649 2018-03-26 Joseph Myers <joseph@codesourcery.com>
19652 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
19653 * sysdeps/unix/sysv/linux/umount.c: ... here.
19654 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
19655 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
19656 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
19657 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
19658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
19659 * sysdeps/unix/sysv/linux/umount.S: Likewise.
19660 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
19662 2018-03-26 Andreas Schwab <schwab@suse.de>
19664 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
19665 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
19666 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
19667 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
19668 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
19669 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
19670 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
19671 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
19672 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
19673 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
19674 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
19675 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
19676 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
19677 (R_RISCV_NUM): Define.
19679 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19681 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
19682 TLS declaration of errno.
19683 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
19685 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
19686 (ARCH_SETUP_TLS): Likewise.
19687 * sysdeps/mach/hurd/libc-start.h: New file copied from
19688 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
19689 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
19690 instead of __libc_setup_tls.
19691 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
19692 __libc_setup_tls before initializing libpthread and running _hurd_init
19693 which starts the signal thread.
19694 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
19696 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19698 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
19701 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
19702 after it is defined.
19704 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
19705 Max Horn <max@quendi.de>
19709 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
19711 * string/test-memmove.c (do_test2): New testcase.
19713 2018-03-22 Joseph Myers <joseph@codesourcery.com>
19715 * sysdeps/generic/frame.h: Remove file.
19716 * sysdeps/arm/frame.h: Likewise.
19717 * sysdeps/hppa/frame.h: Likewise.
19718 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
19720 (GET_FRAME): Likewise.
19721 (GET_STACK): Likewise.
19722 (CALL_SIGHANDLER): Likewise.
19723 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
19725 (GET_FRAME): Likewise.
19726 (GET_STACK): Likewise.
19727 (CALL_SIGHANDLER): Likewise.
19728 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
19729 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19730 (GET_FRAME): Likewise.
19731 (GET_STACK): Likewise.
19732 (CALL_SIGHANDLER): Likewise.
19733 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
19734 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19735 (GET_FRAME): Likewise.
19736 (GET_STACK): Likewise.
19737 (ADVANCE_STACK_FRAME): Likewise.
19738 (CALL_SIGHANDLER): Likewise.
19739 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
19740 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19741 (GET_FRAME): Likewise.
19742 (GET_STACK): Likewise.
19743 (CALL_SIGHANDLER): Likewise.
19744 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
19745 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19746 (GET_FRAME): Likewise.
19747 (GET_STACK): Likewise.
19748 (CALL_SIGHANDLER): Likewise.
19749 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
19750 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19751 (GET_FRAME): Likewise.
19752 (GET_STACK): Likewise.
19753 (CALL_SIGHANDLER): Likewise.
19754 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
19755 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19756 (GET_FRAME): Likewise.
19757 (GET_STACK): Likewise.
19758 (CALL_SIGHANDLER): Likewise.
19759 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
19760 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19761 (GET_FRAME): Likewise.
19762 (GET_STACK): Likewise.
19763 (CALL_SIGHANDLER): Likewise.
19764 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
19765 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19766 (GET_FRAME): Likewise.
19767 (GET_STACK): Likewise.
19768 (CALL_SIGHANDLER): Likewise.
19769 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
19770 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19771 (GET_FRAME): Likewise.
19772 (GET_STACK): Likewise.
19773 (CALL_SIGHANDLER): Likewise.
19774 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
19775 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19776 (GET_FRAME): Likewise.
19777 (GET_STACK): Likewise.
19778 (CALL_SIGHANDLER): Likewise.
19779 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
19780 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19781 (GET_FRAME): Likewise.
19782 (GET_STACK): Likewise.
19783 (CALL_SIGHANDLER): Likewise.
19784 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
19785 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19786 (FIRST_FRAME_POINTER): Likewise.
19787 (ADVANCE_STACK_FRAME): Likewise.
19788 (GET_STACK): Likewise.
19789 (GET_FRAME): Likewise.
19790 (CALL_SIGHANDLER): Likewise.
19791 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
19792 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19793 (ADVANCE_STACK_FRAME): Likewise.
19794 (GET_STACK): Likewise.
19795 (GET_FRAME): Likewise.
19796 (CALL_SIGHANDLER): Likewise.
19797 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
19798 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19799 (GET_FRAME): Likewise.
19800 (GET_STACK): Likewise.
19801 (CALL_SIGHANDLER): Likewise.
19802 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
19803 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19804 (GET_FRAME): Likewise.
19805 (GET_STACK): Likewise.
19806 (CALL_SIGHANDLER): Likewise.
19808 2018-03-21 Joseph Myers <joseph@codesourcery.com>
19810 * sysdeps/x86_64/backtrace.c: Move to ....
19811 * debug/backtrace.c: ... here.
19812 * sysdeps/aarch64/backtrace.c: Remove file.
19813 * sysdeps/alpha/backtrace.c: Likewise.
19814 * sysdeps/hppa/backtrace.c: Likewise.
19815 * sysdeps/ia64/backtrace.c: Likewise.
19816 * sysdeps/mips/backtrace.c: Likewise.
19817 * sysdeps/nios2/backtrace.c: Likewise.
19818 * sysdeps/riscv/backtrace.c: Likewise.
19819 * sysdeps/sh/backtrace.c: Likewise.
19820 * sysdeps/tile/backtrace.c: Likewise.
19822 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19825 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
19828 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
19831 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
19832 possibly overflowing computations.
19834 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
19836 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
19837 values from Linux-specific section now that it is in the GNU section.
19838 * sysdeps/gnu/errlist.c: Regenerate.
19840 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19842 * math/Makefile (libm-narrow-fns): Add sub.
19843 (libm-test-funcs-narrow): Likewise.
19844 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
19845 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
19846 * math/gen-auto-libm-tests.c (test_functions): Add sub.
19847 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
19848 (NARROW_SUB_ROUND_TO_ODD): Likewise.
19849 (NARROW_SUB_TRIVIAL): Likewise.
19850 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
19852 (__dsubl): Likewise.
19853 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
19855 (CFLAGS-nldbl-dsub.c): New variable.
19856 (CFLAGS-nldbl-fsub.c): Likewise.
19857 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19859 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
19861 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
19862 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
19863 * math/auto-libm-test-in: Add tests of sub.
19864 * math/auto-libm-test-out-narrow-sub: New generated file.
19865 * math/libm-test-narrow-sub.inc: New file.
19866 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
19867 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
19868 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
19869 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
19870 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
19871 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
19872 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
19873 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
19874 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
19875 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
19876 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
19877 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
19878 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
19879 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
19880 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
19881 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
19882 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
19883 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
19884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19885 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19886 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19887 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19888 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19889 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19890 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19891 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19892 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19893 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19894 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19895 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19896 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19897 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19902 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19903 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19904 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19905 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19906 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19907 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19908 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19909 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19910 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19911 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19913 2018-03-19 Joseph Myers <joseph@codesourcery.com>
19916 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
19918 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
19920 * benchtests/bench-timing.h (attribute_hidden): Undefine.
19922 2018-03-18 Richard Braun <rbraun@sceen.net>
19924 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
19927 2018-03-18 Agustina Arzille <avarzille@riseup.net>
19929 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
19930 (__libc_cleanup_fct): Define function.
19931 (__libc_cleanup_region_start, __libc_cleanup_region_end,
19932 __libc_cleanup_end): Rewrite implementation using
19933 __attribute__ ((__cleanup__)).
19934 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
19935 * hurd/Makefile (routines): Add hurdlock.
19936 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
19938 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
19939 * hurd/hurdpid.c: Include <lowlevellock.h>
19940 (_S_msg_proc_newids): Use lll_wait to synchronize.
19941 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
19942 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
19943 * mach/Makefile (lock-headers): Remove machine-lock.h.
19944 * mach/lock-intern.h: Include <lowlevellock.h> instead of
19946 (__spin_lock_t): New type.
19947 (__SPIN_LOCK_INITIALIZER): New macro.
19948 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
19949 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
19950 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
19951 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
19952 (__mutex_init): Initialize with lll.
19953 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
19954 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
19956 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19957 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
19958 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
19959 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
19960 (__setpgid): Use lll for synchronization.
19961 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
19962 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
19963 instead of <cthreads.h>.
19964 (_IO_lock_inexpensive): New macro
19965 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
19966 (__libc_lock_self0): New declaration.
19967 (__libc_lock_owner_self): New macro.
19968 (__libc_key_t): Remove type.
19969 (_LIBC_LOCK_INITIALIZER): New macro.
19970 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
19971 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
19972 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
19973 __libc_lock_define_initialized_recursive,
19974 __rtld_lock_define_initialized_recursive,
19975 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
19976 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
19977 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
19978 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
19979 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
19980 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
19981 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
19983 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
19984 * hurd/hurdlock.c: New file.
19985 * hurd/hurdlock.h: New file.
19986 * mach/lowlevellock.h: New file
19988 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19990 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
19991 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
19992 when opening a symlink with O_NOFOLLOW.
19993 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
19994 path when flags contains O_NOFOLLOW.
19995 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
19996 if flags contains O_DIRECTORY and the result is a directory.
19997 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
19998 oneself when the pointer given in D is nul (as set by ext2fs).
19999 * sysdeps/mach/hurd/mlockall.c: New file.
20000 * sysdeps/mach/hurd/munlockall.c: New file.
20002 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
20004 * hurd/hurdsig.c: Include <pthread.h>.
20005 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
20006 get the signal thread stack layout.
20007 * hurd/Makefile (headers): Remove threadvar.h.
20008 (inline-headers): Remove threadvar.h.
20009 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
20010 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
20011 __hurd_threadvar_max, __hurd_errno_location.
20012 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
20013 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
20014 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
20015 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
20016 unless TLS is not initialized yet, in which case we do not need a
20017 critical section yet anyway.
20018 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
20020 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
20022 (__hurd_threadvar_index): Remove enum.
20023 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
20024 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
20026 (__hurd_reply_port0): New variable declaration.
20027 (__hurd_local_reply_port): New macro.
20028 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
20029 (interrupted_reply_port_location): Add thread_t parameter. Use it
20030 with THREAD_TCB to access thread-local variables.
20031 (_hurdsig_abort_rpcs): Pass ss->thread to
20032 interrupted_reply_port_location.
20033 (_hurd_internal_post_signal): Likewise.
20034 (_hurdsig_init): Use presence of cthread_fork instead of
20035 __hurd_threadvar_stack_mask to start signal thread by hand.
20036 Remove signal thread threadvar initialization.
20037 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
20038 * hurd/sigunwind.c: Include <hurd/threadvar.h>
20039 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
20041 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
20043 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
20044 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
20045 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
20046 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
20047 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
20048 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
20049 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
20051 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
20052 <hurd/threadvar.h>.
20053 [IS_IN(rtld)] (rtld_errno): New variable.
20054 [IS_IN(rtld)] (__errno_location): New weak function.
20055 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
20056 * sysdeps/mach/hurd/errno.c: Remove file.
20057 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
20058 (__fork): Remove THREADVAR_SPACE macro and its use.
20059 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
20061 (init): Do not initialize threadvar.
20062 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
20064 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
20065 __hurd_local_reply_port instead of threadvar.
20066 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
20067 _hurd_sigstate fields.
20068 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
20069 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
20070 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
20071 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
20072 instead of threadvar.
20073 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
20074 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
20075 (use_threadvar, global_reply_port): Remove variables.
20076 (__hurd_reply_port0): New variable.
20077 (__mig_get_reply_port): Use __hurd_local_reply_port and
20078 __hurd_reply_port0 instead of threadvar.
20079 (__mig_dealloc_reply_port): Likewise.
20080 (__mig_init): Do not initialize threadvar.
20081 * sysdeps/mach/hurd/profil.c: Fix comment.
20082 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
20083 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
20084 cthread_keycreate, cthread_getspecific, cthread_setspecific to
20085 __cthread_fork, __cthread_detach, __pthread_getattr_np,
20086 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
20087 __cthread_setspecific.
20088 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
20089 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
20090 __cthread_t instead of cthread_fork, cthread_detach,
20091 pthread_getattr_np, pthread_attr_getstack.
20092 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
20093 __cthread_keycreate.
20094 (cthread_getspecific): Rename to __cthread_getspecific.
20095 (cthread_setspecific): Rename to __cthread_setspecific.
20096 (__libc_getspecific): Use __cthread_getspecific instead of
20097 cthread_getspecific.
20098 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
20099 __cthread_keycreate instead of cthread_keycreate.
20100 (__libc_setspecific): Use __cthread_setspecific instead of
20101 cthread_setspecific.
20102 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
20104 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
20105 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
20106 testing whether it is defined.
20108 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20110 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
20112 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
20113 * sysdeps/mach/i386/thread_state.h
20114 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
20116 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
20118 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
20120 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
20121 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
20123 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
20125 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
20126 descriptor instead of creating a new one.
20127 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
20129 * mach/setup-thread.c: Include <ldsodefs.h>.
20130 (__mach_setup_thread): Call _dl_allocate_tls, pass
20131 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
20132 MACHINE_THREAD_STATE_FLAVOR, before getting
20133 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
20134 MACHINE_THREAD_STATE_FLAVOR with the result.
20135 * hurd/hurdfault.c (_hurdsig_fault_init): Call
20136 MACHINE_THREAD_STATE_FIX_NEW.
20137 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
20138 too. Add original thread parameter.
20140 2018-03-16 Joseph Myers <joseph@codesourcery.com>
20142 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
20143 Remove inline function.
20145 * sysdeps/i386/fpu/libm-test-ulps: Update.
20146 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20148 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
20150 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
20153 2018-03-15 Joseph Myers <joseph@codesourcery.com>
20155 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
20156 (__sincos_code): Remove define and undefine.
20157 [__FAST_MATH__] (__sincos): Remove inline function.
20158 [__FAST_MATH__] (__sincosf): Remove inline function.
20159 [__FAST_MATH__] (__sincosl): Remove inline function.
20160 (__atan2l): Remove inline functions.
20161 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
20162 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
20164 (floor): Remove inline function.
20166 [__FAST_MATH__] (__ldexp_code): Remove macro.
20167 [__FAST_MATH__] (ldexp): Remove inline function.
20168 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
20169 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
20170 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
20171 [__USE_ISOC99] (__lrint_code): Remove macro.
20172 [__USE_ISOC99] (__llrint_code): Likewise.
20173 [__USE_ISOC99] (lrintf): Remove inline function.
20174 [__USE_ISOC99] (lrint): Likewise.
20175 [__USE_ISOC99] (lrintl): Likewise.
20176 [__USE_ISOC99] (llrint): Likewise.
20177 [__USE_ISOC99] (llrintf): Likewise.
20178 [__USE_ISOC99] (llrintl): Likewise.
20180 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20182 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
20183 (__ieee754_sqrtf): Remove.
20184 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
20185 (__ieee754_sqrtf): Remove.
20186 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
20187 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20188 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
20189 (__ieee754_sqrtf): Remove.
20190 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
20191 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
20194 (__ieee754_sqrt): Remove.
20195 (__ieee754_sqrtf): Remove.
20196 (__ieee754_sqrtl): Remove.
20197 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20198 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
20199 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
20200 (__ieee754_sqrtf): Remove.
20201 (__ieee754_sqrtl): Remove.
20203 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20205 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
20206 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20207 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20208 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
20209 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
20210 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20211 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20212 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20214 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
20215 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
20216 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20217 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20218 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
20219 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
20220 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20221 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
20222 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20223 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20224 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
20225 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20226 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
20227 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
20228 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
20229 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20230 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20231 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20232 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
20233 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
20234 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20235 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20236 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
20237 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
20238 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
20239 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
20240 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20241 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20242 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
20243 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20244 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20245 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
20246 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20247 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
20248 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20249 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20250 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
20251 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
20252 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20253 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
20255 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20257 * include/math.h (sqrt): Declare with asm redirect.
20260 (sqrtf128): Likewise.
20261 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
20262 nonlib and libnldbl with -fmath-errno.
20263 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
20264 * math/w_sqrt_template.c: Likewise.
20265 * math/w_sqrtf_compat.c: Likewise.
20266 * math/w_sqrtl_compat.c: Likewise.
20267 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
20268 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
20269 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
20272 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20274 * benchtests/Makefile: Define _ISOMAC.
20275 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
20276 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
20277 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
20278 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
20279 * benchtests/bench-timing.h: Define attribute_hidden.
20281 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
20283 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
20286 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20289 * localedata/locales/cs_CZ (mon): Rename to...
20291 (mon): Import from CLDR (genitive case).
20293 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20296 * localedata/locales/el_CY (abmon): Rename to...
20297 (ab_alt_mon): This.
20298 (abmon): Import from CLDR (abbreviated genitive case).
20299 * localedata/locales/el_GR (abmon): Rename to...
20300 (ab_alt_mon): This.
20301 (abmon): Import from CLDR (abbreviated genitive case).
20303 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20306 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
20308 2018-03-15 Robert Buj <robert.buj@gmail.com>
20311 * localedata/locales/ca_ES (abmon): Rename to...
20312 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20313 (mon): Rename to...
20315 (abmon): Import from CLDR (genitive case, month names preceded by
20318 (abday): Synchronize with CLDR.
20319 (d_t_fmt): Likewise.
20323 (LC_TIME): Improve indentation.
20324 (LC_TELEPHONE): Likewise.
20325 (LC_NAME): Likewise.
20326 (LC_ADDRESS): Likewise.
20328 2018-03-14 Joseph Myers <joseph@codesourcery.com>
20330 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
20331 (lrintf): Remove definitions used only with old GCC.
20332 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
20333 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
20334 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
20335 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
20336 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
20337 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
20338 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
20339 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
20340 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
20341 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
20342 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
20343 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
20344 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
20345 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
20346 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
20347 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
20348 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
20349 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
20350 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
20351 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
20352 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
20353 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
20354 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
20355 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
20356 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
20357 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
20358 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
20359 [__FAST_MATH__] (__M_SQRT2): Remove macro.
20361 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20363 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
20364 instruction to unbreak builds with binutils 2.26 and older.
20366 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20368 * sysdeps/aarch64/strncmp.S (count): New macro.
20369 (strncmp): Store misaligned length in SRC1 in COUNT.
20370 (mutual_align): Adjust.
20371 (misaligned8): Load dword at a time when it is safe.
20373 2018-03-12 Zack Weinberg <zackw@panix.com>
20377 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
20378 if the _IO_EOF_SEEN bit is already set; update commentary.
20379 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
20380 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20382 * support/support_openpty.c, support/tty.h: New files.
20383 * support/Makefile (libsupport-routines): Add support_openpty.
20385 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
20387 * libio/Makefile (tests): Add tst-fgetc-after-eof.
20388 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
20390 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
20392 * po/pt_BR.po: Update translations.
20394 2018-03-12 David Michael <fedora.dm0@gmail.com>
20396 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
20397 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
20398 get a port to the startup server.
20400 2018-03-11 Zack Weinberg <zackw@panix.com>
20402 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
20403 before nldbl-compat.h.
20405 2018-03-10 Zack Weinberg <zackw@panix.com>
20407 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
20408 math.h or math_private.h.
20410 * sysdeps/alpha/fpu/s_isnan.c
20411 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
20412 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
20413 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
20414 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
20415 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
20416 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
20417 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
20418 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
20419 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
20420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
20421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
20422 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
20423 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
20424 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
20425 Include math_private.h.
20427 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
20428 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
20429 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
20430 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
20431 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
20432 * sysdeps/powerpc/power7/fpu/s_logb.c:
20433 Include math.h and math_private.h.
20435 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
20436 uses of $at in .set noat / .set at.
20438 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
20440 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
20441 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
20442 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
20443 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
20446 2018-03-09 Florian Weimer <fweimer@redhat.com>
20448 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
20451 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
20454 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
20455 Add nop before __startcontext, add explaining comments.
20457 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20460 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
20462 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
20463 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
20464 Do not build hardware transactional code for __SPE__.
20465 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20466 (__lll_trylock_elision): Likewise.
20467 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20468 (__lll_unlock_elision): Likewise.
20470 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
20471 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
20472 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20473 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
20474 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
20475 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
20476 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
20477 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
20478 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
20479 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
20480 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
20481 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
20482 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
20483 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
20484 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
20485 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
20486 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
20487 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
20488 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
20489 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
20490 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
20491 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20492 (__ASSUME_CLONE_BACKWARDS): Define.
20493 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
20494 __clone2 if __NR_clone2 is defined.
20495 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20496 (__ASSUME_CLONE_BACKWARDS): Likewise.
20497 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20498 (__ASSUME_CLONE_BACKWARDS): Likewise.
20499 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20500 (__ASSUME_CLONE2): Likewise.
20501 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20502 (__ASSUME_CLONE_BACKWARDS3): Likewise.
20503 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
20504 variants and the define architecture can use.
20505 (__ASSUME_CLONE_DEFAULT): Define as default.
20506 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20507 (__ASSUME_CLONE_BACKWARDS): Likewise.
20508 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20509 (__ASSUME_CLONE_BACKWARDS): Likewise.
20510 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20511 (__ASSUME_CLONE_BACKWARDS2): Likewise.
20513 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
20515 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
20517 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
20520 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
20521 (do_test_limit): Likewise.
20523 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
20524 for every implementation.
20525 (do_test): Likewise.
20527 * benchtests/bench-strncmp.c: Convert output to json.
20529 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20531 * io/futimens.c: Add missing start-of-file descriptive comment.
20532 * io/utime.c: Likewise.
20533 * misc/futimesat.c: Likewise.
20534 * misc/utimes.c: Likewise.
20535 * sysdeps/mach/hurd/futimesat.c: Likewise.
20536 * sysdeps/mach/hurd/utimes.c: Likewise.
20537 * sysdeps/posix/utime.c: Likewise.
20538 * sysdeps/posix/utimes.c: Likewise.
20539 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
20540 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20541 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
20542 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
20544 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20546 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
20548 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
20549 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
20550 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
20551 (__futimens): Move implementation to...
20552 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
20553 utime_tvalue_from_tspec): ... new helper functions.
20554 (hurd_futimens): New function.
20555 * sysdeps/mach/hurd/futimesat.c: New file.
20556 * sysdeps/mach/hurd/utimensat.c: New file.
20558 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
20560 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
20561 UTIME_OMIT): New macros.
20562 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
20563 before reverting to converting time spec to time value and calling
20565 * sysdeps/mach/hurd/utime-helper.c: New file.
20566 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
20567 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
20568 reverting to utime_tvalue_from_tval and __file_utimes.
20569 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
20570 (__lutimes): Just call hurd_futimens after lookup.
20571 * sysdeps/mach/hurd/utimes.c: Likewise.
20573 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20575 * bits/sigaction.h: Add include guard.
20576 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
20577 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
20578 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
20579 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
20580 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
20581 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
20582 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
20583 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
20584 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
20586 2018-03-05 Joseph Myers <joseph@codesourcery.com>
20588 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
20589 -Wmaybe-uninitialized for -Os.
20590 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
20593 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20595 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
20596 __INO_T_MATCHES_INO64_T is defined.
20597 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
20598 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
20600 * dirent/alphasort64.c: Likewise.
20601 * dirent/scandir.c: Likewise.
20602 * dirent/scandir64-tail.c: Likewise.
20603 * dirent/scandir64.c: Likewise.
20604 * dirent/scandirat.c: Likewise.
20605 * dirent/scandirat64.c: Likewise.
20606 * dirent/versionsort.c: Likewise.
20607 * dirent/versionsort64.c: Likewise.
20608 * include/dirent.h: Likewise.
20610 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
20611 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
20612 for socketpair endpoint.
20613 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
20614 WRITE_BUFFER_SIZE as buffer size for sending socket.
20615 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
20616 issue on system where send is implemented with sendto syscall.
20617 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
20618 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
20619 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
20620 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
20623 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
20624 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
20625 sa_restorer for vDSO case.
20626 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
20628 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20630 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
20631 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
20632 * hurd/hurd/ioctl.h: Include <mach/port.h>
20633 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
20634 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
20635 <mach/mach_types.h> and <mach/message.h>.
20636 (headers): Move mach/param.h to bits/mach/param.h.
20637 * sysdeps/mach/i386/mach/param.h: Move file to ...
20638 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
20639 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
20641 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
20642 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
20643 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
20644 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
20645 trivial, for C++ conformity.
20646 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
20647 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
20648 Process mig output through $(migheadersed).
20649 * hurd/Makefile (migheadersed): Define variable.
20650 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
20651 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
20653 * hurd/hurd.h: Include <bits/types/sigset_t.h>
20654 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
20655 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
20656 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
20657 <bits/types/sigset_t.h>.
20658 [!defined __USE_GNU]: Do not #error out.
20659 (struct hurd_sigstate): Use _NSIG instead of NSIG.
20660 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
20661 Include <stddef.h> and <bits/types/sigset_t.h>
20662 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
20663 instead of sighandler_t.
20664 * stdlib/errno.h (error_t): Move definition to...
20665 * bits/types/error_t.h: ... new header.
20666 * stdlib/Makefile (headers): Add bits/types/error_t.h.
20667 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
20668 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
20669 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
20670 * hurd/hurd.h: Include <bits/types/error_t.h>
20671 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
20672 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
20673 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
20674 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
20675 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
20676 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
20677 * sysdeps/mach/hurd/futimens.c: New file.
20679 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
20682 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
20683 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
20684 * nscd/gai.c (__nss_hosts_database): Readd definition.
20685 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
20686 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
20687 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
20689 2018-03-02 Joseph Myers <joseph@codesourcery.com>
20691 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
20692 (ifunc_one): Likewise.
20694 2018-03-01 DJ Delorie <dj@delorie.com>
20697 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
20700 2018-03-01 Maciej W. Rozycki <macro@mips.com>
20702 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
20703 `match_pid' parameter.
20704 (td_ta_thr_iter): Update accordingly.
20706 2018-03-01 Florian Weimer <fweimer@redhat.com>
20708 * nptl/Makefile (install-lib-ldscripts): Remove.
20709 (install): Remove rule.
20710 ($(inst_libdir)/libpthread.so): Likewise.
20712 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20715 * localedata/locales/an_ES: update month and day names,
20716 improve d_fmt, improve postal_fmt, add country_post,
20719 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20721 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
20722 Ukrainian instead of Bulgarian.
20724 2018-03-01 Florian Weimer <fweimer@redhat.com>
20726 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
20729 2018-03-01 Florian Weimer <fweimer@redhat.com>
20731 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
20732 * nptl/Makefile (routines): Add pthread_atfork.
20733 (static-only-routines): Set to pthread_atfork.
20734 (libpthread-routines): Remove pthread_atfork.
20735 (libpthread-static-only-routines): Remove.
20736 (install): Update comment.
20737 (libpthread.so): Do not install libpthread_nonshared.a.
20738 (tests): Do not link with libpthread_nonshared.a.
20739 (generated): Remove libpthread_nonshared.a.
20740 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
20741 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
20742 with libpthread_nonshared.a.
20744 2018-02-28 Joseph Myers <joseph@codesourcery.com>
20747 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
20748 (libc_feholdexcept_setroundf128): New macro.
20749 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
20752 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
20754 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
20755 * include/inttypes.h: New file.
20757 2018-02-27 Joseph Myers <joseph@codesourcery.com>
20759 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
20760 -Os in two more places.
20762 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20764 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
20765 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
20766 be sorted correctly at the moment because of a bug.
20768 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20770 [BZ #22550] - es_ES locale (and other es_* locales): collation should
20771 treat ñ as a primary different character, sync the collation
20772 for Spanish with CLDR.
20773 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
20774 * localedata/Makefile: Add new test files.
20775 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
20776 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
20778 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
20779 * localedata/am_ET.UTF-8.in: New test file.
20780 * localedata/az_AZ.UTF-8.in: Likewise.
20781 * localedata/be_BY.UTF-8.in: Likewise.
20782 * localedata/ber_DZ.UTF-8.in: Likewise.
20783 * localedata/ber_MA.UTF-8.in: Likewise.
20784 * localedata/bg_BG.UTF-8.in: Likewise.
20785 * localedata/br_FR.UTF-8.in: Likewise.
20786 * localedata/cmn_TW.UTF-8.in: Likewise.
20787 * localedata/crh_UA.UTF-8.in: Likewise.
20788 * localedata/csb_PL.UTF-8.in: Likewise.
20789 * localedata/cv_RU.UTF-8.in: Likewise.
20790 * localedata/cy_GB.UTF-8.in: Likewise.
20791 * localedata/dz_BT.UTF-8.in: Likewise.
20792 * localedata/eo.UTF-8.in: Likewise.
20793 * localedata/es_ES.UTF-8.in: Likewise.
20794 * localedata/fa_IR.UTF-8.in: Likewise.
20795 * localedata/fi_FI.UTF-8.in: Likewise.
20796 * localedata/fil_PH.UTF-8.in: Likewise.
20797 * localedata/fur_IT.UTF-8.in: Likewise.
20798 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
20799 * localedata/ha_NG.UTF-8.in: Likewise.
20800 * localedata/ig_NG.UTF-8.in: Likewise.
20801 * localedata/ik_CA.UTF-8.in: Likewise.
20802 * localedata/kk_KZ.UTF-8.in: Likewise.
20803 * localedata/ku_TR.UTF-8.in: Likewise.
20804 * localedata/ky_KG.UTF-8.in: Likewise.
20805 * localedata/ln_CD.UTF-8.in: Likewise.
20806 * localedata/mi_NZ.UTF-8.in: Likewise.
20807 * localedata/ml_IN.UTF-8.in: Likewise.
20808 * localedata/mn_MN.UTF-8.in: Likewise.
20809 * localedata/mr_IN.UTF-8.in: Likewise.
20810 * localedata/mt_MT.UTF-8.in: Likewise.
20811 * localedata/nb_NO.UTF-8.in: Likewise.
20812 * localedata/om_KE.UTF-8.in: Likewise.
20813 * localedata/os_RU.UTF-8.in: Likewise.
20814 * localedata/ps_AF.UTF-8.in: Likewise.
20815 * localedata/ro_RO.UTF-8.in: Likewise.
20816 * localedata/ru_RU.UTF-8.in: Likewise.
20817 * localedata/sc_IT.UTF-8.in: Likewise.
20818 * localedata/se_NO.UTF-8.in: Likewise.
20819 * localedata/sq_AL.UTF-8.in: Likewise.
20820 * localedata/sv_SE.UTF-8.in: Likewise.
20821 * localedata/szl_PL.UTF-8.in: Likewise.
20822 * localedata/tg_TJ.UTF-8.in: Likewise.
20823 * localedata/tk_TM.UTF-8.in: Likewise.
20824 * localedata/tt_RU.UTF-8.in: Likewise.
20825 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
20826 * localedata/ug_CN.UTF-8.in: Likewise.
20827 * localedata/uz_UZ.UTF-8.in: Likewise.
20828 * localedata/vi_VN.UTF-8.in: Likewise.
20829 * localedata/yi_US.UTF-8.in: Likewise.
20830 * localedata/yo_NG.UTF-8.in: Likewise.
20831 * localedata/zh_CN.UTF-8.in: Likewise.
20832 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
20833 file and fix bugs in the collation.
20834 * localedata/locales/az_AZ: Likewise.
20835 * localedata/locales/be_BY: Likewise.
20836 * localedata/locales/ber_DZ: Likewise.
20837 * localedata/locales/ber_MA: Likewise.
20838 * localedata/locales/bg_BG: Likewise.
20839 * localedata/locales/br_FR: Likewise.
20840 * localedata/locales/br_FR@euro: Likewise.
20841 * localedata/locales/ca_ES: Likewise.
20842 * localedata/locales/cns11643_stroke: Likewise.
20843 * localedata/locales/crh_UA: Likewise.
20844 * localedata/locales/cs_CZ: Likewise.
20845 * localedata/locales/csb_PL: Likewise.
20846 * localedata/locales/cv_RU: Likewise.
20847 * localedata/locales/cy_GB: Likewise.
20848 * localedata/locales/da_DK: Likewise.
20849 * localedata/locales/dz_BT: Likewise.
20850 * localedata/locales/en_CA: Likewise.
20851 * localedata/locales/eo: Likewise.
20852 * localedata/locales/es_CU: Likewise.
20853 * localedata/locales/es_EC: Likewise.
20854 * localedata/locales/es_ES: Likewise.
20855 * localedata/locales/es_US: Likewise.
20856 * localedata/locales/et_EE: Likewise.
20857 * localedata/locales/fa_IR: Likewise.
20858 * localedata/locales/fi_FI: Likewise.
20859 * localedata/locales/fil_PH: Likewise.
20860 * localedata/locales/fur_IT: Likewise.
20861 * localedata/locales/gez_ER@abegede: Likewise.
20862 * localedata/locales/ha_NG: Likewise.
20863 * localedata/locales/hr_HR: Likewise.
20864 * localedata/locales/hsb_DE: Likewise.
20865 * localedata/locales/hu_HU: Likewise.
20866 * localedata/locales/ig_NG: Likewise.
20867 * localedata/locales/ik_CA: Likewise.
20868 * localedata/locales/is_IS: Likewise.
20869 * localedata/locales/iso14651_t1_pinyin: Likewise.
20870 * localedata/locales/kk_KZ: Likewise.
20871 * localedata/locales/ku_TR: Likewise.
20872 * localedata/locales/ky_KG: Likewise.
20873 * localedata/locales/ln_CD: Likewise.
20874 * localedata/locales/lt_LT: Likewise.
20875 * localedata/locales/lv_LV: Likewise.
20876 * localedata/locales/mi_NZ: Likewise.
20877 * localedata/locales/ml_IN: Likewise.
20878 * localedata/locales/mn_MN: Likewise.
20879 * localedata/locales/mr_IN: Likewise.
20880 * localedata/locales/mt_MT: Likewise.
20881 * localedata/locales/nb_NO: Likewise.
20882 * localedata/locales/om_KE: Likewise.
20883 * localedata/locales/os_RU: Likewise.
20884 * localedata/locales/pl_PL: Likewise.
20885 * localedata/locales/ps_AF: Likewise.
20886 * localedata/locales/ro_RO: Likewise.
20887 * localedata/locales/ru_RU: Likewise.
20888 * localedata/locales/ru_UA: Likewise.
20889 * localedata/locales/sc_IT: Likewise.
20890 * localedata/locales/se_NO: Likewise.
20891 * localedata/locales/si_LK: Likewise.
20892 * localedata/locales/sq_AL: Likewise.
20893 * localedata/locales/sv_FI: Likewise.
20894 * localedata/locales/sv_FI@euro: Likewise.
20895 * localedata/locales/sv_SE: Likewise.
20896 * localedata/locales/szl_PL: Likewise.
20897 * localedata/locales/tg_TJ: Likewise.
20898 * localedata/locales/ti_ER: Likewise.
20899 * localedata/locales/tk_TM: Likewise.
20900 * localedata/locales/tl_PH: Likewise.
20901 * localedata/locales/tr_TR: Likewise.
20902 * localedata/locales/tt_RU: Likewise.
20903 * localedata/locales/tt_RU@iqtelif: Likewise.
20904 * localedata/locales/ug_CN: Likewise.
20905 * localedata/locales/uk_UA: Likewise.
20906 * localedata/locales/uz_UZ: Likewise.
20907 * localedata/locales/uz_UZ@cyrillic: Likewise.
20908 * localedata/locales/vi_VN: Likewise.
20909 * localedata/locales/yi_US: Likewise.
20910 * localedata/locales/yo_NG: Likewise.
20912 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20914 * gen-locales.mk: Make test files which contain @ modifiers in their
20916 * localedata/gen-locale.sh: Likewise.
20918 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20920 * posix/tst-fnmatch.input: Fix results for range expressions
20922 * posix/tst-regexloc.c: Do not use a range expression for
20923 de_DE.ISO-8859-1 locale.
20925 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20927 * posix/bug-regex5.c: Fix test case because with the new
20928 iso14651_t1_common file, the da_DK locale now has 6 collating elements
20929 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
20932 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20934 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
20935 downloaded from ISO, the collation order of @-. and space has changed.
20936 Therefore, this test file needed to be adapted.
20937 * localedata/fr_CA.UTF-8.in: Likewise.
20938 * localedata/fr_FR.UTF-8.in: Likewise.
20939 * localedata/uk_UA.UTF-8.in: Likewise.
20941 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20943 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
20944 order of ȥ in the new iso14651_t1_common file.
20945 * localedata/pl_PL.UTF-8.in: Likewise.
20947 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20949 * localedata/locales/iso14651_t1_common: Add sections for various
20950 scripts to the iso14651_t1_common file.
20952 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20954 * localedata/locales/iso14651_t1_common: Use the code point of a
20955 character in the fourth collation level instead of IGNORE for all
20956 entries which have IGNORE on all 4 levels.
20958 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20960 * localedata/locales/iso14651_t1_common: Add some convenient collation
20961 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
20962 rules similar to those in CLDR.
20964 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20966 * localedata/locales/iso14651_t1_common: The new version of this
20967 file downloaded from ISO contained several syntax errors which
20968 are fixed by this patch.
20970 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20972 * localedata/locales/iso14651_t1_common: replace all <U.....>
20973 with <U000.....> because glibc understands only 4 digit or 8 digit
20975 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20977 * localedata/locales/iso14651_t1_common: Necessary changes
20978 to make the file downloaded from ISO usable by glibc.
20980 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20983 * localedata/locales/iso14651_t1_common: Update file to
20984 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
20986 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20988 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
20989 of <nptl/pthreadP.h>
20990 (thread_attr_compare): Move function to...
20991 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
20992 * sysdeps/nptl/timer_routines.h: ... new header.
20993 * sysdeps/mach/hurd/gai_misc.h: New file.
20995 2018-02-26 Joseph Myers <joseph@codesourcery.com>
20997 * string/strcoll_l.c: Include <libc-diag.h>.
20998 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
20999 declarations of seq1 and seq2.
21002 * stdlib/atoi.c (atoi): Use libc_hidden_def.
21003 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
21005 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
21009 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
21010 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
21011 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
21012 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
21013 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
21014 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
21016 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21018 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
21019 macros used in __ptrace_request.
21021 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
21024 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
21026 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
21027 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
21028 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
21031 2018-02-23 Joseph Myers <joseph@codesourcery.com>
21034 * ctype/ctype.c (tolower): Use libc_hidden_def.
21035 (toupper): Likewise.
21036 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
21037 [!_ISOMAC] (toupper): Likewise.
21039 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21041 * localedata/Makefile: Remove --quiet argument when
21044 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21047 * localedata/locales/pt_BR (LC_TIME): use / instead of -
21049 * localedata/locales/pt_PT (LC_TIME): likewise
21051 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21054 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
21055 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
21056 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
21058 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21062 * nptl/Makefile (routines): Remove unregister-atfork.
21063 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
21064 (fork_handler_alloc): Remove function.
21065 (fork_handlers, fork_handler_init): New variables.
21066 (__fork_lock): Rename to atfork_lock.
21067 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
21068 to use a dynamic array to add/remove atfork handlers.
21069 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21070 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
21071 Remove declaration.
21072 (fork_handler): Remove next, refcntr, and need_signal member.
21073 (__run_fork_handler_type): New enum.
21074 (__run_fork_handlers): New prototype.
21075 * nptl/register-atfork.c: Remove file.
21076 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
21078 * sysdeps/nptl/nptl-signals.h: Move to ...
21079 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
21081 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
21082 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
21083 unnecessary check for SIGTIMER.
21084 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
21085 remove unnecessary removal of SIGTIMER.
21086 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
21087 include-signals.h rename.
21088 * nptl/pthreadP.h: Likewise.
21089 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
21090 __is_internal_signal instead of __nptl_is_internal_signal.
21092 2018-02-22 Andrew Waterman <andrew@sifive.com>
21095 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
21096 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
21097 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
21098 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
21100 2018-02-22 DJ Delorie <dj@delorie.com>
21102 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
21104 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
21106 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
21107 do_misaligned, not misaligned8.
21109 2018-02-22 Steve Ellcey <sellcey@cavium.com>
21111 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21112 Add memcpy_thunderx2.
21113 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
21115 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
21116 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
21117 and IS_THUNDERX2PA checks.
21118 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
21119 Use macro to set name appropriately.
21120 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
21121 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
21122 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
21124 (IS_THUNDERX2): New macro.
21126 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
21128 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21130 2018-02-21 Zack Weinberg <zackw@panix.com>
21132 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
21133 Define here, unconditionally.
21134 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
21135 * libio/libioP.h: Remove #if 0 blocks.
21136 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
21137 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
21138 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
21140 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
21141 Assume weak_alias is always defined.
21143 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
21144 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
21145 Remove #if 0 and #ifdef TODO blocks.
21146 Assume text_set_element is always defined.
21148 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
21149 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
21150 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
21152 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
21153 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
21154 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
21155 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
21156 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
21157 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
21158 Reformat bit flags for _flags field to make occupancy clearer.
21160 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
21161 Keep definitions consistent with those in libio/libio.h.
21163 * libio/libio.h (_IO_file_flags): Remove macro.
21164 All uses changed to _flags.
21166 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
21167 (__HAVE_COLUMN, _IO_BE): Don't define.
21168 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
21169 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
21170 * libio/libioP.h (EOF): Don't define.
21171 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
21172 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
21173 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
21174 testing _IO_UNIFIED_JUMPTABLES.
21176 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
21177 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
21178 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
21179 (_IO_size_t): Delete; all uses changed to size_t.
21180 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
21181 (_IO_off_t): Delete; all uses changed to off_t.
21182 (_IO_off64_t): Delete; all uses changed to off64_t.
21183 (_IO_pid_t): Delete; all uses changed to pid_t.
21184 (_IO_uid_t): Delete; all uses changed to uid_t.
21185 (_IO_wint_t): Delete; all uses changed to wint_t.
21186 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
21187 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
21188 (_IO_cookie_io_functions_t): Delete; all uses changed to
21189 cookie_io_functions_t.
21190 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
21191 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
21192 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
21193 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
21195 * libio/iofopncook.c: Remove unnecessary forward declarations.
21196 * libio/iolibio.h: Correct outdated commentary.
21197 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
21198 * stdio-common/fxprintf.c (__fxprintf_nocancel):
21199 Remove unnecessary casts.
21200 * stdio-common/getline.c: Use _IO_getdelim directly.
21201 Don't redefine ssize_t.
21202 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
21203 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
21204 Remove outdated comments.
21205 * stdio-common/vfscanf.c: Don't redefine va_list.
21207 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
21208 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
21209 Remove preprocessor conditionals on _LIBC and __USE_GNU,
21210 which are always true, and __cplusplus, which is always false.
21212 2018-02-21 Joseph Myers <joseph@codesourcery.com>
21216 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
21217 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
21218 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
21219 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
21221 [!_ISOMAC] (putc_unlocked): Likewise.
21222 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
21223 define inline if [__USE_EXTERN_INLINES].
21224 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
21229 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
21230 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
21231 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
21232 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
21233 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
21235 * time/tzfile.c (__tzfile_read): Likewise.
21237 2018-02-21 Mike FABIAN <mfabian@redhat.com>
21240 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
21242 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21244 * io/fcntl.h: Fix a typo in a comment.
21246 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21249 * include/features.h: Add _ISOC11_SOURCE to test for whether to
21250 define _DEFAULT_SOURCE.
21251 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
21253 2018-02-21 Florian Weimer <fweimer@redhat.com>
21256 * elf/cache.c (save_cache): Call fsync on temporary file before
21258 (save_aux_cache): Call fdatasync on temporary file before renaming
21261 2018-02-21 Florian Weimer <fweimer@redhat.com>
21264 * include/caller.h: Remove file.
21265 * elf/dl-caller.c: Likewise.
21266 * elf/Makefile (dl-routines): Remove dl-caller.
21267 (shared-only-routines): Do not add dl-caller.
21268 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
21270 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
21272 (dl_open_worker): Do not call __check_caller.
21273 (_dl_open): Do not set caller_dl_open member.
21274 * elf/rtld.c (_rtld_global_ro): Do not initialize
21275 _dl_check_caller member.
21276 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
21277 _dl_check_caller member.
21278 (_dl_check_caller): Remove declaration.
21279 * sysdeps/unix/sysv/linux/dl-execstack.c
21280 (_dl_make_stack_executable): Do not call __check_caller.
21282 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
21284 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
21285 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
21287 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21289 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
21292 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21295 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
21296 of 199606L, 200112L, and 200809L.
21297 (_XOPEN_SOURCE): Document special values of 600 and 700.
21298 (_ISOC11_SOURCE): Document macro.
21299 (_ATFILE_SOURCE): Likewise.
21300 (_FORTIFY_SOURCE): Likewise.
21302 2018-02-19 Joseph Myers <joseph@codesourcery.com>
21306 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
21307 and define as weak alias of __ferror_unlocked. Use
21309 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
21311 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
21312 function if [__USE_EXTERN_INLINES].
21313 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
21316 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
21319 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
21321 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21324 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
21325 the GLIBC_2.1 version.
21327 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21330 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
21331 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
21332 intl/tst-gettext-de.po from po/de.po by removing the
21333 POT-Creation-Date line.
21334 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
21336 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
21339 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
21341 * mach/Makefile (headers): Add mach/param.h.
21342 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
21343 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
21344 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
21345 (__ptsname_r): Move implementation to...
21346 (__ptsname_internal): ... new function. Add filling the STP
21349 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
21351 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
21354 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
21356 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
21359 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21361 * nptl/Makefile (tst-mutex8-ENV): Delete.
21362 * nptl/tst-mutex8.c (check_type):
21363 Add runtime check if mutex will be elided.
21365 2018-02-15 Joseph Myers <joseph@codesourcery.com>
21369 * manual/install.texi (Configuring and compiling): Describe
21370 passing CC and CFLAGS on configure command line, not as
21371 environment variables. Use @code markup on those variables.
21372 Specify what options go in CC and what go in CFLAGS. Note the
21373 requirement to compile with optimization.
21374 * INSTALL: Regenerated.
21377 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
21378 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
21379 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
21380 __sigprocmask instead of sigprocmask.
21381 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
21383 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
21384 __sigsetjmp and sigprocmask.
21387 * include/argz.h (argz_next): Use libc_hidden_proto.
21388 (__argz_next): Likewise.
21389 * string-argz-next.c (__argz_next): Use libc_hidden_def.
21390 (argz_next): Use libc_hidden_weak.
21393 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
21395 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
21399 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
21401 * libio/iofputs.c (fputs): Use libc_hidden_weak.
21405 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
21406 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
21407 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
21408 (__feof_unlocked): New declaration, and inline function if
21409 [__USE_EXTERN_INLINES].
21410 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
21411 instead of feof_unlocked.
21412 * intl/localealias.c [_LIBC] (FEOF): Likewise.
21413 * nss/nsswitch.c (nss_parse_file): Likewise.
21414 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
21416 * time/getdate.c (__getdate_r): Likewise.
21417 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
21418 Define as macro to call __feof_unlocked.
21420 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21422 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
21424 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21426 * math/Makefile: Remove mpexp.c and mplog.c
21427 * sysdeps/i386/fpu/mpexp.c: Delete file.
21428 * sysdeps/i386/fpu/mplog.c: Likewise.
21429 * sysdeps/ia64/fpu/mpexp.c: Likewise.
21430 * sysdeps/ia64/fpu/mplog.c: Likewise.
21431 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
21432 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
21433 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
21434 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21435 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
21436 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
21437 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
21438 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
21439 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
21440 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21441 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
21442 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
21443 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21444 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
21445 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
21446 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21448 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21450 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21452 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21454 * sysdeps/sh/libm-test-ulps: Update.
21456 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21458 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
21461 2018-02-12 Zack Weinberg <zackw@panix.com>
21464 * posix/sys/types.h: Don't include sys/sysmacros.h.
21465 * misc/sys/sysmacros.h: Remove the conditional deprecation
21466 warnings for the macros defined by this header.
21468 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21470 * manual/probes.texi: Remove slowexp probes.
21471 * math/Makefile: Remove slowexp.
21472 * sysdeps/generic/math_private.h (__slowexp): Remove.
21473 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
21474 document error bounds.
21475 * sysdeps/i386/fpu/slowexp.c: Remove.
21476 * sysdeps/ia64/fpu/slowexp.c: Remove.
21477 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
21478 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
21479 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
21480 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
21481 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
21482 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
21483 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
21484 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
21485 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
21486 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
21487 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
21489 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
21492 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
21493 * benchtests/pow-inputs: Update comment for slow path cases.
21494 * manual/probes.texi (slowpow_p10): Delete removed probe.
21495 (slowpow_p10): Likewise.
21496 * math/Makefile: Remove halfulp.c and slowpow.c.
21497 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
21498 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
21499 (__halfulp): Remove.
21500 (__slowpow): Remove.
21501 * sysdeps/i386/fpu/halfulp.c: Delete file.
21502 * sysdeps/i386/fpu/slowpow.c: Likewise.
21503 * sysdeps/ia64/fpu/halfulp.c: Likewise.
21504 * sysdeps/ia64/fpu/slowpow.c: Likewise.
21505 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
21506 improve comments and add error analysis.
21507 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
21508 (power1): Remove function:
21509 (log1): Remove error argument, add error analysis.
21510 (my_log2): Remove function.
21511 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
21512 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21513 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
21514 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
21515 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
21516 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
21517 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
21518 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
21519 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
21520 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
21521 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
21522 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21523 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
21524 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21526 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21528 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
21529 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
21531 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
21534 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
21535 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
21536 and PTRACE_SETHBPREGS.
21538 2018-02-10 Zack Weinberg <zackw@panix.com>
21541 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
21543 * malloc/tst-malloc-stats-cancellation.c: New test case.
21544 * malloc/Makefile: Add new test case.
21546 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
21548 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
21550 2018-02-10 Joseph Myers <joseph@codesourcery.com>
21552 * math/Makefile (libm-narrow-fns): Add add.
21553 (libm-test-funcs-narrow): Likewise.
21554 * math/Versions (GLIBC_2.28): Add narrowing add functions.
21555 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
21556 * math/gen-auto-libm-tests.c (test_functions): Add add.
21557 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
21558 (NARROW_ADD_ROUND_TO_ODD): Likewise.
21559 (NARROW_ADD_TRIVIAL): Likewise.
21560 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
21562 (__daddl): Likewise.
21563 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
21565 (CFLAGS-nldbl-dadd.c): New variable.
21566 (CFLAGS-nldbl-fadd.c): Likewise.
21567 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
21569 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
21571 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
21572 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
21573 * math/auto-libm-test-in: Add tests of add.
21574 * math/auto-libm-test-out-narrow-add: New generated file.
21575 * math/libm-test-narrow-add.inc: New file.
21576 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
21577 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
21578 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
21579 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
21580 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
21581 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
21582 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
21583 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
21584 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
21585 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
21586 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
21587 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
21588 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
21589 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
21590 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
21591 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
21592 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
21593 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
21594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21595 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
21596 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21597 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21598 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21599 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21600 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21601 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21602 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21603 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21604 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21605 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21606 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21607 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
21609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
21610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
21611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
21612 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21613 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21614 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21615 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21616 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21617 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21618 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
21619 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
21620 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21621 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21623 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
21624 (f128-pairs): New variable.
21625 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
21626 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
21628 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
21629 Also make tests add $(f128-loader-link) to gnulib-tests.
21631 2018-02-09 DJ Delorie <dj@redhat.com>
21634 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
21635 64-bit ELF type for 64-bit ELF objects.
21637 2018-02-09 Joseph Myers <joseph@codesourcery.com>
21639 * math/libm-test-driver.c (snan_tests_arg): New variable.
21640 * math/libm-test-support.h (snan_tests_arg): New declaration.
21641 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
21643 * math/Makefile (test-type-pairs): New variable.
21644 (test-type-pairs-f64xf128-yes): Likewise.
21645 (tests): Add test-narrow-macros.
21646 (libm-test-funcs-narrow): New variable.
21647 (libm-test-c-narrow): Likewise.
21648 (generated): Add $(libm-test-c-narrow).
21649 (libm-tests-base-narrow): New variable.
21650 (libm-tests-narrow): Likewise.
21651 (libm-tests): Add $(libm-tests-narrow).
21652 (libm-tests-for-type): Handle $(libm-tests-narrow).
21653 (libm-test-c-narrow-obj): New variable.
21654 ($(libm-test-c-narrow-obj)): New rule.
21655 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
21656 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
21657 $(o-iterator) to set dependencies and CFLAGS.
21658 * math/gen-auto-libm-tests.c: Document use for narrowing
21660 (output_for_one_input_case): Take argument NARROW.
21661 (generate_output): Likewise. Update call to
21662 output_for_one_input_case.
21663 (main): Take --narrow option. Update call to generate_output.
21664 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
21665 (apply_lit): Update call to _apply_lit.
21666 (apply_arglit): New function.
21667 (parse_args): Handle "a" arguments.
21668 (parse_auto_input): Handle format names using ":".
21669 * math/README.libm-test: Document "a" parameter type.
21670 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
21671 (ARG_TYPE_TRUE_MIN): Likewise.
21672 (ARG_TYPE_MAX): Likwise.
21673 (ARG_MIN_EXP): Likewise.
21674 (ARG_MAX_EXP): Likewise.
21675 (ARG_MANT_DIG): Likewise.
21676 (TEST_COND_arg_ibm128): Likewise.
21677 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
21678 (TEST_COND_arg_fmt): New macro.
21679 (init_max_error): Update prototype.
21680 * math/libm-test-support.c (test_ibm128): New variable.
21681 (init_max_error): Take argument testing_ibm128 and set test_ibm128
21682 instead of using [TEST_COND_ibm128] conditional.
21683 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
21684 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
21685 [TEST_NARROW] (TEST_MSG): New definition.
21686 (arg_plus_zero): New macro.
21687 (arg_minus_zero): Likewise.
21688 (arg_plus_infty): Likewise.
21689 (arg_minus_infty): Likewise.
21690 (arg_qnan_value_pl): Likewise.
21691 (arg_qnan_value): Likewise.
21692 (arg_snan_value_pl): Likewise.
21693 (arg_snan_value): Likewise.
21694 (arg_max_value): Likewise.
21695 (arg_min_value): Likewise.
21696 (arg_min_subnorm_value): Likewise.
21697 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
21698 (RUN_TEST_LOOP_aa_f): New macro.
21699 (TEST_SUFF): New macro.
21700 (TEST_SUFF_STR): Likewise.
21701 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
21702 (TEST_COND_any_ibm128): New macro.
21703 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
21704 this_func. Update call to init_max_error.
21705 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
21706 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
21707 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
21708 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
21709 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
21710 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
21711 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
21712 * math/test-math-scalar.h (TEST_NARROW): Likewise.
21713 * math/test-math-vector.h (TEST_NARROW): Likewise.
21714 * math/test-arg-double.h: New file.
21715 * math/test-arg-float128.h: Likewise.
21716 * math/test-arg-float32x.h: Likewise.
21717 * math/test-arg-float64.h: Likewise.
21718 * math/test-arg-float64x.h: Likewise.
21719 * math/test-arg-ldouble.h: Likewise.
21720 * math/test-math-narrow.h: Likewise.
21721 * math/test-narrow-macros.c: Likewise.
21722 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
21723 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
21724 test-narrow-macros-ldbl-64.
21725 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
21727 * math/bits/mathcalls-narrow.h: New file.
21728 * include/bits/mathcalls-narrow.h: Likewise.
21729 * math/math-narrow.h: Likewise.
21730 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
21731 (__MATHCALL_NARROW_ARGS_2): Likewise.
21732 (__MATHCALL_NARROW_ARGS_3): Likewise.
21733 (__MATHCALL_NARROW_NORMAL): Likewise.
21734 (__MATHCALL_NARROW_REDIR): Likewise.
21735 (__MATHCALL_NARROW): Likewise.
21736 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
21737 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
21739 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21740 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
21741 (libm-narrow-fns): New variable.
21742 (libm-narrow-types-basic): Likewise.
21743 (libm-narrow-types-ldouble-yes): Likewise.
21744 (libm-narrow-types-float128-yes): Likewise.
21745 (libm-narrow-types-float128-alias-yes): Likewise.
21746 (libm-narrow-types): Likewise.
21747 (libm-routines): Add narrowing functions.
21748 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
21749 (libc_feholdexcept_setroundf128): New macro.
21750 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
21751 * sysdeps/ieee754/float128/float128_private.h: Include
21752 <math/math-narrow.h>.
21753 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
21754 Undefine and redefine.
21755 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
21756 (libm_alias_float_ldouble): Undefine and redefine.
21757 (libm_alias_double_ldouble): Likewise.
21759 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
21761 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
21763 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
21766 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
21768 * manual/creature.texi: Convert references to gcc.info to gcc.
21769 * manual/stdio.texi: Likewise.
21770 * manual/string.texi: Likewise.
21772 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21775 * posix/bits/types.h (__int_least8_t): New typedef.
21776 (__uint_least8_t): Likewise.
21777 (__int_least16_t): Likewise.
21778 (__uint_least16_t): Likewise.
21779 (__int_least32_t): Likewise.
21780 (__uint_least32_t): Likewise.
21781 (__int_least64_t): Likewise.
21782 (__uint_least64_t): Likewise.
21783 * sysdeps/generic/stdint.h (int_least8_t): Define using
21785 (int_least16_t): Define using __int_least16_t.
21786 (int_least32_t): Define using __int_least32_t.
21787 (int_least64_t): Define using __int_least64_t.
21788 (uint_least8_t): Define using __uint_least8_t.
21789 (uint_least16_t): Define using __uint_least16_t.
21790 (uint_least32_t): Define using __uint_least32_t.
21791 (uint_least64_t): Define using __uint_least64_t.
21792 * wcsmbs/uchar.h: Include <bits/types.h>.
21793 (char16_t): Define using __uint_least16_t conditional only on
21795 (char32_t): Define using __uint_least32_t conditional only on
21797 * wcsmbs/test-char-types.c: New file.
21798 * wcsmbs/Makefile (tests): Add test-char-types.
21800 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
21803 2018-02-07 Zack Weinberg <zackw@panix.com>
21805 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
21806 Delete all contents except for definitions of _G_HAVE_MMAP and
21807 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
21808 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
21809 sysdeps/unix/sysv/linux/_G_config.h. Make same content
21812 * libio/libio.h: Don't include bits/_G_config.h here.
21813 Include stddef.h with __need_wchar_t defined. Include
21814 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
21815 Define _IO_iconv_t here, directly.
21816 Don't define _IO_HAVE_ST_BLKSIZE.
21817 * libio/libioP.h: Include _G_config.h here. Move include of
21818 shlib-compat.h up with rest of includes. Simplify conditionals
21819 controlling definition of _IO_JUMPS_OFFSET.
21821 * csu/init.c: Remove always-true #if around entire file.
21822 Don't include stdio.h. Set _IO_stdin_used to hardwired
21823 constant 0x20001, and update commentary.
21824 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
21825 Replace all uses of _G_va_list with __gnuc_va_list.
21826 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
21827 instead of #if _IO_HAVE_ST_BLKSIZE.
21828 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
21829 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
21832 * libio/bits/libio.h: Move back to libio/libio.h and adjust
21833 multiple-include guard to match.
21834 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
21836 Remove preprocessor conditionals that are always true and/or
21837 redundant to other preprocessor conditionals in the same nest.
21838 Include shlib-compat.h unconditionally.
21839 Error out if _LIBC is not defined, or if _ISOMAC is defined,
21840 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
21841 defined after including stdio.h.
21842 Use __BEGIN_DECLS/__END_DECLS.
21844 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
21845 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
21846 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
21848 2018-02-07 Zack Weinberg <zackw@panix.com>
21850 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
21851 New single-type headers split from _G_config.h.
21852 * libio/bits/types/cookie_io_functions_t.h
21853 * libio/bits/types/struct_FILE.h
21854 New single-type headers split from libio.h.
21856 * libio/Makefile: Install the above new headers. Don't install
21857 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
21859 * libio/_G_config.h, libio/libio.h: Delete file.
21861 * libio/bits/libio.h: Remove improper-inclusion guard.
21862 Include stdio.h and don't repeat anything that it does.
21863 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
21864 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
21865 __io_read_fn as cookie_read_function_t,
21866 __io_write_fn as cookie_write_function_t,
21867 __io_seek_fn as cookie_seek_function_t,
21868 __io_close_fn as cookie_close_function_t,
21869 and _IO_cookie_io_functions_t as cookie_io_functions_t.
21870 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
21871 here, in the "compatibility defines" section. Remove an #if 0
21872 block. Use the "body" macros from bits/types/struct_FILE.h to
21873 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
21874 and _IO_ferror_unlocked.
21875 Move prototypes of __uflow and __overflow...
21877 * libio/stdio.h: ...here. Don't include bits/libio.h.
21878 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
21879 directly from stdarg.h. Include bits/types/__fpos_t.h,
21880 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
21881 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
21882 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
21883 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
21884 cookie_io_functions_t, not _IO_cookie_io_functions_t;
21885 __ssize_t, not _IO_ssize_t. Unconditionally define
21886 BUFSIZ as 8192 and EOF as (-1).
21888 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
21889 macros from bits/types/struct_FILE.h instead of _IO_* macros
21890 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
21891 instead of _IO_ssize_t.
21892 * libio/bits/stdio2.h: Similarly.
21894 * libio/iolibio.h: Add multiple-include guard.
21895 Include bits/libio.h after stdio.h.
21896 * libio/libioP.h: Add multiple-include guard.
21897 Include stdio.h and bits/libio.h before iolibio.h.
21899 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
21900 * include/bits/types/cookie_io_functions_t.h
21901 * include/bits/types/struct_FILE.h: New wrappers.
21903 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
21904 Get definitions of _G_fpos_t and _G_fpos64_t from
21905 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
21906 respectively. Remove improper-inclusion guards.
21908 * conform/data/stdio.h-data: Update expectations of va_list.
21909 * scripts/check-installed-headers.sh: Remove special case for
21910 libio.h and _G_config.h.
21912 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21916 * include/sys/sysmacros.h [!_ISOMAC]
21917 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
21918 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
21919 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
21920 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
21922 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
21923 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
21925 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
21926 Undefine and redefine to add use __gnu_dev_ prefix.
21927 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
21929 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
21930 and define as hidden inline function.
21931 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
21933 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
21935 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
21936 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
21937 (gnu_dev_minor): Likewise.
21938 (gnu_dev_makedev): Likewise.
21939 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
21941 * posix/wordexp.c (exec_comm_child): Likewise.
21942 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
21943 instead of minor and __gnu_dev_major instead of major.
21944 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
21945 __gnu_dev_major instead of major.
21946 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
21947 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
21948 instead of gnu_dev_minor.
21949 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
21950 (SLAVE_P): Likewise.
21951 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
21952 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
21956 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
21958 * locale/weightwc.h (findidx): Likewise.
21960 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
21962 * manual/probes.texi (slowlog): Delete documentation of removed probe.
21963 (slowlog_inexact): Likewise
21964 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
21965 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
21967 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
21970 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
21971 missing second underscore to parameter name.
21973 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21979 * bits/byteswap.h: Update file comment. Do not include
21980 <bits/byteswap-16.h>.
21981 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
21983 (__bswap_16): Define as inline function.
21984 (__bswap_constant_32): Reformat definition.
21985 (__bswap_32): Always define as inline function, not macro, using
21986 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
21987 otherwise __bswap_constant_32.
21988 (__bswap_constant_64): Reformat definition. Do not use
21989 __extension__ here.
21990 (__bswap_64): Always define as inline function, not macro. Use
21991 __extension__ on function definition. Use __builtin_bswap64 if
21992 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
21993 * string/test-endian-file-scope.c: New file.
21994 * string/test-endian-sign-conversion.c: Likewise.
21995 * string/Makefile (headers): Remove bits/byteswap-16.h.
21996 (tests): Add test-endian-file-scope and
21997 test-endian-sign-conversion.
21998 (CFLAGS-test-endian-sign-conversion.c): New variable.
21999 * bits/byteswap-16.h: Remove file.
22000 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
22001 * sysdeps/ia64/bits/byteswap.h: Likewise.
22002 * sysdeps/m68k/bits/byteswap.h: Likewise.
22003 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22004 * sysdeps/s390/bits/byteswap.h: Likewise.
22005 * sysdeps/tile/bits/byteswap.h: Likewise.
22006 * sysdeps/x86/bits/byteswap-16.h: Likewise.
22007 * sysdeps/x86/bits/byteswap.h: Likewise.
22010 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
22011 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
22012 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
22013 199901L] (__restrict): Define to restrict.
22016 * string/testcopy.c: Include <support/support.h>. Do not include
22017 <malloc.h>. Use <support/test-driver.c>.
22018 (main): Rename to do_test. Make static. Use xmalloc instead of
22022 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
22023 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
22024 (SSIZE_MAX): Define to INT_MAX.
22025 * posix/test-ssize-max.c: New file.
22026 * posix/Makefile (tests): Add test-ssize-max.
22029 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
22030 <support/support.h>. Do not include <malloc.h>.
22031 (query_auxv): Use xmalloc instead of malloc.
22034 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
22035 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
22038 2018-02-06 Florian Weimer <fweimer@redhat.com>
22041 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22042 Use scratch_buffer instead of extend_alloca.
22044 2018-02-06 Zack Weinberg <zackw@panix.com>
22046 * libio/stdio.h: Don't define getc or putc as macros.
22047 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
22048 not _IO_getc and _IO_putc.
22050 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
22051 * stdio-common/tstgetln.c: Don't redefine ssize_t.
22053 2018-02-06 Joseph Myers <joseph@codesourcery.com>
22055 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
22056 (TCP_FASTOPEN_NO_COOKIE): Likewise.
22058 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
22061 * elf/elf.h (NT_PRFPREG): New macro.
22062 (NT_S390_VXRS_LOW): Likewise.
22063 (NT_S390_VXRS_HIGH): Likewise.
22064 (NT_S390_GS_CB): Likewise.
22065 (NT_S390_GS_BC): Likewise.
22066 (NT_S390_RI_CB): Likewise.
22068 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
22069 (MAP_SYNC): New macro.
22070 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
22072 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
22073 (MAP_SYNC): Likewise.
22074 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
22075 (MAP_SYNC): Likewise.
22076 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
22077 (MAP_SYNC): Likewise.
22078 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
22079 (MAP_SYNC): Likewise.
22080 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
22081 (MAP_SYNC): Likewise.
22082 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
22083 (MAP_SYNC): Likewise.
22084 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
22086 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
22089 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
22090 (MAP_SHARED_VALIDATE): New macro.
22091 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22092 (MAP_SHARED_VALIDATE): Likewise.
22094 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22096 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
22097 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
22098 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22100 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22102 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
22103 (DT_NUM): Updated to 35.
22105 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22107 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
22108 __builtin_expect with __glibc_likely and __glibc_unlikely.
22109 (elf_machine_rela): Likewise.
22110 (elf_machine_lazy_rel): Likewise.
22112 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22114 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
22115 __builtin_expect with __glibc_likely and __glibc_unlikely.
22116 (elf_machine_lazy_rel): Likewise.
22118 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22121 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
22123 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
22125 2018-02-05 Andreas Schwab <schwab@suse.de>
22128 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
22131 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22133 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
22134 not check against PTHREAD_STACK_MIN.
22136 2018-02-02 Sean McKean <smckean83@gmail.com>
22139 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
22141 2018-02-02 Florian Weimer <fweimer@redhat.com>
22144 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
22145 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
22146 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
22147 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
22148 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
22149 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
22150 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
22151 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
22152 * manual/llio.texi (Scatter-Gather): Mention offset -1.
22153 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
22154 * misc/tst-preadvwritev2.c (do_test): Call it.
22155 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
22157 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
22159 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
22161 * benchtests/bench-memcmp.c: Print json instead of plain text.
22163 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
22166 2018-02-01 Joseph Myers <joseph@codesourcery.com>
22168 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22170 (s390_sthyi): New syscall.
22172 * sysdeps/generic/ldbl-classify-compat.h: New file.
22173 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
22174 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
22175 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
22176 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
22177 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
22178 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
22179 * sysdeps/ieee754/dbl-64/s_finite.c: Include
22180 <ldbl-classify-compat.h>.
22181 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22182 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
22183 <ldbl-classify-compat.h>.
22184 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22185 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
22186 <ldbl-classify-compat.h>.
22187 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22188 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
22189 <ldbl-classify-compat.h>.
22190 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
22192 <ldbl-classify-compat.h>.
22193 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22194 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
22195 <ldbl-classify-compat.h>.
22196 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22197 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
22198 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22199 * sysdeps/m68k/coldfire/math_private.h: Remove file.
22200 * sysdeps/microblaze/math_private.h: Likewise.
22201 * sysdeps/nios2/math_private.h: Likewise.
22202 * sysdeps/sh/math_private.h: Likewise.
22204 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
22205 * sysdeps/m68k/coldfire/math_private.h: ... here.
22206 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
22207 * sysdeps/tile/math_private.h: Likewise.
22208 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
22210 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
22213 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
22215 (libc_fetestexcept): Likewise.
22216 (libc_feupdateenv_test): Likewise.
22217 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
22218 (libc_fetestexcept): Likewise.
22219 (libc_feupdateenv_test): Likewise.
22220 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
22221 (libc_fetestexcept): Likewise.
22222 (libc_feupdateenv_test): Likewise.
22223 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
22224 (libc_fetestexcept): Likewise.
22225 (libc_feupdateenv_test): Likewise.
22227 * sysdeps/generic/math_private.h
22228 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
22229 New inline function.
22230 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
22233 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
22234 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
22235 * sysdeps/generic/math_private.h
22236 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
22238 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
22240 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
22242 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
22244 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
22246 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
22248 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
22249 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
22250 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
22251 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
22252 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
22253 (__fegetenv): Likewise.
22254 (fesetenv): Likewise.
22255 (__fesetenv): Likewise.
22256 (feupdateenv): Likewise.
22257 (__feupdateenv): Likewise.
22258 (fegetround): Likewise.
22259 (__fegetround): Likewise.
22260 (fesetround): Likewise.
22261 (__fesetround): Likewise.
22263 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
22264 (feraiseexcept): New macro.
22265 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
22266 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
22268 (__feraiseexcept): Likewise.
22269 (feclearexcept): Likewise.
22270 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
22271 (__feraiseexcept): Likewise.
22272 (feclearexcept): Likewise.
22273 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
22274 (__feraiseexcept): Likewise.
22275 (feclearexcept): Likewise.
22276 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
22277 (__feraiseexcept): Likewise.
22278 (feclearexcept): Likewise.
22279 (fetestexcept): Likewise.
22281 * sysdeps/m68k/coldfire/math-tests.h: New file.
22283 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
22284 * sysdeps/m68k/bits/fenv.h: ... here.
22285 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
22287 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
22289 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
22291 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
22293 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
22295 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
22297 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
22298 (__FE_UNDEFINED): New enum constant.
22299 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
22301 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
22303 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
22305 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
22306 to match generic bits/fenv.h.
22307 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
22310 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
22312 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
22313 * soft-fp/half.h (union _FP_UNION_H): Likewise.
22314 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
22315 * soft-fp/single.h (union _FP_UNION_S): Likewise.
22317 2018-02-01 Carlos O'Donell <carlos@redhat.com>
22318 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
22319 Joseph Myers <joseph@codesourcery.com>
22322 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
22323 (__log1p): Disable -Wmaybe-uninitialized for -Os around
22324 computation using c.
22325 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
22326 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
22327 computation using c.
22329 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22331 * version.h (RELEASE): Set to "development".
22332 (VERSION): Set to "2.27.9000".
22333 * NEWS (2.28): New section.
22335 * version.h (RELEASE): Set to "stable".
22336 (VERSION): Set to "2.27".
22337 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
22339 * NEWS: Add the list of bugs fixed in 2.27.
22341 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22343 * stdlib/test-atexit-race-common.c (do_test): Check stack size
22344 against PTHREAD_STACK_MIN.
22346 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22348 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
22350 (Rafał Lużyński, Andreas Schwab): Update.
22352 2018-02-01 Rafał Lużyński <digitalfreak@lingonborough.com>
22355 * NEWS: List the languages which actually use the alternative
22356 months feature in this release. Also explain that "alt_mon" and
22357 "ab_alt_mon" are optional.
22359 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
22362 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
22364 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
22366 * manual/install.texi (Tools for Compilation): Update the newest
22367 versions of gcc, binutils, texinfo, gawk, bison, and sed.
22368 * INSTALL: Regenerated.
22370 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22372 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
22373 instead of __builtin_expect.
22375 2018-01-30 Florian Weimer <fweimer@redhat.com>
22377 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
22379 * nss/tst-nss-getpwent.c (do_test): Likewise.
22381 2018-01-30 Rafał Lużyński <digitalfreak@lingonborough.com>
22384 * localedata/locales/hr_HR (mon): Rename to...
22386 (mon): Import from CLDR (genitive case).
22387 (d_t_fmt): Update the comment.
22389 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
22391 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
22392 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
22393 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
22395 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22397 * mach/Versions: Fix version when __mach_host_self_ was added.
22398 * hurd/Versions: Fix version when _hurd_exec_paths was added.
22399 * sysdeps/mach/hurd/i386/ld.abilist: New file.
22400 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
22401 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
22402 * sysdeps/mach/hurd/i386/libc.abilist: New file.
22403 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
22404 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
22405 * sysdeps/mach/hurd/i386/libm.abilist: New file.
22406 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
22407 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
22408 * sysdeps/mach/hurd/i386/librt.abilist: New file.
22409 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
22410 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
22411 || to respect codestyle.
22412 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
22413 (do_test_bz20181): Rename accordingly.
22414 * malloc/malloc.c: Include <assert.h>.
22415 (assert): Do not define.
22416 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
22417 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
22418 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
22419 * sysdeps/mach/hurd/hp-timing.h: New file.
22420 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
22422 2018-01-29 Darius Rad <darius@bluespec.com>
22424 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
22426 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
22428 * sysdeps/init_array/crti.S (.section .init_array): Add
22429 PREINIT_FUNCTION when defined.
22430 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
22431 * config.h.in: Regenerate.
22432 * manual/platform.texi: Add RISC-V documenation for
22433 __riscv_flush_icache.
22434 * sysdeps/riscv/__longjmp.S: New file.
22435 * sysdeps/riscv/backtrace.c: Likewise.
22436 * sysdeps/riscv/bits/endian.h: Likewise.
22437 * sysdeps/riscv/bits/setjmp.h: Likewise.
22438 * sysdeps/riscv/bits/wordsize.h: Likewise.
22439 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
22440 * sysdeps/riscv/bsd-setjmp.c: Likewise.
22441 * sysdeps/riscv/dl-trampoline.S: Likewise.
22442 * sysdeps/riscv/gccframe.h: Likewise.
22443 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
22444 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
22445 * sysdeps/riscv/machine-gmon.h: Likewise.
22446 * sysdeps/riscv/memusage.h: Likewise.
22447 * sysdeps/riscv/setjmp.S: Likewise.
22448 * sysdeps/riscv/sys/asm.h: Likewise.
22449 * sysdeps/riscv/tls-macros.h: Likewise.
22450 * sysdeps/riscv/dl-tls.h: New file.
22451 * sysdeps/riscv/libc-tls.c: Likewise.
22452 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
22453 * sysdeps/riscv/nptl/tls.h: Likewise.
22454 * sysdeps/riscv/stackinfo.h: Likewise.
22455 * sysdeps/riscv/bits/fenv.h: New file.
22456 * sysdeps/riscv/e_sqrtl.c: Likewise.
22457 * sysdeps/riscv/fpu_control.h: Likewise.
22458 * sysdeps/riscv/math-tests.h: Likewise.
22459 * sysdeps/riscv/nofpu/Implies: Likewise.
22460 * sysdeps/riscv/sfp-machine.h: Likewise.
22461 * sysdeps/riscv/tininess.h: Likewise.
22462 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
22463 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
22464 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
22465 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
22466 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
22467 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
22468 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
22469 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
22470 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
22471 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
22472 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
22473 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
22474 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
22475 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
22476 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
22477 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
22478 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
22479 * sysdeps/riscv/rvd/s_finite.c: Likewise.
22480 * sysdeps/riscv/rvd/s_fma.c: Likewise.
22481 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
22482 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
22483 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
22484 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
22485 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
22486 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
22487 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
22488 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
22489 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
22490 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
22491 * sysdeps/riscv/rvf/fegetround.c: Likewise.
22492 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
22493 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
22494 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
22495 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
22496 * sysdeps/riscv/rvf/fesetround.c: Likewise.
22497 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
22498 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
22499 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
22500 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
22501 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
22502 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
22503 * sysdeps/riscv/rvf/math_private.h: Likewise.
22504 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
22505 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
22506 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
22507 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
22508 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
22509 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
22510 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
22511 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
22512 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
22513 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
22514 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
22515 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
22516 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
22517 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
22518 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
22519 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
22520 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
22521 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
22522 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
22523 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
22524 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
22525 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
22526 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
22527 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
22528 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
22529 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
22530 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
22531 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
22532 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
22533 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
22534 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
22535 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
22536 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
22537 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
22538 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
22539 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
22540 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
22541 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
22542 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
22543 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
22544 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
22545 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
22546 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
22547 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
22548 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
22549 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
22550 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
22551 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
22552 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
22553 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
22554 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
22555 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
22556 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
22557 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
22558 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
22559 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
22560 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
22561 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
22562 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
22563 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
22564 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
22565 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
22566 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
22567 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
22568 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
22569 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
22570 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
22571 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
22572 * sysdeps/riscv/Implies: New file.
22573 * sysdeps/riscv/Makefile: Likewise.
22574 * sysdeps/riscv/configure: Likewise.
22575 * sysdeps/riscv/configure.ac: Likewise.
22576 * sysdeps/riscv/nptl/Makefile: Likewise.
22577 * sysdeps/riscv/preconfigure: Likewise.
22578 * sysdeps/riscv/rv64/Implies-after: Likewise.
22579 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
22580 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
22581 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
22582 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
22583 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
22584 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
22585 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
22586 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
22587 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
22588 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
22589 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
22590 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
22591 (Config): Likewise.
22593 2018-01-29 Florian Weimer <fweimer@redhat.com>
22596 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
22597 libnsl_hidden_proto.
22598 * include/rpcsvc/yp.h (yp_xdrall): Declare with
22599 libnsl_hidden_proto.
22600 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
22601 * nis/Makefile (libnsl-routines): Add nss-default only for
22602 build-obsolete-nsl.
22603 * nis/nis_defaults.c (__nis_default_ttl): Add
22604 libnsl_hidden_nolink_def.
22605 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
22607 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
22608 * nis/ypclnt.c (yp_maplist): Likewise.
22610 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
22612 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22613 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
22615 2018-01-29 Joseph Myers <joseph@codesourcery.com>
22617 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
22618 clean -dxfq for git updates when replacing sources.
22620 * scripts/build-many-glibcs.py (Config.build_gcc): Use
22621 --disable-libcilkrts unconditionally, not just for the final GCC
22624 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22627 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22630 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
22633 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22636 * localedata/locales/be_BY (mon): Rename to...
22637 (alt_mon): This, then synchronize with CLDR (nominative case).
22638 (abmon): Rename to...
22639 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
22640 (mon): Import from CLDR (genitive case).
22642 * localedata/locales/be_BY@latin (mon): Rename to...
22644 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
22646 * localedata/locales/be_BY@latin (lang_name): Reworded to
22647 "biełaruskaja mova".
22649 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22652 * localedata/locales/el_CY (mon): Renamed to...
22654 (mon): Import from CLDR (genitive case).
22655 * localedata/locales/el_GR: Likewise.
22657 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22660 * localedata/locales/ru_RU (mon): Rename to...
22662 (abmon): Rename to...
22663 (ab_alt_mon): This.
22664 (mon): Import from CLDR (genitive case).
22665 (abmon): Copy from the old content except the 5th month which is
22666 now in the genitive case, even when abbreviated.
22667 * localedata/locales/ru_UA: Likewise.
22668 * time/tst-strptime.c (day_tests): Add an actual example of
22669 a difference between %b and %Ob in Russian.
22671 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22673 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
22674 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
22676 * resolv/res-close.c: Include <stdlib.h>.
22677 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
22678 <sys/wait.h>, <time.h>, <sys/uio.h>.
22679 (NOT_CANCEL_H): Add inclusion guard.
22680 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
22681 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
22682 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
22684 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
22685 vm_address_t * to ElfW(Addr) * for dl_main parameter.
22686 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
22688 * sysdeps/pthread/timer_create.c (timer_create): Do not use
22689 timer_ptr2id to cast struct timer_node * to void *.
22690 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
22691 --disable-libcilkrts to gcc configure.
22692 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
22693 and make them the default for now.
22694 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
22695 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
22696 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
22697 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
22698 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
22700 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
22701 __task_terminate would ever return successfully.
22702 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
22704 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
22705 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
22706 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
22707 critical section to make code simpler and avoid warning.
22708 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
22709 critical section to make code simpler and avoid warning.
22710 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
22711 const char * instead of char *.
22712 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
22713 __hurd_file_name_split, hurd_file_name_split,
22714 __hurd_directory_name_split, hurd_directory_name_split,
22715 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
22716 hurd_file_name_path_lookup): Make lookup function parameter take a
22717 const char *name instead of char *name.
22718 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
22719 __hurd_directory_name_split): Likewise.
22720 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
22721 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
22722 * sysdeps/mach/hurd/check_native.c: New file.
22723 * sysdeps/mach/hurd/check_pf.c: New file.
22724 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
22725 (__freeifaddrs): Define macro to freeifaddrs.
22726 * sysdeps/mach/hurd/libhurduser.abilist: New file.
22727 * sysdeps/mach/libmachuser.abilist: New file.
22728 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
22729 (do_test_bz20181): Rename accordingly.
22730 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
22731 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
22733 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
22734 version only if __USE_EXTERN_INLINES is defined.
22735 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
22736 __hurd_sockfail): Likewise.
22737 (_hurd_fd_get): Always declare functions, and provide inline versions
22738 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
22739 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
22740 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
22741 _hurd_port_set): Always declare functions, and provide inline versions
22742 only if __USE_EXTERN_INLINES and _LIBC are defined and
22744 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
22745 _hurd_critical_section_unlock): Likewise.
22746 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
22747 * __hurd_threadvar_location): Likewise.
22748 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
22749 _hurd_userlink_clear): Likewise.
22750 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
22751 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
22752 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
22753 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
22754 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
22755 __spin_lock_locked): Likewise.
22756 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
22757 __spin_lock_locked): Likewise.
22758 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
22759 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
22760 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
22761 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
22762 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
22763 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
22764 _POSIX_NO_TRUNC): Define to 0.
22765 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
22766 check size against PTHREAD_STACK_MIN.
22767 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
22768 IS_IN(libpthread)]: Include <sigsetops.h>.
22769 * mach/Makefile (user-interfaces): Add mach/gnumach.
22770 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
22771 * sysdeps/mach/configure (mach_interface_list): Regenerate.
22772 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
22773 instead of invalid -1.
22774 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
22775 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
22776 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
22779 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
22781 * hurd/fcntl-internal.h: New file.
22783 2018-01-27 James Clarke <jrtc27@jrtc27.com>
22785 * sysdeps/hppa/fpu/libm-test-ulps: Update.
22787 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22789 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
22792 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
22793 Build only shared objects.
22795 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22797 * README: Update for hppa.
22799 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22801 * sysdeps/sparc/fpu/libm-test-ulps: Update
22802 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
22804 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22808 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22811 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22812 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22813 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22814 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22817 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22820 * bits/types/__cancel_jmp_buf_tag.h: New file.
22821 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22822 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22823 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22824 * nptl/Makefile (headers): Add
22825 bits/types/__cancel_jmp_buf_tag.h.
22826 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22827 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22828 * sysdeps/nptl/pthread.h: Include
22829 <bits/types/__cancel_jmp_buf_tag.h>.
22830 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22832 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22834 2018-01-25 Rafał Lużyński <digitalfreak@lingonborough.com>
22837 * localedata/locales/uk_UA (mon): Renamed to...
22839 (alt_digits): "0" removed and then renamed to...
22841 (date_fmt): Definition changed not to use the alternative
22844 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
22846 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
22847 FLAG_RISCV_FLOAT_ABI_DOUBLE.
22848 * elf/elf.h (EF_RISCV_RVC): New define.
22849 (EF_RISCV_FLOAT_ABI): Likewise.
22850 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
22851 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
22852 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22853 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
22854 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
22856 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22858 2018-01-25 Andreas Schwab <schwab@suse.de>
22860 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
22862 * sysdeps/gnu/configure: Regenerate.
22863 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22864 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22866 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22867 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22868 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
22869 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22870 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22872 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
22874 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
22875 URL, and run autoconf, make it the default for now.
22877 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22879 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22880 soft-float ColdFire configuration.
22882 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
22883 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
22884 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
22886 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
22889 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
22891 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
22893 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
22896 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
22897 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
22898 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
22901 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22904 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
22905 Rename to __reserved and add comment.
22906 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
22907 Rename to __reserved.
22909 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22911 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22912 i686-gnu configurations.
22913 (Context.run_builds): Include mig, gnumach and hurd in components
22915 (Context.checkout): Add mig, gnumach and hurd to components.
22916 (Context.checkout_tar): Add URL mappings for mig, gnumach and
22918 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
22919 (Config.build): Install gnumach headers, build mig and install
22920 hurd headers for 'gnu' OS.
22921 (Config.install_gnumach_headers): New function.
22922 (Config.install_hurd_headers): Likewise.
22923 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
22924 when building for 'gnu' OS.
22926 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
22928 * manual/tunables.texi (Hardware Capability Tunables): Fix
22931 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
22933 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
22934 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
22935 (ALTMON_11, ALTMON_12): Improve documentation.
22936 * manual/time.texi (strftime): Likewise.
22938 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22941 * localedata/locales/pl_PL: Alternative month names added,
22942 primary month names are genitive now.
22943 * time/tst-strptime.c (day_tests): Actually use a genitive case
22944 of a month name in Polish language.
22946 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22949 * manual/locale.texi: Document ALTMON_1..12 constants for
22950 nl_langinfo. Specify when to use ALTMON instead of MON.
22951 * manual/time.texi (strftime, strptime): Document GNU extension
22952 permitting O modifier with %B and %b. Specify when to use
22955 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22958 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
22959 names, define them as the same as abbreviated month names explicitly.
22960 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
22961 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
22962 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
22963 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
22964 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
22965 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
22966 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
22967 _NL_WABALTMON_12): New enum constants.
22968 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
22969 wab_alt_mon, and ab_alt_mon_defined members.
22970 (time_output): Output ab_alt_mon and wab_alt_mon members.
22971 (time_read): Read them, initialize them as copies of abmon and wabmon
22972 respectively if they are missing, initialize ab_alt_mon_defined.
22973 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
22974 * locale/programs/locfile-kw.h: Regenerate.
22975 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
22976 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
22978 * time/strftime_l.c (a_altmonth, aam_len): New macros.
22979 [!COMPILE_WIDE] (ABALTMON_1): New macro.
22980 (__strftime_internal): Handle %Ob and %Oh formats.
22981 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
22982 (__strptime_internal): Handle %Ob and %Oh formats.
22983 * time/tst-strptime.c (day_tests): Add more tests to parse different
22984 forms of month names including the new %Ob format specifier.
22986 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22989 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
22990 define them as the same as primary full month names explicitly.
22991 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
22992 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
22993 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
22994 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
22995 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
22996 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
22997 _NL_WALTMON_12): New enum constants.
22998 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
22999 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
23001 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
23002 walt_mon, and alt_mon_defined members.
23003 (time_output): Output alt_mon and walt_mon members.
23004 (time_read): Read them, initialize them as copies of mon and wmon
23005 respectively if they are missing, initialize alt_mon_defined.
23006 * locale/programs/locfile-kw.gperf (alt_mon): Define.
23007 * locale/programs/locfile-kw.h: Regenerate.
23008 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
23009 * localedata/tst-langinfo.c (map): Add tests for the new constants
23010 ALTMON_1 .. ALTMON_12.
23011 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
23013 * time/strftime_l.c (f_altmonth): New macro.
23014 (__strftime_internal): Handle %OB format.
23015 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
23016 (__strptime_internal): Handle %OB format.
23017 * time/tst-strptime.c (day_tests): Add tests to parse different forms
23018 of month names including the new %OB format specifier.
23020 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23023 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
23024 from ABORT_TRANSACTION.
23025 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
23026 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
23027 ABORT_TRANSACTION_IMPL): Likewise.
23028 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
23029 Linux code, but remove the code that aborts transactions.
23031 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
23033 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
23035 2018-01-19 Rafał Lużyński <digitalfreak@lingonborough.com>
23037 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
23038 in date: "2004-14-09" should be "2004-09-14".
23039 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
23040 "2003-15-09" should be "2003-09-15".
23042 2018-01-18 Arjun Shankar <arjun@redhat.com>
23048 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
23050 (_int_memalign): check for integer overflow before calling
23052 * malloc/tst-malloc-too-large.c: New test.
23053 * malloc/Makefile: Add tst-malloc-too-large.
23055 2018-01-18 Rafał Lużyński <digitalfreak@lingonborough.com>
23057 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
23058 in date: "2017-24-07" should be "2017-07-24".
23059 * localedata/locales/mai_IN: Likewise.
23060 * localedata/locales/mai_NP: Likewise.
23062 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
23064 * po/ru.po: Update translations.
23066 2018-01-17 Joseph Myers <joseph@codesourcery.com>
23069 * sysdeps/hppa/backtrace.c: New file.
23071 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
23074 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
23075 align La_x86_64_retval to VEC_SIZE.
23077 2018-01-16 Joseph Myers <joseph@codesourcery.com>
23079 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
23080 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
23082 2018-01-16 Florian Weimer <fweimer@redhat.com>
23084 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
23085 Move tst-thread-exit-clobber ...
23086 [$(CXX)] (tests-unsupported): ... to here.
23088 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23090 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
23091 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
23092 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23093 (_dl_aarch64_cap_flags): Update.
23094 (_DL_HWCAP_COUNT): Update.
23096 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23098 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
23099 (_DL_HWCAP_LAST): Remove.
23100 (_DL_HWCAP_COUNT): Move to ...
23101 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23102 (_DL_HWCAP_COUNT): ... here.
23104 2018-01-16 Florian Weimer <fweimer@redhat.com>
23106 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
23107 mode with GNU extensions.
23109 2018-01-15 Alan Hayward <alan.hayward@arm.com>
23111 * elf/elf.h (NT_ARM_SVE): Define.
23113 2018-01-15 Florian Weimer <fweimer@redhat.com>
23116 * nptl/tst-minstack-throw.cc: New file.
23117 * nptl/Makefile (tests): Add tst-minstack-throw.
23118 (LDLIBS-tst-minstack-throw): Link with libstdc++.
23119 [!CXX] (tests-unsupported): Add tst-minstack-throw.
23121 2018-01-15 Joseph Myers <joseph@codesourcery.com>
23123 * scripts/build-many-glibcs.py (Context.checkout): Default
23124 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
23127 2018-01-13 Carlos O'Donell <carlos@redhat.com>
23130 * elf/elf.h (DF_1_STUB): Define.
23131 (DF_1_PIE): Define.
23133 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23136 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
23137 Do not add 0.5 to integer or out-of-range arguments.
23139 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23141 * po/bg.po: Update translations.
23142 * po/cs.po: Likewise.
23143 * po/de.po: Likewise.
23144 * po/ko.po: Likewise.
23145 * po/pl.po: Likewise.
23146 * po/sv.po: Likewise.
23147 * po/uk.po: Likewise.
23148 * po/vi.po: Likewise.
23150 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23152 * aarch64/start.S (_start): Use __wrap_main.
23153 (__wrap_main): New local symbol.
23155 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23159 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
23160 generic_getcwd if the path returned by getcwd syscall is not absolute.
23161 * io/tst-getcwd-abspath.c: New test.
23162 * io/Makefile (tests): Add tst-getcwd-abspath.
23164 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
23166 * malloc/malloc.c (malloc_consolidate): Add size check.
23168 2018-01-12 Florian Weimer <fweimer@redhat.com>
23170 * support/write_message.c (write_message): Preserve errno.
23171 * support/check.c (print_failure): Likewise.
23172 * support/support_test_verify_impl.c (support_test_verify_impl):
23174 * support/support_test_compare_failure.c
23175 (support_test_compare_failure): Likewise.
23177 2018-01-12 Florian Weimer <fweimer@redhat.com>
23180 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
23181 Prevent installation of libnsl.so.
23182 (libnsl-inhibit-o): Do not build (or install) static libraries.
23184 2018-01-12 Egmont Koblinger <egmont@gmail.com>
23187 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
23188 before the day number which may produce a double space.
23189 (date_fmt): Likewise.
23191 2018-01-12 Joseph Myers <joseph@codesourcery.com>
23193 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
23194 instead of fegetenv.
23196 2018-01-11 Joseph Myers <joseph@codesourcery.com>
23199 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
23200 comment to say exceptions are discarded.
23201 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
23203 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
23206 2018-01-11 Florian Weimer <fweimer@redhat.com>
23208 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
23211 2018-01-11 Florian Weimer <fweimer@redhat.com>
23214 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
23215 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
23217 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23220 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
23221 negative arguments in test for NaN or infinity argument.
23223 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
23225 * po/libc.pot: Regenerate.
23227 2018-01-10 Florian Weimer <fweimer@redhat.com>
23230 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
23231 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
23233 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23235 * hurd/hurd/fd.h: Include <fcntl.h>
23236 (__hurd_at_flags): New function.
23237 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
23238 with call to __hurd_at_flags.
23239 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
23240 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
23242 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
23243 (__access_noerrno): Use __faccessat_common instead of access_common.
23244 (__access): Likewise.
23245 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
23246 with a call to __faccessat.
23247 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
23248 (__faccessat_common): ... this. Move implementation of __access into it when
23249 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
23250 reauthenticate_cwdir_at helper to implement AT mechanism.
23251 (__faccessat_noerrno): New function, just calls __faccessat_common.
23252 (__faccessat): New function, just calls __faccessat_common.
23253 (faccessat): Define weak alias.
23255 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23258 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23259 (CFLAGS-s_fmaxmagl.c): New variable.
23260 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
23263 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
23264 long int for arguments of possibly overflowing addition or
23266 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23268 2018-01-09 Joseph Myers <joseph@codesourcery.com>
23271 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23272 (CFLAGS-e_remainderl.c): New variable.
23275 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
23277 (CFLAGS-s_cacoshl.c): Likewise.
23278 (CFLAGS-s_casinhl.c): Likewise.
23279 (CFLAGS-s_catanl.c): Likewise.
23280 (CFLAGS-s_catanhl.c): Likewise.
23281 (CFLAGS-s_cexpl.c): Likewise.
23282 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
23283 (CFLAGS-s_csinhl.c): Likewise.
23284 (CFLAGS-s_clogl.c): Likewise.
23285 (CFLAGS-s_clog10l.c): Likewise.
23286 (CFLAGS-s_csinl.c): Likewise.
23287 (CFLAGS-s_csqrtl.c): Likewise.
23289 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
23290 2017-01-09 Svante Signell <svante.signell@gmail.com>
23292 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
23293 (_hurd_exec_paths): New function.
23294 * hurd/hurd.h (_hurd_exec): Deprecate function.
23295 (_hurd_exec_paths): Declare function.
23296 * hurd/Versions: Export _hurd_exec_paths.
23297 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
23298 (__execve): Use __getcwd to build absolute path, and use
23299 _hurd_exec_paths instead of _hurd_exec.
23300 * sysdeps/mach/hurd/spawni.c: Likewise.
23301 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
23304 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
23306 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
23307 test instead of failing in case of ENOENT returned by posix_openpt.
23309 2018-01-08 Florian Weimer <fweimer@redhat.com>
23311 resolv: Support binary labels in test framework.
23312 * support/resolv_test.c (struct to_be_freed): Remove.
23313 (struct compressed_name): New.
23314 (allocate_compressed_name, ascii_tolower)
23315 (compare_compressed_name): New functions.
23316 (struct resolv_response_builder): Update type of
23317 compression_offsets for use with tsearch. Rempve to_be_freed.
23318 (response_push_pointer_to_free): Remove function.
23319 (resolv_response_add_name): Rewrite using struct compressed_name
23320 and tsearch instead of hsearch_r.
23321 (response_builder_allocate): Remove initialization of
23322 compression_offsets.
23323 (response_builder_free): Update for removal of to_be_freed. Use
23324 tdestroy instead of hdestroy_r.
23325 * resolv/Makefile (tests): Add tst-resolv-binary.
23326 (tst-resolv-binary): Link with -lresolv -lpthread.
23328 2018-01-08 Florian Weimer <fweimer@redhat.com>
23330 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
23331 time. Pass positive flag instead of negative flag to
23332 support_test_compare_failure.
23333 (support_test_compare_failure): Change negative parameter to
23335 * support/support_test_compare_failure.c (report)
23336 (support_test_compare_failure): Likewise.
23337 * support/tst-test_compare.c (return_ssize_t, return_int): New.
23338 (do_test): Check int/size_t, ssize_t/size_t comparisons.
23340 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
23343 * nptl/descr.h (stackblock, stackblock_size): Update comments.
23344 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
23345 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
23347 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23349 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
23351 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23352 Add s_sincosf-sse2 and s_sincosf-fma.
23353 (CFLAGS-s_sincosf-fma.c): New.
23354 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
23355 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
23356 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
23357 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
23358 __sincosf is defined.
23360 2018-01-08 Florian Weimer <fweimer@redhat.com>
23362 * nptl/tst-thread-exit-clobber.cc: New file.
23363 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
23365 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
23366 (tests): Add tst-thread-exit-clobber.
23367 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
23369 2018-01-08 Florian Weimer <fweimer@redhat.com>
23371 * support/check.h (support_static_assert): Define.
23372 (TEST_COMPARE): Use it.
23374 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
23376 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
23377 [!__RLIM_T_MATCHES_RLIM64_T]
23378 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
23379 __getrlimit64. Add libc_hidden_weak.
23381 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
23383 * elf/elf.h (R_RISCV_NONE): New define.
23384 (R_RISCV_32): Likewise.
23385 (R_RISCV_64): Likewise.
23386 (R_RISCV_RELATIVE): Likewise.
23387 (R_RISCV_COPY): Likewise.
23388 (R_RISCV_JUMP_SLOT): Likewise.
23389 (R_RISCV_TLS_DTPMOD32): Likewise.
23390 (R_RISCV_TLS_DTPMOD64): Likewise.
23391 (R_RISCV_TLS_DTPREL32): Likewise.
23392 (R_RISCV_TLS_DTPREL64): Likewise.
23393 (R_RISCV_TLS_TPREL32): Likewise.
23394 (R_RISCV_TLS_TPREL64): Likewise.
23395 * Makerules (make-link-multidir): Make directories before linking into
23397 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
23399 (VDSO_HASH_LINUX_4_15): Likewise.
23400 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
23401 in subdirectories of lib.
23402 * nptl/Makefile (/librt.so): Always depend on
23403 "$(shared-thread-library)".
23405 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23407 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
23408 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
23409 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
23411 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
23412 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23414 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
23415 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
23416 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
23417 * sysdeps/gnu/glob-lstat-compat.c: New file.
23418 * sysdeps/gnu/glob64-lstat-compat.c: New file.
23419 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
23421 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23423 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
23424 Reserve 16 chars to reloc_addr before calling _itoa_word.
23426 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23429 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
23430 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
23432 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
23433 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
23435 * resource/tst-getrlimit.c: Add copyright header.
23437 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23438 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23440 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23441 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
23442 Define __GI_getrlimit64 as weak alias of __getrlimit64.
23443 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
23445 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23446 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
23447 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
23448 RLIM64_INFINITY): Fix values to match the kernel ones.
23449 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
23450 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
23451 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
23452 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
23453 getrlimit64@@GLIBC_2_27.
23454 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
23456 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
23457 getrlimit, setrlimit, getrlimit64 and setrlimit64.
23458 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
23459 setrlimit, getrlimit64 and setrlimit64.
23461 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23464 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
23465 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
23467 2018-01-04 Joseph Myers <joseph@codesourcery.com>
23469 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
23470 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
23471 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
23473 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23477 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
23478 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
23482 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
23483 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
23484 * sysdeps/alpha/fpu/s_floor.c: Likewise.
23485 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
23487 2018-01-04 Florian Weimer <fweimer@redhat.com>
23490 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23491 Align the stack before calling exit.
23492 * stdlib/tst-makecontext-align.c: New file.
23493 * stdlib/Makefile (tests): Add tst-makecontext-align.
23495 2018-01-04 Florian Weimer <fweimer@redhat.com>
23497 Add support for calling dlvsym from libc.so.
23498 * include/dlfcn.h (__libc_dlvsym): Declare.
23499 * elf/Makefile (tests-static-internal): Add
23500 tst-libc_dlvsym-static.
23501 (tests-internal): Add tst-libc_dlvsym.
23502 (modules-names): Add tst-libc_dlvsym-dso.
23503 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
23504 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
23505 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
23506 object tst-libc_dlvsym-dso.so needs to be built before running
23508 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
23509 * elf/Versions: Export __libc_dlvsym.
23510 * elf/dl-libc.c (struct do_dlvsym_args): New.
23511 (do_dlvsym, __libc_dlvsym): New functions.
23512 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
23513 (_dl_open_hook2): New variable.
23514 (__libc_register_dl_open_hook): Set it.
23515 * elf/tst-libc_dlvsym-dso.c: New file.
23516 * elf/tst-libc_dlvsym-static.c: Likewise.
23517 * elf/tst-libc_dlvsym.c: Likewise.
23518 * elf/tst-libc_dlvsym.h: Likewise.
23520 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23522 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
23523 include <sys/mount.h>.
23525 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
23527 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
23528 Add __NO_MATH_ERRNO__ check.
23530 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23532 * sysdeps/mips/mips32/libm-test-ulps: Update.
23533 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23535 2018-01-02 Florian Weimer <fweimer@redhat.com>
23537 * misc/tst-pselect.c: Add copyright header.
23539 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23541 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
23543 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
23545 (settrlimit): Rename into setrlimit.
23546 (__sttrlimit): Rename into __setrlimit.
23548 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
23549 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
23550 never defined in that case.
23552 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23554 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
23556 * sysdeps/arm/libm-test-ulps: Update.
23558 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
23559 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
23561 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23563 * NEWS: Add cosf and sincosf to list of optimized functions.
23565 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23568 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
23569 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
23570 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
23571 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
23573 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
23576 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
23578 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
23579 making a copy of it.
23581 2018-01-01 Joseph Myers <joseph@codesourcery.com>
23583 * manual/texinfo.tex: Update to version 2017-12-26.21 with
23584 trailing whitespace removed.
23585 * scripts/config.guess: Update to version 2018-01-01.
23586 * scripts/config.sub: Update to version 2018-01-01.
23587 * scripts/move-if-change: Update from gnulib.
23589 * NEWS: Update copyright dates.
23590 * catgets/gencat.c (print_version): Likewise.
23591 * csu/version.c (banner): Likewise.
23592 * debug/catchsegv.sh: Likewise.
23593 * debug/pcprofiledump.c (print_version): Likewise.
23594 * debug/xtrace.sh (do_version): Likewise.
23595 * elf/ldconfig.c (print_version): Likewise.
23596 * elf/ldd.bash.in: Likewise.
23597 * elf/pldd.c (print_version): Likewise.
23598 * elf/sotruss.sh: Likewise.
23599 * elf/sprof.c (print_version): Likewise.
23600 * iconv/iconv_prog.c (print_version): Likewise.
23601 * iconv/iconvconfig.c (print_version): Likewise.
23602 * locale/programs/locale.c (print_version): Likewise.
23603 * locale/programs/localedef.c (print_version): Likewise.
23604 * login/programs/pt_chown.c (print_version): Likewise.
23605 * malloc/memusage.sh (do_version): Likewise.
23606 * malloc/memusagestat.c (print_version): Likewise.
23607 * malloc/mtrace.pl: Likewise.
23608 * manual/libc.texinfo: Likewise.
23609 * nptl/version.c (banner): Likewise.
23610 * nscd/nscd.c (print_version): Likewise.
23611 * nss/getent.c (print_version): Likewise.
23612 * nss/makedb.c (print_version): Likewise.
23613 * posix/getconf.c (main): Likewise.
23614 * scripts/test-installation.pl: Likewise.
23615 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23617 * All files with FSF copyright notices: Update copyright dates
23618 using scripts/update-copyrights.
23619 * locale/programs/charmap-kw.h: Regenerated.
23620 * locale/programs/locfile-kw.h: Likewise.
23622 2017-12-31 Zack Weinberg <zackw@panix.com>
23624 * libio/bits/libio-ldbl.h: Correct check for improper
23625 inclusion. Add own multiple include guard.
23627 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
23628 Dmitry V. Levin <ldv@altlinux.org>
23632 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
23633 string token expansion. Check for NULL pointer or empty string possibly
23634 returned by expand_dynamic_string_token.
23635 (decompose_rpath): Check for empty path after dynamic string
23638 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
23641 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
23643 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
23644 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
23645 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
23646 and PTRACE_SYSCALL.
23647 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
23648 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23649 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23650 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23651 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23652 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23654 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
23655 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23656 __ptrace_peeksiginfo_flags, ptrace): Move to ...
23657 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
23658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23659 bits/ptrace-shared.h.
23660 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
23661 <bits/ptrace-shared.h>.
23662 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23663 __ptrace_peeksiginfo_flags, ptrace): Remove.
23664 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23665 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23666 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23667 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23668 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23670 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23673 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
23674 end of the loop. Improve comments.
23676 2017-12-29 Zack Weinberg <zackw@panix.com>
23679 * manual/errno.texi (Checking for Errors): Explicitly say that errno
23680 might be set on success.
23682 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23685 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
23686 is unchanged on success.
23688 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
23690 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
23692 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
23693 expand_dynamic_string_token): Likewise.
23694 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
23697 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
23700 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
23701 is set and name contains ':', and all code depending on these checks.
23703 2017-12-24 Zack Weinberg <zackw@panix.com>
23705 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
23706 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
23708 * libio/libio.h: Rename the original version of this file to
23709 libio/bits/libio.h. Error out if not included by stdio.h or the
23711 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
23712 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
23713 if not included by bits/libio.h or the stub _G_config.h.
23714 * sysdeps/unix/sysv/linux/_G_config.h: Move to
23715 sysdeps/unix/sysv/linux/bits. Error out if not included by
23716 bits/libio.h or the stub _G_config.h.
23717 * libio/stdio.h: Include bits/libio.h, not libio.h.
23718 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
23719 well as libio.h and _G_config.h.
23721 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
23722 * libio/strfile.h, stdio-common/vfscanf.c
23723 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
23724 Include stdio.h, not _G_config.h nor libio.h.
23725 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
23726 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
23728 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
23730 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
23733 * stdlib/getrandom.c (getrandom): Fix comment.
23734 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
23736 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
23739 * manual/arith.texi (strtoul): Fix a typo.
23742 * manual/arith.texi (finite): Fix the description of the return
23745 2017-12-22 Eric Blake <ebb9@byu.net>
23747 Avoid gcc warnings on cygwin
23748 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
23749 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
23750 Avoid unused variable.
23752 2017-12-22 Florian Weimer <fweimer@redhat.com>
23754 * io/Makefile (routines): Add copy_file_range.
23755 (tests): Add tst-copy_file_range.
23756 (tests-static, tests-internal): Add tst-copy_file_range-compat.
23757 * io/Versions (GLIBC_2.27): Export copy_file_range.
23758 * io/copy_file_range-compat.c: New file.
23759 * io/copy_file_range.c: Likewise.
23760 * io/tst-copy_file_range-compat.c: Likewise.
23761 * io/tst-copy_file_range.c: Likewise.
23762 * manual/llio.texi (Copying File Data): New section.
23763 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
23764 * support/Makefile (libsupport-routines): Add support-xfstat,
23765 xftruncate, xlseek.
23766 * support/support-xfstat.c: New file.
23767 * support/xftruncate.c: Likewise.
23768 * support/xlseek.c: Likewise.
23769 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
23770 * sysdeps/unix/sysv/linux/**.abilist: Update.
23771 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
23773 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
23775 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23776 disable-multi-arch variant to aarch64-linux-gnu.
23778 2017-12-20 Joseph Myers <joseph@codesourcery.com>
23780 * manual/texinfo.tex: Update to version 2017-12-18.20 with
23781 trailing whitespace removed.
23782 * scripts/config.guess: Update to version 2017-12-17.
23783 * scripts/config.sub: Update to version 2017-11-23.
23784 * scripts/install-sh: Update to version 2017-09-23.17.
23785 * scripts/move-if-change: Update to version 2017-09-13 06:45.
23787 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23789 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
23790 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23791 * sysdeps/tile/_mcount.S (__mcount): Likewise.
23792 * sysdeps/tile/crti.S (_init, _fini): Likewise.
23793 * sysdeps/tile/crtn.S: Likewise.
23794 * sysdeps/tile/dl-start.S (_start): Likewise.
23795 * sysdeps/tile/dl-trampoline.S: Likewise.
23796 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
23797 * sysdeps/tile/start.S (_start): Likewise.
23798 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
23799 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
23800 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
23801 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
23802 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
23803 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
23804 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
23806 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
23808 * sysdeps/tile/preconfigure: Remove tilegx folder.
23809 * sysdeps/tile/tilegx/Implies: Move definitions to ...
23810 * sysdeps/tile/Implies: ... here.
23811 * sysdeps/tile/tilegx/Makefile: Move rules to ...
23812 * sysdeps/tile/Makefile: ... here.
23813 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
23814 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
23815 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
23816 * sysdeps/tile/bits/wordsize.h: ... here.
23817 * sysdeps/tile/tilegx/*: Move to ...
23818 * sysdeps/tile/*: ... here.
23819 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
23820 * sysdeps/tile/tilegx32/Implies: ... here.
23821 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
23822 * sysdeps/tile/tilegx64/Implies: ... here.
23823 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
23825 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23826 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
23827 * sysdeps/unix/sysv/linux/tile/*: ... here.
23828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
23829 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
23830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
23831 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
23833 * README: Remove tilepro-*-linux-gnu from supported architecture.
23834 * scripts/build-many-glibcs.py: Likewise.
23835 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23836 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
23837 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
23838 elf_machine_matches_host, elf_machine_dynamic,
23839 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
23840 howto, elf_machine_rela): Likewise.
23841 * sysdeps/tile/dl-start.S (_start): Likewise.
23842 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
23843 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
23844 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
23845 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
23846 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
23847 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23849 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
23850 * sysdeps/tile/preconfigure: Likewise.
23851 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
23852 POINTER_CHK_GUARD): Likewise.
23853 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
23854 * sysdeps/tile/start.S (_start): Likewise.
23855 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
23857 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
23858 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
23860 * sysdeps/unix/sysv/linux/tile/bits/environments.h
23861 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
23862 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
23864 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
23865 * sysdeps/tile/tilepro/Implies: Remove file.
23866 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
23867 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
23868 * sysdeps/tile/tilepro/memchr.c: Likewise.
23869 * sysdeps/tile/tilepro/memcpy.S: Likewise.
23870 * sysdeps/tile/tilepro/memset.c: Likewise.
23871 * sysdeps/tile/tilepro/memusage.h: Likewise.
23872 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
23873 * sysdeps/tile/tilepro/strchr.c: Likewise.
23874 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
23875 * sysdeps/tile/tilepro/strlen.c: Likewise.
23876 * sysdeps/tile/tilepro/strrchr.c: Likewise.
23877 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
23878 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
23879 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23880 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
23881 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
23882 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23884 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
23885 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23886 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
23887 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
23888 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23889 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
23890 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
23891 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
23892 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
23893 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
23894 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
23895 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
23896 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
23897 tilepro mention in comment.
23899 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
23900 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
23901 * nptl/pthread_join_common.c: New file: common function used on
23902 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
23903 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
23904 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
23905 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23906 (cleanup): Move definition to pthread_join_common.c.
23907 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
23908 Remove superflous checks.
23909 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
23912 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23914 * sysdeps/aarch64/libm-test-ulps: Update.
23916 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23918 * sysdeps/aarch64/memset.S (MEMSET): Define.
23920 2017-12-20 Florian Weimer <fweimer@redhat.com>
23923 nptl: Provide full implementation of pthread_self in libc.so.
23924 * nptl/Makefile (routines): Add pthread_self.
23925 (libpthread-routines): Replace pthread_self with
23926 compat-pthread_self.
23927 * nptl/forward.c (pthread_self): Remove.
23928 * nptl/nptl-init.c (pthread_functions): Do not initialize
23930 * nptl/pthread_self.c (pthread_self): Remove weak alias.
23931 * nptl/compat-pthread_self.c: New file.
23932 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
23933 Remove ptr_pthread_self.
23935 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
23937 * posix/regcomp.c: Fix spelling in comments.
23938 * posix/regex.h: Likewise.
23939 * posix/regex_internal.c: Likewise.
23940 * posix/regexec.c: Likewise.
23942 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23945 * math/Makefile [C++] (tests): Add test for iseqsig.
23946 * math/math.h [C++] (iseqsig): New implementation, which does
23947 not rely on __MATH_TG/__builtin_types_compatible_p.
23948 * math/test-math-iseqsig.cc: New file.
23949 * sysdeps/powerpc/powerpc64le/Makefile
23950 (CFLAGS-test-math-iseqsig.cc): New variable.
23952 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
23954 * elf/dl-load.c (is_trusted_path): Remove.
23955 (fillin_rpath): Remove check_trusted argument and its use,
23956 all callers changed.
23958 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23961 * Makeconfig (link-pie-before-libc): Replace -pie with
23962 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
23963 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
23964 (tst-dlopen-aout-no-pie): New.
23965 (LDFLAGS-tst-prelink): Removed.
23966 (tst-prelink-no-pie): New.
23967 (LDFLAGS-tst-main1): Removed.
23968 (tst-main1-no-pie): New.
23969 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
23970 (tst-gmon-no-pie): New.
23972 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23974 * manual/install.texi: Document that --enable-static-pie
23976 * INSTALL: Regenerated.
23978 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
23981 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
23984 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23988 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23992 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23994 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23995 <errno.h>. Include "eexp.tbl".
23996 (half): New constant.
23998 (__ieee754_exp): Rewrite.
23999 (__slowexp): Remove prototype.
24000 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24001 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
24002 * sysdeps/i386/fpu/slowexp.c: Likewise.
24003 * sysdeps/ia64/fpu/slowexp.c: Likewise.
24004 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
24005 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24006 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24007 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24008 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24009 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24011 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24012 (CPPFLAGS-slowexp.c): Remove variable.
24013 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24014 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24015 (CFLAGS-slowexp-fma.c): Remove variable.
24016 (CFLAGS-slowexp-fma4.c): Likewise.
24017 (CFLAGS-slowexp-avx.c): Likewise.
24018 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24020 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24021 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24022 * math/Makefile (type-double-routines): Remove slowexp.
24023 * manual/probes.texi (slowexp_p6): Remove.
24024 (slowexp_p32): Likewise.
24026 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24028 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
24031 * lib/glob.c (glob): Do not pass NULL to mempcpy.
24033 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24035 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24037 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24039 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
24040 <errno.h>. Include "eexp.tbl".
24041 (half): New constant.
24043 (__ieee754_exp): Rewrite.
24044 (__slowexp): Remove prototype.
24045 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24046 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
24047 * sysdeps/i386/fpu/slowexp.c: Likewise.
24048 * sysdeps/ia64/fpu/slowexp.c: Likewise.
24049 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
24050 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24051 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24052 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24053 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24054 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24056 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24057 (CPPFLAGS-slowexp.c): Remove variable.
24058 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24059 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24060 (CFLAGS-slowexp-fma.c): Remove variable.
24061 (CFLAGS-slowexp-fma4.c): Likewise.
24062 (CFLAGS-slowexp-avx.c): Likewise.
24063 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24065 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24066 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24067 * math/Makefile (type-double-routines): Remove slowexp.
24068 * manual/probes.texi (slowexp_p6): Remove.
24069 (slowexp_p32): Likewise.
24071 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24072 James Clarke <jrtc27@jrtc27.com>
24075 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
24078 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24081 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
24084 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24087 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24088 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
24089 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24090 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
24093 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24096 * bits/types/__cancel_jmp_buf_tag.h: New file.
24097 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
24098 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
24099 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
24100 * nptl/Makefile (headers): Add
24101 bits/types/__cancel_jmp_buf_tag.h.
24102 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
24103 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
24104 * sysdeps/nptl/pthread.h: Include
24105 <bits/types/__cancel_jmp_buf_tag.h>.
24106 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
24108 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
24110 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24112 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24113 --enable-static-pie variants to x86_64, x32 and i686.
24115 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24118 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
24119 argument for attrubutes. All callers changed.
24120 (__inline_mathop1): Likewise. All callers changed.
24121 (__inline_mathop): Likewise. All callers changed.
24122 [__USE_MISC] (scalbn): Use __inline_forward instead of
24123 __inline_forward_c.
24124 [__USE_ISOC99] (scalbln): Likewise.
24125 [__USE_ISOC99] (nearbyint): Likewise.
24126 [__USE_ISOC99] (lrint): Likewise.
24127 [__USE_MISC] (scalbnf): Likewise.
24128 [__USE_ISOC99] (scalblnf): Likewise.
24129 [__USE_ISOC99] (nearbyintf): Likewise.
24130 [__USE_ISOC99] (lrintf): Likewise.
24131 [__USE_MISC] (scalbnl): Likewise.
24132 [__USE_ISOC99] (scalblnl): Likewise.
24133 [__USE_ISOC99] (nearbyintl): Likewise.
24134 [__USE_ISOC99] (lrintl): Likewise.
24135 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
24136 __inline_mathop and __m81_defun changed.
24138 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
24139 CPU or FPU for ARM hard-float configurations.
24141 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24143 * nptl/tst-attr3.c: Include <libc-diag.h>.
24144 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
24146 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
24148 * string/tester.c (test_strncat): Also disable -Warray-bounds
24149 warnings for two tests.
24151 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24154 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
24155 $(cc-pie-default) == yes.
24156 * config.make.in (cc-pie-default): New.
24157 * configure.ac (libc_cv_pie_default): Renamed to ...
24158 (libc_cv_cc_pie_default): This.
24159 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
24160 * configure: Regenerated.
24162 2017-12-18 Florian Weimer <fweimer@redhat.com>
24165 ld.so: Harden dl-libc/libdl hooks.
24166 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
24167 (rtld_active): New function.
24168 * dlfcn/dladdr.c (__dladdr): Call it.
24169 * dlfcn/dladdr1.c (__dladdr1): Likewise.
24170 * dlfcn/dlclose.c (__dlcose): Likewise.
24171 * dlfcn/dlerror.c (__dlerror): Likewise.
24172 * dlfcn/dlinfo.c (__dlinfo): Likewise.
24173 * dlfcn/dlmopen.c (__dlmopen): Likewise.
24174 * dlfcn/dlopen.c (__dlopen): Likewise.
24175 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24176 * dlfcn/dlsym.c (__dlsym): Likewise.
24177 * dlfcn/dlvsym.c (__dlvsym): Likewise.
24178 * libio/vtables.c (_IO_vtable_check): Likewise.
24179 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
24180 (__libc_dlclose): Likewise.
24181 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
24184 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24187 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
24188 buffers for readlink input and output.
24190 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
24193 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
24194 inhibit_stack_protector.
24197 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
24198 inhibit_stack_protector.
24200 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
24203 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
24204 code and invocation.
24206 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
24208 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
24210 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
24213 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
24215 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24217 * sysdeps/s390/fpu/libm-test-ulps: Update.
24219 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24223 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24225 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
24226 constants to s_sincosf.h file.
24227 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24228 * sysdeps/ieee754/flt-32/s_sincosf.c: New
24230 * sysdeps/ieee754/flt-32/s_sincosf.h:
24233 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24236 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
24239 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
24242 * INSTALL: Regenerated.
24243 * Makeconfig (real-static-start-installed-name): New.
24244 (pic-default): Updated for --enable-static-pie.
24245 (pie-default): New for --enable-static-pie.
24246 (default-pie-ldflag): Likewise.
24247 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
24248 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
24249 Replace $(static-start-installed-name) with
24250 $(real-static-start-installed-name).
24251 (+prectorT): Updated for --enable-static-pie.
24252 (+postctorT): Likewise.
24253 (CFLAGS-.o): Add $(pie-default).
24254 (CFLAGS-.op): Likewise.
24255 * NEWS: Mention --enable-static-pie.
24256 * config.h.in (ENABLE_STATIC_PIE): New.
24257 * configure.ac (--enable-static-pie): New configure option.
24258 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
24259 (have-static-pie): Likewise.
24260 Enable static PIE if linker supports --no-dynamic-linker.
24261 (ENABLE_STATIC_PIE): New AC_DEFINE.
24262 (enable-static-pie): New LIBC_CONFIG_VAR.
24263 * configure: Regenerated.
24264 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
24265 gr$(start-installed-name) for --enable-static-pie.
24266 (extra-objs): Likewise.
24267 (install-lib): Likewise.
24268 (extra-objs): Add static-reloc.o and static-reloc.os
24269 ($(objpfx)$(start-installed-name)): Also depend on
24270 $(objpfx)static-reloc.o.
24271 ($(objpfx)r$(start-installed-name)): New.
24272 ($(objpfx)g$(start-installed-name)): Also depend on
24273 $(objpfx)static-reloc.os.
24274 ($(objpfx)gr$(start-installed-name)): New.
24275 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
24277 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
24279 * csu/static-reloc.c: New file.
24280 * elf/Makefile (routines): Add dl-reloc-static-pie.
24281 (elide-routines.os): Likewise.
24282 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
24283 (tst-tls1-static-non-pie-no-pie): New.
24284 * elf/dl-reloc-static-pie.c: New file.
24285 * elf/dl-support.c (_dl_get_dl_main_map): New function.
24286 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
24287 STATIC_PIE_BOOTSTRAP.
24288 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
24289 * gmon/Makefile (tests): Add tst-gmon-static-pie.
24290 (tests-static): Likewise.
24291 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
24292 (tst-gmon-static-no-pie): New.
24293 (CFLAGS-tst-gmon-static-pie.c): Likewise.
24294 (CRT-tst-gmon-static-pie): Likewise.
24295 (tst-gmon-static-pie-ENV): Likewise.
24296 (tests-special): Likewise.
24297 ($(objpfx)tst-gmon-static-pie.out): Likewise.
24298 (clean-tst-gmon-static-pie-data): Likewise.
24299 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
24300 * gmon/tst-gmon-static-pie.c: New file.
24301 * manual/install.texi: Document --enable-static-pie.
24302 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
24303 (_dl_get_dl_main_map): Likewise.
24304 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
24305 * sysdeps/x86_64/configure.ac: Likewise.
24306 * sysdeps/i386/configure: Regenerated.
24307 * sysdeps/x86_64/configure: Likewise.
24308 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
24309 (ASFLAGS-.op): Likewise.
24311 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24313 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
24314 * posix/tst-mmap-offset.c (fname): Use /tmp.
24315 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
24317 2017-12-15 Steve Ellcey <sellcey@cavium.com>
24319 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
24321 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
24323 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
24326 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24328 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
24329 --with-float=hard for arm-linux-gnueabihf configurations.
24332 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
24333 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
24334 ($(mo-installed)): Use $(objpfx)%.mo.
24335 (realclean): Remove rule.
24337 * po/Makefile (linguas): Remove rule and dependencies.
24338 (linguas.mo): Likewise.
24339 (.PHONY): Do not depend on linguas and linguas.mo.
24340 (podir): Remove variable.
24341 (pofiles): Likewise.
24342 [$(pofiles)] (%.po): Remove rule.
24344 * sysdeps/sparc/sparc32/Makefile
24345 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
24346 start-of-line whitespace in argument of echo.
24347 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
24348 with whitespace. Generate __wrap_.udiv alias.
24349 * sysdeps/sparc/sparc32/rem.S: Regenerated.
24350 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24351 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24352 * sysdeps/sparc/sparc32/urem.S: Likewise.
24354 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24356 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
24357 for aligned inputs.
24359 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24361 * benchtests/bench-strcmp.c: Print output in JSON format.
24363 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
24365 2017-12-14 Florian Weimer <fweimer@redhat.com>
24369 * elf/dl-load.c (_dl_init_paths): Compute number of components in
24370 the expanded path string.
24372 2017-12-14 Florian Weimer <fweimer@redhat.com>
24376 * elf/dl-load.c (system_dirs): Update comment.
24377 (nsystem_dirs_len): Use array_length.
24378 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
24380 2017-12-14 Florian Weimer <fweimer@redhat.com>
24382 Simplify compiling most of support/ outside of glibc.
24383 * support/check_addrinfo.c: Include <string.h>.
24384 * support/check_dns_packet.c: Likewise.
24385 * support/check_hostent.c: Likewise.
24386 * support/support_can_chroot.c: Include <support/xunistd.h>.
24387 * support/support_format_addrinfo.c: Include <stdlib.h>
24388 * support/support_format_dns_packet.c: Include <stdbool.h>.
24389 * support/support_format_hostent.c: Include <stdlib.h>.
24390 * support/support_format_netent.c: Likewise.
24391 * support/support_write_string.c: Include <support/xunistd.h>.
24392 * support/xdlfcn.c: Include <stddef.h>.
24394 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
24396 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
24398 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24399 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24401 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24402 (sysdeps_routines): Add memset-niagara7.
24403 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
24405 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
24407 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
24408 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24409 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
24410 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
24411 Add niagara7 option.
24412 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
24415 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24416 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
24417 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
24419 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
24421 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
24422 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
24423 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24424 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
24425 and __memmove_niagara7.
24426 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
24427 Add niagara7 option.
24428 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
24429 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
24430 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
24431 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
24432 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
24434 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
24436 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
24437 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
24438 * sysdeps/sparc/sparc64/memmove.S: Likewise.
24439 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
24441 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
24442 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
24443 _dl_sparc_cap_flags array.
24444 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
24446 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
24448 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
24449 time whenever possible.
24451 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24453 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
24454 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
24456 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24458 * soft-fp/fmadf4.c: Move to ....
24459 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
24460 * soft-fp/fmasf4.c: Move to ....
24461 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
24462 * soft-fp/fmatf4.c: Move to ....
24463 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
24464 * sysdeps/ieee754/soft-fp/Makefile: New file.
24465 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
24466 * sysdeps/arm/preconfigure: Regenerated.
24467 * sysdeps/arm/nofpu/Implies: New file.
24468 * sysdeps/arm/s_fma.c: Remove file.
24469 * sysdeps/arm/s_fmaf.c: Likewise.
24470 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
24471 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
24472 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24473 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
24474 * sysdeps/microblaze/s_fma.c: Remove file.
24475 * sysdeps/microblaze/s_fmaf.c: Likewise.
24476 * sysdeps/mips/mips32/nofpu/Implies: New file.
24477 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
24478 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
24479 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
24480 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
24481 * sysdeps/mips/ieee754/s_fma.c: Remove file.
24482 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
24483 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
24485 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
24486 * sysdeps/nios2/s_fma.c: Remove file.
24487 * sysdeps/nios2/s_fmaf.c: Likewise.
24488 * sysdeps/sh/nofpu/Implies: New file.
24489 * sysdeps/sh/s_fma.c: Remove file.
24490 * sysdeps/sh/s_fmaf.c: Likewise.
24491 * sysdeps/tile/Implies: Add ieee754/soft-fp.
24492 * sysdeps/tile/s_fma.c: Remove file.
24493 * sysdeps/tile/s_fmaf.c: Likewise.
24495 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
24497 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24498 Add s_cosf-sse2 and s_cosf-fma.
24499 (CFLAGS-s_cosf-fma.c): New.
24500 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
24501 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
24502 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
24504 2017-12-12 Steve Ellcey <sellcey@cavium.com>
24506 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
24508 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24510 * libio/Makefile (tests): Add tst-bz22415.
24511 (tst-bz22415-ENV): New rule.
24512 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
24513 (tests-special): Add tst-bz22415-mem.out.
24514 ($(objpfx)tst-bz22415-mem.out): New rule.
24515 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
24516 in case of a successful seek operation.
24517 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24518 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
24519 buffer is required.
24520 * libio/tst-bz22415.c: New test.
24522 * sysdeps/ia64/fpu/libm-test-ulps: Update.
24524 2017-12-12 James Clarke <jrtc27@jrtc27.com>
24526 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
24527 __IPC_64 to 0 to avoid IPC_64 being set.
24529 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24532 * math/bits/mathcalls.h (nextafter): Remove const.
24533 (nexttoward): Likewise.
24535 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24537 * configure.ac (--with-fp): Remove configure option.
24538 (with_fp_cond): New variable.
24539 (libc_cv_with_fp): New configure test. Use this variable instead
24541 * configure: Regenerated.
24542 * config.make.in (with-fp): Use @libc_cv_with_fp@.
24543 * manual/install.texi (Configuring and compiling): Remove
24545 * INSTALL: Regenerated.
24546 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
24547 * sysdeps/mips/preconfigure (with_fp_cond): Define.
24548 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
24549 * sysdeps/sh/preconfigure (with_fp_cond): Define.
24550 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
24551 use --without-fp to configure glibc.
24553 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
24555 * manual/locale.texi (nl_langinfo): Fix a typo.
24557 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
24560 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
24562 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24564 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
24565 (CFLAGS-argp-parse.c): Likewise.
24566 (CFLAGS-argp-fmtstream.c): Likewise.
24567 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
24568 (CPPFLAGS-sha512-crypt.c): Likewise.
24569 (CPPFLAGS-md5-crypt.c): Likewise.
24570 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
24571 (CFLAGS-stack_chk_fail_local.c): Likewise.
24572 (CFLAGS-backtrace.c): Likewise.
24573 (CFLAGS-sprintf_chk.c): Likewise.
24574 (CFLAGS-snprintf_chk.c): Likewise.
24575 (CFLAGS-vsprintf_chk.c): Likewise.
24576 (CFLAGS-vsnprintf_chk.c): Likewise.
24577 (CFLAGS-asprintf_chk.c): Likewise.
24578 (CFLAGS-vasprintf_chk.c): Likewise.
24579 (CFLAGS-obprintf_chk.c): Likewise.
24580 (CFLAGS-dprintf_chk.c): Likewise.
24581 (CFLAGS-vdprintf_chk.c): Likewise.
24582 (CFLAGS-printf_chk.c): Likewise.
24583 (CFLAGS-fprintf_chk.c): Likewise.
24584 (CFLAGS-vprintf_chk.c): Likewise.
24585 (CFLAGS-vfprintf_chk.c): Likewise.
24586 (CFLAGS-gets_chk.c): Likewise.
24587 (CFLAGS-fgets_chk.c): Likewise.
24588 (CFLAGS-fgets_u_chk.c): Likewise.
24589 (CFLAGS-fread_chk.c): Likewise.
24590 (CFLAGS-fread_u_chk.c): Likewise.
24591 (CFLAGS-swprintf_chk.c): Likewise.
24592 (CFLAGS-vswprintf_chk.c): Likewise.
24593 (CFLAGS-wprintf_chk.c): Likewise.
24594 (CFLAGS-fwprintf_chk.c): Likewise.
24595 (CFLAGS-vwprintf_chk.c): Likewise.
24596 (CFLAGS-vfwprintf_chk.c): Likewise.
24597 (CFLAGS-fgetws_chk.c): Likewise.
24598 (CFLAGS-fgetws_u_chk.c): Likewise.
24599 (CFLAGS-read_chk.c): Likewise.
24600 (CFLAGS-pread_chk.c): Likewise.
24601 (CFLAGS-pread64_chk.c): Likewise.
24602 (CFLAGS-recv_chk.c): Likewise.
24603 (CFLAGS-recvfrom_chk.c): Likewise.
24604 (CFLAGS-tst-longjmp_chk.c): Likewise.
24605 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
24606 (CFLAGS-tst-longjmp_chk2.c): Likewise.
24607 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
24608 (CFLAGS-tst-longjmp_chk3.c): Likewise.
24609 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24610 (CFLAGS-tst-chk1.c): Likewise.
24611 (CFLAGS-tst-chk2.c): Likewise.
24612 (CFLAGS-tst-chk3.c): Likewise.
24613 (CFLAGS-tst-chk4.cc): Likewise.
24614 (CFLAGS-tst-chk5.cc): Likewise.
24615 (CFLAGS-tst-chk6.cc): Likewise.
24616 (CFLAGS-tst-lfschk1.c): Likewise.
24617 (CFLAGS-tst-lfschk2.c): Likewise.
24618 (CFLAGS-tst-lfschk3.c): Likewise.
24619 (CFLAGS-tst-lfschk4.cc): Likewise.
24620 (CFLAGS-tst-lfschk5.cc): Likewise.
24621 (CFLAGS-tst-lfschk6.cc): Likewise.
24622 (CFLAGS-tst-ssp-1.c): Likewise.
24623 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
24624 (CFLAGS-scandir64.c): Likewise.
24625 (CFLAGS-scandir-tail.c): Likewise.
24626 (CFLAGS-scandir64-tail.c): Likewise.
24627 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
24628 (CFLAGS-dl-tunables.c): Likewise.
24629 (CFLAGS-dl-runtime.c): Likewise.
24630 (CFLAGS-dl-lookup.c): Likewise.
24631 (CFLAGS-dl-iterate-phdr.c): Likewise.
24632 (CFLAGS-vismain.c): Likewise.
24633 (CFLAGS-tst-linkall-static.c): Likewise.
24634 (CFLAGS-tst-linkall-static.c): Likewise.
24635 (CPPFLAGS-dl-load.c): Likewise.
24636 (CFLAGS-ldconfig.c): Likewise.
24637 (CFLAGS-dl-cache.c): Likewise.
24638 (CFLAGS-cache.c): Likewise.
24639 (CFLAGS-rtld.c): Likewise.
24640 (CFLAGS-multiload.c): Likewise.
24641 (CFLAGS-filtmod1.c): Likewise.
24642 (CFLAGS-tst-align.c): Likewise.
24643 (CFLAGS-tst-align2.c): Likewise.
24644 (CFLAGS-tst-alignmod.c): Likewise.
24645 (CFLAGS-tst-alignmod2.c): Likewise.
24646 (CPPFLAGS-tst-execstack.c): Likewise.
24647 (CFLAGS-tst-ptrguard1-static.c): Likewise.
24648 (CFLAGS-tst-latepthreadmod.c): Likewise.
24649 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
24650 (CFLAGS-getgrnam_r.c): Likewise.
24651 (CFLAGS-getgrent_r.c): Likewise.
24652 (CFLAGS-getgrent.c): Likewise.
24653 (CFLAGS-fgetgrent.c): Likewise.
24654 (CFLAGS-fgetgrent_r.c): Likewise.
24655 (CFLAGS-putgrent.c): Likewise.
24656 (CFLAGS-initgroups.c): Likewise.
24657 (CFLAGS-getgrgid.c): Likewise.
24658 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
24659 (CFLAGS-getsgent.c): Likewise.
24660 (CFLAGS-fgetsgent.c): Likewise.
24661 (CFLAGS-fgetsgent_r.c): Likewise.
24662 (CFLAGS-putsgent.c): Likewise.
24663 (CFLAGS-getsgnam.c): Likewise.
24664 (CFLAGS-getsgnam_r.c): Likewise.
24665 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
24666 (CFLAGS-iconv_charmap.c): Likewise.
24667 (CFLAGS-dummy-repertoire.c): Likewise.
24668 (CFLAGS-charmap.c): Likewise.
24669 (CFLAGS-linereader.c): Likewise.
24670 (CFLAGS-simple-hash.c): Likewise.
24671 (CFLAGS-gconv_conf.c): Likewise.
24672 (CFLAGS-iconvconfig.c): Likewise.
24673 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24674 (CFLAGS-gethstbyad.c): Likewise.
24675 (CFLAGS-gethstbynm_r.c): Likewise.
24676 (CFLAGS-gethstbynm.c): Likewise.
24677 (CFLAGS-gethstbynm2_r.c): Likewise.
24678 (CFLAGS-gethstbynm2.c): Likewise.
24679 (CFLAGS-gethstent_r.c): Likewise.
24680 (CFLAGS-gethstent.c): Likewise.
24681 (CFLAGS-rcmd.c): Likewise.
24682 (CFLAGS-getnetbynm_r.c): Likewise.
24683 (CFLAGS-getnetbynm.c): Likewise.
24684 (CFLAGS-getnetbyad_r.c): Likewise.
24685 (CFLAGS-getnetbyad.c): Likewise.
24686 (CFLAGS-getnetent_r.c): Likewise.
24687 (CFLAGS-getnetent.c): Likewise.
24688 (CFLAGS-getaliasent_r.c): Likewise.
24689 (CFLAGS-getaliasent.c): Likewise.
24690 (CFLAGS-getrpcent_r.c): Likewise.
24691 (CFLAGS-getrpcent.c): Likewise.
24692 (CFLAGS-getservent_r.c): Likewise.
24693 (CFLAGS-getservent.c): Likewise.
24694 (CFLAGS-getprtent_r.c): Likewise.
24695 (CFLAGS-getprtent.c): Likewise.
24696 (CFLAGS-either_ntoh.c): Likewise.
24697 (CFLAGS-either_hton.c): Likewise.
24698 (CFLAGS-getnetgrent.c): Likewise.
24699 (CFLAGS-getnetgrent_r.c): Likewise.
24700 (CFLAGS-tst-checks-posix.c): Likewise.
24701 (CFLAGS-tst-sockaddr.c): Likewise.
24702 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
24703 (CFLAGS-tst-translit.c): Likewise.
24704 (CFLAGS-tst-gettext2.c): Likewise.
24705 (CFLAGS-tst-codeset.c): Likewise.
24706 (CFLAGS-tst-gettext3.c): Likewise.
24707 (CFLAGS-tst-gettext4.c): Likewise.
24708 (CFLAGS-tst-gettext5.c): Likewise.
24709 (CFLAGS-tst-gettext6.c): Likewise.
24710 * io/Makefile (CFLAGS-open.c): Likewise.
24711 (CFLAGS-open64.c): Likewise.
24712 (CFLAGS-creat.c): Likewise.
24713 (CFLAGS-creat64.c): Likewise.
24714 (CFLAGS-fcntl.c): Likewise.
24715 (CFLAGS-poll.c): Likewise.
24716 (CFLAGS-ppoll.c): Likewise.
24717 (CFLAGS-lockf.c): Likewise.
24718 (CFLAGS-statfs.c): Likewise.
24719 (CFLAGS-fstatfs.c): Likewise.
24720 (CFLAGS-statvfs.c): Likewise.
24721 (CFLAGS-fstatvfs.c): Likewise.
24722 (CFLAGS-fts.c): Likewise.
24723 (CFLAGS-fts64.c): Likewise.
24724 (CFLAGS-ftw.c): Likewise.
24725 (CFLAGS-ftw64.c): Likewise.
24726 (CFLAGS-lockf.c): Likewise.
24727 (CFLAGS-posix_fallocate.c): Likewise.
24728 (CFLAGS-posix_fallocate64.c): Likewise.
24729 (CFLAGS-fallocate.c): Likewise.
24730 (CFLAGS-fallocate64.c): Likewise.
24731 (CFLAGS-read.c): Likewise.
24732 (CFLAGS-write.c): Likewise.
24733 (CFLAGS-test-stat.c): Likewise.
24734 (CFLAGS-test-lfs.c): Likewise.
24735 * libio/Makefile (CFLAGS-fileops.c): Likewise.
24736 (CFLAGS-fputc.c): Likewise.
24737 (CFLAGS-fputwc.c): Likewise.
24738 (CFLAGS-freopen64.c): Likewise.
24739 (CFLAGS-freopen.c): Likewise.
24740 (CFLAGS-fseek.c): Likewise.
24741 (CFLAGS-fseeko64.c): Likewise.
24742 (CFLAGS-fseeko.c): Likewise.
24743 (CFLAGS-ftello64.c): Likewise.
24744 (CFLAGS-ftello.c): Likewise.
24745 (CFLAGS-fwide.c): Likewise.
24746 (CFLAGS-genops.c): Likewise.
24747 (CFLAGS-getc.c): Likewise.
24748 (CFLAGS-getchar.c): Likewise.
24749 (CFLAGS-getwc.c): Likewise.
24750 (CFLAGS-getwchar.c): Likewise.
24751 (CFLAGS-iofclose.c): Likewise.
24752 (CFLAGS-iofflush.c): Likewise.
24753 (CFLAGS-iofgetpos64.c): Likewise.
24754 (CFLAGS-iofgetpos.c): Likewise.
24755 (CFLAGS-iofgets.c): Likewise.
24756 (CFLAGS-iofgetws.c): Likewise.
24757 (CFLAGS-iofputs.c): Likewise.
24758 (CFLAGS-iofputws.c): Likewise.
24759 (CFLAGS-iofread.c): Likewise.
24760 (CFLAGS-iofsetpos64.c): Likewise.
24761 (CFLAGS-iofsetpos.c): Likewise.
24762 (CFLAGS-ioftell.c): Likewise.
24763 (CFLAGS-iofwrite.c): Likewise.
24764 (CFLAGS-iogetdelim.c): Likewise.
24765 (CFLAGS-iogetline.c): Likewise.
24766 (CFLAGS-iogets.c): Likewise.
24767 (CFLAGS-iogetwline.c): Likewise.
24768 (CFLAGS-ioputs.c): Likewise.
24769 (CFLAGS-ioseekoff.c): Likewise.
24770 (CFLAGS-ioseekpos.c): Likewise.
24771 (CFLAGS-iosetbuffer.c): Likewise.
24772 (CFLAGS-iosetvbuf.c): Likewise.
24773 (CFLAGS-ioungetc.c): Likewise.
24774 (CFLAGS-ioungetwc.c): Likewise.
24775 (CFLAGS-oldfileops.c): Likewise.
24776 (CFLAGS-oldiofclose.c): Likewise.
24777 (CFLAGS-oldiofgetpos64.c): Likewise.
24778 (CFLAGS-oldiofgetpos.c): Likewise.
24779 (CFLAGS-oldiofsetpos64.c): Likewise.
24780 (CFLAGS-oldiofsetpos.c): Likewise.
24781 (CFLAGS-peekc.c): Likewise.
24782 (CFLAGS-putc.c): Likewise.
24783 (CFLAGS-putchar.c): Likewise.
24784 (CFLAGS-putwc.c): Likewise.
24785 (CFLAGS-putwchar.c): Likewise.
24786 (CFLAGS-rewind.c): Likewise.
24787 (CFLAGS-wfileops.c): Likewise.
24788 (CFLAGS-wgenops.c): Likewise.
24789 (CFLAGS-oldiofopen.c): Likewise.
24790 (CFLAGS-iofopen.c): Likewise.
24791 (CFLAGS-iofopen64.c): Likewise.
24792 (CFLAGS-oldtmpfile.c): Likewise.
24793 (CFLAGS-tst_putwc.c): Likewise.
24794 * locale/Makefile (CFLAGS-md5.c): Likewise.
24795 (CFLAGS-charmap.c): Likewise.
24796 (CFLAGS-locfile.c): Likewise.
24797 (CFLAGS-charmap-dir.c): Likewise.
24798 * login/Makefile (CFLAGS-grantpt.c): Likewise.
24799 (CFLAGS-getpt.c): Likewise.
24800 (CFLAGS-pt_chown.c): Likewise.
24801 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
24802 (CFLAGS-obstack.c): Likewise.
24803 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
24804 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
24805 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
24806 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
24807 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
24808 (CFLAGS-test-tgmath.c): Likewise.
24809 (CFLAGS-test-tgmath2.c): Likewise.
24810 (CFLAGS-test-tgmath-ret.c): Likewise.
24811 (CFLAGS-test-powl.c): Likewise.
24812 (CFLAGS-test-snan.c): Likewise.
24813 (CFLAGS-test-signgam-finite.c): Likewise.
24814 (CFLAGS-test-signgam-finite-c99.c): Likewise.
24815 (CFLAGS-test-signgam-finite-c11.c): Likewise.
24816 (CFLAGS-test-signgam-uchar.c): Likewise.
24817 (CFLAGS-test-signgam-uchar-init.c): Likewise.
24818 (CFLAGS-test-signgam-uchar-static.c): Likewise.
24819 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24820 (CFLAGS-test-signgam-uint.c): Likewise.
24821 (CFLAGS-test-signgam-uint-init.c): Likewise.
24822 (CFLAGS-test-signgam-uint-static.c): Likewise.
24823 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24824 (CFLAGS-test-signgam-ullong.c): Likewise.
24825 (CFLAGS-test-signgam-ullong-init.c): Likewise.
24826 (CFLAGS-test-signgam-ullong-static.c): Likewise.
24827 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24828 (CFLAGS-test-math-cxx11.cc): Likewise.
24829 (CFLAGS-test-math-isinff.cc): Likewise.
24830 (CFLAGS-test-math-iszero.cc): Likewise.
24831 (CFLAGS-test-math-issignaling.cc): Likewise.
24832 (CFLAGS-test-math-iscanonical.cc): Likewise.
24833 (CFLAGS-test-iszero-excess-precision.c): Likewise.
24834 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
24835 (CFLAGS-test-flt-eval-method.c): Likewise.
24836 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
24837 (CFLAGS-test-finite-macros.c): Likewise.
24838 * misc/Makefile (CFLAGS-select.c): Likewise.
24839 (CFLAGS-tsearch.c): Likewise.
24840 (CFLAGS-lsearch.c): Likewise.
24841 (CFLAGS-pselect.c): Likewise.
24842 (CFLAGS-readv.c): Likewise.
24843 (CFLAGS-writev.c): Likewise.
24844 (CFLAGS-preadv.c): Likewise.
24845 (CFLAGS-preadv64.c): Likewise.
24846 (CFLAGS-pwritev.c): Likewise.
24847 (CFLAGS-pwritev64.c): Likewise.
24848 (CFLAGS-preadv2.c): Likewise.
24849 (CFLAGS-preadv64v2.c): Likewise.
24850 (CFLAGS-pwritev2.c): Likewise.
24851 (CFLAGS-pwritev64v2.c): Likewise.
24852 (CFLAGS-usleep.c): Likewise.
24853 (CFLAGS-syslog.c): Likewise.
24854 (CFLAGS-error.c): Likewise.
24855 (CFLAGS-getpass.c): Likewise.
24856 (CFLAGS-mkstemp.c): Likewise.
24857 (CFLAGS-mkstemp64.c): Likewise.
24858 (CFLAGS-getsysstats.c): Likewise.
24859 (CFLAGS-getusershell.c): Likewise.
24860 (CFLAGS-err.c): Likewise.
24861 (CFLAGS-tst-tsearch.c): Likewise.
24862 (CFLAGS-msync.c): Likewise.
24863 (CFLAGS-fdatasync.c): Likewise.
24864 (CFLAGS-fsync.c): Likewise.
24865 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
24866 (CFLAGS-unwind.c): Likewise.
24867 (CFLAGS-unwind-forcedunwind.c): Likewise.
24868 (CFLAGS-pthread_cancel.c): Likewise.
24869 (CFLAGS-pthread_setcancelstate.c): Likewise.
24870 (CFLAGS-pthread_setcanceltype.c): Likewise.
24871 (CFLAGS-cancellation.c): Likewise.
24872 (CFLAGS-libc-cancellation.c): Likewise.
24873 (CFLAGS-pthread_exit.c): Likewise.
24874 (CFLAGS-forward.c): Likewise.
24875 (CFLAGS-pthread_testcancel.c): Likewise.
24876 (CFLAGS-pthread_join.c): Likewise.
24877 (CFLAGS-pthread_timedjoin.c): Likewise.
24878 (CFLAGS-pthread_once.c): Likewise.
24879 (CFLAGS-pthread_cond_wait.c): Likewise.
24880 (CFLAGS-sem_wait.c): Likewise.
24881 (CFLAGS-sem_timedwait.c): Likewise.
24882 (CFLAGS-fcntl.c): Likewise.
24883 (CFLAGS-lockf.c): Likewise.
24884 (CFLAGS-pread.c): Likewise.
24885 (CFLAGS-pread64.c): Likewise.
24886 (CFLAGS-pwrite.c): Likewise.
24887 (CFLAGS-pwrite64.c): Likewise.
24888 (CFLAGS-wait.c): Likewise.
24889 (CFLAGS-waitpid.c): Likewise.
24890 (CFLAGS-sigwait.c): Likewise.
24891 (CFLAGS-msgrcv.c): Likewise.
24892 (CFLAGS-msgsnd.c): Likewise.
24893 (CFLAGS-tcdrain.c): Likewise.
24894 (CFLAGS-open.c): Likewise.
24895 (CFLAGS-open64.c): Likewise.
24896 (CFLAGS-pause.c): Likewise.
24897 (CFLAGS-recv.c): Likewise.
24898 (CFLAGS-send.c): Likewise.
24899 (CFLAGS-accept.c): Likewise.
24900 (CFLAGS-sendto.c): Likewise.
24901 (CFLAGS-connect.c): Likewise.
24902 (CFLAGS-recvfrom.c): Likewise.
24903 (CFLAGS-recvmsg.c): Likewise.
24904 (CFLAGS-sendmsg.c): Likewise.
24905 (CFLAGS-close.c): Likewise.
24906 (CFLAGS-read.c): Likewise.
24907 (CFLAGS-write.c): Likewise.
24908 (CFLAGS-nanosleep.c): Likewise.
24909 (CFLAGS-sigsuspend.c): Likewise.
24910 (CFLAGS-msync.c): Likewise.
24911 (CFLAGS-fdatasync.c): Likewise.
24912 (CFLAGS-fsync.c): Likewise.
24913 (CFLAGS-pt-system.c): Likewise.
24914 (CFLAGS-tst-cleanup2.c): Likewise.
24915 (CFLAGS-tst-cleanupx2.c): Likewise.
24916 (CFLAGS-flockfile.c): Likewise.
24917 (CFLAGS-ftrylockfile.c): Likewise.
24918 (CFLAGS-funlockfile.c): Likewise.
24919 (CFLAGS-tst-initializers1.c): Likewise.
24920 (CFLAGS-tst-initializers1-c89.c): Likewise.
24921 (CFLAGS-tst-initializers1-c99.c): Likewise.
24922 (CFLAGS-tst-initializers1-c11.c): Likewise.
24923 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
24924 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
24925 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24926 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
24927 (CFLAGS-nscd_getgr_r.c): Likewise.
24928 (CFLAGS-nscd_gethst_r.c): Likewise.
24929 (CFLAGS-nscd_getai.c): Likewise.
24930 (CFLAGS-nscd_initgroups.c): Likewise.
24931 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
24932 (CFLAGS-pause.c): Likewise.
24933 (CFLAGS-pread.c): Likewise.
24934 (CFLAGS-pread64.c): Likewise.
24935 (CFLAGS-pwrite.c): Likewise.
24936 (CFLAGS-pwrite64.c): Likewise.
24937 (CFLAGS-sleep.c): Likewise.
24938 (CFLAGS-wait.c): Likewise.
24939 (CFLAGS-waitid.c): Likewise.
24940 (CFLAGS-waitpid.c): Likewise.
24941 (CFLAGS-getopt.c): Likewise.
24942 (CFLAGS-wordexp.c): Likewise.
24943 (CFLAGS-sysconf.c): Likewise.
24944 (CFLAGS-pathconf.c): Likewise.
24945 (CFLAGS-fpathconf.c): Likewise.
24946 (CFLAGS-spawn.c): Likewise.
24947 (CFLAGS-spawnp.c): Likewise.
24948 (CFLAGS-spawni.c): Likewise.
24949 (CFLAGS-glob.c): Likewise.
24950 (CFLAGS-glob64.c): Likewise.
24951 (CFLAGS-getconf.c): Likewise.
24952 (CFLAGS-nanosleep.c): Likewise.
24953 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
24954 (CFLAGS-getpwent.c): Likewise.
24955 (CFLAGS-getpw.c): Likewise.
24956 (CFLAGS-fgetpwent_r.c): Likewise.
24957 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
24958 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
24959 (CFLAGS-mq_timedreceive.c): Likewise.
24960 (CFLAGS-mq_timedsend.c): Likewise.
24961 (CFLAGS-clock_nanosleep.c): Likewise.
24962 (CFLAGS-librt-cancellation.c): Likewise.
24963 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
24964 (CFLAGS-getspent.c): Likewise.
24965 (CFLAGS-fgetspent.c): Likewise.
24966 (CFLAGS-fgetspent_r.c): Likewise.
24967 (CFLAGS-putspent.c): Likewise.
24968 (CFLAGS-getspnam.c): Likewise.
24969 (CFLAGS-getspnam_r.c): Likewise.
24970 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
24971 (CFLAGS-sigsuspend.c): Likewise.
24972 (CFLAGS-sigtimedwait.c): Likewise.
24973 (CFLAGS-sigwait.c): Likewise.
24974 (CFLAGS-sigwaitinfo.c): Likewise.
24975 (CFLAGS-sigreturn.c): Likewise.
24976 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24977 (CFLAGS-vfwprintf.c): Likewise.
24978 (CFLAGS-tmpfile.c): Likewise.
24979 (CFLAGS-tmpfile64.c): Likewise.
24980 (CFLAGS-tempname.c): Likewise.
24981 (CFLAGS-psignal.c): Likewise.
24982 (CFLAGS-vprintf.c): Likewise.
24983 (CFLAGS-cuserid.c): Likewise.
24984 (CFLAGS-errlist.c): Likewise.
24985 (CFLAGS-siglist.c): Likewise.
24986 (CFLAGS-scanf15.c): Likewise.
24987 (CFLAGS-scanf17.c): Likewise.
24988 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
24989 (CFLAGS-msort.c): Likewise.
24990 (CFLAGS-qsort.c): Likewise.
24991 (CFLAGS-system.c): Likewise.
24992 (CFLAGS-fmtmsg.c): Likewise.
24993 (CFLAGS-strfmon.c): Likewise.
24994 (CFLAGS-strfmon_l.c): Likewise.
24995 (CFLAGS-strfromd.c): Likewise.
24996 (CFLAGS-strfromf.c): Likewise.
24997 (CFLAGS-strfroml.c): Likewise.
24998 (CFLAGS-tst-bsearch.c): Likewise.
24999 (CFLAGS-tst-qsort.c): Likewise.
25000 (CFLAGS-tst-makecontext2.c): Likewise.
25001 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
25002 (CFLAGS-xnlm_prot.c): Likewise.
25003 (CFLAGS-xrstat.c): Likewise.
25004 (CFLAGS-xyppasswd.c): Likewise.
25005 (CFLAGS-xklm_prot.c): Likewise.
25006 (CFLAGS-xrex.c): Likewise.
25007 (CFLAGS-xsm_inter.c): Likewise.
25008 (CFLAGS-xmount.c): Likewise.
25009 (CFLAGS-xrusers.c): Likewise.
25010 (CFLAGS-xspray.c): Likewise.
25011 (CFLAGS-xnfs_prot.c): Likewise.
25012 (CFLAGS-xrquota.c): Likewise.
25013 (CFLAGS-xkey_prot.c): Likewise.
25014 (CFLAGS-auth_unix.c): Likewise.
25015 (CFLAGS-key_call.c): Likewise.
25016 (CFLAGS-pmap_rmt.c): Likewise.
25017 (CFLAGS-clnt_perr.c): Likewise.
25018 (CFLAGS-openchild.c): Likewise.
25019 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
25020 (CFLAGS-msgsnd.c): Likewise.
25021 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
25022 * time/Makefile (CFLAGS-tzfile.c): Likewise.
25023 (CFLAGS-tzset.c): Likewise.
25024 (CFLAGS-getdate.c): Likewise.
25025 (CFLAGS-test_time.c): Likewise.
25026 (CPPFLAGS-tst-tzname.c): Likewise.
25027 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
25028 (CFLAGS-zic.c): Likewise.
25029 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
25030 (CFLAGS-wcswidth.c): Likewise.
25031 (CFLAGS-wcstol.c): Likewise.
25032 (CFLAGS-wcstoul.c): Likewise.
25033 (CFLAGS-wcstoll.c): Likewise.
25034 (CFLAGS-wcstoull.c): Likewise.
25035 (CFLAGS-wcstod.c): Likewise.
25036 (CFLAGS-wcstold.c): Likewise.
25037 (CFLAGS-wcstof128.c): Likewise.
25038 (CFLAGS-wcstof.c): Likewise.
25039 (CFLAGS-wcstol_l.c): Likewise.
25040 (CFLAGS-wcstoul_l.c): Likewise.
25041 (CFLAGS-wcstoll_l.c): Likewise.
25042 (CFLAGS-wcstoull_l.c): Likewise.
25043 (CFLAGS-wcstod_l.c): Likewise.
25044 (CFLAGS-wcstold_l.c): Likewise.
25045 (CFLAGS-wcstof128_l.c): Likewise.
25046 (CFLAGS-wcstof_l.c): Likewise.
25047 (CPPFLAGS-tst-wchar-h.c): Likewise.
25048 (CPPFLAGS-wcstold_l.c): Likewise.
25050 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
25052 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
25054 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25055 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25057 * manual/tunables.texi (Hardware Capability Tunables): Document
25058 glibc.tune.cached_memopt.
25059 * sysdeps/powerpc/cpu-features.c: New file.
25060 * sysdeps/powerpc/cpu-features.h: New file.
25061 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
25062 _dl_powerpc_cpu_features.
25063 * sysdeps/powerpc/dl-tunables.list: New file.
25064 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
25065 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25066 (INIT_ARCH): Initialize use_aligned_memopt.
25067 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
25068 IS_IN(rtld))]: Restrict dl_platform_init availability and
25069 initialize CPU features used by tunables.
25070 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
25071 Add memcpy-power8-cached.
25072 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
25073 __memcpy_power8_cached.
25074 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25075 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
25078 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
25080 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
25081 (CFLAGS-noinl-tester.c): Likewise.
25082 (CFLAGS-tst-strlen.c): Likewise.
25083 (CFLAGS-stratcliff.c): Likewise.
25084 (CFLAGS-test-ffs.c): Likewise.
25085 (CFLAGS-tst-inlcall.c): Likewise.
25086 (CFLAGS-tst-xbzero-opt.c): Likewise.
25087 (CFLAGS-memcpy.c): Likewise.
25088 (CFLAGS-wordcopy.c): Likewise.
25090 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25092 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
25093 Store r15 on stack and add cfi rule.
25094 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
25097 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
25100 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
25103 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25105 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25106 Add s_sinf-sse2 and s_sinf-fma.
25107 (CFLAGS-s_sinf-fma.c): New.
25108 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
25109 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
25110 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
25112 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25114 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
25116 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25119 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
25120 part of result to imaginary part of argument if it is zero and the
25121 real part of the argument is not finite.
25122 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
25123 of result to real part of argument if it is zero and the imaginary
25124 part of the argument is not finite.
25126 2017-12-07 Mike FABIAN <mfabian@redhat.com>
25129 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
25130 and to the list of locales to be built for testing.
25131 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
25132 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
25133 and build the collation rules upon that.
25135 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25137 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
25138 * manual/math.texi (Mathematics): Document support for _Float32.
25139 * math/Makefile (test-types): Add float32.
25140 * math/Versions (GLIBC_2.27): Add _Float32 functions.
25141 * stdlib/Versions (GLIBC_2.27): Likewise.
25142 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25143 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25144 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25145 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25146 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25147 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25148 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25149 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25150 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25151 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25152 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25153 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25154 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25155 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25156 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25157 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25158 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25159 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25160 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25161 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25162 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25163 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25165 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25166 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25167 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25168 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25169 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25187 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25188 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25189 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25190 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25191 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25192 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25193 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25194 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25195 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25196 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25205 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25206 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25207 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25208 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25209 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25210 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25211 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25212 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25214 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25216 * stdlib/strtof.c: Include <bits/floatn.h>
25217 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
25218 and later undefine as macro. Define as weak alias if
25220 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
25221 and later undefine as macro. Define as weak alias if
25223 * stdlib/strtof_l.c: Include <bits/floatn.h>
25224 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
25225 and later undefine as macro. Define as weak alias if
25227 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
25228 and later undefine as macro. Define as weak alias if
25231 * stdlib/strfromf.c: Include <bits/floatn.h>.
25232 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
25233 and later undefine as macro and define as weak alias.
25235 * math/test-float32.h: New file.
25237 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
25238 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
25239 (libm_alias_float_other_r): Create f32 alias.
25240 (libm_alias_float_r): Use semicolon before call to
25241 libm_alias_float_other_r.
25243 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
25244 second argument to libm_alias_float_other.
25245 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
25246 second argument to libm_alias_float_other.
25247 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
25248 argument to libm_alias_float_other.
25251 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
25252 real part of result for argument 0 + i * NaN.
25253 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
25254 results for tests of 0 + i * NaN.
25256 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25258 * sysdeps/alpha/fpu/libm-test-ulps: Update.
25260 2017-12-06 David S. Miller <davem@davemloft.net>
25262 * sysdeps/sparc/fpu/libm-test-ulps: Update
25263 exp_{downward,towardzero,upward} ulps.
25265 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25267 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
25270 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
25272 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
25274 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
25276 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
25279 2017-12-06 Mike FABIAN <mfabian@redhat.com>
25282 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
25283 and to the list of locales to be built for testing.
25284 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
25285 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
25286 and build the collation rules upon that.
25288 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25290 * NEWS: Add sinf to list of optimized functions.
25292 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25294 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
25295 (__HAVE_FLOAT32X): Likewise.
25296 * manual/math.texi (Mathematics): Document support for _Float64
25298 * math/Makefile (test-types): Add float64 and float32x.
25299 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
25301 * stdlib/Versions (GLIBC_2.27): Likewise.
25302 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25303 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25304 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25305 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25306 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25307 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25308 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25309 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25310 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25311 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25312 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25313 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25314 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25315 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25316 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25317 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25318 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25319 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25320 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25321 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25322 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25323 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25325 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25326 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25327 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25328 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25329 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25346 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25347 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25348 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25349 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25350 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25351 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25352 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25353 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25354 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25355 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25364 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25365 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25366 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25367 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25368 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25369 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25370 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25371 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25373 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25375 * bits/floatn-common.h: Include <bits/long-double.h>.
25376 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25377 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
25378 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25379 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
25380 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25381 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
25382 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25383 (__builtin_huge_valf64): Use __builtin_huge_vall.
25384 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25385 (__builtin_inff64): Use __builtin_infl.
25386 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25387 (__builtin_nanf64): Use __builtin_nanl.
25388 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25389 (__builtin_nansf64): Use __builtin_nansl.
25391 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
25392 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25393 Carlos O'Donell <carlos@redhat.com>
25395 * elf/dl-tunables.list: Add elision parameters.
25396 * manual/tunables.texi: Add entries about elision tunable.
25397 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
25398 Add callback functions to dynamically enable/disable elision.
25399 Add multiple callbacks functions to set elision parameters.
25400 Deleted __libc_enable_secure check.
25401 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
25402 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
25403 * configure: Regenerated.
25404 * configure.ac: Option enable_lock_elision was deleted.
25405 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
25406 * config.make.in: Remove references to enable_lock_elision.
25407 * manual/install.texi: Elision configure option was removed.
25408 * INSTALL: Regenerated to remove enable_lock_elision.
25410 Disable elision so it can verify error case for destroying a mutex.
25411 * sysdeps/powerpc/nptl/elide.h:
25412 Cleanup ENABLE_LOCK_ELISION check.
25413 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
25414 * sysdeps/s390/configure: Regenerated.
25415 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
25416 * nptl/tst-mutex8.c:
25417 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
25418 * sysdeps/powerpc/powerpc32/sysdep.h:
25419 Deleted all ENABLE_LOCK_ELISION checks.
25420 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25421 * sysdeps/powerpc/sysdep.h: Likewise.
25422 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
25423 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
25424 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25425 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25426 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25427 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
25428 enable-lock-elision.
25430 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25432 * stdlib/strtod.c: Include <bits/floatn.h>.
25433 (BUILD_DOUBLE): New macro.
25434 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25435 (strtof64): Define and later undefine as macro. Define as weak
25436 alias if [!USE_WIDE_CHAR].
25437 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25438 (wcstof64): Define and later undefine as macro. Define as weak
25439 alias if [USE_WIDE_CHAR].
25440 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25441 (strtof32x): Define and later undefine as macro. Define as weak
25442 alias if [!USE_WIDE_CHAR].
25443 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25444 (wcstof32x): Define and later undefine as macro. Define as weak
25445 alias if [USE_WIDE_CHAR].
25446 * stdlib/strtod_l.c: Include <bits/floatn.h>.
25447 (BUILD_DOUBLE): New macro.
25448 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25449 (strtof64_l): Define and later undefine as macro. Define as weak
25450 alias if [!USE_WIDE_CHAR].
25451 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25452 (wcstof64_l): Define and later undefine as macro. Define as weak
25453 alias if [USE_WIDE_CHAR].
25454 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25455 (strtof32x_l): Define and later undefine as macro. Define as weak
25456 alias if [!USE_WIDE_CHAR].
25457 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25458 (wcstof32x_l): Define and later undefine as macro. Define as weak
25459 alias if [USE_WIDE_CHAR].
25461 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25463 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
25464 (reduced): Use ones as double instead of integer.
25466 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
25468 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
25470 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25472 * stdlib/strfromd.c: Include <bits/floatn.h>.
25473 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
25474 and later undefine as macro and define as weak alias.
25475 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
25478 * math/test-float32x.h: New file.
25479 * math/test-float64.h: Likewise.
25481 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
25482 (libm_alias_double_other_r_f64): New macro.
25483 (libm_alias_double_other_r_f32x): Likewise.
25484 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25485 libm_alias_double_other_r_f32x.
25486 (libm_alias_double_r): Use semicolon before call to
25487 libm_alias_double_other_r.
25488 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
25490 (libm_alias_double_other_r_f64): New macro.
25491 (libm_alias_double_other_r_f32x): Likewise.
25492 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25493 libm_alias_double_other_r_f32x.
25495 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
25497 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
25499 (SINF_FUNC): Likewise. Replace floor with simple casts.
25501 2017-12-05 Mike FABIAN <mfabian@redhat.com>
25504 * localedata/Makefile: Add et_EE.UTF-8 to test-input
25505 and to the list of locales to be built for testing.
25506 * localedata/et_EE.UTF-8.in: New file for testing the collation.
25507 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
25508 and build the collation rules upon that.
25510 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
25512 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
25513 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
25514 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
25515 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
25516 instead of __insn__xxx.
25517 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
25518 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
25519 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
25520 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
25521 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
25522 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
25524 2017-12-05 Florian Weimer <fweimer@redhat.com>
25526 Linux: Implement interfaces for memory protection keys
25527 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
25529 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
25530 * support/xunistd.h (xsysconf): Declare.
25531 * support/xraise.c: New file.
25532 * support/xsigaction.c: Likewise.
25533 * support/xsignal.c: Likewise.
25534 * support/xsysconf.c: Likewise.
25535 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
25536 pkey_set, pkey_get, pkey_mprotect.
25537 [misc] (tests): Add tst-pkey.
25538 (tst-pkey): Link with -lpthread.
25539 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
25540 pkey_free, pkey_set, pkey_get, pkey_mprotect.
25541 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
25542 (PKEY_DISABLE_WRITE): Define.
25543 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
25545 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
25546 (SEGV_PKUERR): Add.
25547 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
25548 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
25549 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
25550 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
25552 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
25553 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
25554 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
25555 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
25556 * sysdeps/unix/sysv/linux/**.abilist: Update.
25558 2017-12-05 Florian Weimer <fweimer@redhat.com>
25560 * support/tst-test_compare.c (subprocess): Use long long instead
25561 of long argument for consistent type width across 32-bit and
25562 64-bit architectures.
25563 (do_test): Adjust expected output.
25565 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25567 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
25568 (cosf): Define using libm_alias_float.
25569 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
25570 (fabsf): Define using libm_alias_float.
25571 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
25572 (fmaf): Define using libm_alias_float.
25573 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
25574 (rintf): Define using libm_alias_float.
25575 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
25576 (sinf): Define using libm_alias_float.
25577 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
25578 <libm-alias-float.h>.
25579 (modff): Define using libm_alias_float.
25580 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
25581 <libm-alias-float.h>.
25582 (logbf): Define using libm_alias_float.
25583 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
25584 <libm-alias-float.h>.
25585 (ceilf): Define using libm_alias_float.
25586 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25587 <libm-alias-float.h>.
25588 (copysignf): Define using libm_alias_float.
25589 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
25590 <libm-alias-float.h>.
25591 (floorf): Define using libm_alias_float.
25592 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25593 <libm-alias-float.h>.
25594 (llrintf): Define using libm_alias_float.
25595 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25596 <libm-alias-float.h>.
25597 (llroundf): Define using libm_alias_float.
25598 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25599 <libm-alias-float.h>.
25600 (lrintf): Define using libm_alias_float.
25601 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25602 <libm-alias-float.h>.
25603 (lroundf): Define using libm_alias_float.
25604 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
25605 <libm-alias-float.h>.
25606 (nearbyintf): Define using libm_alias_float.
25607 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
25608 <libm-alias-float.h>.
25609 (rintf): Define using libm_alias_float.
25610 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
25611 <libm-alias-float.h>.
25612 (roundf): Define using libm_alias_float.
25613 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
25614 <libm-alias-float.h>.
25615 (truncf): Define using libm_alias_float.
25616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
25617 Include <libm-alias-float.h>.
25618 (ceilf): Define using libm_alias_float.
25619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
25620 Include <libm-alias-float.h>.
25621 (copysignf): Define using libm_alias_float.
25622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
25623 Include <libm-alias-float.h>.
25624 (floorf): Define using libm_alias_float.
25625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
25626 Include <libm-alias-float.h>.
25627 (llrintf): Define using libm_alias_float.
25628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
25629 Include <libm-alias-float.h>.
25630 (llroundf): Define using libm_alias_float.
25631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
25632 Include <libm-alias-float.h>.
25633 (logbf): Define using libm_alias_float.
25634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
25635 Include <libm-alias-float.h>.
25636 (lrintf): Define using libm_alias_float.
25637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
25638 Include <libm-alias-float.h>.
25639 (lroundf): Define using libm_alias_float.
25640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
25641 Include <libm-alias-float.h>.
25642 (modff): Define using libm_alias_float.
25643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
25644 Include <libm-alias-float.h>.
25645 (roundf): Define using libm_alias_float.
25646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
25647 Include <libm-alias-float.h>.
25648 (truncf): Define using libm_alias_float.
25649 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
25650 <libm-alias-float.h>.
25651 (llrintf): Define using libm_alias_float.
25652 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25653 <libm-alias-float.h>.
25654 (llroundf): Define using libm_alias_float.
25655 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
25656 <libm-alias-float.h>.
25657 (ceilf): Define using libm_alias_float.
25658 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
25659 <libm-alias-float.h>.
25660 (floorf): Define using libm_alias_float.
25661 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25662 <libm-alias-float.h>.
25663 (llroundf): Define using libm_alias_float.
25664 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25665 <libm-alias-float.h>.
25666 (lroundf): Define using libm_alias_float.
25667 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
25668 <libm-alias-float.h>.
25669 (roundf): Define using libm_alias_float.
25670 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
25671 <libm-alias-float.h>.
25672 (truncf): Define using libm_alias_float.
25673 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25674 <libm-alias-float.h>.
25675 (copysignf): Define using libm_alias_float.
25676 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
25677 <libm-alias-float.h>.
25678 (llrintf): Define using libm_alias_float.
25679 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25680 <libm-alias-float.h>.
25681 (llroundf): Define using libm_alias_float.
25682 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25683 <libm-alias-float.h>.
25684 (lrintf): Define using libm_alias_float.
25685 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25686 <libm-alias-float.h>.
25687 (lroundf): Define using libm_alias_float.
25688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
25689 <libm-alias-float.h>.
25690 (ceilf): Define using libm_alias_float.
25691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
25692 <libm-alias-float.h>.
25693 (copysignf): Define using libm_alias_float.
25694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
25695 <libm-alias-float.h>.
25696 (cosf): Define using libm_alias_float.
25697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
25698 <libm-alias-float.h>.
25699 (floorf): Define using libm_alias_float.
25700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
25701 <libm-alias-float.h>.
25702 (llrintf): Define using libm_alias_float.
25703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
25704 <libm-alias-float.h>.
25705 (llroundf): Define using libm_alias_float.
25706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
25707 <libm-alias-float.h>.
25708 (logbf): Define using libm_alias_float.
25709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
25710 <libm-alias-float.h>.
25711 (modff): Define using libm_alias_float.
25712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
25713 <libm-alias-float.h>.
25714 (roundf): Define using libm_alias_float.
25715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
25716 <libm-alias-float.h>.
25717 (sinf): Define using libm_alias_float.
25718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
25719 <libm-alias-float.h>.
25720 (truncf): Define using libm_alias_float.
25721 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
25722 <libm-alias-float.h>.
25723 (ceilf): Define using libm_alias_float.
25724 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25725 <libm-alias-float.h>.
25726 (copysignf): Define using libm_alias_float.
25727 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
25728 <libm-alias-float.h>.
25729 (floorf): Define using libm_alias_float.
25730 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25731 <libm-alias-float.h>.
25732 (llrintf): Define using libm_alias_float.
25733 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
25734 <libm-alias-float.h>.
25735 (llroundf): Define using libm_alias_float.
25736 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
25737 <libm-alias-float.h>.
25738 (nearbyintf): Define using libm_alias_float.
25739 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
25740 <libm-alias-float.h>.
25741 (rintf): Define using libm_alias_float.
25742 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
25743 <libm-alias-float.h>.
25744 (roundf): Define using libm_alias_float.
25745 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
25746 <libm-alias-float.h>.
25747 (truncf): Define using libm_alias_float.
25748 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
25749 <libm-alias-float.h>.
25750 (ceilf): Define using libm_alias_float.
25751 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
25752 <libm-alias-float.h>.
25753 (floorf): Define using libm_alias_float.
25754 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25755 <libm-alias-float.h>.
25756 (llroundf): Define using libm_alias_float.
25757 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
25758 <libm-alias-float.h>.
25759 (roundf): Define using libm_alias_float.
25760 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
25761 <libm-alias-float.h>.
25762 (truncf): Define using libm_alias_float.
25763 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25764 <libm-alias-float.h>.
25765 (copysignf): Define using libm_alias_float.
25766 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25767 <libm-alias-float.h>.
25768 (llrintf): Define using libm_alias_float.
25769 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25770 <libm-alias-float.h>.
25771 (llroundf): Define using libm_alias_float.
25772 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
25773 <libm-alias-float.h>.
25774 (cosf): Define using libm_alias_float.
25775 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25776 <libm-alias-float.h>.
25777 (llrintf): Define using libm_alias_float.
25778 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25779 <libm-alias-float.h>.
25780 (llroundf): Define using libm_alias_float.
25781 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
25782 <libm-alias-float.h>.
25783 (sinf): Define using libm_alias_float.
25785 2017-12-04 Florian Weimer <fweimer@redhat.com>
25787 * support/check.h (TEST_COMPARE): Define.
25788 (support_test_compare_failure): Declare.
25789 * support/Makefile (libsupport-routines): Add
25790 support_test_compare_failure.
25791 (tests): Add tst-test_compare.
25792 * support /support_test_compare_failure.c: New file.
25793 * support/tst-test_compare.c: Likewise.
25795 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25798 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
25799 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
25800 available, this rewrite of the collation rules does reproduce
25801 the test file in the same order.
25803 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25806 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
25807 digraphs in the month and day names. Using single code points for
25808 digraphs is deprecated. While there are dedicated Unicode
25809 codepoints, for the digraphs, these are included for backwards
25810 compatibility and modern texts use a sequence of Basic Latin
25811 characters. See: https://www.unicode.org/faq/ligature_digraph.html
25812 This makes the month and day names agree exactly with CLDR now,
25813 CLDR does not use the single code points for the digraphs either.
25815 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
25817 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
25819 2017-12-04 Joseph Myers <joseph@codesourcery.com>
25821 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
25824 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
25826 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
25827 Define only for libc.so.
25829 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
25831 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25832 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
25833 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
25834 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
25835 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25837 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25840 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
25842 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
25845 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
25846 PREINIT_FUNCTION_WEAK is nonzero.
25847 (gmon_initializer): New function. Put procedure label for it in
25848 .init_array section.
25849 (_init): Don't call PREINIT_FUNCTION.
25850 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
25851 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
25852 value when map argument is null.
25854 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
25855 depi instruction from PIC pc-relative sequence.
25856 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
25857 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
25858 (elf_machine_load_address): Likewise.
25859 (elf_machine_runtime_setup): Likewise.
25861 2017-12-02 Joseph Myers <joseph@codesourcery.com>
25863 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
25864 <libm-alias-double.h>.
25865 (logb): Define using libm_alias_double.
25866 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25867 <libm-alias-double.h>.
25868 (copysign): Define using libm_alias_double.
25869 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
25870 <libm-alias-double.h>.
25871 (llrint): Define using libm_alias_double.
25872 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
25873 <libm-alias-double.h>.
25874 (llround): Define using libm_alias_double.
25875 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25876 <libm-alias-double.h>.
25877 (lrint): Define using libm_alias_double.
25878 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25879 <libm-alias-double.h>.
25880 (lround): Define using libm_alias_double.
25881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25882 Include <libm-alias-double.h>.
25883 (copysign): Define using libm_alias_double.
25884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
25885 Include <libm-alias-double.h>.
25886 (llrint): Define using libm_alias_double.
25887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
25888 Include <libm-alias-double.h>.
25889 (llround): Define using libm_alias_double.
25890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
25891 <libm-alias-double.h>.
25892 (logb): Define using libm_alias_double.
25893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
25894 Include <libm-alias-double.h>.
25895 (lrint): Define using libm_alias_double.
25896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
25897 Include <libm-alias-double.h>.
25898 (lround): Define using libm_alias_double.
25899 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
25900 <libm-alias-double.h>.
25901 (llrint): Define using libm_alias_double.
25902 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25903 <libm-alias-double.h>.
25904 (llround): Define using libm_alias_double.
25905 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25906 <libm-alias-double.h>.
25907 (llround): Define using libm_alias_double.
25908 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25909 <libm-alias-double.h>.
25910 (lround): Define using libm_alias_double.
25911 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25912 <libm-alias-double.h>.
25913 (copysign): Define using libm_alias_double.
25914 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
25915 <libm-alias-double.h>.
25916 (llrint): Define using libm_alias_double.
25917 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25918 <libm-alias-double.h>.
25919 (llround): Define using libm_alias_double.
25920 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25921 <libm-alias-double.h>.
25922 (lrint): Define using libm_alias_double.
25923 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25924 <libm-alias-double.h>.
25925 (lround): Define using libm_alias_double.
25926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
25927 <libm-alias-double.h>.
25928 (copysign): Define using libm_alias_double.
25929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
25930 <libm-alias-double.h>.
25931 (llrint): Define using libm_alias_double.
25933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
25934 <libm-alias-double.h>.
25935 (llround): Define using libm_alias_double.
25936 (lround): Likewise.
25937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
25938 <libm-alias-double.h>.
25939 (logb): Define using libm_alias_double.
25940 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25941 <libm-alias-double.h>.
25942 (copysign): Define using libm_alias_double.
25943 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25944 <libm-alias-double.h>.
25945 (llrint): Define using libm_alias_double.
25947 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
25948 <libm-alias-double.h>.
25949 (llround): Define using libm_alias_double.
25950 (lround): Likewise.
25951 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25952 <libm-alias-double.h>.
25953 (llround): Define using libm_alias_double.
25954 (lround): Likewise.
25955 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25956 <libm-alias-double.h>.
25957 (copysign): Define using libm_alias_double.
25958 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25959 <libm-alias-double.h>.
25960 (llrint): Define using libm_alias_double.
25962 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25963 <libm-alias-double.h>.
25964 (llround): Define using libm_alias_double.
25965 (lround): Likewise.
25966 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25967 <libm-alias-double.h>.
25968 (llrint): Define using libm_alias_double.
25970 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25971 <libm-alias-double.h>.
25972 (llround): Define using libm_alias_double.
25973 (lround): Likewise.
25975 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25978 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
25979 compat symbol based on llround.
25981 * sysdeps/powerpc/power7/fpu/s_logb.c
25982 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
25983 symbol based on __logb, not on logb.
25984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
25985 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
25987 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25989 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
25990 (rint): Define using libm_alias_double.
25991 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
25992 <libm-alias-double.h>.
25993 (modf): Define using libm_alias_double.
25994 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
25995 <libm-alias-double.h>.
25996 (ceil): Define using libm_alias_double.
25997 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
25998 <libm-alias-double.h>.
25999 (floor): Define using libm_alias_double.
26000 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
26001 <libm-alias-double.h>.
26002 (nearbyint): Define using libm_alias_double.
26003 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
26004 <libm-alias-double.h>.
26005 (rint): Define using libm_alias_double.
26006 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
26007 <libm-alias-double.h>.
26008 (round): Define using libm_alias_double.
26009 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
26010 <libm-alias-double.h>.
26011 (trunc): Define using libm_alias_double.
26012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
26013 <libm-alias-double.h>.
26014 (ceil): Define using libm_alias_double.
26015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
26016 Include <libm-alias-double.h>.
26017 (floor): Define using libm_alias_double.
26018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
26019 <libm-alias-double.h>.
26020 (modf): Define using libm_alias_double.
26021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
26022 Include <libm-alias-double.h>.
26023 (round): Define using libm_alias_double.
26024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
26025 Include <libm-alias-double.h>.
26026 (trunc): Define using libm_alias_double.
26027 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
26028 <libm-alias-double.h>.
26029 (ceil): Define using libm_alias_double.
26030 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
26031 <libm-alias-double.h>.
26032 (floor): Define using libm_alias_double.
26033 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
26034 <libm-alias-double.h>.
26035 (round): Define using libm_alias_double.
26036 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
26037 <libm-alias-double.h>.
26038 (trunc): Define using libm_alias_double.
26039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
26040 <libm-alias-double.h>.
26041 (ceil): Define using libm_alias_double.
26042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
26043 <libm-alias-double.h>.
26044 (floor): Define using libm_alias_double.
26045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
26046 <libm-alias-double.h>.
26047 (modf): Define using libm_alias_double.
26048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
26049 <libm-alias-double.h>.
26050 (round): Define using libm_alias_double.
26051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
26052 <libm-alias-double.h>.
26053 (trunc): Define using libm_alias_double.
26054 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
26055 <libm-alias-double.h>.
26056 (ceil): Define using libm_alias_double.
26057 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
26058 <libm-alias-double.h>.
26059 (floor): Define using libm_alias_double.
26060 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
26061 <libm-alias-double.h>.
26062 (nearbyint): Define using libm_alias_double.
26063 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
26064 <libm-alias-double.h>.
26065 (rint): Define using libm_alias_double.
26066 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
26067 <libm-alias-double.h>.
26068 (round): Define using libm_alias_double.
26069 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
26070 <libm-alias-double.h>.
26071 (trunc): Define using libm_alias_double.
26072 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
26073 <libm-alias-double.h>.
26074 (ceil): Define using libm_alias_double.
26075 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
26076 <libm-alias-double.h>.
26077 (floor): Define using libm_alias_double.
26078 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
26079 <libm-alias-double.h>.
26080 (round): Define using libm_alias_double.
26081 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
26082 <libm-alias-double.h>.
26083 (trunc): Define using libm_alias_double.
26085 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
26086 (fabs): Define using libm_alias_double.
26087 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
26088 (fma): Define using libm_alias_double.
26089 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
26090 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
26091 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
26092 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
26094 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26096 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
26098 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
26099 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
26100 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
26103 due redirect macro.
26105 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
26107 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
26109 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26111 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
26112 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
26113 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
26114 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
26116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26117 (libm-sysdep_routines): Add s_nearbyintf-generic and
26118 s_nearbyint-generic.
26119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
26121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
26122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
26124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
26126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
26128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26132 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
26133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
26135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
26136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
26138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
26139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
26140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26143 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
26144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
26146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
26147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
26149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
26150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
26151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
26153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26154 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
26155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
26157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
26158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
26160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
26161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
26162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26165 (sysdep_calls): New rule.
26166 (sysdep_routines): Use sysdep_calls as base.
26167 (libm-sysdep_routines): Add generic rule for symbols shared with
26168 libc. Add s_copysign-generic and s_copysign-generic objects.
26169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
26171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
26172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
26174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
26175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
26176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
26178 2017-12-01 Mike FABIAN <mfabian@redhat.com>
26181 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
26182 the list of locales to be built for testing.
26183 * localedata/is_IS.UTF-8.in: New file.
26184 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
26187 2017-12-01 Joseph Myers <joseph@codesourcery.com>
26189 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
26190 <libm-alias-float.h>.
26191 (fabsf): Define using libm_alias_float.
26193 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26195 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
26197 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26199 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
26200 <libm-alias-float.h>.
26201 (fabsf): Define using libm_alias_float.
26202 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
26203 <libm-alias-float.h>.
26204 (lrintf): Define using libm_alias_float.
26205 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
26206 <libm-alias-float.h>.
26207 (rintf): Define using libm_alias_float.
26209 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
26210 <libm-alias-double.h>.
26211 (fabs): Define using libm_alias_double.
26212 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
26213 <libm-alias-double.h>.
26214 (lrint): Define using libm_alias_double.
26215 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
26216 <libm-alias-double.h>.
26217 (rint): Define using libm_alias_double.
26219 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
26220 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
26221 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
26222 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
26223 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
26224 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
26225 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
26226 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
26227 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
26228 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
26229 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
26230 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
26231 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
26232 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
26233 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
26234 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
26235 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
26236 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
26238 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
26239 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
26240 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
26242 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
26243 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
26244 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
26246 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
26247 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
26248 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
26249 s_expm1_template.c.
26250 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
26251 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
26252 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
26254 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
26255 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
26256 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
26257 s_floor_template.c.
26258 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
26259 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
26260 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
26261 s_frexp_template.c.
26262 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
26263 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
26264 s_lrint_template.c.
26265 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
26266 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
26267 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
26269 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
26270 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
26271 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
26272 s_nearbyint_template.c.
26273 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
26274 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
26275 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
26276 s_remquo_template.c.
26277 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
26278 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
26279 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
26281 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
26282 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
26283 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
26285 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
26286 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
26287 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
26288 s_sincos_template.c.
26289 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
26290 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
26291 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
26293 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
26294 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
26295 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
26297 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
26298 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
26299 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
26300 s_trunc_template.c.
26301 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
26302 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
26303 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
26304 s_atan.c instead of including s_atan.c.
26305 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
26306 s_atanf.c instead of including s_atanf.c.
26307 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
26308 s_atanl.c instead of including s_atanl.c.
26309 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
26310 instead of s_atan.c.
26311 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
26312 instead of s_atanf.c.
26313 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
26314 instead of s_atanl.c.
26316 * scripts/update-copyrights: Do not handle intl/plural.c
26319 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
26322 * configure.ac (BISON): Require to be present.
26323 * configure: Regenerated.
26324 * intl/Makefile (generated): Add plural.c.
26325 [$(BISON) != no]: Make code unconditional.
26326 (plural.c): Change rule to $(objpfx)plural.c.
26327 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
26328 * intl/plural.c: Remove.
26329 * manual/install.texi (Tools for Compilation): Document bison as
26331 * INSTALL: Regenerated.
26333 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26335 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
26336 <libm-alias-double.h>.
26337 (llrint): Define using libm_alias_double.
26338 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
26339 <libm-alias-float.h>.
26340 (llrintf): Define using libm_alias_float.
26341 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
26342 <libm-alias-ldouble.h>.
26343 (llrintl): Define using libm_alias_ldouble.
26345 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
26346 declare_mgen_alias instead of weak_alias.
26347 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
26348 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
26349 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
26351 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26353 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26355 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
26356 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
26357 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
26359 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26360 Add submul_1-generic.
26361 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
26362 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
26363 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
26365 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26366 Add addmul_1-generic.
26367 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
26368 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
26369 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
26371 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26373 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
26374 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
26375 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
26377 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26379 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
26380 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
26381 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
26383 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26385 According to CLDR, collation rules for Serbian and Bosnian
26386 should be the same as for Croatian.
26389 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
26390 and to the list of locales to be built for testing.
26391 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26392 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26393 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
26394 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
26396 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26398 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
26399 to make test case pass.
26400 * localedata/hr_HR.UTF-8.in: Add more test strings.
26402 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26404 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
26406 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26408 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
26409 the list of locales to built for testing.
26410 * localedata/hr_HR.UTF-8.in: New file.
26412 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26415 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
26417 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
26418 CLDR (except use ligatures for the digraphs, CLDR does not use
26419 the ligatures), add first_workday, some fixes in the date and time
26421 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
26423 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
26424 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
26425 Add int_p_cs_precedes and int_n_cs_precedes.
26426 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
26427 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
26429 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
26430 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
26432 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
26433 and lang_lib. Change postal_fmt.
26435 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26437 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
26439 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26440 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
26441 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26442 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
26443 * sysdeps/generic/setjmpP.h: New file.
26444 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
26445 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
26446 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
26447 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
26448 Add jmp_buf-ssp.sym.
26449 (tests): Add tst-saved_mask-1.
26451 2017-11-30 Arjun Shankar <arjun@redhat.com>
26455 * malloc/malloc.c (__libc_malloc): Use checked_request2size
26456 instead of request2size.
26458 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
26461 (__lllrint): Remove alias.
26462 (lllrint): Likewise.
26463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
26464 (__lllrintf): Likewise.
26465 (lllrintf): Likewise.
26467 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
26468 <libm-alias-float.h>.
26469 (copysignf): Define using libm_alias_float.
26470 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
26471 <libm-alias-float.h>.
26472 (fabsf): Define using libm_alias_float.
26473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26474 Include <libm-alias-float.h>.
26475 (copysignf): Define using libm_alias_float.
26476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
26477 <libm-alias-float.h>.
26478 (fabsf): Define using libm_alias_float.
26479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
26480 <libm-alias-float.h>.
26481 (fdimf): Define using libm_alias_float.
26482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
26483 <libm-alias-float.h>.
26484 (fmaf): Define using libm_alias_float.
26485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
26486 <libm-alias-float.h>.
26487 (llrintf): Define using libm_alias_float.
26488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26489 Include <libm-alias-float.h>.
26490 (nearbyintf): Define using libm_alias_float.
26491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
26492 <libm-alias-float.h>.
26493 (rintf): Define using libm_alias_float.
26494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
26495 <libm-alias-float.h>.
26496 (llrintf): Define using libm_alias_float.
26497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
26498 <libm-alias-float.h>.
26499 (lrintf): Define using libm_alias_float.
26500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
26501 <libm-alias-float.h>.
26502 (nearbyintf): Define using libm_alias_float.
26503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
26504 <libm-alias-float.h>.
26505 (rintf): Define using libm_alias_float.
26506 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
26507 <libm-alias-float.h>.
26508 (ceilf): Define using libm_alias_float.
26509 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
26510 <libm-alias-float.h>.
26511 (floorf): Define using libm_alias_float.
26512 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
26513 <libm-alias-float.h>.
26514 (fmaf): Define using libm_alias_float.
26515 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
26516 <libm-alias-float.h>.
26517 (lrintf): Define using libm_alias_float.
26518 (llrintf): Likewise.
26519 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
26520 <libm-alias-float.h>.
26521 (nearbyintf): Define using libm_alias_float.
26522 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
26523 <libm-alias-float.h>.
26524 (rintf): Define using libm_alias_float.
26525 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
26526 <libm-alias-float.h>.
26527 (truncf): Define using libm_alias_float.
26528 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
26529 <libm-alias-float.h>.
26530 (copysignf): Define using libm_alias_float.
26531 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
26532 <libm-alias-float.h>.
26533 (fabsf): Define using libm_alias_float.
26534 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
26535 <libm-alias-float.h>.
26536 (lrintf): Define using libm_alias_float.
26537 (llrintf): Likewise.
26538 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
26539 <libm-alias-float.h>.
26540 (nearbyintf): Define using libm_alias_float.
26541 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
26542 <libm-alias-float.h>.
26543 (rintf): Define using libm_alias_float.
26545 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26547 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26548 <libm-alias-double.h>.
26549 (copysign): Define using libm_alias_double.
26550 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
26551 <libm-alias-double.h>.
26552 (fabs): Define using libm_alias_double.
26553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26554 Include <libm-alias-double.h>.
26555 (copysign): Define using libm_alias_double.
26556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26557 <libm-alias-double.h>.
26558 (fabs): Define using libm_alias_double.
26559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
26560 <libm-alias-double.h>.
26561 (fdim): Define using libm_alias_double.
26562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
26563 <libm-alias-double.h>.
26564 (fma): Define using libm_alias_double.
26565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
26566 <libm-alias-double.h>.
26567 (llrint): Define using libm_alias_double.
26568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
26569 Include <libm-alias-double.h>.
26570 (nearbyint): Define using libm_alias_double.
26571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
26572 <libm-alias-double.h>.
26573 (rint): Define using libm_alias_double.
26574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26575 <libm-alias-double.h>.
26576 (fabs): Define using libm_alias_double.
26577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
26578 <libm-alias-double.h>.
26579 (llrint): Define using libm_alias_double.
26580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
26581 <libm-alias-double.h>.
26582 (nearbyint): Define using libm_alias_double.
26583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
26584 <libm-alias-double.h>.
26585 (rint): Define using libm_alias_double.
26586 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
26587 <libm-alias-double.h>.
26588 (ceil): Define using libm_alias_double.
26589 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
26590 <libm-alias-double.h>.
26591 (floor): Define using libm_alias_double.
26592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
26593 <libm-alias-double.h>.
26594 (fma): Define using libm_alias_double.
26595 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
26596 <libm-alias-double.h>.
26597 (lrint): Define using libm_alias_double.
26598 (llrint): Likewise.
26599 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
26600 <libm-alias-double.h>.
26601 (nearbyint): Define using libm_alias_double.
26602 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
26603 <libm-alias-double.h>.
26604 (rint): Define using libm_alias_double.
26605 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
26606 <libm-alias-double.h>.
26607 (trunc): Define using libm_alias_double.
26608 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
26609 <libm-alias-double.h>.
26610 (copysign): Define using libm_alias_double.
26611 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
26612 <libm-alias-double.h>.
26613 (fabs): Define using libm_alias_double.
26614 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
26615 <libm-alias-double.h>.
26616 (lrint): Define using libm_alias_double.
26617 (llrint): Likewise.
26618 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
26619 <libm-alias-double.h>.
26620 (nearbyint): Define using libm_alias_double.
26621 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
26622 <libm-alias-double.h>.
26623 (rint): Define using libm_alias_double.
26626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26628 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26630 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
26631 SPARC --disable-multi-arch glibc variants.
26633 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
26634 <libm-alias-float.h>.
26635 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26637 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
26638 <libm-alias-float.h>.
26639 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26641 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
26642 <libm-alias-float.h>.
26643 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26645 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
26646 <libm-alias-float.h>.
26647 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26649 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
26650 <libm-alias-float.h>.
26651 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26653 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
26654 <libm-alias-float.h>.
26655 (ceilf): Define using libm_alias_float.
26656 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
26657 <libm-alias-float.h>.
26658 (floorf): Define using libm_alias_float.
26659 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
26660 <libm-alias-float.h>.
26661 (fmaf): Define using libm_alias_float.
26662 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
26663 <libm-alias-float.h>.
26664 (nearbyintf): Define using libm_alias_float.
26665 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
26666 <libm-alias-float.h>.
26667 (rintf): Define using libm_alias_float.
26668 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
26669 <libm-alias-float.h>.
26670 (truncf): Define using libm_alias_float.
26671 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26672 (copysignf): Define using libm_alias_float.
26673 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
26674 (cosf): Define using libm_alias_float.
26675 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26676 (fabsf): Define using libm_alias_float.
26677 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26678 (fmaxf): Define using libm_alias_float.
26679 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
26680 (fminf): Define using libm_alias_float.
26681 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26682 (llrintf): Define using libm_alias_float.
26683 [!__ILP32__] (lrintf): Likewise.
26684 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
26685 (sincosf): Define using libm_alias_float.
26686 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
26687 (sinf): Define using libm_alias_float.
26688 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26689 (lrintf): Define using libm_alias_float.
26691 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
26692 <libm-alias-double.h>.
26693 (atan): Define using libm_alias_double.
26694 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
26695 <libm-alias-double.h>.
26696 (ceil): Define using libm_alias_double.
26697 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
26698 <libm-alias-double.h>.
26699 (floor): Define using libm_alias_double.
26700 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
26701 <libm-alias-double.h>.
26702 (fma): Define using libm_alias_double.
26703 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
26704 <libm-alias-double.h>.
26705 (nearbyint): Define using libm_alias_double.
26706 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
26707 <libm-alias-double.h>.
26708 (rint): Define using libm_alias_double.
26709 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
26710 <libm-alias-double.h>.
26711 (sin): Define using libm_alias_double.
26713 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
26714 <libm-alias-double.h>.
26715 (tan): Define using libm_alias_double.
26716 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
26717 <libm-alias-double.h>.
26718 (trunc): Define using libm_alias_double.
26719 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
26720 (copysign): Define using libm_alias_double.
26721 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
26722 (fabs): Define using libm_alias_double.
26723 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
26724 (fmax): Define using libm_alias_double.
26725 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
26726 (fmin): Define using libm_alias_double.
26727 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
26728 (llrint): Define using libm_alias_double.
26729 [!__ILP32__] (lrint): Likewise.
26730 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
26731 (lrint): Define using libm_alias_double.
26733 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26735 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26736 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
26738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
26739 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
26740 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
26741 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
26742 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
26743 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26745 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26746 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
26748 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
26749 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
26750 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
26751 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
26752 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
26753 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26755 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26756 (libm-sysdep_routines): Add s_nearbyint-generic and
26757 s_nearbyintf-generic objects.
26758 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
26759 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
26760 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
26761 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
26762 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
26763 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
26765 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26766 Add s_finitef-generic and s_finite-generic objects.
26767 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
26768 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
26769 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
26770 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
26771 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
26772 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
26774 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26775 Add s_isinff-generic and s_isinf-generic objects.
26776 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
26777 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
26778 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
26779 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
26780 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
26781 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26783 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26784 Add s_isnanf-generic and s_isnan-generic objects.
26785 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
26786 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
26787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
26788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
26789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
26790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26792 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
26794 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
26796 (sysdep_routines): Use sysdep_calls as base.
26797 (libm-sysdep_routines): Add generic rule for symbols shared with
26798 libc. Add s_signbit-generic and s_signbitf-generic objects.
26799 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
26800 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
26801 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
26802 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
26803 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
26804 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26806 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26808 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
26809 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
26810 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
26811 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
26812 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
26813 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
26814 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
26815 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
26816 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
26817 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
26818 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
26819 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
26820 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
26821 libm_alias_float_r.
26822 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
26823 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
26825 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
26826 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
26827 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
26828 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
26829 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
26830 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
26831 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
26832 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
26833 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
26834 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
26836 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
26838 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
26839 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
26840 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
26841 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
26842 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
26843 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
26844 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
26845 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
26846 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
26847 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
26848 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
26849 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
26850 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
26851 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
26852 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
26853 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
26854 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
26855 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
26856 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
26858 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
26859 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
26860 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
26861 * sysdeps/ia64/fpu/w_lgammaf_main.c
26862 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
26863 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
26865 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26866 Alexandre Oliva <aoliva@redhat.com>
26869 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
26870 * localedata/fr_CA.UTF-8.in: New file with test data for backward
26872 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
26874 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
26875 * localedata/locales/de_DE (LC_COLLATE): Likewise.
26876 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
26877 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
26878 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
26879 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
26880 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
26881 instead of “ifdef DIACRIT_BACKWARD”.
26883 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26885 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
26886 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
26887 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
26888 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
26889 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
26890 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
26891 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
26892 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
26893 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
26894 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
26895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
26896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
26897 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
26898 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
26899 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
26900 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26901 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
26902 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
26903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26904 ($(have-as-vis3) == yes): Remove conditional.
26905 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
26907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
26909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
26911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
26913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
26915 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
26916 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
26917 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
26918 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
26919 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
26920 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
26921 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
26922 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
26924 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26926 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
26927 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
26928 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
26929 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
26930 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
26931 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
26932 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
26933 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
26934 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
26935 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
26936 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
26937 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
26938 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
26939 libm_alias_double_r.
26940 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
26942 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
26943 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
26944 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
26945 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
26946 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
26947 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
26948 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
26949 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
26950 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
26951 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
26952 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
26954 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
26956 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
26957 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
26958 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
26959 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
26960 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
26961 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
26962 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
26963 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
26964 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
26965 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
26966 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
26967 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
26968 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
26969 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
26970 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
26971 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
26972 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
26973 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
26975 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
26976 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
26977 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
26978 * sysdeps/ia64/fpu/w_lgamma_main.c
26979 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
26980 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
26982 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
26984 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
26985 address of $global$ into %dp register earlier. Use pc-relative
26986 instruction sequence for PIC case.
26988 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26990 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
26991 (asinhf): Define using libm_alias_float.
26992 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
26993 (atanf): Define using libm_alias_float.
26994 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
26995 (cbrtf): Define using libm_alias_float.
26996 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
26997 (ceilf): Define using libm_alias_float.
26998 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26999 (copysignf): Define using libm_alias_float.
27000 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
27001 (expm1f): Define using libm_alias_float.
27002 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
27003 (fabsf): Define using libm_alias_float.
27004 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
27005 (floorf): Define using libm_alias_float.
27006 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27007 (fmaxf): Define using libm_alias_float.
27008 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
27009 (fminf): Define using libm_alias_float.
27010 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
27011 (frexpf): Define using libm_alias_float.
27012 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
27013 (llrintf): Define using libm_alias_float.
27014 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
27015 (logbf): Define using libm_alias_float.
27016 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
27017 (lrintf): Define using libm_alias_float.
27018 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
27019 (nearbyintf): Define using libm_alias_float.
27020 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
27021 (remquof): Define using libm_alias_float.
27022 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
27023 (rintf): Define using libm_alias_float.
27024 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
27025 (truncf): Define using libm_alias_float.
27026 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
27027 <libm-alias-float.h>.
27028 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27030 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
27031 <libm-alias-float.h>.
27032 (expf): Define using libm_alias_float, or libm_alias_float_other
27034 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
27035 <libm-alias-float.h>.
27036 (log2f): Define using libm_alias_float, or libm_alias_float_other
27038 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
27039 <libm-alias-float.h>.
27040 (logf): Define using libm_alias_float, or libm_alias_float_other
27042 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
27043 <libm-alias-float.h>.
27044 (powf): Define using libm_alias_float, or libm_alias_float_other
27046 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
27047 <libm-alias-float.h>.
27048 (cosf): Define using libm_alias_float.
27049 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
27050 <libm-alias-float.h>.
27051 (sincosf): Define using libm_alias_float.
27052 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
27053 <libm-alias-float.h>.
27054 (sinf): Define using libm_alias_float.
27055 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27056 (fmaxf): Define using libm_alias_float.
27057 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
27058 (fminf): Define using libm_alias_float.
27059 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27060 <libm-alias-float.h>.
27061 (fmaf): Define using libm_alias_float.
27063 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
27064 (asinh): Define using libm_alias_double.
27065 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
27066 (atan): Define using libm_alias_double.
27067 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
27068 (cbrt): Define using libm_alias_double.
27069 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
27070 (ceil): Define using libm_alias_double.
27071 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
27072 (copysign): Define using libm_alias_double.
27073 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
27074 (expm1): Define using libm_alias_double.
27075 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
27076 (fabs): Define using libm_alias_double.
27077 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
27078 (fdim): Define using libm_alias_double.
27079 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
27080 (floor): Define using libm_alias_double.
27081 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
27082 (fmax): Define using libm_alias_double.
27083 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
27084 (fmin): Define using libm_alias_double.
27085 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
27086 (frexp): Define using libm_alias_double.
27087 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
27088 (llrint): Define using libm_alias_double.
27089 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
27090 (logb): Define using libm_alias_double.
27091 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
27092 (lrint): Define using libm_alias_double.
27093 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
27094 (nearbyint): Define using libm_alias_double.
27095 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
27096 (remquo): Define using libm_alias_double.
27097 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
27098 (rint): Define using libm_alias_double.
27099 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
27100 (trunc): Define using libm_alias_double.
27101 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
27102 (fmax): Define using libm_alias_double.
27103 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
27104 (fmin): Define using libm_alias_double.
27105 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
27106 (fma): Define using libm_alias_double.
27108 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
27111 * elf/dl-hwcaps.c (ROUND): Removed.
27112 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
27113 and ELF_NOTE_NEXT_OFFSET.
27114 * elf/dl-load.c (ROUND): Removed.
27115 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27116 * elf/readelflib.c (ROUND): Removed.
27117 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27118 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
27119 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
27120 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
27122 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27124 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27125 [!__fmaf] (fmaf): Define using libm_alias_float.
27127 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
27128 [!__fma] (fma): Define using libm_alias_double.
27129 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
27131 2017-11-28 Mike FABIAN <mfabian@redhat.com>
27134 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
27135 and implement the collation rules for cs from CLDR on top of that.
27136 * Makefile: Add cs_CZ.UTF-8 to test-input.
27137 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
27139 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
27141 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
27143 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27144 Icarus Sparry <icarus.w.sparry@intel.com>
27146 * benchtests/Makefile:Add BENCHSET to allow subsets of
27147 benchmarks to be run.
27148 * benchtests/README: Add documentation for: Running subsets of
27151 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27153 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
27154 range of tests names.
27156 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
27157 result from property and remove "max", min" and "mean" from
27158 required properties based on benchtests/bench-skeleton.c.
27160 2017-11-28 Florian Weimer <fweimer@redhat.com>
27163 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
27164 due to Internet requirement.
27165 * posix/Makefile (tests): Remove tst-getaddrinfo4,
27167 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
27169 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27171 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27172 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
27173 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27174 (sysdep_routines): Add memset-ultra1.
27175 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
27177 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
27178 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
27179 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
27180 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
27181 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
27182 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
27183 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
27184 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27186 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
27188 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
27189 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
27190 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
27191 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
27192 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
27193 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
27194 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
27196 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27197 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
27198 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27199 (sysdep_routines): Add memcpy-ultra1.
27200 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
27201 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
27203 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27205 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
27206 (cfloat_versions): Take function argument without trailing 'f'.
27207 Call libm_alias_float_other.
27208 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
27209 * sysdeps/alpha/fpu/cargf.c: Likewise.
27210 * sysdeps/alpha/fpu/cimagf.c: Likewise.
27211 * sysdeps/alpha/fpu/conjf.c: Likewise.
27212 * sysdeps/alpha/fpu/crealf.c: Likewise.
27213 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
27214 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
27215 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
27216 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
27217 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
27218 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
27219 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
27220 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
27221 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
27222 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
27223 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
27224 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
27225 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
27226 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
27227 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
27228 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
27229 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
27230 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
27231 (clog10f): Use libm_alias_float_other.
27232 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27233 (ceilf): Define using libm_alias_float.
27234 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
27235 (copysignf): Define using libm_alias_float.
27236 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
27237 (fabsf): Define using libm_alias_float.
27238 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
27239 (floorf): Define using libm_alias_float.
27240 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
27241 (fmaxf): Define using libm_alias_float.
27242 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
27243 (fminf): Define using libm_alias_float.
27244 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27245 (lrintf): Define using libm_alias_float.
27246 (llrintf): Likewise.
27247 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27248 (lroundf): Define using libm_alias_float.
27249 (llroundf): Likewise.
27250 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
27251 (rintf): Define using libm_alias_float.
27252 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
27253 (truncf): Define using libm_alias_float.
27255 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27256 (ceilf): Define using libm_alias_float.
27257 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
27258 (floorf): Define using libm_alias_float.
27259 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27260 (fmaf): Define using libm_alias_float.
27261 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
27262 (fmaxf): Define using libm_alias_float.
27263 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
27264 (fminf): Define using libm_alias_float.
27265 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
27266 (llrintf): Define using libm_alias_float.
27267 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
27268 (llroundf): Define using libm_alias_float.
27269 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27270 (lrintf): Define using libm_alias_float.
27271 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27272 (lroundf): Define using libm_alias_float.
27273 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
27274 <libm-alias-float.h>.
27275 (nearbyintf): Define using libm_alias_float.
27276 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
27277 (rintf): Define using libm_alias_float.
27278 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
27279 (roundf): Define using libm_alias_float.
27280 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
27281 (truncf): Define using libm_alias_float.
27283 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
27284 (ceil): Define using libm_alias_double.
27285 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
27286 (copysign): Define using libm_alias_double.
27287 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
27288 (fabs): Define using libm_alias_double.
27289 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
27290 (floor): Define using libm_alias_double.
27291 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
27292 (fmax): Define using libm_alias_double.
27293 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
27294 (fmin): Define using libm_alias_double.
27295 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
27296 (lrint): Define using libm_alias_double.
27297 (llrint): Likewise.
27298 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
27299 (lround): Define using libm_alias_double.
27300 (llround): Likewise.
27301 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
27302 (rint): Define using libm_alias_double.
27303 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
27304 (trunc): Define using libm_alias_double.
27306 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27307 (libm_alias_double_r): Add semicolon after weak_alias call.
27309 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27311 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
27312 (ceil): Define using libm_alias_double.
27313 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
27314 (floor): Define using libm_alias_double.
27315 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
27316 (fma): Define using libm_alias_double.
27317 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
27318 (fmax): Define using libm_alias_double.
27319 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
27320 (fmin): Define using libm_alias_double.
27321 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
27322 (llrint): Define using libm_alias_double.
27323 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
27324 (llround): Define using libm_alias_double.
27325 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
27326 (lrint): Define using libm_alias_double.
27327 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
27328 (lround): Define using libm_alias_double.
27329 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
27330 (nearbyint): Define using libm_alias_double.
27331 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
27332 (rint): Define using libm_alias_double.
27333 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
27334 (round): Define using libm_alias_double.
27335 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
27336 (trunc): Define using libm_alias_double.
27338 2017-11-27 Florian Weimer <fweimer@redhat.com>
27340 * sysdeps/unix/sysv/linux/mlock2.c: New file.
27341 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
27342 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
27343 (tests): Add tst-mlock2.
27344 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
27345 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
27346 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
27347 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
27348 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
27349 for mlock. Document mlock2.
27351 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27353 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
27354 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
27356 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
27358 * sysdeps/x86/Makeconfig: New file.
27359 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
27360 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27361 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
27362 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27363 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27364 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27365 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
27367 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27368 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27369 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27370 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27371 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27372 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27373 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27374 * manual/math.texi (Mathematics): Document support for _Float64x.
27375 * math/Versions (GLIBC_2.27): Add _Float64x functions.
27376 * stdlib/Versions (GLIBC_2.27): Likewise.
27377 * wcsmbs/Versions (GLIBC_2.27): Likewise.
27378 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27379 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27380 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27381 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27382 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27383 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27384 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27385 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27386 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27387 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27388 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
27391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27393 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27394 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27395 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27396 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27397 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27398 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27399 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27400 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27401 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27402 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27403 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27404 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27405 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27406 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27408 2017-11-27 Andreas Schwab <schwab@suse.de>
27410 * elf/Makefile (dl-routines): Add dl-sort-maps.
27411 * elf/dl-sort-maps.c: New file.
27412 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
27413 (_dl_sort_maps): Declare.
27414 * elf/dl-fini.c (_dl_sort_fini): Remove.
27415 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
27416 * elf/dl-close.c (_dl_close_worker): Likewise.
27417 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
27419 * elf/dl-open.c (dl_open_worker): Likewise.
27421 2017-11-24 Joseph Myers <joseph@codesourcery.com>
27423 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
27424 using libm_alias_float128.
27425 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
27427 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
27429 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
27430 (setpayloadsigf128): Likewise.
27431 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
27433 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
27436 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
27437 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
27438 -mfloat128 to CFLAGS.
27440 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
27442 (CFLAGS-libm-test-support-float64x.c): New variable.
27443 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
27444 $(f128-loader-link) to gnulib-tests.
27446 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
27447 (libm_alias_float128_other_r): If
27448 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
27450 (libm_alias_float128_r): Add semicolon after weak_alias call.
27451 * sysdeps/generic/libm-alias-ldouble.h
27452 (libm_alias_ldouble_other_r_f128): New macro.
27453 (libm_alias_ldouble_other_r_f64x): Likewise.
27454 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27455 and libm_alias_ldouble_other_r_f64x.
27456 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
27457 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27458 (libm_alias_ldouble_other_r_f128): New macro.
27459 (libm_alias_ldouble_other_r_f64x): Likewise.
27460 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27461 and libm_alias_ldouble_other_r_f64x.
27463 * stdlib/strfroml.c: Always include <stdlib.h>.
27464 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
27465 undefine as macro and define as weak alias.
27466 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
27467 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
27469 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
27470 Define and later undefine as macro and define as weak alias.
27472 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27473 Define and later undefine as macro. Define as weak alias if
27475 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
27476 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27477 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
27478 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27479 Define and later undefine as macro. Define as weak alias if
27481 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
27482 Define and later undefine as macro. Define as weak alias if
27484 * sysdeps/ieee754/float128/strtof128_l.c
27485 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
27486 Define and later undefine as macro. Define as weak alias if
27488 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
27489 Define and later undefine as macro. Define as weak alias if
27491 * sysdeps/ieee754/ldbl-128/strtold_l.c
27492 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27493 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27494 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27495 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27496 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
27497 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27498 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27499 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27500 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27501 * sysdeps/ieee754/ldbl-96/strtold_l.c
27502 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27503 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27504 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27505 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27507 * math/test-float64x.h: New file.
27508 * math/Makefile (type-float64x-yes): New variable.
27509 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
27511 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
27512 function-like macro.
27513 (min_of_type_): Likewise.
27514 (min_of_type_l): Likewise.
27515 (min_of_type_f128): Likewise.
27516 (min_of_type): Pass () as last argument of __MATH_TG.
27518 * stdlib/tst-strtod-round-skeleton.c
27519 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
27522 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
27523 for combinations of long double with _Float64 and _Float64x.
27525 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
27526 (__DECL_SIMD_cosf32): Likewise.
27527 (__DECL_SIMD_cosf64): Likewise.
27528 (__DECL_SIMD_cosf32x): Likewise.
27529 (__DECL_SIMD_cosf64x): Likewise.
27530 (__DECL_SIMD_cosf128x): Likewise.
27531 (__DECL_SIMD_sinf16): Likewise.
27532 (__DECL_SIMD_sinf32): Likewise.
27533 (__DECL_SIMD_sinf64): Likewise.
27534 (__DECL_SIMD_sinf32x): Likewise.
27535 (__DECL_SIMD_sinf64x): Likewise.
27536 (__DECL_SIMD_sinf128x): Likewise.
27537 (__DECL_SIMD_sincosf16): Likewise.
27538 (__DECL_SIMD_sincosf32): Likewise.
27539 (__DECL_SIMD_sincosf64): Likewise.
27540 (__DECL_SIMD_sincosf32x): Likewise.
27541 (__DECL_SIMD_sincosf64x): Likewise.
27542 (__DECL_SIMD_sincosf128x): Likewise.
27543 (__DECL_SIMD_logf16): Likewise.
27544 (__DECL_SIMD_logf32): Likewise.
27545 (__DECL_SIMD_logf64): Likewise.
27546 (__DECL_SIMD_logf32x): Likewise.
27547 (__DECL_SIMD_logf64x): Likewise.
27548 (__DECL_SIMD_logf128x): Likewise.
27549 (__DECL_SIMD_expf16): Likewise.
27550 (__DECL_SIMD_expf32): Likewise.
27551 (__DECL_SIMD_expf64): Likewise.
27552 (__DECL_SIMD_expf32x): Likewise.
27553 (__DECL_SIMD_expf64x): Likewise.
27554 (__DECL_SIMD_expf128x): Likewise.
27555 (__DECL_SIMD_powf16): Likewise.
27556 (__DECL_SIMD_powf32): Likewise.
27557 (__DECL_SIMD_powf64): Likewise.
27558 (__DECL_SIMD_powf32x): Likewise.
27559 (__DECL_SIMD_powf64x): Likewise.
27560 (__DECL_SIMD_powf128x): Likewise.
27562 * stdlib/Versions (libc): Move entries for wcstof128 and
27563 wcstof128_l to ....
27564 * wcsmbs/Versions (libc): ... here.
27565 Include <float128-abi.h>.
27567 2017-11-24 Florian Weimer <fweimer@redhat.com>
27569 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27570 bits/mman-shared.h.
27571 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
27572 <bits/mman-shared.h>.
27573 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
27575 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
27576 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
27577 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
27578 <bits/mman-shared.h>.
27580 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27583 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
27584 posix_memalign/free.
27585 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
27587 2017-11-22 Mike FABIAN <mfabian@redhat.com>
27590 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
27591 and implement the collation rules for pl from CLDR on top of that.
27592 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
27593 of locales to be built for testing.
27594 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
27596 2017-11-23 Joseph Myers <joseph@codesourcery.com>
27598 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
27599 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
27600 libm_alias_ldouble_other.
27601 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
27602 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
27603 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
27604 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
27605 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
27606 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
27607 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
27608 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
27609 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
27610 libm_alias_ldouble_r.
27611 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
27612 libm_alias_ldouble_other.
27613 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
27614 (log10l): Likewise.
27615 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
27616 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
27617 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
27618 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
27619 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
27620 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
27621 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
27622 (atan2l): Likewise.
27623 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
27624 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
27625 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
27626 libm_alias_ldouble.
27627 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
27629 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
27630 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
27631 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
27633 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
27634 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
27635 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
27636 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
27637 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
27638 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
27639 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
27640 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
27641 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
27642 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
27643 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
27644 libm_alias_ldouble.
27645 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
27646 libm_alias_ldouble_other.
27647 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
27648 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
27649 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
27650 libm_alias_ldouble.
27651 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
27652 libm_alias_ldouble_other.
27653 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
27654 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
27655 * sysdeps/ia64/fpu/w_lgammal_main.c
27656 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
27657 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
27659 2017-11-23 Florian Weimer <fweimer@redhat.com>
27661 * malloc/malloc.c (tcache_thread_shutdown): Rename from
27662 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
27663 alike. Remove freeres marker.
27664 * malloc/arena.c (arena_thread_freeres): Call
27665 tcache_thread_shutdown.
27667 2017-11-23 Florian Weimer <fweimer@redhat.com>
27670 Export nscd hash function as __nss_hash.
27671 * include/nss.h (__nss_hash): Declare.
27672 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
27674 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
27675 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
27677 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
27678 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
27679 * nss/Makefiles (routines): Add nss_hash.
27680 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
27681 * nss/nss_hash.c: Rename from nis/nis_hash.c.
27682 (__nss_hash): Rename from __nis_hash. Define hidden alias.
27683 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
27685 2017-11-23 Florian Weimer <fweimer@redhat.com>
27688 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
27689 Return error code, not -1.
27690 * signal/tst-sigwait-eintr.c: New file.
27691 * signal/Makefile (tests): Add tst-sigwait-eintr.
27693 2017-11-23 Florian Weimer <fweimer@redhat.com>
27695 Linux: Add memfd_create system call wrapper
27696 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
27698 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
27699 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
27700 [__USE_GNU] (memfd_create): Declare.
27701 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
27702 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
27703 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
27704 * sysdeps/unix/sysv/linux/**.abilist: Update.
27705 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
27707 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27709 * localedata/gen-locale.sh: Fix typo in variable name.
27711 * resolv/res_debug.c (p_secstodate): Condition definition on
27712 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
27713 directly as __p_secstodate, and as a compat symbol. Do not use
27714 libresolv_hidden_def.
27715 * resolv/resolv.h (p_secstodate): Remove macro and function
27717 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
27718 using p_secstodate.
27719 * include/resolv.h (__p_secstodate): Do not use
27720 libresolv_hidden_proto.
27721 * resolv/Makefile (tests): Move tst-p_secstodate to ....
27722 (tests-internal): ... here.
27723 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
27724 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
27725 and declare and use __p_secstodate and use compat_symbol_reference
27727 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
27728 implementation returning 77.
27731 * resolv/res_debug.c: Include <libc-diag.h>.
27732 (p_secstodate): Assert time_t at least as wide as u_long. On
27733 overflow, use integer seconds since the epoch as output, or use
27734 "<overflow>" as output and set errno to EOVERFLOW if integer
27735 seconds since the epoch would be 14 or more characters.
27736 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
27738 * resolv/tst-p_secstodate.c: New file.
27739 * resolv/Makefile (tests): Add tst-p_secstodate.
27740 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
27742 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
27743 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27744 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
27746 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
27748 * posix/regcomp.c (init_word_char): Add comments.
27750 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27753 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
27754 strlen to compute length of ut_user and set trailing NUL byte of
27757 2017-11-21 Mike FABIAN <mfabian@redhat.com>
27760 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
27761 using “copy "iso14651_t1"” and then implementing the
27762 collation rules for lv from CLDR on top of that.
27763 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
27764 of locales to be built for testing.
27765 * lv_LV.UTF-8.in: New file with test data to test the Latvian
27768 2017-11-21 Joseph Myers <joseph@codesourcery.com>
27770 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27771 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
27772 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
27773 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
27774 [__USE_MISC] (MADV_HWPOISON): New macro.
27775 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
27777 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27779 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
27780 -Wmissing-braces on GCC 4.9.
27782 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27784 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
27785 * sysdeps/s390/s390-32/start.S (_start): Likewise
27786 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
27787 (thread_start): Likewise.
27788 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
27789 (thread_start): Likewise.
27790 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
27791 (__makecontext_ret): Likewise.
27792 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
27793 (__makecontext_ret): Likewise.
27795 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27797 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
27798 __wcschrnul): Remove attribute_hidden.
27800 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
27802 regex: don't assume uint64_t or uint32_t
27803 This avoids -Werror=overflow errors for 32-bit systems in
27804 the 64-bit case. Problem reported by Joseph Myers in:
27805 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
27806 Also, when this code is used in Gnulib it ports to platforms
27807 that lack uint64_t and uint32_t. The C standard doesn't guarantee
27808 them, and on some 32-bit compilers there is no uint64_t.
27809 Problem reported by Gianluigi Tiesi in:
27810 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
27811 * posix/regcomp.c (init_word_char): Don't assume that the types
27812 uint64_t and uint32_t exist. Adapted from Gnulib patch
27813 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
27814 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
27816 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
27818 * sysdeps/aarch64/memset-reg.h: New file.
27819 * sysdeps/aarch64/memset.S: Use it.
27820 (__memset): Rename to MEMSET macro.
27821 [ZVA_MACRO]: Use zva_macro.
27822 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
27823 Add memset_generic and memset_falkor.
27824 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27825 (__libc_ifunc_impl_list): Add memset ifuncs.
27826 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
27827 local variable zva_size.
27828 * sysdeps/aarch64/multiarch/memset.c: New file.
27829 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
27830 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
27831 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
27832 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
27833 (DCZID_DZP_MASK): New macro.
27834 (DCZID_BS_MASK): Likewise.
27835 (init_cpu_features): Read and set zva_size.
27836 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
27837 (struct cpu_features): New member zva_size.
27839 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
27840 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
27841 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
27843 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
27844 backwards. Fix timing computation.
27845 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
27846 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
27847 on memset by N at a time. Fix timing computation.
27849 2017-11-20 Florian Weimer <fweimer@redhat.com>
27851 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
27852 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
27854 2017-11-19 Florian Weimer <fweimer@redhat.com>
27856 manual: Document mprotect
27857 * manual/memory.texi (Memory Protection): New section.
27858 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
27859 documentation of PROT_* flags and reference the Memory Protection
27862 2017-11-19 Florian Weimer <fweimer@redhat.com>
27864 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
27865 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
27866 (Scatter-Gather): ... to here. Remove misleading comment.
27868 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
27870 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
27873 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
27874 when /proc/<pid>/setgroups does not exist.
27876 2017-11-18 Florian Weimer <fweimer@redhat.com>
27878 * sysdeps/unix/sysv/linux/tst-ttyname.c
27879 (become_root_in_mount_ns): Remove.
27880 (do_in_chroot_1): Call support_enter_mount_namespace.
27881 (do_in_chroot_2): Likewise.
27882 (do_test): Call support_become_root early.
27884 2017-11-18 Florian Weimer <fweimer@redhat.com>
27886 * support/namespace.h (support_enter_mount_namespace): Declare.
27887 * support/support_enter_mount_namespace.c: New file.
27888 * support/Makefile (libsupport-routines): Add
27889 support_enter_mount_namespace.
27891 2017-11-18 Florian Weimer <fweimer@redhat.com>
27893 * support/temp_file.c (support_create_temp_directory): Use
27894 test_dir and do not rely on the presence of the XXXXXX suffix.
27895 * support/temp_file.h (support_create_temp_directory): Update
27897 * support/tst-xreadlink.c (do_test): Adjust.
27898 * support/support_chroot.c (support_chroot_create): Likewise.
27900 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27902 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
27904 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
27907 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27909 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27910 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27911 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27912 (ceill): Define using libm_alias_ldouble.
27913 * sysdeps/x86_64/fpu/s_copysignl.S: Include
27914 <libm-alias-ldouble.h>.
27915 (copysignl): Define using libm_alias_ldouble.
27916 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27917 (fabsl): Define using libm_alias_ldouble.
27918 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27919 (floorl): Define using libm_alias_ldouble.
27920 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27921 (fmaxl): Define using libm_alias_ldouble.
27922 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27923 (fminl): Define using libm_alias_ldouble.
27924 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27925 (llrintl): Define using libm_alias_ldouble.
27926 (lrintl): Likewise.
27927 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
27928 <libm-alias-ldouble.h>.
27929 (nearbyintl): Define using libm_alias_ldouble.
27930 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27931 (truncl): Define using libm_alias_ldouble.
27932 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
27933 <libm-alias-ldouble.h>.
27934 (lrintl): Define using libm_alias_ldouble.
27936 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27937 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27938 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
27939 (asinhl): Define using libm_alias_ldouble.
27940 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
27941 (atanl): Define using libm_alias_ldouble.
27942 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
27943 (cbrtl): Define using libm_alias_ldouble.
27944 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27945 (ceill): Define using libm_alias_ldouble.
27946 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
27947 (copysignl): Define using libm_alias_ldouble.
27948 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27949 (fabsl): Define using libm_alias_ldouble.
27950 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27951 (floorl): Define using libm_alias_ldouble.
27952 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27953 (fmaxl): Define using libm_alias_ldouble.
27954 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27955 (fminl): Define using libm_alias_ldouble.
27956 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
27957 (frexpl): Define using libm_alias_ldouble.
27958 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27959 (llrintl): Define using libm_alias_ldouble.
27960 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
27961 (logbl): Define using libm_alias_ldouble.
27962 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
27963 (lrintl): Define using libm_alias_ldouble.
27964 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
27965 (nearbyintl): Define using libm_alias_ldouble.
27966 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
27967 (nextafterl): Define using libm_alias_ldouble.
27968 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
27969 (remquol): Define using libm_alias_ldouble.
27970 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
27971 (rintl): Define using libm_alias_ldouble.
27972 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27973 (truncl): Define using libm_alias_ldouble.
27974 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27975 (fmaxl): Define using libm_alias_ldouble.
27976 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27977 (fminl): Define using libm_alias_ldouble.
27979 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
27980 to C syntax instead of availability and properties of types.
27981 * bits/floatn.h [!__ASSEMBLER]: Likewise.
27982 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
27983 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
27984 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
27985 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
27986 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
27988 2017-11-17 Florian Weimer <fweimer@redhat.com>
27990 support_become_root: Enable file creation in namespaces.
27991 * support/support_become_root.c (setup_mapping): New function.
27992 (support_become_root): Call it.
27994 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27996 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
27999 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28001 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
28002 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
28004 2017-11-16 Joseph Myers <joseph@codesourcery.com>
28006 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
28008 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28011 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28013 * INSTALL: Fix botched up regeneration.
28015 * NEWS: Update sourceare link to https.
28016 * configure.ac: Likewise.
28017 * crypt/md5test-giant.c: Likewise.
28018 * dlfcn/bug-atexit1.c: Likewise.
28019 * dlfcn/bug-atexit2.c: Likewise.
28020 * localedata/README: Likewise.
28021 * malloc/tst-mallocfork.c: Likewise.
28022 * manual/install.texi: Likewise.
28023 * nptl/tst-pthread-getattr.c: Likewise.
28024 * stdio-common/tst-fgets.c: Likewise.
28025 * stdio-common/tst-fwrite.c: Likewise.
28026 * sunrpc/Makefile: Likewise.
28027 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
28028 * wcsmbs/tst-mbrtowc2.c: Likewise.
28029 * configure: Regenerate.
28030 * INSTALL: Regenerate.
28032 2017-11-15 Martin Sebor <msebor@redhat.com>
28034 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
28035 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
28036 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
28038 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28041 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
28042 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
28045 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
28046 Defer is_pty check until end of the function.
28047 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28050 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
28051 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
28052 (ttyname): Likewise.
28053 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28054 (__ttyname_r): Likewise.
28056 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
28059 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
28061 * manual/terminal.texi (Is It a Terminal):
28062 Mention ENODEV for ttyname and ttyname_r.
28064 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28066 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
28067 constant and macro.
28069 * sysdeps/unix/sysv/linux/bits/mman-linux.h
28070 [__USE_MISC] (MADV_WIPEONFORK): New macro.
28071 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28072 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
28073 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
28074 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28076 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28078 * signal/sigrelse.c (sigrelse): Optimize implementation.
28080 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
28081 (__sigpause): Rely on __sigsuspend to implement single thread
28082 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
28084 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28086 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28087 kernel version to 4.14.
28089 2017-11-15 Steve Ellcey <sellcey@cavium.com>
28092 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
28093 Check if ifname is too long.
28095 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28097 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
28099 2017-11-15 Mike FABIAN <mfabian@redhat.com>
28101 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
28102 was accidentally lost.
28104 2017-11-15 Mike FABIAN <mfabian@redhat.com>
28106 * localedata/locales/az_IR: Add standard copyright header.
28108 2017-11-15 Florian Weimer <fweimer@redhat.com>
28111 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
28112 not just the top one. Output a new "subheaps" statistic.
28114 2017-11-15 Florian Weimer <fweimer@redhat.com>
28117 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
28118 under the per-arena lock.
28119 * malloc/Makefile (tests): Add tst-malloc_info.
28120 (tst-malloc_info): Link with libpthread.
28121 * malloc/tst-malloc_info.c: New file.
28123 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28126 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
28127 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
28128 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
28129 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
28130 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
28131 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
28132 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
28133 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
28134 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
28135 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
28136 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
28137 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
28138 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
28139 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
28140 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
28141 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
28142 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
28143 (__floating_type): Likewise.
28144 (__real_integer_type): Likewise.
28145 (__complex_integer_type): Likewise.
28146 (__expr_is_real): Likewise.
28147 (__tgmath_real_type_sub): Likewise.
28148 (__tgmath_real_type): Likewise.
28149 (__tgmath_complex_type_sub): Likewise.
28150 (__tgmath_complex_type): Likewise.
28151 (__TGMATH_F128): Likewise.
28152 (__TGMATH_CF128): Likewise.
28153 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
28155 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
28156 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
28158 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
28160 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
28161 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
28162 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
28163 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
28165 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
28166 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
28168 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
28169 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
28170 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
28172 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
28173 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
28174 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
28178 2017-11-14 Joseph Myers <joseph@codesourcery.com>
28180 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
28181 for stpncpy calls for GCC 8.
28182 (test_strncat): Disable -Wstringop-truncation warning for strncat
28183 calls for GCC 8. Disable -Wstringop-overflow= warning for one
28184 strncat call for GCC 7.
28185 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
28187 (test_memcmp): Use memcpy instead of strncpy for calls not copying
28190 * string/bug-strncat1.c: Include <libc-diag.h>.
28191 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
28193 2017-11-13 Claude Paroz <claude@2xlibre.net>
28196 * localedata/locales/aa_DJ: Improved readibility by replacing
28197 <Uxxxx> sequences in the ASCII printable range by their ASCII
28198 character equivalents.
28199 * localedata/locales/aa_ER: Likewise.
28200 * localedata/locales/aa_ER@saaho: Likewise.
28201 * localedata/locales/aa_ET: Likewise.
28202 * localedata/locales/af_ZA: Likewise.
28203 * localedata/locales/agr_PE: Likewise.
28204 * localedata/locales/ak_GH: Likewise.
28205 * localedata/locales/am_ET: Likewise.
28206 * localedata/locales/anp_IN: Likewise.
28207 * localedata/locales/ar_AE: Likewise.
28208 * localedata/locales/ar_BH: Likewise.
28209 * localedata/locales/ar_DZ: Likewise.
28210 * localedata/locales/ar_EG: Likewise.
28211 * localedata/locales/ar_IN: Likewise.
28212 * localedata/locales/ar_IQ: Likewise.
28213 * localedata/locales/ar_JO: Likewise.
28214 * localedata/locales/ar_KW: Likewise.
28215 * localedata/locales/ar_LB: Likewise.
28216 * localedata/locales/ar_LY: Likewise.
28217 * localedata/locales/ar_MA: Likewise.
28218 * localedata/locales/ar_OM: Likewise.
28219 * localedata/locales/ar_QA: Likewise.
28220 * localedata/locales/ar_SA: Likewise.
28221 * localedata/locales/ar_SD: Likewise.
28222 * localedata/locales/ar_SS: Likewise.
28223 * localedata/locales/ar_SY: Likewise.
28224 * localedata/locales/ar_TN: Likewise.
28225 * localedata/locales/ar_YE: Likewise.
28226 * localedata/locales/as_IN: Likewise.
28227 * localedata/locales/ast_ES: Likewise.
28228 * localedata/locales/ayc_PE: Likewise.
28229 * localedata/locales/az_AZ: Likewise.
28230 * localedata/locales/az_IR: Likewise.
28231 * localedata/locales/be_BY: Likewise.
28232 * localedata/locales/be_BY@latin: Likewise.
28233 * localedata/locales/bem_ZM: Likewise.
28234 * localedata/locales/ber_DZ: Likewise.
28235 * localedata/locales/ber_MA: Likewise.
28236 * localedata/locales/bg_BG: Likewise.
28237 * localedata/locales/bhb_IN: Likewise.
28238 * localedata/locales/bho_IN: Likewise.
28239 * localedata/locales/bi_VU: Likewise.
28240 * localedata/locales/bn_BD: Likewise.
28241 * localedata/locales/bn_IN: Likewise.
28242 * localedata/locales/bo_CN: Likewise.
28243 * localedata/locales/bo_IN: Likewise.
28244 * localedata/locales/br_FR: Likewise.
28245 * localedata/locales/brx_IN: Likewise.
28246 * localedata/locales/bs_BA: Likewise.
28247 * localedata/locales/byn_ER: Likewise.
28248 * localedata/locales/ca_AD: Likewise.
28249 * localedata/locales/ca_ES: Likewise.
28250 * localedata/locales/ca_FR: Likewise.
28251 * localedata/locales/ca_IT: Likewise.
28252 * localedata/locales/ce_RU: Likewise.
28253 * localedata/locales/chr_US: Likewise.
28254 * localedata/locales/cmn_TW: Likewise.
28255 * localedata/locales/crh_UA: Likewise.
28256 * localedata/locales/cs_CZ: Likewise.
28257 * localedata/locales/csb_PL: Likewise.
28258 * localedata/locales/cv_RU: Likewise.
28259 * localedata/locales/cy_GB: Likewise.
28260 * localedata/locales/da_DK: Likewise.
28261 * localedata/locales/de_AT: Likewise.
28262 * localedata/locales/de_BE: Likewise.
28263 * localedata/locales/de_CH: Likewise.
28264 * localedata/locales/de_DE: Likewise.
28265 * localedata/locales/de_IT: Likewise.
28266 * localedata/locales/de_LI: Likewise.
28267 * localedata/locales/de_LU: Likewise.
28268 * localedata/locales/doi_IN: Likewise.
28269 * localedata/locales/dv_MV: Likewise.
28270 * localedata/locales/dz_BT: Likewise.
28271 * localedata/locales/el_CY: Likewise.
28272 * localedata/locales/el_GR: Likewise.
28273 * localedata/locales/en_AG: Likewise.
28274 * localedata/locales/en_AU: Likewise.
28275 * localedata/locales/en_BW: Likewise.
28276 * localedata/locales/en_CA: Likewise.
28277 * localedata/locales/en_DK: Likewise.
28278 * localedata/locales/en_GB: Likewise.
28279 * localedata/locales/en_HK: Likewise.
28280 * localedata/locales/en_IE: Likewise.
28281 * localedata/locales/en_IL: Likewise.
28282 * localedata/locales/en_IN: Likewise.
28283 * localedata/locales/en_NG: Likewise.
28284 * localedata/locales/en_NZ: Likewise.
28285 * localedata/locales/en_PH: Likewise.
28286 * localedata/locales/en_SG: Likewise.
28287 * localedata/locales/en_US: Likewise.
28288 * localedata/locales/en_ZA: Likewise.
28289 * localedata/locales/en_ZM: Likewise.
28290 * localedata/locales/en_ZW: Likewise.
28291 * localedata/locales/eo: Likewise.
28292 * localedata/locales/es_AR: Likewise.
28293 * localedata/locales/es_BO: Likewise.
28294 * localedata/locales/es_CL: Likewise.
28295 * localedata/locales/es_CO: Likewise.
28296 * localedata/locales/es_CR: Likewise.
28297 * localedata/locales/es_CU: Likewise.
28298 * localedata/locales/es_DO: Likewise.
28299 * localedata/locales/es_EC: Likewise.
28300 * localedata/locales/es_ES: Likewise.
28301 * localedata/locales/es_GT: Likewise.
28302 * localedata/locales/es_HN: Likewise.
28303 * localedata/locales/es_MX: Likewise.
28304 * localedata/locales/es_NI: Likewise.
28305 * localedata/locales/es_PA: Likewise.
28306 * localedata/locales/es_PE: Likewise.
28307 * localedata/locales/es_PR: Likewise.
28308 * localedata/locales/es_PY: Likewise.
28309 * localedata/locales/es_SV: Likewise.
28310 * localedata/locales/es_US: Likewise.
28311 * localedata/locales/es_UY: Likewise.
28312 * localedata/locales/es_VE: Likewise.
28313 * localedata/locales/et_EE: Likewise.
28314 * localedata/locales/eu_ES: Likewise.
28315 * localedata/locales/eu_ES@euro: Likewise.
28316 * localedata/locales/fa_IR: Likewise.
28317 * localedata/locales/ff_SN: Likewise.
28318 * localedata/locales/fi_FI: Likewise.
28319 * localedata/locales/fil_PH: Likewise.
28320 * localedata/locales/fo_FO: Likewise.
28321 * localedata/locales/fr_BE: Likewise.
28322 * localedata/locales/fr_CA: Likewise.
28323 * localedata/locales/fr_CH: Likewise.
28324 * localedata/locales/fr_FR: Likewise.
28325 * localedata/locales/fr_LU: Likewise.
28326 * localedata/locales/fur_IT: Likewise.
28327 * localedata/locales/fy_DE: Likewise.
28328 * localedata/locales/fy_NL: Likewise.
28329 * localedata/locales/ga_IE: Likewise.
28330 * localedata/locales/gd_GB: Likewise.
28331 * localedata/locales/gez_ER: Likewise.
28332 * localedata/locales/gez_ET: Likewise.
28333 * localedata/locales/gl_ES: Likewise.
28334 * localedata/locales/gu_IN: Likewise.
28335 * localedata/locales/gv_GB: Likewise.
28336 * localedata/locales/ha_NG: Likewise.
28337 * localedata/locales/hak_TW: Likewise.
28338 * localedata/locales/he_IL: Likewise.
28339 * localedata/locales/hi_IN: Likewise.
28340 * localedata/locales/hif_FJ: Likewise.
28341 * localedata/locales/hne_IN: Likewise.
28342 * localedata/locales/hr_HR: Likewise.
28343 * localedata/locales/hsb_DE: Likewise.
28344 * localedata/locales/ht_HT: Likewise.
28345 * localedata/locales/hu_HU: Likewise.
28346 * localedata/locales/hy_AM: Likewise.
28347 * localedata/locales/i18n: Likewise.
28348 * localedata/locales/ia_FR: Likewise.
28349 * localedata/locales/id_ID: Likewise.
28350 * localedata/locales/ig_NG: Likewise.
28351 * localedata/locales/ik_CA: Likewise.
28352 * localedata/locales/is_IS: Likewise.
28353 * localedata/locales/it_CH: Likewise.
28354 * localedata/locales/it_IT: Likewise.
28355 * localedata/locales/iu_CA: Likewise.
28356 * localedata/locales/ja_JP: Likewise.
28357 * localedata/locales/ka_GE: Likewise.
28358 * localedata/locales/kk_KZ: Likewise.
28359 * localedata/locales/kl_GL: Likewise.
28360 * localedata/locales/kn_IN: Likewise.
28361 * localedata/locales/ko_KR: Likewise.
28362 * localedata/locales/kok_IN: Likewise.
28363 * localedata/locales/ks_IN: Likewise.
28364 * localedata/locales/ks_IN@devanagari: Likewise.
28365 * localedata/locales/ku_TR: Likewise.
28366 * localedata/locales/kw_GB: Likewise.
28367 * localedata/locales/ky_KG: Likewise.
28368 * localedata/locales/lb_LU: Likewise.
28369 * localedata/locales/lg_UG: Likewise.
28370 * localedata/locales/li_BE: Likewise.
28371 * localedata/locales/li_NL: Likewise.
28372 * localedata/locales/lij_IT: Likewise.
28373 * localedata/locales/ln_CD: Likewise.
28374 * localedata/locales/lo_LA: Likewise.
28375 * localedata/locales/lt_LT: Likewise.
28376 * localedata/locales/lv_LV: Likewise.
28377 * localedata/locales/lzh_TW: Likewise.
28378 * localedata/locales/mag_IN: Likewise.
28379 * localedata/locales/mai_IN: Likewise.
28380 * localedata/locales/mg_MG: Likewise.
28381 * localedata/locales/mhr_RU: Likewise.
28382 * localedata/locales/mi_NZ: Likewise.
28383 * localedata/locales/mk_MK: Likewise.
28384 * localedata/locales/ml_IN: Likewise.
28385 * localedata/locales/mn_MN: Likewise.
28386 * localedata/locales/mni_IN: Likewise.
28387 * localedata/locales/mr_IN: Likewise.
28388 * localedata/locales/ms_MY: Likewise.
28389 * localedata/locales/mt_MT: Likewise.
28390 * localedata/locales/my_MM: Likewise.
28391 * localedata/locales/nan_TW: Likewise.
28392 * localedata/locales/nan_TW@latin: Likewise.
28393 * localedata/locales/nb_NO: Likewise.
28394 * localedata/locales/nds_DE: Likewise.
28395 * localedata/locales/nds_NL: Likewise.
28396 * localedata/locales/ne_NP: Likewise.
28397 * localedata/locales/nhn_MX: Likewise.
28398 * localedata/locales/niu_NU: Likewise.
28399 * localedata/locales/niu_NZ: Likewise.
28400 * localedata/locales/nl_AW: Likewise.
28401 * localedata/locales/nl_BE: Likewise.
28402 * localedata/locales/nl_NL: Likewise.
28403 * localedata/locales/nn_NO: Likewise.
28404 * localedata/locales/nr_ZA: Likewise.
28405 * localedata/locales/nso_ZA: Likewise.
28406 * localedata/locales/oc_FR: Likewise.
28407 * localedata/locales/om_ET: Likewise.
28408 * localedata/locales/om_KE: Likewise.
28409 * localedata/locales/or_IN: Likewise.
28410 * localedata/locales/os_RU: Likewise.
28411 * localedata/locales/pa_IN: Likewise.
28412 * localedata/locales/pa_PK: Likewise.
28413 * localedata/locales/pap_AW: Likewise.
28414 * localedata/locales/pap_CW: Likewise.
28415 * localedata/locales/pl_PL: Likewise.
28416 * localedata/locales/ps_AF: Likewise.
28417 * localedata/locales/pt_BR: Likewise.
28418 * localedata/locales/pt_PT: Likewise.
28419 * localedata/locales/quz_PE: Likewise.
28420 * localedata/locales/raj_IN: Likewise.
28421 * localedata/locales/ro_RO: Likewise.
28422 * localedata/locales/ru_RU: Likewise.
28423 * localedata/locales/ru_UA: Likewise.
28424 * localedata/locales/rw_RW: Likewise.
28425 * localedata/locales/sa_IN: Likewise.
28426 * localedata/locales/sat_IN: Likewise.
28427 * localedata/locales/sc_IT: Likewise.
28428 * localedata/locales/sd_IN: Likewise.
28429 * localedata/locales/sd_IN@devanagari: Likewise.
28430 * localedata/locales/se_NO: Likewise.
28431 * localedata/locales/sgs_LT: Likewise.
28432 * localedata/locales/shs_CA: Likewise.
28433 * localedata/locales/si_LK: Likewise.
28434 * localedata/locales/sid_ET: Likewise.
28435 * localedata/locales/sk_SK: Likewise.
28436 * localedata/locales/sl_SI: Likewise.
28437 * localedata/locales/sm_WS: Likewise.
28438 * localedata/locales/so_DJ: Likewise.
28439 * localedata/locales/so_ET: Likewise.
28440 * localedata/locales/so_KE: Likewise.
28441 * localedata/locales/so_SO: Likewise.
28442 * localedata/locales/sq_AL: Likewise.
28443 * localedata/locales/sq_MK: Likewise.
28444 * localedata/locales/sr_ME: Likewise.
28445 * localedata/locales/sr_RS: Likewise.
28446 * localedata/locales/sr_RS@latin: Likewise.
28447 * localedata/locales/ss_ZA: Likewise.
28448 * localedata/locales/st_ZA: Likewise.
28449 * localedata/locales/sv_FI: Likewise.
28450 * localedata/locales/sv_SE: Likewise.
28451 * localedata/locales/sw_KE: Likewise.
28452 * localedata/locales/sw_TZ: Likewise.
28453 * localedata/locales/szl_PL: Likewise.
28454 * localedata/locales/ta_IN: Likewise.
28455 * localedata/locales/ta_LK: Likewise.
28456 * localedata/locales/tcy_IN: Likewise.
28457 * localedata/locales/te_IN: Likewise.
28458 * localedata/locales/tg_TJ: Likewise.
28459 * localedata/locales/th_TH: Likewise.
28460 * localedata/locales/the_NP: Likewise.
28461 * localedata/locales/ti_ER: Likewise.
28462 * localedata/locales/ti_ET: Likewise.
28463 * localedata/locales/tig_ER: Likewise.
28464 * localedata/locales/tk_TM: Likewise.
28465 * localedata/locales/tl_PH: Likewise.
28466 * localedata/locales/tn_ZA: Likewise.
28467 * localedata/locales/to_TO: Likewise.
28468 * localedata/locales/tpi_PG: Likewise.
28469 * localedata/locales/tr_CY: Likewise.
28470 * localedata/locales/tr_TR: Likewise.
28471 * localedata/locales/ts_ZA: Likewise.
28472 * localedata/locales/tt_RU: Likewise.
28473 * localedata/locales/tt_RU@iqtelif: Likewise.
28474 * localedata/locales/ug_CN: Likewise.
28475 * localedata/locales/uk_UA: Likewise.
28476 * localedata/locales/unm_US: Likewise.
28477 * localedata/locales/ur_IN: Likewise.
28478 * localedata/locales/ur_PK: Likewise.
28479 * localedata/locales/uz_UZ: Likewise.
28480 * localedata/locales/uz_UZ@cyrillic: Likewise.
28481 * localedata/locales/ve_ZA: Likewise.
28482 * localedata/locales/vi_VN: Likewise.
28483 * localedata/locales/wa_BE: Likewise.
28484 * localedata/locales/wae_CH: Likewise.
28485 * localedata/locales/wal_ET: Likewise.
28486 * localedata/locales/wo_SN: Likewise.
28487 * localedata/locales/xh_ZA: Likewise.
28488 * localedata/locales/yi_US: Likewise.
28489 * localedata/locales/yo_NG: Likewise.
28490 * localedata/locales/yue_HK: Likewise.
28491 * localedata/locales/yuw_PG: Likewise.
28492 * localedata/locales/zh_CN: Likewise.
28493 * localedata/locales/zh_HK: Likewise.
28494 * localedata/locales/zh_SG: Likewise.
28495 * localedata/locales/zh_TW: Likewise.
28496 * localedata/locales/zu_ZA: Likewise.
28498 2017-11-13 Florian Weimer <fweimer@redhat.com>
28500 * support/next_to_fault.h, support/next_to_fault.c: New files.
28501 * support/Makefile (libsupport-routines): Add next_to_fault.
28502 * resolv/tst-inet_pton.c (struct next_to_fault)
28503 (next_to_fault_allocate, next_to_fault_free): Remove.
28504 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
28506 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
28508 * elf/dl-support.c: Include <dl-procruntime.c>.
28509 * include/link.h: Include <link_map.h>.
28510 * sysdeps/generic/dl-procruntime.c: New file.
28511 * sysdeps/generic/link_map.h: Likewise.
28512 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
28513 the writable ld.so namespace.
28515 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
28517 timezone: pacify GCC -Wstringop-truncation
28518 Problem reported by Martin Sebor in:
28519 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
28520 * timezone/zic.c (writezone): Use memcpy, not strncpy.
28522 2017-11-12 Florian Weimer <fweimer@redhat.com>
28524 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
28526 (tests): Add tst-xreadlink.
28527 * support/support.h (xstrndup): Declare.
28528 * support/xunistd.h (xunlink, xreadlink): Declare.
28529 * support/temp_file.h (support_create_temp_directory): Declare.
28530 * support/temp_file.c (support_create_temp_directory): New function.
28531 * support/support_chroot.c (support_chroot_create): Use it.
28532 * support/xreadlink.c: New file.
28533 * support/xstrndup.c: Likewise.
28534 * support/xunlink.c: Likewise.
28535 * support/tst-xreadlink.c: Likewise.
28537 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
28539 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
28541 2017-11-11 Florian Weimer <fweimer@redhat.com>
28545 * resolv/res_comp.c (printable_string, binary_hnok)
28546 (binary_leading_dash): New functions.
28547 (res_hnok): Reimplement using these functions and ns_name_pton.
28548 (res_ownok): Likewise.
28549 (res_mailok): Reimplement using printable_string, ns_name_pton and
28551 (res_dnok): Reimplement using printable_string and ns_name_pton.
28552 * resolv/tst-res_hnok.c (tests): Add additional tests.
28553 (LETTERDIGITS, PRINTABLE): Define.
28554 (do_test): Adjust one_char results.
28556 2017-11-11 Florian Weimer <fweimer@redhat.com>
28559 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
28560 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
28562 2017-11-11 Florian Weimer <fweimer@redhat.com>
28564 * resolv/tst-ns_name_pton.c: New file.
28565 * resolv/Makefile (tests): Add tst-ns_name_pton.
28566 (tst-ns_name_pton): Link against libresolv.
28568 2017-11-11 Florian Weimer <fweimer@redhat.com>
28570 * resolv/tst-res_hnok.c: New file.
28571 * resolv/Makefile (tests): Add tst-res_hnok.
28572 (tst-res_hnok): Link against libresolv.
28574 2017-11-11 Florian Weimer <fweimer@redhat.com>
28576 * resolv/tst-resolv-network.c: Use test framework instead explicit
28579 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
28581 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
28582 <jmp_buf-macros.h>.
28583 [!_ISOMAC] (STR_HELPER): New.
28584 [!_ISOMAC] (STR): Likewise.
28585 [!_ISOMAC] (TEST_SIZE): Likewise.
28586 [!_ISOMAC] (TEST_ALIGN): Likewise.
28587 [!_ISOMAC] (TEST_OFFSET): Likewise.
28588 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
28589 field offsets of jmp_buf as well as sigjmp_buf.
28590 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
28591 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
28592 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
28593 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
28594 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
28595 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
28596 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
28597 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
28598 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
28599 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
28601 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
28603 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
28604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
28606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
28608 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
28609 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
28610 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
28611 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
28612 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
28613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
28615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
28617 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
28618 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
28619 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
28621 2017-11-07 Joseph Myers <joseph@codesourcery.com>
28624 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28625 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
28626 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28627 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
28628 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28629 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
28630 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28631 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
28632 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28633 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
28634 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28635 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
28636 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28637 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
28638 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28639 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
28640 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28641 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
28642 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28643 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
28644 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28645 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
28646 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28647 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
28648 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28649 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
28650 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28651 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
28652 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28653 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
28654 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28655 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
28656 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28657 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
28658 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28659 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
28660 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28661 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
28662 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28663 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
28664 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28665 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
28666 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28667 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
28668 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28669 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
28670 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28671 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
28672 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28673 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
28674 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28675 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
28676 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28677 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
28678 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28679 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
28680 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28681 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
28682 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28683 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
28684 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28685 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
28686 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28687 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
28688 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28689 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
28690 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28691 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
28692 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28693 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
28694 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28695 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
28696 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28697 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
28698 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28699 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
28700 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28701 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
28702 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28703 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
28704 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28705 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
28706 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28707 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
28708 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28709 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
28710 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28711 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
28713 * stdlib/tst-strtod.h (F16): New macro.
28719 (IF_FLOAT16): Likewise.
28720 (IF_FLOAT32): Likewise.
28721 (IF_FLOAT64): Likewise.
28722 (IF_FLOAT32X): Likewise.
28723 (IF_FLOAT64X): Likewise.
28724 (IF_FLOAT128X): Likewise.
28725 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
28726 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
28727 (STRTOD_TEST_FOREACH): Likewise.
28728 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
28729 (CHOOSE_f64): Likewise.
28730 (CHOOSE_f32x): Likewise.
28731 (CHOOSE_f64x): Likewise.
28733 2017-11-07 Andreas Schwab <schwab@suse.de>
28735 * nptl/Makefile (tests-internal): Remove tst-typesizes.
28737 2017-11-07 Mike FABIAN <mfabian@redhat.com>
28740 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
28742 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
28745 2017-11-07 Claude Paroz <claude@2xlibre.net>
28748 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
28750 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
28752 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
28755 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28758 * nptl/allocatestack.c (allocate_stack): Check if
28759 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
28760 __PTHREAD_MUTEX_HAVE_PREV is defined.
28761 * nptl/descr.h (pthread): Likewise.
28762 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28764 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28765 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28766 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
28767 * sysdeps/nptl/bits/thread-shared-types.h
28768 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28770 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
28771 of __WORDSIZE for internal layout.
28772 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
28773 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
28774 instead of __WORDSIZE whether to use an union for __spins and __list
28776 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
28778 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
28779 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28781 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
28782 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28784 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
28785 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28787 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
28788 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28790 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
28791 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28793 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
28794 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28796 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
28797 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28799 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
28800 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28802 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
28803 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28805 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
28806 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28808 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
28809 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28811 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
28812 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28814 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
28815 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28817 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
28818 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28820 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
28821 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28824 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
28826 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
28827 checks for expected input type size.
28828 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28829 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28831 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28832 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
28833 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28834 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
28835 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28836 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
28837 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
28838 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
28839 superflous runtime assert check.
28840 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
28842 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
28844 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
28846 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
28848 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
28850 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
28852 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
28853 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
28854 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
28856 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
28858 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
28860 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
28862 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
28864 * nptl/pthread_attr_setinheritsched.c
28865 (__pthread_attr_setinheritsched): Likewise.
28866 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
28868 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
28870 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
28871 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
28872 __old_pthread_attr_setstack): Likewise.
28873 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
28875 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
28877 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
28879 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
28880 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
28882 * nptl/tst-typesizes.c: Remove file.
28884 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
28885 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
28886 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
28887 checks for internal pthread_mutex_t offsets.
28888 * sysdeps/aarch64/nptl/pthread-offsets.h
28889 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
28890 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
28891 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
28892 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
28893 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
28894 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
28895 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
28896 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
28897 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
28898 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
28899 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
28900 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
28901 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
28902 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
28903 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
28904 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
28905 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
28906 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
28908 2017-11-07 Florian Weimer <fweimer@redhat.com>
28910 * bits/mman-linux.h: Move ...
28911 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
28913 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
28916 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28918 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
28919 Redefine STRNLEN as __strnlen_power8.
28921 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28923 * signal/sighold.c (sighold): Optimize implementation.
28925 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
28926 __NR_rt_sigqueueinfo.
28928 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28930 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
28931 assume __NR_rt_sigtimedwait.
28932 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
28933 and add LIBC_CANCEL_HANDLED for cancellation marking.
28934 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28936 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28937 (sysdeps_routines): Add memchr_noneon.
28938 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
28939 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
28940 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
28941 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
28942 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
28943 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
28944 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
28946 * sysdeps/arm/arm-ifunc.h: New file.
28947 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
28948 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
28949 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
28950 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
28951 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
28952 (__memcpy_neon): Avoid create hidden alias.
28953 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
28954 (__memcpy_vfp): Likewise.
28955 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28956 (sysdep_routines): Add memcpy_arm.
28957 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
28959 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
28962 * Makerules (make-link-multidir): New.
28963 * config.make.in (multidir): New.
28964 * configure.ac (libc_cv_multidir): New. AC_SUBST.
28965 * configure: Regenerated.
28966 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
28967 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
28968 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
28971 2017-11-06 Joseph Myers <joseph@codesourcery.com>
28974 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
28975 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
28977 2017-11-04 Mike FABIAN <mfabian@redhat.com>
28979 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
28982 2017-11-04 Florian Weimer <fweimer@redhat.com>
28984 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
28986 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28988 * math/math.h [__HAVE_DISTINCT_FLOAT16
28989 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28990 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28991 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28992 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
28993 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
28994 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
28995 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28996 (__MATH_TG_F32): New macro.
28997 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28998 (__MATH_TG_F64X): Likewise.
28999 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29000 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
29002 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
29004 * po/de.po: Update translations.
29005 * po/ru.po: Likewise.
29007 2017-11-03 Florian Weimer <fweimer@redhat.com>
29009 * manual/filesys.texi (Hard Links): Document linkat.
29011 2017-11-03 Joseph Myers <joseph@codesourcery.com>
29013 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
29014 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
29015 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
29016 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
29017 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29018 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29019 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
29020 the same as _Float128.
29021 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29022 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29023 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
29026 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
29028 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
29030 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
29032 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29033 (strtof32x): Likewise.
29034 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29035 (strtof64x): Likewise.
29036 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29037 (strtof128x): Likewise.
29038 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29039 (strfromf16): Likewise.
29040 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29041 (strfromf32): Likewise.
29042 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29043 (strfromf64): Likewise.
29044 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29045 (strfromf32x): Likewise.
29046 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29047 (strfromf64x): Likewise.
29048 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29049 (strfromf128x): Likewise.
29050 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
29051 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
29052 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
29053 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
29054 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
29055 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
29057 2017-11-03 Richard Henderson <rth@twiddle.net>
29059 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
29061 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29063 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
29065 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29067 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
29068 DT_TLSDESC_GOT initialization.
29069 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
29070 (_dl_tlsdesc_resolve_hold): Likewise.
29071 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
29072 (_dl_tlsdesc_resolve_hold): Likewise.
29073 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
29074 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29076 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29078 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
29080 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29083 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
29084 non-lazily for R_ARM_TLS_DESC.
29086 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29089 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
29090 R_ARM_TLS_DESC case.
29091 (elf_machine_lazy_rel): Remove the prelink check.
29093 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29095 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
29096 DT_TLSDESC_GOT initialization.
29097 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
29098 (_dl_tlsdesc_resolve_rela): Likewise.
29099 (_dl_tlsdesc_resolve_hold): Likewise.
29100 (_dl_tlsdesc_undefweak): Remove ldar.
29101 (_dl_tlsdesc_dynamic): Likewise.
29102 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
29103 (_dl_tlsdesc_resolve_rela): Likewise.
29104 (_dl_tlsdesc_resolve_hold): Likewise.
29105 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
29106 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29107 (_dl_tlsdesc_resolve_rela): Likewise.
29108 (_dl_tlsdesc_resolve_hold): Likewise.
29110 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29112 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
29113 binding and initialization non-lazily for R_AARCH64_TLSDESC.
29115 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29117 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
29118 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29120 2017-11-02 Joseph Myers <joseph@codesourcery.com>
29122 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
29124 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
29125 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
29126 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
29127 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
29128 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
29129 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
29130 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
29131 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
29132 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
29133 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
29134 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
29136 2017-11-02 Mike FABIAN <mfabian@redhat.com>
29139 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
29140 * localedata/locales/tpi_PG: Add standard header.
29142 2017-11-02 Florian Weimer <fweimer@redhat.com>
29144 test-errno-linux: quotactl can fail with EPERM in containers.
29145 * sysdeps/unix/sysv/linux/test-errno-linux.c
29146 (LIST, LIST_FORWARD): New macros.
29147 (check_error_in_list): New function.
29148 (test_wrp_rv): Accept list of permitted error codes.
29149 (test_wrp_rv2): Remove.
29150 (test_wrp): Call test_wrp_rv with list of error codes.
29151 (test_wrp2): Accept list of error codes.
29152 (do_test): Adjust. Allow EPERM for quotactl.
29154 2017-11-02 Florian Weimer <fweimer@redhat.com>
29156 * stdio-common/bug16.c (do_test): Use array_length.
29157 * stdio-common/errlist.c (_sys_nerr): Likewise.
29158 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
29159 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
29160 * stdio-common/psiginfo.c (psiginfo): Use array_length.
29161 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
29162 (do_test): Use array_length.
29163 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
29164 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
29165 * stdio-common/tst-printf-round.c (do_test): Likewise.
29166 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
29167 (CHECK): Use array_length.
29168 * stdio-common/tstdiomisc.c (t3, F): Likewise.
29169 * stdio-common/tstscanf.c (main): Likewise.
29170 * stdio-common/vfprintf.c (process_string_arg): Likewise.
29172 2017-11-02 Florian Weimer <fweimer@redhat.com>
29174 Add array_length and array_end macros.
29175 * include/array_length.h: New file.
29177 2017-11-02 Florian Weimer <fweimer@redhat.com>
29180 * posix/tst-glob-tilde.c (do_noescape): New variable.
29181 (one_test): Process it.
29182 (do_test): Set do_noescape. Add unescaping test case.
29184 2017-11-01 Joseph Myers <joseph@codesourcery.com>
29187 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
29188 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
29189 with appropriate macros defined and undefined.
29190 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
29191 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29192 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
29193 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29194 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
29195 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29196 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
29197 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29198 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
29199 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29202 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
29203 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
29204 that for long double. Do not condition define and undefine of
29205 _Mdouble_complex_ on [__CFLOAT128].
29207 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
29209 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29210 of <sysdeps/generic/sysdep.h>.
29211 (ALIGNARG): Removed.
29212 (ASM_SIZE_DIRECTIVE): Likewise.
29215 (ENTRY_CHK): Likewise.
29216 (END_CHK): Likewise.
29217 (syscall_error): Likewise.
29218 (mcount): Likewise.
29219 (PSEUDO_END): Likewise.
29221 (atom_text_section): Likewise.
29222 * sysdeps/x86/sysdep.h: New file.
29223 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29224 of <sysdeps/generic/sysdep.h>.
29225 (ALIGNARG): Removed.
29226 (ASM_SIZE_DIRECTIVE): Likewise.
29229 (ENTRY_CHK): Likewise.
29230 (END_CHK): Likewise.
29231 (syscall_error): Likewise.
29232 (mcount): Likewise.
29233 (PSEUDO_END): Likewise.
29235 (atom_text_section): Likewise.
29237 2017-10-31 Rafał Lużyński <digitalfreak@lingonborough.com>
29239 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
29240 category of LC_CTYPE set to "i18n:2012".
29241 * localedata/locales/i18n_ctype: Regenerate.
29243 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
29245 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
29246 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
29247 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29248 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29250 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
29251 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
29252 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
29253 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
29255 2017-10-31 Joseph Myers <joseph@codesourcery.com>
29258 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
29260 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
29262 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
29264 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29265 (CMPLXF32X): Likewise.
29266 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29267 (CMPLXF64X): Likewise.
29268 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29269 (CMPLXF128X): Likewise.
29272 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
29273 (__MATH_EVAL_FMT2): Define to add 0.0f.
29275 2017-10-31 Alan Modra <amodra@gmail.com>
29277 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
29279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
29280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
29281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
29282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
29283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
29284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
29285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
29286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
29287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
29288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
29289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
29290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
29291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
29292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
29293 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
29294 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
29295 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
29296 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
29297 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
29298 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
29299 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
29300 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
29301 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
29302 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
29303 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29304 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
29305 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
29306 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
29307 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
29308 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
29309 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29310 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29311 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
29312 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
29313 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
29314 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
29315 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
29316 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
29317 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
29318 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
29319 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
29320 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
29321 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
29322 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
29323 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
29324 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
29325 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
29326 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
29327 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29328 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29329 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
29330 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
29331 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
29332 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
29333 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29334 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
29335 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
29336 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
29337 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29338 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29339 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29340 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
29341 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
29342 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
29343 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
29344 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
29345 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
29346 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
29347 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
29349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
29350 include sysdep.h and math_ldbl_opt.h.
29352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
29353 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
29354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
29355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
29356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
29357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
29358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
29359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
29360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
29361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
29362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
29363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
29364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
29365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
29366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
29367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
29368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
29369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
29370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
29371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
29372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
29373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
29374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
29375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
29376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
29377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
29379 2017-10-31 Alan Modra <amodra@gmail.com>
29381 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
29382 string/strncase_l.c, not string/strncase.c.
29383 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
29384 (libc_hidden_def): Redefine.
29386 2017-10-31 Alan Modra <amodra@gmail.com>
29388 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
29389 (__STRCMP, STRCMP, __strcasecmp_l): Define.
29390 (__strcasecmp): Don't define.
29392 2017-10-31 Alan Modra <amodra@gmail.com>
29394 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
29396 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29397 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29398 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29400 2017-10-31 Alan Modra <amodra@gmail.com>
29402 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
29405 2017-10-31 Alan Modra <amodra@gmail.com>
29407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
29408 Redefine only when SHARED.
29410 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29412 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29413 Include <bits/math-finite.h> with appropriate macros defined and
29415 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29416 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29417 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29418 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29419 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29421 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
29422 [!_Mlong_double_] (_Mlong_double_): Likewise.
29423 [!_Mfloat16_] (_Mfloat16_): Likewise.
29424 [!_Mfloat32_] (_Mfloat32_): Likewise.
29425 [!_Mfloat64_] (_Mfloat64_): Likewise.
29426 [!_Mfloat128_] (_Mfloat128_): Likewise.
29427 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
29428 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
29429 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
29430 (_Mdouble_): Define without indirection through those macros.
29431 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
29432 [!_Mfloat128_] (_Mfloat128_): Likewise.
29433 [_Mlong_double_] (_Mlong_double_): Likewise.
29434 (_Mdouble_): Define without indirection through those macros.
29435 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
29436 not add -D_Mlong_double_=double.
29437 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
29438 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
29440 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29442 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
29444 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29446 * sysdeps/x86/libc-start.c: Reformat.
29448 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29451 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
29452 (1): Renamed to ...
29455 (L(Src2)): Likewise.
29456 (L(1)): Renamed to ...
29459 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29461 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
29462 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
29463 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
29464 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
29465 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
29466 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
29467 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
29468 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
29469 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
29470 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
29471 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
29472 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
29473 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
29474 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
29475 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
29476 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
29477 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
29478 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
29479 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
29480 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
29481 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
29482 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
29483 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
29484 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
29485 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
29486 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
29487 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
29488 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
29489 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
29490 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
29491 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
29492 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
29493 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
29494 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
29495 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
29496 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
29497 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
29498 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
29499 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
29500 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
29501 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
29502 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
29503 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
29504 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
29505 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
29506 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
29507 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
29508 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
29509 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
29510 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
29511 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
29512 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
29513 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
29514 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
29515 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
29516 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
29517 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
29518 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
29519 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
29520 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
29521 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
29522 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
29523 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
29524 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
29525 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
29526 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
29528 2017-10-30 Florian Weimer <fweimer@redhat.com>
29530 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
29532 * io/tst-mkdirat.c (do_test): Likewise.
29533 * io/tst-mkfifoat.c (do_test): Likewise.
29534 * io/tst-mknodat.c (do_test): Likewise.
29535 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
29536 * locale/programs/locale.c (select_dirs): Likewise.
29537 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
29538 * posix/bug-glob2.c (my_readdir): Likewise.
29539 * posix/tst-dir.c (main): Likewise.
29540 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
29541 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
29543 2017-10-30 Florian Weimer <fweimer@redhat.com>
29545 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
29548 2017-10-30 Florian Weimer <fweimer@redhat.com>
29550 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
29551 Convert to support/test-driver.c.
29552 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
29553 New macro parameters.
29554 (PRINTF): Remove macro. Use test_verbose conditionals instead.
29555 * posix/tst-gnuglob.c: New file.
29556 * posix/tst-gnuglob64.c: Likewise.
29557 * posix/Makefile (tests): Add tst-gnuglob64.
29559 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
29562 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
29563 and use a better translation for March in “mon”.
29564 * localedata/locales/csb_PL: Use more ASCII to improve the
29565 readability of the source.
29567 2017-10-30 Mike FABIAN <mfabian@redhat.com>
29570 * localedata/locales/km_KH: Use ASCII as much
29571 as possible for better readability of the source and
29572 remove useless comments.
29573 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
29574 was commented out and apparently wrong anyway because it was
29575 using Lao characters. If Buddhist era should be used
29576 for km_KH, a native speaker should write the correct formaat
29578 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
29579 (According to CLDR, the first weekday for Cambodia is Sunday).
29580 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
29581 (These were using Lao characters which must be wrong. If we get
29582 the correct data from a native speaker, we could add it back, until
29583 then it is better not to have name_mr and name_mrs at all than
29586 2017-10-27 Rafał Lużyński <digitalfreak@lingonborough.com>
29588 * locale/loadlocale.c: Correct size of
29589 _nl_value_type_LC_<category> arrays.
29591 2017-10-27 Joseph Myers <joseph@codesourcery.com>
29593 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29594 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
29595 with appropriate macros defined and undefined.
29596 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29597 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29598 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29599 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29600 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29602 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
29604 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
29607 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29609 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
29610 with lowercase letters to make it agree with CLDR.
29612 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29615 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
29616 first letters of yesstr and nostr in yesexpr and noexpr,
29617 not for the full words.
29618 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29619 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
29620 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
29621 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
29622 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
29623 first letters of yesstr and nostr in yesexpr and noexpr,
29624 until now only English was matched in yesexpr and noexpr.
29625 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
29626 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
29627 fil but not for tl. As tl and fil are very similar, using fil
29628 is probably better than using English.
29630 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
29633 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
29634 in yesstr and nostr.
29636 2017-10-26 Joseph Myers <joseph@codesourcery.com>
29638 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29639 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
29640 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
29642 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
29644 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
29646 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
29648 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29649 (SNANF128X): Likewise.
29651 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29652 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
29653 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29654 (HUGE_VAL_F32): Likewise.
29655 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29656 (HUGE_VAL_F64): Likewise.
29657 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29658 (HUGE_VAL_F32X): Likewise.
29659 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29660 (HUGE_VAL_F64X): Likewise.
29661 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29662 (HUGE_VAL_F128X): Likewise.
29664 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29666 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
29667 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
29668 for the br_FR locale.
29670 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29673 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
29675 2017-10-25 Carlos O'Donell <carlos@redhat.com>
29677 * locale/programs/record-status.h: Define globals, and function
29678 prototypes. Move function bodies...
29679 * locale/programs/record-status.c: ... to here. New file.
29680 * iconv/Makefile (iconv_prog-modules): Add record-status.
29681 * locale/Makefile (lib-modules): Likewise.
29682 * iconv/iconv_prog.c: Remove verbose.
29683 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
29684 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
29685 record a warning about ASCII compatibility.
29686 * locale/programs/ld-monetary.c (monetary_finish): If
29687 warn_int_curr_symbol is true then record a warning about the symbol
29688 not being in our ISO 4217 list.
29689 * locale/programs/locale.c: Include record-status.h. Remove verbose.
29690 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
29691 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
29692 (OPT_NO_WARN): Define.
29693 (OPT_WARN): Define.
29694 (options): Add entry for --no-warnings, and --warnings.
29695 (set_warnings): New function to enable/disable warnings.
29696 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
29697 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
29698 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
29699 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
29700 Pass flags to generate_locale.
29701 (generate_locale): Accept new flag argument and pass it to localedef
29703 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
29704 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
29706 * localedata/Makefile (test-input-data): Use full file name.
29707 * localedata/da_DK.in: Rename to...
29708 * localedata/da_DK.ISO-8859-1.in: ...this.
29709 * localedata/de_DE.in: Rename to...
29710 * localedata/de_DE.ISO-8859-1.in: ...this.
29711 * localedata/en_US.in: Rename to...
29712 * localedata/en_US.ISO-8859-1.in: ...this.
29713 * localedata/fr_FR.in: Rename to...
29714 * localedata/fr_FR.UTF-8.in: ... this.
29715 * localedata/hr_HR.in: Rename to...
29716 * localedata/hr_HR.ISO-8859-2.in: ...this.
29717 * localedata/hu_HU.in: Rename to...
29718 * localedata/hu_HU.UTF-8.in: ...this.
29719 * localedata/si_LK.in: Rename to...
29720 * localedata/si_LK.UTF-8.in: ...this.
29721 * localedata/sv_SE.in: Rename to...
29722 * localedata/sv_SE.ISO-8859-1.in: ...this.
29723 * localedata/tr_TR.in: Rename to...
29724 * localedata/tr_TR.UTF-8.in: ...this.
29725 * localedata/uk_UA.in: Rename to...
29726 * localedata/uk_UA.UTF-8.in: ...this.
29727 * localedata/sort-test.sh: Test file is locale name with the
29730 * localedata/unicode-gen/Makefile (check_i18n): Rename to
29731 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
29733 * localedata/locales/i18n_ctype: Regenerate.
29734 * localedata/locales/tr_TR: Likewise.
29735 * localedata/locales/translit_circle: Likewise.
29736 * localedata/locales/translit_cjk_compat: Likewise.
29737 * localedata/locales/translit_combining: Likewise.
29738 * localedata/locales/translit_compat: Likewise.
29739 * localedata/locales/translit_font: Likewise.
29740 * localedata/locales/translit_fraction: Likewise.
29742 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29744 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
29745 lxvd2x/stxvd2x with lvx/stvx.
29746 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
29748 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
29750 * include/alloc_buffer.h: Replace "if if " with "if " in
29752 * sysdeps/mips/memcpy.S: Likkewise.
29753 * sysdeps/mips/memset.S: Likewise.
29754 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29756 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
29758 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
29761 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29764 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
29765 yesexpr and noexpr.
29766 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29767 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29768 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29769 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29770 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29771 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29772 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29774 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29776 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
29777 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29778 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29779 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29780 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29781 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
29782 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29783 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29784 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29785 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29786 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29787 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29789 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29791 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
29792 as possible for better readability of the source.
29793 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
29794 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
29795 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
29796 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
29797 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
29798 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
29799 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
29800 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
29801 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29802 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
29803 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
29804 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
29805 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
29806 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
29807 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
29808 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
29809 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
29810 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
29811 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
29812 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
29813 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
29814 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
29815 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
29816 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
29817 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
29818 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
29819 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
29820 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
29821 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
29822 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
29823 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
29824 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29825 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
29826 * localedata/locales/en_US (LC_MESSAGES): Likewise.
29827 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
29828 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
29829 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
29830 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
29831 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
29832 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
29833 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
29834 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
29835 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
29836 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
29837 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
29838 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
29839 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
29840 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
29841 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
29842 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
29843 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
29844 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
29845 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
29846 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29847 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29848 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
29849 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
29850 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29851 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
29852 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
29853 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
29854 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
29855 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
29856 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
29857 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
29858 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
29859 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
29860 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
29861 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
29862 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
29863 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
29864 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
29865 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
29866 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
29867 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29868 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
29869 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
29870 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
29871 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
29872 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
29873 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
29874 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
29875 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
29876 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29877 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
29878 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
29879 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
29880 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29881 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
29882 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
29883 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
29884 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
29885 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29886 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
29887 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
29888 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29889 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
29890 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29891 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
29892 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
29893 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
29894 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
29895 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
29896 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
29897 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
29898 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
29899 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
29900 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
29901 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
29902 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
29903 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
29904 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
29905 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29906 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
29907 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
29908 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
29909 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
29910 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
29911 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
29912 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
29913 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
29914 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
29915 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
29916 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
29917 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
29918 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
29919 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
29920 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
29921 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
29922 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
29923 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
29924 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
29925 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
29926 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
29927 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
29928 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
29929 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
29930 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
29931 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
29932 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
29933 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
29934 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
29935 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
29936 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
29937 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
29938 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29939 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
29940 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
29941 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
29942 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
29943 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
29944 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
29945 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
29946 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
29947 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29948 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
29949 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
29950 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
29951 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
29952 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
29953 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
29954 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
29955 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
29956 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
29957 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
29958 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29959 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
29960 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
29961 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
29962 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
29963 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29964 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29965 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29966 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
29968 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29970 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
29971 (Use first letters of yesstr and nostr correctly instead of using
29974 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29976 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
29977 (Use first letters of yesstr and nostr correctly).
29979 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29981 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
29982 also check for the first characters of yesstr and nostr.
29983 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
29984 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
29986 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29988 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
29989 also check for Chinese characters.
29991 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29993 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
29994 match also for the contents of yesstr and nostr. As the first letter
29995 of yesstr and nostr is equal, checking only for the first letter
29998 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30000 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
30001 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
30003 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30005 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
30006 of main contributor.
30008 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30010 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
30011 instead of using English.
30013 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30015 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
30016 by including the first letters of nostr and yesexpr in the regexp.
30017 Also make it more readable by using ASCII where possible.
30019 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30021 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
30022 the first letter of nostr in the regexp. It agrees with CLDR now.
30023 Also make it more readable by using ASCII where possible.
30025 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30027 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
30028 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
30029 these strings contain a U+17D6 (which somewhat looks like a colon)
30030 instead of a real colon to separate the full words for “yes”
30031 and “no” from the single letter responses.
30033 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30035 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
30036 it agree with CLDR (include the first letter of yesstr).
30037 Also make it more readable by using ASCII where possible.
30039 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30041 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
30042 and improve yesexpr and noexpr. The yesstr and nostr apparently
30043 came from CLDR. And CLDR has a bug there: these strings contain
30044 a U+0903 (which looks like a colon) instead of a real colon
30045 to separate the full words for “yes” and “no” from the single
30048 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30050 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
30051 letters of the full yesstr and nostr in yesexpr and noexpr.
30053 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30055 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
30056 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
30057 * localedata/locales/an_ES: Make source more readable by using ASCII
30060 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30063 * localedata/locales/yuw_PG: New file.
30064 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
30065 * locale/iso-639.def: Add Yau (Uruwa).
30067 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30069 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
30071 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30073 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
30074 (__libc_realloc): Likewise.
30075 (_mid_memalign): Likewise.
30076 (__libc_calloc): Likewise.
30078 2017-10-23 Mike FABIAN <mfabian@redhat.com>
30080 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
30081 by adding the generic +1 and -0 as in all other locales.
30082 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
30083 day names and make it more readable by using ASCII where possible.
30085 2017-10-24 Joseph Myers <joseph@codesourcery.com>
30087 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
30088 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
30090 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30092 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
30093 WNOHANG in waitpid call.
30095 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
30097 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
30098 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
30100 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
30101 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
30102 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
30103 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
30104 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
30105 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
30106 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
30107 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
30110 2017-10-23 Michael Collison <michael.collison@arm.com>
30112 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
30113 with __builtin_sqrt.
30114 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
30115 with __builtin_sqrtf.
30116 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
30117 with __builtin_ceil.
30118 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
30119 with __builtin_ceilf.
30120 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
30121 with __builtin_floor.
30122 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
30123 with __builtin_floorf.
30124 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
30125 with __builtin_fma.
30126 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
30127 with __builtin_fmaf.
30128 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
30129 with __builtin_fmax.
30130 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
30131 with __builtin_fmaxf.
30132 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
30133 with __builtin_fmin.
30134 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
30135 with __builtin_fminf.
30136 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
30137 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
30138 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
30139 with builtin_rint and conversion to int.
30140 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
30141 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
30142 with builtin_llround.
30143 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
30144 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
30145 with builtin_rint and conversion to long int.
30146 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
30147 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
30148 with builtin_lround.
30149 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
30150 with builtin_lroundf.
30151 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
30152 statements with __builtin_nearbyint.
30153 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
30154 statements with __builtin_nearbyintf.
30155 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
30156 with __builtin_rint.
30157 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
30158 with __builtin_rintf.
30159 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
30160 with __builtin_round.
30161 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
30162 with __builtin_roundf.
30163 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
30164 with __builtin_trunc.
30165 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
30166 with __builtin_truncf.
30167 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
30168 and s_l[l]round[f].c too.
30170 2017-10-23 Alan Modra <amodra@gmail.com>
30172 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
30173 Adjust stack after restoring regs. Add missing LR cfi_restore.
30175 2017-10-23 Alan Modra <amodra@gmail.com>
30177 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
30178 Move LR save and frame setup/teardown and LR restore to
30179 immediately around memset call. Provide cfi.
30181 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30183 * sysdeps/i386/fpu/e_powf.S: Removed.
30184 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
30185 * sysdeps/i386/fpu/w_powf.c: Likewise.
30186 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
30187 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30188 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30190 (CFLAGS-e_powf-sse2.c): New.
30191 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
30192 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
30194 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30196 * sysdeps/i386/fpu/e_log2f.S: Removed.
30197 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
30198 * sysdeps/i386/fpu/w_log2f.c: Likewise.
30199 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
30200 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30201 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30203 (CFLAGS-e_log2f-sse2.c): New.
30204 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
30205 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
30207 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30209 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30211 (CFLAGS-e_powf-fma.c): New.
30212 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
30213 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
30215 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30217 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30219 (CFLAGS-e_log2f-fma.c): New.
30220 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
30221 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
30223 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30225 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30227 (CFLAGS-e_logf-fma.c): New.
30228 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
30229 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
30231 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30233 * sysdeps/i386/fpu/e_logf.S: Removed.
30234 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
30235 * sysdeps/i386/fpu/w_logf.c: Likewise.
30236 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
30237 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
30238 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30239 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30241 (CFLAGS-e_logf-sse2.c): New.
30242 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
30243 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
30245 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30247 * sysdeps/i386/fpu/e_exp2f.S: Removed.
30248 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
30249 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
30250 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30251 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30253 (CFLAGS-e_exp2f-sse2.c): New.
30254 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
30255 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
30257 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30259 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30261 (CFLAGS-e_exp2f-fma.c): New.
30262 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
30263 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
30265 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30267 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
30268 * sysdeps/i386/fpu/e_expf.S: Likewise.
30269 * sysdeps/i386/fpu/math_errf.c: Likewise.
30270 * sysdeps/i386/fpu/w_expf.c: Likewise.
30271 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
30272 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30273 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
30274 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
30275 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30276 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30277 Remove e_expf-ia32.
30278 (CFLAGS-e_expf-sse2.c): New.
30279 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
30280 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
30282 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30284 * sysdeps/x86_64/fpu/e_expf.S: Removed.
30285 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
30286 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
30287 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
30289 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
30291 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
30292 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30294 (__redirect_expf): This.
30295 (SYMBOL_NAME): Changed to expf.
30296 (__ieee754_expf): Renamed to ...
30298 (__GI___expf): This.
30299 (__ieee754_expf): Add strong_alias.
30300 (__expf_finite): Likewise.
30302 Include <sysdeps/ieee754/flt-32/e_expf.c>.
30304 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
30307 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
30310 2017-10-21 Florian Weimer <fweimer@redhat.com>
30312 * posix/Makefile (tests): Add tst-glob-tilde.
30313 (tests-special): Add tst-glob-tilde-mem.out
30314 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
30315 (tst-glob-tilde-mem.out): Add mtrace check.
30316 * posix/tst-glob-tilde.c: New file.
30318 2017-10-20 Joseph Myers <joseph@codesourcery.com>
30320 * bits/floatn-common.h: New file.
30321 * math/Makefile (headers): Add bits/floatn-common.h.
30322 * bits/floatn.h: Include <bits/floatn-common.h>.
30323 * sysdeps/ia64/bits/floatn.h: Likewise.
30324 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30325 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
30326 * sysdeps/powerpc/bits/floatn.h: Likewise.
30327 * sysdeps/x86/bits/floatn.h: Likewise.
30329 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30331 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
30332 indicates whether compiler emits an warning for alias for
30333 functions with incompatible types.
30336 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
30337 the auxiliary process is terminated by a signal before calling _exit
30340 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30343 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
30345 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
30346 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
30347 and bit_arch_XSAVEC_Usable if needed.
30348 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
30349 and bit_arch_Use_dl_runtime_resolve_opt.
30350 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
30352 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
30353 (bit_arch_Prefer_No_AVX512): Updated.
30354 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
30355 (bit_arch_XSAVEC_Usable): New.
30356 (STATE_SAVE_OFFSET): Likewise.
30357 (STATE_SAVE_MASK): Likewise.
30358 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
30359 (cpu_features): Add xsave_state_size and xsave_state_full_size.
30360 (index_arch_Use_dl_runtime_resolve_opt): Removed.
30361 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
30362 (index_arch_XSAVEC_Usable): New.
30363 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30364 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
30365 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
30367 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
30368 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
30369 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
30370 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
30371 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
30372 _dl_runtime_resolve_xsavec.
30373 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
30375 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
30376 instead of VEC_SIZE.
30377 (REGISTER_SAVE_BND0): Removed.
30378 (REGISTER_SAVE_BND1): Likewise.
30379 (REGISTER_SAVE_BND3): Likewise.
30380 (REGISTER_SAVE_RAX): Always defined to 0.
30382 (_dl_runtime_resolve_avx): Likewise.
30383 (_dl_runtime_resolve_avx_slow): Likewise.
30384 (_dl_runtime_resolve_avx_opt): Likewise.
30385 (_dl_runtime_resolve_avx512): Likewise.
30386 (_dl_runtime_resolve_avx512_opt): Likewise.
30387 (_dl_runtime_resolve_sse): Likewise.
30388 (_dl_runtime_resolve_sse_vex): Likewise.
30390 (_dl_runtime_resolve_fxsave): Likewise.
30391 (USE_XSAVE): Likewise.
30392 (_dl_runtime_resolve_xsave): Likewise.
30393 (USE_XSAVEC): Likewise.
30394 (_dl_runtime_resolve_xsavec): Likewise.
30395 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
30397 (_dl_runtime_resolve_avx512_opt): Likewise.
30398 (_dl_runtime_resolve_avx): Likewise.
30399 (_dl_runtime_resolve_avx_opt): Likewise.
30400 (_dl_runtime_resolve_sse): Likewise.
30401 (_dl_runtime_resolve_sse_vex): Likewise.
30402 (_dl_runtime_resolve_fxsave): New.
30403 (_dl_runtime_resolve_xsave): Likewise.
30404 (_dl_runtime_resolve_xsavec): Likewise.
30406 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
30410 * posix/glob.c (__glob): Fix one-byte overflow.
30412 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30414 * malloc/malloc.c (sysdep-cancel.h): Add include.
30416 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30418 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
30420 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
30422 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
30423 (tests): Remove $(objpfx)ga_test depdendency.
30424 * resolv/ga_test.c: Remove file.
30426 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30429 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
30430 * localedata/locales/kab_DZ: New file.
30432 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30434 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
30435 _dl_relocate_static_pie instead of _dl_start to compute load
30436 address in static PIE.
30438 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30440 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
30442 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30445 * localedata/SUPPORTED: Add shn_MM/UTF-8.
30446 * localedata/locales/shn_MM: New file.
30448 2017-10-20 Florian Weimer <fweimer@redhat.com>
30451 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
30452 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
30453 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
30454 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
30455 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
30456 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
30458 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
30460 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30462 2017-10-19 Joseph Myers <joseph@codesourcery.com>
30464 * sysdeps/mips/ieee754/bits/floatn.h: New file.
30467 * sysdeps/mips/bits/long-double.h: Move to ....
30468 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
30470 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
30472 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
30474 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
30475 H.J. Lu <hongjiu.lu@intel.com>
30478 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
30479 GLRO(dl_platform) to NULL.
30480 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
30481 (modules-names): Add tst-platformmod-1 and
30482 x86_64/tst-platformmod-2.
30483 (CFLAGS-tst-platform-1.c): New.
30484 (CFLAGS-tst-platformmod-1.c): Likewise.
30485 (CFLAGS-tst-platformmod-2.c): Likewise.
30486 (LDFLAGS-tst-platformmod-2.so): Likewise.
30487 ($(objpfx)tst-platform-1): Likewise.
30488 ($(objpfx)tst-platform-1.out): Likewise.
30489 (tst-platform-1-ENV): Likewise.
30490 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
30491 * sysdeps/x86_64/tst-platform-1.c: New file.
30492 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
30493 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
30495 2017-10-19 Mike FABIAN <mfabian@redhat.com>
30498 * locale/iso-639.def: Add Karbi.
30499 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
30500 * localedata/locales/mjw_IN: New file.
30502 2017-10-18 Joseph Myers <joseph@codesourcery.com>
30504 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
30505 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30506 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
30507 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
30508 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30509 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30510 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
30512 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30513 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30514 * manual/math.texi (Mathematics): Document additional architecture
30515 support for _Float128.
30516 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
30517 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
30518 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30519 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30520 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30521 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30522 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30523 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30524 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30525 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30526 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30527 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30528 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30529 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30530 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30532 2017-10-18 Renlin Li <renlin.li@arm.com>
30534 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
30535 _DYNAMIC symbol to calculate load address.
30537 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
30539 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
30540 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
30542 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
30543 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
30545 2017-10-18 Mike FABIAN <mfabian@redhat.com>
30548 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
30549 and improve readability by using more ASCII.
30550 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
30551 and improve readability by using more ASCII.
30553 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
30555 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
30556 not all targets support atomics on bool.
30558 2017-10-17 Joseph Myers <joseph@codesourcery.com>
30560 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
30561 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
30563 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30564 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
30565 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30566 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
30567 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30568 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
30570 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30572 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
30575 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30578 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
30579 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
30580 (do_check_remalloced_chunk): Fix build bug.
30581 (do_check_malloc_state): Add assert that checks arena->top.
30582 (malloc_consolidate): Remove initialization.
30583 (int_mallinfo): Remove call to malloc_consolidate.
30584 (__libc_mallopt): Clarify why malloc_consolidate is needed.
30586 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30588 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
30589 (have_fastchunks): Remove.
30590 (clear_fastchunks): Remove.
30591 (set_fastchunks): Remove.
30592 (malloc_state): Add have_fastchunks.
30593 (malloc_init_state): Use have_fastchunks.
30594 (do_check_malloc_state): Remove incorrect invariant checks.
30595 (_int_malloc): Use have_fastchunks.
30596 (_int_free): Likewise.
30597 (malloc_consolidate): Likewise.
30599 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30601 * malloc/malloc.c (tcache_put): Inline.
30602 (tcache_get): Inline.
30604 2017-10-17 Jordi Mallach <jordi@gnu.org>
30606 Aurelien Jarno <aurelien@aurel32.net>
30608 * localedata/locales/ca_ES@valencia: New file.
30609 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
30611 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
30614 * math/math.h: Let signbit use the builtin in C++ mode with gcc
30617 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30619 * scripts/build-many-glibcs.py (Context.add_all_configs):
30620 Add arm-linux-gnueabihf multiarch extra_glibcs.
30622 * sysdeps/generic/ifunc-init.h: New file.
30623 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
30625 2017-10-17 Mike FABIAN <mfabian@redhat.com>
30628 * localedata/locales/el_GR: Set n_cs_precedes to 0.
30629 * localedata/locales/el_CY: copy "el_GR" because it is identical.
30630 * stdlib/tst-strfmon_l.c: adapt test case.
30632 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30634 * sysdeps/generic/float128-abi.h: New file.
30635 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
30636 non-__prefixed symbols to ....
30637 * math/Versions: ... here. Include <float128-abi.h>.
30638 * stdlib/Versions ... and here. Include <float128-abi.h>
30640 2017-10-16 Florian Weimer <fweimer@redhat.com>
30642 * version.h (VERSION): Switch to ".9000" as the development
30645 2017-10-16 Florian Weimer <fweimer@redhat.com>
30648 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
30649 compat_symbol_reference to access non-default version.
30651 2017-10-16 Florian Weimer <fweimer@redhat.com>
30653 * malloc/Makefile (others-extras): Set to mcheck-init.o.
30655 2017-10-16 Carlos O'Donell <carlos@redhat.com>
30657 * include/shlib-compat.h (compat_symbol_reference): Update
30660 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30662 * math/Makefile (test-types): Add
30663 $(type-float128-$(float128-alias-fcts)).
30664 * math/test-float128.h (TYPE_STR): Define conditional on
30665 [FLT128_MANT_DIG == LDBL_MANT_DIG].
30666 (ULP_IDX): Likewise.
30667 (ULP_I_IDX): Likewise.
30669 * stdlib/strtold.c: Include <bits/floatn.h>
30670 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
30671 and later undefine as macro. Define as weak alias if
30673 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
30674 and later undefine as macro. Define as weak alias if
30676 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
30677 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
30678 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
30679 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30680 Define and later undefine as macro. Define as weak alias if
30682 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
30684 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
30685 Define and later undefine as macro. Define as weak alias if
30687 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30688 Define and later undefine as macro. Define as weak alias if
30691 2017-10-15 Carlos O'Donell <carlos@redhat.com>
30693 * localedata/collate-test.c (allocate_arrays): Don't use \n in
30694 record_verbose messages.
30696 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
30699 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
30700 to silence -O3 -Wall warning with GCC 7.
30702 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
30704 * Makeconfig (+link-static-before-libc): Use the first of
30705 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
30706 * gmon/Makefile (tests): Add tst-gmon-static.
30707 (tests-static): Likewise.
30708 (CFLAGS-tst-gmon-static.c): New.
30709 (CRT-tst-gmon-static): Likewise.
30710 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
30711 (tst-gmon-static-ENV): Likewise.
30712 (tests-special): Likewise.
30713 ($(objpfx)tst-gmon-static.out): Likewise.
30714 (clean-tst-gmon-static-data): Likewise.
30715 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
30716 * gmon/tst-gmon-static-gprof.sh: New file.
30717 * gmon/tst-gmon-static.c: Likewise.
30719 2017-10-13 Carlos O'Donell <carlos@redhat.com>
30722 * locale/programs/linereader.c (get_string): Don't warn on
30723 non-symbolic character.
30726 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
30730 * locale/programs/record-status.h: New file
30731 * locale/programs/locale.c: Add comment.
30732 * locale/programs/charmap-dir.c: Don't include error.h.
30733 (charmap_opendir): Use record_error.
30734 * locale/programs/charmap.c: Don't include error.h.
30735 (charmap_read): Use record_error, and record_warning.
30736 (parse_charmap): Likewise.
30737 * locale/programs/ld-address.c: Don't include error.h.
30738 (address_finish): Use record_error, and record_warning.
30739 * locale/programs/ld-collate.c: Don't include error.h.
30740 (collate_finish): Use record_error, and record_error_at_line.
30741 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
30742 (ctype_class_new): Likewise.
30743 (ctype_map_new): Likewise.
30744 (set_one_default): Likewise.
30745 (set_class_defaults): Likewise.
30746 (translit_flatten): Likewise.
30747 (allocate_arrays): Use record_error, and record_verbose.
30748 * locale/programs/ld-identification.c: Don't include error.h.
30749 (indentation_finish): Use record_error and record_warning.
30750 * locale/programs/ld-measurement.c: Don't include error.h.
30751 (measurement_finish): Use record_error.
30752 * locale/programs/ld-messages.c
30753 (message_finish): Likewise.
30754 * locale/programs/ld-monetary.c
30755 (monetary_finish): Likewise.
30756 * locale/programs/ld-name.c (name_finish): Use record_error
30757 and record_warning.
30758 * locale/programs/ld-numeric.c
30759 (numeric_finish): Use record_error.
30760 * locale/programs/ld-paper.c: Don't include error.h.
30761 (paper_finish): Use record_error.
30762 * locale/programs/ld-telephone.c: Don't include error.h.
30763 (telephone_finish): Use record_error.
30764 * locale/programs/ld-time.c (time_finish): Likewise.
30765 * locale/programs/linereader.h (lr_error): Make inline func.
30766 * locale/programs/localedef.c: Define recorded_warning_count,
30767 and recorded_error_count.
30768 (main): Use record_error. Use recorded_error_count and
30769 recorded_warning_count to issue correct error returns.
30770 (add_to_readlist): Use record_error.
30771 (find_locale): Likewise.
30772 (load_locale): Likewise.
30773 * locale/programs/localedef.h: Remove be_quiet
30774 and WITH_CUR_LOCALE.
30775 * locale/programs/locarchive.c (compare_from_file): Use
30777 * locale/programs/locfile.c (write_locale_data): Use
30779 * locale/programs/repertoire.c: Dont include error.h.
30780 (repertoire_complain): Use record_error.
30781 * localedata/tst-fmon.sh: Expect failures from localedef.
30782 * localedata/tst-locale.sh: Likewise.
30783 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
30785 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
30786 (REPORTS): Likewise.
30788 (i18n): Rename to...
30789 (i18n_ctype): ...this.
30790 (i18n-report): Rename to...
30791 (i18n_ctype-report): ...this.
30792 * localedata/locales/i18n_ctype: Regenerate.
30793 * localedata/locales/i18n: copy i18n_ctype.
30795 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30797 * stdlib/strfroml.c: Include <bits/floatn.h>.
30798 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
30799 Define before include of <stdlib.h> and undefine afterwards, then
30800 define as weak alias.
30802 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
30803 Undefine and restore default definition. Use
30804 libm_alias_ldouble_other.
30806 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
30809 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
30812 2017-10-13 James Clarke <jrtc27@jrtc27.com>
30814 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30815 Assign sym_map to be map for local symbols, as TLS relocations
30816 use sym_map to determine whether the symbol is defined and to
30817 extract the TLS information.
30818 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30819 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30821 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30824 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
30825 (math_force_eval): Add powerpc version.
30828 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
30830 (do_test): Likewise.
30831 * stdio-common/tst-printf.sh: Likewise.
30832 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
30833 ifdef clause in order to set the carry bit right. Replace r0 by
30834 0 without changing the behavior.
30836 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30838 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
30839 <libm-alias-ldouble.h>.
30840 (fabsl): Define using libm_alias_ldouble.
30841 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
30842 <libm-alias-ldouble.h>.
30843 (fabsl): Define using libm_alias_ldouble.
30845 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
30846 Remove conditional code.
30848 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
30849 Rename to __clog10_internal_l.
30850 (__clog10_internal_l): Define aliases using
30851 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
30854 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30856 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
30857 * benchtests/sincosf-inputs: New file.
30858 * benchtests/cosf-inputs: New file.
30859 * benchtests/sinf-inputs: New file.
30861 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
30863 * posix/tst-spawn.c (do_test): Wait for both children.
30865 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
30868 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
30869 tests-pie): Add tst-gmon-pie.
30870 (CFLAGS-tst-gmon-pie.c): New.
30871 (CRT-tst-gmon-pie): Likewise.
30872 (tst-gmon-pie-ENV): Likewise.
30873 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
30874 ($(objpfx)tst-gmon-pie.out): Likewise.
30875 (clean-tst-gmon-pie-data): Likewise.
30876 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
30877 * gmon/gmon.c [PIC]: Include <link.h>.
30878 [PIC] (callback): New function.
30879 (write_hist): Add an argument for load address. Subtract load
30881 (write_call_graph): Likewise.
30882 (write_gmon): Call __dl_iterate_phdr to get load address, pass
30883 it to write_hist and write_call_graph.
30884 * gmon/tst-gmon-pie.c: New file.
30886 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30888 * math/Makefile (test-types-basic): New variable.
30889 (test-types): Likewise.
30890 (libm-test-support): Use $(test-types) instead of $(types).
30891 (libm-tests-base-normal): Likewise.
30892 (libm-tests-base-finite): Likewise.
30893 (libm-tests-base-inline): Likewise.
30894 (generated): Likewise.
30895 ($(objpfx)libm-test-support-$(t).c): Likewise.
30896 (libm-tests-for-type iterator): Likewise.
30897 (libm-test-support iterator): Likewise.
30898 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
30899 (ulp_idx): Use ULP_IDX.
30900 * math/test-ldouble.h: Include <float.h>.
30901 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
30902 (ULP_IDX): New macro.
30903 (ULP_I_IDX): Likewise.
30904 * math/test-double.h (ULP_IDX): Likewise.
30905 (ULP_I_IDX): Likewise.
30906 * math/test-float.h (ULP_IDX): Likewise.
30907 (ULP_I_IDX): Likewise.
30908 * math/test-float128.h (ULP_IDX): Likewise.
30909 (ULP_I_IDX): Likewise.
30911 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30913 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
30914 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30915 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30916 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
30917 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30918 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
30919 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
30920 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30921 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30922 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30923 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
30924 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30925 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30926 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30927 (SINGLE_THREAD_BY_GLOBAL): Define.
30928 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30930 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30932 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30934 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30936 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
30937 (SINGLE_THREAD_BY_GLOBAL): Likewise.
30938 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30941 2017-10-11 Andreas Schwab <schwab@suse.de>
30943 * nis/Makefile (aux): Remove.
30944 * nscd/Makefile (aux): Add nscd_hash.
30945 (nscd-modules): Likewise.
30946 ($(objpfx)nscd): Don't depend on libnsl.
30947 * nscd/nscd_hash.c: New file.
30948 * nscd/nscd_hash.h: Likewise.
30949 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
30950 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
30951 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
30952 instead of <nis/rpcsvc/nis.h>.
30953 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
30955 2017-10-11 Florian Weimer <fweimer@redhat.com>
30958 Avoid large NSS buffers with many addresses, aliases.
30959 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
30960 using dynarrays and struct alloc_buffer.
30961 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
30962 (tst-nss-files-hosts-multi): Link with -ldl.
30963 * nss/tst-nss-files-hosts-multi.c: New file.
30965 2017-10-11 Florian Weimer <fweimer@redhat.com>
30968 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
30969 scratch_buffer. Eliminate gotos.
30971 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30973 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
30974 libm_alias_ldouble_other.
30975 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
30976 undefine and redefine.
30977 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30978 (exp10l): Do not define here.
30979 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
30980 (weak_alias): Undefine and redefine.
30981 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
30982 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30983 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
30984 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
30986 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
30987 [!__fma] (fma): Define using libm_alias_double.
30988 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
30989 [!__fmaf] (fmaf): Define using libm_alias_float.
30990 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
30991 (fmal): Define using libm_alias_ldouble.
30993 2017-10-10 Joseph Myers <joseph@codesourcery.com>
30995 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
30997 (libm_alias_double_other): Likewise.
30998 (libm_alias_double_r): Use libm_alias_double_other_r.
30999 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
31001 (libm_alias_float_other): Likewise.
31002 (libm_alias_float_r): Use libm_alias_float_other_r.
31003 * sysdeps/generic/libm-alias-float128.h
31004 (libm_alias_float128_other_r): New macro.
31005 (libm_alias_float128_other): Likewise.
31006 (libm_alias_float128_r): Use libm_alias_float128_other_r.
31007 * sysdeps/generic/libm-alias-ldouble.h
31008 (libm_alias_ldouble_other_r): New macro.
31009 (libm_alias_ldouble_other): Likewise.
31010 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
31011 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
31012 (libm_alias_double_other_r): New macro.
31013 (libm_alias_double_other): Likewise.
31014 (libm_alias_double_r): Use libm_alias_double_other_r.
31015 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
31016 (libm_alias_ldouble_other_r): New macro.
31017 (libm_alias_ldouble_other): Likewise.
31018 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
31019 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
31020 [!USE_AS_COMPAT]: Use libm_alias_double_other.
31021 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
31022 [!USE_AS_COMPAT]: Use libm_alias_float_other.
31023 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
31024 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
31025 * math/w_exp2f.c: Use libm_alias_float_other.
31026 * math/w_expf.c: Likewise.
31027 * math/w_log2f.c: Likewise.
31028 * math/w_logf.c: Likewise.
31029 * math/w_powf.c: Likewise.
31030 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
31031 [!__exp2f]: Use libm_alias_float_other.
31032 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
31033 [!__expf]: Use libm_alias_float_other.
31034 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
31035 [!__log2f]: Use libm_alias_float_other.
31036 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
31037 [!__logf]: Use libm_alias_float_other.
31038 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
31039 [!__powf]: Use libm_alias_float_other.
31041 2017-10-10 Florian Weimer <fweimer@redhat.com>
31043 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
31045 (_nss_files_gethostbyname3_r): Call it.
31047 2017-10-09 Joseph Myers <joseph@codesourcery.com>
31049 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
31050 error. Remove default definition of declare_mgen_alias.
31051 [!declare_mgen_alias_r]: Likewise.
31052 * sysdeps/generic/math-type-macros-double.h
31053 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
31054 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
31055 (declare_mgen_alias_r): Likewise.
31056 * sysdeps/generic/math-type-macros-float128.h
31057 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31058 * sysdeps/generic/math-type-macros-ldouble.h
31059 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31060 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
31062 (declare_mgen_alias_r_s): Likewise.
31063 (declare_mgen_alias_r): Likewise.
31064 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
31065 (lgamma_r): Define using libm_alias_double_r.
31066 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
31067 (lgammaf_r): Define using libm_alias_float_r.
31068 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
31069 (lgammal_r): Define using libm_alias_ldouble_r.
31070 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
31071 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31073 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31075 * lib/glob.c (__glob_pattern_type): Remove now-spurious
31076 extern declaration.
31078 2017-10-09 Joseph Myers <joseph@codesourcery.com>
31080 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
31082 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
31085 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
31086 [__cplusplus >= 201103] (__USE_ISOC99): Define.
31087 * math/Makefile (test-math-cxx11): New test.
31088 * math/test-math-cxx11.cc: New file.
31090 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
31092 * login/openpty.c (openpty): Close slave pty file descriptor on error.
31094 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
31095 call to allocate the slave pty file descriptor.
31097 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31099 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
31100 [!__fma] (fma): Define using libm_alias_double.
31101 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
31102 [!__fma] (fma): Define using libm_alias_double.
31104 * sysdeps/ieee754/float128/float128_private.h: Include
31105 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
31106 (libm_alias_ldouble_r): Undefine and redefine.
31107 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
31108 <libm-alias-ldouble.h>.
31109 (asinhl): Define using libm_alias_ldouble.
31110 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
31111 <libm-alias-ldouble.h>.
31112 (atanl): Define using libm_alias_ldouble.
31113 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
31114 <libm-alias-ldouble.h>.
31115 (cbrtl): Define using libm_alias_ldouble.
31116 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
31117 <libm-alias-ldouble.h>.
31118 (ceill): Define using libm_alias_ldouble.
31119 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
31120 <libm-alias-ldouble.h>.
31121 (copysignl): Define using libm_alias_ldouble.
31122 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
31123 <libm-alias-ldouble.h>.
31124 (cosl): Define using libm_alias_ldouble.
31125 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
31126 <libm-alias-ldouble.h>.
31127 (erfl): Define using libm_alias_ldouble.
31129 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
31130 <libm-alias-ldouble.h>.
31131 (expm1l): Define using libm_alias_ldouble.
31132 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
31133 <libm-alias-ldouble.h>.
31134 (fabsl): Define using libm_alias_ldouble.
31135 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
31136 <libm-alias-ldouble.h>.
31137 (floorl): Define using libm_alias_ldouble.
31138 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
31139 <libm-alias-ldouble.h>.
31140 (fmal): Define using libm_alias_ldouble.
31141 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
31142 <libm-alias-ldouble.h>.
31143 (frexpl): Define using libm_alias_ldouble.
31144 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
31145 libm_alias_ldouble.
31146 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
31147 <libm-alias-ldouble.h>.
31148 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
31149 libm_alias_ldouble.
31150 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
31151 <libm-alias-ldouble.h>.
31152 (getpayloadl): Define using libm_alias_ldouble.
31153 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
31154 <libm-alias-ldouble.h>.
31155 (llrintl): Define using libm_alias_ldouble.
31156 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
31157 <libm-alias-ldouble.h>.
31158 (llroundl): Define using libm_alias_ldouble.
31159 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
31160 <libm-alias-ldouble.h>.
31161 (logbl): Define using libm_alias_ldouble.
31162 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
31163 <libm-alias-ldouble.h>.
31164 (lrintl): Define using libm_alias_ldouble.
31165 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
31166 <libm-alias-ldouble.h>.
31167 (lroundl): Define using libm_alias_ldouble.
31168 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
31169 <libm-alias-ldouble.h>.
31170 (modfl): Define using libm_alias_ldouble.
31171 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
31172 <libm-alias-ldouble.h>.
31173 (nearbyintl): Define using libm_alias_ldouble.
31174 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
31175 <libm-alias-ldouble.h>.
31176 (nextafterl): Define using libm_alias_ldouble.
31177 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
31178 <libm-alias-ldouble.h>.
31179 (nextupl): Define using libm_alias_ldouble.
31180 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
31181 <libm-alias-ldouble.h>.
31182 (remquol): Define using libm_alias_ldouble.
31183 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
31184 <libm-alias-ldouble.h>.
31185 (rintl): Define using libm_alias_ldouble.
31186 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
31187 <libm-alias-ldouble.h>.
31188 (roundevenl): Define using libm_alias_ldouble.
31189 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
31190 <libm-alias-ldouble.h>.
31191 (roundl): Define using libm_alias_ldouble.
31192 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
31193 using libm_alias_ldouble.
31194 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
31195 <libm-alias-ldouble.h>.
31196 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
31197 Define using libm_alias_ldouble.
31198 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
31199 <libm-alias-ldouble.h>.
31200 (sincosl): Define using libm_alias_ldouble.
31201 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
31202 <libm-alias-ldouble.h>.
31203 (sinl): Define using libm_alias_ldouble.
31204 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
31205 <libm-alias-ldouble.h>.
31206 (tanhl): Define using libm_alias_ldouble.
31207 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
31208 <libm-alias-ldouble.h>.
31209 (tanl): Define using libm_alias_ldouble.
31210 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
31211 <libm-alias-ldouble.h>.
31212 (totalorderl): Define using libm_alias_ldouble.
31213 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
31214 <libm-alias-ldouble.h>.
31215 (totalordermagl): Define using libm_alias_ldouble.
31216 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
31217 <libm-alias-ldouble.h>.
31218 (truncl): Define using libm_alias_ldouble.
31219 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
31220 libm_alias_ldouble.
31221 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
31222 libm_alias_ldouble.
31223 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
31224 <libm-alias-ldouble.h>.
31225 (weak_alias): Do not undefine and redefine.
31226 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31227 (copysignl): Define with long_double_symbol only if [IS_IN
31229 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
31230 <libm-alias-ldouble.h>.
31231 (weak_alias): Do not undefine and redefine.
31232 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31233 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
31234 * sysdeps/ieee754/ldbl-64-128/s_modfl.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 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
31239 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
31240 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
31241 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
31242 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
31243 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
31244 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
31245 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
31246 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
31247 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
31248 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
31249 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
31250 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
31251 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
31252 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
31253 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
31254 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
31255 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
31256 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
31257 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
31258 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
31259 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
31260 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
31261 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
31262 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
31264 2017-10-06 Carlos O'Donell <carlos@redhat.com>
31267 * malloc/malloc.c (tcache_shutting_down): Use bool type.
31268 (tcache_thread_freeres): Set tcache_shutting_down before
31269 freeing the tcache.
31270 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
31271 * malloc/tst-malloc-tcache-leak.c: New file.
31273 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31275 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
31276 back to powerpc32 file.
31277 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31278 (memrchr): Add __memrchr_power8 to ifunc list.
31279 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
31280 extra bytes for unaligned inputs.
31282 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31284 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
31285 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
31286 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
31287 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
31288 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
31290 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31292 * sysdeps/arm/libm-test-ulps: Update.
31294 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
31295 <libm-alias-ldouble.h>.
31296 (asinhl): Define using libm_alias_ldouble.
31297 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
31298 <libm-alias-ldouble.h>.
31299 (cbrtl): Define using libm_alias_ldouble.
31300 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
31301 <libm-alias-ldouble.h>.
31302 (copysignl): Define using libm_alias_ldouble.
31303 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
31304 <libm-alias-ldouble.h>.
31305 (cosl): Define using libm_alias_ldouble.
31306 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
31307 <libm-alias-ldouble.h>.
31308 (erfl): Define using libm_alias_ldouble.
31310 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
31311 <libm-alias-ldouble.h>.
31312 (fmal): Define using libm_alias_ldouble.
31313 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
31314 <libm-alias-ldouble.h>.
31315 (frexpl): Define using libm_alias_ldouble.
31316 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
31317 libm_alias_ldouble.
31318 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
31319 <libm-alias-ldouble.h>.
31320 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
31321 libm_alias_ldouble.
31322 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
31323 <libm-alias-ldouble.h>.
31324 (getpayloadl): Define using libm_alias_ldouble.
31325 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
31326 <libm-alias-ldouble.h>.
31327 (llrintl): Define using libm_alias_ldouble.
31328 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
31329 <libm-alias-ldouble.h>.
31330 (llroundl): Define using libm_alias_ldouble.
31331 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
31332 <libm-alias-ldouble.h>.
31333 (lrintl): Define using libm_alias_ldouble.
31334 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
31335 <libm-alias-ldouble.h>.
31336 (lroundl): Define using libm_alias_ldouble.
31337 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
31338 <libm-alias-ldouble.h>.
31339 (modfl): Define using libm_alias_ldouble.
31340 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
31341 <libm-alias-ldouble.h>.
31342 (nextupl): Define using libm_alias_ldouble.
31343 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
31344 <libm-alias-ldouble.h>.
31345 (remquol): Define using libm_alias_ldouble.
31346 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
31347 <libm-alias-ldouble.h>.
31348 (roundevenl): Define using libm_alias_ldouble.
31349 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
31350 <libm-alias-ldouble.h>.
31351 (roundl): Define using libm_alias_ldouble.
31352 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
31353 using libm_alias_ldouble.
31354 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
31355 <libm-alias-ldouble.h>.
31356 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
31357 <libm-alias-ldouble.h>.
31358 (setpayloadsigl): Define using libm_alias_ldouble.
31359 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
31360 <libm-alias-ldouble.h>.
31361 (sincosl): Define using libm_alias_ldouble.
31362 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
31363 <libm-alias-ldouble.h>.
31364 (sinl): Define using libm_alias_ldouble.
31365 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
31366 <libm-alias-ldouble.h>.
31367 (tanhl): Define using libm_alias_ldouble.
31368 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
31369 <libm-alias-ldouble.h>.
31370 (tanl): Define using libm_alias_ldouble.
31371 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
31372 <libm-alias-ldouble.h>.
31373 (totalorderl): Define using libm_alias_ldouble.
31374 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
31375 <libm-alias-ldouble.h>.
31376 (totalordermagl): Define using libm_alias_ldouble.
31377 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
31378 libm_alias_ldouble.
31379 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
31380 libm_alias_ldouble.
31382 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
31384 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31386 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
31387 (__libc_ifunc_impl_list): Likewise.
31388 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
31389 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
31391 * benchtests/bench-memmove-walk.c: New file.
31392 * benchtests/Makefile (string-benchset): Add it.
31394 * benchtests/bench-memset-walk.c: New file.
31395 * benchtests/Makefile (string-benchset): Add it.
31397 * benchtests/bench-memcpy-walk.c: New file.
31398 * benchtests/Makefile (string-benchset): Add it.
31400 2017-10-05 Florian Weimer <fweimer@redhat.com>
31402 nscd: Eliminate compilation time dependency in the build output.
31403 * nscd/nscd_stat.c (STATDATA_VERSION)
31404 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
31405 (STATDATA_VERSION_FULL): New macro definitions.
31406 (compilation): Remove.
31407 (struct statdata): Adjust version member.
31408 (send_stats): Set version from STATDATA_VERSION_FULL.
31409 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
31411 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31413 * configure.ac (--enable-add-ons): Remove option.
31414 (machine): Do not mention add-ons in comment.
31415 (LIBC_PRECONFIGURE): Likewise.
31416 (add_ons): Remove variable and sanity checks and logic to locate
31418 (add_ons_automatic): Remove variable.
31419 (configured_add_ons): Likewise.
31420 (add_ons_sfx): Likewise.
31421 (add_ons_pfx): Likewise.
31422 (add_on_subdirs): Likewise.
31423 (sysnames_add_ons): Likewise. Remove loop over add-ons and
31424 consideration of add-ons in Implies handling.
31425 (sysdeps_add_ons): Likewise.
31426 * configure: Regenerated.
31427 * libidn/configure.ac: Remove.
31428 * libidn/configure: Likewise.
31429 * sysdeps/unix/inet/configure.ac: New file.
31430 * sysdeps/unix/inet/configure: New generated file.
31431 * sysdeps/unix/inet/Subdirs: Add libidn.
31432 * Makeconfig (sysdeps-srcdirs): Remove variable.
31433 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
31434 ($(common-objpfx)config.status): Do not depend on add-on files.
31435 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
31437 (all-subdirs): Do not include $(add-on-subdirs).
31438 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
31439 * config.make.in (add-ons): Remove variable.
31440 (add-on-subdirs): Likewise.
31441 (sysdeps-add-ons): Likewise.
31442 * manual/Makefile (add-chapters): Remove.
31443 ($(objpfx)texis): Do not depend on $(add-chapters).
31444 (nonexamples): Do not handle $(add-chapters).
31445 (examples): Do not handle $(add-ons).
31446 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
31448 * manual/install.texi (Installation): Do not mention add-ons.
31449 (--enable-add-ons): Do not document configure option.
31450 * INSTALL: Regenerated.
31451 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
31452 * manual/maint.texi (Hierarchy Conventions): Do not mention
31454 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
31456 * scripts/gen-sorted.awk: Do not handle Subdirs files from
31458 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
31459 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
31461 2017-10-05 Andreas Schwab <schwab@suse.de>
31464 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
31465 (_IO_flush_all_lockp): Always lock list_all_lock.
31466 (_IO_flush_all_linebuffered): Likewise.
31467 (_IO_unbuffer_all): Likewise.
31469 2017-10-05 Florian Weimer <fweimer@redhat.com>
31472 Do not flush stdio streams on abort.
31473 * stdlib/abort.c (fflush): Remove macro definition.
31474 (abort): Remove stages related to stdio flushing.
31476 2017-10-05 Florian Weimer <fweimer@redhat.com>
31478 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
31480 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
31482 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31484 2017-10-05 Florian Weimer <fweimer@redhat.com>
31486 * support/support_format_hostent.c (support_format_hostent): Add
31487 more error information for NETDB_INTERNAL.
31489 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31491 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
31492 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
31493 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
31494 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
31495 AC_DEFINE if multi-arch is enabled.
31496 * sysdeps/i386/configure: Regenerated.
31498 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31500 * Makeconfig (+link-static-before-libc): Use
31501 $(DEFAULT-LDFLAGS-$(@F)).
31502 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
31503 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
31504 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
31506 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31508 * elf/Makefile (tests): Add tst-main1.
31509 (modules-names): Add tst-main1mod.
31510 ($(objpfx)tst-main1): New.
31511 (CRT-tst-main1): Likewise.
31512 (LDFLAGS-tst-main1): Likewise.
31513 (LDLIBS-tst-main1): Likewise.
31514 (tst-main1mod.so-no-z-defs): Likewise.
31515 * elf/tst-main1.c: New file.
31516 * elf/tst-main1mod.c: Likewise.
31518 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31520 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
31522 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31524 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
31525 (fma): Define using libm_alias_double.
31526 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
31527 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
31529 (fmal): Do not define as compat symbol here.
31530 * sysdeps/alpha/fpu/s_fma.c: New file.
31532 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31534 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
31536 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31539 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
31541 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31543 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
31544 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31545 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
31546 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
31547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31548 Include <math_ldbl_opt.h>
31549 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31551 (compat_symbol): Undefine and redefine.
31552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
31554 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31555 (compat_symbol): Undefine and redefine.
31556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
31557 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
31558 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
31559 GLIBC_2_1 for libm.
31560 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
31561 GLIBC_2.0 copysignl symbol.
31562 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31563 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
31565 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
31567 2017-10-04 Florian Weimer <fweimer@redhat.com>
31569 * scripts/check-local-headers.sh: Ignore nspr4 header file
31570 directory in addition to nspr.
31572 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
31575 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
31576 * configure: Regenerate.
31577 * crypt/Makefile (nss-cpp-flags): New variable.
31578 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
31579 (CPPFLAGS-md5-crypt.c): Use it.
31580 * scripts/check-local-headers.sh: Ignore nspr header file
31583 2017-10-04 Andreas Schwab <schwab@suse.de>
31585 * nis/Makefile (services): Remove compat.
31586 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
31587 ($(objpfx)libnss_compat.so): Remove rule.
31588 * nis/Versions (libnss_compat): Remove.
31589 * nss/Makefile (services): Add compat.
31590 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
31591 * nss/Versions (libnss_compat): Define.
31592 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
31593 Don't include <rpc/types.h>. Replace bool_t by bool.
31594 * nss/nss_compat/compat-initgroups.c: Likewise.
31595 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
31596 instead of <rpcsrv/ypclnt.h>.
31597 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
31598 yp_get_default_domain.
31599 * nss/nss_compat/compat-pwd.c: Likewise.
31600 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
31601 yp_get_default_domain.
31602 * nss/nss_compat/nisdomain.c: New file.
31603 * nss/nss_compat/nisdomain.h: Likewise.
31605 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31608 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
31609 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31611 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31614 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
31615 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
31617 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31619 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
31620 "movl main@GOTOFF(%ebx), %eax".
31622 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31624 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
31625 allow undefined _DYNAMIC in PIE libc.a.
31626 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31629 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31631 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
31634 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31636 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
31639 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31641 * math/test-math-iscanonical.cc (error): Replace bool with int.
31643 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31645 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
31646 (modf): Define using libm_alias_double, only if [!__modf].
31647 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
31648 <libm-alias-double.h>.
31649 (modf): Define using libm_alias_double, only if [!__modf].
31650 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
31651 compat symbol here.
31652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
31653 (weak_alias): Do not undefine and redefine.
31654 (strong_alias): Likewise.
31655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
31656 (weak_alias): Likewise.
31657 (strong_alias): Likewise.
31659 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
31660 (logb): Define using libm_alias_double, only if [!__logb].
31661 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
31662 <libm-alias-double.h>.
31663 (logb): Define using libm_alias_double, only if [!__logb].
31664 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
31665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
31666 (weak_alias): Do not undefine and redefine.
31667 (strong_alias): Likewise.
31668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
31669 (weak_alias): Likewise.
31670 (strong_alias): Likewise.
31672 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31674 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
31675 Check SHARED instead PIC.
31677 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31679 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
31680 [!__fmaf] (fmaf): Define using libm_alias_float.
31682 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
31683 (frexp): Define using libm_alias_double.
31684 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
31685 <libm-alias-double.h>.
31686 (frexp): Define using libm_alias_double.
31687 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
31688 compat symbol here.
31690 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31693 * math/math.h: Trivial fix for unbalanced parentheses in comment.
31694 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
31695 (CFLAGS-test-math-iscanonical.cc): New variable.
31696 * math/test-math-iscanonical.cc: New file.
31697 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
31698 Provide a C++ implementation based on function overloading,
31699 rather than using __MATH_TG, which uses C-only builtins.
31700 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
31702 * sysdeps/powerpc/powerpc64le/Makefile
31703 (CFLAGS-test-math-iscanonical.cc): New variable.
31705 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31707 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
31708 (ceil): Define using libm_alias_double.
31709 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
31710 (floor): Define using libm_alias_double.
31711 * sysdeps/ieee754/dbl-64/s_llround.c: Include
31712 <libm-alias-double.h>.
31713 (llround): Define using libm_alias_double.
31714 * sysdeps/ieee754/dbl-64/s_lround.c: Include
31715 <libm-alias-double.h>.
31716 (lround): Define using libm_alias_double.
31717 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
31718 <libm-alias-double.h>.
31719 (nearbyint): Define using libm_alias_double.
31720 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
31721 <libm-alias-double.h>.
31722 (remquo): Define using libm_alias_double.
31723 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
31724 (rint): Define using libm_alias_double.
31725 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
31726 (round): Define using libm_alias_double.
31727 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
31728 (trunc): Define using libm_alias_double.
31729 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
31730 <libm-alias-double.h>.
31731 (ceil): Define using libm_alias_double.
31732 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
31733 <libm-alias-double.h>.
31734 (floor): Define using libm_alias_double.
31735 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
31736 <libm-alias-double.h>.
31737 (llround): Define using libm_alias_double.
31738 [_LP64] (lround): Likewise.
31739 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
31740 <libm-alias-double.h>.
31741 [!_LP64] (lround): Define using libm_alias_double.
31742 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
31743 <libm-alias-double.h>.
31744 (nearbyint): Define using libm_alias_double.
31745 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
31746 <libm-alias-double.h>.
31747 (remquo): Define using libm_alias_double.
31748 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
31749 <libm-alias-double.h>.
31750 (rint): Define using libm_alias_double.
31751 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
31752 <libm-alias-double.h>.
31753 (round): Define using libm_alias_double.
31754 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
31755 <libm-alias-double.h>.
31756 (trunc): Define using libm_alias_double.
31757 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
31758 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
31759 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
31760 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
31761 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
31762 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
31763 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
31764 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
31765 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
31767 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
31769 * math/w_remainder.c: New file.
31770 * math/w_remainderf.c: New file.
31771 * math/w_remainderl.c: New file.
31773 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31775 * elf/rtld.c (BOOTSTRAP_MAP): New.
31776 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
31777 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31779 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31781 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31784 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31786 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
31787 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
31788 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
31789 rtld_hidden_data_ver): Define to empty.
31790 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
31791 __assert_perror_fail): Likewise.
31792 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31793 (__rewinddir): Likewise.
31794 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31795 (__profile_frequency): Likewise.
31796 * include/setjmp.h (__sigsetjmp): Likewise.
31797 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
31798 __libc_sigaction): Likewise.
31799 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
31800 not set hidden attribute.
31801 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
31802 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
31803 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
31804 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
31805 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
31806 __fxstatat64): Likewise.
31807 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31808 (__uname): Likewise.
31809 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31810 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
31811 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
31812 (NO_RTLD_HIDDEN): Set.
31813 * sysdeps/mach/hurd/configure: Refresh.
31814 * config.h.in: Refresh.
31816 2017-10-02 Joseph Myers <joseph@codesourcery.com>
31818 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
31819 (atan): Define using libm_alias_double.
31820 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
31821 (tan): Define using libm_alias_double.
31822 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
31823 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
31825 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
31826 define as weak alias of __atan. Do not define any aliases if
31828 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
31829 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
31830 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
31831 as weak alias of __tan. Do not define any aliases if [__tan].
31832 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
31833 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
31834 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
31836 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
31837 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
31838 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
31839 and define as weak alias of __atan.
31840 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
31842 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
31843 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
31844 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
31845 define as weak alias of __tan.
31847 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31849 * math/w_lgamma.c: New file.
31850 * math/w_lgammaf.c: New file.
31851 * math/w_lgammal.c: New file.
31853 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31855 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
31856 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
31857 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
31858 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
31859 * sysdeps/ieee754/flt-32/w_logf.c: New file.
31860 * sysdeps/ieee754/flt-32/w_powf.c: New file.
31861 * sysdeps/i386/fpu/w_log2f.c: New file.
31862 * sysdeps/i386/fpu/w_logf.c: New file.
31863 * sysdeps/i386/fpu/w_powf.c: New file.
31864 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
31865 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
31866 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
31868 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31869 H.J. Lu <hongjiu.lu@intel.com>
31871 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
31872 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
31873 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
31874 * sysdeps/ieee754/flt-32/w_expf.c: New file.
31875 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
31877 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
31878 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
31879 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
31880 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
31881 * sysdeps/i386/fpu/w_exp2f.c: New file.
31882 * sysdeps/i386/fpu/w_expf.c: New file.
31883 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
31884 * sysdeps/x86_64/fpu/w_expf.c: New file.
31886 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31888 * math/Versions (logf): New libm symbol at GLIBC_2.27.
31891 * math/w_log2f.c: New file.
31892 * math/w_logf.c: New file.
31893 * math/w_powf.c: New file.
31894 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
31895 * math/w_logf_compat.c (__logf_compat): Likewise.
31896 * math/w_powf_compat.c (__powf_compat): Likewise.
31897 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
31898 * sysdeps/ia64/fpu/e_logf.S: Likewise.
31899 * sysdeps/ia64/fpu/e_powf.S: Likewise.
31900 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31901 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31902 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31903 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31904 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31905 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31906 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31907 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31908 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31909 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31910 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31911 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31920 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31921 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31922 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31923 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31924 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31929 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31930 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31931 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31933 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31935 * sysdeps/powerpc/powerpc64/multiarch/Makefile
31936 (sysdep_routines): Add memrchr_power8.
31937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31938 (memrchr): Add __memrchr_power8 to list of memrchr functions.
31939 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
31941 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31942 (memrchr): Add __memrchr_power8 to ifunc list.
31943 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
31945 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31948 * sysdeps/unix/sysv/linux/posix_fadvise64.c
31949 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
31951 * sysdeps/unix/sysv/linux/posix_fallocate64.c
31952 (__posix_fallocate64_l64): Likewise.
31954 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31957 * sysdeps/unix/sysv/linux/sched_setaffinity.c
31958 (__sched_setaffinity_new): Add libc_hidden_proto and
31961 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31964 * include/glob.h (__glob64): Add libc_hidden_proto.
31965 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
31968 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31971 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
31974 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31977 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
31979 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31982 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
31985 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31988 * csu/version.c (__libc_print_version): Add attribute_hidden.
31990 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31993 * include/libc-internal.h (__init_misc): Add attribute_hidden.
31995 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31998 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
32000 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32003 * nscd/nscd_helper.c (__nis_hash): New prototype.
32005 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32008 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
32009 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
32011 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
32012 * termios/tcgetattr.c (__tcgetattr): Likewise.
32014 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32017 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
32018 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
32019 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
32020 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
32021 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
32023 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32026 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
32028 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32031 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
32032 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
32034 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32037 * intl/hash-string.h (__hash_string): Add attribute_hidden.
32039 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32042 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
32043 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
32045 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32048 * include/ifreq.h: New file.
32049 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
32050 (__ifreq): Likewise.
32051 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
32052 (__ifreq): Likewise.
32054 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32057 * include/idna.h: New file.
32058 * inet/getnameinfo.c: Include <idna.h> instead of
32060 (__idna_to_unicode_lzlz): Removed.
32061 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
32063 (__idna_to_ascii_lz): Removed.
32064 (__idna_to_unicode_lzlz): Likewise.
32066 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32069 * include/plural-exp.h: New file.
32070 * intl/plural-exp.c: Include <plural-exp.h> instead of
32073 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32076 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
32077 "getsourcefilter.h".
32078 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
32079 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
32080 "getsourcefilter.h".
32081 (__get_sol): Removed.
32083 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32086 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
32088 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
32090 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32093 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
32096 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32099 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
32101 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32104 * include/search.h (__tdestroy): Add libc_hidden_proto.
32105 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
32107 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32110 * include/assert.h (__assert_fail_base): Add attribute_hidden.
32112 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32115 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
32118 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32121 * include/signal.h (__kill): Add libc_hidden_proto.
32122 (__sigblock): Likewise.
32123 (__sigprocmask): Likewise.
32124 (__sigaltstack): Likewise.
32125 * signal/kill.c (__kill): Add libc_hidden_def.
32126 * signal/sigblock.c (__sigblock): Likewise.
32127 * signal/sigprocmask.c (__sigprocmask): Likewise.
32128 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
32129 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
32130 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
32131 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
32132 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
32134 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
32136 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
32137 (__sigprocmask): Likewise.
32138 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
32140 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
32141 (__sigprocmask): Likewise.
32142 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
32145 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32148 * include/string.h (__strsep): Add libc_hidden_proto.
32149 * string/strsep.c (__strsep): Add libc_hidden_def.
32151 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32154 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
32156 (__spawni): Likewise.
32158 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32161 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
32162 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
32165 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32168 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
32170 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32173 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
32174 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
32175 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
32176 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
32177 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
32179 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
32180 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
32182 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32185 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
32186 (__dcigettext): Likewise.
32188 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32191 * include/sys/sysinfo.h (__get_nprocs_conf): Add
32193 (__get_nprocs): Likewise.
32194 (__get_phys_pages): Likewise.
32195 (__get_avphys_pages): Likewise.
32196 (__get_child_max): Add attribute_hidden.
32197 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
32198 (__get_nprocs): Likewise.
32199 (__get_phys_pages): Likewise.
32200 (__get_avphys_pages): Likewise.
32201 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
32203 (__get_nprocs): Likewise.
32204 (__get_phys_pages): Likewise.
32205 (__get_avphys_pages): Likewise.
32206 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
32208 (__get_nprocs_conf): Likewise.
32209 (__get_phys_pages): Likewise.
32210 (__get_avphys_pages): Likewise.
32212 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32215 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
32217 (__netlink_close): Likewise.
32218 (__netlink_free_handle): Likewise.
32219 (__netlink_request): Likewise.
32221 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32224 * include/rpc/rpc.h (__rpc_thread_variables): Add
32226 (__rpc_thread_svc_cleanup): Likewise.
32227 (__rpc_thread_clnt_cleanup): Likewise.
32228 (__rpc_thread_key_cleanup): Likewise.
32230 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32233 * include/sys/uio.h (__readv): Add libc_hidden_proto.
32234 (__writev): Likewise.
32235 * misc/readv.c (__readv): Add libc_hidden_def.
32236 * misc/writev.c (__writev): Likewise.
32237 * sysdeps/posix/readv.c (__readv): Likewise.
32238 * sysdeps/posix/writev.c (__writev): Likewise.
32239 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
32240 (__readv): Likewise.
32241 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
32242 (__writev): Likewise.
32244 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32247 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
32248 (__regcomp): Add libc_hidden_proto.
32249 (__regexec): Likewise.
32250 (__regfree): Likewise.
32251 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
32252 (__regfree): Likewise.
32253 * posix/regexec.c (__regexec): Likewise.
32255 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32258 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
32259 (__getutent): Likewise.
32260 (__getutid): Likewise.
32261 (__getutline): Likewise.
32262 (__pututline): Likewise.
32263 (__getutent_r): Likewise.
32264 (__getutid_r): Likewise.
32265 (__getutline_r): Likewise.
32266 (__utmpname): Add attribute_hidden.
32267 (__setutent): Likewise.
32268 (__endutent): Likewise.
32269 * login/getutent.c (__getutent): Add libc_hidden_def.
32270 * login/getutent_r.c (__getutent_r): Likewise.
32271 (__pututline): Likewise.
32272 * login/getutid.c (__getutid): Likewise.
32273 * login/getutid_r.c (__getutid_r): Likewise.
32274 * login/getutline.c (__getutline): Likewise.
32275 * login/getutline_r.c (__getutline_r): Likewise.
32276 * login/updwtmp.c (__updwtmp): Likewise.
32278 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32281 * include/dirent.h (__opendir): Always add attribute_hidden.
32282 (__fdopendir): Likewise.
32283 (__closedir): Likewise.
32284 (__readdir): Likewise.
32285 (__readdir64): Add libc_hidden_proto.
32286 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
32287 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
32288 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
32289 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
32292 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32295 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
32296 * include/netdb.h (__gethostbyaddr_r): Likewise.
32297 (__gethostbyname_r): Likewise.
32298 (__gethostbyname2_r): Likewise.
32299 (__getnetbyaddr_r): Likewise.
32300 (__getnetbyname_r): Likewise.
32301 (__getservbyname_r): Likewise.
32302 (__getservbyport_r): Likewise.
32303 (__getprotobyname_r): Likewise.
32304 (__getprotobynumber_r): Likewise.
32305 (__getnetgrent_r): Likewise.
32306 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
32307 (__getrpcbynumber_r): Likewise.
32308 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
32310 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32313 * include/stdio.h (__fcloseall): Add attribute_hidden.
32314 (__getline): Likewise.
32315 (__path_search): Likewise.
32316 (__gen_tempname): Likewise.
32317 (__libc_message): Likewise.
32318 (__flockfile): Likewise.
32319 (__funlockfile): Likewise.
32320 (__fxprintf): Likewise.
32321 (__fxprintf_nocancel): Likewise.
32323 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32326 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
32327 (__sgetsgent_r): Likewise.
32329 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32332 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
32333 (__statfs64): Likewise.
32334 (__fstatfs64): Likewise.
32335 * include/sys/statvfs.h (__statvfs64): Likewise.
32336 (__fstatvfs64): Likewise.
32337 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
32338 (__statfs_filesize_max): Likewise.
32339 (__statfs_symlinks): Likewise.
32340 (__statfs_chown_restricted): Likewise.
32342 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32345 * include/time.h (__tzstring): Add attribute_hidden.
32346 (__tzfile_read): Likewise.
32347 (__tzfile_compute): Likewise.
32348 (__tzfile_default): Likewise.
32349 (__tzset_parse_tz): Likewise.
32350 (__offtime): Likewise.
32351 (__asctime_r): Likewise.
32352 (__tzset): Likewise.
32353 (__tz_convert): Likewise.
32354 (__getdate_r): Likewise.
32355 (__getclktck): Likewise.
32357 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32360 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
32361 (__nscd_unmap): Likewise.
32362 (__nscd_cache_search): Likewise.
32363 (__nscd_get_nl_timestamp): Likewise.
32364 (__nscd_getpwnam_r): Likewise.
32365 (__nscd_getpwuid_r): Likewise.
32366 (__nscd_getgrnam_r): Likewise.
32367 (__nscd_getgrgid_r): Likewise.
32368 (__nscd_gethostbyname_r): Likewise.
32369 (__nscd_gethostbyname2_r): Likewise.
32370 (__nscd_gethostbyaddr_r): Likewise.
32371 (__nscd_getai): Likewise.
32372 (__nscd_getgrouplist): Likewise.
32373 (__nscd_getservbyname_r): Likewise.
32374 (__nscd_getservbyport_r): Likewise.
32375 (__nscd_innetgr): Likewise.
32376 (__nscd_setnetgrent): Likewise.
32378 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32381 * include/gmp.h: Declare internal functions only if _ISOMAC is
32383 (__mpn_extract_double): Add attribute_hidden.
32384 (__mpn_extract_long_double): Likewise.
32385 (__mpn_extract_float128): Likewise.
32386 (__mpn_construct_float): Likewise.
32387 (__mpn_construct_double): Likewise.
32388 (__mpn_construct_long_double): Likewise.
32389 (__mpn_construct_float128): Likewise.
32390 (mpn_add_1): Likewise.
32391 (mpn_addmul_1): Likewise.
32392 (mpn_add_n): Likewise.
32393 (mpn_cmp): Likewise.
32394 (mpn_divrem): Likewise.
32395 (mpn_lshift): Likewise.
32396 (mpn_mul): Likewise.
32397 (mpn_mul_1): Likewise.
32398 (mpn_rshift): Likewise.
32399 (mpn_sub_1): Likewise.
32400 (mpn_submul_1): Likewise.
32401 (mpn_sub_n): Likewise.
32403 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32406 * include/wchar.h (__wcsnlen): Add attribute_hidden.
32407 (__wcscat): Likewise.
32408 (__btowc): Likewise.
32409 (__wcrtomb): Likewise.
32410 (__mbsrtowcs): Likewise.
32411 (__wcsrtombs): Likewise.
32412 (__mbsnrtowcs): Likewise.
32413 (__wcsnrtombs): Likewise.
32414 (__wcsncpy): Likewise.
32415 (__wcpncpy): Likewise.
32416 (__wmemcpy): Likewise.
32417 (__wmempcpy): Likewise.
32418 (__wmemmove): Likewise.
32419 (__wcschrnul): Likewise.
32420 (__vfwscanf): Likewise.
32421 (__vswprintf): Likewise.
32422 (__fwprintf): Likewise.
32423 (__vfwprintf): Likewise.
32425 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32428 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
32429 (__getgrgid_r): Likewise.
32430 (__getgrnam_r): Likewise.
32431 * include/pwd.h (__getpwuid_r): Likewise.
32432 (__getpwnam_r): Likewise.
32433 (__fgetpwent_r): Likewise.
32434 * include/shadow.h (__getspnam_r): Likewise.
32435 (__sgetspent_r): Likewise.
32436 (__fgetspent_r): Likewise.
32438 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32441 * include/unistd.h (__access): Add attribute_hidden.
32442 (__lseek64): Likewise.
32443 (__libc_pread64): Likewise.
32444 (__pipe2): Likewise.
32445 (__sleep): Likewise.
32446 (__chdir): Likewise.
32447 (__fchdir): Likewise.
32448 (__getcwd): Likewise.
32449 (__rmdir): Likewise.
32450 (__execvpe): Likewise.
32451 (__execve): Likewise.
32452 (__setsid): Likewise.
32453 (__getuid): Likewise.
32454 (__geteuid): Likewise.
32455 (__getgid): Likewise.
32456 (__getegid): Likewise.
32457 (__getgroups): Likewise.
32458 (__group_member): Likewise.
32459 (__ttyname_r): Likewise.
32460 (__isatty): Likewise.
32461 (__readlink): Likewise.
32462 (__unlink): Likewise.
32463 (__gethostname): Likewise.
32464 (__profil): Likewise.
32465 (__getdtablesize): Likewise.
32467 (__ftruncate): Likewise.
32468 (__ftruncate64): Likewise.
32470 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32473 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
32474 * argp/argp-fs-xinl.c: Likewise.
32475 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
32476 * argp/argp-parse.c: Include <argp.h>.
32477 * argp/argp-xinl.c: Likewise.
32478 * include/argp-fmtstream.h: New file.
32479 * include/argp.h (__argp_error): Add attribute_hidden.
32480 (__argp_failure): Likewise.
32481 (__argp_input): Likewise.
32482 (__argp_state_help): Likewise.
32484 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32487 * include/wchar.h (____wcstof_l_internal): New prototype.
32488 (____wcstod_l_internal): Likewise.
32489 (____wcstold_l_internal): Likewise.
32490 (____wcstol_l_internal): Likewise.
32491 (____wcstoul_l_internal): Likewise.
32492 (____wcstoll_l_internal): Likewise.
32493 (____wcstoull_l_internal): Likewise.
32494 (____wcstof128_l_internal): Likewise.
32495 * sysdeps/ieee754/float128/wcstof128.c
32496 (____wcstof128_l_internal): Removed.
32497 * sysdeps/ieee754/float128/wcstof128_l.c
32498 (____wcstof128_l_internal): Likewise.
32499 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
32500 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
32501 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
32502 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
32503 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
32504 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
32505 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
32506 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
32507 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
32508 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
32510 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32513 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
32514 instead of <sys/statvfs.h>.
32515 (__internal_statvfs): Removed.
32516 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
32517 instead of <sys/statvfs.h>.
32518 (__internal_statvfs64): Removed.
32519 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
32520 "internal_statvfs.h" instead of <sys/statvfs.h>.
32521 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
32522 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
32523 instead of <sys/statvfs.h>.
32524 (__internal_statvfs): Removed.
32525 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
32526 instead of <sys/statvfs.h>.
32527 (__internal_statvfs64): Removed.
32529 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32532 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
32533 (__gconv_close): Likewise.
32534 (__gconv): Likewise.
32535 (__gconv_find_transform): Likewise.
32536 (__gconv_lookup_cache): Likewise.
32537 (__gconv_compare_alias_cache): Likewise.
32538 (__gconv_load_cache): Likewise.
32539 (__gconv_get_path): Likewise.
32540 (__gconv_close_transform): Likewise.
32541 (__gconv_release_cache): Likewise.
32542 (__gconv_find_shlib): Likewise.
32543 (__gconv_release_shlib): Likewise.
32544 (__gconv_get_builtin_trans): Likewise.
32545 (__gconv_compare_alias): Likewise.
32546 * include/dlfcn.h (_dlerror_run): Likewise.
32547 * include/stdio.h (__fortify_fail_abort): Likewise.
32548 * include/time.h (__tz_compute): Likewise.
32549 (__strptime_internal): Likewise.
32550 * intl/gettextP.h (_nl_find_domain): Likewise.
32551 (_nl_load_domain): Likewise.
32552 (_nl_find_msg): Likewise.
32553 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
32554 (EXTRACT_PLURAL_EXPRESSION): Likewise.
32555 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
32556 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
32557 (__gai_find_request): Likewise.
32558 (__gai_remove_request): Likewise.
32559 (__gai_notify): Likewise.
32560 (__gai_notify_only): Likewise.
32561 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32562 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32563 (_dl_non_dynamic_init): Likewise.
32564 (_dl_aux_init): Likewise.
32565 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
32566 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32568 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
32569 (__wcsmbs_clone_conv): Likewise.
32570 (__wcsmbs_named_conv): Likewise.
32572 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32575 * include/stdlib.h (__random): Add attribute_hidden.
32576 (__random_r): Likewise.
32577 (__srandom_r): Likewise.
32578 (__initstate_r): Likewise.
32579 (__setstate_r): Likewise.
32580 (__erand48_r): Likewise.
32581 (__nrand48_r): Likewise.
32582 (__jrand48_r): Likewise.
32583 (__srand48_r): Likewise.
32584 (__seed48_r): Likewise.
32585 (__lcong48_r): Likewise.
32586 (__drand48_iterate): Likewise.
32587 (__setenv): Likewise.
32588 (__unsetenv): Likewise.
32589 (__clearenv): Likewise.
32590 (__ptsname_r): Likewise.
32591 (__posix_openpt): Likewise.
32592 (__add_to_environ): Likewise.
32593 (__realpath): Add libc_hidden_proto.
32594 (__ecvt_r): Likewise.
32595 (__fcvt_r): Likewise.
32596 (__qecvt_r): Likewise.
32597 (__qfcvt_r): Likewise.
32598 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
32599 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
32601 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32604 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
32605 * include/time.h (__mktime_internal): Likewise.
32606 * libio/iolibio.h (__fopen_internal): Likewise.
32608 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
32610 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
32612 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
32613 Correct offset used to restore PIC register.
32615 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
32618 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
32619 code to load address of __getcontext_ret when generating PIC code.
32621 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
32623 * elf/Makefile (tests-static-internal): Add
32624 tst-tls1-static-non-pie.
32625 (LDFLAGS-tst-tls1-static-non-pie): New.
32626 * elf/tst-tls1-static-non-pie.c: New file.
32628 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32630 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
32631 (asinh): Define using libm_alias_double.
32632 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
32633 (cbrt): Define using libm_alias_double.
32634 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
32635 <libm-alias-double.h>.
32636 (copysign): Define using libm_alias_double.
32637 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
32638 (erf): Define using libm_alias_double.
32640 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
32641 (expm1): Define using libm_alias_double.
32642 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
32643 (fabs): Define using libm_alias_double.
32644 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
32646 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
32647 <libm-alias-double.h>.
32648 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
32650 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
32651 <libm-alias-double.h>.
32652 (getpayload): Define using libm_alias_double.
32653 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
32654 <libm-alias-double.h>.
32655 (llrint): Define using libm_alias_double.
32656 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
32657 (lrint): Define using libm_alias_double.
32658 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
32659 <libm-alias-double.h>.
32660 (nextup): Define using libm_alias_double.
32661 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
32662 <libm-alias-double.h>.
32663 (roundeven): Define using libm_alias_double.
32664 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
32666 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
32667 <libm-alias-double.h>.
32668 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
32669 using libm_alias_double.
32670 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
32671 (cos): Define using libm_alias_double.
32673 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
32674 <libm-alias-double.h>.
32675 (sincos): Define using libm_alias_double.
32676 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
32677 (tanh): Define using libm_alias_double.
32678 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
32679 <libm-alias-double.h>.
32680 (totalorder): Define using libm_alias_double.
32681 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
32682 <libm-alias-double.h>.
32683 (totalordermag): Define using libm_alias_double.
32684 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
32686 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
32688 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
32689 <libm-alias-double.h>.
32690 (getpayload): Define using libm_alias_double.
32691 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
32692 <libm-alias-double.h>.
32693 (roundeven): Define using libm_alias_double.
32694 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
32695 <libm-alias-double.h>.
32696 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
32697 <libm-alias-double.h>.
32698 (totalorder): Define using libm_alias_double.
32699 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
32700 <libm-alias-double.h>.
32701 (totalordermag): Define using libm_alias_double.
32702 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
32703 libc compat symbol here.
32704 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
32705 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
32706 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
32707 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
32708 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
32709 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
32710 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
32711 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
32712 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
32713 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
32715 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32717 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
32718 _dl_relocate_static_pie instead of _dl_start to compute load
32719 address in static PIE. Return 0 if _DYNAMIC is undefined for
32722 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32724 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
32725 _DYNAMIC is undefined for static executable.
32727 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32729 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
32731 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32733 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32735 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32737 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
32738 (__ieee754_lgamma_r): Use fabs rather than __fabs.
32739 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32740 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32741 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
32742 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
32743 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32744 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
32745 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
32746 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32747 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
32748 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
32749 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32750 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32751 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32752 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32753 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
32755 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32757 * math/bits/cmathcalls.h (cimag): Remove inline.
32758 (creal): Remove inline.
32759 (conj): Remove inline.
32761 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32763 * math/Makefile (type-float-routines): Add e_powf_log2_data.
32764 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
32765 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
32766 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
32767 (issignalingf_inline): Likewise.
32768 (POWF_LOG2_TABLE_BITS): Likewise.
32769 (POWF_LOG2_POLY_ORDER): Likewise.
32770 (POWF_SCALE_BITS): Likewise.
32771 (POWF_SCALE): Likewise.
32772 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
32773 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
32774 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
32776 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32778 * math/Makefile (type-float-routines): Add e_log2f_data.
32779 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
32780 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
32781 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
32782 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
32783 * sysdeps/i386/fpu/e_log2f_data.c: New file.
32784 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
32785 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
32787 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32789 * math/Makefile (type-float-routines): Add e_logf_data.
32790 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
32791 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
32792 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
32793 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
32794 * sysdeps/i386/fpu/e_logf_data.c: New file.
32795 * sysdeps/ia64/fpu/e_logf_data.c: New file.
32796 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
32798 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
32800 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
32801 undefined _DYNAMIC in PIE libc.a.
32802 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32805 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32807 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
32808 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
32809 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
32810 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
32811 (__signbit): Remove.
32812 (__signbitl): Remove.
32813 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
32814 (__signbit): Remove.
32815 (__signbitl): Remove.
32816 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
32817 (__signbit): Remove.
32818 (__signbitl): Remove.
32819 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
32820 (__signbit): Remove.
32821 (__signbitl): Remove.
32822 * sysdeps/tile/bits/mathinline.h: Delete file.
32823 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
32824 (__signbit): Remove.
32825 (__signbitl): Remove.
32827 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32829 * math/math.h: Improve handling of C99 isgreater macros.
32830 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
32831 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
32832 * sysdeps/powerpc/bits/mathinline.h: Likewise.
32833 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32834 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
32836 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
32838 * sysdeps/aarch64/libm-test-ulps: Update.
32840 2017-09-28 Joseph Myers <joseph@codesourcery.com>
32843 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32844 math_opt_barrier on argument when doing arithmetic on it.
32845 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32846 Likewise. Use math_force_eval not math_opt_barrier after
32848 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
32849 math_opt_barrier on argument when doing arithmetic on it.
32850 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32853 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
32855 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
32857 (__freeifaddrs): Likewise.
32859 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32861 * include/dirent.h (__dirfd): New declaration.
32862 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
32864 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
32865 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
32866 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
32867 * include/unistd.h (__revoke): New declaration.
32868 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
32870 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
32871 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
32873 * include/dirent.h (__seekdir): New declaration.
32874 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
32875 redefine as weak alias.
32876 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
32878 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
32879 and use libc_hidden_def on them.
32880 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
32882 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
32883 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
32884 instead of getifaddrs and freeifaddrs.
32886 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32889 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
32890 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
32891 (__dso_handle): Remove declaration.
32892 * dlfcn/tstatexit.c (__dso_handle): Removed.
32893 (main): Don't check __dso_handle.
32894 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
32895 (main): Don't check __dso_handle.
32896 * include/dso_handle.h: New file.
32897 * malloc/mtrace.c: Include <dso_handle.h>.
32898 (mtrace): Pass __dso_handle directly.
32899 * nptl/pthread_atfork.c: Include <dso_handle.h>.
32900 (__dso_handle): Remove declaration.
32901 (__pthread_atfork): Pass __dso_handle directly.
32902 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
32903 (__dso_handle): Removed.
32904 * posix/wordexp-test.c: Include <dso_handle.h>.
32905 (__dso_handle): Remove declaration.
32906 (__app_register_atfork): Pass __dso_handle directly.
32907 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
32908 (__dso_handle): Remove declaration.
32909 (at_quick_exit): Pass __dso_handle directly.
32910 * stdlib/atexit.c: Include <dso_handle.h>.
32911 (__dso_handle): Remove declaration.
32912 (atexit): Pass __dso_handle directly.
32913 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
32914 (__dso_handle): Removed.
32916 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32918 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
32921 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
32923 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
32924 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
32925 values to correct default value for given type.
32927 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32930 * elf/Makefile (tests): Add tst-debug1.
32931 ($(objpfx)tst-debug1): New.
32932 ($(objpfx)tst-debug1.out): Likewise.
32933 ($(objpfx)tst-debug1mod1.so): Likewise.
32934 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
32935 with p_filesz == 0.
32936 * elf/tst-debug1.c: New file.
32938 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32940 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
32941 Define using __ifunc.
32943 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32945 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
32948 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32951 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
32953 2017-09-26 Florian Weimer <fweimer@redhat.com>
32955 * resolv/Makefile (tests-internal): Fix typo in comment.
32957 2017-09-26 Florian Weimer <fweimer@redhat.com>
32959 * resolv/nss_dns/dns-host.c: Fix typo in comment.
32961 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32963 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
32964 Use an union instead of a max_align_t array for __space,
32965 so that __space is the same size on all platforms.
32966 * malloc/scratch_buffer_grow_preserve.c
32967 (__libc_scratch_buffer_grow_preserve): Likewise.
32970 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
32972 * posix/Makefile (routines): Add glob-lstat-compat and
32973 glob64-lstat-compat.
32974 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
32975 * posix/glob-lstat-compat.c: New file.
32976 * posix/glob64-lstat-compat.c: Likewise.
32977 * posix/tst-glob_lstat_compat.c: Likewise.
32978 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
32979 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
32980 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
32981 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
32983 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
32984 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32985 * posix/glob.c (glob_lstat): New function.
32986 (glob): Rename to __glob and add versioned symbol to 2.27.
32987 (glob_in_dir): Use glob_lstat.
32988 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
32989 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
32990 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
32992 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
32993 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
32994 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
32995 gl_lstat on glob call.
32996 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
32997 and glob64 symbols.
32998 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
32999 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
33000 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
33001 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
33002 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
33003 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
33004 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
33005 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
33006 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
33007 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
33008 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
33009 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
33010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
33012 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
33013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
33014 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
33015 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
33016 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
33017 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
33018 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
33019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
33020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
33021 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
33022 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
33023 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
33025 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
33027 * configure.ac (AS): Require binutils 2.25 or later.
33028 * configure: Regenerated.
33030 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33033 * stdlib/test-atexit-race-common.c (do_test): Minimize required
33036 2017-09-25 DJ Delorie <dj@redhat.com>
33039 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
33042 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
33044 * sysdeps/ieee754/dbl-64/sincos32.h
33045 [SINCCOS32_H]: Remove define.
33046 [SINCOS32_H]: Define.
33048 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33050 * math/Versions (expf): New libm symbol at GLIBC_2.27.
33052 * math/w_exp2f.c: New file.
33053 * math/w_expf.c: New file.
33054 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
33055 * math/w_expf_compat.c (__expf_compat): Likewise.
33056 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
33057 * sysdeps/ia64/fpu/e_expf.S: Likewise.
33058 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
33059 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
33060 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
33061 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
33062 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
33063 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
33064 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
33065 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
33066 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
33067 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
33068 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
33069 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
33070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
33072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
33076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
33078 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
33079 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
33080 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
33081 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
33082 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
33083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
33085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
33087 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
33088 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
33089 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
33091 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33093 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
33094 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
33095 (roundtoint, converttoint): Likewise.
33096 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
33097 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
33098 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
33099 * sysdeps/ieee754/flt-32/math_config.h: New file.
33100 * sysdeps/ieee754/flt-32/math_errf.c: New file.
33101 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
33102 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
33103 * sysdeps/i386/fpu/math_errf.c: New file.
33104 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
33105 * sysdeps/ia64/fpu/math_errf.c: New file.
33106 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
33107 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
33109 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
33111 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
33112 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
33113 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
33114 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
33115 to make sure that these symbols are defined.
33116 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
33118 (__need_NULL): Do not define.
33119 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
33121 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
33122 CMGROUP_MAX, cmsgcred): Do not define.
33123 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
33125 * bits/socket.h: Likewise.
33126 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
33127 __gettimeofday instead of gettimeofday.
33128 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
33129 instead of settimeofday.
33131 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33133 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
33134 (asinhf): Define using libm_alias_float.
33135 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
33136 (atanf): Define using libm_alias_float.
33137 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
33138 (cbrtf): Define using libm_alias_float.
33139 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
33140 (ceilf): Define using libm_alias_float.
33141 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
33142 <libm-alias-float.h>.
33143 (copysignf): Define using libm_alias_float.
33144 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
33145 (cosf): Define using libm_alias_float.
33146 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
33147 (erff): Define using libm_alias_float.
33149 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
33150 (expm1f): Define using libm_alias_float.
33151 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
33152 (fabsf): Define using libm_alias_float.
33153 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
33154 (floorf): Define using libm_alias_float.
33155 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
33156 (frexpf): Define using libm_alias_float.
33157 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
33159 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
33160 <libm-alias-float.h>.
33161 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
33163 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
33164 <libm-alias-float.h>.
33165 (getpayloadf): Define using libm_alias_float.
33166 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
33167 <libm-alias-float.h>.
33168 (llrintf): Define using libm_alias_float.
33169 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
33170 <libm-alias-float.h>.
33171 (llroundf): Define using libm_alias_float.
33172 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
33173 (logbf): Define using libm_alias_float.
33174 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
33175 (lrintf): Define using libm_alias_float.
33176 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
33177 (lroundf): Define using libm_alias_float.
33178 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
33179 (modff): Define using libm_alias_float.
33180 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
33181 <libm-alias-float.h>.
33182 (nearbyintf): Define using libm_alias_float.
33183 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
33184 <libm-alias-float.h>.
33185 (nextafterf): Define using libm_alias_float.
33186 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
33187 <libm-alias-float.h>.
33188 (nextupf): Define using libm_alias_float.
33189 * sysdeps/ieee754/flt-32/s_remquof.c: Include
33190 <libm-alias-float.h>.
33191 (remquof): Define using libm_alias_float.
33192 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
33193 (rintf): Define using libm_alias_float.
33194 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
33195 <libm-alias-float.h>.
33196 (roundevenf): Define using libm_alias_float.
33197 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
33198 (roundf): Define using libm_alias_float.
33199 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
33200 using libm_alias_float.
33201 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
33202 <libm-alias-float.h>.
33203 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
33204 Define using libm_alias_float.
33205 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
33206 <libm-alias-float.h>.
33207 (sincosf): Define using libm_alias_float.
33208 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
33209 (sinf): Define using libm_alias_float.
33210 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
33211 (tanf): Define using libm_alias_float.
33212 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
33213 (tanhf): Define using libm_alias_float.
33214 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
33215 <libm-alias-float.h>.
33216 (totalorderf): Define using libm_alias_float.
33217 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
33218 <libm-alias-float.h>.
33219 (totalordermagf): Define using libm_alias_float.
33220 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
33221 (truncf): Define using libm_alias_float.
33222 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
33224 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
33227 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33230 math/math.h: Let fpclassify use the builtin in C++ mode, even
33231 when optimazing for size.
33233 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33235 * csu/Makefile (generated): Do not add version-info.h.
33236 (before-compile): Likewise.
33237 (all-Banner-files): Remove variable.
33238 ($(objpfx)version-info.h): Remove rule.
33239 * csu/version.c (banner): Do not include "version-info.h".
33240 * libidn/Banner: Remove.
33241 * manual/contrib.texi (Simon Josefsson): New entry.
33243 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33245 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33246 Remove conditionals on LDBL_MANT_DIG.
33247 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
33248 (__ieee754_lgammal_r): Likewise.
33250 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33252 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
33254 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
33255 _Float128 and L(). Replace _Float128 with long double and L(x)
33256 with xL, throughout the file.
33257 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33258 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33259 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33260 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33262 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33264 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
33265 sysdeps/ieee754/ldbl-128ibm.
33266 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
33267 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
33268 of including it. Keep _Float128 and L() intact. These will be
33269 reviewed by a separate patch.
33270 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33271 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33272 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33273 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33275 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
33278 (__finitef128): Define to __redirect___finitef128.
33279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
33280 (__isinff128): Define to __redirect___isinff128.
33281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
33282 (__isnanf128): Define to __redirect___isnanf128.
33284 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33286 * sysdeps/powerpc/powerpc64le/Makefile
33287 (CFLAGS-tst-strtod-nan-locale.c): New variable.
33288 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
33290 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
33291 Carlos O'Donell <carlos@redhat.com>
33294 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
33295 * stdlib/test-dlclose-exit-race.c: New file.
33296 * stdlib/test-dlclose-exit-race-helper.c: New file.
33297 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
33299 2017-09-21 Joseph Myers <joseph@codesourcery.com>
33301 * crypt/Banner: Remove file.
33302 * nptl/Banner: Likewise.
33303 * resolv/Banner: Likewise.
33304 * soft-fp/Banner: Likewise.
33305 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
33306 ($(objpfx)version.d): Remove dependency on banner.h.
33307 ($(objpfx)version.os): Likewise.
33308 * nptl/version.c (banner): Do not include banner.h.
33309 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
33310 Jelinek and BIND code.
33312 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33313 Carlos O'Donell <carlos@redhat.com>
33315 * support/xdlfcn.h: New file.
33316 * support/xdlfcn.c: New file.
33317 * support/Makefile (libsupport-routines): Add xdlfcn.
33318 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
33320 2017-09-20 Joseph Myers <joseph@codesourcery.com>
33323 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33324 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
33325 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
33326 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
33327 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
33328 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
33329 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
33330 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
33332 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33333 Ricky Zhou <rickyz@google.com>
33334 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
33337 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
33339 (__new_exitfn): Fail registration when we finished at_exit processing.
33340 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33341 * stdlib/on_exit.c (__on_exit): Likewise.
33342 * stdlib/exit.c (__exit_funcs_done): New variable.
33343 (__run_exit_handlers): Use __exit_funcs_lock.
33344 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
33346 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
33347 (test-cxa_atexit-race, test-on_exit-race): New tests.
33348 * stdlib/test-atexit-race-common.c: New file.
33349 * stdlib/test-atexit-race.c: New file.
33350 * stdlib/test-at_quick_exit-race.c: New file.
33351 * stdlib/test-cxa_atexit-race.c: New file.
33352 * stdlib/test-on_exit-race.c: New file.
33354 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
33356 * benchtests/Makefile: Add exp2f and log2f benchmarks.
33357 * benchtests/exp2f-inputs: Copy of expf-inputs.
33358 * benchtests/log2f-inputs: Copy of logf-inputs.
33360 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33362 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
33363 Explicitly take address of first element of array arguments in
33364 call to INLINE_SYSCALL.
33366 2017-09-19 Andreas Schwab <schwab@suse.de>
33369 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
33371 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
33373 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
33374 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
33375 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33376 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
33377 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33378 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33379 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33380 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33381 * posix/Makefile (tests): Add tst-fexecve.
33382 * posix/tst-fexecve.c: New file.
33384 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33386 * benchtests/Makefile: Add logf benchmark.
33387 * benchtests/logf-inputs: Add reduced trace from wrf_r.
33389 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33391 * benchtests/Makefile: Add expf benchmark.
33392 * benchtests/expf-inputs: Add reduced trace from wrf_r.
33394 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33396 * csu/Makefile: Add -funwind-tables to libc-start.c.
33397 * debug/Makefile: Add -funwind-tables to backtrace.c.
33398 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
33399 * sysdeps/arm/Makefile: Likewise.
33400 * sysdeps/i386/Makefile: Likewise.
33401 * sysdeps/m68k/Makefile: Likewise.
33402 * sysdeps/mips/Makefile: Likewise.
33403 * sysdeps/nios2/Makefile: Likewise.
33404 * sysdeps/sh/Makefile: Likewise.
33405 * sysdeps/sparc/Makefile: Likewise.
33407 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33409 * benchtests/Makefile (bench-math): Add trunc and truncf.
33410 (CFLAGS-bench-trunc.c): New variable.
33411 (CFLAGS-bench-truncf.c): Likewise.
33412 * benchtests/trunc-inputs: New file.
33413 * benchtests/truncf-inputs: Likewise.
33415 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33417 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
33419 2017-09-18 Joseph Myers <joseph@codesourcery.com>
33421 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
33422 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
33424 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
33425 (exp10l): Define as weak alias.
33426 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
33427 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
33429 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
33430 (remainderl): Define as weak alias.
33432 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
33433 (fmal): Define using libm_alias_ldouble.
33434 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
33435 (acoshl): Define using libm_alias_ldouble.
33436 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
33437 (acosl): Define using libm_alias_ldouble.
33438 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
33439 (asinl): Define using libm_alias_ldouble.
33440 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
33441 (atan2l): Define using libm_alias_ldouble.
33442 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
33443 (atanhl): Define using libm_alias_ldouble.
33444 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
33445 (coshl): Define using libm_alias_ldouble.
33446 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
33447 (exp10l): Define using libm_alias_ldouble.
33448 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
33449 (exp2l): Define using libm_alias_ldouble.
33450 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
33451 (expl): Define using libm_alias_ldouble.
33452 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
33453 (fmodl): Define using libm_alias_ldouble.
33454 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
33455 (hypotl): Define using libm_alias_ldouble.
33456 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
33457 (j0l): Define using libm_alias_ldouble.
33459 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
33460 (j1l): Define using libm_alias_ldouble.
33462 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
33463 (jnl): Define using libm_alias_ldouble.
33465 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
33466 (log10l): Define using libm_alias_ldouble.
33467 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
33468 (log2l): Define using libm_alias_ldouble.
33469 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
33470 (logl): Define using libm_alias_ldouble.
33471 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
33472 (powl): Define using libm_alias_ldouble.
33473 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
33474 (remainderl): Define using libm_alias_ldouble.
33475 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
33476 (sinhl): Define using libm_alias_ldouble.
33477 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
33478 (sqrtl): Define using libm_alias_ldouble.
33479 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
33480 (tgammal): Define using libm_alias_ldouble.
33481 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
33482 (exp10l): Do not use long_double_symbol here.
33483 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
33484 [LIBM_SVID_COMPAT] (remainderl): Likewise.
33485 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
33486 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33487 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33488 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33489 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33490 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33491 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33492 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33493 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33494 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33495 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33496 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33497 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33498 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33499 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33500 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33501 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33502 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33503 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33504 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33506 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
33508 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
33509 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
33511 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
33513 * io/read.c (read): Add libc_hidden_weak.
33514 * sysdeps/mach/hurd/read.c (read): Likewise.
33515 * io/write.c (write): Likewise.
33516 * sysdeps/mach/hurd/write.c (write): Likewise.
33517 * io/pread64.c (__pread64): Likewise.
33518 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
33519 * posix/pread64.c (__pread64): Add libc_hidden_def.
33521 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
33523 * benchtests/scripts/compare_strings.py: New option -g.
33524 (draw_graph): Print a message that a graph is being generated.
33525 (process_results): Generate graph only if -g is passed.
33526 (main): Process option -g.
33528 * benchtests/scripts/compare_strings.py (process_results):
33529 Better spacing for output.
33531 * benchtests/scripts/compare_strings.py: Use argparse.
33532 * benchtests/README: Document existence of compare_strings.py.
33534 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33536 * math/s_fma.c: Include <libm-alias-double.h>.
33537 (fma): Define using libm_alias_double.
33538 * math/s_nextafter.c: Include <libm-alias-double.h>.
33539 (nextafter): Define using libm_alias_double.
33540 * math/w_acos_compat.c: Include <libm-alias-double.h>.
33541 (acos): Define using libm_alias_double.
33542 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
33543 (aocsh): Define using libm_alias_double.
33544 * math/w_asin_compat.c: Include <libm-alias-double.h>.
33545 (asin): Define using libm_alias_double.
33546 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
33547 (atan2): Define using libm_alias_double.
33548 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
33549 (atanh): Define using libm_alias_double.
33550 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
33551 (cosh): Define using libm_alias_double.
33552 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
33553 (exp10): Define using libm_alias_double.
33554 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
33555 (exp2): Define using libm_alias_double.
33556 * math/w_exp_compat.c: Include <libm-alias-double.h>.
33557 (exp): Define using libm_alias_double.
33558 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
33559 (fmod): Define using libm_alias_double.
33560 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
33561 (hypot): Define using libm_alias_double.
33562 * math/w_j0_compat.c: Include <libm-alias-double.h>.
33563 (j0): Define using libm_alias_double.
33565 * math/w_j1_compat.c: Include <libm-alias-double.h>.
33566 (j1): Define using libm_alias_double.
33568 * math/w_jn_compat.c: Include <libm-alias-double.h>.
33569 (jn): Define using libm_alias_double.
33571 * math/w_log10_compat.c: Include <libm-alias-double.h>.
33572 (log10): Define using libm_alias_double.
33573 * math/w_log2_compat.c: Include <libm-alias-double.h>.
33574 (log2): Define using libm_alias_double.
33575 * math/w_log_compat.c: Include <libm-alias-double.h>.
33576 (log): Define using libm_alias_double.
33577 * math/w_pow_compat.c: Include <libm-alias-double.h>.
33578 (pow): Define using libm_alias_double.
33579 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
33580 (remainder): Define using libm_alias_double.
33581 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
33582 (sinh): Define using libm_alias_double.
33583 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
33584 (sqrt): Define using libm_alias_double.
33585 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
33586 (tgamma): Define using libm_alias_double.
33587 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
33588 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
33589 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
33590 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
33591 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
33592 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
33593 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
33594 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
33595 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
33596 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
33597 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
33598 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
33599 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
33600 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
33601 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
33602 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
33603 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
33604 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
33605 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
33606 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
33607 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
33608 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
33609 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
33610 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
33611 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
33613 * math/e_acoshl.c: Remove.
33614 * math/e_acosl.c: Likewise.
33615 * math/e_asinl.c: Likewise.
33616 * math/e_atan2l.c: Likewise.
33617 * math/e_atanhl.c: Likewise.
33618 * math/e_coshl.c: Likewise.
33619 * math/e_expl.c: Likewise.
33620 * math/e_fmodl.c: Likewise.
33621 * math/e_gammal_r.c: Likewise.
33622 * math/e_hypotl.c: Likewise.
33623 * math/e_j0l.c: Likewise.
33624 * math/e_j1l.c: Likewise.
33625 * math/e_jnl.c: Likewise.
33626 * math/e_lgammal_r.c: Likewise.
33627 * math/e_log10l.c: Likewise.
33628 * math/e_log2l.c: Likewise.
33629 * math/e_logl.c: Likewise.
33630 * math/e_powl.c: Likewise.
33631 * math/e_rem_pio2l.c: Likewise.
33632 * math/e_sinhl.c: Likewise.
33633 * math/e_sqrtf128.c: Likewise.
33634 * math/e_sqrtl.c: Likewise.
33635 * math/k_cosl.c: Likewise.
33636 * math/k_sinl.c: Likewise.
33637 * math/k_tanl.c: Likewise.
33638 * math/s_asinhl.c: Likewise.
33639 * math/s_atanl.c: Likewise.
33640 * math/s_cbrtl.c: Likewise.
33641 * math/s_erfl.c: Likewise.
33642 * math/s_expm1l.c: Likewise.
33643 * math/s_log1pl.c: Likewise.
33644 * math/s_tanhl.c: Likewise.
33646 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33649 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
33650 [$(subdir) = math] (sysdep_calls): New variable. Has the
33651 previous contents of sysdep_routines, but re-sorted..
33652 [$(subdir) = math] (sysdep_routines): Re-use the contents from
33654 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
33655 defined in sysdep_calls and replace by the respective m_* names.
33656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
33657 (compat_symbol): Undefine to avoid duplicated compat symbols in
33660 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33662 * math/s_fmaf.c: Include <libm-alias-float.h>.
33663 (fmaf): Define using libm_alias_float.
33664 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
33665 (acosf): Define using libm_alias_float.
33666 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
33667 (acoshf): Define using libm_alias_float.
33668 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
33669 (asinf): Define using libm_alias_float.
33670 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
33671 (atan2f): Define using libm_alias_float.
33672 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
33673 (atanhf): Define using libm_alias_float.
33674 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
33675 (coshf): Define using libm_alias_float.
33676 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
33677 (exp10f): Define using libm_alias_float.
33678 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
33679 (fmodf): Define using libm_alias_float.
33680 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
33681 (hypotf): Define using libm_alias_float.
33682 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
33683 (j0f): Define using libm_alias_float.
33685 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
33686 (j1f): Define using libm_alias_float.
33688 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
33689 (jnf): Define using libm_alias_float.
33691 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
33692 (log10f): Define using libm_alias_float.
33693 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
33694 (log2f): Define using libm_alias_float.
33695 * math/w_logf_compat.c: Include <libm-alias-float.h>.
33696 (logf): Define using libm_alias_float.
33697 * math/w_powf_compat.c: Include <libm-alias-float.h>.
33698 (powf): Define using libm_alias_float.
33699 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
33700 (remainderf): Define using libm_alias_float.
33701 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
33702 (sinhf): Define using libm_alias_float.
33703 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
33704 (sqrtf): Define using libm_alias_float.
33705 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
33706 (tgammaf): Define using libm_alias_float.
33708 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33710 * include/math.h (roundeven): Change hidden_proto call to
33712 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
33714 [NO_LONG_DOUBLE] (__j0l): New strong alias.
33715 (y0): Rename to __y0 and define as weak alias.
33716 [NO_LONG_DOUBLE] (__y0l): New strong alias.
33717 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
33719 (y0f): Rename to __y0f and define as weak alias.
33720 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
33722 [NO_LONG_DOUBLE] (__j1l): New strong alias.
33723 (y1): Rename to __y1 and define as weak alias.
33724 [NO_LONG_DOUBLE] (__y1l): New strong alias.
33725 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
33727 (y1f): Rename to __y1f and define as weak alias.
33728 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
33730 [NO_LONG_DOUBLE] (__jnl): New strong alias.
33731 (yn): Rename to __yn and define as weak alias.
33732 [NO_LONG_DOUBLE] (__ynl): New strong alias.
33733 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
33735 (ynf): Rename to __ynf and define as weak alias.
33736 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
33737 (fromfp): Define as weak alias.
33738 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
33739 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
33740 (fromfpx): Define as weak alias.
33741 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
33742 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
33743 __getpayload and define as weak alias.
33744 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33745 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
33746 __roundeven and define as weak alias.
33747 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33748 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
33750 (setpayload): Define as weak alias.
33751 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
33752 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
33754 (setpayloadsig): Define as weak alias.
33755 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
33756 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
33757 __totalorder and define as weak alias.
33758 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33759 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
33760 to __totalordermag and define as weak alias.
33761 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33762 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
33763 (ufromfp): Define as weak alias.
33764 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
33765 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
33767 (ufromfpx): Define as weak alias.
33768 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
33769 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
33770 Rename to __getpayload and define as weak alias.
33771 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33772 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
33773 Rename to __roundeven and define as weak alias.
33774 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33775 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
33776 Rename to __totalorder and define as weak alias.
33777 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33778 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
33779 (totalordermag): Rename to __totalordermag and define as weak
33781 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33782 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
33784 (__roundevenl): Likewise.
33785 (__totalorderl): Likewise.
33786 (__totalordermagl): Likewise
33787 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
33789 (fromfpf128): Define as weak alias.
33790 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
33792 (fromfpxf128): Define as weak alias.
33793 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
33795 (setpayloadf128): Define as weak alias.
33796 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
33797 __setpayloadsigf128.
33798 (setpayloadsigf128): Define as weak alias.
33799 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
33801 (ufromfpf128): Define as weak alias.
33802 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
33804 (ufromfpxf128): Define as weak alias.
33805 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
33806 (fromfpf): Define as weak alias.
33807 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
33809 (fromfpxf): Define as weak alias.
33810 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
33811 __getpayloadf and define as weak alias.
33812 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
33813 __roundevenf and define as weak alias.
33814 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
33816 (setpayloadf): Define as weak alias.
33817 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
33819 (setpayloadsigf): Define as weak alias.
33820 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
33821 __totalorderf and define as weak alias.
33822 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
33823 Rename to __totalordermagf and define as weak alias.
33824 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
33826 (ufromfpf): Define as weak alias.
33827 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
33829 (ufromfpxf): Define as weak alias.
33830 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
33832 (fromfpl): Define as weak alias.
33833 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
33835 (fromfpxl): Define as weak alias.
33836 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
33837 to __getpayloadl and define as weak alias.
33838 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
33839 __roundevenl and define as weak alias.
33840 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
33842 (setpayloadl): Define as weak alias.
33843 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
33845 (setpayloadsigl): Define as weak alias.
33846 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
33847 to __totalorderl and define as weak alias.
33848 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
33849 Rename to __totalordermagl and define as weak alias.
33850 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
33852 (ufromfpl): Define as weak alias.
33853 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
33855 (ufromfpxl): Define as weak alias.
33856 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
33858 (fromfpl): Define as weak alias.
33859 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
33861 (fromfpxl): Define as weak alias.
33862 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
33863 Rename to __getpayloadl and define as weak alias.
33864 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
33865 to __roundevenl and define as weak alias. Call __roundeven
33866 instead of roundeven.
33867 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
33869 (setpayloadl): Define as weak alias.
33870 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
33872 (setpayloadsigl): Define as weak alias.
33873 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
33874 Rename to __totalorderl and define as weak alias.
33875 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
33876 Rename to __totalordermagl and define as weak alias.
33877 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
33879 (ufromfpl): Define as weak alias.
33880 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
33882 (ufromfpxl): Define as weak alias.
33883 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
33885 (fromfpl): Define as weak alias.
33886 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
33888 (fromfpxl): Define as weak alias.
33889 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
33890 __getpayloadl and define as weak alias.
33891 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
33892 __roundevenl and define as weak alias.
33893 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
33895 (setpayloadl): Define as weak alias.
33896 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
33898 (setpayloadsigl): Define as weak alias.
33899 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
33900 __totalorderl and define as weak alias.
33901 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
33902 Rename to __totalordermagl and define as weak alias.
33903 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
33905 (ufromfpl): Define as weak alias.
33906 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
33908 (ufromfpxl): Define as weak alias.
33910 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
33912 * benchtests/bench-string.h (realloc_bufs): New function.
33913 (test_init): Call it.
33914 * benchtests/bench-memset-large.c (do_test): Likewise.
33915 * benchtests/bench-memset.c (do_test): Likewise.
33917 * benchtests/bench-memset-large.c: Print output in JSON
33919 * benchtests/bench-memset.c: Likewise.
33921 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33924 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
33925 * iconvdata/Makefile: Add IBM858.
33926 * iconvdata/gconv-modules: Likewise.
33927 * iconvdata/tst-tables.sh: Likewise.
33928 * iconvdata/ibm858.c: New file.
33929 * localedata/charmaps/IBM858: Likewise.
33931 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
33934 * locales/niu_NZ (LC_TIME): copy "niu_NU".
33935 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
33937 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33940 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
33941 and add tel_int_fmt.
33943 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33945 * sysdeps/generic/libm-alias-float128.h: New file.
33946 * sysdeps/generic/math-type-macros-float128.h: Include
33947 <libm-alias-float128.h>.
33948 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33950 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33952 * sysdeps/generic/libm-alias-ldouble.h: New file.
33953 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
33954 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
33955 * sysdeps/generic/math-type-macros-ldouble.h: Include
33956 <libm-alias-ldouble.h>.
33957 [!declare_mgen_alias] (declare_mgen_alias): Define to use
33958 libm_alias_ldouble.
33960 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
33962 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
33963 * math/w_exp_compat.c: ... here.
33964 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
33965 * math/w_expf_compat.c: ... here.
33966 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
33967 * math/w_expl_compat.c: ... here.
33968 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
33969 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
33970 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
33971 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33973 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33975 * math/w_scalbln_template.c (strong_alias): Do not undefine and
33977 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
33979 (ldexpl): Only define as compat symbol for libc, not libm.
33980 (scalbnl): Define as compat symbol for libc here.
33981 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
33982 define for [IS_IN (libc)].
33983 (__ldexpl_2): Remove alias.
33984 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
33985 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
33986 name in long_double_symbol call.
33987 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
33988 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33989 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33990 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
33991 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
33993 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
33994 Define as compat symbol.
33996 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33998 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
33999 * sysdeps/unix/sysv/linux/alpha/Makefile
34000 [$(subdir) = csu] (sysdep_routines): Remove rule.
34002 2017-09-13 Joseph Myers <joseph@codesourcery.com>
34004 * sysdeps/generic/libm-alias-double.h: New file.
34005 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
34006 * sysdeps/generic/math-type-macros-double.h: Include
34007 <libm-alias-double.h>.
34008 [declare_mgen_alias] (declare_mgen_alias): Define to use
34010 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
34011 (M_LIBM_NEED_COMPAT): Remove macro.
34012 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
34013 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
34014 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
34016 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34017 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34018 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34019 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34020 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34021 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34022 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34023 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34024 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34025 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34026 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34027 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34028 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34029 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34030 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34031 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34032 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34033 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34034 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34035 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34036 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34037 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34038 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34039 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34040 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34041 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34042 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34043 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
34044 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
34046 (declare_mgen_alias): New macro.
34047 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
34048 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
34049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
34050 (M_LIBM_NEED_COMPAT): Remove macro.
34051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
34052 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
34053 <first-versions.h>.
34054 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
34055 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
34057 2017-09-12 Joseph Myers <joseph@codesourcery.com>
34059 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
34060 (declare_mgen_alias_2): Remove.
34061 * sysdeps/generic/math-type-macros-double.h
34062 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
34064 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
34066 (ldexp): Define with declare_mgen_alias.
34067 (scalbn): Likewise.
34069 2017-09-12 Steve Ellcey <sellcey@cavium.com>
34071 * grp/initgroups.c: Include config.h.
34072 (DEFAULT_CONFIG): New macro.
34073 (internal_getgrouplist): Use DEFAULT_CONFIG.
34074 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34075 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
34076 (DEFAULT_DEFCONFIG): New macro.
34077 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
34078 * nss/grp-lookup.c: Include config.h
34079 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
34080 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
34081 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
34082 * manual/nss.texi: Update default values section.
34084 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
34087 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
34089 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
34090 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34091 Handle MathVec_Prefer_No_AVX512.
34092 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
34093 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
34096 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
34098 * posix/sched_primax.c (__sched_get_priority_max): Add
34100 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
34101 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34102 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34103 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
34104 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
34105 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
34106 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
34107 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
34110 2017-09-11 Joseph Myers <joseph@codesourcery.com>
34112 * sysdeps/generic/libm-alias-float.h: New file.
34113 * sysdeps/generic/math-type-macros-float.h: Include
34114 <libm-alias-float.h>.
34115 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34117 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
34120 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
34121 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
34122 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
34123 (HWCAP_IMPORTANT): Likewise.
34124 (HWCAP_X86_64): New enum.
34125 (HWCAP_X86_AVX512_1): Updated.
34126 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
34127 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
34128 (modules-names): Add x86_64/tst-x86_64mod-1.
34129 (LDFLAGS-tst-x86_64mod-1.so): New.
34130 ($(objpfx)tst-x86_64-1): Likewise.
34131 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
34132 (tst-x86_64-1-clean): Likewise.
34133 * sysdeps/x86_64/tst-x86_64-1.c: New file.
34134 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
34136 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34138 * po/sv.po: Update translations.
34139 * po/fr.po: Likewise.
34141 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34143 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
34145 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
34147 * elf/rtld-Rules: Fix $(error) use.
34149 2017-09-09 Mike FABIAN <mfabian@redhat.com>
34152 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
34153 * locale/iso-639.def: Change “Bengali” to “Bangla”.
34154 * localedata/locales/bn_BD: “Bengali” was still used in some
34155 comments. Change it to “Bangla”.
34157 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
34159 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
34161 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34163 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
34164 thunderx2t99p1 to list of cpu names.
34165 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34166 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
34168 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34170 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
34171 Use strcmp instead of tunable_is_name.
34173 2017-09-08 Joseph Myers <joseph@codesourcery.com>
34175 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34176 (F_GET_RW_HINT): New macro.
34177 [__USE_GNU] (F_SET_RW_HINT): Likewise.
34178 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
34179 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
34180 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
34181 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
34182 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
34183 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
34184 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
34185 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
34187 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34188 (F_ADD_SEALS): New macro.
34189 [__USE_GNU] (F_GET_SEALS): Likewise.
34190 [__USE_GNU] (F_SEAL_SEAL): Likewise.
34191 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
34192 [__USE_GNU] (F_SEAL_GROW): Likewise.
34193 [__USE_GNU] (F_SEAL_WRITE): Likewise.
34195 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34197 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
34198 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
34199 * posix/glob_internal.h (__glob_pattern_type):
34200 * posix/glob.c (glob):
34201 * posix/glob_pattern_p.c (__glob_pattern_p):
34204 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
34205 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34206 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
34207 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
34208 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
34210 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
34211 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
34212 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34213 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34214 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34215 * sysdeps/wordsize-64/glob.c: Likewise.
34216 * sysdeps/wordsize-64/glob64.c: Likewise.
34217 * sysdeps/wordsize-64/globfree.c: Likewise.
34218 * sysdeps/wordsize-64/globfree64.c: Likewise.
34219 * sysdeps/unix/sysv/linux/glob.c: New file.
34220 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
34221 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
34222 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
34223 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
34224 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
34225 adds !GLOB_NO_OLD_VERSION as an extra condition.
34226 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
34227 using relative path instead of absolute one.
34228 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
34229 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34230 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34231 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
34232 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
34233 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
34236 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
34237 (glob): Use the same scratch buffer for both getlogin_r and
34238 getpwnam_r. Don’t require preallocation of the login name. This
34239 simplifies storage allocation, and corrects the handling of
34243 * posix/glob.c (glob): Port recent patches to platforms
34244 lacking getpwnam_r.
34245 (glob): Fix longstanding misuse of errno after getpwnam_r, which
34246 returns an error number rather than setting errno.
34248 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
34249 instead of GCC extension.
34250 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
34251 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
34252 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
34256 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
34257 * posix/bug-glob1.c: Remove file.
34258 * posix/tst-glob_symlinks.c: New file.
34259 * posix/glob.c (__lstat64): New macro.
34260 (is_dir): New function.
34261 (glob, glob_in_dir): Match symlinks even if they are dangling.
34262 (link_stat, link_exists_p): Remove. All uses removed.
34266 * posix/glob.c (struct readdir_result): Remove skip_entry member.
34267 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
34272 * posix/Makefile (routines): Add globfree, globfree64, and
34274 * posix/flexmember.h: New file.
34275 * posix/glob_internal.h: Likewise.
34276 * posix/glob_pattern_p.c: Likewise.
34277 * posix/globfree.c: Likewise.
34278 * posix/globfree64.c: Likewise.
34279 * sysdeps/gnu/globfree64.c: Likewise.
34280 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
34281 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34282 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
34283 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34284 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34285 * sysdeps/wordsize-64/globfree.c: Likewise.
34286 * sysdeps/wordsize-64/globfree64.c: Likewise.
34287 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
34288 [NDEBUG): Remove comments.
34289 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
34290 (dirent_type): New type. Use uint_fast8_t not
34291 uint8_t, as C99 does not require uint8_t.
34292 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
34293 (struct readdir_result): Use dirent_type. Do not define skip_entry
34294 unless it is needed; this saves a byte on platforms lacking d_ino.
34295 (readdir_result_type, readdir_result_skip_entry):
34296 New functions, replacing ...
34297 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
34298 these functions, which were removed. This makes the callers
34299 easier to read. All callers changed.
34300 (D_INO_TO_RESULT): Now empty if there is no d_ino.
34301 (size_add_wrapv, glob_use_alloca): New static functions.
34302 (glob, glob_in_dir): Check for size_t overflow in several places,
34303 and fix some size_t checks that were not quite right.
34304 Remove old code using SHELL since Bash no longer
34306 (glob, prefix_array): Separate MS code better.
34307 (glob_in_dir): Remove old Amiga and VMS code.
34308 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
34310 (glob_in_dir): Do not rely on undefined behavior in accessing
34311 struct members beyond their bounds. Use a flexible array member
34313 (link_stat): Rename from link_exists2_p and return -1/0 instead of
34314 0/1. Caller changed.
34315 (glob): Fix memory leaks.
34316 * posix/glob64 (globfree64): Move to separate file.
34317 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
34318 (globfree64): Remove hidden alias.
34319 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
34321 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
34323 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
34325 Move compat code to separate file.
34326 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
34329 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
34331 * resolv/tst-resolv-qtypes.c (domain): Changed to
34332 "const char domain[] =".
34334 2017-09-07 Joseph Myers <joseph@codesourcery.com>
34336 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
34339 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
34340 (TCP_MD5SIG_EXT): Likewise.
34341 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
34342 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
34343 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
34345 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
34347 2017-09-07 Mike FABIAN <mfabian@redhat.com>
34349 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
34351 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
34354 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
34356 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
34358 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
34359 before assuming that the file is empty. Avoid testing buffer content
34362 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34365 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34367 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
34369 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
34371 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
34373 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34375 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
34377 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
34380 2017-09-06 Florian Weimer <fweimer@redhat.com>
34382 * malloc/dynarray_emplace_enlarge.c
34383 (__libc_dynarray_emplace_enlarge): Add missing else.
34385 2017-09-06 Florian Weimer <fweimer@redhat.com>
34388 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
34389 case of failure to obtain the global conf object.
34391 2017-09-06 Florian Weimer <fweimer@redhat.com>
34394 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
34395 dynarray allocation failure.
34397 2017-09-06 Florian Weimer <fweimer@redhat.com>
34399 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
34400 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
34401 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
34403 (response): Call them. Add 'p', '6' flag processing.
34404 (test_reverse): New function.
34405 (test_get2_any): Call it.
34406 (test_no_inet6): Add 'p' test.
34407 (test_inet6): Likewise.
34409 2017-09-06 Florian Weimer <fweimer@redhat.com>
34411 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
34412 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
34414 (test_gai): Adjust query names. Add additional tests.
34415 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
34416 test_get2. Adjust query names. Add additional tests.
34417 (test_no_inet6): New function, extracted from threadfunc.
34418 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
34419 Add additional tests.
34421 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34424 * localedata/unicode-gen/utf8_gen.py: Set the width for
34425 characters with Prepended_Concatenation_Mark property to 1
34426 * localedata/charmaps/UTF-8: Updated using the improved script.
34428 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34431 * localedata/unicode-gen/utf8_gen.py: Improve the script to
34432 use the range notation for all ranges of neighbouring characters
34433 with the same width.
34435 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34437 * sysdeps/generic/math-type-macros-double.h: Include
34438 <math-svid-compat.h>.
34439 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34440 * sysdeps/generic/math-type-macros-float.h: Include
34441 <math-svid-compat.h>.
34442 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34443 * sysdeps/generic/math-type-macros-ldouble.h: Include
34444 <math-svid-compat.h>.
34445 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34446 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
34448 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
34449 * math/w_acosf_compat.c: Likewise.
34450 * math/w_acosh_compat.c: Likewise.
34451 * math/w_acoshf_compat.c: Likewise.
34452 * math/w_acoshl_compat.c: Likewise.
34453 * math/w_acosl_compat.c: Likewise.
34454 * math/w_asin_compat.c: Likewise.
34455 * math/w_asinf_compat.c: Likewise.
34456 * math/w_asinl_compat.c: Likewise.
34457 * math/w_atan2_compat.c: Likewise.
34458 * math/w_atan2f_compat.c: Likewise.
34459 * math/w_atan2l_compat.c: Likewise.
34460 * math/w_atanh_compat.c: Likewise.
34461 * math/w_atanhf_compat.c: Likewise.
34462 * math/w_atanhl_compat.c: Likewise.
34463 * math/w_cosh_compat.c: Likewise.
34464 * math/w_coshf_compat.c: Likewise.
34465 * math/w_coshl_compat.c: Likewise.
34466 * math/w_exp10_compat.c: Likewise.
34467 * math/w_exp10f_compat.c: Likewise.
34468 * math/w_exp10l_compat.c: Likewise.
34469 * math/w_exp2_compat.c: Likewise.
34470 * math/w_exp2f_compat.c: Likewise.
34471 * math/w_exp2l_compat.c: Likewise.
34472 * math/w_fmod_compat.c: Likewise.
34473 * math/w_fmodf_compat.c: Likewise.
34474 * math/w_fmodl_compat.c: Likewise.
34475 * math/w_hypot_compat.c: Likewise.
34476 * math/w_hypotf_compat.c: Likewise.
34477 * math/w_hypotl_compat.c: Likewise.
34478 * math/w_j0_compat.c: Likewise.
34479 * math/w_j0f_compat.c: Likewise.
34480 * math/w_j0l_compat.c: Likewise.
34481 * math/w_j1_compat.c: Likewise.
34482 * math/w_j1f_compat.c: Likewise.
34483 * math/w_j1l_compat.c: Likewise.
34484 * math/w_jn_compat.c: Likewise.
34485 * math/w_jnf_compat.c: Likewise.
34486 * math/w_jnl_compat.c: Likewise.
34487 * math/w_lgamma_r_compat.c: Likewise.
34488 * math/w_lgammaf_r_compat.c: Likewise.
34489 * math/w_lgammal_r_compat.c: Likewise.
34490 * math/w_log10_compat.c: Likewise.
34491 * math/w_log10f_compat.c: Likewise.
34492 * math/w_log10l_compat.c: Likewise.
34493 * math/w_log2_compat.c: Likewise.
34494 * math/w_log2f_compat.c: Likewise.
34495 * math/w_log2l_compat.c: Likewise.
34496 * math/w_log_compat.c: Likewise.
34497 * math/w_logf_compat.c: Likewise.
34498 * math/w_logl_compat.c: Likewise.
34499 * math/w_pow_compat.c: Likewise.
34500 * math/w_powf_compat.c: Likewise.
34501 * math/w_powl_compat.c: Likewise.
34502 * math/w_remainder_compat.c: Likewise.
34503 * math/w_remainderf_compat.c: Likewise.
34504 * math/w_remainderl_compat.c: Likewise.
34505 * math/w_sinh_compat.c: Likewise.
34506 * math/w_sinhf_compat.c: Likewise.
34507 * math/w_sinhl_compat.c: Likewise.
34508 * math/w_sqrt_compat.c: Likewise.
34509 * math/w_sqrtf_compat.c: Likewise.
34510 * math/w_sqrtl_compat.c: Likewise.
34511 * math/w_tgamma_compat.c: Likewise.
34512 * math/w_tgammaf_compat.c: Likewise.
34513 * math/w_tgammal_compat.c: Likewise.
34514 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
34515 [LIBM_SVID_COMPAT].
34516 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
34517 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
34518 [LIBM_SVID_COMPAT].
34519 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
34520 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
34521 [LIBM_SVID_COMPAT].
34522 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
34523 * sysdeps/i386/fpu/w_sqrt.c: New file.
34524 * sysdeps/ia64/fpu/w_acos.c: Likewise.
34525 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
34526 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
34527 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
34528 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
34529 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
34530 * sysdeps/ia64/fpu/w_asin.c: Likewise.
34531 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
34532 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
34533 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
34534 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
34535 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
34536 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
34537 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
34538 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
34539 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
34540 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
34541 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
34542 * sysdeps/ia64/fpu/w_exp.c: Likewise.
34543 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
34544 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
34545 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
34546 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
34547 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
34548 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
34549 * sysdeps/ia64/fpu/w_expf.c: Likewise.
34550 * sysdeps/ia64/fpu/w_expl.c: Likewise.
34551 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
34552 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
34553 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
34554 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
34555 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
34556 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
34557 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
34558 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
34559 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
34560 * sysdeps/ia64/fpu/w_log.c: Likewise.
34561 * sysdeps/ia64/fpu/w_log10.c: Likewise.
34562 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
34563 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
34564 * sysdeps/ia64/fpu/w_log2.c: Likewise.
34565 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
34566 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
34567 * sysdeps/ia64/fpu/w_logf.c: Likewise.
34568 * sysdeps/ia64/fpu/w_logl.c: Likewise.
34569 * sysdeps/ia64/fpu/w_pow.c: Likewise.
34570 * sysdeps/ia64/fpu/w_powf.c: Likewise.
34571 * sysdeps/ia64/fpu/w_powl.c: Likewise.
34572 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
34573 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
34574 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
34575 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
34576 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
34577 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
34578 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
34579 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
34580 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
34581 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
34582 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
34583 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
34584 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
34585 [LIBM_SVID_COMPAT].
34586 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34587 * sysdeps/ieee754/k_standard.c: Likewise.
34588 * sysdeps/ieee754/k_standardf.c: Likewise.
34589 * sysdeps/ieee754/k_standardl.c: Likewise.
34590 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34591 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34592 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34593 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
34594 long_double_symbol call on [LIBM_SVID_COMPAT].
34595 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
34596 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
34597 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
34598 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
34599 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
34600 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
34601 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
34602 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
34603 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
34604 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
34605 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
34606 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
34607 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
34608 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
34609 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
34610 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
34611 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
34612 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
34613 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
34614 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
34615 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
34616 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
34618 2017-09-05 Steve Ellcey <sellcey@cavium.com>
34620 * include/shlib-compat.h (TEST_COMPAT): New Macro.
34621 * malloc/tst-mallocstate.c: Convert from test-skeleton
34622 to test-driver. Ifdef code using TEST_COMPAT macro.
34623 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
34624 * math/test-matherr.c: Likewise.
34626 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34629 * debug/pcprofiledump.c (main): Use byte-swapped mask when
34630 comparing word with byte-swapped constant.
34632 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
34635 * locale/iso-639.def: add Miskito.
34636 * localedata/SUPPORTED: Add miq_NI/UTF-8.
34637 * localedata/locales/miq_NI: New file.
34639 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
34642 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
34643 (__mkdir): Likewise.
34644 * io/chmod.c (__chmod): Add libc_hidden_def.
34645 * io/mkdir.c (__mkdir): Likewise.
34646 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
34647 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
34648 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
34649 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
34651 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34653 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
34657 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
34658 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
34660 2017-09-04 Florian Weimer <fweimer@redhat.com>
34662 * math/math.h: Issue warning if log is defined.
34664 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34666 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
34667 kernel version to 4.13.
34669 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
34671 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
34672 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
34674 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
34675 just <bits/types.h>.
34676 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
34677 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
34678 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
34679 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
34680 * misc/preadv2.c: Include <errno.h>.
34681 * misc/preadv64v2.c: Include <errno.h>.
34682 * misc/pwritev2.c: Include <errno.h>.
34683 * misc/pwritev64v2.c: Include <errno.h>.
34684 * sysdeps/posix/preadv2.c: Include <errno.h>.
34685 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
34686 Fix <unistd.h> inclusion.
34687 * sysdeps/posix/pwritev2.c: Include <errno.h>.
34688 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
34689 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
34690 __strtoul_internal): New functions.
34691 * sysdeps/posix/pause.c: Include <sigsetops.h>.
34692 * sysdeps/posix/system.c: Include <sigsetops.h>.
34693 * sysdeps/mach/hurd/i386/Makefile
34694 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
34695 [$(subdir) = csu] (sysdep-only-routines): Likewise.
34696 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
34697 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
34698 __feraiseexcept_renamed to feraiseexcept instead of
34699 __GI_feraiseexcept.
34700 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
34701 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
34702 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
34703 RWF_NOWAIT): Define to 0 if undefined already.
34704 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
34706 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
34707 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
34709 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34711 * manual/math.texi (pow10): Do not document.
34712 (pow10f): Likewise.
34713 (pow10l): Likewise.
34714 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
34715 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
34716 * math/libm-test-exp10.inc (pow10_test): Remove.
34717 (do_test): Do not call pow10.
34718 * math/w_exp10_compat.c (pow10): Make into compat symbol.
34719 [NO_LONG_DOUBLE] (pow10l): Likewise.
34720 * math/w_exp10f_compat.c (pow10f): Likewise.
34721 * math/w_exp10l_compat.c (pow10l): Likewise.
34722 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
34723 (pow10): Make into compat symbol.
34724 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
34725 (pow10f): Make into compat symbol.
34726 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
34727 (pow10l): Make into compat symbol.
34728 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
34730 (CFLAGS-nldbl-pow10.c): Remove variable..
34731 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
34732 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
34733 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
34734 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
34735 Undefine and redefine.
34736 (pow10l): Make into compat symbol.
34737 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
34738 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34739 * sysdeps/arm/libm-test-ulps: Likewise.
34740 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
34741 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34742 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
34743 * sysdeps/microblaze/libm-test-ulps: Likewise.
34744 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34745 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34746 * sysdeps/nios2/libm-test-ulps: Likewise.
34747 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34748 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34749 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34750 * sysdeps/sh/libm-test-ulps: Likewise.
34751 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34752 * sysdeps/tile/libm-test-ulps: Likewise.
34753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34755 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34757 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
34759 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34761 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
34762 "../ChangeLog.old/ChangeLog.8".
34763 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
34764 "../ChangeLog.old/ChangeLog.14".
34766 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34768 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
34771 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34773 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
34775 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34777 * csu/version.c (banner): Remove "by Roland McGrath et al.".
34778 * nptl/Banner: Remove "by Ulrich Drepper et al.".
34780 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34782 * stdlib/tst-atexit-common.c (do_test): Test support for at least
34783 32 atexit handlers.
34785 2017-09-01 Zack Weinberg <zackw@panix.com>
34787 * math/math.h (HUGE_VAL): Improve commentary.
34789 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34790 Andreas Schwab <schwab@suse.de>
34793 * include/stdio.h (__gen_tempfd): New function.
34794 * stdio-common/Makefile (routines): Add gentempfd.
34795 * stdio-common/gentempfd.c: New file.
34796 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
34797 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
34798 unnamed file first.
34800 2017-09-01 Florian Weimer <fweimer@redhat.com>
34804 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
34805 result to determine success or failure, not the errno value.
34806 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
34807 (tst-nss-files-hosts-erange): Link with -ldl.
34808 * nss/tst-nss-files-hosts-erange.c: New file.
34809 * nss/tst-resolv-basic.c (response): Handle nodata.example.
34810 (do_test): Add NO_DATA tests.
34811 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
34812 (do_test): Call it.
34814 2017-09-01 Florian Weimer <fweimer@redhat.com>
34817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
34818 coming from gethostbyname2_r.
34820 2017-09-01 Florian Weimer <fweimer@redhat.com>
34822 * support/namespace.h (struct support_chroot_configuration): Add
34824 (struct support_chroot): Add path_hosts, path_host_conf.
34825 * support/support_chroot.c (write_file): New function.
34826 (support_chroot_create): Call it to process /etc/resolv.conf,
34827 /etc/hosts, /etc/host.conf.
34828 (support_chroot_free): Update.
34830 2017-09-01 Florian Weimer <fweimer@redhat.com>
34832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
34833 status indicates it is set.
34835 2017-09-01 Florian Weimer <fweimer@redhat.com>
34838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
34839 function lookup failures more reliable.
34841 2017-09-01 Florian Weimer <fweimer@redhat.com>
34843 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
34844 (getcanonname): Likewise.
34845 (gaih_inet): Likewise.
34847 2017-09-01 Florian Weimer <fweimer@redhat.com>
34849 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
34850 (getcanonname): Likewise.
34851 (gaih_inet): Likewise.
34853 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34854 Richard Henderson <rth@twiddle.net>
34856 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
34857 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
34858 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
34859 (IREG_SIZE, OREG_SIZE): New macros.
34860 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
34861 (IREG_SIZE, OREG_SIZE): New macros.
34862 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
34863 (IREG_SIZE): New macro.
34864 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
34865 (IREG_SIZE): New macro.
34866 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
34868 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
34869 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34870 (__CONCATX): Handle exceptions correctly on large values that may
34872 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
34873 Initialize if not already set.
34874 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34876 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34878 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
34879 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
34881 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
34883 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
34885 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
34887 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
34889 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
34891 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
34893 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
34894 (NO_CANCELLATION): Likewise.
34895 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
34897 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
34899 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
34901 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
34902 (NO_CANCELLATION): Likewise.
34903 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
34904 (NO_CANCELLATION): Likewise.
34905 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
34907 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
34909 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
34911 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
34913 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
34915 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
34916 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
34918 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34920 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
34923 2017-08-31 Florian Weimer <fweimer@redhat.com>
34925 * include/libc-symbols.h (internal_function): Remove.
34927 2017-08-31 Florian Weimer <fweimer@redhat.com>
34929 * stdlib/fmtmsg.c (internal_addseverity): Remove
34932 2017-08-31 Florian Weimer <fweimer@redhat.com>
34934 * stdio-common/printf_fp.c (group_number): Remove
34936 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
34938 2017-08-31 Florian Weimer <fweimer@redhat.com>
34940 * posix/fnmatch.c (internal_function): Remove definition.
34941 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
34942 * posix/regcomp.c (peek_token, init_word_char)
34943 (duplicate_node_closure, fetch_token, peek_token)
34944 (peek_token_bracket, build_range_exp, build_collating_symbol):
34946 * posix/regex_internal.c (re_string_construct_common)
34947 (create_ci_newstate, create_cd_newstate, re_string_allocate)
34948 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
34949 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
34950 (re_string_translate_buffer, re_string_reconstruct)
34951 (re_string_peek_byte_case, re_string_fetch_byte_case)
34952 (re_string_destruct, re_string_context_at, re_node_set_alloc)
34953 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
34954 (re_node_set_add_intersect, re_node_set_init_union)
34955 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
34956 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
34957 (re_dfa_add_node, calc_state_hash, re_acquire_state)
34958 (re_acquire_state_context): Likewise.
34959 * posix/regex_internal.h (internal_function): Remove definition.
34960 (re_string_realloc_buffers, build_wcs_buffer)
34961 (build_wcs_upper_buffer, build_upper_buffer)
34962 (re_string_translate_buffer, re_string_context_at)
34963 (re_string_char_size_at, re_string_wchar_at)
34964 (re_string_elem_size_at): Likewise.
34965 * posix/regexec.c (match_ctx_init, match_ctx_clean)
34966 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
34967 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
34968 (re_search_internal, re_search_2_stub, re_search_stub)
34969 (re_copy_regs, prune_impossible_nodes, check_matching)
34970 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
34971 (free_fail_stack_return, sift_states_iter_mb)
34972 (sift_states_backward, build_sifted_states)
34973 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
34974 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
34975 (check_subexp_limits, sift_states_bkref, merge_state_array)
34976 (find_recover_state, transit_state, merge_state_with_log)
34977 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
34978 (transit_state_mb, transit_state_bkref, get_subexp)
34979 (get_subexp_sub, find_subexp_node, check_arrival)
34980 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
34981 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
34982 (check_node_accept_bytes, find_collation_sequence_value)
34983 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
34984 (acquire_init_state_context, check_halt_node_context)
34985 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
34986 (sub_epsilon_src_nodes): Likewise.
34987 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
34988 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
34989 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
34990 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
34991 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
34992 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
34993 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
34994 * sysdeps/posix/ttyname.c (getttyname): Likewise.
34995 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
34996 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
34997 (PREADV): Likewise.
34998 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
34999 (PREADV): Likewise.
35000 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
35001 (PWRITEV): Likewise.
35002 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
35003 (PWRITEV): Likewise.
35004 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
35005 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
35007 2017-08-31 Florian Weimer <fweimer@redhat.com>
35009 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
35010 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
35011 Remove internal_function.
35012 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
35013 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
35014 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
35015 (__deallocate_stack, __libc_pthread_init)
35016 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
35017 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
35018 (__libc_disable_asynccancel, __librt_disable_asynccancel):
35020 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
35021 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
35022 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
35024 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
35025 (__pthread_mutex_unlock_usercnt): Likewise.
35027 2017-08-31 Florian Weimer <fweimer@redhat.com>
35029 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
35030 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
35031 (fts_safe_changedir): Remove internal_function.
35032 * io/ftw.c (internal_function): Remove definition.
35033 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
35035 2017-08-31 Florian Weimer <fweimer@redhat.com>
35037 * inet/deadline.c (__deadline_current_time)
35038 (__deadline_from_timeval, __deadline_to_ms): Remove
35040 * inet/getnameinfo.c (nrl_domainname): Likewise.
35041 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
35042 * inet/inet6_option.c (add_pad): Likewise.
35043 * inet/net-internal.h (__deadline_current_time)
35044 (__deadline_from_timeval, __deadline_to_ms): Likewise.
35045 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
35046 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
35047 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
35049 2017-08-31 Joseph Myers <joseph@codesourcery.com>
35051 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
35052 include <bits/nan.h>.
35053 * math/Makefile (headers): Remove bits/nan.h.
35054 * bits/nan.h: Remove.
35055 * sysdeps/ieee754/bits/nan.h: Likewise.
35056 * sysdeps/mips/bits/nan.h: Likewise.
35058 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
35059 not include <bits/inf.h>.
35060 * math/Makefile (headers): Remove bits/inf.h.
35061 * bits/inf.h: Remove.
35062 * sysdeps/ieee754/bits/inf.h: Likewise.
35064 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
35065 bits/huge_vall.h or bits/huge_val_flt128.h.
35066 (HUGE_VAL): Define directly here.
35067 [__USE_ISOC99] (HUGE_VALF): Likewise.
35068 [__USE_ISOC99] (HUGE_VALL): Likewise.
35069 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35070 (HUGE_VAL_F128): Likewise.
35071 * math/Makefile (headers): Remove bits/huge_val.h,
35072 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
35073 * bits/huge_val.h: Remove.
35074 * bits/huge_val_flt128.h: Likewise.
35075 * bits/huge_valf.h: Likewise.
35076 * bits/huge_vall.h: Likewise.
35077 * sysdeps/ia64/bits/huge_vall.h: Likewise.
35078 * sysdeps/ieee754/bits/huge_val.h: Likewise.
35079 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
35080 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
35081 * sysdeps/sh/bits/huge_val.h: Likewise.
35082 * sysdeps/sparc/bits/huge_vall.h: Likewise.
35083 * sysdeps/x86/bits/huge_vall.h: Likewise.
35085 2017-08-31 Florian Weimer <fweimer@redhat.com>
35087 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
35089 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
35091 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
35092 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35093 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
35094 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
35095 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35096 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35097 * elf/dl-libc.c (dlerror_run): Likewise.
35098 * elf/dl-load.c (add_name_to_object, decompose_rpath)
35099 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
35100 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
35101 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
35103 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
35104 (_dl_higher_prime_number, _dl_strtoul): Likewise.
35105 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
35106 * elf/dl-profile.c (_dl_start_profile): Likewise.
35107 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
35108 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
35110 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
35111 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
35112 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
35113 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
35114 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
35115 (_dl_allocate_tls_storage): Likewise.
35116 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
35117 (_dl_check_all_versions): Likewise.
35118 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
35119 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
35120 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
35121 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35122 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
35123 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
35124 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
35125 internal_function from __dl_start.
35126 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
35127 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
35128 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
35129 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
35130 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
35131 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
35132 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
35133 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
35134 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
35135 (_dl_next_ld_env_entry, _dl_important_hwcaps)
35136 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
35137 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
35138 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
35139 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
35140 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
35142 (struct rtld_global_ro): Remove internal_function from the
35143 _dl_lookup_symbol_x member.
35144 (_dl_symbol_value): Remove. No longer defined anywhere.
35145 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
35147 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35148 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
35149 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
35150 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
35151 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
35152 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
35153 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
35154 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
35155 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
35156 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
35157 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35158 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
35160 2017-08-31 Florian Weimer <fweimer@redhat.com>
35162 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
35163 Remove internal_function.
35164 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35166 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35169 2017-08-31 Florian Weimer <fweimer@redhat.com>
35171 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
35172 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
35173 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
35175 2017-08-31 Florian Weimer <fweimer@redhat.com>
35177 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
35178 (__gai_enqueue_request): Remove internal_function.
35179 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
35180 (__gai_remove_request, __gai_notify, __gai_notify_only)
35181 (__gai_sigqueue): Likewise.
35182 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
35183 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
35184 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
35185 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35188 2017-08-31 Florian Weimer <fweimer@redhat.com>
35190 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
35191 * include/dirent.h (__opendirat, __getdents, __getdents64)
35192 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
35193 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
35194 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35195 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
35197 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
35199 2017-08-31 Florian Weimer <fweimer@redhat.com>
35201 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
35203 (GETCWD_RETURN_TYPE): Likewise.
35205 2017-08-31 Florian Weimer <fweimer@redhat.com>
35207 * include/time.h (__tz_compute, __strptime_internal): Remove
35209 * time/strptime_l.c (__strptime_internal): Likewise.
35210 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
35212 2017-08-31 Florian Weimer <fweimer@redhat.com>
35214 * iconv/gconv.c (__gconv): Remove internal_function.
35215 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
35216 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
35217 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
35218 (__gconv_release_cache): Likewise.
35219 * iconv/gconv_close.c (__gconv_close): Likewise.
35220 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
35221 (read_conf_file, __gconv_get_path): Likewise.
35222 * iconv/gconv_db.c (derivation_lookup, add_derivation)
35223 (__gconv_release_step, gen_steps, increment_counter)
35224 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
35225 (__gconv_close_transform, free_modules_db): Likewise.
35226 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
35228 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
35229 (__gconv_find_transform, __gconv_lookup_cache)
35230 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
35231 (__gconv_close_transform, __gconv_release_cache)
35232 (__gconv_loaded_object, __gconv_release_shlib)
35233 (__gconv_compare_alias): Likewise.
35234 * iconv/gconv_open.c (__gconv_open): Likewise.
35235 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
35236 * iconv/iconvconfig.c (add_module): Likewise.
35237 * intl/dcigettext.c (plural_lookup, guess_category_value)
35238 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
35239 * intl/eval-plural.h (plural_eval): Likewise.
35240 * intl/finddomain.c (_nl_find_domain): Likewise.
35241 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
35242 (_nl_load_domain, _nl_find_msg): Likewise.
35243 (internal_function): Remove definition.
35244 * intl/loadinfo.h (internal_function): Likewise.
35245 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
35247 * intl/localealias.c (internal_function): Remove definition.
35248 (read_alias_file): Remove internal_function.
35249 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
35250 * intl/plural-exp.h (internal_function): Remove definition.
35251 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
35253 * intl/plural.c: Regenerate.
35254 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
35255 * locale/coll-lookup.c (__collidx_table_lookup)
35256 (__collseq_table_lookup): Likewise.
35257 * locale/coll-lookup.h (__collidx_table_lookup)
35258 (__collseq_table_lookup): Likewise.
35259 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
35260 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35261 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
35262 (_nl_unload_locale): Likewise.
35263 * locale/localeinfo.h (struct __locale_data): Remove
35264 internal_function from cleanup member.
35265 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
35266 (_nl_remove_locale, _nl_load_locale_from_archive)
35267 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
35268 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
35269 (_nl_cleanup_time): Remove internal_function.
35270 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
35271 (_nl_parse_alt_digit): Likewise.
35272 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
35273 (_nl_select_era_entry): Likewise.
35274 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
35275 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35276 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35277 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35278 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35280 2017-08-31 Florian Weimer <fweimer@redhat.com>
35282 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
35283 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
35284 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
35285 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
35287 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
35288 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
35289 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
35290 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35292 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
35294 2017-08-31 Florian Weimer <fweimer@redhat.com>
35296 * misc/getttyent.c (skip, value): Remove internal_function.
35297 * misc/syslog.c (openlog_internal): Likewise.
35298 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
35300 2017-08-31 Florian Weimer <fweimer@redhat.com>
35302 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
35303 (__nss_rewrite_field): Remove internal_function.
35304 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35305 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35306 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35307 * nss/nsswitch.c (nss_parse_file, nss_getline)
35308 (nss_parse_service_list, nss_new_service): Likewise.
35309 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
35310 * nss/valid_field.c (__nss_valid_field): Likewise.
35311 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
35313 2017-08-31 Florian Weimer <fweimer@redhat.com>
35315 * malloc/arena.c (__malloc_fork_lock_parent)
35316 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
35317 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
35318 internal_function from defintions.
35319 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
35320 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
35321 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
35322 internal_function from declarations.
35323 * malloc/malloc.c (internal_function): Do not define.
35324 (mem2mem_check): Remove internal_function from declaration.
35325 (munmap_chunk, mremap_chunk): Remove internal_function.
35326 * malloc/mtrace.c (tr_where): Likewise.
35328 2017-08-31 Florian Weimer <fweimer@redhat.com>
35330 * include/rpc/pmap_clnt.h (__get_socket): Remove
35332 * sunrpc/auth_des.c (synchronize): Likewise.
35333 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
35334 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
35335 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
35336 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
35337 (key_call): Likewise.
35338 * sunrpc/pm_getport.c (__get_socket): Likewise.
35339 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
35340 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
35341 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
35342 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
35343 (invalidate): Likewise.
35344 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
35345 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
35346 (set_input_fragment, get_input_bytes): Likewise.
35348 2017-08-31 Florian Weimer <fweimer@redhat.com>
35350 * malloc/malloc.c (_int_free): Remove locked variable and related
35353 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
35356 * Makerules (build-module-helper-objlist): Filter out
35357 $(elf-objpfx)sofini.os.
35358 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
35361 2017-08-31 Florian Weimer <fweimer@redhat.com>
35363 * libio/fcloseall.c: Assume weak_alias is defined.
35364 * libio/feof.c: Likewise.
35365 * libio/fileno.c: Likewise.
35366 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
35367 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35369 (_IO_file_open): Call __open directly.
35370 (_IO_new_file_sync): Assume ESPIPE is defined.
35371 (_IO_file_seekoff_maybe_mmap): Call __read directly.
35372 (_IO_new_file_write): Call __write directly.
35373 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
35374 * libio/ftello64.c (__ftello64): Assume EIO is defined.
35375 * libio/genops.c: Assume _LIBC is defined.
35376 (save_for_backup): Remove internal_function.
35377 * libio/getc.c: Assume weak_alias is defined.
35378 * libio/getwc.c: Likewise.
35379 * libio/iofclose.c: Assume _LIBC is defined.
35380 * libio/iofdopen.c: Likewise.
35381 (_IO_fcntl): Remove macro definition.
35382 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
35383 Call __fcntl directly.
35384 * libio/iofflush.c: Assume weak_alias is defined.
35385 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
35387 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
35388 * libio/iofgets.c: Likewise.
35389 * libio/iofopen.c: Assume _LIBC is defined.
35390 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
35391 * libio/iofputs.c: Assume weak_alias is defined.
35392 * libio/iofread.c: Likewise.
35393 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
35394 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
35395 * libio/ioftell.c: Assume weak_alias is defined.
35396 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
35397 * libio/iofwide.c: Assume _LIBC is defined.
35398 (_IO_fwide): Drop SHARED conditional because it is implied by
35400 * libio/iofwrite.c: Assume weak_alias is defined.
35401 * libio/iogetdelim.c: Likewise.
35402 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
35403 * libio/iogetwline.c (wmemcpy): Remove macro definition.
35404 (_IO_getwline): Call __wmemcpy directly.
35405 * libio/iopopen.c: Assume _LIBC is defined.
35406 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35407 (_IO_close): Remove macro definitions.
35408 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
35410 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
35412 * libio/ioputs.c: Assume weak_alias is defined.
35413 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
35414 * libio/iosetbuffer.c: Assume weak_alias is defined.
35415 * libio/iosetvbuf.c: Likewise.
35416 * libio/ioungetc.c: Likewise.
35417 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
35418 libc_hidden_def, libc_hidden_weak, NULL are defined.
35419 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
35420 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
35422 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35424 (_IO_old_file_init_internal): Drop SHARED conditional because it
35425 is implied by SHLIB_COMPAT.
35426 (_IO_old_file_fopen): Call __open directly.
35427 (_IO_old_file_sync): Assume ESPIPE is defined.
35428 (_IO_old_file_write): Call __write directly.
35429 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
35430 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
35431 Call __fcntl directly.
35432 * libio/oldiofgetpos.c: Assume weak_alias is defined.
35433 (_IO_old_fgetpos): Assume EIO is defined.
35434 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
35435 (_IO_old_fgetpos64): Assume EIO is defined.
35436 * libio/oldiofsetpos.c: Assume weak_alias is defined.
35437 (_IO_old_fsetpos): Assume EIO is defined.
35438 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
35439 (_IO_old_fsetpos64): Assume EIO is defined.
35440 * libio/oldiopopen.c: Assume _LIBC is defined.
35441 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35442 (_IO_close): Remove macro definitions.
35443 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
35445 (_IO_old_proc_close): Call __close, __waitpid directly.
35446 * libio/put.c: Assume weak_alias is defined.
35447 * libio/stdfiles.c: Assume _LIBC is defined.
35448 * libio/stdio.c: Likewise.
35449 * libio/wfileops.c: Likewise.
35450 (_IO_wfile_sync): Assume ESPIPE is defined.
35451 * libio/wgenops.c: Assume _LIBC is defined.
35452 (save_for_wbackup): Remove internal_function.
35454 2017-08-31 Florian Weimer <fweimer@redhat.com>
35456 * malloc/malloc.c (top_check): Change return type to void. Remove
35458 * malloc/hooks.c (top_check): Likewise.
35459 (malloc_check, realloc_check, memalign_check): Adjust.
35461 2017-08-30 Joseph Myers <joseph@codesourcery.com>
35464 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35465 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
35466 sigcontext and namespace requirements.
35467 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35468 * sysdeps/m68k/sys/ucontext.h: Likewise.
35469 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
35470 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
35471 <bits/sigcontext.h>.
35472 (__ctx): Define earlier.
35473 (mcontext_t): Define structure contents rather than using struct
35475 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
35476 __glibc_reserved1 instead of __reserved.
35477 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
35478 <bits/sigcontext.h>.
35479 (__ctx): Define earlier.
35480 (mcontext_t): Define structure contents rather than using struct
35482 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
35483 mcontext_t instead of struct sigcontext.
35484 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
35485 <bits/sigcontext.h>.
35486 (__ctx): Define earlier.
35487 (mcontext_t): Define structure contents rather than using struct
35489 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
35490 <bits/sigcontext.h>.
35491 (__ctx): Define earlier.
35492 (mcontext_t): Define structure contents rather than using struct
35494 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
35495 mcontext_t instead of struct sigcontext.
35496 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
35497 mcontext_t instead of struct sigcontext.
35498 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
35499 <bits/sigcontext.h>.
35500 (__ctx): New macro.
35501 (struct __ia64_fpreg_mcontext): New type.
35502 (mcontext_t): Define structure contents rather than using struct
35504 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
35505 (uc_sigmask): Define using __ctx.
35506 (uc_stack): Likewise.
35507 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
35508 <bits/sigcontext.h>.
35509 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35510 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
35511 <bits/sigcontext.h>.
35512 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
35513 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
35514 <bits/sigcontext.h>.
35515 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
35516 <bits/sigcontext.h>.
35517 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
35518 <bits/sigcontext.h>.
35519 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
35520 <bits/sigcontext.h>.
35521 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
35522 <bits/sigcontext.h>.
35523 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
35524 <bits/sigcontext.h>.
35525 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
35526 <bits/sigcontext.h>.
35527 (__ctx): Define earlier.
35528 (mcontext_t): Define structure contents rather than using struct
35530 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
35531 <bits/sigcontext.h>. Include <bits/types.h>.
35532 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
35533 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
35534 (test-xfail-XPG42/ucontext.h/conform): Likewise.
35535 (test-xfail-UNIX98/signal.h/conform): Likewise.
35536 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35537 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35538 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35539 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35540 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35541 (test-xfail-POSIX2008/signal.h/conform): Likewise.
35542 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35543 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35544 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35546 2017-08-30 Florian Weimer <fweimer@redhat.com>
35548 * malloc/dynarray_emplace_enlarge.c
35549 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
35550 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
35551 * malloc/tst-dynarray.c (test_long_overflow): New function.
35552 (do_test): Call it.
35554 2017-08-30 Florian Weimer <fweimer@redhat.com>
35556 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
35557 (set_arena_corrupt): Remove definitions.
35558 (mtrim): Do not check for corrupt arena.
35559 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
35562 2017-08-30 Florian Weimer <fweimer@redhat.com>
35565 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
35567 (ptmalloc_init): Do not set or use check_action.
35568 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
35569 call to malloc_printerr. Remove return statement.
35570 (free_check): Likewise. Remove arena unlock.
35571 (top_check): Update comment. Adjust call to malloc_printerr.
35572 Remove heap repair code.
35573 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
35574 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
35575 (sysmalloc): Adjust call to malloc_printerr.
35576 (munmap_chunk, __libc_realloc): Likewise. Remove return
35578 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
35579 Remove errout label and corresponding gotos.
35580 (_int_free): Likewise. Remove arena unlock.
35581 (do_set_mallopt_check): Do not set check_action.
35582 (malloc_printerr): Adjust parameter list. Do not mark arena as
35584 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
35586 * manual/probes.texi (Memory Allocation Probes): Remove
35587 memory_mallopt_check_action.
35589 2017-08-30 Steve Ellcey <sellcey@cavium.com>
35591 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
35592 Use pointer to uint64_t instead of long int for sp.
35594 2017-08-30 Florian Weimer <fweimer@redhat.com>
35597 * malloc/malloc.c (malloc_printerr): Always terminate the process,
35598 without printing a backtrace. Do not leak any information in the
35600 * manual/memory.texi (Heap Consistency Checking): Update.
35601 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
35603 2017-08-30 Florian Weimer <fweimer@redhat.com>
35605 Do not scale NPTL tests with available number of CPUs.
35606 * nptl/tst-cond16.c (count): Set to constant value of 8.
35607 * nptl/tst-cond18.c (count): Likewise.
35609 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35612 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
35613 Define to take a second argument that is a macro that
35614 concatentates a suffix, not the suffix itself.
35615 (__CONCAT_d): New macro.
35616 (__CONCAT_f): Likewise.
35617 (__CONCAT_l): Likewise.
35619 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
35621 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
35624 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35625 Aurelien Jarno <aurelien@aurel32.net>
35626 Maciej W. Rozycki <macro@imgtec.com>
35629 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
35630 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
35631 `mips16-syscall6' and `mips16-syscall7'.
35632 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
35633 (CFLAGS-mips16-syscall7.c): Remove.
35634 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
35635 Remove `__mips16_syscall5', `__mips16_syscall6' and
35636 `__mips16_syscall7'.
35637 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
35638 (__mips16_syscall0): Rename `__mips16_syscall_return' to
35639 `__mips_syscall_return'.
35640 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
35641 (__mips16_syscall1): Likewise.
35642 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
35643 (__mips16_syscall2): Likewise.
35644 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
35645 (__mips16_syscall3): Likewise.
35646 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
35647 (__mips16_syscall4): Likewise.
35648 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
35650 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
35652 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
35654 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
35655 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
35656 `__mips16_syscall5'. Remove prototype.
35657 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
35658 `__mips16_syscall6'. Remove prototype.
35659 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
35660 `__mips16_syscall7'. Remove prototype.
35661 (__nomips16, __mips16_syscall_return): Move to...
35662 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
35663 (__nomips16, __mips_syscall_return): ... here.
35664 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
35665 `__mips16_syscall_return' to `__mips_syscall_return'.
35666 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
35667 `internal_syscall##nr'.
35668 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
35669 `internal_syscall##nr'.
35670 (FORCE_FRAME_POINTER): Remove.
35671 (__mips_syscall5): New prototype.
35672 (internal_syscall5): Rewrite to call `__mips_syscall5'.
35673 (__mips_syscall6): New prototype.
35674 (internal_syscall6): Rewrite to call `__mips_syscall6'.
35675 (__mips_syscall7): New prototype.
35676 (internal_syscall7): Rewrite to call `__mips_syscall7'.
35677 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
35678 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
35679 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
35680 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
35681 (sysdep_routines): Add libc-do-syscall.
35682 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
35683 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
35685 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35688 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
35689 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
35690 (advise_stack_range): New function.
35691 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
35692 stack non required to advise_stack_range at allocatestack.c
35694 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
35696 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
35698 2017-08-29 Florian Weimer <fweimer@redhat.com>
35701 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
35702 __end_fct. Mangle __end_fct after setting it to NULL.
35703 * iconv/Makefile (tests): Add tst-gconv-init-failure.
35704 (modules-names, modules-names-tests): Add
35705 tst-gconv-init-failure-mod.
35706 (gconv-modules): New target.
35707 (tst-gconv-init-failure-mod.so): Link against libsupport.
35708 (tst-gconv-init-failure): Depend on gconv-modules,
35709 tst-gconv-init-failure-mod.so.
35710 * iconv/tst-gconv-init-failure-mod.c: New file.
35711 * iconv/tst-gconv-init-failure.c: Likewise.
35712 * iconv/test-gconv-modules: Likewise.
35714 2017-08-29 Florian Weimer <fweimer@redhat.com>
35717 * iconv/gconv_db.c (free_derivation): Remove redundant
35719 (gen_steps): Unconditionally mangle __btowc_fct after
35721 (increment_counter): Likewise. Do not call init_fct for internal
35724 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35727 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35728 (_MSUF_): Remove macro.
35729 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
35731 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35732 (__REDIRFROM_X): New macro.
35733 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
35735 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
35736 (__REDIRTO_X): Likewise.
35737 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
35739 (__MATH_REDIRCALL_2): Likewise.
35740 (__MATH_REDIRCALL_INTERNAL): Likewise.
35741 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35742 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
35743 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
35744 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35745 * math/test-finite-macros.c: New file.
35746 * math/Makefile (tests): Add test-finite-macros.
35747 (CFLAGS-test-finite-macros.c): New variable.
35749 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
35750 Jeff Law <law@redhat.com>
35753 Mangle NULL pointers in iconv/gconv.
35754 * iconv/gconv_cache.c (find_module): Demangle init_fct before
35755 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
35756 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
35757 is non-NULL before demangling the end_fct. Check for NULL
35758 end_fct after demangling.
35759 (__gconv_release_step): Demangle the end_fct before checking
35760 it for NULL. Remove assert on __shlibc_handle != NULL.
35761 (gen_steps): Don't check btowc_fct for NULL before mangling.
35762 Demangle init_fct before checking for NULL.
35763 (increment_counter): Likewise.
35764 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
35765 end_fct for NULL before mangling.
35766 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
35769 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
35772 * locale/iso-639.def: add Morisyen.
35774 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35777 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
35778 (iszero): New C++ implementation that does not use
35779 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
35780 signaling nans are enabled, since __builtin_types_compatible_p
35781 is a C-only feature.
35782 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
35783 defined, include ieee754_float128.h for access to the union and
35784 member ieee854_float128.ieee.
35785 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
35786 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
35787 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35788 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
35789 options of test-math-zero on powerpc64le.
35791 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
35793 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
35794 Change double to float.
35796 2017-08-28 Joseph Myers <joseph@codesourcery.com>
35798 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
35800 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
35801 conditional code; define contents only for [LIBM_SVID_COMPAT].
35803 2017-08-28 Florian Weimer <fweimer@redhat.com>
35805 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
35806 (abi-lp64_be-options): Remove.
35807 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
35808 (abi-hard-options): Likewise.
35809 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
35810 (abi-o32_hard-options, abi-o32_soft_2008-options)
35811 (abi-o32_hard_2008-options, abi-n32_soft-options)
35812 (abi-n32_hard-options, abi-n32_soft_2008-options)
35813 (abi-n32_hard_2008-options, abi-n64_soft-options)
35814 (abi-n64_hard-options, abi-n64_soft_2008-options)
35815 (abi-n64_hard_2008-options): Likewise.
35816 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
35817 (abi-64-v1-options, abi-64-v2-options): Likewise.
35818 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
35819 (abi-64-options): Likewise.
35820 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
35821 (abi-64-options): Likewise.
35822 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
35823 (abi-64-options): Likewise.
35824 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
35825 (abi-64-options, abi-x32-options): Likewise.
35827 2017-08-28 Florian Weimer <fweimer@redhat.com>
35829 Store supported list of SYS_* system calls in the source tree.
35830 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
35831 (bits/syscall.h): Generate from list file.
35832 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
35833 [$(subdir) = misc] (tests): Add tst-syscall-list.
35834 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
35835 [$(subdir) = misc] (tst-syscall-list-macros.list)
35836 [$(subdir) = misc] (tst-syscall-list-nr.list)
35837 (tst-syscall-list-sys.list): Helper targets for new
35838 tst-syscall-list test.
35839 [$(subdir) = misc] (tst-syscall-list.out): Run test script
35840 tst-syscall-list.sh.
35841 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
35842 target. Do not include bits/syscall.d.
35843 [$(subdir) = misc] (generated): Do not update.
35844 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
35845 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
35846 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
35847 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
35849 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35851 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
35852 (tst-cxa_atexit, tst-on_exit): Likewise.
35853 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
35854 tst-cxa_atexit, and tst-on_exit.
35855 * stdlib/tst-atexit-common.c: New file.
35856 * stdlib/tst-atexit.c: New file.
35857 * stdlib/tst-at_quick_exit.c: New file.
35858 * stdlib/tst-cxa_atexit.c: New file.
35859 * stdlib/tst-on_exit.c: New file.
35861 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35863 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
35864 * mach/stack_chk_fail_local.c: New file.
35865 * hurd/stack_chk_fail_local.c: New file.
35866 * mach/Machrules ($(interface-library)-routines): Add
35867 stack_chk_fail_local.
35868 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
35869 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
35870 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
35871 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
35872 * hurd/Makefile (CFLAGS-hurdstartup.o,
35873 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
35875 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
35877 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35878 (index_cpu_*, index_arch_*): Removed.
35880 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
35882 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
35883 Use uint64_t instead of unsigned long.
35885 2017-08-25 Joseph Myers <joseph@codesourcery.com>
35887 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
35888 [__HAVE_DISTINCT_FLOAT128].
35890 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
35891 of <bits/math-finite.h>.
35892 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
35893 inclusion of <bits/math-finite.h>.
35894 * math/bits/math-finite.h (__REDIRTO_X): Do not define
35895 conditionally on [__MATH_DECLARING_LDOUBLE && defined
35896 __NO_LONG_DOUBLE_MATH].
35897 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
35898 (__MATH_REDIRCALL_2): Likewise.
35899 (__MATH_REDIRCALL_INTERNAL): Likewise.
35900 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35901 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
35902 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
35906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
35908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
35910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
35912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
35914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
35916 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35917 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35918 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35919 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
35921 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
35922 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
35923 w_sqrtf_compat-ppc32.
35925 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35927 * math/math.h [defined __cplusplus] (issignaling): In the long
35928 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
35929 is not defined. Call __issignaling, otherwise.
35931 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35933 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
35934 syscall definitions and replace __builtin_expect with __glibc_likely.
35935 * sysdeps/unix/syscall-template.S: Update comment about cancellable
35937 (SYSCALL_CANCELLABLE): Removedefinition
35938 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
35940 (PSEUDO_END): Likewise.
35941 [IS_IN (libpthread)] (CENABLE): Likewise.
35942 [IS_IN (libpthread)] (CDISABLE): Likewise.
35943 [IS_IN (libc)] (CENABLE): Likewise.
35944 [IS_IN (libc)] (CENABLE): Likewise.
35945 [IS_IN (librt)] (CDISABLE): Likewise.
35946 [IS_IN (librt)] (CDISABLE): Likewise.
35947 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35948 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
35950 (PSEUDO_END): Likewise.
35951 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
35952 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
35953 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35954 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35955 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35956 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35957 (CENABLE): Likewise.
35958 (CDISABLE): Likewise.
35959 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35960 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
35962 (PSEUDO_END): Likewise.
35963 [IS_IN (libpthread)] (CENABLE): Likewise.
35964 [IS_IN (libpthread)] (CDISABLE): Likewise.
35965 [IS_IN (libc)] (CENABLE): Likewise.
35966 [IS_IN (libc)] (CENABLE): Likewise.
35967 [IS_IN (librt)] (CDISABLE): Likewise.
35968 [IS_IN (librt)] (CDISABLE): Likewise.
35969 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35970 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
35972 (PSEUDO_END): Likewise.
35973 [IS_IN (libpthread)] (CENABLE): Likewise.
35974 [IS_IN (libpthread)] (CDISABLE): Likewise.
35975 [IS_IN (libc)] (CENABLE): Likewise.
35976 [IS_IN (libc)] (CENABLE): Likewise.
35977 [IS_IN (librt)] (CDISABLE): Likewise.
35978 [IS_IN (librt)] (CDISABLE): Likewise.
35979 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35980 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
35982 (PSEUDO_END): Likewise.
35983 [IS_IN (libpthread)] (CENABLE): Likewise.
35984 [IS_IN (libpthread)] (CDISABLE): Likewise.
35985 [IS_IN (libc)] (CENABLE): Likewise.
35986 [IS_IN (libc)] (CENABLE): Likewise.
35987 [IS_IN (librt)] (CDISABLE): Likewise.
35988 [IS_IN (librt)] (CDISABLE): Likewise.
35989 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35990 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
35992 (PSEUDO_END): Likewise.
35993 [IS_IN (libpthread)] (CENABLE): Likewise.
35994 [IS_IN (libpthread)] (CDISABLE): Likewise.
35995 [IS_IN (libc)] (CENABLE): Likewise.
35996 [IS_IN (libc)] (CENABLE): Likewise.
35997 [IS_IN (librt)] (CDISABLE): Likewise.
35998 [IS_IN (librt)] (CDISABLE): Likewise.
35999 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36000 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
36002 (PSEUDO_END): Likewise.
36003 [IS_IN (libpthread)] (CENABLE): Likewise.
36004 [IS_IN (libpthread)] (CDISABLE): Likewise.
36005 [IS_IN (libc)] (CENABLE): Likewise.
36006 [IS_IN (libc)] (CENABLE): Likewise.
36007 [IS_IN (librt)] (CDISABLE): Likewise.
36008 [IS_IN (librt)] (CDISABLE): Likewise.
36009 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36010 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
36012 (PSEUDO_END): Likewise.
36013 [IS_IN (libpthread)] (CENABLE): Likewise.
36014 [IS_IN (libpthread)] (CDISABLE): Likewise.
36015 [IS_IN (libc)] (CENABLE): Likewise.
36016 [IS_IN (libc)] (CENABLE): Likewise.
36017 [IS_IN (librt)] (CDISABLE): Likewise.
36018 [IS_IN (librt)] (CDISABLE): Likewise.
36019 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36020 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
36022 (PSEUDO_END): Likewise.
36023 [IS_IN (libpthread)] (CENABLE): Likewise.
36024 [IS_IN (libpthread)] (CDISABLE): Likewise.
36025 [IS_IN (libc)] (CENABLE): Likewise.
36026 [IS_IN (libc)] (CENABLE): Likewise.
36027 [IS_IN (librt)] (CDISABLE): Likewise.
36028 [IS_IN (librt)] (CDISABLE): Likewise.
36029 (SINGLE_THREAD_P): Likewise.
36030 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
36032 (PSEUDO_END): Likewise.
36033 [IS_IN (libpthread)] (CENABLE): Likewise.
36034 [IS_IN (libpthread)] (CDISABLE): Likewise.
36035 [IS_IN (libc)] (CENABLE): Likewise.
36036 [IS_IN (libc)] (CENABLE): Likewise.
36037 [IS_IN (librt)] (CDISABLE): Likewise.
36038 [IS_IN (librt)] (CDISABLE): Likewise.
36039 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36040 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
36042 (PSEUDO_END): Likewise.
36043 [IS_IN (libpthread)] (CENABLE): Likewise.
36044 [IS_IN (libpthread)] (CDISABLE): Likewise.
36045 [IS_IN (libc)] (CENABLE): Likewise.
36046 [IS_IN (libc)] (CENABLE): Likewise.
36047 [IS_IN (librt)] (CDISABLE): Likewise.
36048 [IS_IN (librt)] (CDISABLE): Likewise.
36049 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36050 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
36051 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36052 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
36053 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
36055 (PSEUDO_END): Likewise.
36056 [IS_IN (libpthread)] (CENABLE): Likewise.
36057 [IS_IN (libpthread)] (CDISABLE): Likewise.
36058 [IS_IN (libc)] (CENABLE): Likewise.
36059 [IS_IN (libc)] (CENABLE): Likewise.
36060 [IS_IN (librt)] (CDISABLE): Likewise.
36061 [IS_IN (librt)] (CDISABLE): Likewise.
36062 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36063 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
36065 (PSEUDO_END): Likewise.
36066 [IS_IN (libpthread)] (CENABLE): Likewise.
36067 [IS_IN (libpthread)] (CDISABLE): Likewise.
36068 [IS_IN (libc)] (CENABLE): Likewise.
36069 [IS_IN (libc)] (CENABLE): Likewise.
36070 [IS_IN (librt)] (CDISABLE): Likewise.
36071 [IS_IN (librt)] (CDISABLE): Likewise.
36072 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36073 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
36075 (PSEUDO_END): Likewise.
36076 [IS_IN (libpthread)] (CENABLE): Likewise.
36077 [IS_IN (libpthread)] (CDISABLE): Likewise.
36078 [IS_IN (libc)] (CENABLE): Likewise.
36079 [IS_IN (libc)] (CENABLE): Likewise.
36080 [IS_IN (librt)] (CDISABLE): Likewise.
36081 [IS_IN (librt)] (CDISABLE): Likewise.
36082 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36083 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
36084 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36085 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
36086 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
36088 (PSEUDO_END): Likewise.
36089 [IS_IN (libpthread)] (CENABLE): Likewise.
36090 [IS_IN (libpthread)] (CDISABLE): Likewise.
36091 [IS_IN (libc)] (CENABLE): Likewise.
36092 [IS_IN (libc)] (CENABLE): Likewise.
36093 [IS_IN (librt)] (CDISABLE): Likewise.
36094 [IS_IN (librt)] (CDISABLE): Likewise.
36095 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36096 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
36098 (PSEUDO_END): Likewise.
36099 [IS_IN (libpthread)] (CENABLE): Likewise.
36100 [IS_IN (libpthread)] (CDISABLE): Likewise.
36101 [IS_IN (libc)] (CENABLE): Likewise.
36102 [IS_IN (libc)] (CENABLE): Likewise.
36103 [IS_IN (librt)] (CDISABLE): Likewise.
36104 [IS_IN (librt)] (CDISABLE): Likewise.
36105 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36107 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
36109 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
36111 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36113 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36115 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36118 * string/stratcliff.c (do_test): Declare size, nchars, inner,
36119 middle and outer with size_t instead of int. Repleace %d and
36120 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
36121 "MAX (outer, nchars - 64)" to support unsigned outer and
36122 nchars. Also exit loop when outer == 0.
36124 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36126 * include/fcntl.h (__fcntl_nocancel): Remove definition.
36127 * include/signal.h (__sigsuspend_nocancel): Likewise.
36128 * include/time.h (__nanosleep_nocancel): Likewise.
36129 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
36130 * login/utmp_file.c: Include non cancellable syscall header.
36131 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
36134 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36136 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
36137 .byte sequences with AVX512F instructions.
36138 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
36139 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
36140 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
36141 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
36143 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
36146 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
36147 Steve Ellcey <sellcey@cavium.com>
36149 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
36150 Use PTR_REG macro in cmp instruction.
36152 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36154 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
36155 Change the return type of the ifunc resolver to match the return
36156 type of the target function.
36158 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36160 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
36161 (preadv64): Likewise.
36162 (pwrite64(: Likewise.
36163 (pwritev64): Likewise.
36165 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36166 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
36167 (LOAD_ARGS_0): Likewise.
36168 (LOAD_ARGS_1): Likewise.
36169 (LOAD_ARGS_2): Likewise.
36170 (LOAD_ARGS_3): Likewise.
36171 (LOAD_ARGS_4): Likewise.
36172 (LOAD_ARGS_5): Likewise.
36173 (LOAD_ARGS_6): Likewise.
36174 (LOAD_REGS_0): Likewise.
36175 (LOAD_REGS_1): Likewise.
36176 (LOAD_REGS_2): Likewise.
36177 (LOAD_REGS_3): Likewise.
36178 (LOAD_REGS_4): Likewise.
36179 (LOAD_REGS_5): Likewise.
36180 (LOAD_REGS_6): Likewise.
36181 (ASM_ARGS_0): Likewise.
36182 (ASM_ARGS_1): Likewise.
36183 (ASM_ARGS_2): Likewise.
36184 (ASM_ARGS_3): Likewise.
36185 (ASM_ARGS_4): Likewise.
36186 (ASM_ARGS_5): Likewise.
36187 (ASM_ARGS_6): Likewise.
36188 (LOAD_ARGS_TYPES_1): Likewise.
36189 (LOAD_ARGS_TYPES_2): Likewise.
36190 (LOAD_ARGS_TYPES_3): Likewise.
36191 (LOAD_ARGS_TYPES_4): Likewise.
36192 (LOAD_ARGS_TYPES_5): Likewise.
36193 (LOAD_ARGS_TYPES_6): Likewise.
36194 (LOAD_REGS_TYPES_1): Likewise.
36195 (LOAD_REGS_TYPES_2): Likewise.
36196 (LOAD_REGS_TYPES_3): Likewise.
36197 (LOAD_REGS_TYPES_4): Likewise.
36198 (LOAD_REGS_TYPES_5): Likewise.
36199 (LOAD_REGS_TYPES_6): Likewise.
36200 (TYPEFY): New define.
36201 (ARGIFY): Likewise.
36202 (internal_syscall0): Likewise.
36203 (internal_syscall1): Likewise.
36204 (internal_syscall2): Likewise.
36205 (internal_syscall3): Likewise.
36206 (internal_syscall4): Likewise.
36207 (internal_syscall5): Likewise.
36208 (internal_syscall6): Likewise.
36209 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
36210 (INTERNAL_SYSCALL_NCS): Remove define.
36211 (internal_syscall1): Add define.
36213 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36215 * math/w_remainder_compat.c: Remove duplicate inclusion of
36216 math-svid-compat.h.
36217 * math/w_remainderf_compat.c: Likewise.
36218 * math/w_remainderl_compat.c: Likewise.
36220 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36224 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36227 * math/tgmath.h (__floating_type): Simplify definitions.
36228 (__real_integer_type): New macro.
36229 (__complex_integer_type): Likewise.
36230 (__expr_is_real): Likewise.
36231 (__tgmath_real_type_sub): Update comment to describe handling of
36233 (__tgmath_complex_type_sub): New macro.
36234 (__tgmath_complex_type): Likewise.
36235 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36236 (__TGMATH_CF128): Use __expr_is_real.
36237 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
36239 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36240 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
36241 * math/gen-tgmath-tests.py (Type.create_type): Create complex
36244 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36246 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
36248 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
36250 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
36253 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
36254 nanosleep_not_cancel with __nanosleep_nocancel.
36255 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
36256 (__nanosleep_nocancel): New macro.
36257 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
36259 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
36261 (__nanosleep_nocancel): New prototype.
36263 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
36264 pause_not_cancel with __pause_nocancel.
36265 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
36266 (__pause_nocancel): New macro.
36267 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
36269 (__pause_nocancel): New prototype.
36270 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
36272 2017-08-22 Martin Sebor <msebor@redhat.com>
36274 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
36275 to return a pointer to the same type as the target function.
36277 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36281 * include/printf.h (__printf_fphex): Add attribute_hidden.
36282 (__guess_grouping): New prototype.
36283 * stdio-common/printf_fp.c (__guess_grouping): Removed.
36284 * stdio-common/reg-printf.c (__register_printf_specifier): Add
36285 libc_hidden_proto and libc_hidden_def.
36286 * stdlib/strfmon_l.c (__guess_grouping): Removed.
36287 (__vstrfmon_l): Remove the third argument passed to
36290 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36292 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
36293 definition for issignaling that does not rely on __MATH_TG,
36294 since __MATH_TG uses __builtin_types_compatible_p, which is only
36295 available in C mode.
36296 (CFLAGS-test-math-issignaling.cc): New variable.
36297 * math/Makefile [CXX] (tests): Add test-math-issignaling.
36298 * math/test-math-issignaling.cc: New test for C++ implementation
36299 of type-generic issignaling.
36300 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
36301 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
36302 options of test-math-issignaling on powerpc64le.
36304 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36306 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36308 (hidden_proto): Likewise.
36309 (hidden_tls_proto): Likewise.
36310 (__hidden_proto): Likewise.
36312 2017-08-22 Florian Weimer <fweimer@redhat.com>
36314 math: Statically link tests of internal functionality.
36315 * math/Makefile (tests): Remove atest-exp, atest-sincos,
36317 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
36318 (gmp-objs): Remove assignment.
36319 (atest-exp, atest-sincos, atest-exp2): Remove targets.
36321 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36324 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
36326 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
36328 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
36331 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
36332 variable definitions above inclusion of ../Rules.
36334 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36336 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
36337 case calling __builtin_unreachable.
36339 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36341 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
36342 __waitpid_nocancel.
36343 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
36344 (__waitpid_nocancel): New macro.
36345 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
36347 (__waitpid_nocancel): Replace macro with a function.
36348 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
36351 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
36353 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
36354 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
36356 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
36357 __writev_nocancel_nostatus.
36358 (write_call_graph): Likewise.
36359 (write_bb_counts): Likewise.
36360 * resolv/herror.c (herror): Likewise.
36361 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
36363 (__writev_nocancel_nostatus): New macro.
36364 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
36366 (__writev_nocancel_nostatus): New function.
36368 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36371 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36373 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36375 (hidden_proto): Likewise.
36376 (hidden_tls_proto): Likewise.
36377 (__hidden_proto): Likewise.
36380 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
36381 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
36386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
36390 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
36391 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36392 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36393 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36394 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
36395 GLIBC_2.0 sqrtl symbol.
36397 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
36398 [__USE_MISC] (_LIB_VERSION): Likewise.
36399 [__USE_MISC] (struct exception): Likewise.
36400 [__USE_MISC] (matherr): Likewise.
36401 [__USE_MISC] (DOMAIN): Likewise.
36402 [__USE_MISC] (SING): Likewise.
36403 [__USE_MISC] (OVERFLOW): Likewise.
36404 [__USE_MISC] (UNDERFLOW): Likewise.
36405 [__USE_MISC] (TLOSS): Likewise.
36406 [__USE_MISC] (PLOSS): Likewise.
36407 [__USE_MISC] (HUGE): Likewise.
36408 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
36409 * math/math-svid-compat.h: New file.
36410 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
36412 * include/math.h [!_ISOMAC] (__matherr): Remove.
36413 * manual/arith.texi (FP Exceptions): Do not document matherr.
36414 * math/Makefile (tests): Change test-matherr to test-matherr-3.
36415 (tests-internal): New variable.
36416 (install-lib): Do not add libieee.a.
36417 (non-lib.a): Likewise.
36418 (extra-objs): Do not add libieee.a and ieee-math.o.
36419 (CPPFLAGS-s_lib_version.c): Remove variable.
36420 ($(objpfx)libieee.a): Remove rule.
36421 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
36422 * math/ieee-math.c: Remove.
36423 * math/libm-test-support.c (matherr): Remove.
36424 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
36425 and license notices. Include <math-svid-compat.h> and
36427 (matherr): Undefine as macro. Use compat_symbol_reference.
36428 (_LIB_VERSION): Likewise.
36429 * math/test-matherr-2.c: New file.
36430 * math/test-matherr-3.c: Likewise.
36431 * sysdeps/generic/math_private.h (__kernel_standard): Remove
36433 (__kernel_standard_f): Likewise.
36434 (__kernel_standard_l): Likewise.
36435 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
36436 <math_private.h>. Include <math-svid-compat.h>.
36437 (_LIB_VERSION): Undefine as macro.
36438 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
36439 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
36440 [LIBM_SVID_COMPAT], use compat_symbol.
36441 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
36442 <math_private.h>. Include <math-svid-compat.h>.
36443 (matherr): Undefine as macro.
36444 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
36446 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
36447 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
36448 compat_symbol_reference.
36449 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
36450 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
36451 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
36452 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
36453 (MATHERR_D): Remove declaration.
36454 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
36455 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
36456 [LIBM_BUILD] (pmatherrf): Likewise.
36457 [LIBM_BUILD] (pmatherr): Likewise.
36458 [LIBM_BUILD] (pmatherrl): Likewise.
36459 (DOMAIN): Likewise.
36461 (OVERFLOW): Likewise.
36462 (UNDERFLOW): Likewise.
36465 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
36466 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
36468 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
36469 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
36471 * math/lgamma-compat.h: Include <math-svid-compat.h>.
36472 * math/w_acos_compat.c: Likewise.
36473 * math/w_acosf_compat.c: Likewise.
36474 * math/w_acosh_compat.c: Likewise.
36475 * math/w_acoshf_compat.c: Likewise.
36476 * math/w_acoshl_compat.c: Likewise.
36477 * math/w_acosl_compat.c: Likewise.
36478 * math/w_asin_compat.c: Likewise.
36479 * math/w_asinf_compat.c: Likewise.
36480 * math/w_asinl_compat.c: Likewise.
36481 * math/w_atan2_compat.c: Likewise.
36482 * math/w_atan2f_compat.c: Likewise.
36483 * math/w_atan2l_compat.c: Likewise.
36484 * math/w_atanh_compat.c: Likewise.
36485 * math/w_atanhf_compat.c: Likewise.
36486 * math/w_atanhl_compat.c: Likewise.
36487 * math/w_cosh_compat.c: Likewise.
36488 * math/w_coshf_compat.c: Likewise.
36489 * math/w_coshl_compat.c: Likewise.
36490 * math/w_exp10_compat.c: Likewise.
36491 * math/w_exp10f_compat.c: Likewise.
36492 * math/w_exp10l_compat.c: Likewise.
36493 * math/w_exp2_compat.c: Likewise.
36494 * math/w_exp2f_compat.c: Likewise.
36495 * math/w_exp2l_compat.c: Likewise.
36496 * math/w_fmod_compat.c: Likewise.
36497 * math/w_fmodf_compat.c: Likewise.
36498 * math/w_fmodl_compat.c: Likewise.
36499 * math/w_hypot_compat.c: Likewise.
36500 * math/w_hypotf_compat.c: Likewise.
36501 * math/w_hypotl_compat.c: Likewise.
36502 * math/w_j0_compat.c: Likewise.
36503 * math/w_j0f_compat.c: Likewise.
36504 * math/w_j0l_compat.c: Likewise.
36505 * math/w_j1_compat.c: Likewise.
36506 * math/w_j1f_compat.c: Likewise.
36507 * math/w_j1l_compat.c: Likewise.
36508 * math/w_jn_compat.c: Likewise.
36509 * math/w_jnf_compat.c: Likewise.
36510 * math/w_jnl_compat.c: Likewise.
36511 * math/w_lgamma_main.c: Likewise.
36512 * math/w_lgamma_r_compat.c: Likewise.
36513 * math/w_lgammaf_main.c: Likewise.
36514 * math/w_lgammaf_r_compat.c: Likewise.
36515 * math/w_lgammal_main.c: Likewise.
36516 * math/w_lgammal_r_compat.c: Likewise.
36517 * math/w_log10_compat.c: Likewise.
36518 * math/w_log10f_compat.c: Likewise.
36519 * math/w_log10l_compat.c: Likewise.
36520 * math/w_log2_compat.c: Likewise.
36521 * math/w_log2f_compat.c: Likewise.
36522 * math/w_log2l_compat.c: Likewise.
36523 * math/w_log_compat.c: Likewise.
36524 * math/w_logf_compat.c: Likewise.
36525 * math/w_logl_compat.c: Likewise.
36526 * math/w_pow_compat.c: Likewise.
36527 * math/w_powf_compat.c: Likewise.
36528 * math/w_powl_compat.c: Likewise.
36529 * math/w_remainder_compat.c: Likewise.
36530 * math/w_remainderf_compat.c: Likewise.
36531 * math/w_remainderl_compat.c: Likewise.
36532 * math/w_scalb_compat.c: Likewise.
36533 * math/w_scalbf_compat.c: Likewise.
36534 * math/w_scalbl_compat.c: Likewise.
36535 * math/w_sinh_compat.c: Likewise.
36536 * math/w_sinhf_compat.c: Likewise.
36537 * math/w_sinhl_compat.c: Likewise.
36538 * math/w_sqrt_compat.c: Likewise.
36539 * math/w_sqrtf_compat.c: Likewise.
36540 * math/w_sqrtl_compat.c: Likewise.
36541 * math/w_tgamma_compat.c: Likewise.
36542 * math/w_tgammaf_compat.c: Likewise.
36543 * math/w_tgammal_compat.c: Likewise.
36544 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
36545 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
36546 * sysdeps/ieee754/k_standard.c: Likewise.
36547 * sysdeps/ieee754/k_standardf.c: Likewise.
36548 * sysdeps/ieee754/k_standardl.c: Likewise.
36549 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
36550 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
36551 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
36552 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36553 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36554 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36555 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36556 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
36557 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36562 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
36563 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36564 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36565 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36567 2017-08-21 Florian Weimer <fweimer@redhat.com>
36570 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
36571 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
36572 Move before inclusion of ../Rules.
36574 2017-08-21 Florian Weimer <fweimer@redhat.com>
36577 * assert/assert.h (assert): Use static_cast (bool) for C++.
36578 Use the ternary operator in the warning branch for GNU C.
36579 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
36580 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
36581 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
36582 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
36583 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
36585 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36588 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36589 (__syscall_clock_gettime): Add attribute_hidden.
36590 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
36591 (__start_context): Likewise.
36593 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36595 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36597 (hidden_proto): Likewise.
36598 (hidden_tls_proto): Likewise.
36599 (__hidden_proto): Likewise.
36601 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36603 * include/libc-symbols.h (attribute_hidden): Enable hidden
36604 visibility in libc.a compiled with PIE.
36606 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36609 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
36610 Add attribute_hidden.
36612 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36615 * Makerules (all-nonlib): Add $(others-extras).
36616 * catgets/Makefile (others-extras): New.
36617 * elf/Makefile (others-extras): Likewise.
36618 * nss/Makefile (others-extras): Likewise.
36620 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36623 * csu/libc-start.c (__libc_multiple_libcs): Removed.
36624 * elf/dl-open.c: Include <libc-internal.h>.
36625 (__libc_multiple_libcs): Removed.
36626 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
36628 * include/libc-internal.h (__libc_multiple_libcs): New.
36629 * misc/sbrk.c: Include <libc-internal.h>.
36630 (__libc_multiple_libcs): Removed.
36632 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36635 * grp/initgroups.c (__nss_group_database): Removed.
36636 (__nss_initgroups_database): Likewise.
36637 * nscd/gai.c (__nss_hosts_database): Likewise.
36638 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
36639 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
36640 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
36641 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
36642 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
36643 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
36645 * nss/nsswitch.c (__nss_database_custom): Define only if
36646 USE_NSCD is defined.
36647 (__nss_configure_lookup): Use __nss_database_custom only if
36648 USE_NSCD is defined.
36649 * nss/nsswitch.h (__nss_database_custom): Declare only if
36650 USE_NSCD is defined. Add attribute_hidden.
36651 (__nss_setent): Add attribute_hidden.
36652 (__nss_endent): Likewise.
36653 (__nss_getent_r): Likewise.
36654 (__nss_getent): Likewise.
36655 (DEFINE_DATABASE): Declare __nss_##arg##_database.
36657 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36660 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
36661 libc_hidden_proto and libc_hidden_def.
36663 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36666 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
36667 Add libc_hidden_proto.
36668 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
36669 Add libc_hidden_def.
36671 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36674 * gmon/Makefile (routines): Remove bb_init_func and
36676 (elide-routines.os): Removed.
36677 * gmon/bb_exit_func.c: Likewise.
36678 * gmon/bb_init_func.c: Likewise.
36679 * include/sys/gmon.h (__bb): Likewise.
36680 (__bb_init_func): Likewise.
36681 (__bb_exit_func): Likewise.
36682 * sysdeps/alpha/bb_init_func.S: Likewise.
36684 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36686 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
36687 * include/setjmp.h (____longjmp_chk): Here. Add
36690 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
36693 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
36695 (__strspn_sse2): Likewise.
36697 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36699 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
36700 (close_not_cancel_no_status): Likewise.
36701 (__close_nocancel): New macro.
36702 (__close_nocancel_nostatus): Likewise.
36703 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
36705 (close_not_cancel): Likewise.
36706 (close_not_cancel_no_status): Likewise.
36707 (__close_nocancel): New prototype.
36708 (__close_nocancel_nostatus): New function.
36709 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
36710 * catgets/open_catalog.c (__open_catalog): Replace
36711 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
36712 * gmon/gmon.c (write_gmon): Likewise.
36713 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36714 * intl/loadmsgcat.c (close): Likewise.
36715 * io/ftw.c (open_dir_stream): Likewise.
36716 (ftw_startup): Likewise.
36717 * libio/fileops.c (_IO_file_open): Likewise.
36718 (_IO_file_close_mmap): Likewise.
36719 (_IO_file_close): Likewise.
36720 * libio/iopopen.c (_IO_dup2): Likewise.
36721 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36722 * locale/loadlocale.c (_nl_load_locale): Likewise.
36723 * login/utmp_file.c (pututline_file): Likewise.
36724 (endutent_file): Likewise.
36725 * misc/daemon.c (daemon): Likewise.
36726 * nscd/nscd_getai.c (__nscd_getai): Likewise.
36727 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36728 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
36729 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36730 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36731 * nscd/nscd_helper.c (open_socket): Likewise.
36732 (__nscd_open_socket): Likewise.
36733 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36734 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
36735 (__nscd_innetgr): Likewise.
36736 * nss/nss_db/db-open.c (internal_setent): Likewise.
36737 * resolv/res-close.c (__res_iclose): Likewise.
36738 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
36739 * sysdeps/posix/closedir.c (__closedir): Likewise.
36740 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
36741 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36742 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36743 (opendir_tail): Likewise.
36744 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36745 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
36746 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36747 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36748 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36749 (gethostid): Likewise.
36750 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36751 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36753 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36754 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
36755 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36756 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36758 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
36759 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
36760 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36762 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
36763 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36765 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36767 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36768 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36769 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36772 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
36773 (openat_not_cancel_3): Likewise.
36774 (openat64_not_cancel_3): Likewise).
36775 (openat_not_cancel_3): Likewise).
36776 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
36778 (openat_not_cancel_3): Likewise.
36779 (openat64_not_cancel): Likewise.
36780 (openat64_not_cancel_3): Likewise.
36781 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
36782 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
36783 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
36784 __open{64}_nocancel.
36785 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36786 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36787 * sysdeps/posix/opendir.c (__opendirat): Likewise.
36789 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36792 * include/argz.h (__argz_create_sep): New function prototype.
36793 (__argz_append): Likewise.
36794 (__argz_add): Likewise.
36795 (__argz_add_sep): Likewise.
36796 (__argz_delete): Likewise.
36797 (__argz_insert): Likewise.
36798 (__argz_replace): Likewise.
36799 * string/argz.h (__argz_create_sep): Removed.
36800 (__argz_append): Likewise.
36801 (__argz_add): Likewise.
36802 (__argz_add_sep): Likewise.
36803 (__argz_delete): Likewise.
36804 (__argz_insert): Likewise.
36805 (__argz_replace): Likewise.
36807 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36809 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
36810 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
36811 (GNU_PROPERTY_STACK_SIZE): Likewie.
36812 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
36813 (GNU_PROPERTY_LOPROC): Likewise.
36814 (GNU_PROPERTY_HIPROC): Likewise.
36815 (GNU_PROPERTY_LOUSER): Likewise.
36816 (GNU_PROPERTY_HIUSER): Likewise.
36817 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
36818 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
36819 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
36820 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
36821 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
36822 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
36823 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
36824 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
36825 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
36826 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
36827 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
36828 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
36829 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
36830 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
36831 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
36832 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
36833 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
36834 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
36835 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
36836 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
36837 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
36838 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
36839 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
36841 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36843 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
36846 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36849 * math/math.h (isinf): Check if in C or C++ mode before using
36850 __builtin_types_compatible_p, since this is a C mode feature.
36852 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36854 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
36855 (__write_nocancel): New macro.
36856 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
36857 Rewrite as a function prototype.
36858 (write_not_cancel): Remove macro.
36859 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
36860 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
36861 (write_gmon): Likewise.
36862 * libio/fileops.c (_IO_new_file_write): Likewise.
36863 * login/utmp_file.c (pututline_file): Likewise.
36864 (updwtmp_file): Likewise.
36865 * stdio-common/psiginfo.c (psiginfo): Likewise.
36866 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36867 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36868 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36870 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36873 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
36874 (__read_nocancel): New macro.
36875 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36877 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
36879 (__read_nocancel): New prototype.
36880 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
36881 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
36882 with __read_nocancel.
36883 * intl/loadmsgcat.c (read): Likewise.
36884 * libio/fileops.c (_IO_file_read): Likewise.
36885 * locale/loadlocale.c (_nl_load_locale): Likewise.
36886 * login/utmp_file.c (getutent_r_file): Likewise.
36887 (internal_getut_r): Likewise.
36888 (getutline_r_file): Likewise.
36889 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36890 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
36891 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36892 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36894 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
36895 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36896 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36898 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36900 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36902 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36904 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36906 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36909 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
36910 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
36913 2017-08-17 DJ Delorie <dj@redhat.com>
36915 * bug17079.c: Update to new test harness.
36916 * test-digits-dots.c: Likewise.
36917 * test-netdb.c: Likewise.
36918 * tst-field.c: Likewise.
36919 * tst-nss-getpwent.c: Likewise.
36920 * tst-nss-static.c: Likewise.
36921 * tst-nss-test1.c: Likewise.
36922 * tst-nss-test2.c: Likewise.
36923 * tst-nss-test3.c: Likewise.
36924 * tst-nss-test4.c: Likewise.
36925 * tst-nss-test5.c: Likewise.
36927 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36929 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
36930 (open_not_cancel_2): Likewise.
36931 (open_nocancel): New macro.
36932 (open64_nocancel): Likewise.
36933 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
36934 (open_not_cancel_2): Likewise.
36935 (__open_nocancel): New prototype.
36936 (__open64_nocancel): Likewise.
36937 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36939 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
36940 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
36941 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
36942 with __open_nocancel.
36943 * csu/check_fds.c (check_one_fd): Likewise.
36944 * gmon/gmon.c (write_gmon): Likewise.
36945 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
36946 * intl/loadmsgcat.c (open): Likewise.
36947 * libio/fileops.c (_IO_file_open): Likewise.
36948 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36949 * locale/loadlocale.c (_nl_load_locale): Likewise.
36950 * login/utmp_file.c (setutent_file): Likewise.
36951 * misc/daemon.c (daemon): Likewise.
36952 * nss/nss_db/db-open.c (internal_setent): Likewise.
36953 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36954 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
36955 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36956 (__opendir): Likewise.
36957 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36958 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36959 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36960 (gethostid): Likewise.
36961 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36962 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36964 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36965 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
36966 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36967 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36969 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36971 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36973 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36975 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36977 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36979 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36980 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36982 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
36984 * benchtests/bench-skeleton.c (main): Add support for
36985 latency benchmarking.
36986 * benchtests/scripts/bench.py: Add support for latency benchmarking.
36988 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
36990 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
36991 the startup object.
36993 2017-08-17 Florian Weimer <fweimer@redhat.com>
36995 * include/sys/socket.h (__opensock): Remove internal_function.
36996 * socket/opensock.c (__opensock): Likewise.
36997 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
36999 2017-08-16 Joseph Myers <joseph@codesourcery.com>
37002 * signal/bits/types/__sigval_t.h: New file.
37003 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
37004 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
37005 and define sigval_t using __sigval_t.
37006 * include/bits/types/__sigval_t.h: New file.
37007 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
37008 instead of <bits/types/__sigval_t.h>.
37009 (struct sigevent): Use __sigval_t instead of sigval_t.
37010 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
37011 instead of <bits/types/__sigval_t.h>.
37012 (siginfo_t): Use __sigval_t instead of sigval_t.
37013 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
37014 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
37015 (struct sigevent): Use __sigval_t instead of sigval_t.
37016 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
37017 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
37018 (siginfo_t): Use __sigval_t instead of sigval_t.
37019 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
37021 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37023 * NEWS: Remove "[Add new features here]" for 2.27.
37025 2017-08-16 Joseph Myers <joseph@codesourcery.com>
37027 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
37030 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37032 * NEWS: Mention x86-64 FMA optimization.
37034 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37037 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37039 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
37040 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
37041 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
37043 2017-08-16 Andreas Schwab <schwab@suse.de>
37047 * elf/ldd.bash.in: Never run file directly.
37049 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
37052 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
37053 (L(SP_INF_0)): Likewise.
37055 2017-08-15 Florian Weimer <fweimer@redhat.com>
37057 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
37060 2017-08-15 Florian Weimer <fweimer@redhat.com>
37062 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
37063 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
37064 BROKEN_THREAD_SIGNALS code.
37065 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
37066 request_list): Remove caller_pid member used for
37067 BROKEN_THREAD_SIGNALS.
37068 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
37069 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
37070 Remove BROKEN_THREAD_SIGNALS support.
37071 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
37072 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
37074 2017-08-15 Florian Weimer <fweimer@redhat.com>
37076 * gmon/Makefile (tests): Add tst-gmon.
37077 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
37079 (tests-special): Add tst-gmon-prof.out.
37080 (tst-gmon.out): Depend on clean-tst-gmon-data.
37081 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
37082 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
37083 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
37085 * aclocal.m4 (GPROF): Set and substitute.
37086 * config.amke.in (GPROF): Set.
37087 * configure: Regenerate.
37089 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
37091 * elf/elf.h A (NT_PPC_TAR): New macro.
37092 (NT_PPC_PPR): Likewise.
37093 (NT_PPC_DSCR): Likewise.
37094 (NT_PPC_EBB): Likewise.
37095 (NT_PPC_PMU): Likewise.
37096 (NT_PPC_TM_CGPR): Likewise.
37097 (NT_PPC_TM_CFPR): Likewise.
37098 (NT_PPC_TM_CVMX): Likewise.
37099 (NT_PPC_TM_CVSX): Likewise.
37100 (NT_PPC_TM_SPR): Likewise.
37101 (NT_PPC_TM_CTAR): Likewise.
37102 (NT_PPC_TM_CPPR): Likewise.
37103 (NT_PPC_TM_CDSCR): Likewise.
37105 2017-08-15 Florian Weimer <fweimer@redhat.com>
37107 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
37108 regparm (2) instead of internal_function.
37109 (_MCOUNT_DECL): Adjust.
37111 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
37113 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
37114 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
37116 2017-08-14 Joseph Myers <joseph@codesourcery.com>
37118 * conform/data/sys/wait.h-data (si_value): Do not expect for
37121 2017-08-14 Florian Weimer <fweimer@redhat.com>
37124 NSS: Create stubs for accidentally exported lookup functions.
37125 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
37126 Remove declaration.
37127 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
37128 (ether_hostton): Call __nss_ethers_lookup2 instead.
37129 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
37130 (ether_ntohost): Call __nss_ethers_lookup2 instead.
37131 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
37132 (setup): Call __nss_netgroup_lookup2 instead.
37133 * nss/Makefile (routines): Add compat-lookup.
37134 * nss/Versions (GLIBC_2.27): Add symbol version.
37135 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
37136 (DB_COMPAT_FCT): Remove.
37137 * nss/compat-lookup.c: New file.
37138 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
37139 from databases.def.
37140 * nss/service-lookup.c (NO_COMPAT): Remove definition.
37141 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
37142 (netname2user): Call __nss_publickey_lookup2 instead.
37143 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
37144 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
37147 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37148 Sergei Trofimovich <slyfox@inbox.ru>
37151 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
37152 Rename to MMAP2_PAGE_UNIT.
37153 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
37154 __OFF_T_MATCHES_OFF64_T is not defined.
37155 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
37157 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
37158 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
37160 2017-08-14 Florian Weimer <fweimer@redhat.com>
37162 i386: Do not set internal_function.
37163 * config.h.in (USE_REGPARMS, internal_function): Remove.
37164 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
37165 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
37167 2017-08-14 Florian Weimer <fweimer@redhat.com>
37169 * elf/dl-init.c (_dl_init): Remove internal_function.
37170 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
37171 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
37173 2017-08-14 Florian Weimer <fweimer@redhat.com>
37175 * elf/rtld.c (_dl_start): Remove internal_function.
37176 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
37179 2017-08-14 Florian Weimer <fweimer@redhat.com>
37181 * elf/dl-fini.c (_dl_fini): Remove internal_function
37182 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
37184 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
37186 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
37187 (bit_cpu_SHSTK): Likewise.
37188 (index_cpu_IBT): Likewise.
37189 (index_cpu_SHSTK): Likewise.
37190 (reg_IBT): Likewise.
37191 (reg_SHSTK): Likewise.
37192 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
37193 Handle index_cpu_IBT and index_cpu_SHSTK.
37195 2017-08-14 Mike FABIAN <mfabian@redhat.com>
37198 * po/fr.po: Fix spelling mistake.
37200 2017-08-13 Florian Weimer <fweimer@redhat.com>
37202 * elf/dl-addr.c (_dl_addr): Remove internal_function.
37203 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
37204 (_dl_catch_error, _dl_receive_error): Likewise.
37205 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
37206 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
37207 (_dl_deallocate_tls): Likewise.
37208 * include/dlfcn.h (_dl_addr): Likewise.
37209 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
37210 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
37211 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
37214 2017-08-13 Florian Weimer <fweimer@redhat.com>
37216 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
37217 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
37219 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
37221 2017-08-13 Florian Weimer <fweimer@redhat.com>
37223 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
37225 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
37226 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
37227 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
37228 internal_function from _dl_make_stack_executable_hook member.
37229 (_dl_make_stack_executable): Remove internal_function.
37230 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
37232 * sysdeps/unix/sysv/linux/dl-execstack.c
37233 (_dl_make_stack_executable): Likewise.
37235 2017-08-13 Florian Weimer <fweimer@redhat.com>
37237 * sysdeps/unix/sysv/linux/netlinkaccess.h
37238 (__netlink_assert_response): Remove internal_function.
37239 * sysdeps/unix/sysv/linux/netlink_assert_response.c
37240 (__netlink_assert_response): Likewise.
37242 2017-08-13 Florian Weimer <fweimer@redhat.com>
37244 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
37246 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
37248 2017-08-13 Florian Weimer <fweimer@redhat.com>
37250 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
37252 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
37253 * inet/netgroup.h (__internal_setnetgrent)
37254 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37255 * inet/getnetgrent_r.c (__internal_setnetgrent)
37256 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37257 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
37258 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
37259 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
37260 * nss/nsswitch.h (db_lookup_function): Likewise.
37262 2017-08-13 Florian Weimer <fweimer@redhat.com>
37264 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
37265 Remove internal_function.
37266 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
37267 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
37268 message argument on the stack.
37269 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
37272 2017-08-12 Mike FABIAN <mfabian@redhat.com>
37274 Adapt test case data to the changes in the thousands
37278 * localedata/tst-langinfo.sh: Adapt test case data.
37279 * stdlib/tst-strfmon_l.c: Likewise.
37280 * stdlib/tst-strtod4.c: Likewise.
37281 * stdlib/tst-strtod5i.c: Likewise.
37283 2017-08-11 Florian Weimer <fweimer@redhat.com>
37286 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
37287 Suppress pedantic warning resulting from statement expression.
37288 (__ASSERT_FUNCTION): Add missing __extension__.
37290 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
37292 * benchtests/bench-memmove-large.c: Print output in JSON
37294 * benchtests/bench-memmove.c: Likewise.
37296 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
37297 * benchtests/bench-memchr.c (do_one_test): Likewise.
37298 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
37299 * benchtests/bench-memcpy.c (do_one_test): Likewise.
37300 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
37301 * benchtests/bench-memmove.c (do_one_test): Likewise.
37302 * benchtests/bench-memset-large.c (do_one_test): Likewise.
37303 * benchtests/bench-memset.c (do_one_test): Likewise.
37304 * benchtests/bench-string.h (test_init): Remove memsets.
37306 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37309 (Computing the Width of an Integer Data Type): Rename section to
37310 "Width of an Integer Type". Remove inaccurate statement regarding
37311 lack of C language facilities for determining width of integer
37312 types, and reorder content to improve flow and context of
37315 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37317 * lang.texi (va_copy): Change standard from ISO to C99.
37318 (__va_copy): Add standard and header annotation.
37319 Update description for clarity of origins and current use.
37321 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37324 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
37325 xssqrtqp requires operands to be in Vector Registers
37326 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
37327 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
37328 (__ieee754_sqrtf128): Likewise.
37330 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
37332 * sysdeps/aarch64/memcmp.S (memcmp):
37333 Rewrite of optimized memcmp.
37335 2017-08-10 Florian Weimer <fweimer@redhat.com>
37337 Introduce ld.so exceptions.
37338 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
37339 (_dl_exception_create, _dl_exception_create_format)
37340 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
37341 (_dl_catch_exception): Declare.
37342 (_dl_catch_error): Update comment.
37343 * elf/dl-error-skeleton.c (struct catch): Replace objname,
37344 errstring, malloced members with exception member.
37345 (_dl_out_of_memory): Remove.
37346 (fatal_error): New function, extracted from _dl_signal_error.
37347 (_dl_signal_exception, _dl_signal_cexception): New functions.
37348 (_dl_signal_error): Call _dl_exception_create to allocate an
37350 (_dl_catch_exception): New function, based on _dl_catch_error.
37351 (_dl_catch_error): Implement using _dl_catch_exception.
37352 * elf/dl-exception.c: New file.
37353 * elf/Makefile (dl-routines): Add dl-exception.
37354 (elide-routines.os): Likewise.
37355 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
37356 _dl_exception_create_format, _dl_exception_free.
37357 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
37358 _dl_signal_exception.
37359 * elf/dl-lookup.c (make_string): Remove.
37360 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
37361 _dl_signal_cexception, _dl_exception_free.
37362 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
37363 _dl_signal_exception.
37364 * elf/dl-sym.c (do_sym): Likewise.
37365 * elf/dl-version.c (make_string): Remove.
37366 (match_symbol): Use _dl_exception_create_format,
37367 _dl_signal_cexception, _dl_exception_free.
37368 (_dl_check_map_versions): Likewise.
37369 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
37370 _dl_catch_exception.
37371 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
37372 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
37373 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
37374 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
37375 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
37376 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
37377 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
37378 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
37380 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
37381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
37383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
37385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
37387 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
37388 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
37389 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
37391 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
37393 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
37395 2017-08-10 Florian Weimer <fweimer@redhat.com>
37397 * inet/net-internal.h (__inet6_scopeid_pton): Remove
37398 attribute_hidden, internal_function.
37399 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
37402 2017-08-10 Florian Weimer <fweimer@redhat.com>
37404 * malloc/malloc.c (get_max_fast): Reimplement as an inline
37405 function which calls __builtin_unreachable.
37407 2017-08-10 Mike FABIAN <mfabian@redhat.com>
37409 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
37410 Indian monetary formatting
37411 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
37414 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
37416 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
37417 Fix typo in comment.
37420 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
37421 PTRACE_SEIZE_DEVEL): Remove.
37422 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
37423 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37424 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37425 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37426 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37428 2017-08-09 Joseph Myers <joseph@codesourcery.com>
37430 * posix/bits/types.h (__qaddr_t): Remove.
37433 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
37434 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37436 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
37437 (ucontext_t): Use __ctx with uc_flags.
37438 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
37439 (__ctxt): Likewise.
37440 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37442 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
37443 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37445 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
37446 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37448 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
37450 (ucontext_t): Use __ctx with uc_flags.
37451 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
37452 (ucontext_t): Use __ctx with uc_flags.
37453 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
37454 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
37455 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
37456 (ucontext_t): Use __ctx with uc_flags.
37457 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
37458 undefine further down.
37459 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37461 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
37462 undefine further down.
37463 (ucontext_t): Use __ctx with uc_flags.
37464 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
37465 undefine further down.
37466 (ucontext_t): Use __ctx with uc_flags.
37467 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
37468 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
37469 Rename uc_pad to __glibc_reserved1.
37470 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
37471 undefine further down.
37472 (ucontext_t): Use __ctx with uc_flags.
37473 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
37475 (ucontext_t): Use __ctx with uc_flags.
37476 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
37477 __ctx with uc_flags.
37478 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
37479 (ucontext_t): Use __ctx with uc_flags.
37480 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
37481 __ctx with uc_flags.
37483 2017-08-09 Florian Weimer <fweimer@redhat.com>
37486 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
37487 before early return.
37489 2017-08-09 Andreas Schwab <schwab@suse.de>
37492 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
37496 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
37497 tst-compat-forwarder.
37498 (modules-names): Add tst-compat-forwarder-mod.
37499 ($(objpfx)tst-compat-forwarder): Depend on
37500 $(objpfx)tst-compat-forwarder-mod.so.
37501 * nptl/tst-compat-forwarder.c: New file.
37502 * nptl/tst-compat-forwarder-mod.c: New file.
37504 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
37506 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
37509 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
37510 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
37512 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
37514 (__libc_ifunc_impl_list): Add __memcpy_falkor.
37515 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
37516 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
37517 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
37519 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
37522 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37525 * manual/setjmp.texi (getcontex): Document uc_stack value
37526 compatibility differences.
37528 2017-08-08 Joseph Myers <joseph@codesourcery.com>
37530 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
37531 (old_malloc_hook): Likewise.
37532 (old_memalign_hook): Likewise.
37533 (old_realloc_hook): Likewise.
37534 (struct hdr): Likewise.
37536 (freehook): Likewise.
37537 (mallochook): Likewise.
37538 (memalignhook): Likewise.
37539 (reallochook): Likewise.
37540 (mprobe): Likewise.
37541 * malloc/mtrace.c (mallwatch): Likewise.
37542 (tr_old_free_hook): Likewise.
37543 (tr_old_malloc_hook): Likewise.
37544 (tr_old_realloc_hook): Likewise.
37545 (tr_old_memalign_hook): Likewise.
37546 (tr_where): Likewise.
37547 (lock_and_info): Likewise.
37548 (tr_freehook): Likewise.
37549 (tr_mallochook): Likewise.
37550 (tr_reallochook): Likewise.
37551 (tr_memalignhook): Likewise.
37552 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
37553 * misc/mmap.c (__mmap): Likewise.
37554 * misc/mmap64.c (__mmap64): Likewise.
37555 * misc/mprotect.c (__mprotect): Likewise.
37556 * misc/msync.c (msync): Likewise.
37557 * misc/munmap.c (__munmap): Likewise.
37558 * posix/posix_madvise.c (posix_madvise): Likewise.
37559 * socket/send.c (__send): Likewise.
37560 * socket/sendto.c (__sendto): Likewise.
37561 * socket/setsockopt.c (__setsockopt): Likewise.
37562 * string/memcmp.c (__ptr_t): Remove macro.
37563 (MEMCMP): Use void * instead of ptr_t.
37564 * string/memrchr.c (__ptr_t): Remove macro.
37565 (__memrchr): Use void * instead of ptr_t.
37566 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
37567 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
37568 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
37569 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
37570 * sysdeps/mach/msync.c (msync): Likewise.
37571 * sysdeps/mach/munmap.c (__munmap): Likewise.
37572 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
37574 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37575 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
37576 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
37577 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
37578 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
37579 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37580 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
37581 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
37583 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37584 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
37585 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
37586 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
37587 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
37588 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
37589 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
37590 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
37591 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
37593 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
37594 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
37595 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
37596 (MEMCMP): Use void * instead of ptr_t.
37597 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
37598 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
37600 2017-08-08 Florian Weimer <fweimer@redhat.com>
37602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
37605 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
37608 * csu/libc-tls.c: Include <startup.h> first.
37609 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
37610 * elf/dl-tunables.c: Include <startup.h> first.
37611 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
37612 * sysdeps/generic/startup.h: New file.
37613 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
37614 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
37615 (I386_USE_SYSENTER): New. Defined to 0.
37617 2017-08-08 Andreas Schwab <schwab@suse.de>
37620 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
37621 * nptl/pt-system.c (system): Likewise.
37623 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37626 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
37628 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
37629 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
37630 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
37631 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
37632 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
37633 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
37634 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
37636 2017-08-07 Joseph Myers <joseph@codesourcery.com>
37639 * bits/sigaction.h (struct sigaction): Define sa_handler and
37640 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
37641 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37642 [__USE_XOPEN_EXTENDED].
37643 (SA_RESTART): Likewise.
37644 (SA_NODEFER): Likewise.
37645 (SA_RESETHAND): Likewise.
37646 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
37647 (struct sigaction): Define sa_handler and sa_sigaction using union
37648 also for [__USE_XOPEN_EXTENDED].
37649 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37650 [__USE_XOPEN_EXTENDED].
37651 (SA_RESTART): Likewise.
37652 (SA_NODEFER): Likewise.
37653 (SA_RESETHAND): Likewise.
37654 * sysdeps/unix/sysv/linux/bits/sigaction.h
37655 (struct sigaction): Define sa_handler and sa_sigaction using union
37656 also for [__USE_XOPEN_EXTENDED].
37657 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37658 [__USE_XOPEN_EXTENDED].
37659 (SA_RESTART): Likewise.
37660 (SA_NODEFER): Likewise.
37661 (SA_RESETHAND): Likewise.
37662 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
37663 (struct sigaction): Define sa_handler and sa_sigaction using union
37664 also for [__USE_XOPEN_EXTENDED].
37665 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37666 [__USE_XOPEN_EXTENDED].
37667 (SA_RESTART): Likewise.
37668 (SA_NODEFER): Likewise.
37669 (SA_RESETHAND): Likewise.
37670 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
37671 (struct sigaction): Define sa_handler and sa_sigaction using union
37672 also for [__USE_XOPEN_EXTENDED].
37673 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37674 [__USE_XOPEN_EXTENDED].
37675 (SA_RESTART): Likewise.
37676 (SA_NODEFER): Likewise.
37677 (SA_RESETHAND): Likewise.
37678 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37679 (struct sigaction): Define sa_handler and sa_sigaction using union
37680 also for [__USE_XOPEN_EXTENDED].
37681 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37682 [__USE_XOPEN_EXTENDED].
37683 (SA_RESTART): Likewise.
37684 (SA_NODEFER): Likewise.
37685 (SA_RESETHAND): Likewise.
37686 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37687 (struct sigaction): Define sa_handler and sa_sigaction using union
37688 also for [__USE_XOPEN_EXTENDED].
37689 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37690 [__USE_XOPEN_EXTENDED].
37691 (SA_RESTART): Likewise.
37692 (SA_NODEFER): Likewise.
37693 (SA_RESETHAND): Likewise.
37694 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37695 (struct sigaction): Define sa_handler and sa_sigaction using union
37696 also for [__USE_XOPEN_EXTENDED].
37697 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37698 [__USE_XOPEN_EXTENDED].
37699 (SA_RESTART): Likewise.
37700 (SA_NODEFER): Likewise. Define directly rather than as alias.
37701 (SA_RESETHAND): Likewise.
37702 (SA_INTERRUPT): Define only for [__USE_MISC].
37703 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
37704 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
37706 (SA_STACK): Define only for [__USE_MISC].
37707 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
37708 (struct sigaction): Define sa_handler and sa_sigaction using union
37709 also for [__USE_XOPEN_EXTENDED].
37710 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37711 [__USE_XOPEN_EXTENDED].
37712 (SA_RESTART): Likewise.
37713 (SA_NODEFER): Likewise.
37714 (SA_RESETHAND): Likewise.
37715 (SA_NOPTRACE): Define only for [__USE_MISC].
37717 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
37718 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
37719 (struct catalog_info): Likewise.
37720 * inet/htontest.c (lo): Likewise.
37722 * inet/inet_lnaof.c (inet_lnaof): Likewise.
37723 * inet/inet_net.c (inet_network): Likewise.
37724 * inet/inet_netof.c (inet_netof): Likewise.
37725 * inet/rcmd.c (__ivaliduser): Likewise.
37726 (iruserok): Likewise.
37727 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
37728 * locale/programs/locale-spec.c (locale_special): Likewise.
37729 * nis/nis_findserv.c (struct findserv_req): Likewise.
37730 (__nis_findfastest_with_timeout): Likewise.
37731 * nss/test-netdb.c (test_network): Likewise.
37732 * resolv/inet_neta.c (inet_neta): Likewise.
37733 * resolv/ns_date.c (ns_datetosecs): Likewise.
37734 (SECS_PER_DAY): Likewise.
37735 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
37737 * resolv/res_comp.c (__putlong): Likewise.
37738 (__putshort): Likewise.
37739 (_getlong): Likewise.
37740 (_getshort): Likewise.
37741 * resolv/res_debug.c (p_time): Likewise.
37742 (precsize_ntoa): Likewise.
37743 (precsize_aton): Likewise.
37744 (latlon2ul): Likewise.
37745 (loc_aton): Likewise.
37746 (loc_ntoa): Likewise.
37747 * resolv/res_hconf.c (struct netaddr): Likewise.
37748 (_res_hconf_reorder_addrs): Likewise.
37749 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
37750 (clnttcp_control): Likewise.
37751 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37752 (clntudp_control): Likewise.
37753 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
37754 (clntunix_control): Likewise.
37755 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
37756 * sunrpc/rpc/auth.h (union des_block): Likewise.
37757 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
37758 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
37759 (xdrrec_create): Likewise.
37760 (xdrrec_endofrecord): Likewise.
37761 (flush_out): Likewise.
37762 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
37763 (xdrstdio_putlong): Likewise.
37764 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
37767 * misc/sys/cdefs.h (__long_double_t): Remove.
37768 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
37769 instead of __long_double_t,
37770 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
37772 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
37774 * benchtests/scripts/compare_strings.py: Avoid display error when
37775 running on a text terminal.
37777 * benchtests/scripts/compare_strings.py (main): Add an
37778 optional -base option.
37779 (process_results): New argument base_func.
37781 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
37783 * benchtests/bench-memcpy-large.c (test_name): Likewise.
37784 * benchtests/bench-memcpy-random.c (test_name): Likewise.
37786 2017-08-07 Andreas Schwab <schwab@suse.de>
37788 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
37789 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37790 * intl/Makefile ($(objpfx)tst-gettext.out)
37791 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
37792 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
37793 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37794 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37795 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
37796 * posix/Makefile ($(objpfx)globtest.out)
37797 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
37798 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
37799 ($(objpfx)tst-printf.out): Likewise.
37800 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
37801 ($(objpfx)tst-setcontext3.out): Likewise.
37803 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
37805 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37806 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
37807 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
37808 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
37809 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
37811 (CFLAGS-doasin-fma.c): New.
37812 (CFLAGS-dosincos-fma.c): Likewise.
37813 (CFLAGS-e_asin-fma.c): Likewise.
37814 (CFLAGS-e_atan2-fma.c): Likewise.
37815 (CFLAGS-e_exp-fma.c): Likewise.
37816 (CFLAGS-e_log-fma.c): Likewise.
37817 (CFLAGS-e_pow-fma.c): Likewise.
37818 (CFLAGS-halfulp-fma.c): Likewise.
37819 (CFLAGS-mpa-fma.c): Likewise.
37820 (CFLAGS-mpatan-fma.c): Likewise.
37821 (CFLAGS-mpatan2-fma.c): Likewise.
37822 (CFLAGS-mpexp-fma.c): Likewise.
37823 (CFLAGS-mplog-fma.c): Likewise.
37824 (CFLAGS-mpsqrt-fma.c): Likewise.
37825 (CFLAGS-mptan-fma.c): Likewise.
37826 (CFLAGS-s_atan-fma.c): Likewise.
37827 (CFLAGS-sincos32-fma.c): Likewise.
37828 (CFLAGS-slowexp-fma.c): Likewise.
37829 (CFLAGS-slowpow-fma.c): Likewise.
37830 (CFLAGS-s_sin-fma.c): Likewise.
37831 (CFLAGS-s_tan-fma.c): Likewise.
37832 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
37833 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
37834 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
37835 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
37836 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
37837 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
37838 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
37839 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
37840 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
37841 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
37842 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
37843 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
37844 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
37845 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
37846 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
37847 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
37848 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
37849 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
37850 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
37851 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
37852 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
37853 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
37854 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
37855 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
37856 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37857 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37858 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37859 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
37860 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37861 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37862 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37864 2017-08-04 Joseph Myers <joseph@codesourcery.com>
37866 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
37867 (min_of_type_f): New macro.
37868 (min_of_type_): Likewise.
37869 (min_of_type_l): Likewise.
37870 (min_of_type_f128): Likewise.
37871 (min_of_type): Define using __MATH_TG and taking an expression
37873 (math_check_force_underflow): Pass expression instead of type to
37875 (math_check_force_underflow_nonneg): Likewise.
37877 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37879 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
37880 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
37881 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
37883 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37885 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37886 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
37887 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
37888 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
37889 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
37890 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
37891 memcpy_chk-nonshared, mempcpy_chk-nonshared,
37892 memmove_chk-nonshared and memset_chk-nonshared
37893 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
37894 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
37895 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
37896 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
37897 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
37898 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
37899 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
37900 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
37901 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
37902 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
37903 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
37904 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
37905 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
37906 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
37907 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
37908 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
37909 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
37910 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
37911 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
37912 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
37913 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
37914 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
37915 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
37916 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
37917 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
37918 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
37919 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
37920 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
37921 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
37922 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
37923 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
37924 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
37925 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
37926 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37927 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37928 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
37929 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
37930 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
37931 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
37932 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
37933 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
37934 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
37935 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
37936 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
37937 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
37938 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
37939 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
37940 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
37941 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
37942 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
37943 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
37944 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
37945 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
37946 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
37947 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
37948 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
37949 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
37950 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
37951 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
37952 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
37953 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
37954 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
37955 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
37956 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
37957 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
37958 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
37959 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
37960 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
37961 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
37962 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
37963 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
37964 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37965 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37966 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37967 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37968 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37969 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37970 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37971 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37972 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37973 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37974 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37975 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37976 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37977 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37978 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37979 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37980 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37981 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37982 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37983 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37984 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37985 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37986 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37987 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37988 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37989 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37990 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37991 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37992 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37993 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37994 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37995 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37996 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37997 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37998 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37999 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38000 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38002 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38004 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
38005 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
38006 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
38007 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
38008 svml_d_log2_core-sse2, svml_d_log4_core-sse,
38009 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
38010 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
38011 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
38012 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
38013 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
38014 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
38015 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
38016 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
38017 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
38018 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
38019 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
38020 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
38021 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
38022 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
38023 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
38024 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
38025 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
38026 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
38027 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
38028 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
38029 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
38030 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
38031 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
38032 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
38033 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
38034 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
38035 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
38036 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
38037 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
38038 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
38039 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
38040 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
38041 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
38042 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
38043 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
38044 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
38045 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
38046 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
38047 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
38048 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
38049 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
38050 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
38051 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
38052 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
38053 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
38054 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
38055 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
38056 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
38057 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
38058 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
38059 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
38060 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
38061 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
38062 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
38064 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
38065 Don't include <sysdep.h> nor <init-arch.h>.
38066 (_ZGVbN2v_cos): Removed.
38067 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
38069 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
38070 Don't include <sysdep.h> nor <init-arch.h>.
38071 (_ZGVdN4v_cos): Removed.
38072 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
38074 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
38075 Don't include <sysdep.h> nor <init-arch.h>.
38076 (_ZGVeN8v_cos): Removed.
38077 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
38079 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
38080 Don't include <sysdep.h> nor <init-arch.h>.
38081 (_ZGVbN2v_exp): Removed.
38082 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
38084 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
38085 Don't include <sysdep.h> nor <init-arch.h>.
38086 (_ZGVdN4v_exp): Removed.
38087 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
38089 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
38090 Don't include <sysdep.h> nor <init-arch.h>.
38091 (_ZGVeN8v_exp): Removed.
38092 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
38094 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
38095 Don't include <sysdep.h> nor <init-arch.h>.
38096 (_ZGVbN2v_log): Removed.
38097 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
38099 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
38100 Don't include <sysdep.h> nor <init-arch.h>.
38101 (_ZGVdN4v_log): Removed.
38102 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
38104 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
38105 Don't include <sysdep.h> nor <init-arch.h>.
38106 (_ZGVeN8v_log): Removed.
38107 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
38109 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
38110 Don't include <sysdep.h> nor <init-arch.h>.
38111 (_ZGVbN2vv_pow): Removed.
38112 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
38114 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
38115 Don't include <sysdep.h> nor <init-arch.h>.
38116 (_ZGVdN4vv_pow): Removed.
38117 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
38119 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
38120 Don't include <sysdep.h> nor <init-arch.h>.
38121 (_ZGVeN8vv_pow): Removed.
38122 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
38124 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
38125 Don't include <sysdep.h> nor <init-arch.h>.
38126 (_ZGVbN2v_sin): Removed.
38127 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
38129 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
38130 Don't include <sysdep.h> nor <init-arch.h>.
38131 (_ZGVbN4v_sin): Removed.
38132 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
38134 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
38135 Don't include <sysdep.h> nor <init-arch.h>.
38136 (_ZGVbN8v_sin): Removed.
38137 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
38139 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
38140 Don't include <sysdep.h> nor <init-arch.h>.
38141 (_ZGVbN2vvv_sincos): Removed.
38142 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
38144 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
38145 Don't include <sysdep.h> nor <init-arch.h>.
38146 (_ZGVdN4vvv_sincos): Removed.
38147 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
38149 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
38150 Don't include <sysdep.h> nor <init-arch.h>.
38151 (_ZGVeN8vvv_sincos): Removed.
38152 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
38154 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
38155 Don't include <sysdep.h> nor <init-arch.h>.
38156 (_ZGVeN16v_cosf): Removed.
38157 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
38159 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
38160 Don't include <sysdep.h> nor <init-arch.h>.
38161 (_ZGVbN4v_cosf): Removed.
38162 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
38164 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
38165 Don't include <sysdep.h> nor <init-arch.h>.
38166 (_ZGVdN8v_cosf): Removed.
38167 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
38169 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
38170 Don't include <sysdep.h> nor <init-arch.h>.
38171 (_ZGVeN16v_expf): Removed.
38172 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
38174 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
38175 Don't include <sysdep.h> nor <init-arch.h>.
38176 (_ZGVbN4v_expf): Removed.
38177 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
38179 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
38180 Don't include <sysdep.h> nor <init-arch.h>.
38181 (_ZGVdN8v_expf): Removed.
38182 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
38184 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
38185 Don't include <sysdep.h> nor <init-arch.h>.
38186 (_ZGVeN16v_logf): Removed.
38187 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
38189 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
38190 Don't include <sysdep.h> nor <init-arch.h>.
38191 (_ZGVbN4v_logf): Removed.
38192 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
38194 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
38195 Don't include <sysdep.h> nor <init-arch.h>.
38196 (_ZGVdN8v_logf): Removed.
38197 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
38199 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
38200 Don't include <sysdep.h> nor <init-arch.h>.
38201 (_ZGVeN16vv_powf): Removed.
38202 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
38204 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
38205 Don't include <sysdep.h> nor <init-arch.h>.
38206 (_ZGVbN4vv_powf): Removed.
38207 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
38209 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
38210 Don't include <sysdep.h> nor <init-arch.h>.
38211 (_ZGVdN8vv_powf): Removed.
38212 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
38214 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
38215 Don't include <sysdep.h> nor <init-arch.h>.
38216 (_ZGVeN16vvv_sincosf): Removed.
38217 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
38219 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
38220 Don't include <sysdep.h> nor <init-arch.h>.
38221 (_ZGVbN4vvv_sincosf): Removed.
38222 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
38224 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
38225 Don't include <sysdep.h> nor <init-arch.h>.
38226 (_ZGVdN8vvv_sincosf): Removed.
38227 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
38229 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
38230 Don't include <sysdep.h> nor <init-arch.h>.
38231 (_ZGVeN16v_sinf): Removed.
38232 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
38234 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
38235 Don't include <sysdep.h> nor <init-arch.h>.
38236 (_ZGVbN4v_sinf): Removed.
38237 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
38239 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
38240 Don't include <sysdep.h> nor <init-arch.h>.
38241 (_ZGVdN8v_sinf): Removed.
38243 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38245 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38246 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
38247 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
38248 s_rint-sse4_1 and s_rintf-sse4_1.
38249 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
38250 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
38251 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
38252 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
38253 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
38254 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
38255 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
38256 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
38257 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
38258 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
38259 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
38260 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38262 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
38263 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
38264 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38265 (__ceilf): Removed.
38266 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
38267 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
38268 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38269 (__floor): Removed.
38270 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
38271 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
38272 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38273 (__floorf): Removed.
38274 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
38275 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
38276 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38277 (__nearbyint): Removed.
38278 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
38279 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
38280 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38281 (__nearbyintf): Removed.
38282 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
38283 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
38284 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38286 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
38287 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
38288 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38289 (__rintf): Removed.
38291 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38293 * sysdeps/i386/start.S (_start): Check Check PIC instead of
38294 SHARED. Avoid dynamic relocation against main in static PIE.
38296 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38299 * elf/Makefile (CFLAGS-tst-prelink.c): New.
38300 (LDFLAGS-tst-prelink): Likewise.
38302 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38304 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
38305 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
38306 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
38307 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
38308 (INTERNAL_SYSCALL_NCS): Likewise.
38309 (LOADARGS_1): Likewise.
38310 (LOADARGS_5): Likewise.
38311 (RESTOREARGS_1): Likewise.
38312 (RESTOREARGS_5): Likewise.
38314 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38316 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
38317 (MEMPCPY_SYMBOL): Likewise.
38318 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38319 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
38320 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
38322 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38323 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
38325 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
38326 (__hidden_ver1): Don't use in libc.a.
38327 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
38328 (__mempcpy): Don't create a weak alias in libc.a.
38329 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
38331 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
38332 (__hidden_ver1): Don't use in libc.a.
38334 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38336 * config.make.in (have-insert): New.
38337 * configure.ac (libc_cv_insert): New. Set to yes if linker
38338 supports INSERT in linker script.
38339 (AC_SUBST(libc_cv_insert): New.
38340 * configure: Regenerated.
38341 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
38342 if $(have-insert) == yes.
38344 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38346 * elf/Makefile (tests): Add vismain only if
38347 $(have-protected-data) == yes.
38348 (tests-pie): Likewise.
38350 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38353 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
38354 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
38356 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38359 * sysdeps/i386/i586/memset.S
38360 (__memset_zero_constant_len_parameter): Removed.
38361 * sysdeps/i386/i686/memset.S
38362 (__memset_zero_constant_len_parameter): Likewise.
38363 * sysdeps/i386/i686/multiarch/memset_chk.S
38364 (__memset_zero_constant_len_parameter): Likewise.
38365 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
38368 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38370 * stdlib/getentropy.c (getentropy): Change return type to int.
38372 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38374 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
38376 2017-08-03 Joseph Myers <joseph@codesourcery.com>
38378 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
38380 * math/s_nexttowardf.c (__nexttowardf): Likewise.
38381 * sysdeps/generic/math_private.h (ieee_double_shape_type):
38383 (ieee_float_shape_type): Likewise.
38384 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
38385 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
38386 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38387 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38388 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
38389 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
38390 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
38391 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38392 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
38394 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38395 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
38396 (__ieee754_yn): Likewise.
38397 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38398 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38399 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
38401 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38402 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
38403 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
38404 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
38405 (__erfc): Likewise.
38406 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
38407 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
38408 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
38409 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
38410 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
38411 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
38413 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
38414 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
38415 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
38416 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
38417 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38418 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
38419 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
38420 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
38421 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
38422 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
38423 (__issignaling): Likewise.
38424 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
38425 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
38426 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
38428 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38429 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
38430 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
38431 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
38433 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
38435 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
38436 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
38437 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
38438 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
38439 (__erfcf): Likewise.
38440 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
38441 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
38442 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
38443 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
38445 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
38446 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
38448 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
38449 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
38450 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
38451 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
38452 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
38453 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38454 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
38455 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
38457 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
38459 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
38461 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
38462 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
38464 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38466 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
38467 (__ieee754_ynl): Likewise.
38468 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
38469 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
38471 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
38473 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
38474 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
38475 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38477 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
38478 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
38479 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
38480 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
38481 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
38482 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
38483 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
38484 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
38486 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
38487 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
38488 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
38490 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
38491 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
38492 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
38493 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
38494 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
38495 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38497 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38499 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38501 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38503 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
38504 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38505 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38506 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
38507 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
38508 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
38509 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
38511 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38513 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38514 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38516 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
38517 (__ieee754_remainderl): Likewise.
38518 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38519 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38520 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38521 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38523 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38524 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38526 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38527 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
38528 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
38529 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
38530 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38531 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38533 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
38534 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
38535 (__ieee754_y0l): Likewise.
38538 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38539 (__ieee754_y1l): Likewise.
38542 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
38543 (__ieee754_ynl): Likewise.
38544 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
38545 (__ieee754_lgammal_r): Likewise.
38546 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
38548 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
38549 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
38550 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
38551 (__erfcl): Likewise.
38552 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
38553 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
38555 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
38556 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
38557 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
38558 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
38559 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
38560 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38561 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38563 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
38564 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38565 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
38566 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
38567 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38569 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
38570 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
38572 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
38573 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
38574 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
38575 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38576 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
38578 2017-08-03 Florian Weimer <fweimer@redhat.com>
38581 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
38582 on memory allocation failure.
38584 2017-08-03 Alan Modra <amodra@gmail.com>
38586 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
38587 tst-tlsopt-powerpc.c with function name change and no test harness.
38588 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
38589 Call tls_get_addr_opt_test.
38590 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
38591 (modules-names): Add mod-tlsopt-powerpc.
38592 (mod-tlsopt-powerpc.so-no-z-defs): Define.
38593 (tst-tlsopt-powerpc): Depend on .so.
38594 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
38595 define. Expand use in TLS_GD and TLS_LD.
38597 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38599 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
38601 * sysdeps/posix/shm_open.c: Include <pthread.h>.
38603 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38606 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
38607 comparing size with that of double.
38608 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38609 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38610 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38611 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38612 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38613 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
38614 unsigned __int128 types.
38616 2017-08-02 Steve Ellcey <sellcey@cavium.com>
38618 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
38619 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
38620 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
38621 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
38622 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
38624 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38626 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
38628 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38630 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
38632 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38633 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38634 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38635 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38636 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38637 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38638 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38640 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38643 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
38644 bit-field expressions passed to sizeof or typeof.
38645 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38646 (__TGMATH_F128): Likewise.
38647 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38648 (__TGMATH_CF128): Likewise.
38649 (__TGMATH_UNARY_REAL_ONLY): Likewise.
38650 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
38651 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
38652 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
38653 (__TGMATH_BINARY_REAL_ONLY): Likewise.
38654 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38655 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38656 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38657 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38658 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
38659 (__TGMATH_UNARY_REAL_IMAG): Likewise.
38660 (__TGMATH_UNARY_IMAG): Likewise.
38661 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
38662 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38663 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
38665 (define_vars_for_type): Handle bit_field type specially.
38666 (Tests.__init__): Declare structure with bit-field element.
38668 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38671 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
38672 (MEMCPY_CHK): Define only if SHARED is defined.
38673 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
38675 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
38678 See ChangeLog.18 for earlier changes.