1 2019-09-17 Mike FABIAN <mfabian@redhat.com>
3 * localedata/locales/az_AZ: Make lang_name agree with CLDR
4 * localedata/locales/be_BY@latin: Make lang_name agree with langtable
5 * localedata/locales/ber_DZ: Make language, country_name, lang_name agree with langtable
6 * localedata/locales/ber_MA: Add country_name from langtable, make language, lang_name agree with langtable
7 * localedata/locales/bhb_IN: Add country_name from langtable, make lang_name agree with langtable
8 * localedata/locales/bho_IN: Add country_name from langtable
9 * localedata/locales/chr_US: Make country_name agree with CLDR
10 * localedata/locales/crh_UA: Make lang_name agree with langtable
11 * localedata/locales/csb_PL: Add country_name from langtable
12 * localedata/locales/doi_IN: Add country_name from langtable
13 * localedata/locales/dv_MV: Add country_name from langtable
14 * localedata/locales/eo: Fix capitalisation of lang_name, agree with CLDR
15 * localedata/locales/hak_TW: Make lang_name agree with langtable
16 * localedata/locales/hif_FJ: Make lang_name agree with langtable
17 * localedata/locales/hne_IN: Add country_name from langtable
18 * localedata/locales/ia_FR: Fix capitalisation of lang_name, agree with CLDR
19 * localedata/locales/id_ID: Make lang_name agree with CLDR
20 * localedata/locales/ig_NG: Make country_name, lang_name agree with CLDR
21 * localedata/locales/kab_DZ: Make country_name agree with CLDR
22 * localedata/locales/ks_IN: Make country_name agree with CLDR
23 * localedata/locales/ku_TR: Make country_name, lang_name agree with CLDR
24 * localedata/locales/mag_IN: Add country_name from langtable
25 * localedata/locales/mfe_MU: Make country_name agree with CLDR
26 * localedata/locales/mhr_RU: Add lang_name from langtable
27 * localedata/locales/mi_NZ: Make lang_name agree with CLDR
28 * localedata/locales/ms_MY: Make lang_name agree with CLDR
29 * localedata/locales/nan_TW: Make lang_name agree with langtable
30 * localedata/locales/nan_TW@latin: Make lang_name agree with langtable
31 * localedata/locales/nds_DE: Make lang_name agree with langtable
32 * localedata/locales/nds_NL: Make lang_name agree with langtable
33 * localedata/locales/nhn_MX: Add country_name from langtable, make lang_name agree with langtable
34 * localedata/locales/niu_NU: Add country_name, lang_name from langtable
35 * localedata/locales/niu_NZ: Add lang_name from langtable
36 * localedata/locales/nr_ZA: Fix capitalisation of lang_name from langtable
37 * localedata/locales/oc_FR: Fix capitalisation of lang_name from langtable
38 * localedata/locales/or_IN: Fix spelling of language from langtable
39 * localedata/locales/pa_PK: Make country_name agree with CLDR
40 * localedata/locales/ps_AF: Make country_name agree with CLDR
41 * localedata/locales/quz_PE: Make language, lang_name agree with langtable
42 * localedata/locales/raj_IN: Make country_name, lang_name agree with langtable
43 * localedata/locales/rw_RW: Make country_name agree with CLDR
44 * localedata/locales/sah_RU: Make langauge, country_name, lang_name agree with CLDR
45 * localedata/locales/sat_IN: Make country_name, lang_name agree with langtable
46 * localedata/locales/sc_IT: Fix capitalisaton of lang_name according to langtable
47 * localedata/locales/sd_IN: Make country_name, lang_name agree with CLDR
48 * localedata/locales/sd_IN@devanagari: Make lang_name agree with langtable
49 * localedata/locales/shn_MM: Make country_name agree with langtable
50 * localedata/locales/shs_CA: Make language, lang_name agree with langtable
51 * localedata/locales/sm_WS: Make country_name agree with langtable
52 * localedata/locales/ss_ZA: Fix capitalisation of lang_name from langtable
53 * localedata/locales/szl_PL: Add country_name from langtable
54 * localedata/locales/te_IN: Fix country_name from CLDR
55 * localedata/locales/tg_TJ: Add lang_name from CLDR
56 * localedata/locales/the_NP: Add country_name, lang_name from langtable
57 * localedata/locales/tk_TM: Make lang_name agree with CLDR
58 * localedata/locales/tl_PH: Add lang_name from langtable
59 * localedata/locales/to_TO: Make lang_name agree with CLDR
60 * localedata/locales/tpi_PG: Make country_name, lang_name agree with langtable
61 * localedata/locales/tt_RU@iqtelif: Add country_name, lang_name from langtable
62 * localedata/locales/ug_CN: Add lang_name from CLDR
63 * localedata/locales/unm_US: Add lang_name from langtable
64 * localedata/locales/wa_BE: Fix capitalisation of lang_name from langtable
65 * localedata/locales/wo_SN: Add lang_name from CLDR
66 * localedata/locales/xh_ZA: Fix capitalisation of country_name, lang_name from CLDR
67 * localedata/locales/yo_NG: Make country_name agree with CLDR
68 * localedata/locales/yuw_PG: Make langauge, lang_name agree with langtable
69 * localedata/locales/zh_HK: Add lang_name from langtable
70 * localedata/locales/zh_SG: Add lang_name from langtable
72 2019-09-30 Joseph Myers <joseph@codesourcery.com>
74 * scripts/build-many-glibcs.py (Context.checkout): Default
75 binutils version to 2.33 branch.
77 2019-10-01 Lukasz Majewski <lukma@denx.de>
79 * include/time.h (valid_timeval_to_timespec64): Add.
80 * include/time.h (valid_timespec_to_timespec64): Likewise.
81 * include/time.h (valid_timespec64_to_timespec): Likewise.
82 * include/time.h (valid_timespec64_to_timeval): Likewise.
84 2019-09-30 Joseph Myers <joseph@codesourcery.com>
86 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
87 (MAP_SYNC): New macro.
88 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
90 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
91 kernel version number to 5.3.
93 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
95 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): Rename to
97 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Accommodate
98 rename of fesetenv_mode to fegetenv_control.
99 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
100 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
101 * sysdeps/powerpc/fpu/fenv_private.h (__libc_femergeenv_ppc): Likewise.
102 (libc_feholdsetround_noex_ppc_ctx): Likewise.
104 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
106 * sysdeps/powerpc/fpu/fenv_private.h
107 (libc_feholdsetround_noex_ppc_ctx): Call fesetenv_mode instead
108 of fesetenv_register.
110 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
112 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status): Rename to
114 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Accommodate
115 rename of fegetenv_status to fegetenv_control.
116 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
117 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
118 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Likewise.
119 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
120 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
122 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
124 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline): Use
125 'mffscrn' instruction on POWER9.
126 (__fesetround_inline_nocheck): Likewise.
128 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
130 * sysdeps/powerpc/fpu/fenv_libc.h (FPSCR_EXCEPTIONS_MASK): New.
131 * sysdeps/powerpc/fpu/fenv_private.h (__libc_femergeenv_ppc): Optimize
132 to write FPSCR control only, if exceptions have not changed.
134 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
136 * sysdeps/powerpc/fpu/fenv_libc.h:
137 (__TEST_AND_ENTER_NON_STOP): New.
138 (__TEST_AND_EXIT_NON_STOP): New.
139 * sysdeps/powerpc/fpu/fenv_private.h
140 (_FPU_ALL_TRAPS): Delete, replace with FPSCR_ENABLES_MASK.
141 (_FPU_MASK_RN): Delete.
142 (_FPU_MASK_NOT_RN_NI): Delete.
143 (_FPU_MASK_TRAPS_RN): Delete, replace with ~FPSCR_CONTROL_MASK.
144 (_FPU_MASK_FRAC_INEX_RET_CC): Delete, replace with ~FPSCR_STATUS_MASK.
145 (__libc_feholdbits_ppc): Delete, move code into
146 libc_feholdexcept_setround_ppc.
147 (libc_feholdexcept_ppc): Delete.
148 (libc_fesetround_ppc): Delete.
149 (libc_fetestexcept_ppc): Delete.
150 (libc_feholdsetround_ppc): Delete.
151 (__libc_femergeenv_ppc): Use __TEST_AND_ENTER/EXIT_NON_STOP.
152 (libc_feholdsetround_noex_ppc_ctx): Likewise.
153 (libc_feupdateenv_test_ppc): Use FPSCR defines.
154 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
155 __TEST_AND_ENTER_NON_STOP.
156 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
157 * sysdeps/powerpc/fpu/feholdexcpt.c (__feholdexcept): Likewise.
158 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
159 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
160 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
161 (_FPU_MASK_ALL): Delete.
163 2019-09-27 Joseph Myers <joseph@codesourcery.com>
165 * sysdeps/gnu/netinet/tcp.h (TCP_TX_DELAY): New macro.
167 2019-09-26 Lukasz Majewski <lukma@denx.de>
169 * include/time.h: Add struct __timespec64 definition
171 2019-09-26 Siddhesh Poyarekar <siddhesh@gotplt.org>
173 * scripts/vcs_to_changelog/misc_util.py (decode): Remove latin1
176 2019-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
178 * rt/Makefile (CFLAGS-clock_nanosleep.c): Move to ...
179 * time/Makefile (CFLAGS-clock_nanosleep.c): ... here.
181 * sysdeps/unix/sysv/linux/Makefile
182 (CFLAGS-tst-sigcontextinfo-get_pc.c): Rename to
183 CFLAGS-tst-sigcontext-get_pc.c.
185 2019-09-24 Alistair Francis <alistair.francis@wdc.com>
187 * inet/net-internal.h: Fix uninitalised clntudp_call() variable.
189 2019-09-24 Andreas Schwab <schwab@suse.de>
191 * sysdeps/unix/sysv/linux/arm/sysdep.h
192 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
193 not "__vdso_gettimeofday".
194 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
195 "__vdso_clock_gettime".
196 * sysdeps/unix/sysv/linux/mips/sysdep.h
197 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
198 not "__vdso_gettimeofday".
199 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
200 "__vdso_clock_gettime".
202 2019-09-19 Paul A. Clarke <pc@us.ibm.com>
204 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_and_set_rn): New.
206 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
207 Do not clear enable bits, remove obsolete code, use
209 (libc_feresetround_ppc): Remove obsolete code, use
212 2019-09-19 Stefan Liebler <stli@linux.ibm.com>
214 * support/support_ptrace.c: Remove inclusion of sys/prctl.h.
216 2019-09-19 Stefan Liebler <stli@linux.ibm.com>
218 * sysdeps/s390/hp-timing.h (_HP_TIMING_H): Undefine.
219 (_HP_TIMING_S390_H): Define.
221 2019-09-18 Joseph Myers <joseph@codesourcery.com>
223 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
225 (clone3): New syscall.
226 (pidfd_open): Likewise.
228 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
231 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
233 * sysdeps/s390/hp-timing.h: New file.
235 2019-09-18 Joseph Myers <joseph@codesourcery.com>
237 * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include
239 (CLONE_VM): New macro.
240 (CLONE_VFORK): Likewise.
242 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
244 * elf/tst-pldd.c (do_test): Add UNSUPPORTED check.
245 Rearrange subprocesses.
246 (pldd_process): New function.
247 * support/Makefile (libsupport-routines): Add support_ptrace.
248 * support/xptrace.h: New file.
249 * support/support_ptrace.c: Likewise.
251 2019-09-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
253 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Remove file.
255 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
256 (INTERNAL_VSYSCALL_CALL): Remove.
257 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
258 (INTERNAL_VSYSCALL_CALL): Likewise.
259 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
260 (INTERNAL_VSYSCALL_CALL): Likewise.
261 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_VSYSCALL_CALL):
264 * sysdeps/unix/sysv/linux/libc-vdso.h (VDSO_IFUNC_RET): Define if not
266 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
267 (__get_timebase_freq): Remove use of
268 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK.
269 (get_timebase_freq_fallback): New symbol.
270 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (time): Use
271 HAVE_GETTIMEOFDAY_VSYSCALL.
272 * sysdeps/unix/sysv/linux/powerpc/time.c (gettimeofday): Use
274 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Include generic
276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
277 (INTERNAL_VSYSCALL_CALL_TYPE): Make calling convention similar to
279 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove macro.
280 * .../sysv/linux/powerpc/powerpc64/sysdep.h
281 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Likewise.
282 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
283 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
285 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address,
286 is_sigtramp_address_rt): Use HAVE_SIGTRAMP_{RT}32 instead of SHARED.
287 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address):
289 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove file.
290 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Likewise.
291 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
292 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Likewise.
293 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
294 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Likewise.
295 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
296 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
297 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
298 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
299 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
300 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
301 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
302 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Likewise.
303 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
304 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
305 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
306 HAVE_GETTIMEOFDAY_VSYSCALL): Define value based on kernel exported
308 * sysdeps/unix/sysv/linux/arm/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
309 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
310 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
311 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
312 * sysdeps/unix/sysv/linux/mips/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
313 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
314 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
315 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
316 HAVE_GETCPU_VSYSCALL, HAVE_TIME_VSYSCALL, HAVE_GET_TBFREQ,
317 HAVE_SIGTRAMP_RT64, HAVE_SIGTRAMP_32, HAVE_SIGTRAMP_RT32i,
318 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
319 * sysdeps/unix/sysv/linux/riscv/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
320 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
321 HAVE_GETCPU_VSYSCALL): Likewise.
322 * sysdeps/unix/sysv/linux/s390/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
323 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
324 HAVE_GETCPU_VSYSCALL): Likewise.
325 * sysdeps/unix/sysv/linux/sparc/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
326 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
327 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
328 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
329 HAVE_GETCPU_VSYSCALL): Likewise.
330 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME, VDSO_HASH): Define to
331 invalid names if architecture does not define them.
332 (get_vdso_mangle_symbol): New symbol.
333 * sysdeps/unix/sysv/linux/init-first.c: New file.
334 * sysdeps/unix/sysv/linux/libc-vdso.h: Likewise.
335 * sysdeps/unix/sysv/linux/powerpc/init-first.c (gettimeofday,
336 clock_gettime, clock_getres, getcpu, time): Remove declaration.
337 (__libc_vdso_platform_setup_arch): Likewise and use
338 get_vdso_mangle_symbol to setup vDSO symbols.
339 (sigtramp_rt64, sigtramp32, sigtramp_rt32, get_tbfreq): Add
341 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Likewise.
342 * sysdeps/unix/sysv/linux/sysdep-vdso.h (VDSO_SYMBOL): Remove
345 * sysdeps/unix/make-syscalls.sh: Make vDSO call use get_vdso_symbol.
346 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (__gettimeofday):
347 Use get_vdso_symbol instead of _dl_vdso_vsym.
348 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
349 * sysdeps/unix/sysv/linux/riscv/flush-icache.c
350 (__lookup_riscv_flush_icache): Likewise.
351 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
353 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
354 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
355 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
356 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
357 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
358 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
359 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
360 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
361 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
362 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
363 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
364 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (VDSO_NAME, VDSO_HASH):
366 * sysdeps/unix/sysv/linux/arm/sysdep.h (VDSO_NAME, VDSO_HASH):
368 * sysdeps/unix/sysv/linux/i386/sysdep.h (VDSO_NAME, VDSO_HASH):
370 * sysdeps/unix/sysv/linux/riscv/sysdep.h (VDSO_NAME, VDSO_HASH):
372 * sysdeps/unix/sysv/linux/sparc/sysdep.h (VDSO_NAME, VDSO_HASH):
374 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (VDSO_NAME, VDSO_HASH):
376 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
377 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Remove
379 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
380 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
381 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
382 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
384 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
386 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
387 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
388 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
389 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
390 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
391 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
392 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
393 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
394 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
395 * sysdeps/unix/sysv/linux/s390/sysdep.h: Likewise.
396 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION,
397 PREPARE_VERSION_KNOWN, VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6,
398 VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15,
399 VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29,
400 VDSO_NAME_LINUX_4_15, VDSO_HASH_LINUX_4_15): Remove defines.
401 (get_vdso_symbol): New function.
403 2019-09-17 Chung-Lin Tang <cltang@codesourcery.com>
405 * sysdeps/generic/hp-timing-common.h (HP_TIMING_PRINT): Correct
406 position of string null termination.
408 2019-09-14 Aurelien Jarno <aurelien@aurel32.net>
411 * sysdeps/unix/alpha/getegid.S: Move to ...
412 * sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
413 * sysdeps/unix/alpha/geteuid.S: Move to ...
414 * sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
415 * sysdeps/unix/alpha/getppid.S: Move to ...
416 * sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
418 2019-09-09 Paul Eggert <eggert@cs.ucla.edu>
420 Fix http: URL in 'configure'
421 * configure.ac: Add URL to AC_INIT so that it generates an
422 https: URL instead of an http: URL.
423 * configure: Regenerate.
425 Regenerate charmap-kw.h, locfile-kw.h
426 This propagates the recent http->https URL changes.
427 Since I used gperf 3.1 to regenerate, this is also a minor
428 internal-to-localedef API change.
429 URL problem reported by Joseph Myers in:
430 https://www.sourceware.org/ml/libc-alpha/2019-09/msg00143.html
431 * locale/programs/charmap-kw.h, locale/programs/locfile-kw.h:
432 Regenerate with gperf 3.1.
433 * locale/programs/linereader.h (kw_hash_fct_t):
434 * locale/programs/repertoire.c (repertoiremap_hash):
435 2nd arg is now size_t not unsigned, for compatibility with gperf 3.1.
437 2019-09-05 Florian Weimer <fweimer@redhat.com>
440 * locale/localeinfo.h (_nl_category_names): Remove union wrapper.
441 (_nl_category_names_get): New function.
442 * intl/dcigettext.c (category_to_name): Call it.
443 * locale/findlocale.c (_nl_find_locale): Likewise.
444 * intl/loadlocale.c (_nl_load_locale): Likewise.
445 * locale/newlocale.c (__newlocale): Likewise.
446 * locale/setlocale.c (_nl_category_names): Adjust definition.
447 (_nl_category_name_idxs): Likewise.
448 (new_composite_name): Call _nl_category_names_get.
449 (setlocale): Likewise.
451 2019-09-05 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
453 * math/bits/mathcalls.h (totalorder, totalordermag): Replace
454 const attribute with pure attribute.
456 2019-09-04 Lukasz Majewski <lukma@denx.de>
458 * sysdeps/unix/sysv/linux/kernel-features.h
459 (__ASSUME_TIME64_SYSCALLS): New macro.
461 2019-09-04 Zack Weinberg <zackw@panix.com>
464 * rt/clock_getcpuclockid.c: Move to time/clock_getcpuclockid.c.
465 * rt/clock_getres.c: Move to time/clock_getres.c.
466 * rt/clock_gettime.c: Move to time/clock_gettime.c.
467 * rt/clock_nanosleep.c: Move to time/clock_nanosleep.c.
468 * rt/clock_settime.c: Move to time/clock_settime.c.
469 * rt/tst-clock.c: Move to time/tst-clock.c.
470 * rt/tst-clock2.c: Move to time/tst-clock2.c.
471 * rt/tst-clock_nanosleep.c: Move to time/tst-clock_nanosleep.c.
472 * rt/tst-cpuclock1.c: Move to time/tst-cpuclock1.c.
473 * rt/clock-compat.c: Delete file.
475 * time/clock_getcpuclockid.c
476 * time/clock_getres.c
477 * time/clock_gettime.c
478 * time/clock_nanosleep.c
479 * time/clock_settime.c
480 * sysdeps/posix/clock_getres.c
481 * sysdeps/unix/clock_gettime.c
482 * sysdeps/unix/clock_nanosleep.c
483 * sysdeps/unix/clock_settime.c
484 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
485 * sysdeps/unix/sysv/linux/clock_getres.c
486 * sysdeps/unix/sysv/linux/clock_gettime.c
487 * sysdeps/unix/sysv/linux/clock_nanosleep.c
488 * sysdeps/unix/sysv/linux/clock_settime.c: Define the function
489 defined by this file with default symbol version GLIBC_2_17,
490 and optionally a compatibility alias at symbol version GLIBC_2_2.
491 * include/time.h: Remove internal prototypes for clock_getres,
492 clock_nanosleep, and clock_getcpuclockid.
494 * sysdeps/unix/sysv/linux/clock_gettime.c: Prune includes.
495 Remove unused function realtime_gettime.
497 * rt/Makefile (clock-routines, routines): Remove variable.
498 (librt-routines): Remove clock-compat.
499 (tests): Remove tst-clock, tst-clock2, tst-clock_nanosleep,
501 * time/Makefile (routines): Add clock_getres, clock_gettime,
502 clock_settime, clock_getcpuclockid, and clock_nanosleep.
503 (tests): Add tst-clock, tst-clock2, tst-clock_nanosleep,
506 * rt/Versions (libc): Remove entire stanza.
507 (librt GLIBC_2.2): Remove all clock_* functions.
508 * time/Versions (libc GLIBC_2.2, libc GLIBC_2.17):
509 Add clock_getres, clock_gettime, clock_settime,
510 clock_getcpuclockid, and clock_nanosleep.
511 (libc GLIBC_PRIVATE): Add __clock_gettime.
513 * sysdeps/mach/hurd/i386/librt.abilist
514 * sysdeps/unix/sysv/linux/alpha/librt.abilist
515 * sysdeps/unix/sysv/linux/arm/be/librt.abilist
516 * sysdeps/unix/sysv/linux/arm/le/librt.abilist
517 * sysdeps/unix/sysv/linux/hppa/librt.abilist
518 * sysdeps/unix/sysv/linux/i386/librt.abilist
519 * sysdeps/unix/sysv/linux/ia64/librt.abilist
520 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
521 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
522 * sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
523 * sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
524 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
525 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist
526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
528 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
529 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
530 * sysdeps/unix/sysv/linux/sh/librt.abilist
531 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
532 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
533 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
534 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist:
535 Remove entries for clock_getres, clock_gettime, clock_settime,
536 clock_getcpuclockid, and clock_nanosleep.
538 * sysdeps/mach/hurd/i386/libc.abilist
539 * sysdeps/unix/sysv/linux/alpha/libc.abilist
540 * sysdeps/unix/sysv/linux/arm/libc.abilist
541 * sysdeps/unix/sysv/linux/hppa/libc.abilist
542 * sysdeps/unix/sysv/linux/i386/libc.abilist
543 * sysdeps/unix/sysv/linux/ia64/libc.abilist
544 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
545 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
546 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
547 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
548 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
549 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
553 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
554 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
555 * sysdeps/unix/sysv/linux/sh/be/libc.abilist
556 * sysdeps/unix/sysv/linux/sh/le/libc.abilist
557 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
558 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
559 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
560 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
561 Add another set of entries for clock_getres, clock_gettime,
562 clock_settime, clock_getcpuclockid, and clock_nanosleep at
563 whatever version GLIBC_2.2 maps to.
565 2019-09-03 Aurelien Jarno <aurelien@aurel32.net>
567 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
569 2019-09-03 Florian Weimer <fweimer@redhat.com>
572 * locale/programs/charmap.h (struct charseq): Turn bytes into a
573 flexible array member.
574 * locale/programs/ld-ctype.c (ctype_finish): Use initializer for
577 2019-09-02 Florian Weimer <fweimer@redhat.com>
579 * misc/tst-mntent-autofs.c: New file.
580 * misc/Makefile (tests): Add misc/tst-mntent-autofs.
582 2019-09-02 Ian Kent <ikent@redhat.com>
584 Use autofs "ignore" mount hint in getmntent_r/getmntent.
585 * misc/mntent_r.c (get_mnt_entry): New function, extracted from
587 (__getmntent_r): Call it. Filter out autofs entries with an
588 "ignore" mount option.
590 2019-08-30 Wilco Dijkstra <wdijkstr@arm.com>
592 * benchtests/bench-memcpy.c (simple_memcpy): Remove.
593 (generic_memcpy): Include generic C memcpy.
594 * benchtests/bench-memmove.c (simple_memmove): Remove.
595 (generic_memmove): Include generic C memmove.
596 * benchtests/bench-memset.c (simple_memset): Remove.
597 (generic_memset): Include generic C memset.
598 * benchtests/bench-memset-large.c (simple_memset): Remove.
599 (generic_memset): Include generic C memset.
600 * benchtests/bench-memset-walk.c (simple_memset): Remove.
601 (generic_memset): Include generic C memset.
602 * string/memcpy.c (MEMCPY): Add defines to enable redirection.
603 * string/memset.c (MEMSET): Likewise.
604 * sysdeps/x86_64/memcopy.h: Remove empty file.
606 2019-08-30 Florian Weimer <fweimer@redhat.com>
608 nptl: Move pthread_attr_getinheritsched implementation into libc.
609 * nptl/Makefile (routines): Add pthread_attr_getinheritsched.
610 (libpthread-routines): Remove pthread_attr_getinheritsched.
611 * nptl/Versions (libpthread GLIBC_2.0): Remove
612 pthread_attr_getinheritsched.
613 * nptl/forward.c (pthread_attr_getinheritsched): Remove definition.
614 * nptl/nptl-init.c (pthread_functions): Remove initializer for
615 ptr_pthread_attr_getinheritsched.
616 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
617 Remove ptr_pthread_attr_getinheritsched member.
618 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
619 Remove pthread_attr_getinheritsched.
620 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
622 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
624 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
626 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
628 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
630 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
632 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
634 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
635 (GLIBC_2.4): Likewise.
636 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
637 (GLIBC_2.0): Likewise.
638 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
639 (GLIBC_2.18): Likewise.
640 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
641 (GLIBC_2.18): Likewise.
642 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
643 (GLIBC_2.0): Likewise.
644 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
645 (GLIBC_2.0): Likewise.
646 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
649 (GLIBC_2.0): Likewise.
650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
651 (GLIBC_2.3): Likewise.
652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
653 (GLIBC_2.17): Likewise.
654 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
655 (GLIBC_2.27): Likewise.
656 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
657 (GLIBC_2.0): Likewise.
658 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
659 (GLIBC_2.2): Likewise.
660 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
662 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
664 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
665 (GLIBC_2.0): Likewise.
666 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
667 (GLIBC_2.2): Likewise.
668 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
669 (GLIBC_2.2.5): Likewise.
670 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
671 (GLIBC_2.16): Likewise.
673 2019-08-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
675 * sysdeps/mach/hurd/getcwd.c
676 (_hurd_canonicalize_directory_name_internal): Do not remove the heading
677 slash if we got an unknown root directory. (__getcwd): Do not fail with
678 EGRATUITOUS if we got an unknown root directory.
679 * hurd/hurdselect.c (SELECT_ERROR): New macro.
681 - Add `error' field to `d' structures array.
682 - If a poll descriptor is bogus, set EBADF, but continue with a zero
684 - Go through the whole fd_set, not only until _hurd_dtablesize. Return
685 EBADF there is any bit set above _hurd_dtablesize.
686 - Do not request io_select on bogus descriptors (SELECT_ERROR).
687 - On io_select request error, record the error.
688 - On io_select bogus reply, use EIO error code.
689 - On io_select bogus or error reply, record the error.
690 - Do not destroy reply port for bogus FDs.
691 - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the
692 EBADF case, or else POLLERR.
693 - On error, make select simulated readiness.
696 * sysdeps/mach/hurd/mmap.c (__mmap): Remove optimizing anonymous maps
699 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
700 unlocks SS and returns to the saved PC.
701 (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
702 thread stack instead of the saved PC.
704 2019-08-30 Richard Braun <rbraun@sceen.net>
706 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
708 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
709 * hurd/Makefile (user-interfaces): Add io_reply and io_request.
710 * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and
712 (_hurd_select): Replace the call to __io_select with either
713 __io_select_request or __io_select_timeout_request, depending on the
714 timeout. Count the number of ready descriptors (replies for which at
715 least one type bit is set). Implement the timeout locally when there is
718 2019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
720 * elf/dl-addr.c (determine_info): Calculate the symbol index
721 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
722 * elf/dl-lookup.c (do_lookup_x): Ditto.
723 (_dl_setup_hash): Initialize MIPS xhash translation table.
724 * elf/elf.h (SHT_MIPS_XHASH): New define.
725 (DT_MIPS_XHASH): New define.
726 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
728 (ELF_MACHINE_HASH_SYMIDX): Ditto.
729 (ELF_MACHINE_XHASH_SETUP): Ditto.
730 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
732 (ELF_MACHINE_HASH_SYMIDX): Ditto.
733 (ELF_MACHINE_XHASH_SETUP): Ditto.
734 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
735 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
737 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
739 2019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
741 * sysdeps/sh/preconfigure.ac: New file.
742 * sysdeps/sh/preconfigure: Regenerate.
743 * sysdeps/sh/be/sh3/Implies: New file.
744 * sysdeps/sh/be/sh4/Implies: Likewise.
745 * sysdeps/sh/le/sh3/Implies: Likewise.
746 * sysdeps/sh/le/sh4/Implies: Likewise.
747 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
748 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
749 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
750 sysdeps/unix/sysv/linux/sh/le/*.abilist.
751 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
753 * sysdeps/microblaze/preconfigure.ac: New file.
754 * sysdeps/microblaze/preconfigure: Regenerate.
755 * sysdeps/microblaze/be/implies: New file.
756 * sysdeps/microblaze/le/implies: Likewise.
757 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
758 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
759 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
760 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
761 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
763 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
764 * sysdeps/arm/preconfigure: Regenerate.
765 * sysdeps/arm/be/Implies: New file.
766 * sysdeps/arm/be/armv6/Implies: Likewise.
767 * sysdeps/arm/be/armv6t2/Implies: Likewise.
768 * sysdeps/arm/be/armv7/Implies: Likewise.
769 * sysdeps/arm/le/Implies: Likewise.
770 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
771 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
772 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
773 sysdeps/unix/sysv/linux/arm/le/*.abilist.
774 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
776 2019-08-27 Paul Eggert <eggert@cs.ucla.edu>
778 Fix posix/tst-regex by using UTF-8 and own test input
779 Problem reported by Stefan Liebler in:
780 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
781 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
782 (do_test, test_expr): Adjust to the fact that this source file,
783 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
784 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
785 so that it is now UTF-8.
787 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
789 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
790 (fegetenv_status): Generate 'mffsl' unconditionally.
792 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
794 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
796 (_FPU_MASK_ALL): Delete.
798 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
800 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
801 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
803 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
804 with simpler required steps, set fewer FPSCR bits if possible.
806 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
808 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
809 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
810 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
811 weight access to FPSCR; remove unnecessary second FPSCR read and
813 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
814 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
815 access to FPSCR; Use macros in fenv_libc.h in favor of local.
817 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
819 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
820 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
821 (fenv_exceptions_to_reg): New.
822 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
823 operation with call to fenv_exceptions_to_reg().
824 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
826 2019-08-28 Florian Weimer <fweimer@redhat.com>
828 * misc/mntent.c (struct mntent_buffer): Define.
829 (mntent_buffer): Adjust type to void *.
830 (allocate): Adjust for allocate_once.
831 (deallocate): New function.
832 (getmntent): Call allocate_once.
834 2019-08-28 Florian Weimer <fweimer@redhat.com>
836 nptl: Move pthread_attr_setdetachstate implementation into libc.
837 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
838 (libpthread-routines): Remove pthread_attr_setdetachstate.
839 * nptl/Versions (libpthread GLIBC_2.0): Remove
840 pthread_attr_setdetachstate.
841 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
842 * nptl/nptl-init.c (pthread_functions): Remove initializer for
843 ptr_pthread_attr_setdetachstate.
844 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
845 Remove ptr_pthread_attr_setdetachstate member.
846 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
847 Remove pthread_attr_setdetachstate.
848 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
850 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
852 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
854 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
856 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
858 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
860 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
861 (GLIBC_2.4): Likewise.
862 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
863 (GLIBC_2.0): Likewise.
864 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
865 (GLIBC_2.18): Likewise.
866 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
867 (GLIBC_2.0): Likewise.
868 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
869 (GLIBC_2.0): Likewise.
870 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
873 (GLIBC_2.0): Likewise.
874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
875 (GLIBC_2.3): Likewise.
876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
877 (GLIBC_2.17): Likewise.
878 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
879 (GLIBC_2.27): Likewise.
880 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
881 (GLIBC_2.0): Likewise.
882 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
883 (GLIBC_2.2): Likewise.
884 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
886 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
887 (GLIBC_2.0): Likewise.
888 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
889 (GLIBC_2.2): Likewise.
890 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
891 (GLIBC_2.2.5): Likewise.
892 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
893 (GLIBC_2.16): Likewise.
895 2019-08-28 Florian Weimer <fweimer@redhat.com>
898 * login/Makefile (tests): Add tst-pututxline-lockfail.
899 (tst-pututxline-lockfail): Link with -lpthread.
900 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
901 (__libc_getutid_r): Adjust.
902 (__libc_pututline): Likewise. Check for file_offset == -1.
903 * login/tst-pututxline-lockfail.c: New file.
905 2019-08-28 Stefan Liebler <stli@linux.ibm.com>
907 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
908 * posix/tst-regex.input: New file.
910 2019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
913 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
915 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
916 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
917 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
918 * sysdeps/mips/tst-undefined-weak.c: Likewise.
919 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
920 Increment highest valid ABIVERSION value.
922 2019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
924 * sysdeps/unix/sysv/linux/mips/Makefile
925 (test-xfail-check-execstack):
926 Move under mips-has-gnustack != yes.
927 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
928 Apply -Wa,-execstack if mips-force-execstack == yes.
929 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
930 * sysdeps/unix/sysv/linux/mips/configure.ac
931 (mips-force-execstack): New var.
932 Set to yes for hard-float builds with minimum_kernel < 4.8.0
933 or minimum_kernel not set at all.
934 (mips-has-gnustack): New var.
935 Use value of libc_cv_as_noexecstack
936 if mips-force-execstack != yes, otherwise set to no.
938 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
939 Florian Weimer <fweimer@redhat.com>
941 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
942 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
943 Make a compat_symbol.
944 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
945 (__profil_counter_global): Likewise.
947 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
948 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
950 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
951 sigcontext_get_pc and return aligned cast to uintptr_t.
952 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
953 * sysdeps/posix/profil.c (profil_count): Change PC argument to
955 (__profil): Use SA_SIGINFO.
956 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
958 (__sprofil): Use SA_SIGINFO.
959 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
960 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
961 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
962 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
963 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
964 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
965 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
966 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
967 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
968 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
969 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
970 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
971 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
972 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
973 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
974 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
975 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
976 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
977 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
978 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
979 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
980 GET_PC, __sigaction, sigaction): Remove defines.
981 (sigcontext_get_pc): New function.
982 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
983 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
984 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
985 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
986 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
987 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
988 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
989 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
990 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
991 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
992 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
993 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
994 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
995 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
996 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
997 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
998 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
999 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
1000 Handle CTX argument as ucontext_t.
1001 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1003 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
1004 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1005 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1006 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
1007 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
1008 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1009 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1010 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1011 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
1012 tst-sigcontextinfo-get_pc.
1013 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
1014 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
1016 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1018 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
1021 2019-08-23 Rafał Lużyński <digitalfreak@lingonborough.com>
1024 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
1025 * localedata/locales/ug_CN (first_weekday): Likewise.
1026 * localedata/locales/zh_CN (first_weekday): Likewise.
1028 2019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
1030 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
1031 field name in mcontext_t struct.
1033 2019-08-22 Joseph Myers <joseph@codesourcery.com>
1035 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
1036 unsupported with libidn2 before 2.0.5.
1037 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
1039 * manual/time.texi (strftime): Document %Ob and %OB as C2X
1042 2019-08-21 Paul Eggert <eggert@cs.ucla.edu>
1044 Remove dead regex code
1045 * posix/regex_internal.c (re_node_set_insert):
1046 Remove unnecessary assignment. Reported by Tim Rühsen in:
1047 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
1049 Fix bad pointer / leak in regex code
1050 This was found by Coverity (CID 1484201). [BZ#24844]
1051 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
1052 pointer and/or memory leak when storage is exhausted.
1054 2019-08-21 Zack Weinberg <zackw@panix.com>
1056 * misc/syslog.c (__vsyslog_internal)
1057 * time/getdate.c (__getdate_r)
1058 * time/tst_wcsftime.c (main):
1059 Use return value of time, not its argument.
1061 * string/strfry.c (strfry)
1062 * sysdeps/mach/sleep.c (__sleep):
1063 Remove unnecessary casts of NULL in calls to time.
1065 2019-08-21 Joseph Myers <joseph@codesourcery.com>
1067 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
1068 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
1069 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
1070 (__TGMATH_2_NARROW_F): Likewise.
1071 (__TGMATH_2_NARROW_D): New macro.
1072 (__TGMATH_2_NARROW_F16): Likewise.
1073 (__TGMATH_2_NARROW_F32): Likewise.
1074 (__TGMATH_2_NARROW_F64): Likewise.
1075 (__TGMATH_2_NARROW_F32X): Likewise.
1076 (__TGMATH_2_NARROW_F64X): Likewise.
1077 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
1078 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
1079 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
1080 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
1081 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
1082 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
1083 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
1084 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
1085 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
1086 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
1087 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
1088 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
1089 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
1090 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
1092 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
1094 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
1096 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
1098 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
1100 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
1102 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
1104 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
1106 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1107 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
1108 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1109 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
1110 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1111 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
1112 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
1113 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
1114 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
1116 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
1118 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
1120 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
1122 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1123 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
1124 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1125 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
1126 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1127 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
1128 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1129 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
1130 * math/gen-tgmath-tests.py (Type): Add members
1131 non_standard_real_argument_types_list, long_double_type,
1132 complex_float64_type and float32x_ext_type.
1133 (Type.__init__): Set the new members.
1134 (Type.floating_type): Add new argument floatn.
1135 (Type.real_floating_type): Likewise.
1136 (Type.can_combine_types): Likewise.
1137 (Type.combine_types): Likewise.
1138 (Type.init_types): Create internal Float32x_ext type.
1139 (Tests.__init__): Define Float32x_ext in generated C code.
1140 (Tests.add_tests): Handle narrowing functions.
1141 (Tests.add_all_tests): Likewise.
1142 (Tests.tests_text): Allow variation in mant_dig for narrowing
1143 functions with compilers before GCC 8.
1144 * math/Makefile (tgmath3-narrow-types): New variable.
1145 (tgmath3-narrow-macros): Likewise.
1146 (tgmath3-macros): Add $(tgmath3-narrow-macros).
1148 2019-08-20 Andreas Schwab <schwab@suse.de>
1150 * sysdeps/i386/fpu/libm-test-ulps: Update.
1152 2019-08-19 Carlos O'Donell <carlos@redhat.com>
1154 * nscd/nscd.conf: Add warning and comment about shared option.
1156 2019-08-19 Carlos O'Donell <carlos@redhat.com>
1158 * nss/nsswitch.conf: Expand comments, and simplify defaults.
1159 * manual/nss.texi (NSS Basics): List all known databases.
1160 (Services in the NSS configuration): Mention automount.
1162 2019-08-19 Florian Weimer <fweimer@redhat.com>
1164 Do not print backtraces on fatal errors.
1165 * debug/fortify_fail.c (__libc_argv): Remove declaration.
1166 (__fortify_fail_abort): Remove definition.
1167 (__fortify_fail): Call __libc_message directly.
1168 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
1169 (__stack_chk_fail): Call __fortify_fail instead of
1170 __fortify_fail_abort.
1171 * include/stdio.h (__fortify_fail_abort): Remove declaration.
1172 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
1174 (__libc_message): Do not handle do_backtrace. Do not call
1176 (__libc_fatal): Do not pass do_backtrace to __libc_message.
1177 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
1178 (before_abort): Remove definitions.
1180 2019-08-16 Florian Weimer <fweimer@redhat.com>
1182 nptl: Move pthread_attr_getdetachstate implementation into libc.
1183 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
1184 (libpthread-routines): Remove pthread_attr_getdetachstate.
1185 * nptl/Versions (libpthread GLIBC_2.0): Remove
1186 pthread_attr_getdetachstate.
1187 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
1188 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1189 ptr_pthread_attr_getdetachstate.
1190 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1191 Remove ptr_pthread_attr_getdetachstate member.
1192 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1193 Remove pthread_attr_getdetachstate.
1194 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1196 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1198 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1200 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1202 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1204 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1206 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1207 (GLIBC_2.4): Likewise.
1208 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1209 (GLIBC_2.0): Likewise.
1210 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1211 (GLIBC_2.18): Likewise.
1212 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1213 (GLIBC_2.0): Likewise.
1214 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1215 (GLIBC_2.0): Likewise.
1216 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1219 (GLIBC_2.0): Likewise.
1220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1221 (GLIBC_2.3): Likewise.
1222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1223 (GLIBC_2.17): Likewise.
1224 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1225 (GLIBC_2.27): Likewise.
1226 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1227 (GLIBC_2.0): Likewise.
1228 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1229 (GLIBC_2.2): Likewise.
1230 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1232 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1233 (GLIBC_2.0): Likewise.
1234 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1235 (GLIBC_2.2): Likewise.
1236 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1237 (GLIBC_2.2.5): Likewise.
1238 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1239 (GLIBC_2.16): Likewise.
1241 2019-08-16 Joseph Myers <joseph@codesourcery.com>
1243 * math/libm-test-compat_totalorder.inc (do_test)
1244 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
1245 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
1246 * math/libm-test-compat_totalordermag.inc (do_test)
1247 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
1249 2019-08-15 Florian Weimer <fweimer@redhat.com>
1251 nptl: Move pthread_attr_init implementation into libc.
1252 * nptl/Makefile (routines): Add pthread_attr_init.
1253 (libpthread-routines): Remove pthread_attr_init.
1254 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
1255 (libpthread GLIBC_2.0): Likewise.
1256 * nptl/pthread_attr_init.c: Check for libc compat version instead
1257 of libpthread compat version.
1258 * nptl/forward.c (__pthread_attr_init_2_0)
1259 (__pthread_attr_init_2_1): Remove definitions.
1260 * nptl/nptl-init.c (pthread_functions): Remove initializers for
1261 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
1262 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1263 Remove members ptr___pthread_attr_init_2_0,
1264 ptr___pthread_attr_init_2_1.
1265 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1266 Remove pthread_attr_init.
1267 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1269 (GLIBC_2.1): Likewise.
1270 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1272 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1274 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1276 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1278 (GLIBC_2.1): Likewise.
1279 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1281 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1282 (GLIBC_2.4): Likewise.
1283 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1284 (GLIBC_2.0): Likewise.
1285 (GLIBC_2.1): Likewise.
1286 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1287 (GLIBC_2.18): Likewise.
1288 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1289 (GLIBC_2.0): Likewise.
1290 (GLIBC_2.1): Likewise.
1291 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1292 (GLIBC_2.0): Likewise.
1293 (GLIBC_2.1): Likewise.
1294 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1297 (GLIBC_2.0): Likewise.
1298 (GLIBC_2.1): Likewise.
1299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1300 (GLIBC_2.3): Likewise.
1301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1302 (GLIBC_2.17): Likewise.
1303 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1304 (GLIBC_2.27): Likewise.
1305 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1306 (GLIBC_2.0): Likewise.
1307 (GLIBC_2.1): Likewise.
1308 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1309 (GLIBC_2.2): Likewise.
1310 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1312 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1313 (GLIBC_2.0): Likewise.
1314 (GLIBC_2.1): Likewise.
1315 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1316 (GLIBC_2.2): Likewise.
1317 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1318 (GLIBC_2.2.5): Likewise.
1319 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1320 (GLIBC_2.16): Likewise.
1322 2019-08-15 Florian Weimer <fweimer@redhat.com>
1325 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
1326 new object in __RTLD_OPENEXEC mode (except for the origin).
1327 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
1328 check for the error message.
1329 (do_test): Call it. Add check using relative path.
1330 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
1331 (tst-dlopen-aout-container): Link with libpthread.
1332 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
1334 2019-08-15 Joseph Myers <joseph@codesourcery.com>
1336 * math/bits/mathcalls.h
1337 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1338 (totalorder): Take pointer arguments.
1339 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1340 (totalordermag): Likewise.
1341 * manual/arith.texi (totalorder): Likewise.
1342 (totalorderf): Likewise.
1343 (totalorderl): Likewise.
1344 (totalorderfN): Likewise.
1345 (totalorderfNx): Likewise.
1346 (totalordermag): Likewise.
1347 (totalordermagf): Likewise.
1348 (totalordermagl): Likewise.
1349 (totalordermagfN): Likewise.
1350 (totalordermagfNx): Likewise.
1351 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
1352 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
1353 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
1354 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
1355 totalorderl, totalordermag, totalordermagf, totalordermagl,
1356 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
1357 totalordermagf64, totalordermagf32x, totalorderf64x,
1358 totalordermagf64x, totalorderf128 and totalordermagf128.
1359 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
1360 and compat_totalordermag.
1361 (libm-test-funcs-compat): New variable.
1362 (libm-tests-compat): Likewise.
1363 (tests): Do not include compat tests.
1364 (tests-internal): Add compat tests.
1365 ($(foreach t,$(libm-tests-base),
1366 $(objpfx)$(t)-compat_totalorder.o)): Depend
1367 on $(objpfx)libm-test-totalorder.c.
1368 ($(foreach t,$(libm-tests-base),
1369 $(objpfx)$(t)-compat_totalordermag.o): Depend on
1370 $(objpfx)libm-test-totalordermag.c.
1371 (tgmath3-macros): Remove totalorder and totalordermag.
1372 * math/libm-test-compat_totalorder.inc: New file.
1373 * math/libm-test-compat_totalordermag.inc: Likewise.
1374 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
1375 (RUN_TEST_fpfp_b): New macro.
1376 (RUN_TEST_LOOP_fpfp_b): Likewise.
1377 * math/libm-test-totalorder.inc (totalorder_test_data): Use
1379 (totalorder_test): Condition on [!COMPAT_TEST].
1380 (do_test): Likewise.
1381 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
1383 (totalordermag_test): Condition on [!COMPAT_TEST].
1384 (do_test): Likewise.
1385 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
1386 totalorder and totalordermag.
1387 * math/test-tgmath.c (NCALLS): Change to 132.
1388 (F(compile_test)): Do not call totalorder or totalordermag.
1389 (F(totalorder)): Remove.
1390 (F(totalordermag)): Likewise.
1391 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
1392 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
1393 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
1395 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
1396 [!_ISOMAC] (TEST_SIZE): Update call to STR.
1397 [!_ISOMAC] (TEST_ALIGN): Likewise.
1398 [!_ISOMAC] (TEST_OFFSET): Likewise.
1399 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
1400 and <first-versions.h>.
1401 (__totalorder): Take pointer arguments. Add symbol versions and
1403 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1404 <shlib-compat.h> and <first-versions.h>.
1405 (__totalordermag): Take pointer arguments. Add symbol versions
1407 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1408 <shlib-compat.h> and <first-versions.h>.
1409 (__totalorder): Take pointer arguments. Add symbol versions and
1411 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1412 <shlib-compat.h> and <first-versions.h>.
1413 (__totalordermag): Take pointer arguments. Add symbol versions
1415 * sysdeps/ieee754/float128/float128_private.h
1416 (__totalorder_compatl): New macro.
1417 (__totalordermag_compatl): Likewise.
1418 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
1419 and <first-versions.h>.
1420 (__totalorderf): Take pointer arguments. Add symbol versions and
1422 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1423 <shlib-compat.h> and <first-versions.h>.
1424 (__totalordermagf): Take pointer arguments. Add symbol versions
1426 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1427 <shlib-compat.h> and <first-versions.h>.
1428 (__totalorderl): Take pointer arguments. Add symbol versions and
1430 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1431 <shlib-compat.h> and <first-versions.h>.
1432 (__totalordermagl): Take pointer arguments. Add symbol versions
1434 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1436 (__totalorderl): Take pointer arguments. Add symbol versions and
1438 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1440 (__totalordermagl): Take pointer arguments. Add symbol versions
1442 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1443 <shlib-compat.h> and <first-versions.h>.
1444 (__totalorderl): Take pointer arguments. Add symbol versions and
1446 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1447 <shlib-compat.h> and <first-versions.h>.
1448 (__totalordermagl): Take pointer arguments. Add symbol versions
1450 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
1452 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
1454 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1455 (do_test): Update calls to totalorderl and totalordermagl.
1456 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1457 Update calls to totalorderl and totalordermagl.
1458 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1459 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1460 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1461 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1462 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1463 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1464 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1465 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1466 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1467 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1468 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1469 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1470 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1471 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
1478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
1480 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1481 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1482 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1483 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1484 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1485 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1486 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1487 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1489 2019-08-15 Florian Weimer <fweimer@redhat.com>
1492 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
1493 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
1494 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
1496 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
1497 __attribute_nonstring__ to ut_id.
1498 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
1501 2019-08-15 Florian Weimer <fweimer@redhat.com>
1504 * login/utmp_file.c (file_locking_failed): Use struct flock64.
1505 (file_locking_unlock): Likewise.
1507 2019-08-15 Florian Weimer <fweimer@redhat.com>
1510 login: Disarm timer after utmp lock acquisition.
1511 * login/utmp_file.c (struct file_locking): Remove.
1512 (try_file_lock): Adjust.
1513 (file_lock_restore): Remove function.
1514 (__libc_getutent_r): .
1515 (internal_getut_r): Likewise.
1516 (__libc_getutline_r): Likewise.
1517 (__libc_pututline): Likewise.
1518 (__libc_updwtmp): Likewise.
1520 2019-08-15 Florian Weimer <fweimer@redhat.com>
1522 nptl: Remove pthread_self compatibility symbol from libpthread.
1523 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
1525 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
1526 * nptl/compat-pthread_self.c: Remove file.
1527 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1528 Remove pthread_self.
1529 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1531 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1533 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1535 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1537 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1539 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1540 (GLIBC_2.4): Likewise.
1541 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1542 (GLIBC_2.0): Likewise.
1543 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1544 (GLIBC_2.18): Likewise.
1545 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1546 (GLIBC_2.0): Likewise.
1547 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1548 (GLIBC_2.0): Likewise.
1549 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1552 (GLIBC_2.0): Likewise.
1553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1554 (GLIBC_2.3): Likewise.
1555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1556 (GLIBC_2.17): Likewise.
1557 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1558 (GLIBC_2.0): Likewise.
1559 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1560 (GLIBC_2.2): Likewise.
1561 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1563 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1564 (GLIBC_2.0): Likewise.
1565 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1566 (GLIBC_2.2): Likewise.
1567 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1568 (GLIBC_2.2.5): Likewise.
1569 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1570 (GLIBC_2.16): Likewise.
1572 2019-08-15 Florian Weimer <fweimer@redhat.com>
1574 nptl: Move pthread_attr_destroy implementation into libc.
1575 * nptl/Makefile (routines): Add pthread_attr_destroy.
1576 (libpthread-routines): Remove pthread_attr_destroy.
1577 * nptl/Versions (libpthread GLIBC_2.0): Remove
1578 pthread_attr_destroy.
1579 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
1580 libc compat version instead of libpthread compat version.
1581 * nptl/forward.c (pthread_attr_destroy): Remove definition.
1582 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1583 ptr_pthread_attr_destroy.
1584 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1585 Remove ptr_pthread_attr_destroy member.
1586 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1587 Remove pthread_attr_destroy.
1588 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1590 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1592 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1594 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1596 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1598 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1600 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1601 (GLIBC_2.4): Likewise.
1602 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1603 (GLIBC_2.0): Likewise.
1604 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1605 (GLIBC_2.18): Likewise.
1606 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1607 (GLIBC_2.0): Likewise.
1608 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1609 (GLIBC_2.0): Likewise.
1610 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1613 (GLIBC_2.0): Likewise.
1614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1615 (GLIBC_2.3): Likewise.
1616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1617 (GLIBC_2.17): Likewise.
1618 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1619 (GLIBC_2.27): Likewise.
1620 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1621 (GLIBC_2.0): Likewise.
1622 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1623 (GLIBC_2.2): Likewise.
1624 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1626 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1627 (GLIBC_2.0): Likewise.
1628 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1629 (GLIBC_2.2): Likewise.
1630 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1631 (GLIBC_2.2.5): Likewise.
1632 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1633 (GLIBC_2.16): Likewise.
1635 2019-08-15 Andreas Schwab <schwab@suse.de>
1637 * sysdeps/i386/fpu/libm-test-ulps: Update.
1639 2019-08-15 Florian Weimer <fweimer@redhat.com>
1641 * malloc/Makefile (tests): Only add tst-mxfast for
1643 * malloc/tst-mxfast.c: Fix copyright year.
1644 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
1647 2019-08-15 Florian Weimer <fweimer@redhat.com>
1649 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
1651 * login/Makefile (tests): Add tst-updwtmpx.
1652 * login/tst-updwtmpx.c: New file.
1654 2019-08-15 Florian Weimer <fweimer@redhat.com>
1656 nptl: Move pthread_equal implementation into libc.
1657 * nptl/Makefile (routines): Add pthread_equal.
1658 * nptl/forward.c (pthread_equal): Remove definition.
1659 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1661 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1662 Remove ptr_pthread_equal member.
1663 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1664 Remove pthread_equal.
1665 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1667 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1669 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1671 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1673 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1675 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1677 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1678 (GLIBC_2.4): Likewise.
1679 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1680 (GLIBC_2.0): Likewise.
1681 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1682 (GLIBC_2.18): Likewise.
1683 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1684 (GLIBC_2.0): Likewise.
1685 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1686 (GLIBC_2.0): Likewise.
1687 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1690 (GLIBC_2.0): Likewise.
1691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1692 (GLIBC_2.3): Likewise.
1693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1694 (GLIBC_2.17): Likewise.
1695 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1696 (GLIBC_2.27): Likewise.
1697 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1698 (GLIBC_2.0): Likewise.
1699 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1700 (GLIBC_2.2): Likewise.
1701 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1703 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1704 (GLIBC_2.0): Likewise.
1705 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1706 (GLIBC_2.2): Likewise.
1707 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1708 (GLIBC_2.2.5): Likewise.
1709 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1710 (GLIBC_2.16): Likewise.
1712 2019-08-14 Florian Weimer <fweimer@redhat.com>
1714 * support/support_descriptors.c: Include <support/descriptors.h>.
1716 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
1718 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
1719 Disable DC ZVA code if this macro is defined as zero.
1720 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
1721 Change to zero to disable using DC ZVA.
1723 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1725 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
1727 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
1728 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
1729 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
1730 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
1733 2019-08-13 Florian Weimer <fweimer@redhat.com>
1735 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
1737 (struct file_locking): New.
1738 (try_file_lock, file_unlock, file_lock_restore): New functions.
1739 (__libc_getutent_r): Use the new functions.
1740 (internal_getut_r): Likewise.
1741 (__libc_getutline_r): Likewise.
1742 (__libc_pututline): Likewise.
1743 (__libc_updwtmp): Likewise.
1745 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1747 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
1749 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
1750 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
1751 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
1752 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1753 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1754 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1755 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1757 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1758 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1759 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1761 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1763 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1765 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1767 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1769 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1771 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1773 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
1774 (IEC_60559_BFP_EXT)]: Likewise.
1775 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1777 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1779 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1781 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1783 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1785 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1787 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1789 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1791 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1792 Likewise, except for totalorder, totalordermag, getpayload,
1793 setpayload and setpayloadsig.
1794 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
1795 except for totalorder and totalordermag.
1797 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
1799 (strndup): Likewise.
1801 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
1802 Undefine and define to 1 if [_GNU_SOURCE].
1803 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
1804 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
1805 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
1806 (__USE_ISOC99): Likewise.
1807 (__USE_ISOC95): Likewise.
1808 * manual/creature.texi (_ISOC2X_SOURCE): Document.
1810 2019-08-13 Florian Weimer <fweimer@redhat.com>
1812 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
1814 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
1815 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1816 * login/getutmpx.c (getutmpx): Likewise.
1817 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
1819 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
1820 _HAVE_UT_TV are always true.
1821 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
1822 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1823 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
1824 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
1826 (internal_getut_r): _HAVE_UT_TYPE is always true.
1827 (__libc_pututline): Likewise.
1828 * login/programs/utmpdump.c (print_entry): Assume that
1829 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
1830 _HAVE_UT_TV are always true.
1831 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
1832 _HAVE_UT_ID are always true.
1833 * sysdeps/gnu/bits/utmp.h: Move to ...
1834 * bits/utmp.h: ... here, replacing the old file.
1836 2019-08-12 Florian Weimer <fweimer@redhat.com>
1838 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
1839 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
1841 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
1842 (do_test): Open the executable using an absolute path. Print
1843 error message to standard output.
1845 2019-08-09 DJ Delorie <dj@redhat.com>
1847 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
1848 * manual/tunables.texi: Document it.
1849 * malloc/malloc.c (do_set_mxfast): New.
1850 (__libc_mallopt): Call it.
1851 * malloc/arena.c: Add mxfast tunable.
1852 * malloc/tst-mxfast.c: New.
1853 * malloc/Makefile: Add it.
1855 2019-08-08 Niklas Hambüchen <mail@nh2.me>
1856 Carlos O'Donell <carlos@redhat.com>
1859 * malloc/malloc.c (__malloc_info): Account for top chunk.
1861 2019-08-07 Joseph Myers <joseph@codesourcery.com>
1863 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1864 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
1866 2019-08-06 Joseph Myers <joseph@codesourcery.com>
1868 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
1870 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
1872 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
1874 2019-08-05 Joseph Myers <joseph@codesourcery.com>
1876 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
1879 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1882 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
1884 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
1886 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
1888 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
1890 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1891 (ALWAYS_USE_VSYSCALL): Likewise.
1892 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1893 (ALWAYS_USE_VSYSCALL): Likewise.
1894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1895 (ALWAYS_USE_VSYSCALL): Likewise.
1896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1897 (ALWAYS_USE_VSYSCALL): Likewise.
1898 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1900 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1901 (ALWAYS_USE_VSYSCALL): Likewise.
1902 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1903 (ALWAYS_USE_VSYSCALL): Likewise.
1904 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1908 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
1909 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
1910 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
1911 USE_VSYSCALL): Remove defitions.
1914 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
1915 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
1916 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1920 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
1921 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
1922 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1923 (ALWAYS_USE_VSYSCALL): Define.
1924 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1925 (ALWAYS_USE_VSYSCALL): Likewise.
1928 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
1929 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
1930 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1933 * sysdeps/sh/libm-test-ulps: Update.
1935 2019-08-05 Florian Weimer <fweimer@redhat.com>
1938 * login/uptmp-private.h (struct ufuncs): Remove definition.
1939 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
1940 (__libc_utmp_jump_table): Remove declarations.
1941 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
1942 (__libc_getutline_r, __libc_pututline, __libc_endutent)
1943 (__libc_updwtmp): Declare.
1944 * login/getutent_r.c (__libc_utmp_unknown_functions)
1945 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
1946 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
1947 (endutent_unknown): Remove definitions.
1948 (__setutent): Call __libc_setutent.
1949 (__getutent_r): Call __libc_getutent_r.
1950 (__pututline): Call __libc_pututline.
1951 (__endutent): Call __libc_endutent.
1952 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
1953 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
1954 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
1955 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
1956 (__libc_setutent): Rename from stetutent_file. Drop static.
1957 (maybe_setutent): New function.
1958 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
1959 Check for initialization.
1960 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
1961 Check for initialization.
1962 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
1963 Check for initialization.
1964 (__libc_pututline): Rename from pututline_file. Drop static.
1965 Check for initialization.
1966 (__libc_endutent): Rename from endutent_file. Drop static. Check
1968 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
1969 * login/utmpname.c (__utmpname): Call __libc_endutent.
1970 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
1971 __libc_getutlien_r, __libc_endutent.
1972 * manual/users.texi (Who Logged In, Manipulating the Database):
1975 2019-08-05 Alexandra Hájková <ahajkova@redhat.com>
1977 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
1979 2019-08-02 Joseph Myers <joseph@codesourcery.com>
1981 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
1983 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
1984 kernel version number to 5.2.
1986 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
1988 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
1989 mnemonics and set .machine power8.
1990 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1991 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
1992 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1993 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1994 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1995 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1996 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1997 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1998 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1999 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2001 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2003 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2005 2019-08-01 Florian Weimer <fweimer@redhat.com>
2008 * malloc/malloc.c (__malloc_info): Remove unwanted leading
2011 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2014 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
2017 2019-08-01 Carlos O'Donell <carlos@redhat.com>
2019 * version.h (RELEASE): Set to "stable".
2020 (VERSION): Set to "2.30".
2021 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
2023 * manual/install.texi: Update component versions.
2024 * INSTALL: Regenerate.
2027 2019-07-31 Carlos O'Donell <carlos@redhat.com>
2029 * po/be.po: Update translations.
2030 * po/bg.po: Likewise.
2031 * po/ca.po: Likewise.
2032 * po/cs.po: Likewise.
2033 * po/da.po: Likewise.
2034 * po/de.po: Likewise.
2035 * po/el.po: Likewise.
2036 * po/eo.po: Likewise.
2037 * po/es.po: Likewise.
2038 * po/fi.po: Likewise.
2039 * po/fr.po: Likewise.
2040 * po/gl.po: Likewise.
2041 * po/hr.po: Likewise.
2042 * po/hu.po: Likewise.
2043 * po/ia.po: Likewise.
2044 * po/id.po: Likewise.
2045 * po/it.po: Likewise.
2046 * po/ja.po: Likewise.
2047 * po/ko.po: Likewise.
2048 * po/lt.po: Likewise.
2049 * po/nb.po: Likewise.
2050 * po/nl.po: Likewise.
2051 * po/pl.po: Likewise.
2052 * po/pt_BR.po: Likewise.
2053 * po/ru.po: Likewise.
2054 * po/rw.po: Likewise.
2055 * po/sk.po: Likewise.
2056 * po/sl.po: Likewise.
2057 * po/sv.po: Likewise.
2058 * po/tr.po: Likewise.
2059 * po/uk.po: Likewise.
2060 * po/vi.po: Likewise.
2061 * po/zh_CN.po: Likewise.
2062 * po/zh_TW.po: Likewise.
2064 2019-07-31 Florian Weimer <fweimer@redhat.com>
2068 iconv, libio: Revert reference counting changes.
2069 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
2070 free the steps array.
2071 * libio/Makefile (tests): Remove tst-wfile-gconv.
2072 (tests-container): Do not add tst-wfile-ascii.
2073 (tst-wfile-gconv-ENV): Do not set.
2074 (generated): Do not add tst-wfile-gconv.mtrace,
2075 tst-wfile-gconv.check.
2076 [($run-built-tests)] (tests-special): Do not add
2077 tst-wfile-gconv-mem.out.
2078 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
2079 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
2080 instead of __wcsmbs_clone_conv.
2081 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
2082 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
2084 2019-07-30 Joseph Myers <joseph@codesourcery.com>
2086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2087 (__CONTEXT_FUNC_NAME): Restore setting of r31.
2089 2019-07-30 Florian Weimer <fweimer@redhat.com>
2091 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
2092 type to uintptr_t. Update comment.
2093 (check_stack_top): Adjust.
2095 2019-07-29 Florian Weimer <fweimer@redhat.com>
2097 Linux: Move declaration of getdents64 to <dirent.h>.
2098 * bits/dirent_ext.h: New file.
2099 * dirent/Makefile (headers): Add bits/dirent_ext.h.
2100 * dirent/dirent.h: Include <bits/dirent_ext.h>.
2101 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
2102 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
2104 * manual/filesys.texi (Low-level Directory Access): Update header
2107 2019-07-29 DJ Delorie <dj@redhat.com>
2108 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2111 * Makeconfig (all-subdirs): Improved source comments.
2112 * Makefile (testroot.pristine/install.stamp): Pass
2113 subdirs='$(sorted-subdirs)' to make install.
2115 2019-07-25 Florian Weimer <fweimer@redhat.com>
2118 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
2119 counter before freeing array.
2121 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
2124 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
2126 * sysdeps/x86_64/configure: Regenerated.
2127 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
2128 to -mprefer-vector-width=128 if supported.
2130 2019-07-24 Florian Weimer <fweimer@redhat.com>
2132 * scripts/build-many-glibcs.py (Context.checkout): Default to
2135 2019-07-24 Florian Weimer <fweimer@redhat.com>
2138 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
2139 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
2140 (sysdep_headers): Add bits/socket-constants.h.
2141 (tests-special): Add tst-socket-consts.out.
2142 (tst-socket-consts.out): New target.
2143 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
2144 around <asm/unistd.h>.
2145 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
2146 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
2148 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
2149 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
2150 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
2151 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
2152 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
2153 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
2155 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
2157 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2160 * Makefile (testroot.pristine/install.stamp): Pass
2161 subdirs='$(all-subdirs)' to make install.
2163 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
2164 the same arguments used in all tests.
2166 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2168 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
2170 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
2173 * locale/C-translit.h.in: Add Cyrillic transliteration.
2175 2019-07-19 Florian Weimer <fweimer@redhat.com>
2177 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
2179 (fsconfig): Add system call name.
2180 (fsmount): Likewise.
2183 (move_mount): Likewise.
2184 (open_tree): Likewise.
2186 2019-07-18 Carlos O'Donell <carlos@redhat.com>
2188 * po/libc.pot: Regenerate.
2190 2019-07-18 Mike Crowe <mac@mcrowe.com>
2192 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
2193 functions recently added to sysdeps/nptl/pthread.h:
2194 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
2195 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
2197 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
2198 pthread_cond_clockwait forwarding functions. There are no internal
2199 users, so it is unnecessary to expose these functions in libc.so.
2200 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
2201 unnecessary ptr___pthread_cond_clockwait member.
2202 * nptl/nptl-init.c (pthread_functions): Remove assignment of
2205 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2208 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
2209 begin with an uppercase letter now.
2211 (mon): Update from CLDR, reword February from "Kudo" to
2212 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
2213 and August from "Liiqen" to "Leqeeni".
2214 * localedata/locales/aa_ER (mon): Update from CLDR, reword
2215 April from "Agda Baxisso" to "Agda Baxis" and August from
2216 "Leqeeni" to "Liiqen".
2217 * localedata/locales/aa_ER@saaho (mon): Likewise.
2218 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
2219 abbreviated February from "Kud" to "Nah".
2220 (mon): Update from CLDR, reword February from "Kudo" to
2221 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
2223 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2226 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
2228 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
2231 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
2232 name_mrs, name_miss, and name_ms.
2233 * localedata/locales/nl_NL (LC_NAME): Likewise.
2235 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
2238 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
2239 * localedata/locales/en_IE (first_weekday): Likewise.
2241 2019-07-12 Mike Crowe <mac@mcrowe.com>
2243 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
2244 that is only useful if futex_supports_exact_relative_timeouts ()
2246 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
2248 * sysdeps/nptl/futex-internal.h: Remove comment about relative
2249 timeouts potentially being imprecise since it's no longer true.
2250 Remove declaration of futex_supports_exact_relative_timeouts.
2251 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
2252 of futex_supports_exact_relative_timeouts.
2254 * NEWS: Mention recently-added pthread_cond_clockwait,
2255 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
2256 sem_clockwait functions.
2258 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
2259 works like pthread_mutex_timedlock but takes a clockid parameter to
2260 measure the abstime parameter against.
2261 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
2262 * nptl/DESIGN-systemtap-probes.txt: Likewise.
2263 * nptl/pthread_mutex_timedlock.c
2264 (__pthread_mutex_clocklock_common): Rename from
2265 __pthread_mutex_timedlock and add clockid parameter. Pass this
2266 parameter to lll_clocklock and lll_clocklock_elision in place of
2267 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
2268 LIBC_PROBE and validate clockid parameter before calling
2269 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
2270 implementation to add LIBC_PROBE and calls
2271 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
2273 * nptl/Makefile: Add tst-mutex11.c.
2274 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
2275 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
2276 clockid parameters to pthread_mutex_clocklock.
2277 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
2278 clockid parameter to indicate which clock to be used. Call
2279 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
2280 (do_test): Call do_test_clock to separately test
2281 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
2282 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
2283 * nptl/tst-mutex9.c: Likewise.
2284 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
2285 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
2287 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
2289 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
2291 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
2293 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
2295 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
2297 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
2299 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2300 (GLIBC_2.30): Likewise.
2301 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2302 (GLIBC_2.30): Likewise.
2303 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2304 (GLIBC_2.30): Likewise.
2305 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2306 (GLIBC_2.30): Likewise.
2307 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2308 (GLIBC_2.30): Likewise.
2309 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
2311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2312 (GLIBC_2.30): Likewise.
2313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2314 (GLIBC_2.30): Likewise.
2315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2316 (GLIBC_2.30): Likewise.
2317 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2318 (GLIBC_2.30): Likewise.
2319 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2320 (GLIBC_2.30): Likewise.
2321 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2322 (GLIBC_2.30): Likewise.
2323 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
2325 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2326 (GLIBC_2.30): Likewise.
2327 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2328 (GLIBC_2.30): Likewise.
2329 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2330 (GLIBC_2.30): Likewise.
2331 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2332 (GLIBC_2.30): Likewise.
2334 nptl: Rename lll_timedlock to lll_clocklock and add clockid
2335 parameter to indicate the clock that the abstime parameter should
2336 be measured against in preparation for adding
2337 pthread_mutex_clocklock.
2338 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
2339 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
2340 from __lll_timedlock and add clockid parameter.
2341 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
2343 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
2344 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
2345 rather than __gettimeofday so that clockid can be used. This means
2346 that conversion from struct timeval is no longer required.
2347 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
2349 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
2350 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
2351 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
2352 from lll_timedlock_elision, add clockid parameter and use
2353 meaningful names for other parameters. (__pthread_mutex_timedlock):
2354 Pass CLOCK_REALTIME where necessary to lll_clocklock and
2355 lll_clocklock_elision.
2356 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2357 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
2358 clockid parameter. (__lll_clocklock_elision): Rename from
2359 __lll_timedlock_elision and add clockid parameter.
2360 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2361 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
2362 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
2363 (__lll_lock_elision): Call __lll_clocklock_elision rather than
2364 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
2365 (LLL_LOCK): Likewise.
2366 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2367 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
2369 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
2370 pthread_rwlock_clockwrlock which behave like
2371 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
2372 respectively, except they always measure abstime against the
2373 supplied clockid. The functions currently support CLOCK_REALTIME
2374 and CLOCK_MONOTONIC and return EINVAL if any other clock is
2376 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
2377 pthread_wrlock_clockwrlock.
2378 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
2379 pthread_rwlock_clockwrlock.c.
2380 * nptl/pthread_rwlock_clockrdlock.c: Implement
2381 pthread_rwlock_clockrdlock.
2382 * nptl/pthread_rwlock_clockwrlock.c: Implement
2383 pthread_rwlock_clockwrlock.
2384 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
2385 clockid parameter and verify that it indicates a supported clock on
2386 entry so that we fail even if it doesn't end up being used. Pass
2387 that clock on to futex_abstimed_wait when necessary.
2388 (__pthread_rwlock_wrlock_full): Likewise.
2389 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
2390 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
2391 be used because there's no timeout.
2392 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
2393 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
2394 be used because there is no timeout.
2395 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2396 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
2398 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2399 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
2401 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2402 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2403 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2404 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2405 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2406 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2407 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2408 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2409 (GLIBC_2.30): Likewise.
2410 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2411 (GLIBC_2.30): Likewise.
2412 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2413 (GLIBC_2.30): Likewise.
2414 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2415 (GLIBC_2.30): Likewise.
2416 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2417 (GLIBC_2.30): Likewise.
2418 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2420 (GLIBC_2.30): Likewise.
2421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2422 (GLIBC_2.30): Likewise.
2423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2424 (GLIBC_2.30): Likewise.
2425 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2426 (GLIBC_2.30): Likewise.
2427 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2428 (GLIBC_2.30): Likewise.
2429 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2430 (GLIBC_2.30): Likewise.
2431 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2432 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2433 (GLIBC_2.30): Likewise.
2434 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2435 (GLIBC_2.30): Likewise.
2436 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2437 (GLIBC_2.30): Likewise.
2438 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2439 (GLIBC_2.30): Likewise.
2440 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
2441 pthread_rwlock_clockwrlock timeout tests to match the existing
2442 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
2443 * nptl/tst-rwlock14.c (do_test): Likewise.
2444 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
2445 ancillary output throughout. (tf): Accept thread_args structure so
2446 that rwlock, a clockid and function name can be passed to the
2447 thread. (do_test_clock): Rename from do_test. Accept clockid
2448 parameter to specify test clock. Use the magic clockid value of
2449 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
2450 pthread_rwlock_timedwrlock should be tested, otherwise pass the
2451 specified clockid to pthread_rwlock_clockrdlock and
2452 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
2453 (do_test): Call do_test_clock to test each clockid in turn.
2454 * nptl/tst-rwlock7.c: Likewise.
2455 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
2456 thread_args structure so that the (now int) thread number, the
2457 clockid and the function name can be passed to the thread.
2458 (do_test_clock): Renamed from do_test. Pass the necessary
2459 thread_args when creating the reader and writer threads. Use
2460 xpthread_create and xpthread_join.
2461 (do_test): Call do_test_clock to test each clockid in turn.
2462 * manual/threads.texi: Add documentation for
2463 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
2465 nptl: pthread_rwlock: Move timeout validation into _full functions
2466 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
2467 Check validity of abstime parameter.
2468 (__pthread_rwlock_rwlock_full): Likewise.
2469 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2470 Remove check for validity of abstime parameter.
2471 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2474 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
2475 like pthread_cond_timedwait except it always measures abstime
2476 against the supplied clockid.
2477 * nptl/Makefile: Add tst-cond26 and tst-cond27
2478 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
2479 * sysdeps/nptl/pthread.h: Likewise
2480 * nptl/forward.c: Add __pthread_cond_clockwait
2481 * nptl/forward.c: Likewise
2482 * nptl/pthreadP.h: Likewise
2483 * sysdeps/nptl/pthread-functions.h: Likewise
2484 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
2485 clockid parameter and comment describing why we don't need to check
2486 its value. Use that value when calling
2487 futex_abstimed_wait_cancelable rather than reading the clock from
2488 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
2489 (__pthread_cond_timedwait): Read clock from flags and pass it to
2490 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
2491 function with weak alias from pthread_cond_clockwait.
2492 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2493 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2494 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2495 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2496 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2497 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2498 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2499 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2500 (GLIBC_2.30): Likewise.
2501 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2502 (GLIBC_2.30): Likewise.
2503 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2504 (GLIBC_2.30): Likewise.
2505 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2506 (GLIBC_2.30): Likewise.
2507 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2508 (GLIBC_2.30): Likewise.
2509 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2511 (GLIBC_2.30): Likewise.
2512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2513 (GLIBC_2.30): Likewise.
2514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2515 (GLIBC_2.30): Likewise.
2516 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2517 (GLIBC_2.30): Likewise.
2518 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2519 (GLIBC_2.30): Likewise.
2520 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2521 (GLIBC_2.30): Likewise.
2522 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2523 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2524 (GLIBC_2.30): Likewise.
2525 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2526 (GLIBC_2.30): Likewise.
2527 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2528 (GLIBC_2.30): Likewise.
2529 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2530 (GLIBC_2.30): Likewise.
2531 * nptl/tst-cond11.c (run_test): Support testing
2532 pthread_cond_clockwait too by using a special magic
2533 CLOCK_USE_ATTR_CLOCK value to determine whether to call
2534 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
2535 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
2536 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
2537 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
2538 clocks to pthread_cond_clockwait.
2539 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
2540 struct timespec and pthread_cond_clockwait.
2541 * manual/threads.texi: Document pthread_cond_clockwait.
2543 nptl: Add POSIX-proposed sem_clockwait which behaves just like
2544 sem_timedwait, but measures abstime against the specified clock.
2545 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
2546 clockid parameters to indicate the clock which abstime should be
2548 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
2549 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
2550 __new_sem_wait_slow.
2551 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
2553 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
2554 sem_clockwait.c to match those used for sem_timedwait.c.
2555 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
2556 * nptl/Versions (GLIBC_2.30): Likewise.
2557 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2558 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2559 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2560 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2561 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2562 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2563 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2564 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2565 (GLIBC_2.30): Likewise.
2566 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2567 (GLIBC_2.30): Likewise.
2568 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2569 (GLIBC_2.30): Likewise.
2570 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2571 (GLIBC_2.30): Likewise.
2572 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2573 (GLIBC_2.30): Likewise.
2574 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2576 (GLIBC_2.30): Likewise.
2577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2578 (GLIBC_2.30): Likewise.
2579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2580 (GLIBC_2.30): Likewise.
2581 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2582 (GLIBC_2.30): Likewise.
2583 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2584 (GLIBC_2.30): Likewise.
2585 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2586 (GLIBC_2.30): Likewise.
2587 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2588 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2589 (GLIBC_2.30): Likewise.
2590 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2591 (GLIBC_2.30): Likewise.
2592 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2593 (GLIBC_2.30): Likewise.
2594 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2595 (GLIBC_2.30): Likewise.
2596 * nptl/tst-sem17.c: Add new test for passing invalid clock to
2598 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
2599 tests to also test sem_clockwait.
2600 * manual/threads.texi: Document sem_clockwait.
2602 nptl: Add clockid parameter to futex timed wait calls
2603 * sysdeps/nptl/lowlevellock-futex.h,
2604 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
2605 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
2606 takes a clockid rather than a special clockbit.
2607 * sysdeps/nptl/lowlevellock-futex.h: Add
2608 lll_futex_supported_clockid so that client functions can check
2609 whether their clockid parameter is valid even if they don't
2610 ultimately end up calling lll_futex_clock_wait_bitset.
2611 * sysdeps/nptl/futex-internal.h,
2612 sysdeps/unix/sysv/linux/futex-internal.h
2613 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
2614 clockid_t parameter to indicate which clock the absolute time
2615 passed should be measured against. Pass that clockid onto
2616 lll_futex_clock_wait_bitset. Add invalid clock as reason for
2618 * sysdeps/nptl/futex-internal.h,
2619 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
2620 futex_abstimed_supported_clockid so that client functions can check
2621 whether their clockid parameter is valid even if they don't
2622 ultimately end up calling futex_abstimed_wait.
2623 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
2624 code to calculate relative timeout for
2625 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
2626 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
2627 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
2628 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
2629 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
2630 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2631 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
2633 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2636 * posix/tst-mmap-offset.c: Mention BZ #24699.
2637 (do_test_bz21270): Rename to do_test_large_offset and use
2638 mmap64_maximum_offset to check for maximum expected offset value.
2639 * sysdeps/generic/mmap_info.h: New file.
2640 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
2641 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
2644 2019-07-10 DJ Delorie <dj@redhat.com>
2645 Sergei Trofimovich <slyfox@inbox.ru>
2649 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
2651 * nss/tst-nss-db-endgrent.c: New.
2652 * nss/tst-nss-db-endgrent.root: New.
2653 * nss/tst-nss-db-endpwent.c: New.
2654 * nss/tst-nss-db-endpwent.root: New.
2655 * nss/Makefile: Add new tests.
2656 * support/links-dso-program-c.c: Add selinux dependency.
2657 * support/links-dso-program.cc: Add selinux dependency.
2658 * support/Makefile: Build those with -lselinux if enabled.
2660 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
2662 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
2663 DT_AARCH64_VARIANT_PCS check.
2664 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
2665 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
2668 2019-07-10 Andreas Schwab <schwab@suse.de>
2671 * malloc/malloc.h (__malloc_check_init): Don't declare.
2672 * include/malloc.h (__malloc_check_init): Likewise.
2673 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
2674 * manual/memory.texi (__malloc_check_init): Don't mention it.
2676 2019-07-10 Mao Han <han_mao@c-sky.com>
2678 * locale/Makefile: Fix tst-locale-locpath arguments passing.
2680 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
2682 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
2683 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
2685 2019-07-08 DJ Delorie <dj@redhat.com>
2688 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
2689 * io/tst-ftw-lnk.c: New test.
2690 * io/Makefile: Run it.
2692 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2694 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
2695 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
2696 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
2697 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
2698 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
2699 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
2700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
2701 Adjust implementation path.
2702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
2703 Adjust implementation path.
2704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
2705 Adjust implementation path.
2706 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2707 (libm-sysdep_routines): Add s_log* objects.
2708 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
2709 CFLAGS-s_logb-power7.c): New fule.
2710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
2712 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
2714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
2716 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
2718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
2719 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
2720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
2722 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
2724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
2726 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
2728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
2729 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
2730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
2732 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
2734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
2736 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
2738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
2739 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
2740 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
2741 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
2742 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2743 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2745 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
2746 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
2747 powerpc32 integer 0 converting to -0.
2749 * benchtests/Makefile (bench-math): Add logb.
2750 * benchtests/logb-inputs: New file.
2751 * benchtests/logbf-inputs: New file.
2753 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
2754 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
2755 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
2756 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
2757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2761 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
2762 sysdep_routines): Add s_modf* objects.
2763 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
2764 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
2765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
2767 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
2769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
2771 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
2773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
2774 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
2775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
2777 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
2779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
2780 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
2782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
2783 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
2785 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
2786 twoM500, twoM600, two60factor, pdnum): Remove.
2787 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
2788 (__ieee754_hypot): Replace static variables with inline definition,
2789 remove ununsed branches.
2790 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2791 (libm-sysdep_routines): Remove e_hypot-* objects.
2792 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
2793 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
2795 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
2796 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
2797 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
2798 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
2799 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
2801 * benchtests/Makefile (bench-math): Add hypot.
2802 * benchtests/hypot-inputs: New file.
2804 2019-07-08 Vincent Chen <vincentc@andestech.com>
2806 * sysdeps/unix/sysv/linux/dl-vdso.h
2807 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
2809 2019-07-04 Andreas Schwab <schwab@suse.de>
2812 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
2814 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2816 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
2817 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
2818 * sysdeps/aarch64/sys/ifunc.h: New file.
2819 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
2820 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
2822 2019-07-01 Florian Weimer <fweimer@redhat.com>
2825 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
2826 Replace __vfork with __libpthread_version_placeholder for
2828 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
2829 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
2831 * nptl/pt-vfork.c: Remove file.
2832 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
2833 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
2834 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2835 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2836 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
2837 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
2838 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
2839 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
2840 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
2841 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2842 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
2843 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
2844 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
2845 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2846 Remove vfork, __vfork.
2847 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2849 (GLIBC_2.1.2): Replace __vfork with
2850 __libpthread_version_placeholder.
2851 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2852 Remove vfork, __vfork.
2853 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2855 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2857 (GLIBC_2.1.2): Replace __vfork with
2858 __libpthread_version_placeholder.
2859 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2861 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2862 (GLIBC_2.4): Remove vfork, __vfork.
2863 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2864 (GLIBC_2.0): Remove vfork.
2865 (GLIBC_2.1.2): Replace __vfork with
2866 __libpthread_version_placeholder.
2867 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2868 (GLIBC_2.18): Remove vfork, __vfork.
2869 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2870 (GLIBC_2.0): Remove vfork.
2871 (GLIBC_2.2): Remove __vfork.
2872 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
2873 (GLIBC_2.2): Remove vfork, __vfork.
2874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
2875 (GLIBC_2.0): Remove vfork.
2876 (GLIBC_2.1.2): Replace __vfork with
2877 __libpthread_version_placeholder.
2878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2879 (GLIBC_2.3): Remove vfork, __vfork.
2880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2881 (GLIBC_2.17): Likewise.
2882 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2883 (GLIBC_2.0): Remove vfork.
2884 (GLIBC_2.1.2): Replace __vfork with
2885 __libpthread_version_placeholder.
2886 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2887 (GLIBC_2.2): Remove vfork, __vfork.
2888 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2890 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2891 (GLIBC_2.0): Remove vfork.
2892 (GLIBC_2.1.2): Replace __vfork with
2893 __libpthread_version_placeholder.
2894 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2895 (GLIBC_2.2): Remove vfork, __vfork.
2896 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2897 (GLIBC_2.2.5): Likewise.
2898 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2899 (GLIBC_2.16): Likewise.
2900 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
2901 Remove __errno_location.
2903 2019-07-02 Florian Weimer <fweimer@redhat.com>
2906 * malloc/Depend: Add nptl and htl, due to potential indirect
2907 libpthread dependency of memusagestat.
2909 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
2911 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
2914 2019-07-01 Florian Weimer <fweimer@redhat.com>
2916 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
2917 variant for arm-linux-gnueabi.
2919 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
2922 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
2924 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
2925 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
2926 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
2927 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
2928 and tst-cet-legacy-mod-6c.
2929 (CFLAGS-tst-cet-legacy-5a.c): New.
2930 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
2931 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
2932 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
2933 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
2934 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
2935 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
2936 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
2937 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
2938 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
2939 ($(objpfx)tst-cet-legacy-5a): Likewise.
2940 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
2941 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
2942 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
2943 ($(objpfx)tst-cet-legacy-5b): Likewise.
2944 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
2945 (tst-cet-legacy-5b-ENV): Likewise.
2946 ($(objpfx)tst-cet-legacy-6a): Likewise.
2947 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
2948 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
2949 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
2950 ($(objpfx)tst-cet-legacy-6b): Likewise.
2951 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
2952 (tst-cet-legacy-6b-ENV): Likewise.
2953 * sysdeps/x86/tst-cet-legacy-5.c: New file.
2954 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
2955 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
2956 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
2957 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
2958 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
2959 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
2960 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
2961 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
2962 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
2963 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
2964 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
2965 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
2966 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
2968 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
2970 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
2971 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
2972 (__fegetround_ISA300) New.
2973 (__fegetround_ISA2) New.
2974 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
2975 (_FPU_MFFS): Move implementation...
2977 (_FPU_MFFSL): Move implementation....
2978 (_FPU_GET_RC_ISA300): Here. New.
2979 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
2980 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
2981 (fegetenv_status): New.
2982 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
2983 instead of fegetenv_register().
2984 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
2986 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
2988 * benchtests/bench-math-inlines.c: Increase iterations.
2989 * benchtests/bench-memcmp.c: Likewise.
2990 * benchtests/bench-rawmemchr.c: Likewise.
2991 * benchtests/bench-strcmp.c: Likewise.
2992 * benchtests/bench-strcpy_chk.c: Likewise.
2993 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
2994 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
2995 (INNER_LOOP_ITERS_SMALL): Likewise.
2996 * benchtests/bench-strncat.c: Increase iterations.
2997 * benchtests/bench-strncmp.c: Increase iterations.
2998 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
2999 * benchtests/bench-strrchr.c: Increase iterations.
3000 * benchtests/bench-strstr.c: Keep iterations unchanged.
3001 * benchtests/bench-strtod.c: Increase iterations.
3003 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3005 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
3006 with INNER_LOOP_ITERS_LARGE.
3007 * benchtests/bench-memchr.c: Likewise.
3008 * benchtests/bench-rawmemchr.c: Likewise.
3009 * benchtests/bench-strcat.c: Likewise.
3010 * benchtests/bench-strchr.c: Likewise.
3011 * benchtests/bench-string.h: Likewise.
3012 * benchtests/bench-strlen.c: Likewise.
3013 * benchtests/bench-strncpy.c: Likewise.
3014 * benchtests/bench-strnlen.c: Likewise.
3016 2019-06-28 Florian Weimer <fweimer@redhat.com>
3018 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
3019 Use mmap instead of malloc. malloc with M_PERTURB writes to the
3020 entire allocated memory range.
3022 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
3024 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
3025 (prepare_version_base): New helper inline function.
3026 (prepare_version): New macro replacing PREPARE_VERSION.
3027 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
3029 2019-06-28 Florian Weimer <fweimer@redhat.com>
3032 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
3033 mismatch in a versioned symbol reference.
3034 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
3035 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
3036 tst-sonamemove-dlopen.
3037 (module-names): Add tst-sonamemove-linkmod1,
3038 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
3039 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
3040 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
3041 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
3042 (tst-sonamemove-runmod1.so): Link against
3043 tst-sonamemove-runmod2.so.
3044 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
3045 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
3046 tst-sonamemove-runmod2.so.
3047 (tst-sonamemove-dlopen): Link with -ldl.
3048 (tst-sonamemove-dlopen.out): Likewise.
3049 * elf/tst-sonamemove-link.c: New file.
3050 * elf/tst-sonamemove-dlopen.c: Likewise.
3051 * elf/tst-sonamemove-linkmod1.c: Likewise.
3052 * elf/tst-sonamemove-linkmod1.map: Likewise.
3053 * elf/tst-sonamemove-runmod1.c: Likewise.
3054 * elf/tst-sonamemove-runmod1.map: Likewise.
3055 * elf/tst-sonamemove-runmod2.c: Likewise.
3056 * elf/tst-sonamemove-runmod2.map: Likewise.
3058 2019-06-28 Florian Weimer <fweimer@redhat.com>
3060 * support/xdlfcn.h (xdlvsym): Declare function.
3061 * support/xdlfcn.c (xdlvsym): Define funciton.
3063 2019-06-28 Florian Weimer <fweimer@redhat.com>
3066 io: Remove the copy_file_range emulation.
3067 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
3068 not define and call copy_file_range_compat.
3069 * io/Makefile (tests-static, tests-internal): Do not add
3070 tst-copy_file_range-compat.
3071 * io/copy_file_range-compat.c: Remove file.
3072 * io/copy_file_range.c (copy_file_range): Define as stub.
3073 * io/tst-copy_file_range-compat.c: Remove file.
3074 * io/tst-copy_file_range.c (xdevfile): Remove variable.
3075 (typical_sizes): Update comment. Remove 16K sizes.
3076 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
3078 (find_maximum_offset, pipe_as_source, pipe_as_destination)
3079 (delayed_write_failure_beginning, delayed_write_failure_end)
3080 (cross_device_failure, enospc_failure_1, enospc_failure)
3081 (oappend_failure): Remove functions.
3082 (tests): Adjust test case list.
3083 (do_test): Remove file system search code. Check for ENOSYS from
3084 copy_file_range. Do not free xdevfile.
3085 * manual/llio.texi (Copying File Data): Document ENOSYS error from
3086 copy_file_range. Do not document the EXDEV error, which future
3087 kernels may not report. Update the wording to reflect that
3088 further errors are possible.
3089 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3090 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
3092 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3093 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3095 * sysdeps/unix/sysv/linux/kernel-features.h
3096 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
3098 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3099 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
3101 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3102 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
3105 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3107 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
3108 used as a mask for the mode argument of __vfprintf_internal.
3109 * stdio-common/printf-parse.h (printf_arg): New union member:
3111 * stdio-common/vfprintf-internal.c
3112 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
3113 (PARSE_FLOAT_VA_ARG): Likewise.
3114 (SETUP_FLOAT128_INFO): Likewise.
3115 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
3116 SETUP_FLOAT128_INFO.
3117 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
3118 floating-point value to the new union member, pa_float128.
3119 (printf_positional): Zero-initialize args_value[cnt] with memset.
3121 2019-06-27 Florian Weimer <fweimer@redhat.com>
3124 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
3125 buffer size if necessary.
3126 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3128 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
3130 (large_buffer_checks): Likewise.
3131 (do_test): Call large_buffer_checks.
3133 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
3135 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
3136 * sysdeps/x86/dl-lookupcfg.h: Here.
3137 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
3139 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3141 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3142 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
3143 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
3145 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3146 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3147 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
3148 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3149 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
3151 * sysdeps/powerpc/powerpc32/fpu/Makefile
3152 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
3153 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
3154 and fctidz optimization.
3155 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
3156 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
3157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3158 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
3159 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
3160 CFLAGS-s_lround-power5+.c): New rule.
3161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
3163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
3165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
3167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
3169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
3171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3181 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3182 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
3183 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3184 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
3185 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3186 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3187 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
3189 2019-06-26 Vincent Chen <vincentc@andestech.com>
3191 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
3192 specific system calls, fp_udfiex_crtl and udftrap.
3194 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
3196 * nptl/tst-eintr1.c (tf1): Add return statement.
3197 (do_test): Remove unused th variable.
3199 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
3201 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
3202 Return error if get_character fails.
3204 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
3206 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3208 2019-06-24 Rafał Lużyński <digitalfreak@lingonborough.com>
3211 * localedata/locales/szl_PL (day): Use the correct Unicode
3212 sequences instead of non-ASCII characters.
3214 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
3217 * localedata/locales/szl_PL (abday): Spelling corrections.
3221 (alt_mon): This, then apply spelling corrections.
3222 (mon): New entry, month names in the genitive case.
3224 2019-06-21 Rafał Lużyński <digitalfreak@lingonborough.com>
3227 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
3228 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
3229 (thousands_sep): Likewise.
3230 (grouping): Set to 3;3.
3232 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
3234 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
3235 PREPARE_VERSION_KNOWN.
3236 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3237 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
3239 (VDSO_HASH_LINUX_2_6_39): Likewise.
3240 (VDSO_NAME_LINUX_4_9): Likewise.
3241 (VDSO_HASH_LINUX_4_9): Likewise.
3242 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
3243 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3244 (_libc_vdso_platform_setup): Likewise.
3245 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
3246 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
3248 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
3251 2019-06-20 Mike Crowe <mac@mcrowe.com>
3253 * nptl/eintr.c: Use libsupport.
3254 * nptl/tst-eintr1.c: Likewise.
3255 * nptl/tst-eintr2.c: Likewise.
3256 * nptl/tst-eintr3.c: Likewise.
3257 * nptl/tst-eintr4.c: Likewise.
3258 * nptl/tst-eintr5.c: Likewise.
3259 * nptl/tst-mutex-errorcheck.c: Likewise.
3260 * nptl/tst-mutex5.c: Likewise.
3262 * support/test-driver.h: Add verbose_printf macro.
3264 * support/xtime.h: Add xclock_now() helper function.
3266 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
3267 Florian Weimer <fweimer@redhat.com>
3270 * libio/genops.c (_IO_unbuffer_all)
3271 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
3272 buffers and access _IO_FILE_complete members of legacy libio streams.
3273 * libio/tst-bz24228.c: New file.
3274 * libio/tst-bz24228.map: Likewise.
3275 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
3276 [build-shared] (generated): Add tst-bz24228.mtrace and
3278 [run-built-tests && build-shared] (tests-special): Add
3279 $(objpfx)tst-bz24228-mem.out.
3280 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
3281 ($(objpfx)tst-bz24228-mem.out): New rule.
3283 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
3285 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
3286 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
3287 (__FPU_MFFSL): Likewise.
3288 (_FPU_SETCW): Likewise.
3290 2019-06-19 Stan Shebs <stanshebs@google.com>
3291 Raoni Fassina Firmino <raoni@linux.ibm.com>
3294 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
3295 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
3296 static-linking version.
3297 * sysdeps/unix/sysv/linux/powerpc/Makefile
3298 (tests-static): Add test-gettimebasefreq-static.
3300 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
3303 2019-06-19 Rafał Lużyński <digitalfreak@lingonborough.com>
3306 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
3307 between the currency symbol and the minus sign).
3308 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3310 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
3313 * string/test-strcasestr.c (check_result): Add NULL check.
3314 * nss/tst-field.c (check_rewrite): Likewise.
3315 * benchtests/bench-strstr.c (do_one_test): Likewise.
3316 * string/test-strstr.c (check_result): Likewise.
3317 * argp/argp-test.c (popt): Increase size of buf to 12.
3318 * benchtests/bench-malloc-simple.c (bench):
3319 Do not initialize tests array out of bounds.
3321 2019-06-19 Florian Weimer <fweimer@redhat.com>
3324 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
3327 2019-06-18 Florian Weimer <fweimer@redhat.com>
3330 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
3331 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
3332 fail when called from dlopen.
3333 * elf/Makefile [have-fpie && build-shared] (tests): Add
3335 (tst-dlopen-pie): Link with -ldl.
3336 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
3337 * elf/tst-dlopen-pie.c (do_test): New file.
3339 2019-06-17 Rafał Lużyński <digitalfreak@lingonborough.com>
3342 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
3343 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
3344 between the currency symbol and the minus sign).
3345 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3346 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
3348 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3350 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
3351 sysdep-rtld-routines): Remove rules.
3352 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
3353 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
3354 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
3355 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
3356 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
3357 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
3358 vDSO path for SHARED.
3359 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
3360 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
3361 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3362 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
3363 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
3364 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
3366 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3367 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
3368 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
3369 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
3370 CFLAGS-s_llround-power5+.c): New rule.
3371 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
3373 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
3375 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
3377 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
3379 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
3381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
3382 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
3383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
3384 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
3385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
3386 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
3387 * sysdeps/powerpc/powerpc64/fpu/Makefile
3388 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
3389 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3390 (libm-sysdep_routines): Remove s_llround-* objects.
3391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
3393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
3395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
3397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
3399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
3401 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3402 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3403 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
3404 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
3405 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
3406 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
3407 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
3408 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
3409 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3410 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
3411 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3412 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
3413 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3414 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
3416 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
3417 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
3418 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
3419 * sysdeps/powerpc/powerpc32/fpu/Makefile
3420 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
3421 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
3423 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
3424 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
3425 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
3426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3427 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
3428 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
3429 CFLAGS-s_lrint-ppc32.c): New rule.
3430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3440 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3441 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3442 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3443 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
3446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
3448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
3450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
3452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
3455 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3456 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
3458 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
3459 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
3461 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
3463 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
3465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
3466 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
3467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
3468 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
3469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
3470 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
3471 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
3472 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
3473 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3474 (libm-sysdep_routines): Remove s_llrint-* objects.
3475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
3477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
3479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
3480 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
3481 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
3482 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
3483 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
3484 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
3485 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3486 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
3487 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3488 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
3490 2019-06-14 Florian Weimer <fweimer@redhat.com>
3492 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
3493 argument to __glibc_has_include to inhibit macro expansion.
3495 2019-06-14 Florian Weimer <fweimer@redhat.com>
3497 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
3498 function-like macro, so that __has_include can inhibit expansion
3501 2019-06-13 Joseph Myers <joseph@codesourcery.com>
3503 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
3506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3507 Allow memset in libc.so.
3509 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3511 * sysdeps/aarch64/dl-dtprocnum.h: New file.
3512 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
3513 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
3514 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
3515 symbols at load time.
3516 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
3518 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3520 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
3521 (DT_AARCH64_VARIANT_PCS): Define.
3523 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3526 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
3528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
3532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
3533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3536 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3537 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
3538 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3539 Remove s_finite* objects.
3540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
3541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
3542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
3543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
3545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3546 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3547 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
3548 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3549 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
3551 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
3552 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
3554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3555 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
3557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
3559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
3561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3565 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3566 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
3567 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3568 Remove s_isinf* and s_isinf* objects.
3569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
3572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
3574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3575 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3576 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
3577 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3578 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
3580 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
3581 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
3583 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
3584 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
3585 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3587 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
3589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
3591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
3593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
3595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
3597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
3600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
3603 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3604 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
3605 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3606 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
3607 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3608 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
3609 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
3610 Remove s_isnan-* and s_isnanf-* objects.
3611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
3612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
3613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
3615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
3616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
3617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
3618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3620 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3621 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3622 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3623 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3624 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3625 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
3626 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3627 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
3629 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
3630 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
3632 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
3633 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
3634 CFLAGS-bench-isfinite.c): New rule.
3635 * benchtests/isnan-input: New file.
3636 * benchtests/isinf-input: New file.
3637 * benchtests/isfinite-input: New file.
3639 * sysdeps/powerpc/fpu/s_copysign.c: New file.
3640 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
3641 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
3642 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
3643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3644 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
3646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3654 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3655 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
3656 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
3657 Remove s_copysign-power6 s_copysign-ppc64.
3658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
3660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
3662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
3664 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3665 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
3666 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3667 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
3669 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
3670 round_to_integer_float, round_mode): Add RINT handling.
3671 (reset_fenv_mode): New symbol.
3672 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
3673 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
3674 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
3675 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3676 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3677 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3679 2019-06-12 Florian Weimer <fweimer@redhat.com>
3682 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
3683 * libio/freopen.c (freopen): Use it.
3685 2019-06-12 Florian Weimer <fweimer@redhat.com>
3687 Linux: Deprecate sysctl.
3688 * include/sysctl.h (__sysctl): Remove declaration.
3689 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
3691 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
3692 (sysctl): Add deprecation attribute.
3693 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
3694 directly, to avoid the deprecation warning. Do not include
3696 (__sysctl): Remove hidden alias.
3698 2019-06-12 Florian Weimer <fweimer@redhat.com>
3700 Linux: Use kernel headers for statx definitions if available.
3701 * include/bits/statx-generic.h: New file.
3702 * include/bits/types/struct_statx.h: Likewise.
3703 * include/bits/types/struct_statx_timestamp.h: Likewise.
3704 * io/Makefile (headers): Add bits/statx-generic.h.
3705 * io/bits/statx-generic.h: New file. Partly copied from
3707 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
3708 define original_statx.
3709 * io/bits/types/struct_statx.h: Likewise.
3710 * io/bits/types/struct_statx_timestamp.h: Likewise.
3711 (statx_generic): Use original_statx.
3712 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
3713 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
3715 2019-06-12 Florian Weimer <fweimer@redhat.com>
3717 * misc/sys/cdefs.h (__glibc_has_include): Define.
3719 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3721 * string/memmem.c (__memmem): Rewrite to improve performance.
3723 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3725 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
3727 (two_way_long_needle): Block inlining.
3728 * string/strstr.c (strstr2): Add new function.
3729 (strstr3): Likewise.
3730 (STRSTR): Completely rewrite strstr to improve performance.
3732 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
3734 * benchtests/bench-strstr.c (test_hard_needle): New function.
3736 2019-06-10 Joseph Myers <joseph@codesourcery.com>
3738 * malloc/tst-calloc.c: Include <libc-diag.h>.
3739 (null_test): Ignore -Wunused-result around calls to calloc.
3740 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
3741 (do_test): Ignore -Wunused-result around call to malloc.
3743 2019-06-07 Florian Weimer <fweimer@redhat.com>
3745 Linux: Add getdents64 system call.
3746 * include/dirnent.h (getdents): Add comment and change buffer
3747 argument type to void *.
3748 (getdents64): Likewise. Add hidden prototype.
3749 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
3751 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
3753 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
3754 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
3755 argument type to void *.
3756 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
3757 Add hidden definition and getdents64 alias.
3758 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3760 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
3761 * manual/filesys.texi (Accessing Directories): Add Low-level
3762 Directory Access node reference.
3763 (Opening a Directory): Cross-reference it.
3764 (Low-level Directory Access): New node.
3765 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3767 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3769 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3770 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3772 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3774 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3776 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3778 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3780 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3782 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3784 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3785 (GLIBC_2.30): Likewise.
3786 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3787 (GLIBC_2.30): Likewise.
3788 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3789 (GLIBC_2.30): Likewise.
3790 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3791 (GLIBC_2.30): Likewise.
3792 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3795 (GLIBC_2.30): Likewise.
3796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3797 (GLIBC_2.30): Likewise.
3798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3799 (GLIBC_2.30): Likewise.
3800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3801 (GLIBC_2.30): Likewise.
3802 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3804 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3806 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3808 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3809 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3811 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3813 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3815 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3818 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
3820 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
3824 (_FPU_GETCW): Use __FPU_MFFS().
3825 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
3827 2019-06-06 Florian Weimer <fweimer@redhat.com>
3829 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
3830 internal GCC preprocessor identifier __has_include__.
3832 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
3834 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
3835 with call to equivalent function.
3837 2019-06-04 Florian Weimer <fweimer@redhat.com>
3839 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
3840 (do_release_shlib): Adjust for __twalk_r.
3841 (__gconv_release_shlib): Call __twalk_r.
3843 2019-06-04 Andreas Schwab <schwab@suse.de>
3846 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
3847 no irreversible characters occurred.
3848 * iconv/gconv_simple.c (internal_ucs4_loop)
3849 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
3850 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
3851 (ucs4_internal_loop_single, internal_ucs4le_loop)
3852 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
3853 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
3854 (ucs4le_internal_loop_single): Add const to outend.
3855 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
3856 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
3857 * iconv/Makefile (tests): Add tst-iconv7.
3858 * iconv/tst-iconv7.c: New file.
3860 2019-06-03 Joseph Myers <joseph@codesourcery.com>
3862 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
3864 2019-06-01 Florian Weimer <fweimer@redhat.com>
3866 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
3867 * sysdeps/unix/sysv/linux/arm/Makefile
3868 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
3869 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
3870 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
3871 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
3872 compatibility symbols.
3874 2019-05-31 Florian Weimer <fweimer@redhat.com>
3876 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
3877 system calls for the arm architecture: breakpoint, get_tls,
3878 set_tls, usr26, usr32.
3880 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3882 * sysdeps/powerpc/Makefile
3883 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
3884 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
3885 Declare '.machine power7' to get support for ldbrx.
3886 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
3887 directive based on the directory of the file.
3888 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3889 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3890 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
3891 '.machine' directive.
3892 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
3893 (VADDUQM_V7_V8): Remove.
3894 (__STRCASECMP): Replace macros with actual instructions.
3895 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
3896 '.machine' directive.
3897 (VCLZD_V8_v7): Remove.
3898 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
3900 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3902 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
3904 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
3906 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3908 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3910 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
3911 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
3912 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
3913 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
3914 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
3915 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3917 2019-05-28 mansayk <6688000@gmail.com>
3920 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
3922 2019-05-28 mansayk <6688000@gmail.com>
3925 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
3926 (abmon): Likewise, but remove the trailing dots.
3928 2019-05-28 Joseph Myers <joseph@codesourcery.com>
3930 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
3932 2019-05-27 Florian Weimer <fweimer@redhat.com>
3934 * nptl/nptl-init.c: Add comment.
3936 2019-05-24 Florian Weimer <fweimer@redhat.com>
3938 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
3939 struct in_addr/struct in6_addr alignment.
3941 2019-05-23 Joseph Myers <joseph@codesourcery.com>
3943 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3944 (F_SEAL_FUTURE_WRITE): New macro.
3946 2019-05-23 Alexandra Hájková <ahajkova@redhat.com>
3948 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
3949 * elf/tst-ldconfig-bad-aux-cache.c: New file.
3950 * elf/tst-ldconfig_aux-cache.root: New directory.
3951 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
3952 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
3953 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
3955 2019-05-22 Zack Weinberg <zackw@panix.com>
3957 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
3959 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
3960 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
3962 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
3963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
3964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
3967 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
3968 Issue an #error if used with a compiler in SPE-float mode.
3969 * sysdeps/powerpc/powerpc32/__longjmp_common.S
3970 * sysdeps/powerpc/powerpc32/setjmp_common.S
3971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
3973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
3974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
3975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3977 Remove code to preserve SPE register state.
3979 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3980 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3981 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
3982 Remove __SPE__ ifndefs.
3984 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
3986 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
3987 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
3988 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
3989 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
3990 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
3991 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
3992 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
3993 (INNER_LOOP_ITERS_MEDIUM): New define.
3994 (INNER_LOOP_ITERS_SMALL): New define.
3995 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
3996 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
3997 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
3998 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
3999 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
4001 2019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4003 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
4005 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
4006 (SEMTIMEDOP_IPC_ARGS): Likewise.
4008 2019-05-21 Florian Weimer <fweimer@redhat.com>
4011 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
4012 before updating __counter field and release it afterwards. Add
4014 * iconv/gconv.h (struct __gconv_step): Mention synchronization
4015 requirement for __counter member.
4017 2019-05-21 Florian Weimer <fweimer@redhat.com>
4020 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
4021 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
4022 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
4023 instead of __gconv_release_step.
4024 * libio/Makefile (tests): Add tst-wfile-gconv.
4025 (tests-container): Add tst-wfile-ascii.
4026 (tst-wfile-gconv-ENV): Enable mtrace.
4027 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
4028 (tests-special): Add tst-wfile-gconv-mem.out.
4029 (tst-wfile-gconv.out): Depend on locales.
4030 (tst-wfile-gconv-mem.out): Add mtrace rule.
4031 * libio/tst-wfile-ascii.c: New file.
4032 * libio/tst-wfile-gconv.c: Likewise.
4034 2019-05-20 Florian Weimer <fweimer@redhat.com>
4037 libio: Remove codecvt vtable.
4038 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
4040 * libio/iofgetpos.c (_IO_new_fgetpos): Call
4041 __libio_codecvt_encoding.
4042 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
4043 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
4044 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
4045 * libio/iofwide.c (__libio_codecvt): Remove variable.
4046 (_IO_fwide): Do not copy __libio_codecvt.
4047 (__libio_codecvt_out): Rename from do_out and export.
4048 (do_unshift): Remove function.
4049 (__libio_codecvt_in): Rename from do_in and export.
4050 (__libio_codecvt_encoding): Rename from do_encoding and export.
4051 (do_always_noconv): Remove function.
4052 (__libio_codecvt_length): Rename from do_length and export.
4053 (do_max_length): Remove function.
4054 * libio/libio.h (enum __codecvt_result): Remove definition; moved
4056 (struct _IO_codecvt): Remove fields __codecvt_destr,
4057 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
4058 __codecvt_do_encoding, __codecvt_do_always_noconv,
4059 __codecvt_do_length, __codecvt_do_max_length.
4060 * libio/libioP.h (enum __codecvt_result): Define; moved from
4062 (__libio_codecvt_out, __libio_codecvt_in)
4063 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
4065 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
4066 (_IO_wfile_underflow): Call __libio_codecvt_in.
4067 (_IO_wfile_underflow): Likewise.
4068 (_IO_wfile_underflow_mmap): Likewise.
4069 (_IO_wfile_sync): Call __libio_codecvt_encoding,
4070 __libio_codecvt_length.
4071 (adjust_wide_data): Call __libio_codecvt_encoding,
4073 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
4074 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
4075 __libio_codecvt_length.
4077 2019-05-20 Florian Weimer <fweimer@redhat.com>
4079 * support/support.h (support_sbindir_prefix): Declare.
4080 (support_install_rootsbindir): Update comment.
4081 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
4082 * support/support_paths.c (support_sbindir_prefix): Define.
4084 2019-05-20 Mike Crowe <mac@mcrowe.com>
4086 * support/timespec.c: Add backslash to correct newline in failure
4089 * support/timespec.h: Correct confusing comment.
4091 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4093 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
4095 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
4096 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
4097 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
4098 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
4101 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
4104 2019-05-20 Joseph Myers <joseph@codesourcery.com>
4106 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
4107 (NT_ARM_PACG_KEYS): Likewise.
4109 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
4111 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
4112 (tcache_put): Remove redundant assert.
4113 (tcache_get): Remove redundant asserts.
4114 (__libc_malloc): Check tcache count is not zero.
4115 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
4117 2019-05-17 Florian Weimer <fweimer@redhat.com>
4119 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
4121 2019-05-16 Joseph Myers <joseph@codesourcery.com>
4123 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4124 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
4126 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
4128 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4129 (__ASSUME_STATX): Likewise.
4131 2019-05-16 Florian Weimer <fweimer@redhat.com>
4133 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
4135 (LINE_PARSER): Do not map IPv4 addresses.
4136 (internal_nis_gethostent_r): Remove flags argument. Adjust call
4138 (_nss_nis_gethostent_r): Always pass AF_INET to
4139 internal_nis_gethostent_r.
4140 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4142 (_nss_nis_gethostbyname2_r): Adjust call to
4143 internal_nis_gethostent_r.
4144 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
4145 call to internal_nis_gethostent_r.
4146 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
4148 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
4149 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
4150 Remove flags argument. Do not map IPv4 addresses.
4151 (internal_nisplus_gethostent_r): Adjust call to
4152 _nss_nisplus_parse_hostent.
4153 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4154 to _nss_nisplus_parse_hostent.
4155 (_nss_nisplus_gethostbyname2_r): Adjust call to
4156 internal_gethostbyname2_r.
4157 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
4158 Adjust call to internal_gethostbyname2_r.
4159 (_nss_nisplus_gethostbyaddr_r): Adjust call to
4160 _nss_nisplus_parse_hostent.
4161 (_nss_nisplus_gethostbyname4_r): Adjust call to
4162 internal_gethostbyname2_r.
4164 2019-05-16 Florian Weimer <fweimer@redhat.com>
4166 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
4168 (LINE_PARSER): Remove address mapping.
4169 (EXTRA_ARGS_VALUE): Remove flags argument.
4170 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
4171 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
4172 gethostbyname3_multi.
4173 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
4174 _nss_files_gethostbyname3_r.
4175 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
4177 2019-05-16 Florian Weimer <fweimer@redhat.com>
4179 * support/support_test_compare_blob.c (report_blob): Report
4180 incorrect NULL blobs.
4182 2019-05-15 Mark Wielaard <mark@klomp.org>
4185 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
4186 __libc_once_get (once) and static_buf == NULL.
4187 (__dlerror): Check we have a valid key, set result to static_buf
4190 2019-05-15 Andreas Schwab <schwab@suse.de>
4193 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
4194 __codecvt_do_length.
4195 * libio/Makefile (tests): Add tst-wfile-sync.
4196 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
4197 * libio/tst-wfile-sync.c: New file.
4198 * libio/tst-wfile-sync.input: New file.
4200 2019-05-15 Florian Weimer <fweimer@redhat.com>
4202 nss: Turn __nss_database_lookup into a compatibility symbol.
4203 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
4204 __nss_database_lookup.
4205 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
4206 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
4207 __nss_database_lookup.
4208 (__nss_next): Move to …
4209 * nss/compat-lookup.c (nss_next): … here. Change it to fail
4211 (__nss_database_lookup): New function.
4212 * nss/Versions (GLIBC_2.0): Update comment.
4213 (GLIBC_PRIVATE): Export __nss_database_lookup2.
4214 * grp/initgroups.c (internal_getgrouplist): Call
4215 __nss_database_lookup2 instead of __nss_database_lookup.
4216 * nscd/aicache.c (addhstaiX): Likewise.
4217 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4218 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4219 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
4220 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
4221 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
4223 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
4224 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
4225 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4227 2019-05-15 Alexandra Hájková <ahajkova@redhat.com>
4229 * support/support.h (support_install_rootsbindir): New variable.
4230 * support/support_paths.c: Likewise.
4231 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
4233 2019-05-15 Florian Weimer <fweimer@redhat.com>
4235 * iconv/gconv.h (__gconv_transliterate): Move declaration …
4236 * iconv/gconv_int.h (__gconv_transliterate): … here.
4237 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
4238 * iconv/skeleton.c: Likewise.
4240 2019-05-14 Florian Weimer <fweimer@redhat.com>
4242 Linux: Add the tgkill function.
4243 * bits/signal_ext.h: New file.
4244 * manual/signal.texi (Signaling Another Process): Document tgkill.
4245 * signal/Makefile (headers): Add bits/signal_ext.h.
4246 * signal/signal.h: Include <bits/signal_ext.h>.
4247 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
4248 (tst-tgkill): Link with libpthread.
4249 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
4250 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
4251 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
4252 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
4254 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4255 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4256 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4257 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4258 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4259 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4260 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4261 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4262 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4263 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4264 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4266 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4267 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4268 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
4275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
4277 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4278 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4279 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4280 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4281 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4282 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4283 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4284 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4286 2019-05-14 Carlos O'Donell <carlos@redhat.com>
4288 * manual/search.texi (Tree Search Function): Adjust twalk_r
4291 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4294 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
4297 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
4298 * support/support.h (support_bindir_prefix): New variable.
4299 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
4301 * config.make.in (bindir): New variable.
4303 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
4304 (lll_trylock): Call __lll_trylock.
4305 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
4306 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
4307 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4308 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4309 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
4310 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
4311 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4312 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4313 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
4314 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
4315 lowlevellock-futex.h.
4317 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4318 initialization for LLL_LOCK_INITIALIZER different than 0.
4319 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
4320 Assume LLL_LOCK_INITIALIZER being 0.
4321 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
4322 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
4324 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
4325 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
4327 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
4328 Optimize futex call and add systemtap probe.
4330 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
4331 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
4332 __libc_disable_asynccancel, __librt_enable_asynccancel,
4333 __libc_disable_asynccancel, __librt_enable_asynccancel,
4334 __librt_disable_asynccancel): Move to ...
4335 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
4336 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
4337 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
4338 * sysdeps/generic/single-thread.h: New file.
4339 * sysdeps/unix/sysdep.h: Include single-thread.h.
4340 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
4341 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4343 2019-05-08 Mike FABIAN <mfabian@redhat.com>
4346 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
4347 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4349 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4350 * localedata/unicode-gen/PropList.txt: Likewise.
4351 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4352 * localedata/charmaps/UTF-8: Regenerate.
4353 * localedata/locales/i18n_ctype: Likewise.
4354 * localedata/locales/tr_TR: Likewise.
4355 * localedata/locales/translit_circle: Likewise.
4356 * localedata/locales/translit_cjk_compat: Likewise.
4357 * localedata/locales/translit_combining: Likewise.
4358 * localedata/locales/translit_compat: Likewise.
4359 * localedata/locales/translit_font: Likewise.
4360 * localedata/locales/translit_fraction: Likewise.
4362 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
4365 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
4366 (do_set_tcache_count): Only update if count is small enough.
4367 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
4369 2019-05-10 Florian Weimer <fweimer@redhat.com>
4371 * nptl/sem_close.c (struct walk_closure): Define.
4372 (walker): Adjust for __twalk_r.
4373 (sem_close): Call __twalk_r.
4375 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4377 * support/timespec.c (test_timespec_before_impl,
4378 test_timespec_equal_or_after_impl): print timespec member as intmax_t
4381 2019-05-09 Mike Crowe <mac@mcrowe.com>
4383 * nptl/tst-abstime.c: Use libsupport.
4385 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
4386 small bug where only tv.tv_usec was checked which could cause an
4387 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
4390 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
4393 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
4394 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
4396 * nptl/tst-cond11.c: Use libsupport.
4398 * support/timespec.h: New file. Provide timespec helper functions
4399 along with macros in the style of those in check.h.
4400 * support/timespec.c: New file. Implement check functions declared
4401 in support/timespec.h.
4402 * support/timespec-add.c: New file from gnulib containing
4403 timespec_add implementation that handles overflow.
4404 * support/timespec-sub.c: New file from gnulib containing
4405 timespec_sub implementation that handles overflow.
4406 * support/README: Mention timespec.h.
4408 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4411 * nptl/Makefile: Move tst-eintr1 to xtests.
4413 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4415 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
4417 (round_mode): Add definition for TRUNC.
4418 * sysdeps/powerpc/fpu/s_trunc.c: New file.
4419 * sysdeps/powerpc/fpu/s_truncf.c: New file.
4420 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
4421 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4422 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
4424 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
4426 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
4428 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4430 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
4432 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
4434 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
4436 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
4438 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
4439 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
4440 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4441 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
4442 s_truncf-power5+, and s_truncf-ppc64.
4443 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
4444 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
4446 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
4447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
4448 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
4449 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
4451 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
4453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
4454 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
4455 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4456 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
4457 s_truncf-power5+, and s_truncf-ppc64.
4458 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
4460 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
4461 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
4463 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
4464 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4465 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4466 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
4467 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
4469 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4471 (round_mode): Add definition for ROUND.
4472 (round_to_integer_float): Likewise.
4473 * sysdeps/powerpc/fpu/s_round.c: New file.
4474 * sysdeps/powerpc/fpu/s_roundf.c: New file.
4475 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
4476 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4477 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
4479 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
4481 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
4483 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4485 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
4487 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
4489 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
4491 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
4493 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
4494 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
4495 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4496 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
4497 s_roundf-power5+, and s_roundf-ppc64.
4498 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
4499 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
4501 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
4502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
4503 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
4504 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
4506 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
4508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
4509 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
4510 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4511 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
4512 s_roundf-power5+, and s_roundf-ppc64.
4513 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
4515 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
4516 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
4518 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
4519 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4520 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4521 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
4522 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
4524 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
4526 (round_mode): Add definition for FLOOR.
4527 * sysdeps/powerpc/fpu/s_floor.c: New file.
4528 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
4529 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
4530 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
4535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
4541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
4543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
4545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
4547 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
4548 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
4549 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
4550 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
4551 s_floorf-power5+, and s_floorf-ppc64.
4552 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
4553 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
4555 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
4556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
4557 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
4558 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
4560 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
4562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
4563 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
4564 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4565 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
4566 s_floorf-power5+, and s_floorf-ppc64.
4567 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
4569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
4571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
4573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
4575 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4576 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4577 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
4578 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
4580 2019-05-08 Mike Crowe <mac@mcrowe.com>
4582 * support/xclock_gettime.c (xclock_gettime): New file. Provide
4583 clock_gettime wrapper for use in tests that fails the test rather
4584 than returning failure.
4586 * support/xtime.h: New file to declare xclock_gettime.
4588 * support/Makefile: Add xclock_gettime.c.
4590 * support/README: Mention xtime.h.
4592 2019-05-08 Florian Weimer <fweimer@redhat.com>
4594 malloc/tst-mallocfork2: Use process-shared barriers.
4595 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
4596 (signal_count, sigusr1_sender_pid): Remove.
4597 (iterations): Define constant.
4598 (shared): New variable.
4599 (sigusr1_received): Update comment.
4600 (sigusr1_handler): Do not send SIGSTOP to the sender process.
4601 (signal_sender): Optional use barriers to avoid sending signals
4602 during irrelevant times.
4603 (do_it): Initialize variable shared. Use xfork for error
4604 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
4605 the iteration count, independent of signal delivery. Check for
4606 deadlocks in fork. Introduce barriers for reducing signal
4607 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
4608 replaced by the barriers. Count signals during fork/free/malloc
4610 * malloc/Makefile (tst-mallocfork): Link with libpthread.
4612 2019-05-07 Joseph Myers <joseph@codesourcery.com>
4614 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4616 (clock_adjtime64) New syscall.
4617 (clock_getres_time64) Likewise.
4618 (clock_gettime64) Likewise.
4619 (clock_nanosleep_time64) Likewise.
4620 (clock_settime64) Likewise.
4621 (futex_time64) Likewise.
4622 (io_pgetevents_time64) Likewise.
4623 (io_uring_enter) Likewise.
4624 (io_uring_register) Likewise.
4625 (io_uring_setup) Likewise.
4626 (mq_timedreceive_time64) Likewise.
4627 (mq_timedsend_time64) Likewise.
4628 (pidfd_send_signal) Likewise.
4629 (ppoll_time64) Likewise.
4630 (pselect6_time64) Likewise.
4631 (recvmmsg_time64) Likewise.
4632 (rt_sigtimedwait_time64) Likewise.
4633 (sched_rr_get_interval_time64) Likewise.
4634 (semtimedop_time64) Likewise.
4635 (timer_gettime64) Likewise.
4636 (timer_settime64) Likewise.
4637 (timerfd_gettime64) Likewise.
4638 (timerfd_settime64) Likewise.
4639 (utimensat_time64) Likewise.
4641 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
4642 version to 9 branch.
4644 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4646 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
4647 __memmove_thunderx2 to the list of implementations
4648 * sysdeps/aarch64/multiarch/memmove.c: Likewise
4649 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
4650 (__memmove_thunderx2): Rewritten using SIMD ld/st
4651 (__memcpy_thunderx2): Fixed handling overlapping cases.
4652 Used ldp/stp instead of ldr/str if possible. Made loops
4655 2019-05-03 Florian Weimer <fweimer@redhat.com>
4657 * misc/tst-tsearch.c (walk_tree): Add more error checking.
4659 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4662 * elf/tst-pldd.c (in_str_list): New function.
4663 (do_test): Add default names for ld and libc as one option.
4665 2019-05-02 Florian Weimer <fweimer@redhat.com>
4667 misc: Add twalk_r function.
4668 * include/search.h (__twalk_r): Declare.
4669 * manual/examples/twalk.c: New file.
4670 * manual/search.texi (Tree Search Function): Document twalk_r.
4671 * misc/Versions (2.30): Export twalk_r.
4672 (GLIBC_PRIVATE): Export __twalk_r.
4673 * misc/search.h [__USE_GNU] (twalk_r): Declare.
4674 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
4675 (twalk_r): Add weak alias.
4676 * misc/tst-tsearch.c (struct walk_trace_element): Define.
4677 (walk_trace): New variable.
4678 (struct twalk_with_twalk_r_closure): Define.
4679 (twalk_with_twalk_r_action): New function.
4680 (twalk_with_twalk_r): Likewise.
4681 (walk_action): Call walk_trace_add.
4682 (walk_tree_with): Rename from walk_tree. Add walk argument.
4683 (walk_tree): New function.
4684 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
4685 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4687 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4689 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4690 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
4691 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
4692 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
4693 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
4694 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4696 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4698 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4700 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4701 (GLIBC_2.30): Likewise.
4702 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4703 (GLIBC_2.30): Likewise.
4704 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4705 (GLIBC_2.30): Likewise.
4706 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4707 (GLIBC_2.30): Likewise.
4708 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4711 (GLIBC_2.30): Likewise.
4712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4713 (GLIBC_2.30): Likewise.
4714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4715 (GLIBC_2.30): Likewise.
4716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4717 (GLIBC_2.30): Likewise.
4718 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4720 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4722 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4724 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4725 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4727 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4729 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4731 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4734 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
4736 Make mktime etc. compatible with __time64_t
4737 Keep these functions compatible with Gnulib while adding
4738 __time64_t support. The basic idea is to move private API
4739 declarations from include/time.h to time/mktime-internal.h, since
4740 the former file cannot easily be shared with Gnulib whereas the
4742 Also, do some other minor cleanup while in the neighborhood.
4743 * include/time.h: Include stdbool.h, time/mktime-internal.h.
4744 (__mktime_internal): Move this prototype to time/mktime-internal.h,
4745 since Gnulib needs it.
4746 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
4747 Move these macros to time/mktime-internal.h, since Gnulib needs them.
4748 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
4749 (in_time_t_range): New static function.
4750 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
4751 so that glibc users are not tempted to use __time64_t.
4752 * time/mktime-internal.h: Rewrite so that it does both glibc
4753 and Gnulib work. Include time.h if not _LIBC.
4754 (mktime_offset_t) [!_LIBC]: Define for gnulib.
4755 (__time64_t): New type or macro, moved here from
4757 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
4758 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
4759 from include/time.h.
4760 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
4761 New macros, taken from GNulib.
4762 (__mktime_internal): New prototype, moved here from include/time.h.
4763 * time/mktime.c (mktime_min, mktime_max, convert_time)
4764 (ranged_convert, __mktime_internal, __mktime64):
4765 * time/timegm.c (__timegm64):
4766 Use __time64_t, not time_t.
4767 * time/mktime.c: Stop worrying about whether time_t is floating-point.
4768 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
4770 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
4771 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
4772 for libc_hidden_def.
4774 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
4776 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
4778 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
4781 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
4782 from `-Wmaybe-uninitialized'.
4783 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
4785 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4787 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
4789 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
4790 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
4791 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
4792 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
4793 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4795 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
4796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
4800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
4804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
4806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
4808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
4810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
4812 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
4813 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
4814 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
4815 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
4817 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
4819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
4820 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
4821 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
4823 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
4825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
4826 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
4828 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4829 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
4830 s_ceilf-power5+, and s_ceilf-ppc64.
4831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
4833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
4834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
4835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
4836 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
4837 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
4838 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
4839 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
4841 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
4842 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
4843 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
4845 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
4847 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
4848 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
4849 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
4850 (sem_getvalue): Likewise.
4852 2019-04-26 Florian Weimer <fweimer@redhat.com>
4854 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
4855 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
4857 2019-04-26 Florian Weimer <fweimer@redhat.com>
4859 Makeconfig: Move -Wl,-rpath-link options before library references.
4860 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
4861 (link-libc): Remove $(link-libc-rpath-link).
4863 2019-04-25 Florian Weimer <fweimer@redhat.com>
4865 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4866 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4867 (+link-static-before-libc): Remove $(CC).
4868 (+link-static, +link-static-tests): Add $(CC).
4869 (+link-before-libc): Remove $(CC).
4870 (+link, +link-pie, +link-pie-printers): Add $(CC).
4872 2019-04-26 Florian Weimer <fweimer@redhat.com>
4874 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4875 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4876 (+link-static-before-libc): Remove $(CC).
4877 (+link-static, +link-static-tests): Add $(CC).
4878 (+link-before-libc): Remove $(CC).
4879 (+link, +link-pie, +link-pie-printers): Add $(CC).
4881 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
4884 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
4886 2019-04-25 Florian Weimer <fweimer@redhat.com>
4888 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
4889 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
4890 (bench-link-targets): New variable.
4891 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
4893 2019-04-25 Florian Weimer <fweimer@redhat.com>
4895 Also enable BIND_NOW for programs if --enable-bind-now.
4896 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
4897 (+link-pie): Use $(link-extra-flags).
4898 (+link-static): Likewise.
4899 [! $(build-pie-default)] (+link): Likewise.
4900 * manual/install.texi (Configuring and compiling): Update
4901 --enable-bind-now description.
4902 * INSTALL: Regenerated.
4904 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
4906 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
4907 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
4909 2019-04-24 Mike Frysinger <vapier@gentoo.org>
4912 * malloc/Makefile (others): Add memusagestat.
4913 ($(objpfx)memusagestat): Delete rule.
4914 (LDLIBS-memusagestat): New variable.
4916 2019-04-24 Florian Weimer <fweimer@redhat.com>
4918 * locale/Makefile (tests-special): Guard setting by
4919 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
4920 to run while cross-compiling.
4922 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4925 * elf/Makefile (tests-container): Add tst-pldd.
4926 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
4927 (E(find_maps)): Avoid use alloca, use default read file operations
4928 instead of explicit LFS names, and fix infinite loop.
4929 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
4930 (get_process_info): Use _Static_assert instead of assert, use default
4931 directory operations instead of explicit LFS names, and free some
4933 * elf/tst-pldd.c: New file.
4935 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
4937 * malloc/arena.c (do_set_mallopt_check): Removed.
4939 2019-04-23 Florian Weimer <fweimer@redhat.com>
4941 locale: Add LOCPATH diagnostics to the locale program.
4942 * locale/programs/locale.c (setlocale_failed): New variable.
4943 (try_setlocale): New function.
4944 (quote_string): Likewise.
4945 (setlocale_diagnostics): Likewise.
4946 (main): Call try_setlocale instead of setlocale. Call
4947 setlocale_diagnostics.
4948 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
4949 (tst-locale-locpath.out): New target.
4950 * locale/tst-locale-locpath.sh: New file.
4952 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4954 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
4957 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4960 * malloc/hooks.c (malloc_check, realloc_check): Use
4961 __builtin_add_overflow on overflow check and adapt to
4962 checked_request2size change.
4963 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
4964 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
4965 allocation size to PTRDIFF_MAX.
4966 (REQUEST_OUT_OF_RANGE): Remove macro.
4967 (checked_request2size): Change to inline function and limit maximum
4968 requested size to PTRDIFF_MAX.
4969 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
4970 maximum allocation size to PTRDIFF_MAX.
4971 (_mid_memalign): Use _int_memalign call for overflow check.
4972 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
4973 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
4974 limit maximum requested size to PTRDIFF_MAX.
4975 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
4976 valloc, pvalloc): Add __attribute_alloc_size__.
4977 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
4978 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
4979 larger than PTRDIFF_MAX.
4980 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
4981 around tests of malloc with negative sizes.
4982 * malloc/tst-posix_memalign.c (do_test): Likewise.
4983 * malloc/tst-pvalloc.c (do_test): Likewise.
4984 * malloc/tst-valloc.c (do_test): Likewise.
4985 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
4986 with resulting size allocation larger than PTRDIFF_MAX with
4987 reallocarray_nowarn.
4988 (reallocarray_nowarn): New function.
4989 * NEWS: Mention the malloc function semantic change.
4991 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4993 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
4994 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4996 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
4997 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
4998 * sysdeps/powerpc/fpu/s_fma.c: New file.
4999 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
5001 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
5002 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
5004 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
5005 the magic flag store.
5006 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5008 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
5010 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
5011 Remove rt_sigreturn call.
5013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5014 Remove rt_sigreturn call.
5015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
5018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5020 * support/Makefile (libsupport-routines): Add support_subprocess,
5021 xposix_spawn, xposix_spawn_file_actions_addclose, and
5022 xposix_spawn_file_actions_adddup2.
5023 (tst-support_capture_subprocess-ARGS): New rule.
5024 * support/capture_subprocess.h (support_capture_subprogram): New
5026 * support/support_capture_subprocess.c (support_capture_subprocess):
5027 Refactor to use support_subprocess and support_capture_poll.
5028 (support_capture_subprogram): New function.
5029 * support/tst-support_capture_subprocess.c (write_mode_to_str,
5030 str_to_write_mode, test_common, parse_int, handle_restart,
5031 do_subprocess, do_subprogram, do_multiple_tests): New functions.
5032 (do_test): Add support_capture_subprogram tests.
5033 * support/subprocess.h: New file.
5034 * support/support_subprocess.c: Likewise.
5035 * support/xposix_spawn.c: Likewise.
5036 * support/xposix_spawn_file_actions_addclose.c: Likewise.
5037 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
5038 * support/xspawn.h: Likewise.
5040 2019-04-17 Mike Gerow <gerow@google.com>
5042 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
5045 2019-04-11 Florian Weimer <fweimer@redhat.com>
5047 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
5048 domain with empty string.
5049 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5051 2019-04-11 Florian Weimer <fweimer@redhat.com>
5053 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
5055 (alloc_buffer_next): Change return type to non-const. Update
5058 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
5060 * manual/time.texi (Formatting Calendar Time): Add missing percent
5061 sign to conversion specifier.
5063 2019-04-09 Carlos O'Donell <carlos@redhat.com>
5064 Kwok Cheung Yeung <kcy@codesourcery.com>
5067 * malloc/mtrace.c: Define prototypes for all hooks.
5068 (set_default_hooks): New function.
5069 (set_trace_hooks): Likewise.
5070 (save_default_hooks): Likewise.
5071 (tr_freehook): Use new s*_hooks functions.
5072 (tr_mallochook): Likewise.
5073 (tr_reallochook): Likewise.
5074 (tr_memalignhook): Likewise.
5076 (muntrace): Likewise.
5078 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5080 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
5081 (generic_stpcpy): New function.
5082 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
5083 (generic_stpncpy): New function.
5084 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
5085 (generic_strcat): New function.
5086 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
5087 (generic_strcpy): New function.
5088 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
5089 (STUPID_STRNCAT): Remove function.
5090 (generic_strncat): New function.
5091 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
5092 (STUPID_STRNCPY): Remove function.
5093 (generic_strncpy): New function.
5094 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
5095 (generic_strnlen): New function.
5096 (memchr_strnlen): New function.
5097 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
5098 (memchr_strlen): Likewise.
5100 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5102 * benchtests/bench-strstr.c (input): Add realistic input text.
5103 (stupid_strstr): Remove function.
5104 (basic_strstr): Add function.
5105 (twoway_strstr): Add function.
5106 (do_one_test): Add result checking.
5107 (do_test): Use new input text. Remove accidental early matches.
5108 (test_main): Improve range of tests, reduce unaligned cases.
5110 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5112 * benchtests/bench-memmem.c (simple_memmem): Remove function.
5113 (basic_memmem): Add function.
5114 (twoway_memmem): Add function.
5116 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
5118 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
5119 * benchtests/bench-malloc-thread.c: Likewise.
5120 * benchtests/bench-skeleton.c: Likewise.
5121 * benchtests/bench-strtod.c: Likewise.
5122 * benchtests/bench-timing.h: Likewise.
5124 2019-04-08 Florian Weimer <fweimer@redhat.com>
5126 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
5128 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
5129 RES_INSECURE2 security checks.
5130 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
5131 RES_INSECURE2 handling.
5133 2019-04-08 Florian Weimer <fweimer@redhat.com>
5135 resolv: Remove support for RES_USE_INET6 and the inet6 option.
5136 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
5137 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
5139 * resolv/Makefile (tests): Remove tst-res_use_inet6.
5140 (tests-internal): Update justification for tst-resolv-res_init,
5141 tst-resolv-res_init-thread.
5142 (tst-res_use_inet6): Remove target.
5143 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
5144 * resolv/res_debug.c (p_option): Remove "inet6" support.
5145 * resolv/res_init.c (res_setoptions): Likewise.
5146 * resolv/res_use_inet6.h: Remove file.
5147 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
5149 (res_use_inet6): Always return false.
5150 * resolv/resolv.h (RES_USE_INET6): Remove definition.
5151 * resolv/resolv_context.h: Adjust file comment.
5152 (struct resolv_context): Update comment on __next field.
5153 (__resolv_context_put): Update comment.
5154 * resolv/tst-res_use_inet6.c: Remove file.
5155 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
5157 (test_cases): Adjust test case.
5158 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
5159 (thread_byname2_af_inet6): Use old byname_inet6 code.
5160 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
5161 (gai): Remove do_inet6 argument.
5162 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
5163 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
5164 (thread_gai_unspec_inet6): Remove functions.
5165 (do_test): Adjust thread_funcs.
5166 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
5168 (gaih_inet): Do not disable RES_USE_INET6 flag.
5170 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5172 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
5173 and remove redundant code.
5175 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5177 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
5179 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
5180 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
5182 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
5184 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
5186 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5187 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
5188 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
5189 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
5190 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5191 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
5192 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5193 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
5195 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
5196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5197 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5198 Remove wcsrchr optimizations.
5199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5201 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
5204 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
5206 * sysdeps/powerpc/power6/wcschr.c: Remove file.
5207 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
5209 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
5211 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
5213 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5214 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
5215 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
5216 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
5217 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5218 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
5219 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5220 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
5222 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
5223 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5224 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5225 Remove wcschr optimizations.
5226 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5228 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
5231 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
5233 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
5234 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
5236 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
5238 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
5240 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5241 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
5242 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
5243 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
5244 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5245 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
5246 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5247 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
5249 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
5250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5251 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5252 Remove wcscpy optimizations.
5253 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5255 * include/loop_unroll.h: New file.
5256 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
5257 besides generic implementation.
5259 2019-04-03 DJ Delorie <dj@redhat.com>
5261 * time/tst-strftime3.c (tm_to_printed): Disable warning about
5262 snprintf truncating output.
5264 2019-04-02 DJ Delorie <dj@redhat.com>
5266 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
5269 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5272 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
5274 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
5275 (mkreftable): Add rules for the new Japanese era and the new dates.
5277 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5278 Rafał Lużyński <digitalfreak@lingonborough.com>
5280 * time/tst-strftime2.c (date_t): Explicitly define the type.
5281 (dates): Use natural month and year numbers to express a date.
5282 (is_before): New function to compare dates.
5283 (mkreftable): Minor improvements to simplify maintenance.
5284 (do_test): Reflect the changes in dates array.
5287 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
5288 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
5289 * time/tst-strftime2.c (locales): Likewise.
5290 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
5291 2010-04-01, and 2011-04-01.
5292 (mkreftable): Add rules for the new locales and the new dates.
5294 2019-04-01 Carlos O'Donell <carlos@redhat.com>
5296 * localedata/locales/ja_JP: Add comments to era entries.
5298 2019-04-01 DJ Delorie <dj@redhat.com>
5301 * time/strptime_l.c (%Ey): Fix fencepost error.
5302 * time/tst-strftime3.c: New.
5303 * time/Makefile (tests): Add tst-strftime3.
5305 2019-04-01 Uroš Bizjak <ubizjak@gmail.com>
5307 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
5308 conditional branch to DIVBYZERO. Fix unwind info.
5309 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
5310 excb after conditional branch to $powerof2. Add missing unop
5311 instructions and .align directives and reorder instructions to
5314 2019-04-01 Richard Henderson <rth@twiddle.net>
5316 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5318 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
5321 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
5323 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
5324 $libc_cv_riscv_float_abi in `test' invocation.
5325 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
5327 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
5329 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
5331 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
5333 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5334 (_GET_SI_FPSCR): Likewise.
5335 (_SET_SI_FPSCR): Likewise.
5337 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5339 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
5341 (signbit): Use builtin for clang 3.3.
5342 (isinf): Use builtin for clang 3.7.
5344 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5346 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
5348 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
5350 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
5353 2019-03-25 Mike Crowe <mac@mcrowe.com>
5355 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
5356 pthread_rwlock_timedrdlock with calls to
5357 pthread_rwlock_timedwrlock to ensure that the latter is tested
5358 too. Use new function name in diagnostic messages too.
5360 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
5361 (do_test) Use libsupport test macros rather than hand-coded
5362 conditionals and error messages. Ensure that sem_init returns zero
5363 rather than not -1. Use <support/test-driver.c> rather than
5366 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
5367 test macros rather than hand-coded conditionals and error messages.
5368 Use <support/test-driver.c> rather than test-skeleton.c.
5370 2019-03-25 Joseph Myers <joseph@codesourcery.com>
5372 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
5374 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
5375 (NT_MIPS_MSA): Likewise.
5377 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5379 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
5380 * benchtests/README: Update description.
5381 * benchtests/bench-timing.h: Default to hp-timing.
5382 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
5383 HP_TIMING_PRINT): Remove.
5384 (HP_TIMING_NOW): Add generic implementation.
5385 (hp_timing_t): Change to uint64_t.
5387 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
5389 * nptl/descr.h: Likewise.
5390 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
5391 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
5392 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
5393 Abstract hp-timing usage with RTLD_* macros.
5394 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
5395 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
5396 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
5397 HP_TIMING_NONAVAIL): Likewise.
5398 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5400 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
5401 HP_SMALL_TIMING_AVAIL): Likewise.
5402 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
5403 HP_SMALL_TIMING_AVAIL): Likewise.
5404 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
5405 HP_SMALL_TIMING_AVAIL): Likewise.
5406 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
5407 HP_SMALL_TIMING_AVAIL): Likewise.
5408 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5410 * sysdeps/generic/hp-timing-common.h: Update comment with
5411 HP_TIMING_AVAIL removal.
5413 * include/random-bits.h: New file.
5414 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
5415 (__res_context_mkquery): Remove usage hp-timing usage and replace with
5417 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
5418 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
5421 * include/libc-internal.h (__get_clockfreq): Remove prototype.
5422 * rt/Makefile (clock-routines): Remove get_clockfreq.
5423 * rt/get_clockfreq.c: Remove file.
5424 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5425 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
5426 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
5427 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
5428 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
5430 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
5431 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
5432 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
5433 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
5434 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
5436 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
5437 pthread_clock_settime.
5438 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
5439 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
5440 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
5441 * elf/rtld.c (_dl_start_final): Likewise.
5442 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
5443 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
5445 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
5446 (_dl_cpuclock_offset): Remove.
5447 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
5448 cpuclock_offset_ununsed.
5449 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
5450 cpuclock_offset set.
5451 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5452 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5453 * nptl/pthread_clock_gettime.c: Remove file.
5454 * nptl/pthread_clock_settime.c: Likewise.
5455 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
5456 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
5457 and CLOCK_PROCESS_CPUTIME_ID support.
5458 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
5459 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
5460 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
5461 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
5462 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
5464 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
5466 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5468 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
5469 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
5470 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
5472 * sysdeps/s390/memmem-arch13.S: New file.
5473 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
5474 if it is only used as fallback.
5475 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
5476 * sysdeps/s390/multiarch/ifunc-impl-list.c
5477 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
5479 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5481 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
5482 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
5483 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
5485 * sysdeps/s390/multiarch/ifunc-impl-list.c
5486 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
5487 * sysdeps/s390/strstr-arch13.S: New file.
5488 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
5489 if it is only used as fallback.
5490 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
5492 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5494 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
5495 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
5496 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
5497 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
5499 * sysdeps/s390/multiarch/ifunc-impl-list.c
5500 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
5501 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
5502 S390_IS_ARCH13_MIE3): New defines.
5504 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5506 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
5507 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
5508 * sysdeps/s390/configure.ac: Add checks for arch13 support.
5509 * sysdeps/s390/configure: Regenerated.
5511 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5513 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
5514 Add vxe2, vxp, dflt, sort flags.
5515 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
5516 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
5518 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
5519 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
5520 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
5521 HWCAP_S390_DFLT): Define.
5523 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5526 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
5527 of compiler warning.
5528 * locale/programs/ld-collate.c (collate_output): Likewise.
5530 2019-03-21 DJ Delorie <dj@redhat.com>
5533 * iconv/iconvconfig.c (write_output): Replace floating point math
5534 with integer math to avoid imprecise results.
5535 * locale/programs/ld-collate.c (collate_output): Likewise.
5537 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
5539 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
5540 Add HWCAP_S390_VX and HWCAP_S390_VXE.
5542 2019-03-20 mansayk <6688000@gmail.com>
5545 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
5546 (abday): Likewise, but remove the trailing dots.
5548 2019-03-19 Joseph Myers <joseph@codesourcery.com>
5550 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
5552 (HWCAP_PACA): Likewise.
5553 (HWCAP_PACG): Likewise.
5554 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5556 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
5558 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5560 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
5563 2019-03-15 Joseph Myers <joseph@codesourcery.com>
5565 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5567 (old_getpagesize): New syscall.
5569 2019-03-15 Felix Yan <felixonmars@archlinux.org>
5572 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
5573 * localedata/locales/cmn_TW (era): Likewise.
5574 * localedata/locales/hak_TW (era): Likewise.
5575 * localedata/locales/lzh_TW (era): Likewise.
5576 * localedata/locales/nan_TW (era): Likewise.
5578 2019-03-14 Adam Maris <amaris@redhat.com>
5580 * malloc/malloc.c (_int_malloc): Check for large bin list
5581 corruption when inserting unsorted chunk.
5583 2019-03-14 Florian Weimer <fweimer@redhat.com>
5585 Remove obsolete, never-implemented XSI STREAMS declarations.
5586 * manual/terminal.texi (Allocation): Remove portability note and
5588 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
5590 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
5591 * sysdeps/unix/inet/Subdirs (streams): Remove.
5592 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
5593 (conformtest-headers-UNIX98): Likewise.
5594 (conformtest-headers-XOPEN2K): Likewise.
5595 (conformtest-headers-POSIX2008): Likewise.
5596 * posix/compat-streams.c: New file.
5597 * posix/Makefile (routines): Add it.
5598 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
5599 getpmsg, isastream, putmsg, putpmsg.
5600 (GLIBC_2.30): New section.
5601 * bits/stropts.h: Remove file.
5602 * bits/xtitypes.h: Likewise.
5603 * conform/data/stropts.h-data: Likewise.
5604 * include/stropts.h: Likewise.
5605 * include/sys/stropts.h: Likewise.
5606 * include/xtitypes.h: Likewise.
5607 * streams/Makefile: Likewise.
5608 * streams/fattach.c: Likewise.
5609 * streams/fdetach.c: Likewise.
5610 * streams/getmsg.c: Likewise.
5611 * streams/getpmsg.c: Likewise.
5612 * streams/isastream.c: Likewise.
5613 * streams/putmsg.c: Likewise.
5614 * streams/putpmsg.c: Likewise.
5615 * streams/stropts.h: Likewise.
5616 * streams/sys/stropts.h: Likewise.
5617 * sysdeps/ia64/bits/xtitypes.h: Likewise.
5618 * sysdeps/s390/bits/xtitypes.h: Likewise.
5619 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
5620 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
5621 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
5622 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
5623 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
5624 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
5625 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
5626 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
5627 * sysdeps/x86/bits/xtitypes.h: Likewise.
5629 2019-03-14 Florian Weimer <fweimer@redhat.com>
5631 * nss/tst-nss-files-alias-truncated.c (do_test): Load
5633 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
5634 but not with libnss_files.
5635 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
5637 2019-03-14 Zack Weinberg <zackw@panix.com>
5639 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
5640 Specify encoding="utf-8" when opening headers to check.
5642 2019-03-13 Joseph Myers <joseph@codesourcery.com>
5644 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5646 (Context.checkout_tar): Handle variable major version for Linux
5649 2019-03-13 Florian Weimer <fweimer@redhat.com>
5652 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
5654 2019-03-13 Zack Weinberg <zackw@panix.com>
5656 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
5658 * include/inttypes.h: Adjust to match.
5659 * include/stdint.h: New wrapper.
5661 2019-03-13 Zack Weinberg <zackw@panix.com>
5663 * scripts/check-obsolete-constructs.py: New test script.
5664 * scripts/check-installed-headers.sh: Remove tests for
5665 obsolete typedefs, superseded by check-obsolete-constructs.py.
5666 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
5667 as a special test. Update commentary.
5668 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
5669 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
5671 * posix/sys/types.h (__u_intN_t): Remove.
5672 (u_int8_t): Typedef using __uint8_t.
5673 (u_int16_t): Typedef using __uint16_t.
5674 (u_int32_t): Typedef using __uint32_t.
5675 (u_int64_t): Typedef using __uint64_t.
5677 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
5679 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
5681 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
5682 Ignore types other than AT_HWCAP.
5683 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
5684 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
5686 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
5687 in the case of falling back to generic output mechanism.
5688 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
5691 2019-03-12 Florian Weimer <fweimer@redhat.com>
5693 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
5695 2019-03-12 Florian Weimer <fweimer@redhat.com>
5698 resolv: Enable full ICMP errors for UDP DNS sockets
5699 * resolv/res_enable_icmp.c: New file.
5700 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
5701 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
5702 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
5705 2019-03-11 Mao Han <han_mao@c-sky.com>
5707 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
5708 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
5710 2019-03-11 Mao Han <han_mao@c-sky.com>
5712 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
5713 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5714 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5716 2019-03-11 Mao Han <han_mao@c-sky.com>
5718 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
5720 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
5723 2019-03-11 Mao Han <han_mao@c-sky.com>
5725 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
5726 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
5729 2019-03-08 Mike FABIAN <mfabian@redhat.com>
5732 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
5733 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
5735 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
5736 * localedata/unicode-gen/PropList.txt: Likewise.
5737 * localedata/unicode-gen/UnicodeData.txt: Likewise.
5738 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
5739 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
5740 * localedata/charmaps/UTF-8: Regenerate.
5741 * localedata/locales/i18n_ctype: Likewise.
5742 * localedata/locales/tr_TR: Likewise.
5743 * localedata/locales/translit_circle: Likewise.
5744 * localedata/locales/translit_cjk_compat: Likewise.
5745 * localedata/locales/translit_combining: Likewise.
5746 * localedata/locales/translit_compat: Likewise.
5747 * localedata/locales/translit_font: Likewise.
5748 * localedata/locales/translit_fraction: Likewise.
5750 2019-03-07 Joseph Myers <joseph@codesourcery.com>
5752 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
5753 than after operators.
5754 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
5755 (setitimer_locked): Likewise.
5756 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5757 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5758 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
5759 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
5760 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
5761 (PPC_CPU_SUPPORTED): Likewise.
5762 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
5763 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
5764 (stat_overflow): Likewise.
5765 (statfs_overflow): Likewise.
5766 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
5767 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
5768 (eq_ttyname_r): Likewise.
5769 (run_chroot_tests): Likewise.
5771 2019-03-07 Florian Weimer <fweimer@redhat.com>
5773 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
5776 2019-03-07 Martin Liska <mliska@suse.cz>
5778 * math/Makefile: Change location where math-vector-fortran.h is
5780 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
5781 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
5782 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
5783 * scripts/check-installed-headers.sh: Skip Fortran header files.
5784 * scripts/check-wrapper-headers.py: Likewise.
5786 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5788 * nptl/nptl-init.c (__have_futex_clock_realtime,
5789 __have_futex_clock_realtime): Remove definition.
5790 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
5791 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
5792 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
5793 __ASSUME_FUTEX_CLOCK_REALTIME support.
5794 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
5795 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5796 * sysdeps/unix/sysv/linux/kernel-features.h
5797 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
5798 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
5801 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5803 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
5804 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
5805 __GI___wcscpy and wcscpy.
5807 2019-03-04 Florian Weimer <fweimer@redhat.com>
5809 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
5811 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
5814 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
5816 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
5817 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5819 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5822 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
5823 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
5825 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5827 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
5829 (do_test): Likewise.
5830 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5831 (do_test_call_varg): Likewise.
5832 (do_test_call_rarg): Likewise.
5833 * sysdeps/ieee754/ldbl-opt/Makefile
5834 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
5836 ($(objpfx)tst-nldbl-warn.c): New rule.
5837 ($(objpfx)tst-nldbl-error.c): Likewise.
5838 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
5841 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5844 * include/bits/error-ldbl.h: New file.
5845 * include/error.h: Include stdarg.h. Declare internal functions
5846 __error_internal and __error_at_line_internal.
5847 * misc/Makefile (headers): Add bits/error-ldbl.h.
5848 * misc/bits/error-ldbl.h: New file.
5849 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
5850 avoid the inclusion of bits/error.h.
5851 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
5852 and __nldbl_error_at_line.
5853 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
5854 (__nldbl_error, __ndlbl_error_at_line): New functions.
5855 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
5856 Redirect error and error_at_line.
5857 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5866 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5867 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5868 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5870 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5873 * include/bits/err-ldbl.h: New file.
5874 * include/err.h: Add prototypes for the internal functions:
5875 __vwarnx_internal and __vwarn_internal.
5876 * misc/Makefile (headers): Add bits/err-ldbl.h.
5877 * misc/bits/err-ldbl.h: New file.
5878 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
5879 defined, i.e.: when -mlong-double-64 is in use.
5880 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
5881 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
5882 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
5883 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
5884 (VA_CALL): New macro.
5885 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
5886 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
5888 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
5889 declare prototypes for the new functions.
5890 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5899 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5900 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5901 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5903 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5905 * sysdeps/ieee754/ldbl-opt/Makefile
5906 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
5907 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
5908 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
5910 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5913 * argp/Makefile (headers): Add bits/argp-ldbl.h.
5914 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
5915 * argp/bits/argp-ldbl.h: New file.
5916 * include/argp.h: Include stdarg.h. Add prototypes for internal
5917 functions: __argp_error_internal and __argp_failure_internal.
5918 * include/bits/argp-ldbl.h: New file.
5919 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
5920 __nldbl_argp_error and __nldbl_argp_failure.
5921 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
5922 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
5923 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
5924 Redirect argp_error and argp_failure calls.
5925 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5934 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5935 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5936 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5938 2019-03-01 Florian Weimer <fweimer@redhat.com>
5941 * elf/tst-big-note-lib.S: Create a syntactically valid note.
5942 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
5943 code, to avoid creating an ABI tag note.
5944 (modules-names-nobuild): Add tst-big-note-lib.
5946 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
5948 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
5949 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
5951 2019-03-01 Florian Weimer <fweimer@redhat.com>
5954 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5955 (__netlink_assert_response): Add additional missing newlines.
5957 2019-02-28 Joseph Myers <joseph@codesourcery.com>
5959 * sysdeps/powerpc/powerpc32/dl-machine.c
5960 (__elf_machine_fixup_plt): Use space before '('.
5961 (__process_machine_rela): Likewise.
5962 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
5964 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
5966 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
5968 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
5969 (pattern): Likewise.
5971 (check_result): Likewise.
5972 (check_excepts): Likewise.
5973 (check_op): Likewise.
5974 (fail_xr): Likewise.
5975 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
5976 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
5978 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
5981 (__makecontext): Likewise.
5982 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
5985 2019-02-28 Florian Weimer <fweimer@redhat.com>
5988 elf: Add test with a local IFUNC resolver.
5989 * elf/ifuncmain9.c: New file.
5990 * elf/ifuncmain9pic.c: Likewise.
5991 * elf/ifuncmain9picstatic.c: Likewise.
5992 * elf/ifuncmain9pie.c: Likewise.
5993 * elf/ifuncmain9static.c: Likewise.
5994 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
5995 ifuncmain9static, ifuncmain9picstatic.
5996 * elf/Makefile [multi-arch && build-shared] (tests-internal):
5997 Add ifuncmain9, ifuncmain9pic.
5998 * elf/Makefile [multi-arch && build-shared && have-fpie]
5999 (ifunc-pie-tests): Add ifuncmain9pie.
6000 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
6001 (CFLAGS-ifuncmain9picstatic.c): Likewise.
6002 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
6004 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
6006 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
6007 * configure: Regenerated.
6008 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
6010 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6012 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
6013 symbol as __wcspcy instead of wcscpy.
6015 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6017 * include/stdio.h (__renameat2): New hidden prototype.
6018 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
6019 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
6020 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
6021 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
6023 2019-02-27 Joseph Myers <joseph@codesourcery.com>
6025 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
6028 * benchtests/bench-strcpy.c (do_test): Use space before '('.
6029 * benchtests/bench-string.h (cmdline_process_function): Likewise.
6030 * benchtests/bench-strlen.c (do_test): Likewise.
6031 (test_main): Likewise.
6032 * catgets/gencat.c (read_old): Likewise.
6033 * elf/cache.c (load_aux_cache): Likewise.
6034 * iconvdata/bug-iconv8.c (do_test): Likewise.
6035 * math/test-tgmath-ret.c (do_test): Likewise.
6036 * nis/nis_call.c (rec_dirsearch): Likewise.
6037 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6038 * nptl/tst-audit-threads.c (do_test): Likewise.
6039 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
6040 * nss/nss_test1.c (init): Likewise.
6041 * nss/test-netdb.c (test_hosts): Likewise.
6042 * posix/execvpe.c (maybe_script_execute): Likewise.
6043 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
6044 * stdio-common/tst-printf.c (do_test): Likewise.
6045 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
6046 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
6047 * stdlib/qsort.c (STACK_SIZE): Likewise.
6048 * stdlib/test-canon.c (do_test): Likewise.
6049 * stdlib/tst-swapcontext1.c (do_test): Likewise.
6050 * string/memcmp.c (OPSIZ): Likewise.
6051 * string/test-strcpy.c (do_test): Likewise.
6052 (do_random_tests): Likewise.
6053 * string/test-strlen.c (do_test): Likewise.
6054 (test_main): Likewise.
6055 * string/test-strrchr.c (do_test): Likewise.
6056 (do_random_tests): Likewise.
6057 * string/tester.c (test_memrchr): Likewise.
6058 (test_memchr): Likewise.
6059 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
6060 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
6061 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
6062 (read_encoded_value_with_base): Likewise.
6063 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
6064 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
6065 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
6066 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6067 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
6068 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
6070 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
6072 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
6073 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
6074 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
6076 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
6078 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
6080 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6082 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
6083 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
6084 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6085 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
6086 * time/test_time.c (main): Likewise.
6088 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6090 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
6092 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
6095 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
6098 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
6100 * include/wchar.h (__wcscpy): New prototype.
6101 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
6102 (__wcscpy): Route internal symbol to generic implementation.
6103 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
6104 Add internal __wcscpy alias.
6105 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
6106 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
6107 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
6108 * wcsmbs/wcscpy.c (wcscpy): Add
6109 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
6110 use generic implementation.
6111 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
6113 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
6116 * sysdeps/m68k/wcpcpy.c: Remove file.
6117 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
6119 2019-02-26 Joseph Myers <joseph@codesourcery.com>
6121 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
6122 than after operators.
6123 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6124 * sysdeps/mach/hurd/getcwd.c
6125 (__hurd_canonicalize_directory_name_internal): Likewise.
6126 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
6127 (pthread_mutex_consistent): Likewise.
6128 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
6130 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
6131 (__pthread_mutex_transfer_np): Likewise.
6132 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
6133 (__pthread_mutex_unlock): Likewise.
6134 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
6135 (mtx_owned_p): Likewise.
6136 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
6137 (pthread_mutexattr_getrobust): Likewise.
6138 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
6139 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6141 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6142 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
6143 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
6144 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
6145 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6146 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6147 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
6149 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
6151 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
6152 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
6153 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
6154 (____longjmp_chk): Likewise.
6155 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
6157 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6158 (INTERNAL_SYSCALL): Likewise.
6159 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6160 (INTERNAL_SYSCALL): Likewise.
6161 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6162 (__get_clockfreq_via_cpuinfo): Likewise.
6164 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
6166 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
6167 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
6168 (WORD_COPY_BWD): Likewise.
6169 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6170 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6172 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
6173 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
6175 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
6177 2019-02-25 Joseph Myers <joseph@codesourcery.com>
6179 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
6180 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
6181 rather than after operators.
6182 * elf/cache.c (print_cache): Likewise.
6183 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
6184 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
6185 * hurd/hurdinit.c (_hurd_setproc): Likewise.
6186 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
6187 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
6188 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
6189 (reauth_proc): Likewise.
6190 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
6191 (__file_name_split_at): Likewise.
6192 (__directory_name_split_at): Likewise.
6193 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6194 * hurd/port2fd.c (_hurd_port2fd): Likewise.
6195 * iconv/gconv_dl.c (do_print): Likewise.
6196 * inet/netinet/in.h (struct sockaddr_in): Likewise.
6197 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
6198 * locale/setlocale.c (new_composite_name): Likewise.
6199 * malloc/memusagestat.c (main): Likewise.
6200 * misc/fstab.c (fstab_convert): Likewise.
6201 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6203 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
6204 (getgrent_next_file): Likewise.
6205 (internal_getgrnam_r): Likewise.
6206 (internal_getgrgid_r): Likewise.
6207 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
6209 (internal_getgrent_r): Likewise.
6210 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6211 (getpwent_next_nss): Likewise.
6212 (getpwent_next_file): Likewise.
6213 (internal_getpwnam_r): Likewise.
6214 (internal_getpwuid_r): Likewise.
6215 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
6217 (getspent_next_nss): Likewise.
6218 (internal_getspnam_r): Likewise.
6219 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
6220 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
6221 * string/strchr.c (STRCHR): Likewise.
6222 * string/strchrnul.c (STRCHRNUL): Likewise.
6223 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
6224 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6225 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
6226 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
6227 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
6229 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
6230 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6231 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6232 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
6233 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
6234 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
6235 (open_file): Likewise.
6236 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
6237 (pthread_mutexattr_setprotocol): Likewise.
6238 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6239 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6240 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6241 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6242 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6244 (elf_machine_rela): Likewise.
6245 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6246 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6247 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
6248 * sysdeps/posix/rename.c (rename): Likewise.
6249 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
6250 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
6251 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
6252 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
6253 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6254 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
6255 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
6257 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
6259 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
6260 * time/tzfile.c (__tzfile_compute): Likewise.
6262 2019-02-22 Joseph Myers <joseph@codesourcery.com>
6264 * benchtests/bench-memmem.c (simple_memmem): Break lines before
6265 rather than after operators.
6266 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
6267 * crypt/md5.c (md5_finish_ctx): Likewise.
6268 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
6269 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
6270 * elf/cache.c (load_aux_cache): Likewise.
6271 * elf/dl-load.c (open_verify): Likewise.
6272 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
6273 * elf/readelflib.c (process_elf_file): Likewise.
6274 * elf/rtld.c (dl_main): Likewise.
6275 * elf/sprof.c (generate_call_graph): Likewise.
6276 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
6277 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
6278 * hurd/dtable.c (reauth_dtable): Likewise.
6279 * hurd/getdport.c (__getdport): Likewise.
6280 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
6281 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
6282 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
6284 * hurd/hurdioctl.c (fioctl): Likewise.
6285 * hurd/hurdselect.c (_hurd_select): Likewise.
6286 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
6287 (STOPSIGS): Likewise.
6288 * hurd/hurdstartup.c (_hurd_startup): Likewise.
6289 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
6290 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6291 * hurd/msgportdemux.c (msgport_server): Likewise.
6292 * hurd/setauth.c (_hurd_setauth): Likewise.
6293 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
6294 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
6295 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6296 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
6297 * login/tst-utmp.c (do_check): Likewise.
6298 (simulate_login): Likewise.
6299 * mach/lowlevellock.h (lll_lock): Likewise.
6300 (lll_trylock): Likewise.
6301 * math/test-fenv.c (ALL_EXC): Likewise.
6302 * math/test-fenvinline.c (ALL_EXC): Likewise.
6303 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
6304 * nis/nis_call.c (__do_niscall3): Likewise.
6305 * nis/nis_callback.c (cb_prog_1): Likewise.
6306 * nis/nis_defaults.c (searchaccess): Likewise.
6307 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6308 * nis/nis_ismember.c (internal_ismember): Likewise.
6309 * nis/nis_local_names.c (nis_local_principal): Likewise.
6310 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
6311 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
6313 * nis/ypclnt.c (yp_match): Likewise.
6314 (yp_first): Likewise.
6315 (yp_next): Likewise.
6316 (yp_master): Likewise.
6317 (yp_order): Likewise.
6318 * nscd/hstcache.c (cache_addhst): Likewise.
6319 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6320 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
6321 (internal_getpwuid_r): Likewise.
6322 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
6323 * posix/glob.h (__GLOB_FLAGS): Likewise.
6324 * posix/regcomp.c (peek_token): Likewise.
6325 (peek_token_bracket): Likewise.
6326 (parse_expression): Likewise.
6327 * posix/regexec.c (sift_states_iter_mb): Likewise.
6328 (check_node_accept_bytes): Likewise.
6329 * posix/tst-spawn3.c (do_test): Likewise.
6330 * posix/wordexp-test.c (testit): Likewise.
6331 * posix/wordexp.c (parse_tilde): Likewise.
6332 (exec_comm): Likewise.
6333 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
6334 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
6335 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
6336 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
6337 * stdio-common/tst-fileno.c (do_test): Likewise.
6338 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
6339 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
6340 * stdlib/strtod_l.c (round_and_return): Likewise.
6341 (____STRTOF_INTERNAL): Likewise.
6342 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
6343 * string/strcspn.c (STRCSPN): Likewise.
6344 * string/test-memmem.c (simple_memmem): Likewise.
6345 * termios/tcsetattr.c (tcsetattr): Likewise.
6346 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
6347 * time/asctime.c (asctime_internal): Likewise.
6348 * time/strptime_l.c (__strptime_internal): Likewise.
6349 * time/sys/time.h (timercmp): Likewise.
6350 * time/tzfile.c (__tzfile_compute): Likewise.
6352 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
6355 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
6357 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6359 * argp/argp-help.c (__argp_error_internal): New function,
6360 renamed from __argp_error, but that takes a 'mode_flags'
6361 parameter to control the format of long double parameters.
6362 (__argp_error): Converted into a call __argp_error_internal.
6363 (__argp_failure_internal): New function, renamed from
6364 __argp_failure, but that takes a 'mode_flags' parameter.
6365 (__argp_failure): Converted into a call __argp_failure_internal.
6366 * misc/err.c (__vwarnx_internal): New function, renamed from
6367 vwarnx, but that takes a 'mode_flags' parameter.
6368 (vwarnx): Converted into a call to __vwarnx_internal.
6369 (__vwarn_internal): New function, renamed from vwarn, but that
6370 takes a 'mode_flags' parameter.
6371 (vwarn): Converted into a call to __vwarn_internal.
6372 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
6373 call to __vfxprintf with 'mode_flags'.
6374 (__error_internal): New function, renamed from error, but that
6375 takes a 'mode_flags' parameter.
6376 (error): Converted into a call to __error_internal.
6377 (__error_at_line_internal): New function, renamed from
6378 error_at_line, but that takes a 'mode_flags' parameter.
6379 (error_at_line): Converted into a call to
6380 __error_at_line_internal.
6381 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
6382 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
6385 2019-02-20 Martin Liska <mliska@suse.cz>
6387 * math/Makefile: Install math-vector-fortran.h.
6388 * bits/math-vector-fortran.h: New file.
6389 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
6391 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6393 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
6394 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
6396 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
6398 * nptl/pthread_mutex_trylock.c: Fix comment.
6400 2019-02-19 Carlos O'Donell <carlos@redhat.com>
6402 * nptl/pthread_tryjoin.c: Fix comment.
6404 2019-02-18 Joseph Myers <joseph@codesourcery.com>
6407 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
6408 after R_SPARC_H34 case.
6410 2019-02-18 Florian Weimer <fweimer@redhat.com>
6412 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
6413 (getanswer): Do not call Dprintf.
6414 (res_gethostbyname2_context): Likewise.
6415 (res_gethostbyaddr_context): Likewise.
6417 2019-02-18 Florian Weimer <fweimer@redhat.com>
6419 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
6421 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
6423 * libio/stdfiles.c: Update comment.
6424 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
6425 set _IO_stdin, _IO_stdout, _IO_stderr.
6426 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
6427 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
6429 (_IO_deallocate_file): New inline function.
6430 * libio/iolibio.h (_IO_vprintf): Remove definition.
6431 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
6432 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6433 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
6435 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
6436 __builtin_expect. Use _IO_legacy_file.
6438 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
6440 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
6441 Initialize ctid with a known value and remove update of ctid
6443 (wait_tid): Adjust arguments and call futex_wait with ctid_val
6444 as assumed current value of ctid_ptr.
6446 2019-02-16 Florian Weimer <fweimer@redhat.com>
6448 Check that non-sysdeps headers have wrapper headers.
6449 * scripts/check-wrapper-headers.py: New file.
6450 * Makefile (tests-special): Add check-wrapper-headers.out.
6451 (check-wrapper-headers.out): New target.
6452 * Rules (tests-special): Add check-wrapper-headers.out.
6453 (check-wrapper-headers.out): New target.
6455 2019-02-16 Florian Weimer <fweimer@redhat.com>
6457 Add missing header wrappers under include/.
6458 * include/ar.h: New file.
6459 * include/bits/mqueue2.h: Likewise.
6460 * include/bits/stdio.h: Likewise.
6461 * include/bits/stdio2.h: Likewise.
6462 * include/fstab.h: Likewise.
6463 * include/fts.h: Likewise.
6464 * include/lastlog.h: Likewise.
6465 * include/netinet/icmp6.h: Likewise.
6466 * include/netinet/igmp.h: Likewise.
6467 * include/netinet/ip6.h: Likewise.
6468 * include/re_comp.h: Likewise.
6469 * include/regexp.h: Likewise.
6470 * include/rpcsvc/bootparam.h: Likewise.
6471 * include/rpcsvc/yp_prot.h: Likewise.
6472 * include/sys/random.h: Likewise.
6473 * include/sys/stropts.h: Likewise.
6474 * include/sys/ttychars.h: Likewise.
6475 * include/sys/vfs.h: Likewise.
6476 * include/wait.h: Likewise.
6478 2019-02-16 Florian Weimer <fweimer@redhat.com>
6480 * nptl_db/proc_service.h: Move to ...
6481 * sysdeps/nptl/proc_service.h: ... here.
6482 * nptl_db/thread_db.h: Move to ...
6483 * sysdeps/nptl/thread_db.h: ... here.
6484 * nptl/descr.h: Include <thread_db.h>.
6486 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6488 * io/Makefile (tests): Add tst-lockf.
6489 * io/lockf.c (lockf): Use __fcntl and only define for
6490 !__OFF_T_MATCHES_OFF64_T.
6491 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
6492 __OFF_T_MATCHES_OFF64_T case.
6493 * io/tst-lockf.c: New file.
6494 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
6495 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
6496 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
6497 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
6498 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
6499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
6500 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
6501 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
6502 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
6504 2019-02-15 Florian Weimer <fweimer@redhat.com>
6507 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
6508 pd->result after the thread descriptor has been freed.
6510 2019-02-15 Joseph Myers <joseph@codesourcery.com>
6512 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
6513 from function return type.
6515 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
6517 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6519 * scripts/test_printers_common.py: Set TERM to a known harmless
6522 2019-02-14 Joseph Myers <joseph@codesourcery.com>
6524 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
6525 (xdr_u_int): Likewise.
6526 (xdr_enum): Likewise.
6527 (xdr_bytes): Reword fall-through comment.
6528 (xdr_string): Likewise.
6530 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6533 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
6534 (tests): Add tst-join8 tst-join9.
6535 * nptl/lll_timedwait_tid.c: Remove file.
6536 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
6537 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
6538 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
6539 * nptl/pthread_join_common.c (timedwait_tid): New function.
6540 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
6542 * nptl/tst-join5.c (thread_join): New function.
6543 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
6545 * nptl/tst-join8.c: New file.
6546 * nptl/tst-join9.c: Likewise.
6547 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
6548 lll_futex_timed_wait_cancel): Add generic macros.
6549 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
6551 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6552 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6553 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6554 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
6556 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
6558 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6559 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6560 (lll_futex_timed_wait_cancel): New macro.
6562 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
6564 * benchtests/Makefile: Add malloc-simple benchmark.
6565 * benchtests/bench-malloc-simple.c: New benchmark.
6567 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6569 * benchtests/bench-memmove.c (do_one_test): Remove unused
6572 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
6576 2019-01-13 Jim Wilson <jimw@sifive.com>
6579 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
6580 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
6582 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
6584 * nptl/Makefile (tests): Add tst-unwind-thread.
6585 (CFLAGS-tst-unwind-thread.c): Define.
6586 * nptl/tst-unwind-thread.c: New file.
6587 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
6590 2019-02-13 Joseph Myers <joseph@codesourcery.com>
6592 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
6594 * nis/nis_call.c (__do_niscall3): Likewise.
6596 * catgets/gencat.c (normalize_line): Use braces around empty
6598 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6599 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
6600 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
6601 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
6602 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
6603 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
6604 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
6607 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
6610 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
6612 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
6613 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
6614 * benchtests/bench-strchr.c (stupid_strchr): Remove.
6615 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
6616 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
6617 * benchtests/bench-strlen.c (builtin_strlen): Remove.
6618 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
6619 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
6620 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
6621 * benchtests/bench-strspn.c (stupid_strspn): Remove.
6622 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
6623 * benchtests/bench-bcopy.c: Delete file.
6624 * benchtests/bench-bzero.c: Likewise.
6625 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
6626 (simple_memccpy): Remove.
6627 (generic_memccpy): Add function.
6628 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
6629 * benchtests/bench-memmove.c (simple_bcopy): Remove.
6630 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
6631 (generic_mempcpy): Add new function.
6632 * benchtests/bench-memset.c (simple_bzero): Remove.
6633 (builtin_bzero): Remove.
6634 (builtin_memset): Remove.
6635 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
6636 (generic_rawmemchr): Add new function.
6638 2019-02-12 Florian Weimer <fweimer@redhat.com>
6640 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
6642 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6645 * elf/Makefile (tests): Add tst-audit13.
6646 (modules-names): Add tst-audit13mod1.
6647 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6649 * elf/tst-audit13.c: New file.
6650 * elf/tst-audit13mod1.c: Likewise.
6652 2019-02-12 Florian Weimer <fweimer@redhat.com>
6655 * elf/rtld.c (unload_audit_module): New function.
6656 (report_audit_module_load_error): Likewise.
6657 (load_audit_module): Likewise. Extracted from dl_main. Call
6658 _dl_close if the laversion symbol cannot be found. Use early
6659 returns for error handling. Add malloc error check. Check for a
6660 zero return value from la_version. Remove spurious comment about
6661 static TLS initialization. Remove useless casts.
6662 (notify_audit_modules_of_loaded_object): New function. Extracted
6664 (load_audit_module): Likewise.
6665 (dl_main): Call load_audit_modules.
6667 2019-02-12 Joseph Myers <joseph@codesourcery.com>
6669 * elf/dl-exception.c (_dl_exception_create_format): Add
6670 fall-through comments.
6671 * elf/ldconfig.c (parse_conf_include): Likewise.
6672 * elf/rtld.c (print_statistics): Likewise.
6673 * locale/programs/charmap.c (parse_charmap): Likewise.
6674 * misc/mntent_r.c (__getmntent_r): Likewise.
6675 * posix/wordexp.c (parse_arith): Likewise.
6676 (parse_backtick): Likewise.
6677 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
6678 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6679 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6681 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
6683 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
6684 Use float instead of double.
6686 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6688 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
6690 2019-02-08 Joseph Myers <joseph@codesourcery.com>
6692 * sysdeps/powerpc/bits/mathinline.h: Remove.
6694 2019-02-08 Florian Weimer <fweimer@redhat.com>
6696 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
6697 * math/bits/math-finite.h: Move to ...
6698 * bits/math-finite.h: ... here.
6700 2019-02-08 Florian Weimer <fweimer@redhat.com>
6702 * sysdeps/generic/bits/unistd_ext.h: Move to ...
6703 * bits/unistd_ext.h: here.
6705 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
6708 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
6709 * nss/tst-nss-files-hosts-long.c: New file.
6710 * nss/tst-nss-files-hosts-long.root: New directory.
6711 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
6712 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
6714 2019-02-08 Florian Weimer <fweimer@redhat.com>
6716 * include/bits/unistd_ext.h: Remove file.
6717 * posix/bits/unistd_ext.h: Move to ...
6718 * sysdeps/generic/bits/unistd_ext.h: ... here.
6720 2019-02-08 Florian Weimer <fweimer@redhat.com>
6722 * include/bits/unistd_ext.h: New file.
6724 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
6726 * time/tst-strftime2.c: Use array_length macros instead of magic
6729 2019-02-08 Florian Weimer <fweimer@redhat.com>
6732 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
6734 * nptl/register-atfork.c (__run_fork_handlers): Only perform
6735 locking if the new do_locking argument is true.
6736 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
6737 __run_fork_handlers.
6739 2019-02-08 Florian Weimer <fweimer@redhat.com>
6742 Linux: Add gettid system call wrapper.
6743 * posix/Makefile (headers): Add bits/unistd_ext.h.
6744 * posix/bits/unistd_ext.h: New file.
6745 * posix/unistd.h: Include it.
6746 * manual/process.texi (Process Identification): Document gettid.
6747 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
6748 tst-gettid, tst-gettid-kill.
6749 (tst-gettid): Link with $(shared-thread-library).
6750 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
6751 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
6752 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
6753 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
6754 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
6755 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
6757 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
6759 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
6760 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
6762 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
6764 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
6766 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
6768 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
6770 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
6772 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
6774 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6775 (GLIBC_2.30): Likewise.
6776 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6777 (GLIBC_2.30): Likewise.
6778 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6779 (GLIBC_2.30): Likewise.
6780 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6781 (GLIBC_2.30): Likewise.
6782 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
6784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6785 (GLIBC_2.30): Likewise.
6786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6787 (GLIBC_2.30): Likewise.
6788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
6789 (GLIBC_2.30): Likewise.
6790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
6791 (GLIBC_2.30): Likewise.
6792 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
6794 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
6796 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
6798 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
6799 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
6801 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
6803 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
6805 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
6807 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
6809 2019-02-08 Florian Weimer <fweimer@redhat.com>
6811 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
6812 compatibility symbols.
6814 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
6817 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6818 Add compiler barriers and comments.
6820 2019-02-07 Florian Weimer <fweimer@redhat.com>
6822 * include/array_length.h (array_length): Do not use a statement
6823 expression and _Static_assert, so that array_length can be used at
6824 file scope and as a constant expression.
6826 2019-02-07 Florian Weimer <fweimer@redhat.com>
6828 * support/xdlfcn.h (xdlmopen): Declare.
6829 * support/xdlmopen.c: New file.
6830 * support/Makefile (libsupport-routines): Add xdlmopen.
6832 2019-02-06 Joseph Myers <joseph@codesourcery.com>
6834 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
6835 before return type, without separate inline.
6836 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
6837 * elf/dl-tunables.h (tunable_is_name): Likewise.
6838 * malloc/malloc.c (do_set_trim_threshold): Likewise.
6839 (do_set_top_pad): Likewise.
6840 (do_set_mmap_threshold): Likewise.
6841 (do_set_mmaps_max): Likewise.
6842 (do_set_mallopt_check): Likewise.
6843 (do_set_perturb_byte): Likewise.
6844 (do_set_arena_test): Likewise.
6845 (do_set_arena_max): Likewise.
6846 (do_set_tcache_max): Likewise.
6847 (do_set_tcache_count): Likewise.
6848 (do_set_tcache_unsorted_limit): Likewise.
6849 * nis/nis_subr.c (count_dots): Likewise.
6850 * nptl/allocatestack.c (advise_stack_range): Likewise.
6851 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
6853 (reduce_sincos): Likewise.
6854 (do_sincos): Likewise.
6855 * sysdeps/unix/sysv/linux/x86/elision-conf.c
6856 (do_set_elision_enable): Likewise.
6857 (TUNABLE_CALLBACK_FNDECL): Likewise.
6859 2019-02-06 Florian Weimer <fweimer@redhat.com>
6861 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
6862 (xdlsym): Use dlerror to detect a NULL symbol.
6864 2019-02-06 Florian Weimer <fweimer@redhat.com>
6866 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
6868 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6870 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6872 * libio/tst-bz24153.c (wide): Use wide char format specifier.
6874 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6876 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
6877 __wmemcmp and weak alias to wmemcmp.
6879 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6882 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
6883 TLS_TCB_AT_TP tls variant.
6884 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
6885 Add alignment checks.
6886 * support/Makefile (libsupport-routines): Add xposix_memalign and
6888 * support/support.h: Add xposix_memalign.
6889 * support/xthread.h: Add xpthread_attr_setstack.
6890 * support/xposix_memalign.c: New File.
6891 * support/xpthread_attr_setstack.c: Likewise.
6893 2019-02-05 Florian Weimer <fweimer@redhat.com>
6896 arm: Use "nr" constraint for Systemtap probes, to avoid the
6897 compiler using memory operands for constants, due to the "o"
6898 alternative in the default "nor" constraint.
6899 * include/stap-probe.h [USE_STAP_PROBE]: Include
6900 <stap-probe-machine.h>
6901 * sysdeps/generic/stap-probe-machine.h: New file.
6902 * sysdeps/arm/stap-probe-machine.h: Likewise.
6904 2019-02-04 Joseph Myers <joseph@codesourcery.com>
6906 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
6907 with 0, not tcache->entries[tc_idx].
6909 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
6912 2019-02-04 Andreas Schwab <schwab@suse.de>
6916 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
6917 looking up collating elements match against (wide) character
6918 sequence instead of name. Correct alignment adjustment.
6919 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
6920 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
6921 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
6922 (LOCALES): Add cs_CZ.ISO-8859-2.
6923 * posix/tst-fnmatch4.c: New file.
6924 * posix/tst-fnmatch5.c: New file.
6925 * include/wchar.h (__wmemcmp): Declare.
6926 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
6927 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
6928 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
6929 * sysdeps/s390/wmemcmp.c: Likewise.
6931 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
6935 * NEWS: Updated for CVE-2019-7309.
6936 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
6937 upper 32 bits of RDX register for x32. Use unsigned Jcc
6938 instructions, instead of signed.
6939 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
6940 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
6942 2019-02-04 Florian Weimer <fweimer@redhat.com>
6944 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
6945 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
6946 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
6948 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
6949 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
6950 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
6951 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
6953 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
6955 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
6957 (posix_spawn_file_actions_addopen): Likewise.
6958 (posix_spawn_file_actions_addclose): Likewise.
6959 (posix_spawn_file_actions_adddup2): Likewise.
6960 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
6962 (posix_spawn_file_actions_addfchdir_np): Likewise.
6964 2019-02-04 David Newall <glibc@davidnewall.com>
6966 elf: Implement --preload option for the dynamic linker.
6967 * elf/rtld.c (preloadarg): New variable.
6968 (handle_preload_list): Pass through “where” argument to
6970 (dl_main): Handle "--preload" and add second call to
6971 handle_preload_list.
6972 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
6973 (tst-rtld-preload-OBJS): Set variable.
6974 (tst-rtld-preload.out): New target.
6975 * elf/tst-rtld-preload.sh: New file.
6977 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
6979 * Makefile (testrun.sh): Exit in case of incorrect argument.
6981 2019-02-04 Florian Weimer <fweimer@redhat.com>
6983 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
6986 2019-02-03 Florian Weimer <fweimer@redhat.com>
6988 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
6989 implicit overflow checks.
6991 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
6993 * stdlib/isomac.c: Include <unistd.h>.
6995 2019-02-03 Florian Weimer <fweimer@redhat.com>
6997 * include/time.h (__tzfile_default): Use int, not long int, for
6999 * time/tzfile.c (struct ttinfo): Change type of the offset member
7001 (__tzfile_read): Remove useless cast.
7002 (__tzfile_default): Adjust prototype.
7003 * time/tzset.c (tz_rule): Change type of the offset member to int.
7004 (parse_offset): Change the type of the sign variable to int.
7006 2019-02-03 Florian Weimer <fweimer@redhat.com>
7009 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
7010 * libio/getchar.c (getchar): Likewise.
7011 * libio/getchar_u.c (getchar_unlocked): Likewise.
7012 * libio/getwchar.c (getwchar): Likewise.
7013 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7014 * libio/iogets.c (_IO_gets): Likewise.
7015 * libio/vscanf.c (_IO_vscanf): Likewise.
7016 * libio/vwscanf.c (__vwscanf): Likewise.
7017 * libio/tst-bz24153.c: New file.
7018 * libio/Makefile (tests): Add it.
7020 2019-02-02 Florian Weimer <fweimer@redhat.com>
7023 * manual/resource.texi (Basic Scheduling Functions): Add
7024 portability note. Change process to task throughout the section.
7025 Remove incorrect comment about sched_yield as it affects
7026 tasks/threads, not entire processes.
7027 * sysdeps/unix/sysv/linux/bits/posix_opt.h
7028 (_POSIX_PRIORITY_SCHEDULING): Update comment.
7030 2019-02-01 Joseph Myers <joseph@codesourcery.com>
7032 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
7033 * configure: Regenerated.
7034 * manual/install.texi (Tools for Compilation): Update minimum GCC
7036 * INSTALL: Regenerated.
7038 2019-02-01 Florian Weimer <fweimer@redhat.com>
7040 * support/support_test_compare_string.c
7041 (support_test_compare_string): Use "string" in error message.
7042 * support/tst-test_compare_string.c (do_test): Adjust.
7044 2019-02-01 Florian Weimer <fweimer@redhat.com>
7046 * support/support_format_address_family.c
7047 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
7049 2019-02-01 Florian Weimer <fweimer@redhat.com>
7051 * manual/socket.texi (Internet Address Formats): Clarify the byte
7052 order of struct sockaddr_in, struct sockaddr_in6. Document
7053 sin6_flowinfo and sin6_scope_id.
7055 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
7057 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
7058 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
7059 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
7060 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
7061 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
7062 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
7064 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7066 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
7067 [!MEMCHR](MEMCHR): Set to __memchr.
7068 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
7069 Add memchr_generic and memchr_nosimd.
7070 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7071 (__libc_ifunc_impl_list): Add memchr ifuncs.
7072 * sysdeps/aarch64/multiarch/memchr.c: New file.
7073 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
7074 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
7076 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7078 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
7080 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7081 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
7082 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
7083 Add IS_EMAG check for ifunc dispatch.
7084 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
7085 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
7087 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
7089 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
7090 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7092 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
7095 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
7097 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
7099 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
7101 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
7102 syscall-template file.
7104 2019-01-31 Carlos O'Donell <carlos@redhat.com>
7105 Torvald Riegel <triegel@redhat.com>
7106 Rik Prohaska <prohaska7@gmail.com>
7109 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
7110 tst-rwlock-trywrlock-stall.
7111 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
7112 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
7113 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
7114 Set __wrphase_fute to 1 only if we started the write phase.
7115 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
7116 * nptl/tst-rwlock-trywrlock-stall.c: New file.
7117 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
7118 * support/xpthread_rwlock_destroy.c: New file.
7119 * support/xthread.h: Declare xpthread_rwlock_destroy.
7121 2019-02-01 Joseph Myers <joseph@codesourcery.com>
7123 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
7126 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7129 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
7130 * libio/fileops.c (_IO_new_file_underflow): Likewise
7131 * libio/wfileops.c (_IO_wfile_underflow): Likewise
7132 * libio/putchar.c (putchar): Likewise.
7133 * libio/putchar_u.c (putchar_unlocked): Likewise.
7134 * libio/putwchar.c (putchar): Likewise.
7135 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7136 * libio/tst-bz24051.c: New test.
7137 * libio/Makefile (tests): Add tst-bz24051
7139 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
7142 regex: fix read overrun [BZ #24114]
7143 Problem found by AddressSanitizer, reported by Hongxu Chen in:
7144 https://debbugs.gnu.org/34140
7145 * posix/regexec.c (proceed_next_node):
7146 Do not read past end of input buffer.
7148 2019-01-31 Florian Weimer <fweimer@redhat.com>
7151 * nss/nss_files/files-alias.c (get_next_alias): Handle
7152 continuation line without newline at the end.
7153 * nss/tst-nss-files-alias-truncated.c: New file.
7154 * nss/Makefile [$(build-shared)] (tests): Add
7155 tst-nss-files-alias-truncated.
7156 (tst-nss-files-alias-truncated): Link with libnss_files.so.
7157 * support/namespace.h (struct support_chroot_configuration): Add
7159 (struct support_chroot): Add path_aliases member.
7160 * support/support_chroot.c (support_chroot_create): Handle
7162 (support_chroot_free): Free path_aliases.
7164 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
7166 * version.h (RELEASE): Set to "development".
7167 (VERSION): Set to "2.29.9000".
7168 * NEWS: Add section for 2.30.
7170 * version.h (RELEASE): Set to "stable".
7171 (VERSION): Set to "2.29".
7172 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
7174 * NEWS: Add the list of bugs fixed in 2.29.
7175 * manual/contrib.texi: Update contributors list with some more
7177 * manual/install.texi: Update latest versions of packages
7179 * INSTALL: Regenerated.
7181 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
7183 * po/be.po: Update translations.
7184 * po/bg.po: Likewise.
7185 * po/ca.po: Likewise.
7186 * po/cs.po: Likewise.
7187 * po/da.po: Likewise.
7188 * po/de.po: Likewise.
7189 * po/el.po: Likewise.
7190 * po/eo.po: Likewise.
7191 * po/es.po: Likewise.
7192 * po/fi.po: Likewise.
7193 * po/fr.po: Likewise.
7194 * po/gl.po: Likewise.
7195 * po/hr.po: Likewise.
7196 * po/hu.po: Likewise.
7197 * po/ia.po: Likewise.
7198 * po/id.po: Likewise.
7199 * po/it.po: Likewise.
7200 * po/ja.po: Likewise.
7201 * po/ko.po: Likewise.
7202 * po/lt.po: Likewise.
7203 * po/nb.po: Likewise.
7204 * po/nl.po: Likewise.
7205 * po/pl.po: Likewise.
7206 * po/pt_BR.po: Likewise.
7207 * po/ru.po: Likewise.
7208 * po/rw.po: Likewise.
7209 * po/sk.po: Likewise.
7210 * po/sl.po: Likewise.
7211 * po/sv.po: Likewise.
7212 * po/tr.po: Likewise.
7213 * po/uk.po: Likewise.
7214 * po/vi.po: Likewise.
7215 * po/zh_CN.po: Likewise.
7216 * po/zh_TW.po: Likewise.
7218 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
7221 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
7222 of $f3 register on $y_is_neg path.
7224 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
7227 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
7228 sigaltstack.ss_flags.
7230 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
7233 * manual/time.texi (strftime): Document "%Ey".
7234 * time/strftime_l.c (__strftime_internal): Set the default width
7235 padding with zero of "%Ey" to 2.
7238 * manual/time.texi (strftime): Document "%EC" and "%EY".
7239 * time/Makefile (tests): Add tst-strftime2.
7240 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
7241 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
7242 override padding for "%Ey".
7243 If an optional flag ('_' or '-') is specified to "%EY", interpret the
7244 "%Ey" in the subformat as if decorated with that flag.
7245 * time/tst-strftime2.c: New file.
7247 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7249 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
7253 * elf/Makefile (tests): Add tst-audit13.
7254 (modules-names): Add tst-audit13mod1.
7255 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
7257 * elf/rtld.c (dl_main): Handle invalid audit module version.
7258 * elf/tst-audit13.c: New file.
7259 * elf/tst-audit13mod1.c: Likewise.
7261 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7263 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
7264 returned by __hurd_at_flags.
7265 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
7266 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
7267 directly instead of __hurd_file_name_lookup.
7269 2019-01-21 Joseph Myers <joseph@codesourcery.com>
7271 * scripts/build-many-glibcs.py (Context.checkout): Default
7272 binutils version to 2.32 branch.
7274 2019-01-21 Florian Weimer <fweimer@redhat.com>
7278 resolv: Reject trailing characters in host names
7279 * include/arpa/inet.h (__inet_aton_exact): Declare.
7280 (inet_aton): Remove hidden prototype. No longer used internally.
7281 * nscd/gai.c (__inet_aton): Do not define.
7282 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
7283 * nss/digits_dots.c (__inet_aton): Likewise.
7284 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
7285 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
7286 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
7287 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
7288 (tst-resolv-trailing): Likewise.
7289 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
7291 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
7292 Make static. Add endp parameter.
7293 (__inet_aton_exact): New function.
7294 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
7295 (__inet_addr): Call inet_aton_end.
7296 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
7297 not just IPv6. Call __inet_aton_exact.
7298 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
7299 (tests): Make const. Add additional test cases with trailing
7301 (do_test): Use array_length.
7302 * resolv/tst-inet_aton_exact.c: New file.
7303 * resolv/tst-resolv-trailing.c: Likewise.
7304 * resolv/tst-resolv-nondecimal.c: Likewise.
7305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
7307 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7311 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
7312 Clear the upper 32 bits of RSI register.
7313 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
7314 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
7315 and tst-size_t-wcsnlen.
7316 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
7317 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
7319 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7323 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
7324 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7325 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7326 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
7327 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
7329 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7333 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
7334 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7335 * sysdeps/x86_64/strcmp.S: Likewise.
7336 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
7337 tst-size_t-strncmp and tst-size_t-wcsncmp.
7338 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
7339 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
7340 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
7342 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7346 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
7347 RDX_LP for length. Clear the upper 32 bits of RDX register.
7348 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
7349 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
7350 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
7351 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
7353 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7357 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
7358 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
7359 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
7360 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
7362 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7366 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
7367 length. Clear the upper 32 bits of RDX register.
7368 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7369 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7371 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7373 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
7375 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
7377 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7381 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
7382 length. Clear the upper 32 bits of RDX register.
7383 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7384 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7385 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
7387 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
7388 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
7390 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7394 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
7395 upper 32 bits of RDX register.
7396 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
7397 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
7399 * sysdeps/x86_64/x32/test-size_t.h: New file.
7400 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
7401 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
7403 2019-01-18 Florian Weimer <fweimer@redhat.com>
7406 resolv: Do not send queries for non-host-names in nss_dns.
7407 * resolv/nss_dns/dns-host.c (check_name): New function.
7408 (_nss_dns_gethostbyname2_r): Use it.
7409 (_nss_dns_gethostbyname_r): Likewise.
7410 (_nss_dns_gethostbyname4_r): Likewise.
7412 2019-01-21 Florian Weimer <fweimer@redhat.com>
7414 * resolv/inet_addr.c: Reformat to GNU style.
7415 (__inet_addr, __inet_aton): Update comment.
7417 2019-01-18 Florian Weimer <fweimer@redhat.com>
7419 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
7420 ("malloc: Use current (C11-style) atomics for fastbin access").
7421 This commit introduces a substantial performance regression on
7423 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
7424 (REMOVE_FB): Define.
7425 (_int_malloc): Use it and reindent.
7426 (_int_free): Use CAS loop with
7427 catomic_compare_and_exchange_val_rel.
7428 (malloc_consolidate): Use atomic_exchange_acq.
7431 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
7433 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
7435 (LDFLAGS-tst-minsigstksz-2): Likewise.
7436 (LDFLAGS-tst-minsigstksz-3): Likewise.
7437 (LDFLAGS-tst-minsigstksz-3a): Likewise.
7438 (LDFLAGS-tst-minsigstksz-4): Likewise.
7440 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
7442 * manual/time.texi (strftime): Fix the wording to "alternative" rather
7445 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
7447 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
7449 2019-01-16 Zack Weinberg <zackw@panix.com>
7451 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
7452 (xget_sigstack_location): New test support functions.
7453 * support/xsigstack.c: New file, implementing them.
7454 * support/tst-xsigstack.c: New test for them.
7455 * support/Makefile: Update.
7457 * signal/tst-minsigstksz-1.c
7458 * signal/tst-minsigstksz-2.c
7459 * signal/tst-minsigstksz-3.c
7460 * signal/tst-minsigstksz-3a.c
7461 * signal/tst-minsigstksz-4.c: New tests.
7462 * signal/Makefile: Run them.
7464 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7466 * po/libc.pot: Regenerate.
7468 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7470 * math/libm-test-fma.inc (fma_test_data): Set
7471 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
7473 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7475 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
7476 (do_test): Changed __vector __int128_t to __vector unsigned int.
7478 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7481 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
7482 stpcpy-avx2 and stpncpy-avx2.
7483 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
7484 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
7485 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
7487 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
7488 ifunc-strcpy.h}: rename header for a more generic name.
7489 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
7490 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7491 AVX unaligned load is fast and vzeroupper is preferred.
7492 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
7493 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
7494 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
7495 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
7496 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
7497 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
7499 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
7501 * argp/argp-help.c: Fix typo in comment.
7502 * misc/sys/cdefs.h: Likewise.
7503 * posix/regexec.c (sift_states_iter_mb): Likewise.
7504 * socket/sockatmark.c: Likewise.
7505 * socket/sys/socket.h: Likewise.
7506 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
7507 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
7508 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
7509 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7510 * sysdeps/unix/sockatmark.c: Likewise.
7511 * time/strptime_l.c: Likewise.
7513 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7515 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
7516 missing space after the cast of "_NL_CURRENT".
7518 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7520 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
7521 ifdef to fix read of VSCR.
7522 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
7523 tst-ucontext-ppc64-vscr.c to test list.
7524 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
7526 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
7528 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
7531 2019-01-09 Jim Wilson <jimw@sifive.com>
7533 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7535 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
7537 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
7538 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
7539 __memcpy_falkor for ares.
7540 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
7542 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7545 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
7548 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
7549 4_FP_W_TYPEs are used for IEEE quad precision.
7550 * soft-fp/extendhftf2.c: Likewise.
7551 * soft-fp/extendsftf2.c: Likewise.
7552 * soft-fp/extendxftf2.c: Likewise.
7553 * soft-fp/trunctfdf2.c: Likewise.
7554 * soft-fp/trunctfhf2.c: Likewise.
7555 * soft-fp/trunctfsf2.c: Likewise.
7556 * soft-fp/trunctfxf2.c: Likewise.
7557 * sysdeps/alpha/ots_cvttx.c: Likewise.
7558 * sysdeps/alpha/ots_cvtxt.c: Likewise.
7559 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
7560 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7561 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7562 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
7563 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
7564 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7565 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7566 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
7567 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
7568 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
7569 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
7570 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
7571 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
7572 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
7573 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
7574 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
7576 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7579 * Makeconfig: Build libm with -fno-math-errno but build the remaining
7580 code with -fmath-errno.
7581 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
7582 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
7583 * string/test-strerror-errno.c: New file.
7585 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7588 * localedata/locales/en_US (date_fmt): Add, set to
7589 "%a %d %b %Y %r %Z".
7591 2019-01-07 Florian Weimer <fweimer@redhat.com>
7594 * manual/arith.texi (Math Error Reporting): Use @code{errno}
7595 instead of @var{errno}.
7596 (Parsing of Integers): Likewise.
7597 (Parsing of Floats): Likewise.
7598 * manual/filesys.texi (Working with Directory Trees): Likewise.
7599 (Temporary Files): Likewise.
7600 * manual/job.texi (Terminal Access Functions): Likewise.
7601 * manual/llio.texi (Synchronizing I/O): Likewise.
7602 * manual/math.texi (SVID Random): Likewise.
7603 * manual/message.texi (The catgets Functions): Likewise.
7604 (Translation with gettext): Likewise.
7605 (Locating gettext catalog): Likewise.
7606 (Charset conversion in gettext): Likewise.
7607 * manual/nss.texi (NSS Module Function Internals): Likewise.
7608 * manual/search.texi (Hash Search Function): Likewise.
7609 * manual/setjmp.texi (System V contexts): Likewise.
7610 * manual/time.texi (Sleeping): Likewise.
7611 * manual/users.texi (Lookup User): Likewise.
7612 (Lookup Group): Likewise.
7614 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7616 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
7619 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
7622 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
7623 __builtin_unreachable for default case in switch.
7624 (__ieee754_yn): Likewise.
7625 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7626 (__ieee754_ynl): Likewise.
7627 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7628 (__ieee754_ynl): Likewise.
7629 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7630 (__ieee754_ynl): Likewise.
7632 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7634 * manual/maint.texi: Use @{ and @}.
7636 2019-01-04 Florian Weimer <fweimer@redhat.com>
7638 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
7640 (do_in_chroot_1): Call it.
7642 Improve error reporting in case it is not possible to create a
7643 collision for the PTY name required by the test.
7645 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7647 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
7648 lll_wait_tid with timeout.
7649 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
7650 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
7651 futex_reltimed_wait_cancelable for cancelabla mode.
7652 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
7653 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
7655 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
7656 * sysdeps/posix/waitid.c (__sigwait): Likewise.
7657 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
7658 SYSCALL_CANCEL_NCS): New macro.
7659 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
7660 (lll_timedwait_tid): Remove macro.
7661 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
7663 (lll_timedwait_tid): Likewise.
7664 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
7666 (lll_timedwait_tid): Likewise.
7667 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
7669 (lll_timedwait_tid): Likewise.
7670 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
7671 Use INTERNAL_SYSCALL_CANCEL.
7672 * sysdeps/unix/sysv/linux/futex-internal.h
7673 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
7674 instead of __pthread_{enable,disable}_asynccancel.
7675 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
7676 (lll_futex_wait_cancel): New macro.
7678 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7679 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7681 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7682 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7684 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
7685 in backtrace analysis.
7686 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
7688 (tf_send): Likewise.
7690 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
7691 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
7692 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
7693 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
7694 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7695 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7696 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
7697 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
7698 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
7699 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
7700 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
7701 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
7703 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
7704 tst-cancel-wrappers.sh.
7705 (generated): Remove tst-cancel-wrappers.out.
7706 (tst-cancel-wrappers.out): Remove rule.
7707 * nptl/tst-cancel-wrappers.sh: Remove file.
7709 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7711 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
7712 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7715 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7718 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
7719 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
7720 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
7721 close-on-exec reset for adddup2 file action.
7722 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7724 2019-01-03 Zack Weinberg <zackw@panix.com>
7726 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
7727 parameter. Only use deprecated scanf when __USE_GNU is defined
7728 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
7729 than 201103L, whichever is relevant for the language being compiled.
7731 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
7732 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
7733 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
7734 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
7735 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
7739 * libio/iovswscanf.c
7744 * stdio-common/fscanf.c
7745 * stdio-common/scanf.c
7746 * stdio-common/vfscanf.c
7747 * stdio-common/vfwscanf.c
7748 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7749 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
7750 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
7751 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
7752 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
7753 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
7754 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
7755 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
7756 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
7757 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
7758 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
7759 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
7760 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
7761 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
7762 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
7764 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
7765 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
7766 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
7768 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
7769 with a preprocessor macro.
7771 * stdio-common/bug21.c, stdio-common/scanf14.c:
7772 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
7773 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7774 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
7775 to xscanf, xfscanf, xsscanf.
7777 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
7778 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7779 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
7780 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
7782 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
7783 override feature selection macros or provide definitions of u_char etc.
7784 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
7785 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
7786 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
7789 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7792 bits/termios-misc.h.
7793 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
7794 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7795 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7796 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7797 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
7798 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
7800 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
7801 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7802 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
7803 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
7804 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
7805 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
7807 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
7808 (sysdep_headers): Add termios-misc.h.
7810 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
7811 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7812 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7814 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7816 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
7817 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
7818 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
7819 TCSAFLUSH): Move to termios-tcflow.h.
7820 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7821 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7822 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7823 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7825 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7827 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
7828 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
7829 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
7830 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
7831 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
7832 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
7833 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
7834 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
7836 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7837 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7838 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7839 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7841 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7843 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
7844 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
7845 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
7846 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
7847 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
7849 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7850 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7851 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7852 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7857 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
7858 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
7859 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
7860 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
7861 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
7862 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
7863 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
7864 __MAX_BAUD): Move to termios-baud.h.
7865 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
7866 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7867 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7868 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7869 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7871 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7873 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
7874 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
7875 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
7876 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
7877 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
7878 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
7880 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
7881 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
7883 [USE_MISC] (XTABS): Likewise.
7884 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7885 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7886 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7887 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
7889 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7891 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
7892 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
7893 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
7894 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
7895 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
7896 IUTF8): Move to termios-c_iflag.h.
7897 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7898 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7899 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7900 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7902 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7904 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
7905 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
7906 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
7907 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
7908 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
7909 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
7910 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
7911 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
7912 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7913 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7914 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7915 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7917 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
7918 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
7919 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
7920 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
7921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7923 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
7925 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
7927 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
7929 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
7931 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
7933 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
7934 _HAVE_C_OSPEED): Define.
7935 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
7936 _HAVE_C_OSPEED): Likewise.
7937 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
7938 _HAVE_C_OSPEED): Likewise.
7939 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
7940 (cfsetospeed): Check for define value instead of existence.
7941 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
7942 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7943 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
7944 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7945 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
7948 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
7950 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7951 (TIOCSER_TEMT): Likewise.
7952 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
7953 (TEOCSER_TEMT): Likewise.
7955 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
7958 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
7960 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7962 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7964 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7966 * sysdeps/htl/pt-barrierattr-setpshared.c
7967 (pthread_barrierattr_setpshared): Add stub warning.
7968 * sysdeps/htl/pt-condattr-setpshared.c
7969 (pthread_condattr_setpshared): Likewise.
7970 * sysdeps/htl/pt-mutexattr-setpshared.c
7971 (pthread_mutexattr_setpshared): Likewise.
7972 * sysdeps/htl/pt-rwlockattr-setpshared.c
7973 (pthread_rwlockattr_setpshared): Likewise.
7974 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
7975 (pthread_mutexattr_setpshared): Likewise.
7977 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7979 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
7980 constants to match with Linux 4.20.
7982 * sysdeps/mips/mips32/libm-test-ulps: Update.
7983 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7985 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
7988 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
7989 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
7990 than __typeof (...) for the a_ptr variable.
7992 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7994 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
7995 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
7996 * libio/Makefile (tests): Add tst-sprintf-ub and
7998 (CFLAGS-tst-sprintf-ub.c): New variable.
7999 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
8000 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
8001 destination buffer and check for overflows in fortified mode.
8002 * libio/libioP.h (PRINTF_CHK): New macro.
8003 * libio/tst-sprintf-chk-ub.c: New file.
8004 * libio/tst-sprintf-ub.c: Likewise.
8006 2019-01-02 Florian Weimer <fweimer@redhat.com>
8009 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
8012 2019-01-02 Florian Weimer <fweimer@redhat.com>
8014 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
8016 2019-01-01 Joseph Myers <joseph@codesourcery.com>
8018 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
8021 * sysdeps/unix/sysv/linux/netpacket/packet.h
8022 (PACKET_IGNORE_OUTGOING): New macro.
8024 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
8027 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8029 (riscv_flush_icache): New syscall.
8031 * manual/texinfo.tex: Update to version 2018-12-28.17 with
8032 trailing whitespace removed.
8033 * scripts/config.guess: Update to version 2019-01-01.
8034 * scripts/config.sub: Update to version 2019-01-01.
8035 * scripts/move-if-change: Update from gnulib.
8037 * NEWS: Update copyright dates.
8038 * catgets/gencat.c (print_version): Likewise.
8039 * csu/version.c (banner): Likewise.
8040 * debug/catchsegv.sh: Likewise.
8041 * debug/pcprofiledump.c (print_version): Likewise.
8042 * debug/xtrace.sh (do_version): Likewise.
8043 * elf/ldconfig.c (print_version): Likewise.
8044 * elf/ldd.bash.in: Likewise.
8045 * elf/pldd.c (print_version): Likewise.
8046 * elf/sotruss.sh: Likewise.
8047 * elf/sprof.c (print_version): Likewise.
8048 * iconv/iconv_prog.c (print_version): Likewise.
8049 * iconv/iconvconfig.c (print_version): Likewise.
8050 * locale/programs/locale.c (print_version): Likewise.
8051 * locale/programs/localedef.c (print_version): Likewise.
8052 * login/programs/pt_chown.c (print_version): Likewise.
8053 * malloc/memusage.sh (do_version): Likewise.
8054 * malloc/memusagestat.c (print_version): Likewise.
8055 * malloc/mtrace.pl: Likewise.
8056 * manual/libc.texinfo: Likewise.
8057 * nptl/version.c (banner): Likewise.
8058 * nscd/nscd.c (print_version): Likewise.
8059 * nss/getent.c (print_version): Likewise.
8060 * nss/makedb.c (print_version): Likewise.
8061 * posix/getconf.c (main): Likewise.
8062 * scripts/test-installation.pl: Likewise.
8063 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8065 * All files with FSF copyright notices: Update copyright dates
8066 using scripts/update-copyrights.
8067 * locale/programs/charmap-kw.h: Regenerated.
8068 * locale/programs/locfile-kw.h: Likewise.
8070 2018-12-31 Joseph Myers <joseph@codesourcery.com>
8072 * timezone/zdump.c: Update from tzcode 2018i.
8073 * timezone/zic.c: Likewise.
8075 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
8077 regex: improve Gnulib port to AIX
8078 From the glibc point of view, this removes duplicate macro
8079 definitions and is obviously safe.
8080 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
8081 * posix/regex_internal.h:
8082 (__attribute__, __attribute_warn_unused_result__):
8083 Remove; already defined elsewhere.
8085 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
8088 * malloc/malloc.c (_int_realloc): Always call memcpy for the
8089 copying operation. (ncopies had the wrong type, resulting in an
8090 integer wraparound and too few elements being copied.)
8092 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
8095 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
8096 <asm/syscalls.h> exists with __has_include__ before including it.
8098 2018-12-31 Joseph Myers <joseph@codesourcery.com>
8100 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8103 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
8105 * hurd/lookup-retry: Include <unistd.h>.
8106 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
8107 Release it on return. Handle "pid" magical lookup retry.
8109 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
8112 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
8113 (t_fmt_ampm): Likewise.
8114 * localedata/locales/aa_ER (t_fmt): Likewise.
8115 (t_fmt_ampm): Likewise.
8116 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
8117 (t_fmt_ampm): Likewise.
8118 * localedata/locales/aa_ET (t_fmt): Likewise.
8119 (t_fmt_ampm): Likewise.
8120 * localedata/locales/am_ET (t_fmt): Likewise.
8121 (t_fmt_ampm): Likewise.
8122 * localedata/locales/byn_ER (t_fmt): Likewise.
8123 (t_fmt_ampm): Likewise.
8124 * localedata/locales/om_ET (t_fmt): Likewise.
8125 (t_fmt_ampm): Likewise.
8126 * localedata/locales/sid_ET (t_fmt): Likewise.
8127 (t_fmt_ampm): Likewise.
8128 * localedata/locales/so_DJ (t_fmt): Likewise.
8129 (t_fmt_ampm): Likewise.
8130 * localedata/locales/so_ET (t_fmt): Likewise.
8131 (t_fmt_ampm): Likewise.
8132 * localedata/locales/so_SO (t_fmt): Likewise.
8133 (t_fmt_ampm): Likewise.
8134 * localedata/locales/ti_ER (t_fmt): Likewise.
8135 (t_fmt_ampm): Likewise.
8136 * localedata/locales/ti_ET (t_fmt): Likewise.
8137 (t_fmt_ampm): Likewise.
8138 * localedata/locales/tig_ER (t_fmt): Likewise.
8139 (t_fmt_ampm): Likewise.
8140 * localedata/locales/wal_ET (t_fmt): Likewise.
8141 (t_fmt_ampm): Likewise.
8143 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
8144 * localedata/locales/ar_IN (t_fmt): Likewise.
8145 * localedata/locales/bhb_IN (t_fmt): Likewise.
8146 * localedata/locales/bho_IN (t_fmt): Likewise.
8147 * localedata/locales/bi_VU (t_fmt): Likewise.
8148 * localedata/locales/bn_BD (t_fmt): Likewise.
8149 * localedata/locales/bn_IN (t_fmt): Likewise.
8150 * localedata/locales/brx_IN (t_fmt): Likewise.
8151 * localedata/locales/doi_IN (t_fmt): Likewise.
8152 * localedata/locales/en_HK (t_fmt): Likewise.
8153 (t_fmt_ampm): Likewise.
8154 * localedata/locales/en_IN (t_fmt): Likewise.
8155 * localedata/locales/en_PH (t_fmt): Likewise.
8156 * localedata/locales/gu_IN (t_fmt): Likewise.
8157 * localedata/locales/hi_IN (t_fmt): Likewise.
8158 * localedata/locales/hif_FJ (t_fmt): Likewise.
8159 * localedata/locales/hne_IN (t_fmt): Likewise.
8160 * localedata/locales/kn_IN (t_fmt): Likewise.
8161 * localedata/locales/kok_IN (t_fmt): Likewise.
8162 * localedata/locales/ks_IN (t_fmt): Likewise.
8163 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
8164 * localedata/locales/mag_IN (t_fmt): Likewise.
8165 * localedata/locales/mai_IN (t_fmt): Likewise.
8166 * localedata/locales/mjw_IN (t_fmt): Likewise.
8167 * localedata/locales/ml_IN (t_fmt): Likewise.
8168 * localedata/locales/mni_IN (t_fmt): Likewise.
8169 * localedata/locales/mr_IN (t_fmt): Likewise.
8170 * localedata/locales/ms_MY (t_fmt): Likewise.
8171 * localedata/locales/pa_IN (t_fmt): Likewise.
8172 * localedata/locales/raj_IN (t_fmt): Likewise.
8173 * localedata/locales/sa_IN (t_fmt): Likewise.
8174 * localedata/locales/sat_IN (t_fmt): Likewise.
8175 * localedata/locales/sd_IN (t_fmt): Likewise.
8176 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
8177 * localedata/locales/tcy_IN (t_fmt): Likewise.
8178 * localedata/locales/the_NP (t_fmt): Likewise.
8179 * localedata/locales/to_TO (t_fmt): Likewise.
8180 * localedata/locales/ur_IN (t_fmt): Likewise.
8182 * localedata/locales/hif_FJ (d_t_fmt): Set to
8183 "%A %d %b %Y %I:%M:%S %p".
8184 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
8186 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
8187 * localedata/locales/ar_BH (t_fmt): Likewise.
8188 * localedata/locales/ar_DZ (t_fmt): Likewise.
8189 * localedata/locales/ar_EG (t_fmt): Likewise.
8190 * localedata/locales/ar_IQ (t_fmt): Likewise.
8191 * localedata/locales/ar_JO (t_fmt): Likewise.
8192 * localedata/locales/ar_KW (t_fmt): Likewise.
8193 * localedata/locales/ar_LB (t_fmt): Likewise.
8194 * localedata/locales/ar_LY (t_fmt): Likewise.
8195 * localedata/locales/ar_OM (t_fmt): Likewise.
8196 * localedata/locales/ar_QA (t_fmt): Likewise.
8197 * localedata/locales/ar_SD (t_fmt): Likewise.
8198 * localedata/locales/ar_SS (t_fmt): Likewise.
8199 * localedata/locales/ar_SY (t_fmt): Likewise.
8200 * localedata/locales/ar_TN (t_fmt): Likewise.
8201 * localedata/locales/ar_YE (t_fmt): Likewise.
8203 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
8204 (t_fmt_ampm): Likewise.
8205 * localedata/locales/gez_ET (t_fmt): Likewise.
8206 (t_fmt_ampm): Likewise.
8208 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
8209 (t_fmt_ampm): Likewise.
8210 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
8212 * localedata/locales/zh_HK (t_fmt):
8213 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
8215 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
8216 because this locale does not use the 12-hour clock.
8217 (t_fmt): Set to "%Z %H:%M:%S".
8218 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
8220 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
8221 because this locale does not use the 12-hour clock.
8222 (t_fmt): Set to "%H:%M:%S %Z".
8223 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
8225 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
8226 because this locale does not use the 12-hour clock.
8227 (t_fmt): Set to "%T".
8228 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
8229 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
8231 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
8232 because this locale does not use the 12-hour clock.
8233 (t_fmt): Set to "%H:%M:%S %Z".
8234 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
8236 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
8237 because this locale does not use the 12-hour clock.
8238 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
8239 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
8241 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
8245 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
8246 (t_fmt_ampm): Likewise.
8247 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
8248 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
8249 (d_fmt): Set to "%-d.%-m.%y".
8251 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8253 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
8254 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
8255 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
8257 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
8258 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
8259 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
8261 * support/blob_repeat.c (check_mul_overflow_size_t,
8262 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
8264 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
8266 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
8268 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
8270 regex: simplify Gnulib port
8271 This simplifies the code, by removing stuff intended for porting
8272 to Gnulib but no longer needed there.
8273 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
8274 uses of libc_hidden_def, weak_alias.
8275 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
8276 _Restrict_ except for public-facing headers.
8277 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
8278 Remove; already defined elsewhere.
8279 * posix/regex.c, posix/regex_internal.h:
8280 Use __GNUC_PREREQ instead of rolling our own.
8281 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
8283 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
8285 * benchtests/bench-strlen.c (generic_strlen): New function.
8286 (memchr_strlen): New function.
8288 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8290 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
8291 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
8292 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
8294 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8296 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8298 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8300 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
8301 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
8302 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
8303 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
8304 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
8305 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
8306 <sysdeps/ieee754/flt-32/s_sincosf.c>.
8308 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8311 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
8312 PLT reference in libc.so.
8313 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
8314 _Q_lltoq and _Q_qtod PLT references in libc.so.
8316 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
8318 * benchtests/bench-memchr.c: Cleanup defines.
8319 * benchtests/bench-memcmp.c: Likewise.
8320 * benchtests/bench-memset.c: Likewise.
8321 * benchtests/bench-memset-large.c: Likewise.
8322 * benchtests/bench-memset-walk.c: Likewise.
8323 * benchtests/bench-stpcpy.c: Likewise.
8324 * benchtests/bench-stpncpy.c: Likewise.
8325 * benchtests/bench-strcat.c: Likewise.
8326 * benchtests/bench-strchr.c: Likewise.
8327 * benchtests/bench-strcmp.c: Likewise.
8328 * benchtests/bench-strcpy.c: Likewise.
8329 * benchtests/bench-strcspn.c: Likewise.
8330 * benchtests/bench-string.h: Likewise.
8331 * benchtests/bench-strlen.c: Likewise.
8332 * benchtests/bench-strncat.c: Likewise.
8333 * benchtests/bench-strncmp.c: Likewise.
8334 * benchtests/bench-strncpy.c: Likewise.
8335 * benchtests/bench-strnlen.c: Likewise.
8336 * benchtests/bench-strpbrk.c: Likewise.
8337 * benchtests/bench-strrchr.c: Likewise.
8338 * benchtests/bench-strspn.c: Likewise.
8340 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8342 * stdlib/longlong.h: Update from GCC.
8345 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
8346 * configure: Regenerated.
8347 * manual/install.texi (Tools for Compilation): Update minimum GCC
8349 * INSTALL: Regenerated.
8351 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
8353 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
8355 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
8357 * malloc/malloc.c (mremap_chunk): Additional checks.
8359 2018-12-21 Mao Han <han_mao@c-sky.com>
8361 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
8362 * scripts/build-many-glibcs.py: Add C-SKY targets.
8363 * sysdeps/csky/Implies: New file.
8364 * sysdeps/csky/Makefile: Likewise.
8365 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
8366 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
8367 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
8368 * sysdeps/csky/abiv2/memcmp.S: Likewise.
8369 * sysdeps/csky/abiv2/memcpy.S: Likewise.
8370 * sysdeps/csky/abiv2/memmove.S: Likewise.
8371 * sysdeps/csky/abiv2/memset.S: Likewise.
8372 * sysdeps/csky/abiv2/setjmp.S: Likewise.
8373 * sysdeps/csky/abiv2/start.S: Likewise.
8374 * sysdeps/csky/abiv2/strcmp.S: Likewise.
8375 * sysdeps/csky/abiv2/strcpy.S: Likewise.
8376 * sysdeps/csky/abiv2/strlen.S: Likewise.
8377 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
8378 * sysdeps/csky/abort-instr.h: Likewise.
8379 * sysdeps/csky/atomic-machine.h: Likewise.
8380 * sysdeps/csky/bits/endian.h: Likewise.
8381 * sysdeps/csky/bits/fenv.h: Likewise.
8382 * sysdeps/csky/bits/link.h: Likewise.
8383 * sysdeps/csky/bits/setjmp.h: Likewise.
8384 * sysdeps/csky/bsd-_setjmp.S: Likewise.
8385 * sysdeps/csky/bsd-setjmp.S: Likewise.
8386 * sysdeps/csky/configure: Likewise.
8387 * sysdeps/csky/configure.ac: Likewise.
8388 * sysdeps/csky/dl-machine.h: Likewise.
8389 * sysdeps/csky/dl-procinfo.c: Likewise.
8390 * sysdeps/csky/dl-procinfo.h: Likewise.
8391 * sysdeps/csky/dl-sysdep.h: Likewise.
8392 * sysdeps/csky/dl-tls.h: Likewise.
8393 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
8394 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
8395 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
8396 * sysdeps/csky/fpu/fegetenv.c: Likewise.
8397 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
8398 * sysdeps/csky/fpu/fegetmode.c: Likewise.
8399 * sysdeps/csky/fpu/fegetround.c: Likewise.
8400 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
8401 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
8402 * sysdeps/csky/fpu/fenv_private.h: Likewise.
8403 * sysdeps/csky/fpu/fesetenv.c: Likewise.
8404 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
8405 * sysdeps/csky/fpu/fesetmode.c: Likewise.
8406 * sysdeps/csky/fpu/fesetround.c: Likewise.
8407 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
8408 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
8409 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
8410 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
8411 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
8412 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
8413 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
8414 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
8415 * sysdeps/csky/fpu_control.h: Likewise.
8416 * sysdeps/csky/gccframe.h: Likewise.
8417 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
8418 * sysdeps/csky/ldsodefs.h: Likewise.
8419 * sysdeps/csky/libc-tls.c: Likewise.
8420 * sysdeps/csky/linkmap.h: Likewise.
8421 * sysdeps/csky/machine-gmon.h: Likewise.
8422 * sysdeps/csky/memusage.h: Likewise.
8423 * sysdeps/csky/nofpu/Implies: Likewise.
8424 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
8425 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
8426 * sysdeps/csky/nptl/Makefile: Likewise.
8427 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
8428 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
8429 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
8430 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
8431 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
8432 * sysdeps/csky/nptl/tls.h: Likewise.
8433 * sysdeps/csky/preconfigure: Likewise.
8434 * sysdeps/csky/sfp-machine.h: Likewise.
8435 * sysdeps/csky/sotruss-lib.c: Likewise.
8436 * sysdeps/csky/stackinfo.h: Likewise.
8437 * sysdeps/csky/sysdep.h: Likewise.
8438 * sysdeps/csky/tininess.h: Likewise.
8439 * sysdeps/csky/tst-audit.h: Likewise.
8440 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
8441 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
8442 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
8443 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
8444 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
8445 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
8446 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
8447 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
8448 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
8449 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
8450 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
8451 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
8452 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
8453 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
8454 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
8455 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
8456 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
8457 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
8458 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
8459 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
8460 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
8461 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
8462 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
8463 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
8464 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
8465 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
8466 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
8467 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
8468 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
8469 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
8470 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
8471 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
8472 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
8473 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
8474 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
8475 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
8476 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
8477 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
8478 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
8479 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
8480 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
8481 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
8482 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
8483 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
8485 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8487 * include/time.h (__difftime64): Add.
8488 * time/difftime.c (subtract): convert to 64-bit time.
8489 * time/difftime.c (__difftime64): Add.
8490 * time/difftime.c (__difftime): Wrap around __difftime64.
8492 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
8494 * manual/examples/add.c: Remove redundant "if not".
8495 * manual/examples/argp-ex1.c: Likewise.
8496 * manual/examples/argp-ex2.c: Likewise.
8497 * manual/examples/argp-ex3.c: Likewise.
8498 * manual/examples/argp-ex4.c: Likewise.
8499 * manual/examples/atexit.c: Likewise.
8500 * manual/examples/db.c: Likewise.
8501 * manual/examples/dir.c: Likewise.
8502 * manual/examples/dir2.c: Likewise.
8503 * manual/examples/execinfo.c: Likewise.
8504 * manual/examples/filecli.c: Likewise.
8505 * manual/examples/filesrv.c: Likewise.
8506 * manual/examples/fmtmsgexpl.c: Likewise.
8507 * manual/examples/genpass.c: Likewise.
8508 * manual/examples/inetcli.c: Likewise.
8509 * manual/examples/inetsrv.c: Likewise.
8510 * manual/examples/isockad.c: Likewise.
8511 * manual/examples/longopt.c: Likewise.
8512 * manual/examples/memopen.c: Likewise.
8513 * manual/examples/memstrm.c: Likewise.
8514 * manual/examples/mkdirent.c: Likewise.
8515 * manual/examples/mkfsock.c: Likewise.
8516 * manual/examples/mkisock.c: Likewise.
8517 * manual/examples/mygetpass.c: Likewise.
8518 * manual/examples/pipe.c: Likewise.
8519 * manual/examples/popen.c: Likewise.
8520 * manual/examples/rprintf.c: Likewise.
8521 * manual/examples/search.c: Likewise.
8522 * manual/examples/select.c: Likewise.
8523 * manual/examples/setjmp.c: Likewise.
8524 * manual/examples/sigh1.c: Likewise.
8525 * manual/examples/sigusr.c: Likewise.
8526 * manual/examples/stpcpy.c: Likewise.
8527 * manual/examples/strdupa.c: Likewise.
8528 * manual/examples/strftim.c: Likewise.
8529 * manual/examples/subopt.c: Likewise.
8530 * manual/examples/swapcontext.c: Likewise.
8531 * manual/examples/termios.c: Likewise.
8532 * manual/examples/testopt.c: Likewise.
8533 * manual/examples/testpass.c: Likewise.
8534 * manual/examples/timeval_subtract.c: Likewise.
8536 2018-12-19 Joseph Myers <joseph@codesourcery.com>
8538 * sysdeps/x86/fpu/math_private.h: New file.
8539 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
8541 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
8546 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8548 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
8549 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
8550 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
8551 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
8553 (_dl_show_auxv): Give a special treatment to
8554 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
8555 and AT_L3_CACHEGEOMETRY.
8556 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
8557 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
8558 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
8559 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
8561 2018-12-19 Andreas Schwab <schwab@suse.de>
8563 * nscd/connections.c (check_use): Don't abort on invalid len.
8565 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8567 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
8568 values in the 64bit value cases.
8570 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8576 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
8582 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
8585 (__gmtime64_r): Add.
8587 (__gmtime64_r): Add.
8588 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8594 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8597 (__localtime64_r): Add.
8599 (__localtime64_r): Add.
8600 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
8602 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8604 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
8605 kernel_sigction definition.
8607 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
8609 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
8611 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
8612 __syscall_rt_sigaction.
8613 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
8614 (kernel_sigaction): Use Linux generic defintion.
8616 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
8617 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
8618 (__syscall_rt_sigaction): Remove implementation.
8619 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
8621 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
8622 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
8623 INTERNAL_SYSCALL): Remove definitions.
8624 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
8625 action and signal set size.
8626 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
8627 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
8629 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8630 James Clarke <jrtc27@jrtc27.com>
8633 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
8634 Define if SA_RESTORER is defined.
8635 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
8636 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
8638 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
8639 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
8641 (HAS_SA_RESTORER): Define.
8642 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
8643 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
8644 (HAS_SA_RESTORER): Define.
8645 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
8646 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
8647 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
8648 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
8649 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8651 2018-12-18 Joseph Myers <joseph@codesourcery.com>
8653 * sysdeps/unix/sysv/linux/kernel-features.h
8654 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
8655 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8656 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
8657 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8658 (__ASSUME_ST_INO_64_BIT): Likewise.
8659 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8660 <kernel-features.h>.
8661 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8662 Remove conditional code.
8663 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8664 <kernel-features.h>.
8665 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8666 Remove conditional code.
8667 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
8668 <kernel-features.h>.
8669 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8670 Remove conditional code.
8671 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
8672 <kernel-features.h>.
8673 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
8674 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
8676 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8678 * sysdeps/s390/multiarch/ifunc-resolve.h
8679 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
8680 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
8681 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
8682 Delete macro definition.
8683 (s390_libc_ifunc_init): Rename to
8684 s390_libc_ifunc_expr_stfle_init.
8685 * sysdeps/s390/bzero: Use
8686 s390_libc_ifunc_expr_stfle_init instead of
8687 s390_libc_ifunc_init.
8688 * sysdeps/s390/memcmp.c: Likewise.
8689 * sysdeps/s390/memcpy.c: Likewise.
8690 * sysdeps/s390/mempcpy.c: Likewise.
8691 * sysdeps/s390/memset.c: Likewise.
8693 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8695 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
8696 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
8698 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8700 * sysdeps/s390/multiarch/Makefile
8701 (sysdep_routines): Remove wmemcmp variants.
8702 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
8703 * sysdeps/s390/multiarch/ifunc-impl-list.c
8704 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
8705 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
8706 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
8707 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
8708 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
8709 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
8710 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
8711 * sysdeps/s390/ifunc-wmemcmp.h: New file.
8713 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8715 * sysdeps/s390/multiarch/Makefile
8716 (sysdep_routines): Remove wmemset variants.
8717 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
8718 * sysdeps/s390/multiarch/ifunc-impl-list.c
8719 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
8720 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
8721 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
8722 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
8723 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
8724 * sysdeps/s390/multiarch/wmemset.c: Move to ...
8725 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
8726 * sysdeps/s390/ifunc-wmemset.h: New file.
8728 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8730 * sysdeps/s390/multiarch/Makefile
8731 (sysdep_routines): Remove wmemchr variants.
8732 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
8733 * sysdeps/s390/multiarch/ifunc-impl-list.c
8734 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
8735 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
8736 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
8737 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
8738 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
8739 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
8740 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
8741 * sysdeps/s390/ifunc-wmemchr.h: New file.
8743 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8745 * sysdeps/s390/multiarch/Makefile
8746 (sysdep_routines): Remove wcscspn variants.
8747 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
8748 * sysdeps/s390/multiarch/ifunc-impl-list.c
8749 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
8750 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
8751 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
8752 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
8753 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
8754 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
8755 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
8756 * sysdeps/s390/ifunc-wcscspn.h: New file.
8758 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8760 * sysdeps/s390/multiarch/Makefile
8761 (sysdep_routines): Remove wcspbrk variants.
8762 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
8763 * sysdeps/s390/multiarch/ifunc-impl-list.c
8764 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
8765 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
8766 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
8767 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
8768 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
8769 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
8770 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
8771 * sysdeps/s390/ifunc-wcspbrk.h: New file.
8773 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8775 * sysdeps/s390/multiarch/Makefile
8776 (sysdep_routines): Remove wcsspn variants.
8777 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
8778 * sysdeps/s390/multiarch/ifunc-impl-list.c
8779 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
8780 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
8781 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
8782 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
8783 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
8784 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
8785 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
8786 * sysdeps/s390/ifunc-wcsspn.h: New file.
8788 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8790 * sysdeps/s390/multiarch/Makefile
8791 (sysdep_routines): Remove wcsrchr variants.
8792 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
8793 * sysdeps/s390/multiarch/ifunc-impl-list.c
8794 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
8795 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
8796 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
8797 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
8798 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
8799 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
8800 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
8801 * sysdeps/s390/ifunc-wcsrchr.h: New file.
8803 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8805 * sysdeps/s390/multiarch/Makefile
8806 (sysdep_routines): Remove wcschrnul variants.
8807 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
8808 * sysdeps/s390/multiarch/ifunc-impl-list.c
8809 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
8810 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
8811 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
8812 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
8813 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
8814 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
8815 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
8816 * sysdeps/s390/ifunc-wcschrnul.h: New file.
8818 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8820 * sysdeps/s390/multiarch/Makefile
8821 (sysdep_routines): Remove wcschr variants.
8822 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
8823 * sysdeps/s390/multiarch/ifunc-impl-list.c
8824 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
8825 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
8826 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
8827 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
8828 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
8829 * sysdeps/s390/multiarch/wcschr.c: Move to ...
8830 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
8831 * sysdeps/s390/ifunc-wcschr.h: New file.
8833 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8835 * sysdeps/s390/multiarch/Makefile
8836 (sysdep_routines): Remove wcsncmp variants.
8837 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
8838 * sysdeps/s390/multiarch/ifunc-impl-list.c
8839 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
8840 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
8841 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
8842 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
8843 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
8844 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
8845 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
8846 * sysdeps/s390/ifunc-wcsncmp.h: New file.
8848 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8850 * sysdeps/s390/multiarch/Makefile
8851 (sysdep_routines): Remove wcscmp variants.
8852 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
8853 * sysdeps/s390/multiarch/ifunc-impl-list.c
8854 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
8855 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
8856 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
8857 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
8858 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
8859 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
8860 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
8861 * sysdeps/s390/ifunc-wcscmp.h: New file.
8863 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8865 * sysdeps/s390/multiarch/Makefile
8866 (sysdep_routines): Remove wcsncat variants.
8867 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
8868 * sysdeps/s390/multiarch/ifunc-impl-list.c
8869 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
8870 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
8871 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
8872 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
8873 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
8874 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
8875 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
8876 * sysdeps/s390/ifunc-wcsncat.h: New file.
8878 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8880 * sysdeps/s390/multiarch/Makefile
8881 (sysdep_routines): Remove wcscat variants.
8882 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
8883 * sysdeps/s390/multiarch/ifunc-impl-list.c
8884 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
8885 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
8886 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
8887 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
8888 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
8889 * sysdeps/s390/multiarch/wcscat.c: Move to ...
8890 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
8891 * sysdeps/s390/ifunc-wcscat.h: New file.
8893 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8895 * sysdeps/s390/multiarch/Makefile
8896 (sysdep_routines): Remove wcpncpy variants.
8897 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
8898 * sysdeps/s390/multiarch/ifunc-impl-list.c
8899 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
8900 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
8901 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
8902 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
8903 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
8904 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
8905 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
8906 * sysdeps/s390/ifunc-wcpncpy.h: New file.
8908 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8910 * sysdeps/s390/multiarch/Makefile
8911 (sysdep_routines): Remove wcsncpy variants.
8912 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
8913 * sysdeps/s390/multiarch/ifunc-impl-list.c
8914 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
8915 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
8916 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
8917 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
8918 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
8919 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
8920 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
8921 * sysdeps/s390/ifunc-wcsncpy.h: New file.
8923 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8925 * sysdeps/s390/multiarch/Makefile
8926 (sysdep_routines): Remove wcpcpy variants.
8927 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
8928 * sysdeps/s390/multiarch/ifunc-impl-list.c
8929 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
8930 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
8931 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
8932 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
8933 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
8934 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
8935 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
8936 * sysdeps/s390/ifunc-wcpcpy.h: New file.
8938 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8940 * sysdeps/s390/multiarch/Makefile
8941 (sysdep_routines): Remove wcscpy variants.
8942 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
8943 * sysdeps/s390/multiarch/ifunc-impl-list.c
8944 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
8945 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
8946 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
8947 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
8948 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
8949 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
8950 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
8951 * sysdeps/s390/ifunc-wcscpy.h: New file.
8953 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8955 * sysdeps/s390/multiarch/Makefile
8956 (sysdep_routines): Remove wcsnlen variants.
8957 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
8958 * sysdeps/s390/multiarch/ifunc-impl-list.c
8959 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
8960 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
8961 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
8962 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
8963 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
8964 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
8965 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
8966 * sysdeps/s390/ifunc-wcsnlen.h: New file.
8968 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8970 * sysdeps/s390/multiarch/Makefile
8971 (sysdep_routines): Remove wcslen variants.
8972 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
8973 * sysdeps/s390/multiarch/ifunc-impl-list.c
8974 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
8975 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
8976 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
8977 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
8978 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
8979 * sysdeps/s390/multiarch/wcslen.c: Move to ...
8980 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
8981 * sysdeps/s390/ifunc-wcslen.h: New file.
8983 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8985 * sysdeps/s390/multiarch/Makefile
8986 (sysdep_routines): Remove memrchr variants.
8987 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
8988 * sysdeps/s390/multiarch/ifunc-impl-list.c
8989 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
8990 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
8991 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
8992 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
8993 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
8994 * sysdeps/s390/multiarch/memrchr.c: Move to ...
8995 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
8996 * sysdeps/s390/ifunc-memrchr.h: New file.
8998 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9000 * sysdeps/s390/multiarch/Makefile
9001 (sysdep_routines): Remove memccpy variants.
9002 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
9003 * sysdeps/s390/multiarch/ifunc-impl-list.c
9004 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
9005 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
9006 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
9007 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
9008 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
9009 * sysdeps/s390/multiarch/memccpy.c: Move to ...
9010 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
9011 * sysdeps/s390/ifunc-memccpy.h: New file.
9013 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9015 * sysdeps/s390/multiarch/Makefile
9016 (sysdep_routines): Remove rawmemchr variants.
9017 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
9018 * sysdeps/s390/multiarch/ifunc-impl-list.c
9019 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
9020 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
9021 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
9022 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
9023 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
9024 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
9025 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
9026 * sysdeps/s390/ifunc-rawmemchr.h: New file.
9028 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9030 * sysdeps/s390/multiarch/Makefile
9031 (sysdep_routines): Remove memchr variants.
9032 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
9033 * sysdeps/s390/multiarch/ifunc-impl-list.c
9034 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
9035 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
9036 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
9037 * sysdeps/s390/multiarch/memchr.c: Move to ...
9038 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
9039 * sysdeps/s390/ifunc-memchr.h: New file.
9040 * sysdeps/s390/s390-64/memchr.S: Move to ...
9041 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
9042 for 31/64bit and ifunc handling.
9043 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
9044 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
9045 * sysdeps/s390/s390-32/memchr.S: Likewise.
9047 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9049 * sysdeps/s390/multiarch/Makefile
9050 (sysdep_routines): Remove strcspn variants.
9051 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
9052 * sysdeps/s390/multiarch/ifunc-impl-list.c
9053 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
9054 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
9055 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
9056 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
9057 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
9058 * sysdeps/s390/multiarch/strcspn.c: Move to ...
9059 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
9060 * sysdeps/s390/ifunc-strcspn.h: New file.
9062 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9064 * sysdeps/s390/multiarch/Makefile
9065 (sysdep_routines): Remove strpbrk variants.
9066 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
9067 * sysdeps/s390/multiarch/ifunc-impl-list.c
9068 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
9069 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
9070 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
9071 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
9072 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
9073 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
9074 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
9075 * sysdeps/s390/ifunc-strpbrk.h: New file.
9077 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9079 * sysdeps/s390/multiarch/Makefile
9080 (sysdep_routines): Remove strspn variants.
9081 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
9082 * sysdeps/s390/multiarch/ifunc-impl-list.c
9083 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
9084 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
9085 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
9086 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
9087 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
9088 * sysdeps/s390/multiarch/strspn.c: Move to ...
9089 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
9090 * sysdeps/s390/ifunc-strspn.h: New file.
9092 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9094 * sysdeps/s390/multiarch/Makefile
9095 (sysdep_routines): Remove strrchr variants.
9096 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
9097 * sysdeps/s390/multiarch/ifunc-impl-list.c
9098 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
9099 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
9100 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
9101 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
9102 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
9103 * sysdeps/s390/multiarch/strrchr.c: Move to ...
9104 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
9105 * sysdeps/s390/ifunc-strrchr.h: New file.
9107 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9109 * sysdeps/s390/multiarch/Makefile
9110 (sysdep_routines): Remove strchrnul variants.
9111 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
9112 * sysdeps/s390/multiarch/ifunc-impl-list.c
9113 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
9114 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
9115 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
9116 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
9117 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
9118 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
9119 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
9120 * sysdeps/s390/ifunc-strchrnul.h: New file.
9122 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9124 * sysdeps/s390/multiarch/Makefile
9125 (sysdep_routines): Remove strchr variants.
9126 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
9127 * sysdeps/s390/multiarch/ifunc-impl-list.c
9128 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
9129 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
9130 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
9131 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
9132 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
9133 * sysdeps/s390/multiarch/strchr.c: Move to ...
9134 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
9135 * sysdeps/s390/ifunc-strchr.h: New file.
9137 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9139 * sysdeps/s390/multiarch/Makefile
9140 (sysdep_routines): Remove strncmp variants.
9141 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
9142 * sysdeps/s390/multiarch/ifunc-impl-list.c
9143 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
9144 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
9145 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
9146 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
9147 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
9148 * sysdeps/s390/multiarch/strncmp.c: Move to ...
9149 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
9150 * sysdeps/s390/ifunc-strncmp.h: New file.
9152 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9154 * sysdeps/s390/multiarch/Makefile
9155 (sysdep_routines): Remove strcmp variants.
9156 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
9157 * sysdeps/s390/multiarch/ifunc-impl-list.c
9158 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
9159 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
9160 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
9161 * sysdeps/s390/multiarch/strcmp.c: Move to ...
9162 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
9163 * sysdeps/s390/ifunc-strcmp.h: New file.
9164 * sysdeps/s390/s390-64/strcmp.S: Move to ...
9165 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
9166 for 31/64bit and ifunc handling.
9167 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
9168 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9169 * sysdeps/s390/s390-32/strcmp.S: Likewise.
9171 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9173 * sysdeps/s390/multiarch/Makefile
9174 (sysdep_routines): Remove strncat variants.
9175 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
9176 * sysdeps/s390/multiarch/ifunc-impl-list.c
9177 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
9178 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
9179 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
9180 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
9181 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
9182 * sysdeps/s390/multiarch/strncat.c: Move to ...
9183 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
9184 * sysdeps/s390/ifunc-strncat.h: New file.
9186 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9188 * sysdeps/s390/multiarch/Makefile
9189 (sysdep_routines): Remove strcat variants.
9190 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
9191 * sysdeps/s390/multiarch/ifunc-impl-list.c
9192 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
9193 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
9194 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
9195 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
9196 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
9197 * sysdeps/s390/multiarch/strcat.c: Move to ...
9198 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
9199 * sysdeps/s390/ifunc-strcat.h: New file.
9201 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9203 * sysdeps/s390/multiarch/Makefile
9204 (sysdep_routines): Remove stpncpy variants.
9205 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
9206 * sysdeps/s390/multiarch/ifunc-impl-list.c
9207 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
9208 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
9209 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
9210 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
9211 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
9212 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
9213 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
9214 * sysdeps/s390/ifunc-stpncpy.h: New file.
9216 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9218 * sysdeps/s390/multiarch/Makefile
9219 (sysdep_routines): Remove strncpy variants.
9220 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
9221 * sysdeps/s390/multiarch/ifunc-impl-list.c
9222 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
9223 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
9224 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
9225 * sysdeps/s390/multiarch/strncpy.c: Move to ...
9226 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
9227 * sysdeps/s390/ifunc-strncpy.h: New file.
9228 * sysdeps/s390/s390-64/strncpy.S: Move to ...
9229 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
9230 and adjust ifunc handling.
9231 * sysdeps/s390/s390-32/strncpy.S: Move to ...
9232 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
9233 and adjust ifunc handling.
9234 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
9235 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9237 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9239 * sysdeps/s390/multiarch/Makefile
9240 (sysdep_routines): Remove stpcpy variants.
9241 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
9242 * sysdeps/s390/multiarch/ifunc-impl-list.c
9243 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
9244 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
9245 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
9246 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
9247 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
9248 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
9249 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
9250 * sysdeps/s390/ifunc-stpcpy.h: New file.
9252 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9254 * sysdeps/s390/multiarch/Makefile
9255 (sysdep_routines): Remove strcpy variants.
9256 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
9257 * sysdeps/s390/multiarch/ifunc-impl-list.c
9258 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
9259 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
9260 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
9261 * sysdeps/s390/multiarch/strcpy.c: Move to ...
9262 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
9263 * sysdeps/s390/ifunc-strcpy.h: New file.
9264 * sysdeps/s390/s390-64/strcpy.S: Move to ...
9265 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
9266 for 31/64bit and ifunc handling.
9267 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
9268 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9269 * sysdeps/s390/s390-32/strcpy.S: Likewise.
9271 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9273 * sysdeps/s390/multiarch/Makefile
9274 (sysdep_routines): Remove strnlen variants.
9275 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
9276 * sysdeps/s390/multiarch/ifunc-impl-list.c
9277 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
9278 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
9279 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
9280 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
9281 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
9282 * sysdeps/s390/multiarch/strnlen.c: Move to ...
9283 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
9284 * sysdeps/s390/ifunc-strnlen.h: New file.
9286 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9288 * sysdeps/s390/multiarch/Makefile
9289 (sysdep_routines): Remove strlen variants.
9290 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
9291 * sysdeps/s390/multiarch/ifunc-impl-list.c
9292 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
9293 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
9294 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
9295 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
9296 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
9297 * sysdeps/s390/multiarch/strlen.c: Move to ...
9298 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
9299 * sysdeps/s390/ifunc-strlen.h: New file.
9301 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9303 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
9304 * sysdeps/s390/multiarch/ifunc-impl-list.c
9305 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
9306 * sysdeps/s390/ifunc-memmem.h: New file.
9307 * sysdeps/s390/memmem.c: Likewise.
9308 * sysdeps/s390/memmem-c.c: Likewise.
9309 * sysdeps/s390/memmem-vx.c: Likewise.
9311 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9313 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
9314 * sysdeps/s390/multiarch/ifunc-impl-list.c
9315 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
9316 * sysdeps/s390/ifunc-strstr.h: New file.
9317 * sysdeps/s390/strstr.c: Likewise.
9318 * sysdeps/s390/strstr-c.c: Likewise.
9319 * sysdeps/s390/strstr-vx.c: Likewise.
9321 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9323 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
9324 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
9325 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
9326 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
9328 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
9329 * sysdeps/s390/memmove-c.c: New file.
9330 * sysdeps/s390/memmove.c: Likewise.
9331 * sysdeps/s390/multiarch/ifunc-impl-list.c
9332 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
9334 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9336 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
9337 * sysdeps/s390/configure.ac: Add check for z13 support.
9338 * sysdeps/s390/configure: Regenerated.
9340 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9342 * sysdeps/s390/memcopy.h: New file.
9344 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9346 * sysdeps/s390/s390-32/bcopy.S: Remove.
9347 * sysdeps/s390/s390-64/bcopy.S: Likewise.
9349 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9351 * sysdeps/s390/ifunc-memcpy.h: New File.
9352 * sysdeps/s390/memcpy.S: Move to ...
9353 * sysdeps/s390/memcpy-z900.S ... here.
9354 Move implementations from memcpy-s390x.s to here.
9355 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
9356 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9357 Remove memcpy/mempcpy variants.
9358 * sysdeps/s390/Makefile (sysdep_routines):
9359 Add memcpy/mempcpy variants.
9360 * sysdeps/s390/multiarch/ifunc-impl-list.c
9361 (__libc_ifunc_impl_list): Adjust ifunc variants for
9363 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
9365 * sysdeps/s390/memcpy.c: ... here.
9366 Adjust ifunc variants for memcpy.
9367 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
9368 * sysdeps/s390/mempcpy.c: ... here.
9369 Adjust ifunc variants for mempcpy.
9370 * sysdeps/s390/mempcpy.S: Delete file.
9372 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9374 * sysdeps/s390/s390-64/memcpy.S: Move to ...
9375 * sysdeps/s390/memcpy.S: ... here.
9376 Adjust to be usable for 31/64bit.
9377 * sysdeps/s390/s390-32/memcpy.S: Delete File.
9378 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
9379 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
9380 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9381 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
9382 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
9383 Adjust to be usable for 31/64bit.
9384 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
9385 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
9386 * sysdeps/s390/multiarch/memcpy.c: ... here.
9387 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
9389 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9391 * sysdeps/s390/ifunc-memcmp.h: New File.
9392 * sysdeps/s390/memcmp.S: Move to ...
9393 * sysdeps/s390/memcmp-z900.S ... here.
9394 Move implementations from memcmp-s390x.s to here.
9395 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
9396 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9397 Remove memcmp variants.
9398 * sysdeps/s390/Makefile (sysdep_routines):
9399 Add memcmp variants.
9400 * sysdeps/s390/multiarch/ifunc-impl-list.c
9401 (__libc_ifunc_impl_list): Adjust ifunc variants for
9403 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
9405 * sysdeps/s390/memcmp.c: ... here.
9406 Adjust ifunc variants for memcmp.
9408 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9410 * sysdeps/s390/s390-64/memcmp.S: Move to ...
9411 * sysdeps/s390/memcmp.S: ... here.
9412 Adjust to be usable for 31/64bit.
9413 * sysdeps/s390/s390-32/memcmp.S: Delete File.
9414 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
9415 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9417 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9418 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
9419 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
9420 Adjust to be usable for 31/64bit.
9421 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
9422 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
9423 * sysdeps/s390/multiarch/memcmp.c: ... here.
9424 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
9426 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9428 * sysdeps/s390/s390-32/bzero.S: Delete file.
9429 * sysdeps/s390/s390-64/bzero.S: Likewise.
9430 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
9431 * sysdeps/s390/bzero.c: New file.
9432 * sysdeps/s390/memset-z900.S: Add bzero entry points.
9433 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
9434 * sysdeps/s390/multiarch/ifunc-impl-list.c
9435 (__libc_ifunc_impl_list): Add bzero ifunc variants.
9437 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9439 * sysdeps/s390/ifunc-memset.h: New File.
9440 * sysdeps/s390/memset.S: Move to ...
9441 * sysdeps/s390/memset-z900.S ... here.
9442 Move implementations from memset-s390x.s to here.
9443 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
9444 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9445 Remove memset variants.
9446 * sysdeps/s390/Makefile (sysdep_routines):
9447 Add memset variants.
9448 * sysdeps/s390/multiarch/ifunc-impl-list.c
9449 (__libc_ifunc_impl_list): Adjust ifunc variants for
9451 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
9453 * sysdeps/s390/memset.c: ... here.
9454 Adjust ifunc variants for memset.
9456 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9458 * sysdeps/s390/s390-64/memset.S: Move to ...
9459 * sysdeps/s390/memset.S: ... here.
9460 Adjust to be usable for 31/64bit.
9461 * sysdeps/s390/s390-32/memset.S: Delete File.
9462 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
9463 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9465 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9466 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
9467 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
9468 Adjust to be usable for 31/64bit.
9469 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
9470 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
9471 * sysdeps/s390/multiarch/memset.c: ... here.
9472 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
9474 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9476 * sysdeps/s390/multiarch/ifunc-resolve.h
9477 (s390_libc_ifunc_init, s390_libc_ifunc,
9478 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
9480 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9482 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
9483 * sysdeps/s390/configure.ac: Add check for z10 support.
9484 * sysdeps/s390/configure: Regenerated.
9486 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
9488 * sysdeps/i386/atomic-machine.h: Merged with ...
9489 * sysdeps/x86_64/atomic-machine.h: To ...
9490 * sysdeps/x86/atomic-machine.h: This. New file.
9492 2018-12-18 Florian Weimer <fweimer@redhat.com>
9494 Rewrite locale/gen-translit.pl in Python.
9495 * locale/Makefile (generated): Add C-translit.h.
9496 (before-compile): Add $(objpfx)C-translit.h.
9497 (C-translit.h): Move to $(objpfx). Create target directory.
9498 Build using Python script.
9499 * locale/gen-translit.py: New file.
9500 * locale/gen-translit.pl: Remove file.
9501 * locale/C-translit.h.in: Change comment character to '#' for
9502 easier parsing without a C preprocessor.
9503 * locale/C-translit.h: Remove generated file.
9504 * manual/install.texi (Tools for Compilation): Do not mention
9506 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9507 Remove locale/C-translit.h.
9508 * scripts/update-copyrights: Likewise.
9509 * INSTALL: Regenerate.
9511 2018-12-18 Florian Weimer <fweimer@redhat.com>
9514 * localedata/locales/bi_VU: Remove executable bit from file.
9516 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
9519 (__localtime64): Add.
9520 * manual/maint.texi: Document Y2038 symbol handling.
9522 (__localtime64): Add.
9523 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
9525 2018-12-17 Joseph Myers <joseph@codesourcery.com>
9527 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
9530 * scripts/glibcextract.py (compare_macro_consts): Take parameters
9531 to allow extra macros from first or second sources.
9532 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
9533 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9534 (tests-special): Add $(objpfx)tst-mman-consts.out.
9535 ($(objpfx)tst-mman-consts.out): New makefile target.
9537 2018-12-17 Mao Han <han_mao@c-sky.com>
9539 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
9540 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
9541 without stat64 system call support.
9542 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
9543 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
9544 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9545 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
9546 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
9547 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
9548 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
9549 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
9550 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
9551 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
9552 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
9554 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
9556 regex: fix storage-exhaustion error
9558 * posix/regexec.c (get_subexp):
9559 Do not continue if storage is exhausted.
9561 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
9563 regex: fix heap-use-after-free error
9565 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
9566 https://debbugs.gnu.org/32592
9567 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
9568 call extend_buffers which reallocates the re_string_t internal buffer.
9569 Local variable 'buf' was not updated in such case, resulting in
9571 * posix/regexec.c (get_subexp): Update 'buf' after call to
9574 2018-12-15 Florian Weimer <fweimer@redhat.com>
9576 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
9577 (minimum_stride_size): Use it.
9578 (support_blob_repeat_allocate): Likewise.
9580 2018-12-14 Joseph Myers <joseph@codesourcery.com>
9582 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
9587 2018-12-14 Florian Weimer <fweimer@redhat.com>
9589 * manual/process.texi (Process Creation Concepts): Remove
9590 documentation of process (ID) lifetime. List more process
9591 creation functions. Reference Process Identification section.
9592 (Process Identification): Add information about process ID
9593 lifetime. Describe Linux thread/task IDs.
9594 * manual/signal.texi (Signaling Another Process): Mention that the
9595 signal is always sent to the process.
9597 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9599 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
9600 and tst-ldbl-efgcvt.
9601 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
9602 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
9603 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
9604 (fcvt_tests, output_error, output_r_error, do_test): Use the
9605 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
9606 select the type of floating-point variables and arguments; to
9607 produce extra tests for double and conversion specifiers for
9608 printf; and to set the names of called functions.
9609 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
9610 in tst-efgcvt-template.c.
9611 * misc/tst-ldbl-efgcvt.c: Likewise.
9613 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
9615 * nss/Makefile (tst-nss-test3.out): New rule.
9617 2018-12-13 Joseph Myers <joseph@codesourcery.com>
9619 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
9622 2018-12-13 fanjinke <fanjinke@hygon.cn>
9624 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
9627 2018-12-13 Andreas Schwab <schwab@suse.de>
9630 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
9631 (__pthread_rwlock_rdlock_full): Update expected value for
9632 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
9633 * nptl/tst-rwlock-pwn.c: New file.
9634 * nptl/Makefile (tests): Add tst-rwlock-pwn.
9636 2018-12-12 Joseph Myers <joseph@codesourcery.com>
9638 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
9641 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9643 * benchtests/scripts/compare_bench.py (do_compare): write to
9644 stderr in casestat is not present.
9645 * benchtests/scripts/compare_bench.py (plot_graphs): write to
9646 stderr in case timings field is not present. Also string showing
9647 the output filename goes into the stderr.
9649 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9651 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
9652 and ZeroDivisorError exceptions.
9653 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
9654 argument to loop through user provided statistics.
9655 * benchtests/scripts/compare_bench.py (main): Include the --stats
9658 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9660 * benchtests/scripts/compare_bench.py (compare_runs): Continue
9663 2018-12-12 Florian Weimer <fweimer@redhat.com>
9665 * sysdeps/posix/timespec_get.c: Add missing “any later version”
9666 clause to copyright header.
9668 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9671 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
9672 registers saved in the stack frame.
9673 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
9674 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
9676 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9678 * include/bits/monetary-ldbl.h: New file.
9679 * include/bits/printf-ldbl.h: Likewise.
9680 * include/bits/stdio-ldbl.h: Likewise.
9681 * include/bits/stdlib-ldbl.h: Likewise.
9682 * include/bits/syslog-ldbl.h: Likewise.
9683 * include/bits/wchar-ldbl.h: Likewise.
9685 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9687 * libio/libio.h: Remove redirection for _IO_vfprintf.
9689 2018-12-11 Andreas Schwab <schwab@suse.de>
9691 * Makerules: Remove all references to abilist-pattern.
9692 (update-all-abi): Simplify find expression.
9694 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
9697 * math/auto-libm-test-in: Add new test case.
9698 * math/auto-libm-test-out-pow: Regenerated.
9699 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
9701 2018-12-10 DJ Delorie <dj@redhat.com>
9704 * support/test-container.c: Move postclean step to before we
9707 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9709 * scripts/gen-as-const.py (main): Handle --python option.
9710 * scripts/gen-py-const.awk: Remove.
9711 * Makerules (py-const-script): Use gen-as-const.py.
9712 ($(py-const)): Likewise.
9713 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
9714 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
9715 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
9716 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
9717 ~PTHREAD_MUTEX_NO_ELISION_NP.
9718 * manual/README.pretty-printers: Update reference to
9721 * scripts/glibcextract.py: New file.
9722 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
9723 or tempfile. Import glibcexctract.
9724 (compute_c_consts): Remove. Moved to glibcextract.py.
9725 (gen_test): Update reference to compute_c_consts.
9727 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
9728 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
9729 * sysdeps/unix/sysv/linux/Makefile
9730 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
9731 Redirect stderr as well as stdout.
9733 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
9736 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
9737 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
9738 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
9739 ALWAYS_USE_VSYSCALL.
9740 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
9741 ALWAYS_USE_VSYSCALL.
9742 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
9743 ALWAYS_USE_VSYSCALL.
9745 2018-12-10 Florian Weimer <fweimer@redhat.com>
9748 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
9749 offset instead of count for clarity. Fix typo in comment.
9750 (__old_getdents64): Keep track of previous offset. Use it to call
9752 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
9753 that d_off is never zero.
9755 2018-12-10 Andreas Schwab <schwab@suse.de>
9757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
9758 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
9759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
9760 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
9761 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
9763 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9765 * timezone/private.h: Update from tzcode 2018g.
9766 * timezone/tzfile.h: Likewise.
9767 * timezone/tzselect.ksh: Likewise.
9768 * timezone/zdump.c: Likewise.
9769 * timezone/zic.c: Likewise.
9771 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9774 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
9775 (do_test): Adjust buffer size and fix format.
9777 2018-12-07 DJ Delorie <dj@redhat.com>
9780 * malloc/tst-tcfree3.c: New.
9781 * malloc/Makefile: Add it.
9783 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9785 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
9787 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9789 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
9790 used as a mask for the mode argument of __vfscanf_internal and
9791 __vfwscanf_internal.
9792 * stdio-common/vfscanf-internal.c
9793 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
9794 (__strtof128_internal): Define to __wcstof128_internal.
9795 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
9796 __strtof128_internal or __wcstof128_internal when the format of
9797 long double is the same as _Float128.
9799 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9801 * include/unistd.h (__confstr): Add prototype and hidden prototype.
9802 * posix/confstr.c (confstr): Rename to __confstr.
9803 (__confstr): Add hidden def.
9804 (confstr): Add weak alias for __confstr.
9805 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
9808 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9810 * NEWS: Mention getcpu.
9811 * include/sched.h (__getcpu): New libc_hidden_proto.
9812 * manual/resource.texi: Document getcpu.
9813 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
9814 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
9815 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
9816 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9817 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9818 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9819 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9820 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9821 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9822 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9823 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9824 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9825 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
9827 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9828 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9829 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
9838 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9839 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9840 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9841 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9842 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9843 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9844 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9845 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9846 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
9847 * sysdeps/unix/sysv/linux/getcpu.c: New file.
9848 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
9851 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9853 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
9855 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
9857 2018-12-07 Florian Weimer <fweimer@redhat.com>
9860 * posix/Makefile (routines): Add spawn_faction_addfchdir.
9861 * posix/Versions (GLIBC_2.29): Export
9862 posix_spawn_file_actions_addfchdir_np.
9863 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
9864 * posix/spawn_faction_destroy.c
9865 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
9866 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
9867 and the field action.fchdir_action.
9868 * posix/tst-spawn-chdir.c (add_chdir): New function.
9869 (do_test): Add do_fchdir loop. Call add_chdir.
9870 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
9871 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9872 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9873 posix_spawn_file_actions_addfchdir_np.
9874 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9876 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9878 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9879 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9881 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9883 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9885 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9887 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9889 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9891 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9892 (GLIBC_2.29): Likewise.
9893 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9894 (GLIBC_2.29): Likewise.
9895 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9896 (GLIBC_2.29): Likewise.
9897 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9898 (GLIBC_2.29): Likewise.
9899 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9902 (GLIBC_2.29): Likewise.
9903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9904 (GLIBC_2.29): Likewise.
9905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9906 (GLIBC_2.29): Likewise.
9907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9908 (GLIBC_2.29): Likewise.
9909 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9911 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9913 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9915 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9916 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9918 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9920 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9922 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9925 2018-12-06 Joseph Myers <joseph@codesourcery.com>
9927 * manual/texinfo.tex: Update to version 2018-09-21.20 with
9928 trailing whitespace removed.
9929 * scripts/config.guess: Update to version 2018-11-28.
9930 * scripts/config.sub: Update to version 2018-11-28.
9931 * scripts/install-sh: Update to version 2018-03-11.20.
9932 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
9933 * scripts/move-if-change: Update to version 2018-03-07 03:47.
9935 2018-12-07 Florian Weimer <fweimer@redhat.com>
9939 * inet/tst-if_index-long.c: New file.
9940 * inet/Makefile (tests): Add tst-if_index-long.
9942 2018-12-07 Florian Weimer <fweimer@redhat.com>
9944 * support/check.h (support_record_failure_is_failed): Declare.
9945 * support/descriptors.h: New file.
9946 * support/support_descriptors.c: Likewise.
9947 * support/tst-support_descriptors.c: Likewise.
9948 * support/support_record_failure.c
9949 (support_record_failure_is_failed): New function.
9950 * support/Makefile (libsupport-routines): Add support_descriptors.
9951 (tests): Add tst-support_descriptors.
9953 2018-12-05 Zack Weinberg <zackw@panix.com>
9954 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9956 * stdio-common/vfprintf-internal.c
9957 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
9958 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
9959 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
9960 and __no_long_double.
9961 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
9962 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
9963 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
9964 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
9965 and __nldbl_*syslog* functions.
9966 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
9967 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
9968 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
9969 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
9970 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
9971 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
9972 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
9973 (__nldbl_vwprintf, __nldbl_wprintf):
9974 Directly call the appropriate __v*printf_internal routine, passing
9975 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
9977 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
9978 (__nldbl___printf_chk, __nldbl___snprintf_chk)
9979 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
9980 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
9981 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
9982 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9983 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
9984 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
9985 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
9986 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
9987 Likewise, and also pass PRINTF_FORTIFY when appropriate.
9988 (__nldbl_syslog, __nldbl_vsyslog):
9989 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
9990 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9992 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9995 2018-12-05 Zack Weinberg <zackw@panix.com>
9996 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9999 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
10000 Moved here from debug/vsprintf_chk.c.
10001 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
10002 and completion logic for the strfile to match exactly what
10003 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
10004 _IO_str_init_static_internal instead of maxlen-1.
10005 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
10006 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
10007 __vsprintf_internal.
10009 * debug/vsprintf_chk.c (__vsprintf_chk)
10010 * debug/sprintf_chk.c (__sprintf_chk):
10011 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
10012 'flags' argument is positive, and slen as maxlen. No need to lock
10013 the FILE and/or construct a temporary FILE. Minimize and normalize
10014 header inclusions and variable names. Do not libc_hidden_def anything.
10016 * debug/asprintf_chk.c (__asprintf_chk)
10017 * debug/dprintf_chk.c (__dprintf_chk)
10018 * debug/fprintf_chk.c (__fprintf_chk)
10019 * debug/fwprintf_chk.c (__fwprintf_chk)
10020 * debug/printf_chk.c (__printf_chk)
10021 * debug/snprintf_chk.c (__snprintf_chk)
10022 * debug/swprintf_chk.c (__swprintf_chk)
10023 * debug/vasprintf_chk.c (__vasprintf_chk)
10024 * debug/vdprintf_chk.c (__vdprintf_chk)
10025 * debug/vfprintf_chk.c (__vfprintf_chk)
10026 * debug/vfwprintf_chk.c (__vfwprintf_chk)
10027 * debug/vprintf_chk.c (__vprintf_chk)
10028 * debug/vsnprintf_chk.c (__vsnprintf_chk)
10029 * debug/vswprintf_chk.c (__vswprintf_chk)
10030 * debug/vwprintf_chk.c (__vwprintf_chk)
10031 * debug/wprintf_chk.c (__wprintf_chk):
10032 Directly call the corresponding vxxprintf_internal function, passing
10033 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
10034 the FILE and/or construct a temporary FILE. Minimize and normalize
10035 header inclusions and variable names. Do not libc_hidden_def anything.
10037 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
10038 __obstack_vprintf_internal.
10039 (__obstack_vprintf_chk): Convert into a wrapper that calls
10040 __obstack_vprintf_internal (these two functions already had the
10041 same code) and move to new file...
10042 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
10044 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
10045 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
10046 * debug/Makefile (routines): Add vobprintf_chk.
10048 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10049 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
10050 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
10051 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
10052 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
10053 (__nldbl___obstack_vfprintf_chk):
10054 Directly call the corresponding vxxprintf_internal function,
10055 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
10056 duplicate comparison of slen with 0 or maxlen from the corresponding
10057 non-__nldbl function.
10059 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
10060 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
10061 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
10062 Remove libc_hidden_proto.
10064 * stdio-common/vfprintf-internal.c
10065 (__vfprintf_internal, __vfwprintf_internal):
10066 Do not check _IO_FLAGS2_FORTIFY.
10067 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
10068 * libio/libioP.h: Update prototype of __vsprintf_internal and add
10069 a comment explaining why it has the maxlen argument.
10070 (_IO_acquire_lock_clear_flags2_fct): Remove.
10071 (_IO_acquire_lock_clear_flags2): Remove.
10072 (_IO_release_lock): Remove conditional statement which will
10074 (_IO_acquire_lock): Remove variable which is now unused.
10075 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
10076 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
10078 * stdio-common/Makefile (tests): Add tst-bz11319 and
10079 tst-bz11319-fortify2.
10080 (CFLAGS-tst-bz11319-fortify2.c): New macro.
10081 * stdio-common/tst-bz11319-fortify2.c: New file.
10082 * stdio-common/tst-bz11319.c: Likewise.
10084 2018-12-05 Zack Weinberg <zackw@panix.com>
10085 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10087 * misc/syslog.c: Include libioP.h, not iolibio.h.
10088 (__vsyslog_internal): New function with the former body of
10089 __vsyslog_chk; takes mode_flags argument same as
10090 __v*printf_internal. Call __vfprintf_internal directly.
10092 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
10093 Remove libc_hidden_def.
10094 (__syslog, __syslog_chk): Use __vsyslog_internal.
10095 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
10097 * include/sys/syslog.h: Add multiple inclusion guard.
10098 Add prototype for __vsyslog_internal.
10099 Remove declaration and libc_hidden_proto for __vsyslog_chk.
10101 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
10102 Use __vsyslog_internal.
10104 2018-12-05 Zack Weinberg <zackw@panix.com>
10105 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10107 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
10108 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
10109 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
10111 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
10112 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
10114 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
10115 Include wctype.h here if COMPILE_WPRINTF is defined.
10116 Define __vfprintf_internal or __vfwprintf_internal, depending
10117 on COMPILE_WPRINTF.
10118 Temporarily, on entry to this function, update mode_flags
10119 according to the environmental settings corresponding to
10120 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
10121 Throughout, check mode_flags instead of __ldbl_is_dbl and
10122 _IO_FLAGS2_FORTIFY on the destination FILE.
10123 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
10124 Include vfprintf-internal.c. Don't include wctype.h.
10125 * stdio-common/vfprintf.c: New file. Just define __vfprintf
10126 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
10128 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
10129 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
10131 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
10133 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
10134 and add mode_flags argument; use __vfprintf_internal.
10135 (__vdprintf): New function. Alias vdprintf to this.
10136 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
10137 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
10138 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
10139 (__obstack_printf): Use __obstack_printf_internal.
10140 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
10141 public aliases __vsnprintf and vsnprintf.
10142 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
10144 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
10145 public aliases _IO_vsprintf and vsprintf.
10146 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
10147 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
10148 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
10149 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
10150 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
10152 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
10153 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
10154 * stdio-common/fprintf.c, stdio-common/fxprintf.c
10155 * stdio-common/printf.c: Use __vfprintf_internal.
10157 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
10158 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
10159 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
10161 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
10162 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
10163 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
10164 __vfwprintf_internal.
10166 * libio/libio.h: Remove libc_hidden_proto and declaration for
10168 Remove declaration of _IO_vfwprintf.
10169 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
10171 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
10172 _IO_obstack_printf.
10173 * include/stdio.h: Add prototype for __vasprintf.
10174 (__vsnprintf): Remove declaration, because there are no more
10176 * include/wchar.h (__vfwprintf, __vswprintf): Remove
10177 declaration, because there are no more internal calls.
10179 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
10180 __vsnprintf_internal, instead of _IO_vsnprintf.
10181 * argp/argp-help.c (__argp_error, __argp_failure): Use
10182 __vasprintf_internal, instead of _IO_vasprintf.
10183 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
10184 redefine, because there are no more internal calls.
10186 2018-12-05 Zack Weinberg <zackw@panix.com>
10187 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10189 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
10190 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
10191 Include libio/strfile.h instead of libioP.h.
10192 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
10193 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
10194 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
10195 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
10196 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
10197 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
10198 necessary. Do not set __no_long_double. Normalize variable names.
10199 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
10200 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
10201 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
10202 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
10203 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
10204 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
10205 Call __vfscanf_internal / __vfwscanf_internal directly, passing
10206 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
10207 Do not set __no_long_double. Normalize variable names.
10209 2018-12-05 Zack Weinberg <zackw@panix.com>
10210 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10212 * stdio-common/isoc99_scanf.c
10213 * stdio-common/isoc99_fscanf.c
10214 * stdio-common/isoc99_sscanf.c
10215 * stdio-common/isoc99_vscanf.c
10216 * stdio-common/isoc99_vfscanf.c
10217 * stdio-common/isoc99_vsscanf.c
10218 * wcsmbs/isoc99_wscanf.c
10219 * wcsmbs/isoc99_fwscanf.c
10220 * wcsmbs/isoc99_swscanf.c
10221 * wcsmbs/isoc99_vwscanf.c
10222 * wcsmbs/isoc99_vfwscanf.c
10223 * wcsmbs/isoc99_vswscanf.c:
10224 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
10225 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
10226 No need to lock and unlock the FILE passed to that function.
10228 * stdio-common/vfscanf-internal.c
10229 (__vfscanf_internal, __vfwscanf_internal):
10230 Don't look at _IO_FLAGS2_SCANF_STD.
10231 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
10232 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
10233 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
10235 2018-12-05 Zack Weinberg <zackw@panix.com>
10236 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10238 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
10239 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
10240 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
10241 * libio/strfile.h: Add multiple inclusion guard.
10242 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
10244 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
10245 consistency with the other version of this file.
10246 (ldbl_compat_symbol): New macro.
10247 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
10250 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
10251 Define __vfscanf_internal or __vfwscanf_internal, depending on
10252 COMPILE_WSCANF; don't define any other public symbols.
10253 Remove errval and code to set errp.
10254 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
10255 as the mode_flags argument.
10256 (encode_error, conv_error, input_error): Don't set errval.
10257 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
10258 Include vfscanf-internal.c.
10259 * stdio-common/vfscanf.c: New file defining the public entry
10260 point vfscanf, which calls __vfscanf_internal.
10261 * stdio-common/vfwscanf.c: New file defining the public entry
10262 point vfwscanf, which calls __vfwscanf_internal.
10264 * stdio-common/iovfscanf.c: New file.
10265 * stdio-common/iovfwscanf.c: Likewise.
10267 * stdio-common/Makefile (routines): Add vfscanf-internal,
10268 vfwscanf-internal, iovfscanf, iovfwscanf.
10269 * stdio-common/Versions: Mention GLIBC_2.29, so that
10270 it can be used in SHLIB_COMPAT expressions.
10271 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
10272 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
10273 Call __vfscanf_internal, instead of _IO_vfscanf.
10274 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
10276 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
10279 * libio/iovsscanf.c: Clean up includes, when possible. Use
10280 _IO_strfile_read or _IO_strfile_readw, when needed. Call
10281 __vfscanf_internal or __vfwscanf_internal directly.
10282 * libio/iovswscanf.c: Likewise.
10283 * libio/swscanf.c: Likewise.
10284 * libio/vscanf.c: Likewise.
10285 * libio/vwscanf.c: Likewise.
10286 * libio/wscanf.c: Likewise.
10287 * stdio-common/isoc99_fscanf.c: Likewise.
10288 * stdio-common/isoc99_scanf.c: Likewise.
10289 * stdio-common/isoc99_sscanf.c: Likewise.
10290 * stdio-common/isoc99_vfscanf.c: Likewise.
10291 * stdio-common/isoc99_vscanf.c: Likewise.
10292 * stdio-common/isoc99_vsscanf.c: Likewise.
10293 * stdio-common/scanf.c: Likewise.
10294 * stdio-common/sscanf.c: Likewise.
10295 * wcsmbs/isoc99_fwscanf.c: Likewise.
10296 * wcsmbs/isoc99_swscanf.c: Likewise.
10297 * wcsmbs/isoc99_vfwscanf.c: Likewise.
10298 * wcsmbs/isoc99_vswscanf.c: Likewise.
10299 * wcsmbs/isoc99_vwscanf.c: Likewise.
10300 * wcsmbs/isoc99_wscanf.c: Likewise.
10302 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
10305 (__tz_compute): Replace time_t with __time64_t.
10306 (__tz_convert): Replace time_t* with __time64_t.
10307 (__offtime): Replace time_t* with __time64_t.
10309 (__gmtime_r): Adjust call to __tz_convert.
10310 (gmtime): Likewise.
10312 (__localtime_r): Likewise.
10313 (localtime): Likewise.
10314 * time/offtime.c: Replace time_t with __time64_t.
10315 * time/tzset.c: Likewise.
10317 2018-12-04 Joseph Myers <joseph@codesourcery.com>
10319 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
10320 dynamic linker unless [$(run-built-tests) = yes].
10322 2018-12-03 DJ Delorie <dj@delorie.com>
10324 * support/test-container.c (check_for_unshare_hints): New.
10325 (main): Call it if unshare fails. Add support for "su" scriptlet
10328 2018-12-03 Joseph Myers <joseph@codesourcery.com>
10330 * scripts/gen-as-const.py (compute_c_consts): Take an argument
10331 'START' to indicate that start text should be output.
10332 (gen_test): Likewise.
10333 (main): Generate 'START' for first symbol or '--' line, or at end
10334 of input if not previously generated.
10336 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
10339 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
10340 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
10341 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
10342 ALWAYS_USE_VSYSCALL.
10344 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10347 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
10350 2018-12-03 Carlos O'Donell <carlos@redhat.com>
10353 * locale/programs/localedef.c: Declare boolean hard_links default true.
10354 (options): Add --no-hard-links option.
10355 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
10356 * locale/programs/localedef.h: Declare prototype for hard_links.
10357 * locale/programs/locfile.c (write_locale_data): Don't use hard
10358 links if hard_links is false.
10360 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
10362 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
10363 cpu_features_basic.
10364 (__cache_sysconf): Likewise.
10365 (init_cacheinfo): Likewise.
10366 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
10367 populate COMMON_CPUID_INDEX_80000007 and
10368 COMMON_CPUID_INDEX_80000008.
10369 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
10370 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
10371 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
10372 (init_cpu_features): Use _Static_assert on
10373 index_arch_Fast_Unaligned_Load.
10374 __get_cpuid_registers and __get_arch_feature. Updated for
10375 cpu_features_basic. Set stepping in cpu_features.
10376 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
10377 (FEATURE_INDEX_2): New.
10378 (FEATURE_INDEX_MAX): Changed to enum.
10379 (COMMON_CPUID_INDEX_D_ECX_1): New.
10380 (COMMON_CPUID_INDEX_80000007): Likewise.
10381 (COMMON_CPUID_INDEX_80000008): Likewise.
10382 (cpuid_registers): Likewise.
10383 (cpu_features_basic): Likewise.
10384 (CPU_FEATURE_USABLE): Likewise.
10385 (bit_arch_XXX_Usable): Likewise.
10386 (cpu_features): Use cpuid_registers and cpu_features_basic.
10387 (bit_arch_XXX): Reweritten.
10388 (bit_cpu_XXX): Likewise.
10389 (index_cpu_XXX): Likewise.
10390 (reg_XXX): Likewise.
10391 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
10393 (CHECK_CPU_FEATURE): New.
10394 (CHECK_CPU_FEATURE_USABLE): Likewise.
10395 (cpu_kinds): Likewise.
10396 (do_test): Print vendor, family, model and stepping. Check
10397 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
10398 (TEST_FUNCTION): Removed.
10399 Include <support/test-driver.c> instead of
10400 "../../test-skeleton.c".
10401 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
10402 Check POPCNT instead of POPCOUNT.
10403 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
10405 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10407 * scripts/gen-as-const.py (main): Avoid emitting empty line when
10408 there is no element in `consts'.
10410 2018-12-01 Florian Weimer <fweimer@redhat.com>
10412 * support/support_capture_subprocess.c
10413 (support_capture_subprocess): Check that pipe descriptors have
10414 expected values. Close original pipe descriptors in subprocess.
10416 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10419 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
10420 attr with __pthread_default_barrierattr.
10421 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
10422 attr with __pthread_default_condattr.
10423 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
10424 attr with __pthread_default_mutexattr.
10425 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
10426 attr with __pthread_default_rwlockattr.
10428 2018-12-01 Kemi Wang <kemi.wang@intel.com>
10430 * manual/tunables.texi (POSIX Thread Tunables): New node.
10431 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
10432 * nptl/nptl-init.c: Include pthread_mutex_conf.h
10433 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
10434 __pthread_tunables_init.
10435 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
10436 (max_adaptive_count): Define.
10437 * nptl/pthread_mutex_conf.c: New file.
10438 * nptl/pthread_mutex_conf.h: New file.
10439 * sysdeps/generic/adaptive_spin_count.h: New file.
10440 * sysdeps/nptl/dl-tunables.list: New file.
10441 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10442 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
10443 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
10446 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10449 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
10450 * stdlib/on_exit.c (__on_exit): Likewise.
10451 * stdlib/Makefile (tests): Add tst-bz20544.
10452 * stdlib/tst-bz20544.c: New test.
10454 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
10457 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
10458 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
10461 2018-11-30 Florian Weimer <fweimer@redhat.com>
10463 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
10464 Extend error logging.
10465 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
10468 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10470 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
10471 __sigismember instead of sigismember.
10472 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
10473 cancel_handler): New definitions.
10474 (do_system): Use posix_spawn instead of fork and execl and remove
10476 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
10477 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
10478 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
10479 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10480 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10481 * sysdeps/unix/sysv/linux/system.c: Likewise.
10485 * NEWS: Add new semantic for atfork with popen and system.
10486 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
10489 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10492 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
10493 modification order when accessing reloc_result->addr.
10494 * include/link.h (reloc_result): Add field init.
10495 * nptl/Makefile (tests): Add tst-audit-threads.
10496 (modules-names): Add tst-audit-threads-mod1 and
10497 tst-audit-threads-mod2.
10498 Add rules to build tst-audit-threads.
10499 * nptl/tst-audit-threads-mod1.c: New file.
10500 * nptl/tst-audit-threads-mod2.c: Likewise.
10501 * nptl/tst-audit-threads.c: Likewise.
10502 * nptl/tst-audit-threads.h: Likewise.
10504 2018-11-30 Joseph Myers <joseph@codesourcery.com>
10506 * scripts/gen-as-const.py: New file.
10507 * scripts/gen-as-const.awk: Remove.
10508 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
10510 ($(objpfx)test-as-const-%.c): Likewise.
10512 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10514 * elf/dl-exception.c: Include <_itoa.h>.
10516 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10518 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
10519 returned by __f_setlk.
10521 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10522 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10524 * elf/Makefile (tests-internal): Add tst-create_format1.
10525 * elf/dl-exception.c (_dl_exception_create_format): Support
10527 * elf/tst-create_format1.c: New file.
10529 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
10531 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
10532 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
10534 * argp/argp-help.c (__argp_failure): Likewise.
10536 2018-11-29 Mao Han <han_mao@c-sky.com>
10538 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
10539 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
10540 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
10541 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
10542 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
10543 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
10544 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
10545 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
10546 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
10547 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
10548 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
10549 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
10550 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
10551 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
10552 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
10553 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
10554 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
10555 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
10556 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
10557 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
10558 (R_CKCORE_TLS_TPOFF32): New defines.
10560 2018-11-29 Florian Weimer <fweimer@redhat.com>
10562 * posix/Makefile (before-compile): Remove testcases.h and
10564 (generated): Add testcases.h and ptestcases.h.
10565 (testcases.h, ptestcases.h): Move to $(objpfx).
10566 (runtests.o): Add dependency on testcases.h.
10567 (runptests.o): Add dependency on ptestcases.h.
10568 * posix/testcases.h, posix/ptestcases.h: Remove files.
10569 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
10570 not touch posix/testcases.h and posix/ptestcases.h.
10572 2018-11-28 Florian Weimer <fweimer@redhat.com>
10574 support: Add signal support to support_capture_subprocess_check.
10575 * support/capture_subprocess.h (support_capture_subprocess_check):
10576 Adjust comment and rename parameter.
10577 * support/support_capture_subprocess_check.c
10578 (print_actual_status): New function.
10579 (support_capture_subprocess_check): Support negative
10580 status_or_signal. Call print_actual_status.
10581 * support/tst-support_capture_subprocess.c (do_test): Call
10582 support_capture_subprocess_check.
10583 * libio/tst-vtables-common.c (termination_status)
10584 (init_termination_status): Remove.
10585 (check_for_termination): Adjust support_capture_subprocess_check
10587 (do_test): Remove call to init_termination_status.
10589 2018-11-28 Joseph Myers <joseph@codesourcery.com>
10591 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
10592 source directory instead of a copy.
10593 (CommandList.create_copy_dir): Remove.
10595 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
10597 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10599 2018-11-28 Florian Weimer <fweimer@redhat.com>
10601 * support/support.h (support_quote_string): Do not use str
10604 2018-11-27 Joseph Myers <joseph@codesourcery.com>
10606 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
10607 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
10609 2018-11-27 Florian Weimer <fweimer@redhat.com>
10611 * support/support.h (support_quote_string): Declare.
10612 * support/support_quote_string.c: New file.
10613 * support/tst-support_quote_string.c: Likewise.
10614 * support/Makefile (libsupport-routines): Add
10615 support_quote_string.
10616 (tests): Add tst-support_quote_string.
10618 2018-11-27 Florian Weimer <fweimer@redhat.com>
10622 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
10623 descriptor leak in case of ENODEV error.
10625 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
10628 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
10629 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
10630 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
10632 2018-11-26 Carlos O'Donell <carlos@redhat.com>
10634 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
10635 Error for unknown lines.
10637 2018-11-26 Joseph Myers <joseph@codesourcery.com>
10639 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
10640 Touch additional files.
10642 2018-11-26 Florian Weimer <fweimer@redhat.com>
10645 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
10648 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
10651 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
10652 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
10653 SHARED. Include sysdep.h.
10654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
10655 ALWAYS_USE_VSYSCALL.
10656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
10657 ALWAYS_USE_VSYSCALL.
10659 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
10662 * nptl/Makefile (tests-static): Add tst-cond11-static.
10664 * nptl/tst-cond11-static.c: New File.
10665 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
10666 tst-affinity-static.
10668 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
10670 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
10671 (USE_VSYSCALL): Likewise.
10672 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
10673 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
10675 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
10677 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
10680 2018-11-23 Joseph Myers <joseph@codesourcery.com>
10683 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10684 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
10687 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
10689 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
10690 (tst-cet-legacy-1a-ARGS): New.
10691 ($(objpfx)tst-cet-legacy-1a): New target.
10692 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
10694 2018-11-22 Joseph Myers <joseph@codesourcery.com>
10696 * conform/conformtest.py (CompileSubTest.__init__): Set
10697 self.run_early to False.
10698 (ExecuteSubTest.__init__): Likewise.
10699 (HeaderTests.run): Try running all non-optional, non-XFAILed
10700 compilation tests in a single execution of the compiler.
10702 * conform/conformtest.py (CompileSubTest): New class.
10703 (ExecuteSubTest): Likewise.
10704 (ElementTest.run): Rename to gen_subtests. Append tests to
10705 self.subtests instead of running them.
10706 (ConstantTest.run): Likewise.
10707 (SymbolTest.run): Likewise.
10708 (TypeTest.run): Likewise.
10709 (TagTest.run): Likewise.
10710 (FunctionTest.run): Likewise.
10711 (VariableTest.run): Likewise.
10712 (MacroFunctionTest.run): Likewise.
10713 (MacroStrTest.run): Likewise.
10714 (HeaderTests.handle_test_line): Generate subtests for tests.
10715 (HeaderTests.run): Run subtests for tests.
10717 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10719 * math/Versions (GLIBC_2.29): Add pow.
10720 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
10722 * math/w_pow.c: New file.
10723 * sysdeps/i386/fpu/w_pow.c: New file.
10724 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
10725 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
10726 and add necessary aliases.
10727 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
10728 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
10729 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10730 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10731 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10732 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10733 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10734 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10735 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10736 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10737 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10738 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10739 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10740 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10741 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10746 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10747 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10748 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10749 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10750 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10751 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10752 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10753 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
10755 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
10756 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
10757 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
10759 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10761 * math/Versions (GLIBC_2.29): Add log2.
10762 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
10764 * math/w_log2.c: New file.
10765 * sysdeps/i386/fpu/w_log2.c: New file.
10766 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
10767 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
10768 and add necessary aliases.
10769 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
10770 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
10771 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10772 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10773 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10774 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10775 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10776 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10777 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10778 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10779 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10780 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10781 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10782 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10783 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10788 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10789 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10790 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10791 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10792 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10793 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10794 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10796 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10798 * math/Versions (GLIBC_2.29): Add log.
10799 * math/w_log_compat.c (__log_compat): Change to versioned compat
10801 * math/w_log.c: New file.
10802 * sysdeps/i386/fpu/w_log.c: New file.
10803 * sysdeps/ia64/fpu/e_log.S: Update.
10804 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
10805 and add necessary aliases.
10806 * sysdeps/ieee754/dbl-64/w_log.c: New file.
10807 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
10808 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10809 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10810 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10811 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10812 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10813 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10814 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10815 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10816 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10817 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10818 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10819 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10820 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10825 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10826 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10827 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10828 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10829 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10830 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10831 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10832 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
10834 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
10835 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
10836 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
10837 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
10839 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10841 * math/Versions (GLIBC_2.29): Add exp and exp2.
10842 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
10843 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
10844 * math/w_exp_compat.c (__exp_compat): Likewise.
10845 * math/w_exp.c: New file.
10846 * math/w_exp2.c: New file.
10847 * sysdeps/i386/fpu/w_exp.c: New file.
10848 * sysdeps/i386/fpu/w_exp2.c: New file.
10849 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
10850 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
10851 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
10852 and add necessary aliases.
10853 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
10854 and add necessary aliases.
10855 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
10856 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
10857 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
10858 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
10859 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10860 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10861 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10862 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10863 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10864 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10865 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10866 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10867 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10868 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10869 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10870 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10871 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10876 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10877 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10878 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10879 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10880 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10881 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10882 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10883 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
10884 (__ieee754_exp): Rename to __exp.
10885 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
10886 (__ieee754_exp): Rename to __exp.
10887 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
10888 (__ieee754_exp): Rename to __exp.
10889 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
10891 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
10893 2018-11-20 DJ Delorie <dj@redhat.com>
10895 * malloc/malloc.c (tcache_entry): Add key field.
10896 (tcache_put): Set it.
10897 (tcache_get): Likewise.
10898 (_int_free): Check for double free in tcache.
10899 * malloc/tst-tcfree1.c: New.
10900 * malloc/tst-tcfree2.c: New.
10901 * malloc/Makefile: Run the new tests.
10902 * manual/probes.texi: Document memory_tcache_double_free probe.
10904 * dlfcn/dlerror.c (check_free): Prevent double frees.
10906 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
10908 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
10910 2018-11-20 Joseph Myers <joseph@codesourcery.com>
10912 * conform/conformtest.py (ElementTest.run): Use unique identifiers
10913 in tests. Use names for format arguments.
10914 (ConstantTest.run): Likewise.
10915 (SymbolTest.run): Likewise.
10916 (TypeTest.run): Likewise.
10917 (TagTest.run): Likewise.
10918 (FunctionTest.run): Likewise.
10919 (VariableTest.run): Likewise.
10920 (MacroFunctionTest.run): Likewise.
10921 (MacroStrTest.run): Likewise.
10922 (HeaderTests.__init__): Set self.num_tests.
10923 (HeaderTests.handle_test_line): Set test.num. Increment
10926 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10928 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
10929 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
10932 2018-11-19 Mao Han <han_mao@c-sky.com>
10934 * scripts/config.guess: Update to version 2018-08-29.
10935 * scripts/config.sub: Update to version 2018-08-29.
10937 2018-11-19 Florian Weimer <fweimer@redhat.com>
10939 support: Print timestamps in timeout handler.
10940 * support/support_test_main.c (print_timestamp): New function.
10941 (signal_handler): Use it to print the termination time and the
10942 time of the last write to standard output.
10944 2018-11-16 Zack Weinberg <zackw@panix.com>
10945 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10947 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
10948 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
10950 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
10951 and add flags argument. Check flags instead of __ldbl_is_dbl when
10952 deciding whether to set is_long_double.
10953 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
10954 passing zero for flags argument.
10955 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
10957 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10958 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
10959 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
10960 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
10961 variable names. Remove libc_hidden_def/libc_hidden_proto from
10962 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
10963 longer called from within the library.
10964 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
10965 for __nldbl___vstrfmon_l, declare it explicitly.
10967 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
10969 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10971 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
10973 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
10974 F_SETLK64, F_SETLKW64, respectively.
10975 * sysdeps/mach/hurd/f_setlk.c: New file.
10976 * sysdeps/mach/hurd/f_setlk.h: New file.
10977 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
10979 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
10980 (__libc_fcntl): Move non-flock operations to...
10981 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
10982 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
10984 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
10986 mktime: DEBUG_MKTIME cleanup
10987 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
10988 And it’s no longer needed now that glibc and Gnulib both have
10989 their own testing mechanisms for mktime.
10990 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
10992 mktime: fix non-EOVERFLOW errno handling
10994 mktime was not properly reporting failures when the underlying
10995 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
10996 them like EOVERFLOW failures, and set errno to EOVERFLOW.
10997 The problem could happen on non-glibc platforms, with Gnulib.
10998 * time/mktime.c (guess_time_tm): Remove, replacing with ...
10999 (tm_diff): ... this simpler function, which does not change errno.
11000 All callers changed to deal with errno themselves.
11001 (ranged_convert, __mktime_internal): Return failure immediately if
11002 the underlying function reports any failure other than EOVERFLOW.
11003 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
11006 mktime: fix bug with Y2038 DST transition
11008 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
11009 mishandle a DST transition that jumps over the Y2038 boundary.
11010 No such DST transitions are known so this is only a theoretical
11011 bug, but we might as well do things right.
11013 mktime: make more room for overflow
11015 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
11016 This is so that we can add tm_diff results to a previous guess,
11017 which will be useful in a later patch.
11019 mktime: simplify offset guess
11021 * time/mktime.c (__mktime_internal): Omit excess precision.
11023 mktime: new test for mktime failure
11025 Based on a test suggested by Albert Aribaud in:
11026 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
11027 * time/Makefile (tests): Add bug-mktime4.
11028 * time/bug-mktime4.c: New file.
11030 mktime: fix EOVERFLOW bug
11032 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
11033 Include libc-config.h, not config.h, for __set_errno.
11034 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
11036 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11038 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
11039 __attribute_copy__ to copy attributes from name. Drop static qualifier
11040 to avoid warnings about leaf attribute not having effect on static
11043 2018-11-13 Florian Weimer <fweimer@redhat.com>
11045 * malloc/malloc.c (fastbin_push_entry): New function.
11046 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
11047 (REMOVE_FB): Remove macro.
11048 (_int_malloc): Use fastbin_pop_entry and reindent.
11049 (_int_free): Use fastbin_push_entry.
11050 (malloc_consolidate): Use atomic_exchange_acquire.
11052 2018-11-13 Joseph Myers <joseph@codesourcery.com>
11054 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
11055 alias attribute, not with strong_alias.
11057 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
11058 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
11059 with additional parameter thread.
11060 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
11061 in terms of __hidden_ver2.
11062 (hidden_tls_def): New macro.
11063 (libc_hidden_tls_def): Likewise.
11064 (rtld_hidden_tls_def): Likewise.
11065 (libm_hidden_tls_def): Likewise.
11066 (libmvec_hidden_tls_def): Likewise.
11067 (libresolv_hidden_tls_def): Likewise.
11068 (librt_hidden_tls_def): Likewise.
11069 (libdl_hidden_tls_def): Likewise.
11070 (libnss_files_hidden_tls_def): Likewise.
11071 (libnsl_hidden_tls_def): Likewise.
11072 (libnss_nisplus_hidden_tls_def): Likewise.
11073 (libutil_hidden_tls_def): Likewise.
11074 (libutil_hidden_tls_def): Likweise.
11075 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
11076 libc_hidden_tls_def.
11077 (__sim_disabled_exceptions_thread): Likewise.
11078 (__sim_round_mode_thread): Likewise.
11080 * sysdeps/sparc/sparc-ifunc.h [SHARED]
11081 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
11082 copy attributes from name.
11084 2018-11-12 Joseph Myers <joseph@codesourcery.com>
11086 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
11087 Use __attribute_copy__ to copy attributes from name.
11089 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
11090 with __hidden_ver1 call.
11091 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
11092 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
11093 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
11094 (__cosf): Do not declare here.
11095 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
11096 (__sincosf): Do not declare here.
11097 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
11098 (__sinf): Do not declare here.
11100 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
11101 (__BIG_ENDIAN): Likewise.
11102 (__BYTE_ORDER): Likewise.
11103 (strong_alias): Likewise.
11104 (_strong_alias): Likewise.
11106 2018-11-12 Florian Weimer <fweimer@redhat.com>
11108 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
11109 function. Move after the definition of in_smallbin_range. Do not
11110 use __builtin_expect for paths that lead to a noreturn function.
11111 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
11112 because it is unclear whether this is in fact an unlikely
11114 (_int_malloc, _int_free): Adjust.
11115 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
11117 * malloc/arena.c (heap_trim): Likewise.
11119 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11121 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
11122 it, free it if needed.
11123 (reauthenticate): Test and use ccwdir.
11124 (child_init_port): In non-resetids case, test and use ccwdir.
11125 (child_chdir): New nested function to set ccwdir.
11126 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
11127 * hurd/hurd/port.h (_hurd_port_move): New function.
11128 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
11129 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
11130 * hurd/Versions (_hurd_port_move): Export function.
11131 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
11133 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
11134 of dtablesize for allocating dtable_cloexec.
11136 2018-11-09 Martin Sebor <msebor@redhat.com>
11138 * include/libc-symbols.h (__attribute_copy__): Define macro unless
11139 it's already defined.
11140 (_strong_alias): Use __attribute_copy__.
11141 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
11142 * misc/sys/cdefs.h (__attribute_copy__): New macro.
11143 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
11144 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
11145 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
11146 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
11147 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
11148 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
11149 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
11150 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
11151 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
11152 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
11153 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
11154 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
11155 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
11156 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
11157 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
11158 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
11159 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
11161 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11163 * misc/tst-efgcvt.c: Include support/check.h and
11164 support/test-driver.c. Do not include test-skeleton.c.
11165 (error_count): Remove.
11166 (output_error): Replace increments to error_count with calls to
11167 support_record_failure.
11168 (output_r_error): Likewise.
11169 (special): Likewise.
11170 (do_test): Unconditionally return zero.
11171 (TEST_FUNCTION): Remove.
11173 2018-11-09 Joseph Myers <joseph@codesourcery.com>
11175 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
11177 ($(linknamespace-header-tests)): Likewise.
11179 * conform/conformtest.py: New file.
11180 * conform/conformtest.pl: Remove.
11181 * conform/GlibcConform.pm: Likewise.
11182 * conform/glibcconform.py (KEYWORDS_C90): New constant.
11183 (KEYWORDS_C99): Likewise.
11184 (KEYWORDS): Likewise.
11185 * conform/Makefile ($(conformtest-header-tests)): Use
11186 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
11187 option. Use --header instead of --headers.
11188 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
11190 * conform/data/spawn.h-data: Likewise.
11191 * conform/data/fcntl.h-data (openat): Add space after function
11193 * conform/data/wchar.h-data (wcscasecmp): Likewise.
11194 (wcscasecmp_l): Likewise.
11195 * conform/data/termios.h-data (c_cc): Add space after element
11198 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11200 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
11201 instead of manually comparing and reporting mismatching strings.
11202 * misc/tst-ldbl-error.c (do_one_test): Likewise.
11203 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
11205 2018-11-08 Joseph Myers <joseph@codesourcery.com>
11207 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
11208 __ASSUME_SOCKETCALL.
11209 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11210 (__ASSUME_SOCKETCALL): Remove.
11211 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11212 (__ASSUME_SOCKETCALL): Likewise.
11213 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11214 (__ASSUME_SOCKETCALL): Likewise.
11215 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11216 (__ASSUME_SOCKETCALL): Likewise.
11217 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11218 (__ASSUME_SOCKETCALL): Likewise.
11219 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11220 (__ASSUME_SOCKETCALL): Likewise.
11221 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11222 (__ASSUME_SOCKETCALL): Likewise.
11224 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
11227 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
11228 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
11229 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
11230 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
11231 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
11234 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
11237 * resolv/tst-resolv-network.c: Add test for getnetbyname.
11239 2018-11-07 Joseph Myers <joseph@codesourcery.com>
11242 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11243 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11244 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11245 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11247 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11249 * support/support_test_compare_string.c
11250 (support_test_compare_string): Fix printf format.
11252 2018-11-07 Florian Weimer <fweimer@redhat.com>
11254 Implement TEST_COMPARE_STRING.
11255 * support/check.h (TEST_COMPARE_STRING): Define.
11256 (support_test_compare_string): Declare.
11257 * support/Makefile (libsupport-routines): Add
11258 support_test_compare_string.
11259 (tests): Add tst-test_compare_string.
11260 * support/support_test_compare_string.c: New file.
11261 * support/tst-test_compare_string.c: Likewise.
11263 2018-11-07 Andreas Schwab <schwab@suse.de>
11266 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
11267 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
11270 2018-11-06 Joseph Myers <joseph@codesourcery.com>
11273 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11274 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
11275 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
11276 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
11279 2018-11-06 Florian Weimer <fweimer@redhat.com>
11282 * posix/Makefile (routines): Add spawn_faction_addchdir.
11283 (tests): Add tst-spawn-chdir.
11284 * posix/Versions (GLIBC_2.29): Add
11285 posix_spawn_file_actions_addchdir_np.
11286 * posix/spawn_faction_addchdir.c: New file.
11287 * posix/spawn_faction_destroy.c
11288 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
11289 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
11290 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
11292 * posix/tst-spawn-chdir.c: New file.
11293 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
11294 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
11295 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
11296 posix_spawn_file_actions_addchdir_np.
11297 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
11299 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
11301 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
11302 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
11304 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
11306 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
11308 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
11310 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
11312 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
11314 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11315 (GLIBC_2.29): Likewise.
11316 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11317 (GLIBC_2.29): Likewise.
11318 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11319 (GLIBC_2.29): Likewise.
11320 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11321 (GLIBC_2.29): Likewise.
11322 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
11324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11325 (GLIBC_2.29): Likewise.
11326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11327 (GLIBC_2.29): Likewise.
11328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11329 (GLIBC_2.29): Likewise.
11330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11331 (GLIBC_2.29): Likewise.
11332 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
11334 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
11336 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
11338 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
11339 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
11341 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
11343 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
11345 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
11348 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11350 * misc/Makefile (tests): Add tst-ldbl-error.
11351 * misc/tst-ldbl-error.c: New file.
11353 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11355 * misc/Makefile (tests): Add tst-ldbl-warn.
11356 * misc/tst-ldbl-warn.c: New file.
11358 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11360 * argp/Makefile (tests): Add tst-ldbl-argp.
11361 * argp/tst-ldbl-argp.c: New file.
11363 2018-11-05 Arjun Shankar <arjun@redhat.com>
11365 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
11366 __gconv_path_elem and call __gconv_get_path unconditionally.
11368 2018-11-05 Andreas Schwab <schwab@suse.de>
11371 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
11372 creating the first helper thread failed.
11374 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11376 * sysdeps/mach/hurd/msync.c: New file.
11378 2018-11-02 Florian Weimer <fweimer@redhat.com>
11380 * support/shell-container.c (copy_func): Call
11381 support_copy_file_range instead of copy_file_range to support
11382 cross-device copies.
11384 2018-11-02 Florian Weimer <fweimer@redhat.com>
11386 * support/test-container.c: Include <libc-pointer-arith.h> for
11389 2018-11-01 Zong Li <zong@andestech.com>
11391 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
11392 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
11393 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
11394 (__FP_FRAC_SET_8): Add implementation for RV32 use.
11396 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
11397 variable to avoid overlap arguments.
11399 2018-11-01 Joseph Myers <joseph@codesourcery.com>
11401 * posix/bug-regex22.c (main): Use puts with distinct error
11402 messages for unexpected success of re_compile_pattern, not printf
11403 with NULL argument to %s.
11405 * stdio-common/bug22.c: Include <libc-diag.h>.
11406 (do_test): Disable -Wformat-overflow= warnings around fprintf
11407 calls outputting more than INT_MAX characters.
11408 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
11409 around printf call with NULL %s argument.
11412 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
11413 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
11415 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11416 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11417 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11418 (__ASSUME_SENDTO_SYSCALL): Likewise.
11419 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11420 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
11422 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11423 (__ASSUME_CONNECT_SYSCALL): Likewise.
11424 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11425 (__ASSUME_RECVFROM_SYSCALL): Likewise.
11426 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
11428 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
11430 [__LINUX_KERNEL_VERSION >= 0x040400]
11431 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11432 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
11434 (listen): Likewise.
11435 (setsockopt): Likewise.
11437 2018-11-01 Fredrik Noring <noring@nocrew.org>
11439 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
11440 with the ISA override.
11442 2018-10-31 Rafael Ávila de Espíndola <rafael@espindo.la>
11444 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
11447 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11449 * manual/errno.texi (EIEIO): Document how translators should
11450 translate the error message.
11451 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
11452 printing trailing whitespaces refused by git.
11453 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
11454 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11455 * hurd/Makefile (user-interfaces): Add pci.
11457 2018-10-30 Joseph Myers <joseph@codesourcery.com>
11459 * conform/linknamespace.py: New file.
11460 * conform/linknamespace.pl: Remove file.
11461 * conform/Makefile ($(linknamespace-header-tests)): Use
11462 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
11465 2018-10-30 Florian Weimer <fweimer@redhat.com>
11467 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
11470 2018-10-30 Florian Weimer <fweimer@redhat.com>
11472 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
11474 2018-10-30 Florian Weimer <fweimer@redhat.com>
11476 * stdlib/tst-strtod-overflow.c (do_test): Switch to
11477 support_blob_repeat.
11479 2018-10-30 Florian Weimer <fweimer@redhat.com>
11481 Avoid spurious test failures in stdlib/test-bz22786.
11482 * support/Makefile (libsupport-routines): Add blob_repeat.
11483 (tests): Add tst-support_blob_repeat.
11484 * support/blob_repeat.h: New file.
11485 * support/blob_repeat.c: Likewise.
11486 * support/tst-support_blob_repeat.c: Likewise.
11487 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
11488 support_blob_repeat_allocate.
11490 2018-10-30 Andreas Schwab <schwab@suse.de>
11493 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
11494 Don't use tail call.
11495 * elf/tst-unwind-main.c: New file.
11496 * elf/Makefile (tests): Add tst-unwind-main.
11497 (CFLAGS-tst-unwind-main.c): Define.
11499 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
11502 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
11503 n_cs_precedes to 0.
11504 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
11506 2018-10-29 Joseph Myers <joseph@codesourcery.com>
11508 * conform/glibcconform.py: Do not import shutil.
11509 (list_exported_functions): Use tempfile.TemporaryDirectory instead
11512 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
11513 critic_missing for versions before 3.4.
11514 * configure: Regenerated.
11515 * manual/install.texi (Tools for Compilation): Document
11516 requirement for Python to build glibc.
11517 * INSTALL: Regenerated.
11518 * Rules [PYTHON]: Make code unconditional.
11519 * benchtests/Makefile [PYTHON]: Likewise.
11520 * conform/Makefile [PYTHON]: Likewise.
11521 * manual/Makefile [PYTHON]: Likewise.
11522 * math/Makefile [PYTHON]: Likewise.
11524 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11526 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
11527 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
11528 answer to interrupt_operation, return EIEIO instead of EINTR.
11529 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
11530 _hurd_intr_rpc_msg_about_to global point to start of controlled
11531 assembly snippet. Make it check canceled flag.
11532 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
11533 the _hurd_intr_rpc_msg_about_to point.
11534 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
11535 issue, remove cancel flag check.
11537 2018-10-26 Joseph Myers <joseph@codesourcery.com>
11539 * scripts/build-many-glibcs.py: Remove compatibility for missing
11540 os.cpu_count and re.fullmatch.
11542 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
11545 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
11546 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
11547 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
11549 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11551 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
11554 2018-10-25 Florian Weimer <fweimer@redhat.com>
11558 XFAIL siginfo_t si_band conform test on sparc64.
11559 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
11560 (__SI_BAND_TYPE): Only override long int default type on sparc64.
11561 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11562 (conformtest-xfail-conds): Add sparc64-linux.
11563 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
11565 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
11567 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11569 * elf/elf.h (NT_MIPS_DSP): New macro.
11570 (NT_MIPS_FP_MODE): Likewise.
11572 2018-10-25 Zong Li <zong@andestech.com>
11574 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
11575 name by adding the file extension (.so).
11577 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11579 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11580 (test-xfail-ISO11/threads.h/linknamespace,
11581 test-xfail-ISO11/threads.h/conform): Add.
11583 2018-10-24 Joseph Myers <joseph@codesourcery.com>
11585 * math/gen-libm-test.py: Import os.
11586 (ALL_FLOATS_MANUAL): New constant.
11587 (ALL_FLOATS_SUFFIX): Likewise.
11588 (Ulps.all_functions): New function.
11589 (real_all_ulps): Likewise.
11590 (generate_err_table_sub): Likewise.
11591 (generate_err_table): Likewise.
11592 (main): Handle -s and -m options.
11593 * manual/libm-err-tab.pl: Remove.
11594 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
11595 instead of libm-err-tab.pl.
11596 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
11598 * manual/install.texi (Tools for Compilation): Document
11599 requirement for Python to build manual.
11600 * INSTALL: Regenerated.
11602 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11604 * bits/time64.h: New file.
11605 * include/time.h: Replace internal_time_t with __time64_t.
11606 * posix/bits/types (__time64_t): Add.
11607 * stdlib/Makefile: Add bits/time64.h to includes.
11608 * time/tzfile.c: Replace internal_time_t with __time64_t.
11610 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11612 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
11613 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
11614 __posix_spawn_file_actions_init, __posix_spawnattr_init,
11615 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
11616 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
11618 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
11619 * posix/spawn_faction_addclose.c
11620 (__posix_spawn_file_actions_addclose): Add hidden definition.
11621 * posix/spawn_faction_adddup2.c
11622 (__posix_spawn_file_actions_adddup2): Likewise.
11623 * posix/spawn_faction_destroy.c
11624 (__posix_spawn_file_actions_destroy): Likewise.
11625 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
11627 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
11628 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
11629 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
11631 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
11632 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
11635 2018-10-24 Andreas Schwab <schwab@suse.de>
11638 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
11640 * elf/cache.c (print_cache): Likewise.
11642 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11644 * bits/timesize.h: New file.
11645 * stdlib/Makefile (headers): Add bits/timesize.h.
11646 * sysdeps/unix/sysv/linux/bits/msq-pad.h
11647 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
11648 * sysdeps/unix/sysv/linux/bits/sem-pad.h
11649 (__SEM_PAD_AFTER_TIME): Likewise.
11650 * sysdeps/unix/sysv/linux/bits/shm-pad.h
11651 (__SHM_PAD_AFTER_TIME): Likewise.
11652 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
11653 (__MSQ_PAD_BEFORE_TIME): Likewise.
11654 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
11655 (__SEM_PAD_BEFORE_TIME): Likewise.
11656 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
11657 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11658 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
11659 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
11660 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
11661 (__MSQ_PAD_BEFORE_TIME): Likewise.
11662 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
11663 (__SEM_PAD_BEFORE_TIME): Likewise.
11664 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
11665 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11666 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
11667 (__MSQ_PAD_BEFORE_TIME): Likewise.
11668 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
11669 (__SEM_PAD_BEFORE_TIME): Likewise.
11670 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
11671 (__SHM_PAD_BEFORE_TIME): Likewise.
11672 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
11673 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11674 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
11676 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
11678 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
11679 USE_RDTSCP is defined.
11680 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
11681 USE_RDTSCP is defined.
11683 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11685 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
11689 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
11690 independently of other flags.
11692 2018-10-23 Florian Weimer <fweimer@redhat.com>
11694 * time/tst-mktime2.c (N_STRINGS): Remove.
11695 (set_timezone): New function.
11696 (spring_forward_gap): Call it. Use FAIL_EXIT1.
11697 (mktime_test1): Report localtime failure and check errno value.
11699 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
11700 (do_test): Remove alarm call. Use set_timezone and array_length.
11702 2018-10-23 Andreas Schwab <schwab@suse.de>
11704 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
11705 (__start_context): Use END instead of PSEUDO_END.
11707 2018-10-22 Joseph Myers <joseph@codesourcery.com>
11709 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11712 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11716 * wcsmbs/c32rtomb.c: New file.
11717 * wcsmbs/mbrtoc32.c: Likewise.
11718 * wcsmbs/tst-c32-state.c: Likewise.
11719 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
11720 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
11721 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
11722 (tests): Add tst-c32-state.
11723 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
11726 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
11728 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
11729 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
11731 2018-10-19 Joseph Myers <joseph@codesourcery.com>
11734 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
11735 pair and return 0 in that case, and use saved character to
11736 interpret following character.
11737 * wcsmbs/tst-c16-surrogate.c: New file.
11738 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
11739 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
11740 Depend on $(gen-locales)
11742 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
11745 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
11746 (struct siginfo_t): Use correct type for si_band.
11748 2018-10-19 Florian Weimer <fweimer@redhat.com>
11751 * resource/bits/types/struct_rusage.h (struct rusage): Update
11752 comment on struct. Remove extraneous field comment.
11754 2018-10-18 David S. Miller <davem@davemloft.net>
11756 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
11757 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
11758 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
11759 sysdep_routines in subdir elf.
11760 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
11761 version for __vdso_clock_gettime.
11762 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
11764 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11765 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11767 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11769 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
11771 * sysdeps/i386/init-arch.h: Removed.
11772 * sysdeps/i386/i586/init-arch.h: Likewise.
11773 * sysdeps/i386/i686/init-arch.h: Likewise.
11774 * sysdeps/i386/i686/hp-timing.h: Likewise.
11775 * sysdeps/x86_64/hp-timing.h: Likewise.
11776 * sysdeps/i386/isa.h: New file.
11777 * sysdeps/i386/i586/isa.h: Likewise.
11778 * sysdeps/i386/i686/isa.h: Likewise.
11779 * sysdeps/x86_64/isa.h: Likewise.
11780 * sysdeps/x86/hp-timing.h: New file.
11781 * sysdeps/x86/init-arch.h: Include <isa.h>.
11783 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11785 * math/libm-test-pow.inc (pow_test_data): Do not allow
11786 divide-by-zero exception for pow(+/- 0, -Inf).
11788 2018-10-17 Zack Weinberg <zackw@panix.com>
11790 * manual/job.texi (Job Control is Optional): Remove node, as
11791 job control has not been optional in quite some time.
11792 (Job Control): Mention briefly that systems older than
11793 POSIX.1-2001 might not support job control.
11794 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
11795 defined on systems conforming to POSIX.1-2001.
11797 2018-10-17 Arjun Shankar <arjun@redhat.com>
11800 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
11802 * (__gconv_read_conf): Mark function static.
11803 * (once): New static variable.
11804 * (__gconv_load_conf): New function.
11805 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
11806 * iconv/gconv_db.c (once): Remove static variable.
11807 * (__gconv_compare_alias): Use __gconv_load_conf instead of
11809 * (__gconv_find_transform): Likewise.
11810 * iconv/tst-iconv-mt.c: New test.
11811 * iconv/Makefile: Add tst-iconv_mt.
11813 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11815 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11817 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
11818 (shmatt_t): Define as __syscall_ulong_t.
11819 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
11820 and [__SHM_PAD_AFTER_TIME].
11821 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
11822 Define shm_segsz and associated padding based on
11823 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
11824 Use __syscall_ulong_t instead of unsigned long int.
11825 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
11827 [__USE_MISC] (struct shm_info): Likewise.
11828 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
11829 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
11830 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
11831 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
11832 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
11833 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11834 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
11835 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11836 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11837 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11838 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11840 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11842 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
11843 (SHMLBA): Remove macro.
11844 (__getpagesize): Remove function declaration.
11845 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
11847 (SHMLBA): Remove macro.
11848 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
11850 (SHMLBA): Remove macro.
11851 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
11853 (SHMLBA): Remove macro.
11854 (__getpagesize): Remove function declaration.
11855 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
11857 (SHMLBA): Remove macro.
11858 (__getshmlba): Remove function declaration.
11859 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
11860 (SHMLBA): Remove macro.
11861 (__getpagesize): Remove function declaration.
11862 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
11863 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
11864 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11865 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
11866 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
11867 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
11868 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
11869 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
11870 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
11871 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
11873 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
11876 * nptl/tst-mutex10.c: New File.
11877 * nptl/Makefile (tests): Add tst-mutex10.
11878 (tst-mutex10-ENV): New variable.
11879 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
11880 Ensure that elision path is used if elision is available.
11881 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
11883 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
11885 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
11886 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
11887 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
11888 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
11890 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
11891 (__pthread_mutex_cond_lock_adjust): Likewise.
11892 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11894 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
11895 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11896 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11897 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
11899 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11900 Use atomic_load_relaxed and atomic_store_relaxed.
11901 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
11902 Use atomic_store_relaxed.
11904 2018-10-17 Andreas Schwab <schwab@suse.de>
11906 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
11907 * crypt/badsalttest.c (TIMEOUT): Likewise.
11908 * crypt/sha256c-test.c (TIMEOUT): Likewise.
11909 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
11910 * io/test-lfs.c (TIMEOUT): Likewise.
11911 * libio/tst-atime.c (TIMEOUT): Likewise.
11912 * localedata/tst-leaks.c (TIMEOUT): Likewise.
11913 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
11914 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
11915 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
11916 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
11917 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
11918 * nptl/tst-cond11.c (TIMEOUT): Likewise.
11919 * nptl/tst-cond14.c (TIMEOUT): Likewise.
11920 * nptl/tst-cond15.c (TIMEOUT): Likewise.
11921 * nptl/tst-cond24.c (TIMEOUT): Likewise.
11922 * nptl/tst-cond25.c (TIMEOUT): Likewise.
11923 * nptl/tst-kill2.c (TIMEOUT): Likewise.
11924 * nptl/tst-kill3.c (TIMEOUT): Likewise.
11925 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
11926 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
11927 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
11928 * nptl/tst-once2.c (TIMEOUT): Likewise.
11929 * nptl/tst-once3.c (TIMEOUT): Likewise.
11930 * nptl/tst-once4.c (TIMEOUT): Likewise.
11931 * nptl/tst-robust8.c (TIMEOUT): Likewise.
11932 * nptl/tst-robust9.c (TIMEOUT): Likewise.
11933 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
11934 * nptl/tst-sem14.c (TIMEOUT): Likewise.
11935 * nptl/tst-sem6.c (TIMEOUT): Likewise.
11936 * nptl/tst-signal3.c (TIMEOUT): Likewise.
11937 * nptl/tst-spin4.c (TIMEOUT): Likewise.
11938 * nptl/tst-tls3.c (TIMEOUT): Likewise.
11939 * nptl/tst-tls4.c (TIMEOUT): Likewise.
11940 * posix/tst-chmod.c (TIMEOUT): Likewise.
11941 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
11942 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
11943 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
11944 * posix/tst-regex2.c (TIMEOUT): Likewise.
11945 * posix/tst-waitid.c (TIMEOUT): Likewise.
11946 * rt/tst-aio.c (TIMEOUT): Likewise.
11947 * rt/tst-aio10.c (TIMEOUT): Likewise.
11948 * rt/tst-aio4.c (TIMEOUT): Likewise.
11949 * rt/tst-aio5.c (TIMEOUT): Likewise.
11950 * rt/tst-aio6.c (TIMEOUT): Likewise.
11951 * rt/tst-aio64.c (TIMEOUT): Likewise.
11952 * rt/tst-aio7.c (TIMEOUT): Likewise.
11953 * rt/tst-aio9.c (TIMEOUT): Likewise.
11954 * rt/tst-clock.c (TIMEOUT): Likewise.
11955 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
11956 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
11957 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
11958 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
11959 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
11960 * rt/tst-timer4.c (TIMEOUT): Likewise.
11961 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
11962 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
11963 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
11964 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
11965 * time/tst-ftime.c (TIMEOUT): Likewise.
11966 * timezone/tst-tzset.c (TIMEOUT): Likewise.
11968 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
11970 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
11971 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
11974 2018-10-15 Joseph Myers <joseph@codesourcery.com>
11976 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11978 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
11979 instead of <bits/wordsize.h>.
11980 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
11981 and [__SEM_PAD_AFTER_TIME].
11982 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
11983 __syscall_ulong_t instead of unsigned long int.
11984 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
11985 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
11986 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
11987 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
11988 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
11989 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
11990 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
11991 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
11992 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11993 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11994 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11996 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
11998 regex: simplify by using intprops.h
12000 * posix/regex_internal.h [_LIBC]: Include intprops.h.
12001 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
12002 intprops.h defines them.
12004 regex: __builtin_expect → __glibc_unlikely
12006 This refactoring was prompted by a problem when the regex code is
12007 used as part of Gnulib and when the builder’s compiler does not grok
12008 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
12009 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
12010 Although this refactoring does not fix the problem directly,
12011 we might as well have Gawk use the now-preferred glibc style for when
12012 __builtin_expect is unavailable.
12013 * posix/regex_internal.h (BE): Remove.
12014 All uses replaced by __glibc_unlikely or __glibc_likely.
12016 2018-10-11 Joseph Myers <joseph@codesourcery.com>
12018 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12020 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
12021 instead of <bits/wordsize.h>.
12022 (msgqnum_t): Define as __syscall_ulong_t.
12023 (msglen_t): Likewise.
12024 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
12025 and [__MSQ_PAD_AFTER_TIME].
12026 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
12027 __syscall_ulong_t instead of unsigned long int.
12028 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
12029 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
12030 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
12031 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
12032 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
12033 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
12034 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
12035 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
12036 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12037 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12038 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12040 2018-10-10 Joseph Myers <joseph@codesourcery.com>
12042 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
12043 (struct shmid_ds): Condition padding after time fields on
12044 [__WORDSIZE == 32].
12045 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
12046 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
12047 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12049 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
12050 (struct semid_ds): Condition padding after time fields on
12051 [__WORDSIZE == 32].
12052 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
12053 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
12054 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
12055 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12057 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
12058 (struct msqid_ds): Condition padding after time fields on
12059 [__WORDSIZE == 32].
12060 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
12061 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
12062 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
12063 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12065 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
12067 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
12069 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
12071 * libio/tst-readline.c (TIMEOUT): Define.
12073 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
12075 mktime fix for Gnulib + coreutils
12077 This fix affects only Gnulib. Problem discovered when
12078 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
12080 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
12081 Do not define since it is not used. Defining an unused static
12082 function prompts a warning from GCC when Coreutils is configured
12083 with --enable-gcc-warnings.
12085 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12087 * benchtests/scripts/compare_bench.py (main): set float type on
12088 threshold argument.
12090 2018-10-08 Rafał Lużyński <digitalfreak@lingonborough.com>
12093 * localedata/locales/kl_GL (mon): Update, the relative case.
12094 (alt_mon): Add, fill with month names in the nominative case.
12095 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
12096 (d_fmt): Set to "%b %d %Y".
12098 2018-10-04 Joseph Myers <joseph@codesourcery.com>
12100 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
12101 <bits/mman-linux.h>.
12102 (PROT_READ): Don't define here.
12103 (PROT_WRITE): Likewise.
12104 (PROT_EXEC): Likewise.
12105 (PROT_NONE): Likewise.
12106 (PROT_GROWSDOWN): Likewise.
12107 (PROT_GROWSUP): Likewise.
12108 (MAP_SHARED): Likewise.
12109 (MAP_PRIVATE): Likewise.
12110 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
12111 [__USE_MISC] (MAP_FILE): Likewise.
12112 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
12113 [__USE_MISC] (MAP_ANON): Likewise.
12114 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
12115 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
12116 (MCL_CURRENT): Likewise.
12117 (MCL_FUTURE): Likewise.
12118 (MCL_ONFAULT): Likewise.
12119 [__USE_MISC] (MADV_NORMAL): Likewise.
12120 [__USE_MISC] (MADV_RANDOM): Likewise.
12121 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
12122 [__USE_MISC] (MADV_WILLNEED): Likewise.
12123 [__USE_MISC] (MADV_DONTNEED): Likewise.
12124 [__USE_MISC] (MADV_FREE): Likewise.
12125 [__USE_MISC] (MADV_REMOVE): Likewise.
12126 [__USE_MISC] (MADV_DONTFORK): Likewise.
12127 [__USE_MISC] (MADV_DOFORK): Likewise.
12128 [__USE_MISC] (MADV_HWPOISON): Likewise.
12129 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
12130 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
12131 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
12132 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
12133 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
12134 (__MAP_ANONYMOUS): New macro.
12135 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
12136 <bits/mman-linux.h> inclusion.
12137 (MAP_FIXED): Likewise.
12138 (MS_SYNC): Likewise.
12139 (MS_ASYNC): Likewise.
12140 (MS_INVALIDATE): Likewise.
12141 [__USE_MISC] (MADV_MERGEABLE): Likewise.
12142 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
12143 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
12144 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
12145 [__USE_MISC] (MADV_DONTDUMP): Likewise.
12146 [__USE_MISC] (MADV_DODUMP): Likewise.
12147 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
12148 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
12151 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
12153 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
12154 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
12155 Add test-nldbl-redirect.
12156 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
12157 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
12158 $(objpfx)libnldbl_nonshared.a.
12160 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
12162 * support/support.h (support_objdir_elf_ldso): New variable.
12163 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
12164 * support/Makefile (CFLAGS-support_paths.c): Add definition
12165 for OBJDIR_ELF_LDSO_PATH.
12166 * support/test-container.c (main): Search for the ld.so
12167 which is also used by the testsuite.
12169 2018-10-02 Rafał Lużyński <digitalfreak@lingonborough.com>
12172 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
12173 should be "sap" rather than "sab".
12174 (day): Fix spelling of Sunday, should be "sapaat" rather than
12177 2018-10-02 Joseph Myers <joseph@codesourcery.com>
12179 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12181 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
12184 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
12185 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
12186 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
12188 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12190 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
12192 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
12194 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
12196 (CFLAGS-elision-unlock.c): Likewise.
12197 (CFLAGS-elision-timed.c): Likewise.
12198 (CFLAGS-elision-trylock.c): Likewise.
12199 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
12201 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12204 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
12205 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
12206 new fd_to_filename interface.
12207 * libio/freopen64.c (freopen64): Likewise.
12208 * libio/tst-memstream.h: New file.
12209 * libio/tst-memstream4.c: Likewise.
12210 * libio/tst-wmemstream4.c: Likewise.
12211 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
12212 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
12213 and remove internal dynamic allocation.
12215 2018-10-01 Joseph Myers <joseph@codesourcery.com>
12217 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
12218 (MREMAP_MAYMOVE): Do not define here.
12219 [__USE_GNU] (MREMAP_FIXED): Likewise.
12220 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
12221 (MREMAP_MAYMOVE): Define here instead.
12222 [__USE_GNU] (MREMAP_FIXED): Likewise.
12223 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
12224 (MREMAP_MAYMOVE): Remove.
12225 [__USE_GNU] (MREMAP_FIXED): Likewise.
12227 2018-09-28 Joseph Myers <joseph@codesourcery.com>
12229 * math/fromfp.h: Do not include <math_private.h>.
12230 * math/s_cacosh_template.c: Likewise.
12231 * math/s_casin_template.c: Likewise.
12232 * math/s_casinh_template.c: Likewise.
12233 * math/s_ccos_template.c: Likewise.
12234 * math/s_cproj_template.c: Likewise.
12235 * math/s_fdim_template.c: Likewise.
12236 * math/s_fmaxmag_template.c: Likewise.
12237 * math/s_fminmag_template.c: Likewise.
12238 * math/s_iseqsig_template.c: Likewise.
12239 * math/s_ldexp_template.c: Likewise.
12240 * math/s_nextdown_template.c: Likewise.
12241 * math/w_log1p_template.c: Likewise.
12242 * math/w_scalbln_template.c: Likewise.
12243 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12244 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12245 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12246 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12247 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12248 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12249 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12250 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12251 * sysdeps/i386/fpu/s_atanl.c: Likewise.
12252 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12253 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12254 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12255 * sysdeps/i386/fpu/s_logbl.c: Likewise.
12256 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12257 * sysdeps/i386/fpu/s_significandl.c: Likewise.
12258 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
12259 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
12260 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12261 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12262 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12263 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12264 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12265 * sysdeps/ieee754/k_standardf.c: Likewise.
12266 * sysdeps/ieee754/k_standardl.c: Likewise.
12267 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12268 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12269 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
12270 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12271 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12272 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12273 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12274 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12275 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12276 * sysdeps/ieee754/s_signgam.c: Likewise.
12277 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12278 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
12279 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
12280 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12281 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12282 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12283 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12284 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12285 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12286 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12287 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12288 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12289 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12290 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12291 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12292 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12293 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12294 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12295 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12296 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12297 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12298 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12299 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12300 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12301 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12302 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12303 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12304 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12305 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12306 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12307 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12308 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12309 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12310 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12311 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12312 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12313 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
12315 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12317 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
12320 * sysdeps/i386/dl-cet.c: Removed.
12321 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
12323 (_dl_runtime_profile_shstk): Likewise.
12324 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
12325 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
12327 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12330 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
12331 do_test_with_invalid_iov): New tests.
12332 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
12333 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
12334 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
12336 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12337 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12338 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
12340 2018-09-27 Joseph Myers <joseph@codesourcery.com>
12342 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12343 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
12344 (MATH_REDIRECT_BINARY_ARGS): New macro.
12345 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12346 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
12347 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
12349 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
12350 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12351 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
12352 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12353 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12354 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12355 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
12360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
12362 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
12363 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
12364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
12366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
12368 * sysdeps/generic/math_private_calls.h
12369 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
12370 Do not declare and define as an inline function.
12371 * math/divtc3.c (__divtc3): Use copysign functions instead of
12372 __copysign variants.
12373 * math/multc3.c (__multc3): Likewise.
12374 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
12375 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
12376 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12377 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12379 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12380 (__ieee754_yn): Likewise.
12381 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12382 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
12383 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12384 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12385 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
12387 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12388 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12390 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12392 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12394 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12395 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12397 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12398 (__ieee754_ynf): Likewise.
12399 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12400 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12401 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12402 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12404 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12405 (__ieee754_ynl): Likewise.
12406 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12407 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12408 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12410 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12411 (__ieee754_ynl): Likewise.
12412 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
12413 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12414 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12415 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12417 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12419 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
12420 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12421 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
12422 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12423 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12425 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12426 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
12427 using MATH_REDIRECT.
12428 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
12430 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
12431 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12432 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12433 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
12434 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12435 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12436 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
12438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
12439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
12440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
12441 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12442 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12443 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12444 (round): Redirect to __round.
12445 (__roundl): Call round instead of __round.
12446 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
12448 [_ARCH_PWR5X] (__roundf): Likewise.
12449 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
12450 functions instead of __round variants.
12451 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12452 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12454 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12456 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12458 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
12459 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
12461 (__ieee754_expl): Call roundl instead of __roundl.
12463 2018-09-27 Andreas Schwab <schwab@suse.de>
12466 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
12467 (do_test): Make st1 static.
12469 2018-09-26 Andreas Schwab <schwab@suse.de>
12472 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
12473 * elf/Makefile (tests): Add tst-unwind-ctor.
12474 (modules-names): Add tst-unwind-ctor-lib.
12475 ($(objpfx)tst-unwind-ctor): Depend on
12476 $(objpfx)tst-unwind-ctor-lib.so.
12478 2018-09-26 Joseph Myers <joseph@codesourcery.com>
12480 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
12481 file. Most contents moved from ....
12482 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
12483 and include <bits/mman-map-flags-generic.h>.
12484 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12485 (sysdep_headers): Add bits/mman-map-flags-generic.h.
12486 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
12487 <bits/mman-map-flags-generic.h>.
12488 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
12489 macros defined in <bits/mman-map-flags-generic.h>.
12490 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
12491 <bits/mman-map-flags-generic.h>.
12492 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
12493 defined in <bits/mman-map-flags-generic.h>.
12495 2018-09-26 Andreas Schwab <schwab@suse.de>
12497 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
12500 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
12501 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12502 Fangrui Song <maskray@google.com>
12505 * config.make.in (have-textrel_ifunc): New define.
12506 * configure.ac: Add check if linker supports textrel relocation with
12508 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
12510 (CFLAGS-tst-ifunc-textrel.c): New rule.
12511 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
12512 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
12513 * elf/tst-ifunc-textrel.c: New file.
12515 2018-09-25 Joseph Myers <joseph@codesourcery.com>
12517 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12518 <bits/procfs-prregset.h>.
12519 (prgregset_t): Define using __prgregset_t.
12520 (prfpregset_t): Define using __prfpregset_t.
12521 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12522 (sysdep_headers): Add bits/procfs-prregset.h.
12523 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
12524 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
12525 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
12526 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
12528 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12529 <bits/procfs-id.h> and <bits/procfs-extra.h>.
12530 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
12532 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12533 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
12534 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
12535 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
12536 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
12537 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
12538 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
12539 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
12540 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
12541 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
12542 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
12543 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
12544 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
12545 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
12546 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
12547 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
12548 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
12549 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
12550 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
12551 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
12552 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
12553 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
12554 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12555 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
12557 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
12558 AArch64 version. Include <bits/procfs.h>.
12559 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12560 (sysdep_headers): Add bits/procfs.h.
12561 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
12562 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
12563 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
12564 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
12565 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
12566 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
12567 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
12568 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
12569 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
12570 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
12571 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
12572 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
12573 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
12574 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
12575 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
12576 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12577 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12579 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12581 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
12584 2018-09-25 Arjun Shankar <arjun@redhat.com>
12586 * iconv/gconv_int.h (__gconv_path_elem): Remove.
12587 (__gconv_max_path_elem_len): Likewise.
12588 (__gconv_nmodules): Likewise.
12589 (__gconv_get_path): Likewise.
12590 (path_elem): Move to ...
12591 * iconv/gconv_conf.c: ... here.
12592 (__gconv_get_path): Mark function static.
12593 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
12594 * iconv/gconv_open.c: ... here.
12596 2018-09-24 Andreas Schwab <schwab@suse.de>
12598 * scripts/haveversions.awk: New file.
12599 * Makerules ($(common-objpfx)Versions.def)
12600 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12601 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12603 * Makeconfig ($(common-objpfx)Versions.def)
12604 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12605 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12607 ($(common-objpfx)Versions.mk): New rule. Include it.
12608 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
12609 Emit error if build-obsolete-nsl = yes.
12610 * manual/install.texi (Configuring and compiling): Describe
12611 --enable-obsolete-nsl as unavaiable after version 2.28.
12612 * INSTALL: Regenerate.
12614 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12616 * NEWS: Add note about new TLE support on powerpc64le.
12617 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
12618 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
12620 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
12621 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
12622 * sysdeps/powerpc/powerpc32/sysdep.h,
12623 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
12624 ABORT_TRANSACTION): Remove macros.
12625 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12626 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
12627 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
12628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
12629 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12630 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
12632 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
12634 2018-09-21 Rafał Lużyński <digitalfreak@lingonborough.com>
12637 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
12638 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
12639 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
12640 which is the same as in it_IT.
12641 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
12642 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
12644 2018-09-20 Joseph Myers <joseph@codesourcery.com>
12646 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12647 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
12648 using MATH_REDIRECT.
12649 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
12651 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
12652 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12653 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
12654 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12655 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12656 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
12658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
12659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
12660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
12661 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12662 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12663 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12664 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12665 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
12666 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
12667 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
12668 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12669 (ceil): Redirect to __ceil.
12670 (floor): Redirect to __floor.
12671 (trunc): Redirect to __trunc.
12672 (__truncl): Call trunc instead of __trunc.
12673 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
12675 [_ARCH_PWR5X] (__truncf): Likewise.
12676 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
12677 trunc functions instead of __trunc variants.
12678 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12680 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12682 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12684 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12687 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
12688 [__i586__ || __pentium__].
12689 [__i486__]: Handle explicitly.
12690 (HAS_CPUID): Define to 1 if above macros are undefined.
12691 (HAS_I586): Likewise.
12692 (HAS_I686): Likewise.
12694 2018-09-20 Florian Weimer <fweimer@redhat.com>
12696 * misc/tst-gethostid.c: New file.
12697 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
12698 (tst-gethostid): Link with -ldl.
12700 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
12702 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
12703 value from gethostbyname_r.
12705 2018-09-19 Carlos O'Donell <carlos@redhat.com>
12707 * stdlib/tst-setcontext9.c (f1): Rename to...
12709 (f1b): New function implementing lower half of f1 in alternate stack.
12711 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
12713 Fix mktime localtime offset confusion
12715 * include/time.h (__mktime_internal): The localtime offset is now
12716 of type long int instead of time_t. This is the longstanding type
12717 in glibc, and it is more than enough to represent difference
12718 between localtime and gmtime even if it is 32 bits and time_t is
12719 64. Changing it now will let us avoid an unnecessary change when
12720 time_t is widened to 64 bits on 32-bit platforms.
12721 * time/mktime-internal.h (mktime_offset_t): Now long int.
12723 Merge mktime, timegm from upstream Gnulib
12724 [BZ #23603][BZ #16346]
12725 This fixes some obscure problems with integer overflow.
12726 Although it looks scary, it is almost all a byte-for-byte copy
12727 from Gnulib, and the Gnulib code has been tested reasonably well.
12728 * include/intprops.h: New file, copied from Gnulib.
12729 * include/verify.h, time/mktime-internal.h:
12730 New tiny files, simplified from Gnulib.
12731 * time/mktime.c: Copy from Gnulib. This has the following changes:
12732 Do not include config.h if DEBUG_MKTIME is nonzero.
12733 Include stdbool.h, intprops.h, verify.h.
12734 Include string.h only if needed.
12735 Include stdlib.h on MS-Windows.
12736 Include mktime-internal.h.
12737 (DEBUG_MKTIME): Default to 0, and simplify later uses.
12738 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
12739 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
12740 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
12741 simplify later conditionals; default the others to zero. Use
12742 these conditionals to express only the code needed on the current
12743 platform. In uses of these conditionals, explicitly spell out how
12744 _LIBC affects things, so it’s easier to review from a glibc
12746 (WRAPV): Remove; no longer needed now that we have
12747 systematic overflow checking.
12748 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
12749 compartmentalize tzset issues. Move system-dependent tzsettish
12750 code here from mktime.
12751 (verify): Remove; now done by verify.h. All uses changed.
12752 (long_int): Use a more-conservative definition, to avoid
12754 (SHR): Remove, replacing with ...
12755 (shr): New function, which means we needn’t worry about side
12756 effects in args, and conversion analysis is simpler.
12757 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
12758 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
12759 (time_t_avg, time_t_add_ok): Remove.
12760 (mktime_min, mktime_max): New constants.
12761 (leapyear, isdst_differ): Use bool for booleans.
12762 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
12763 Use long_int, not time_t, for mktime differences.
12764 (long_int_avg): New function, replacing time_t_avg.
12765 INT_ADD_WRAPV replaces time_t_add_ok.
12766 (guess_time_tm): 6th arg is now long_int, not time_t const *.
12768 (convert_time): New function.
12769 (ranged_convert): Use it.
12770 (__mktime_internal): Last arg now points to mktime_offset_t, not
12771 time_t. All uses changed. This is a no-op on glibc, where
12772 mktime_offset_t is always time_t. Use int, not time_t, for UTC
12773 offset guess. Directly check for integer overflow instead of
12774 using a heuristic that works only 99.9...% of the time.
12775 Access *OFFSET only once, to avoid an unlikely race if the
12776 compiler delays a load and if this cascades into a signed integer
12778 (mktime): Move tzsettish code to my_tzset, and move
12779 localtime_offset to within mktime so that it doesn’t
12780 need a separate ifdef.
12781 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
12782 instead of localtime.
12783 * time/timegm.c: Copy from Gnulib. This has the following changes:
12784 Include mktime-internal.h.
12785 [!_LIBC]: Include config.h and time.h. Do not include
12786 timegm.h or time_r.h. Make __mktime_internal a macro,
12787 and include mktime-internal.h to get its declaration.
12788 (timegm): Temporary is now mktime_offset_t, not time_t.
12789 This affects only Gnulib.
12791 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12794 * string/test-strstr.c (pr23637): New function.
12795 (test_main): Add tests with longer needles.
12796 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
12797 * string/strstr.c (AVAILABLE): Likewise.
12799 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12801 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
12803 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12805 * NEWS: Mention pow improvements.
12806 * math/Makefile (type-double-routines): Add e_pow_log_data.
12807 * sysdeps/generic/math_private.h (__exp1): Remove.
12808 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
12809 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
12810 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
12812 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
12813 (exp_inline): Remove.
12814 (__ieee754_exp): Only single double input is handled.
12815 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
12816 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
12817 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
12818 (__pow_log_data): Define.
12819 * sysdeps/ieee754/dbl-64/upow.h: Remove.
12820 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
12821 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
12822 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
12824 (CFLAGS-e_pow-fma4.c): Likewise.
12826 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
12828 Simplify tzfile fstat failure code
12830 * time/tzfile.c (__tzfile_read): Simplify slightly.
12832 Fix tzfile low-memory assertion failure
12834 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
12835 when registering time zone abbreviations.
12837 2018-09-18 Joseph Myers <joseph@codesourcery.com>
12839 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
12840 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
12841 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
12842 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
12843 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
12844 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
12845 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12846 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12847 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12849 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
12851 (__ceill): Call ceil instead of __ceil.
12852 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
12854 (__floorl): Call floor instead of __floor.
12856 2018-09-17 Joseph Myers <joseph@codesourcery.com>
12858 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12859 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
12860 using MATH_REDIRECT.
12861 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
12863 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
12864 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12865 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12866 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
12867 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12868 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12869 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12870 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
12871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
12872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
12873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
12874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
12875 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12876 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12877 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12878 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12879 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
12880 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
12881 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
12883 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
12884 functions instead of __ceil variants.
12885 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12886 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12888 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12890 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12891 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12893 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12894 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12897 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
12899 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
12900 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
12901 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
12902 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
12903 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
12904 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
12905 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
12906 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
12907 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
12908 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
12909 (ILL_BADIADDR): Remove constant.
12910 (TRAP_BRANCH): Likewise.
12911 (TRAP_HWBKPT): Likewise.
12913 2018-09-14 Joseph Myers <joseph@codesourcery.com>
12916 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
12917 Remove [_MIPS_SIM = _ABIN32] conditional case.
12918 (struct elf_prpsinfo): Likewise.
12921 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
12922 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
12923 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
12925 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
12926 elf_prpsinfo): Likewise.
12927 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
12928 elf_prpsinfo): Likewise.
12929 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
12932 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12933 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
12934 using MATH_REDIRECT.
12935 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
12937 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
12938 * sysdeps/alpha/fpu/s_rint.c: Likewise.
12939 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
12940 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12941 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12942 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12943 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
12944 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12945 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12946 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12947 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
12948 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
12949 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
12950 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
12951 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
12952 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12953 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12954 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12955 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
12957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
12958 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
12959 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
12960 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
12961 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
12962 * sysdeps/x86_64/fpu/math_private.h: Remove file.
12963 * math/e_scalb.c (invalid_fn): Use rint functions instead of
12965 * math/e_scalbf.c (invalid_fn): Likewise.
12966 * math/e_scalbl.c (invalid_fn): Likewise.
12967 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12969 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12971 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12972 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
12973 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12975 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12977 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12979 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
12980 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
12982 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12983 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
12985 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12986 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
12987 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12988 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
12989 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12990 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
12991 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12992 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
12993 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12994 && !NO_MATH_REDIRECT] (floor): Likewise.
12995 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
12997 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
12998 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12999 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13000 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
13001 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13002 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13003 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13004 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
13005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
13006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
13007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
13008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
13009 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13010 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13011 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
13012 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
13013 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
13014 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
13015 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
13017 [_ARCH_PWR5X] (__floorf): Likewise.
13018 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
13020 [__SSE4_1__] (__floorf): Likewise.
13021 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
13022 instead of __floor variants.
13023 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
13024 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
13025 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
13026 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
13027 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
13028 * math/w_tgamma_compat.c (__tgamma): Likewise.
13029 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
13030 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
13031 * math/w_tgammal_compat.c (__tgammal): Likewise.
13032 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
13033 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13035 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
13036 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
13037 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
13038 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13040 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13041 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
13043 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
13044 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
13046 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13047 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
13049 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13050 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13051 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
13052 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
13053 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
13054 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13056 2018-09-12 Joseph Myers <joseph@codesourcery.com>
13058 * elf/Makefile (modules-names-tests): New variable.
13060 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13062 * NEWS: Mention log2 improvements.
13063 * math/Makefile (type-double-routines): Add e_log2_data.
13064 * sysdeps/i386/fpu/e_log2_data.c: New file.
13065 * sysdeps/ia64/fpu/e_log2_data.c: New file.
13066 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
13067 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
13068 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
13069 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
13070 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
13072 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13074 * NEWS: Mention log improvement.
13075 * math/Makefile (type-double-routines): Add e_log_data.
13076 * sysdeps/i386/fpu/e_log_data.c: New file.
13077 * sysdeps/ia64/fpu/e_log_data.c: New file.
13078 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
13079 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
13080 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
13081 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
13082 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
13083 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
13085 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
13086 Xuepeng Guo <xuepeng.guo@intel.com>
13089 * sysdeps/i386/start.S: Include <sysdep.h>
13090 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
13091 enabled. Add cfi_undefined (eip).
13093 2018-09-11 Joseph Myers <joseph@codesourcery.com>
13095 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
13097 (EXTRACT_WORDS64): Likewise.
13098 (INSERT_WORDS64): Likewise.
13099 (GET_FLOAT_WORD): Likewise.
13100 (SET_FLOAT_WORD): Likewise.
13102 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
13104 (Config.build_gcc): Use --disable-libsanitizer for first GCC
13105 build, but not for second build if --full-gcc. Use
13106 --enable-languages=all for second build if --full-gcc.
13107 (get_parser): Add --full-gcc option.
13108 (main): Update call to Context.
13110 2018-09-10 Rafał Lużyński <digitalfreak@lingonborough.com>
13113 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
13114 Single Quotation Mark).
13115 (thousands_sep): Likewise.
13116 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
13117 * localedata/locales/it_IT (thousands_sep): Use ".".
13118 (grouping): Use "3;3".
13120 2018-09-10 Joseph Myers <joseph@codesourcery.com>
13122 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
13123 x86_64 and i686 configs using --enable-obsolete-rpc
13124 --enable-obsolete-nsl.
13126 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
13128 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13130 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
13132 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
13133 Increment size of new_argv by one.
13135 2018-09-05 Rafał Lużyński <digitalfreak@lingonborough.com>
13138 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
13139 * localedata/locales/ar_IN (d_fmt): Likewise.
13140 * localedata/locales/bhb_IN (d_fmt): Likewise.
13141 * localedata/locales/bho_IN (d_fmt): Likewise.
13142 * localedata/locales/bn_BD (d_fmt): Likewise.
13143 * localedata/locales/bn_IN (d_fmt): Likewise.
13144 * localedata/locales/doi_IN (d_fmt): Likewise.
13145 * localedata/locales/gu_IN (d_fmt): Likewise.
13146 * localedata/locales/hi_IN (d_fmt): Likewise.
13147 * localedata/locales/hne_IN (d_fmt): Likewise.
13148 * localedata/locales/kn_IN (d_fmt): Likewise.
13149 * localedata/locales/mag_IN (d_fmt): Likewise.
13150 * localedata/locales/mai_IN (d_fmt): Likewise.
13151 * localedata/locales/mjw_IN (d_fmt): Likewise.
13152 * localedata/locales/ml_IN (d_fmt): Likewise.
13153 * localedata/locales/mni_IN (d_fmt): Likewise.
13154 * localedata/locales/mr_IN (d_fmt): Likewise.
13155 * localedata/locales/pa_IN (d_fmt): Likewise.
13156 * localedata/locales/raj_IN (d_fmt): Likewise.
13157 * localedata/locales/sat_IN (d_fmt): Likewise.
13158 * localedata/locales/sd_IN (d_fmt): Likewise.
13159 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
13160 * localedata/locales/ta_IN (d_fmt): Likewise.
13161 * localedata/locales/ta_LK (d_fmt): Likewise.
13162 * localedata/locales/tcy_IN (d_fmt): Likewise.
13163 * localedata/locales/ur_IN (d_fmt): Likewise.
13165 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
13166 * localedata/locales/ks_IN (d_fmt): Likewise.
13167 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
13169 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
13170 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
13171 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
13172 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
13174 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
13176 * NEWS: Mention exp and exp2 improvements.
13177 * math/Makefile (libm-support): Remove t_exp.
13178 (type-double-routines): Add math_err and e_exp_data.
13179 * sysdeps/aarch64/libm-test-ulps: Update.
13180 * sysdeps/arm/libm-test-ulps: Update.
13181 * sysdeps/i386/fpu/e_exp_data.c: New file.
13182 * sysdeps/i386/fpu/math_err.c: New file.
13183 * sysdeps/i386/fpu/t_exp.c: Remove.
13184 * sysdeps/ia64/fpu/e_exp_data.c: New file.
13185 * sysdeps/ia64/fpu/math_err.c: New file.
13186 * sysdeps/ia64/fpu/t_exp.c: Remove.
13187 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
13188 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
13189 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
13190 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
13191 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
13192 * sysdeps/ieee754/dbl-64/math_config.h: New file.
13193 * sysdeps/ieee754/dbl-64/math_err.c: New file.
13194 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
13195 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
13196 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
13197 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
13198 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
13199 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
13200 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
13201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13204 2018-09-05 Joseph Myers <joseph@codesourcery.com>
13206 * sysdeps/alpha/fpu/math_private.h: Remove.
13208 * sysdeps/generic/math_private.h
13209 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
13210 Move this inline function ....
13211 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
13212 * include/math.h [!_ISOMAC]: To here....
13214 2018-09-04 Joseph Myers <joseph@codesourcery.com>
13216 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
13218 [!FE_HAVE_ROUNDING_MODES]: And this code ....
13219 * include/fenv.h [!_ISOMAC]: ... to here.
13220 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
13221 (feraiseexcept): Likewise.
13222 * math/fromfp.h: Do not include <fenv_private.h>.
13223 * math/s_cexp_template.c: Likewise.
13224 * math/s_csin_template.c: Likewise.
13225 * math/s_csinh_template.c: Likewise.
13226 * math/s_ctan_template.c: Likewise.
13227 * math/s_ctanh_template.c: Likewise.
13228 * math/s_iseqsig_template.c: Likewise.
13229 * math/w_acos_compat.c: Likewise.
13230 * math/w_acosf_compat.c: Likewise.
13231 * math/w_acosl_compat.c: Likewise.
13232 * math/w_asin_compat.c: Likewise.
13233 * math/w_asinf_compat.c: Likewise.
13234 * math/w_asinl_compat.c: Likewise.
13235 * math/w_j0_compat.c: Likewise.
13236 * math/w_j0f_compat.c: Likewise.
13237 * math/w_j0l_compat.c: Likewise.
13238 * math/w_j1_compat.c: Likewise.
13239 * math/w_j1f_compat.c: Likewise.
13240 * math/w_j1l_compat.c: Likewise.
13241 * math/w_jn_compat.c: Likewise.
13242 * math/w_jnf_compat.c: Likewise.
13243 * math/w_log10_compat.c: Likewise.
13244 * math/w_log10f_compat.c: Likewise.
13245 * math/w_log10l_compat.c: Likewise.
13246 * math/w_log2_compat.c: Likewise.
13247 * math/w_log2f_compat.c: Likewise.
13248 * math/w_log2l_compat.c: Likewise.
13249 * math/w_log_compat.c: Likewise.
13250 * math/w_logf_compat.c: Likewise.
13251 * math/w_logl_compat.c: Likewise.
13252 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13253 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13254 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13255 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13256 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13257 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13258 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13259 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13260 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13261 * sysdeps/ieee754/k_standardl.c: Likewise.
13262 * sysdeps/ieee754/ldbl-128/e_expl.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-128ibm/s_llrintl.c: Likewise.
13270 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13271 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13272 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13273 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13274 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13275 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13276 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13277 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13278 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13279 * math/w_ilogb_template.c: Include <fenv.h> instead of
13281 * math/w_llogb_template.c: Likewise.
13282 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13283 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13285 2018-09-03 Joseph Myers <joseph@codesourcery.com>
13287 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
13288 * math/fromfp.h: Include <fenv_private.h>.
13289 * math/math-narrow.h: Likewise.
13290 * math/s_cexp_template.c: Likewise.
13291 * math/s_csin_template.c: Likewise.
13292 * math/s_csinh_template.c: Likewise.
13293 * math/s_ctan_template.c: Likewise.
13294 * math/s_ctanh_template.c: Likewise.
13295 * math/s_iseqsig_template.c: Likewise.
13296 * math/w_acos_compat.c: Likewise.
13297 * math/w_acosf_compat.c: Likewise.
13298 * math/w_acosl_compat.c: Likewise.
13299 * math/w_asin_compat.c: Likewise.
13300 * math/w_asinf_compat.c: Likewise.
13301 * math/w_asinl_compat.c: Likewise.
13302 * math/w_ilogb_template.c: Likewise.
13303 * math/w_j0_compat.c: Likewise.
13304 * math/w_j0f_compat.c: Likewise.
13305 * math/w_j0l_compat.c: Likewise.
13306 * math/w_j1_compat.c: Likewise.
13307 * math/w_j1f_compat.c: Likewise.
13308 * math/w_j1l_compat.c: Likewise.
13309 * math/w_jn_compat.c: Likewise.
13310 * math/w_jnf_compat.c: Likewise.
13311 * math/w_llogb_template.c: Likewise.
13312 * math/w_log10_compat.c: Likewise.
13313 * math/w_log10f_compat.c: Likewise.
13314 * math/w_log10l_compat.c: Likewise.
13315 * math/w_log2_compat.c: Likewise.
13316 * math/w_log2f_compat.c: Likewise.
13317 * math/w_log2l_compat.c: Likewise.
13318 * math/w_log_compat.c: Likewise.
13319 * math/w_logf_compat.c: Likewise.
13320 * math/w_logl_compat.c: Likewise.
13321 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
13322 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
13323 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
13324 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
13325 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13326 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13327 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13328 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13329 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13330 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13331 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13332 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13333 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
13334 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13335 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13336 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13337 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13338 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13339 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13340 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13341 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13342 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13343 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13344 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13345 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13346 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13347 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13348 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13349 * sysdeps/ieee754/float128/float128_private.h: Likewise.
13350 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13351 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13352 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13353 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13354 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13355 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13356 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13357 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13358 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13359 * sysdeps/ieee754/k_standardl.c: Likewise.
13360 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13361 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13362 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13363 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13364 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13365 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13366 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13367 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13368 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13369 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13370 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13371 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13372 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13373 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13374 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13375 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13376 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13377 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13378 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13379 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13380 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13381 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13382 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13383 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13384 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13385 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13386 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13387 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13388 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13389 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13390 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13391 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13392 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13393 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13394 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13395 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13396 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13397 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13398 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
13399 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13400 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
13401 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
13402 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
13403 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13404 * sysdeps/riscv/rvd/s_finite.c: Likewise.
13405 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
13406 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
13407 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
13408 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
13409 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
13410 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
13411 * sysdeps/riscv/rvf/fegetround.c: Likewise.
13412 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
13413 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
13414 * sysdeps/riscv/rvf/fesetround.c: Likewise.
13415 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
13416 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
13417 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
13418 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13419 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
13420 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13421 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
13422 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
13423 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
13424 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
13425 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
13426 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
13427 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
13428 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
13429 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
13430 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13432 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13435 * include/stdio.h (__libc_fatal): Mention newline in comment.
13436 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
13437 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
13438 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13439 * nss/nsswitch.c (__nss_next2): Likewise.
13440 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
13441 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
13442 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
13443 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13444 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
13445 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
13446 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
13447 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
13448 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
13449 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
13450 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
13451 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13452 (__netlink_assert_response): Likewise.
13454 2018-08-31 Joseph Myers <joseph@codesourcery.com>
13456 * conform/glibcconform.py: New file.
13457 * conform/list-header-symbols.py: Likewise.
13458 * conform/list-header-symbols.pl: Remove.
13459 * conform/Makefile (tests-special): Only add linknamespace tests
13461 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
13463 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
13466 * support/Makefile (libsupport-routines): Add
13467 support_copy_file_range and xcopy_file_range.
13468 * support/support.h: Include <sys/types.h>.
13469 (support_copy_file_range): New prototype.
13470 * support/support_copy_file_range.c: New file. Copied and
13471 modified from io/copy_file_range-compat.c.
13472 * support/test-container.c (copy_one_file): Call xcopy_file_rang
13473 instead of copy_file_range.
13474 * support/xcopy_file_range.c: New file.
13475 * support/xunistd.h (xcopy_file_range): New prototype.
13477 2018-08-30 Carlos O'Donell <carlos@redhat.com>
13479 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
13480 xpthread_create and xpthread_join.
13482 2018-08-30 Florian Weimer <fweimer@redhat.com>
13484 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
13486 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
13488 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
13491 2018-08-29 Joseph Myers <joseph@codesourcery.com>
13493 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
13494 and minus_oflow as non-finite.
13496 2018-08-28 Joseph Myers <joseph@codesourcery.com>
13498 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
13499 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
13500 moved to fenv_private.h except for ...
13501 (TOINT_INTRINSICS): Kept in math_private.h.
13502 (roundtoint): Likewise.
13503 (converttoint): Likewise.
13504 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
13505 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13506 * sysdeps/arm/math_private.h: Remove.
13507 * sysdeps/generic/fenv_private.h: New file. Contents moved from
13509 * sysdeps/generic/math_private.h: ... this file. Include
13510 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
13511 Include <fenv_private.h>. Remove functions and macros moved to
13513 * sysdeps/i386/fpu/math_private.h: Remove.
13514 * sysdeps/mips/math_private.h: Move to ....
13515 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
13516 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
13517 [__mips_hard_float] conditional. Include next <fenv_private.h>.
13518 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
13519 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13520 * sysdeps/powerpc/fpu/math_private.h: Do not include
13522 * sysdeps/riscv/rvf/math_private.h: Move to ....
13523 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
13524 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
13526 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
13527 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13528 * sysdeps/sparc/fpu/math_private.h: Remove.
13529 * sysdeps/i386/fpu/fenv_private.h: Move to ....
13530 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
13531 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
13533 * sysdeps/x86_64/fpu/math_private.h: Do not include
13534 <sysdeps/i386/fpu/fenv_private.h>.
13536 2018-08-28 Florian Weimer <fweimer@redhat.com>
13539 * posix/tst-regcomp-truncated.c: New file.
13540 * posix/Makefile (tests): Add it.
13541 (tst-regcomp-truncated.out): Depend on generated locales.
13543 2018-08-28 Florian Weimer <fweimer@redhat.com>
13545 * support/test-container.c (main): Treat unshare failure with
13546 EPERM as an unsupported test.
13548 2018-08-28 Florian Weimer <fweimer@redhat.com>
13551 nscd: Fix use-after-free in addgetnetgrentX and its callers.
13552 * nscd/netgroupcache.c
13553 (addgetnetgrentX): Add tofreep parameter. Do not free
13554 heap-allocated buffer.
13555 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
13556 (addgetnetgrentX_ignore): New function.
13557 (addgetnetgrent): Call it.
13558 (readdgetnetgrent): Likewise.
13560 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13562 * string/memmem.c: Use memcmp for first match.
13564 2018-08-28 Rafał Lużyński <digitalfreak@lingonborough.com>
13567 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
13569 2018-08-27 DJ Delorie <dj@redhat.com>
13571 * support/Makefile (others): Don't list programs explicitly as a
13572 dependency of "others".
13574 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13576 * sysdeps/generic/math-tests-trap-force.h: New file.
13577 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
13578 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
13579 * sysdeps/powerpc/math-tests.h: Remove file.
13580 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
13582 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
13583 Torvald Riegel <triegel@redhat.com>
13586 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
13587 Update r to include the set wake-request flag if waiters are
13588 remaining after spinning.
13590 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13592 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
13594 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
13597 regex: fix uninitialized memory access
13598 I introduced this bug into gnulib in commit
13599 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
13600 eventually it was merged into glibc. The bug was found by
13601 project-repo <bugs@feusi.co> and reported here:
13602 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
13603 Diagnosis and draft fix reported by Assaf Gordon here:
13604 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
13605 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
13606 * posix/regex_internal.c (build_wcs_upper_buffer):
13607 Fix bug when mbrtowc returns 0.
13609 2018-08-24 Carlos O'Donell <carlos@redhat.com>
13611 * po/be.po: Update translation.
13613 2018-08-24 DJ Delorie <dj@delorie.com>
13615 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
13618 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13621 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
13622 create temporary files in source tree.
13624 2018-08-24 Joseph Myers <joseph@codesourcery.com>
13626 * sysdeps/generic/math-tests-trap.h: New file.
13627 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
13628 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
13629 * sysdeps/aarch64/math-tests.h: Remove file.
13630 * sysdeps/arm/math-tests.h: Likewise.
13631 * sysdeps/riscv/math-tests.h: Likewise.
13632 * sysdeps/aarch64/math-tests-trap.h: New file.
13633 * sysdeps/arm/math-tests-trap.h: Likewise.
13634 * sysdeps/riscv/math-tests-trap.h: Likewise.
13636 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13638 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
13639 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
13640 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
13641 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
13642 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
13643 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
13644 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13645 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
13646 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
13647 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13648 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13649 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13650 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13651 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
13652 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
13653 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
13654 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13655 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13657 2018-08-23 Joseph Myers <joseph@codesourcery.com>
13659 * sysdeps/generic/math-tests-exceptions.h: New file.
13660 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
13661 (EXCEPTION_TESTS_float): Do not define here.
13662 (EXCEPTION_TESTS_double): Likewise.
13663 (EXCEPTION_TESTS_long_double): Likewise.
13664 (EXCEPTION_TESTS_float128): Likewise.
13665 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
13667 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
13668 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
13669 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
13670 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
13671 * sysdeps/mips/math-tests.h: Likewise.
13672 * sysdeps/nios2/math-tests.h: Likewise.
13673 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13674 (EXCEPTION_TESTS_float): Do not define here.
13675 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
13676 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
13677 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
13679 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13681 * NEWS: Move optimized sinf entry to 2.29.
13683 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13685 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
13687 2018-08-22 DJ Delorie <dj@redhat.com>
13689 * Makefile (testroot.pristine): New rules to initialize the
13690 test-in-container "testroot".
13691 * Makerules (all-testsuite): Add tests-container.
13692 * Rules (tests-expected): Add tests-container.
13693 (binaries-all-tests): Likewise.
13694 (tests-container): New, run these tests in the testroot container.
13695 * support/Makefile (others): Add *-container, support_paths.c,
13696 xmkdirp, and links-dso-program.
13697 * support/links-dso-program-c.c: New.
13698 * support/links-dso-program.cc: New.
13699 * support/test-container.c: New.
13700 * support/shell-container.c: New.
13701 * support/echo-container.c: New.
13702 * support/true-container.c: New.
13703 * support/xmkdirp.c: New.
13704 * support/xsymlink.c: New.
13705 * support/support_paths.c: New.
13706 * support/support.h: Add support paths prototypes.
13707 * support/xunistd.h: Add xmkdirp () and xsymlink ().
13709 * nss/tst-nss-test3.c: Convert to test-in-container.
13710 * nss/tst-nss-test3.root/: New.
13712 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
13714 regex: port Gnulib code to z/OS POSIX environment
13715 Problem reported by Arnold Robbins in:
13716 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
13717 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
13720 2018-08-22 Joseph Myers <joseph@codesourcery.com>
13722 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
13723 (ROUNDING_TESTS_double): Remove.
13724 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
13725 (ROUNDING_TESTS_double): Remove.
13726 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
13727 (ROUNDING_TESTS_double): Remove.
13728 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
13729 (ROUNDING_TESTS_float): Remove.
13730 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
13731 (ROUNDING_TESTS_float): Remove.
13732 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
13733 (ROUNDING_TESTS_float): Remove.
13734 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
13735 !TEST_MATHVEC here.
13736 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13737 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13739 * sysdeps/generic/math-tests-rounding.h: New file.
13740 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
13741 (ROUNDING_TESTS_float): Do not define here.
13742 (ROUNDING_TESTS_double): Likewise.
13743 (ROUNDING_TESTS_long_double): Likewise.
13744 (ROUNDING_TESTS_float128): Likewise.
13745 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
13746 (ROUNDING_TESTS_double): Undefine before defining.
13747 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
13748 (ROUNDING_TESTS_double): Undefine before defining.
13749 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
13750 (ROUNDING_TESTS_double): Undefine before defining.
13751 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
13752 (ROUNDING_TESTS_float): Undefine before defining.
13753 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
13754 (ROUNDING_TESTS_float): Undefine before defining.
13755 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
13756 (ROUNDING_TESTS_float): Undefine before defining.
13757 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
13758 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
13760 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
13761 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
13762 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
13763 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13764 (ROUNDING_TESTS_float): Do not define here.
13765 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
13766 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
13767 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
13768 (ROUNDING_TESTS_float): Likewise.
13769 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
13770 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
13771 * sysdeps/mips/math-tests.h [__mips_soft_float]
13772 (ROUNDING_TESTS_float): Likewise.
13773 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
13774 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
13775 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
13776 (ROUNDING_TESTS_double): Likewise.
13777 (ROUNDING_TESTS_long_double): Likewise.
13779 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
13781 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
13782 (PF_XDP): New macro.
13783 (AF_XDP): New macro.
13784 (SOL_XDP): New macro.
13786 2018-08-21 Joseph Myers <joseph@codesourcery.com>
13788 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
13789 (TCP_INQ): Likewise.
13790 (TCP_CM_INQ): Likewise.
13791 (TCP_REPAIR_ON): Likewise.
13792 (TCP_REPAIR_OFF): Likewise.
13793 (TCP_REPAIR_OFF_NO_WP): Likewise.
13794 (struct tcp_zerocopy_receive): New type.
13796 2018-08-21 Florian Weimer <fweimer@redhat.com>
13798 * support/support.h (support_descriptor_supports_holes): Declare.
13799 * support/Makefile (libsupport-routines): Add
13800 support_descriptor_supports_holes.
13801 * support/support_descriptor_supports_holes.c: New file.
13802 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
13803 and stop testing if holes are not supported.
13804 * io/test-lfs.c (do_prepare): Likewise.
13805 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
13807 * timezone/tst-tzset.c (create_tz_file): Likewise.
13808 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
13810 (do_prepare): Set it.
13811 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
13813 2018-08-21 Florian Weimer <fweimer@redhat.com>
13816 * Makeconfig (+cflags): Do not sort (and deduplicate).
13818 2018-08-21 Florian Weimer <fweimer@redhat.com>
13820 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
13821 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
13823 2018-08-20 Florian Weimer <fweimer@redhat.com>
13825 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
13826 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
13828 2018-08-20 Joseph Myers <joseph@codesourcery.com>
13830 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
13831 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
13832 and ssi_arch members.
13834 * elf/elf.c (NT_VMCOREDD): New macro.
13835 (AT_MINSIGSTKSZ): Likewise.
13837 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13839 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13840 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
13841 s_cosf-ppc64 and s_cosf-power8.
13842 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
13843 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13844 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13845 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
13847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
13848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
13849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
13850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13852 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
13853 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13855 2018-08-17 Florian Weimer <fweimer@redhat.com>
13857 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13859 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
13861 * malloc/malloc.c (_int_malloc): Additional binning code checks.
13863 2018-08-16 Florian Weimer <fweimer@redhat.com>
13865 * configure.ac: Add --with-nonshared-cflags option.
13866 * config.make.in (extra-nonshared-cflags): Set variable.
13867 * Makeconfig (CFLAGS-.oS): Use it.
13868 * manual/install.texi (Configuring and compiling): Document
13869 --with-nonshared-cflags.
13870 * configure: Regenerate.
13871 * INSTALL: Likewise.
13873 2018-08-16 Florian Weimer <fweimer@redhat.com>
13875 * Makeconfig (ASFLAGS): Always append required assembler flags.
13877 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
13879 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
13880 (malloc_consolidate): Likewise.
13882 2018-08-16 Pochang Chen <johnchen902@gmail.com>
13884 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
13886 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
13888 * benchtests/bench-strlen.c (do_test): Allocate buffers before
13891 * benchtests/bench-strlen.c: Print performance numbers in json.
13893 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13895 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13896 (sysdep_routines): Build strcmp-power9 and strncmp-power9
13897 only for little endian.
13898 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13899 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
13900 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
13901 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
13902 Add check for little endian.
13903 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13904 (__strcmp_power9): Add check for little endian.
13905 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
13906 Add check for little endian.
13907 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13908 (__strncmp_power9): Add check for little endian.
13909 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
13910 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
13911 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
13912 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
13913 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
13915 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13917 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
13918 [!STRLEN](STRLEN): Set to __strlen.
13919 * sysdeps/aarch64/multiarch/strlen.c: New file.
13920 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
13921 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
13922 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
13923 (__libc_ifunc_impl_list): Add strlen.
13924 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13925 strlen_generic and strlen_asimd.
13927 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13929 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
13930 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
13931 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13933 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13935 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
13937 2018-08-14 Florian Weimer <fweimer@redhat.com>
13940 * include/stdio.h (__vfxprintf): Declare.
13941 * stdio-common/fxprintf.c (__vfxprintf): New function.
13942 (__fxprintf): Call it.
13943 * misc/err.c (convert_and_print): Remove function.
13944 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
13945 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
13946 * misc/Makefile (tests): Add tst-warn-wide.
13947 * misc/tst-warn-wide.c: New file.
13949 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
13950 Szabolcs Nagy <szabolcs.nagy@arm.com>
13952 * NEWS: Mention sinf, cosf, sincosf.
13953 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
13954 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
13955 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
13956 constants rather than including generic sincosf.h.
13957 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
13958 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
13959 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
13960 (reduced_cos): Remove.
13961 (sinf_poly): New function.
13962 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
13964 2018-08-14 Florian Weimer <fweimer@redhat.com>
13968 * nss/nss_files/files-alias.c (get_next_alias): During :include:
13969 processing, bail out if no room, and close the stream before
13971 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
13972 (tst-nss-files-alias-leak): Link with libdl.
13973 (tst-nss-files-alias-leak.out): Depend on nss_files.
13975 * nss/tst-nss-files-alias-leak.c: New file.
13977 2018-08-14 Florian Weimer <fweimer@redhat.com>
13979 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
13980 server_user, stat_user.
13982 2018-08-13 Joseph Myers <joseph@codesourcery.com>
13984 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13986 (io_pgetevents): New syscall.
13989 * manual/install.texi (Configuring and compiling): Do not list
13990 tools used for testing pretty printers here.
13991 (Tools for Compilation): List Python, PExpect and GDB here.
13992 Update descriptions of uses of Perl and Python.
13993 * INSTALL: Regenerate.
13995 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13998 2018-08-13 Florian Weimer <fweimer@redhat.com>
14000 * misc/error.c (error): Add missing va_end call.
14001 (error_at_line): Likewise.
14003 2018-08-13 Florian Weimer <fweimer@redhat.com>
14005 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
14007 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14009 * benchtests/scripts/benchout.schema.json (properties): Add
14012 * benchtests/bench-skeleton.c (main): Add duration and
14013 iterations attributes.
14015 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
14017 regex: Gnulib unibyte RRI uses bytes not chars
14018 Adjust the non-glibc code to agree with what Gawk needs for
14019 rational range interpretation (RRI) for regular expression ranges.
14020 In unibyte locales, Gawk wants ranges to use the underlying byte
14021 rather than the character code point. This change does not affect
14023 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
14024 In unibyte locales, use the byte value rather than
14025 running it through btowc.
14027 2018-08-10 Joseph Myers <joseph@codesourcery.com>
14029 * sysdeps/generic/math-tests-snan.h: New file.
14030 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
14031 (SNAN_TESTS_float): Do not define here.
14032 (SNAN_TESTS_double): Likewise.
14033 (SNAN_TESTS_long_double): Likewise.
14034 (SNAN_TESTS_float128): Likewise.
14035 * sysdeps/i386/fpu/math-tests-snan.h: New file.
14036 * sysdeps/i386/fpu/math-tests.h: Remove file.
14037 * sysdeps/ia64/math-tests-snan.h: New file.
14038 * sysdeps/ia64/math-tests.h: Remove file.
14039 * sysdeps/x86/math-tests.h: Likewise.
14040 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
14042 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
14043 Szabolcs Nagy <szabolcs.nagy@arm.com>
14045 * math/Makefile: Add s_sincosf_data.c.
14046 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
14047 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
14048 (sincosf_poly): Likewise.
14049 (reduce_small): Likewise.
14050 (reduce_large): Likewise.
14051 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
14052 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
14053 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
14054 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
14056 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
14057 Szabolcs Nagy <szabolcs.nagy@arm.com>
14059 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
14060 (converttoint): Use lround.
14061 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
14062 document the semantics when TOINT_INTRINSICS is set.
14063 (converttoint): Likewise.
14064 (TOINT_RINT): Remove.
14065 (TOINT_SHIFT): Remove.
14066 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
14069 2018-08-10 Florian Weimer <fweimer@redhat.com>
14072 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
14074 (__old_getdents64): Use getdents64. Convert entries without
14076 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
14077 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
14078 tst-readdir64-compat.
14080 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14082 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
14085 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14087 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
14088 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
14089 code to s390x-mcount.h and #include it.
14090 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
14091 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
14094 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14096 * stdlib/Versions: Remove __fentry__.
14097 * sysdeps/i386/Versions: Add __fentry__.
14098 * sysdeps/x86_64/Versions: Add __fentry__.
14100 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14102 * sysdeps/s390/Makefile: Register the new tests.
14103 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
14104 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
14105 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
14106 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
14107 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
14108 * sysdeps/s390/tst-dl-runtime.c: New file.
14110 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14112 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14115 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14117 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14120 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14122 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14125 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14127 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14130 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14132 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14133 Use symbolic offsets for stack variables.
14135 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14137 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14138 Use symbolic offsets for stack variables.
14140 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14142 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14143 Use symbolic offsets for stack variables.
14145 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14147 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14148 Use symbolic offsets for stack variables.
14150 2018-08-09 Joseph Myers <joseph@codesourcery.com>
14152 * math/gen-libm-test.py: New file.
14153 * math/gen-libm-test.pl: Remove.
14154 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
14155 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
14157 ($(libm-test-c-noauto-obj)): Likewise.
14158 ($(libm-test-c-auto-obj)): Likewise.
14159 ($(libm-test-c-narrow-obj)): Likewise.
14160 (regen-ulps): Likewise.
14161 * math/README.libm-test: Update references to gen-libm-test.pl.
14162 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
14163 referencing gen-libm-test.pl.
14164 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
14165 * math/libm-test-support.c: Likewise.
14166 * math/libm-test-support.h: Likewise.
14167 * sysdeps/generic/libm-test-ulps: Likewise.
14169 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
14171 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
14174 2018-08-08 Joseph Myers <joseph@codesourcery.com>
14176 * math/libm-test-nextdown.inc (do_test): Move comment to ....
14177 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
14179 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
14181 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
14183 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
14184 __pthread_setspecific): Add hidden proto.
14185 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
14186 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
14188 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14190 * benchtests/bench-string.h (buf1_size, buf2_size): New
14192 (init_sizes): New function.
14193 (test_init): Use it.
14194 (alloc_buf, exit_error): New functions.
14195 (alloc_bufs): Use ALLOC_BUF.
14196 (realloc_bufs): Remove.
14197 * benchtests/bench-memcmp.c (do_test): Adjust.
14198 * benchtests/bench-memset-large.c (do_test): Likewise.
14199 * benchtests/bench-memset-walk.c (do_test): Likewise.
14200 * benchtests/bench-memset.c (do_test): Likewise.
14201 * benchtests/bench-strncmp.c (do_test): Likewise.
14203 2018-08-06 Andreas Schwab <schwab@suse.de>
14205 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
14206 of CONST_THREAD_AREA.
14208 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
14210 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
14211 (STATE_SAVE_MASK): Likewise.
14212 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
14213 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
14214 (STATE_SAVE_MASK): Likewise.
14215 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
14216 instead of <cpu-features.h>.
14218 2018-08-03 DJ Delorie <dj@redhat.com>
14220 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
14221 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
14223 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
14225 2018-08-03 Joseph Myers <joseph@codesourcery.com>
14227 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
14228 after TEST_* calls.
14229 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
14230 * math/libm-test-logb.inc (logb_test_data): Likewise.
14232 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
14234 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
14235 * string/strstr.c (AVAILABLE): Likewise.
14237 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14239 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
14241 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
14242 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
14243 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
14245 2018-08-03 Carlos O'Donell <carlos@redhat.com>
14247 * po/be.po: Update translation.
14249 * po/be.po: Update translation.
14251 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14253 * sysdeps/x86/cpu-features-offsets.sym
14254 (rtld_global_ro_offsetof): Removed.
14255 (CPU_FEATURES_SIZE): Likewise.
14256 (CPUID_OFFSET): Likewise.
14257 (CPUID_SIZE): Likewise.
14258 (CPUID_EAX_OFFSET): Likewise.
14259 (CPUID_EBX_OFFSET): Likewise.
14260 (CPUID_ECX_OFFSET): Likewise.
14261 (CPUID_EDX_OFFSET): Likewise.
14262 (FAMILY_OFFSET): Likewise.
14263 (MODEL_OFFSET): Likewise.
14264 (FEATURE_OFFSET): Likewise.
14265 (FEATURE_SIZ): Likewise.
14266 (COMMON_CPUID_INDEX_1): Likewise.
14267 (COMMON_CPUID_INDEX_7): Likewise.
14268 (FEATURE_INDEX_1): Likewise.
14269 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
14271 2018-08-02 Carlos O'Donell <carlos@redhat.com>
14273 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
14274 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
14275 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
14276 (install-locales): Depend on install-locale-archive.
14277 (install-locale-archive): Define.
14278 (install-locale-files): Define.
14279 (build-one-locale): Define macro.
14280 * manual/install.texi (Running make install): Document.
14281 * manual/INSTALL: Regenerate.
14283 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14285 * benchtests/scripts/compare_strings.py: Import traceback.
14286 (parse_file): Pretty-print error.
14288 * NEWS: Mention the change.
14289 * elf/dl-tunables.list: Rename tune namespace to cpu.
14290 * sysdeps/powerpc/dl-tunables.list: Likewise.
14291 * sysdeps/x86/dl-tunables.list: Likewise.
14292 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
14294 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
14295 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
14296 * manual/README.tunables: Likewise.
14297 * manual/tunables.texi: Likewise.
14298 * sysdeps/powerpc/cpu-features.c: Likewise.
14299 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
14300 (init_cpu_features): Likewise.
14301 * sysdeps/x86/cpu-features.c: Likewise.
14302 * sysdeps/x86/cpu-features.h: Likewise.
14303 * sysdeps/x86/cpu-tunables.c: Likewise.
14304 * sysdeps/x86_64/Makefile: Likewise.
14305 * sysdeps/x86/dl-cet.c: Likewise.
14307 2018-08-02 Joseph Myers <joseph@codesourcery.com>
14310 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
14311 [__mips_hard_float].
14312 (FE_UNDERFLOW): Likewise.
14313 (FE_OVERFLOW): Likewise.
14314 (FE_DIVBYZERO): Likewise.
14315 (FE_INVALID): Likewise.
14316 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
14317 (FE_TOWARDZERO): Define only if [__mips_hard_float].
14318 (FE_UPWARD): Likewise.
14319 (FE_DOWNWARD): Likewise.
14320 (__FE_UNDEFINED): Define if [!__mips_hard_float]
14321 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
14322 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
14323 [__mips_hard_float].
14324 (FP_ROUNDMODE): Likewise.
14325 (FP_RND_NEAREST): Likewise.
14326 (FP_RND_ZERO): Likewise.
14327 (FP_RND_PINF): Likewise.
14328 (FP_RND_MINF): Likewise.
14329 (FP_EX_INVALID): Likewise.
14330 (FP_EX_OVERFLOW): Likewise.
14331 (FP_EX_UNDERFLOW): Likewise.
14332 (FP_EX_DIVZERO): Likewise.
14333 (FP_EX_INEXACT): Likewise.
14334 (FP_INIT_ROUNDMODE): Likewise.
14335 * sysdeps/mips/nofpu/fesetenv.c: New file.
14336 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
14338 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14340 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
14341 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
14342 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
14343 conditional on [FE_UPWARD].
14345 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
14347 regex: fix memory leak in Gnulib
14348 Problem and fix reported by Assaf Gordon in:
14349 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
14350 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
14351 range_ends members too, as they are defined in 'struct
14352 re_charset_t' even if not _LIBC. This affects only Gnulib.
14354 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
14356 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
14358 (get_common_indices): This.
14359 (init_cpu_features): Updated.
14361 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14363 * sysdeps/generic/math-tests-snan-payload.h: New file.
14364 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
14365 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
14366 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
14367 * sysdeps/generic/math-tests.h: Include
14368 <math-tests-snan-payload.h>.
14369 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14370 * sysdeps/hppa/math-tests.h: Remove file.
14371 * sysdeps/mips/math-tests.h [!__mips_nan2008]
14372 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14373 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
14376 * sysdeps/generic/math-tests-snan-cast.h: New file.
14377 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
14378 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
14379 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
14380 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
14382 2018-08-01 Carlos O'Donell <carlos@redhat.com>
14384 * version.h (RELEASE): Set to "development".
14385 (VERSION): Set to "2.28.9000".
14386 * NEWS (2.29): New section.
14388 * version.h (RELEASE): Set to "stable".
14389 (VERSION): Set to "2.28".
14390 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
14391 * NEWS: Add the list of bugs fixed in 2.28.
14393 * po/ca.po: Update to latest version.
14394 * po/cs.po: Likewise
14395 * po/da.po: Likewise
14396 * po/el.po: Likewise
14397 * po/eo.po: Likewise
14398 * po/es.po: Likewise
14399 * po/fi.po: Likewise
14400 * po/fr.po: Likewise
14401 * po/gl.po: Likewise
14402 * po/hu.po: Likewise
14403 * po/ia.po: Likewise
14404 * po/id.po: Likewise
14405 * po/it.po: Likewise
14406 * po/ja.po: Likewise
14407 * po/ko.po: Likewise
14408 * po/lt.po: Likewise
14409 * po/nb.po: Likewise
14410 * po/nl.po: Likewise
14411 * po/pt_BR.po: Likewise
14412 * po/ru.po: Likewise
14413 * po/rw.po: Likewise
14414 * po/sk.po: Likewise
14415 * po/sl.po: Likewise
14416 * po/tr.po: Likewise
14417 * po/zh_CN.po: Likewise
14418 * po/zh_TW.po: Likewise
14420 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14422 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
14424 (init): ... before initializing libpthread.
14426 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
14427 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
14428 (__mach_setup_tls): ... new function.
14429 (mach_setup_tls): New alias.
14430 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
14431 __mach_setup_thread.
14432 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
14433 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
14434 * mach/Versions [libc] (mach_setup_tls): Add symbol.
14435 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
14437 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14439 * manual/install.texi: Update versions.
14440 * INSTALL: Regenerate.
14442 * manual/contrib.texi (Contributors): Update contributions.
14444 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14446 * po/be.po: Update translations.
14448 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14450 * sysdeps/sh/libm-test-ulps: Update.
14452 2018-07-30 Carlos O'Donell <carlos@redhat.com>
14454 * po/bg.po: Update translations.
14455 * po/de.po: Likewise.
14456 * po/hr.po: Likewise.
14457 * po/pt_BR.po: Likewise.
14458 * po/sv.po: Likewise.
14459 * po/vi.po: Likewise.
14461 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14464 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14465 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
14466 (CFLAGS-tst-cet-property-1.o): New.
14467 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
14468 ($(objpfx)tst-cet-property-2): Likewise.
14469 ($(objpfx)tst-cet-property-2.out): Likewise.
14470 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
14471 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
14472 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
14473 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
14474 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
14476 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14479 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
14481 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
14483 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
14484 __sbrk): Do not set attribute_hidden.
14485 * sysdeps/mach/hurd/not-errno.h: New file.
14486 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14487 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
14489 2018-07-27 Carlos O'Donell <carlos@redhat.com>
14491 * po/uk.po: Update translations.
14492 * po/cs.po: Likewise.
14493 * po/pl.po: Likewise.
14495 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
14497 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
14498 parse beyond the note end.
14500 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14502 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
14503 kernel does not support OFD locks.
14504 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
14506 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14508 * sysdeps/mach/hurd/Versions (libc): Make __access and
14509 __access_noerrno external so they can override the ld symbols.
14510 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
14511 __writev, __open64, __access_noerrno extern so they can be overrided.
14512 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
14513 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14515 2018-07-26 Carlos O'Donell <carlos@redhat.com>
14517 * po/libc.pot: Regenerate.
14519 2018-07-26 Joseph Myers <joseph@codesourcery.com>
14521 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14523 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14526 * sysdeps/x86/cpu-features.c (get_extended_indices): New
14528 (init_cpu_features): Call get_extended_indices for both Intel
14530 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
14531 Remove "for AMD" comment.
14533 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14536 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
14537 COMMON_CPUID_INDEX_80000001.
14539 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
14541 * string/tst-xbzero-opt.c (use_test_buffer): New function.
14542 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
14544 2018-07-26 Florian Weimer <fweimer@redhat.com>
14546 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
14547 aliases for symbols not in the implementation namespace.
14549 2018-07-25 Carlos O'Donell <carlos@redhat.com>
14552 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
14553 lowercase in LATIN script.
14554 * localedata/Makefile (test-input): Add en_US.UTF-8.
14555 * localedata/en_US.UTF-8.in: New file.
14556 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
14557 and restore old tests.
14558 * posix/tst-regexloc.c (do_test): Add back range expression test.
14560 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14562 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
14564 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14566 * nptl/threads.h: Move to ...
14567 * sysdeps/nptl/threads.h: ... here.
14568 * sysdeps/hurd/stdc-predef.h: New file.
14570 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14572 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14573 tst-cet-setcontext-1 if CET is enabled.
14574 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
14575 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
14577 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14579 * include/threads.h: Move to ...
14580 * sysdeps/nptl/threads.h: ... here.
14581 * sysdeps/htl/threads.h: New file.
14582 * conform/Makefile (linknamespace-libs-ISO11): Use
14583 static-thread-library instead of linking libpthread.
14584 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
14586 2018-07-25 Florian Weimer <fweimer@redhat.com>
14588 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
14589 nanoseconds into seconds.
14590 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
14591 (do_test): Likewise.
14592 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
14593 (do_test): Likewise. Avoid nanosecond overflow and spurious
14594 timeouts due to system load.
14595 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
14596 (child_wait): Increment it.
14597 (do_test): Wait as long as necessary until all expected threads
14600 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
14601 H.J. Lu <hongjiu.lu@intel.com>
14603 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
14605 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
14606 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
14607 (__push___start_context): New.
14608 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
14610 (__getcontext): Record the current shadow stack base. Save the
14611 caller's shadow stack pointer and base.
14612 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
14613 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
14614 (__push___start_context): New prototype.
14615 (__makecontext): Call __push___start_context to allocate a new
14616 shadow stack, push __start_context onto the new stack as well
14617 as the new shadow stack.
14618 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
14620 (__setcontext): Restore the target shadow stack.
14621 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
14623 (__swapcontext): Record the current shadow stack base. Save
14624 the caller's shadow stack pointer and base. Restore the target
14626 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14627 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
14628 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
14630 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14632 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
14633 tst-setcontext8 and tst-setcontext9.
14634 * stdlib/tst-setcontext6.c: New file.
14635 * stdlib/tst-setcontext7.c: Likewise.
14636 * stdlib/tst-setcontext8.c: Likewise.
14637 * stdlib/tst-setcontext9.c: Likewise.
14639 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14641 * stdlib/Makefile ((tests): Add tst-setcontext5.
14642 * stdlib/tst-setcontext5.c: New file.
14644 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14646 * stdlib/Makefile (tests): Add tst-setcontext4.
14647 * stdlib/tst-setcontext4.c: New file.
14649 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14651 * stdlib/Makefile (tests): Add tst-swapcontext1.
14652 * stdlib/tst-swapcontext1.c: New test.
14654 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14656 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
14657 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
14658 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
14659 and tst-cet-legacy-4c.
14660 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
14661 and tst-cet-legacy-mod-4.
14662 (CFLAGS-tst-cet-legacy-2.c): New.
14663 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
14664 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
14665 (CFLAGS-tst-cet-legacy-3.c): Likewise.
14666 (CFLAGS-tst-cet-legacy-4.c): Likewise.
14667 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
14668 ($(objpfx)tst-cet-legacy-1): Likewise.
14669 ($(objpfx)tst-cet-legacy-2): Likewise.
14670 ($(objpfx)tst-cet-legacy-2.out): Likewise.
14671 ($(objpfx)tst-cet-legacy-2a): Likewise.
14672 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
14673 ($(objpfx)tst-cet-legacy-4): Likewise.
14674 ($(objpfx)tst-cet-legacy-4.out): Likewise.
14675 ($(objpfx)tst-cet-legacy-4a): Likewise.
14676 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
14677 (tst-cet-legacy-4a-ENV): Likewise.
14678 ($(objpfx)tst-cet-legacy-4b): Likewise.
14679 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
14680 (tst-cet-legacy-4b-ENV): Likewise.
14681 ($(objpfx)tst-cet-legacy-4c): Likewise.
14682 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
14683 (tst-cet-legacy-4c-ENV): Likewise.
14684 * sysdeps/x86/tst-cet-legacy-1.c: New file.
14685 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
14686 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
14687 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
14688 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
14689 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
14690 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
14691 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
14692 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
14693 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
14694 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
14696 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14698 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14699 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14701 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14702 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14705 2018-07-25 Andreas Schwab <schwab@suse.de>
14708 * locale/weightwc.h (findidx): Handle the case where usrc is a
14709 prefix of cp but one character too short.
14711 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14713 * NEWS: Add ISO C threads addition.
14715 2018-07-24 Florian Weimer <fweimer@redhat.com>
14717 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14718 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
14719 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
14722 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14724 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
14725 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
14726 <sys/prctl.h> and <asm/prctl.h>.
14727 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
14728 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
14730 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
14731 ARCH_CET_LEGACY_BITMAP.
14732 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
14733 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
14734 * sysdeps/x86/libc-start.c: Include <startup.h>.
14736 2018-07-24 Florian Weimer <fweimer@redhat.com>
14738 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
14739 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
14741 2018-07-24 Rical Jasan <rj@2c3t.io>
14742 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14743 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14746 * manual/debug.texi: Update adjacent chapter name.
14747 * manual/probes.texi: Likewise.
14748 * manual/threads.texi (ISO C Threads): New section.
14749 (POSIX Threads): Convert to a section.
14751 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14752 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14755 * nptl/Makefile (tests): Add new test files.
14756 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
14757 * nptl/tst-cnd-basic.c: Likewise.
14758 * nptl/tst-cnd-broadcast.c: Likewise.
14759 * nptl/tst-cnd-timedwait.c: Likewise.
14760 * nptl/tst-mtx-basic.c: Likewise.
14761 * nptl/tst-mtx-recursive.c: Likewise.
14762 * nptl/tst-mtx-timedlock.c: Likewise.
14763 * nptl/tst-mtx-trylock.c: Likewise.
14764 * nptl/tst-thrd-basic.c: Likewise.
14765 * nptl/tst-thrd-detach.c: Likewise.
14766 * nptl/tst-thrd-sleep.c: Likewise.
14767 * nptl/tst-tss-basic.c: Likewise.
14769 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14772 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14773 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
14775 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14776 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14777 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14778 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14779 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14780 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14781 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14782 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14783 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14784 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14785 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14786 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
14793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14794 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14795 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14796 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14797 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14798 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14799 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14800 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14801 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14802 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
14803 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
14804 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
14805 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
14806 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
14808 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14809 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14810 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14811 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14812 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14813 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14814 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14815 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14816 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14817 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14818 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14819 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14826 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14827 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14828 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14829 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14830 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14831 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14832 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14833 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14836 * conform/data/threads.h-data (thread_local): New macro.
14837 (TSS_DTOR_ITERATIONS): Likewise.
14839 (tss_dtor_t): Likewise.
14840 (tss_create): New function.
14841 (tss_get): Likewise.
14842 (tss_set): Likewise.
14843 (tss_delete): Likewise.
14844 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
14845 tss_get, and tss_set objects.
14846 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14847 * nptl/tss_create.c: New file.
14848 * nptl/tss_delete.c: Likewise.
14849 * nptl/tss_get.c: Likewise.
14850 * nptl/tss_set.c: Likewise.
14851 * sysdeps/nptl/threads.h (thread_local): New define.
14852 (TSS_DTOR_ITERATIONS): Likewise.
14853 (tss_t): New typedef.
14854 (tss_dtor_t): Likewise.
14855 (tss_create): New prototype.
14856 (tss_get): Likewise.
14857 (tss_set): Likewise.
14858 (tss_delete): Likewise.
14861 * conform/data/threads.h-data (cnd_t): New type.
14862 (cnd_init): New function.
14863 (cnd_signal): Likewise.
14864 (cnd_broadcast): Likewise.
14865 (cnd_wait): Likewise.
14866 (cnd_timedwait): Likewise.
14867 (cnd_destroy): Likewise.
14868 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
14869 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
14871 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14872 * nptl/cnd_broadcast.c: New file.
14873 * nptl/cnd_destroy.c: Likewise.
14874 * nptl/cnd_init.c: Likewise.
14875 * nptl/cnd_signal.c: Likewise.
14876 * nptl/cnd_timedwait.c: Likewise.
14877 * nptl/cnd_wait.c: Likewise.
14878 * sysdeps/nptl/threads.h (cnd_t): New type.
14879 (cnd_init): New prototype.
14880 (cnd_signa): Likewise.
14881 (cnd_broadcast): Likewise.
14882 (cnd_wait): Likewise.
14883 (cnd_timedwait): Likewise.
14884 (cnd_destroy): Likewise.
14887 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
14888 (once_flag): New type.
14889 (call_once): New function.
14890 * nptl/Makefile (libpthread-routines): Add call_once object.
14891 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
14892 * nptl/call_once.c: New file.
14893 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
14894 (once_flag): New type.
14895 (call_once): New prototype.
14898 * conform/data/threads.h-data (mtx_plain): New constant.
14899 (mtx_recursive): Likewise.
14900 (mtx_timed): Likewise.
14902 (mtx_init): New function.
14903 (mtx_lock): Likewise.
14904 (mtx_timedlock): Likewise.
14905 (mtx_trylock): Likewise.
14906 (mtx_unlock): Likewise.
14907 (mtx_destroy): Likewise.
14908 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
14909 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
14910 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
14911 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
14912 * nptl/mtx_destroy.c: New file.
14913 * nptl/mtx_init.c: Likewise.
14914 * nptl/mtx_lock.c: Likewise.
14915 * nptl/mtx_timedlock.c: Likewise.
14916 * nptl/mtx_trylock.c: Likewise.
14917 * nptl/mtx_unlock.c: Likewise.
14918 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
14919 (mtx_recursive): Likewise.
14920 (mtx_timed): Likewise.
14922 (mtx_init): New prototype.
14923 (mtx_lock): Likewise.
14924 (mtx_timedlock): Likewise.
14925 (mtx_trylock): Likewise.
14926 (mtx_unlock): Likewise.
14927 (mtx_destroy): Likewise.
14930 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
14931 (linknamespace-libs-ISO11): Add libpthread.a.
14932 * conform/data/threads.h-data: New file: add C11 thrd_* types and
14934 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
14935 * nptl/Makefile (headers): Add threads.h.
14936 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
14937 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
14939 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
14940 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
14941 thrd_join, thrd_sleep, and thrd_yield symbols.
14942 * nptl/descr.h (struct pthread): Add c11 field.
14943 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
14944 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
14945 routine with expected function prototype.
14946 (__pthread_create_2_1): Add C11 threads check based on attribute
14948 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
14949 * nptl/thrd_create.c: New file.
14950 * nptl/thrd_current.c: Likewise.
14951 * nptl/thrd_detach.c: Likewise.
14952 * nptl/thrd_equal.c: Likewise.
14953 * nptl/thrd_exit.c: Likewise.
14954 * nptl/thrd_join.c: Likewise.
14955 * nptl/thrd_priv.h: Likewise.
14956 * nptl/thrd_sleep.c: Likewise.
14957 * nptl/thrd_yield.c: Likewise.
14958 * include/threads.h: Likewise.
14960 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14962 * bits/indirect-return.h: New file.
14963 * misc/sys/cdefs.h (__glibc_has_attribute): New.
14964 * sysdeps/x86/bits/indirect-return.h: Likewise.
14965 * stdlib/Makefile (headers): Add bits/indirect-return.h.
14966 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
14967 (swapcontext): Add __INDIRECT_RETURN.
14968 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
14969 (prepare_test_buffer): Use it.
14971 2018-07-24 Andreas Schwab <schwab@suse.de>
14974 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
14975 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
14977 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14979 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
14980 Redefine if shadow stack is enabled.
14981 (SYSCALL_ERROR_LABEL): Likewise.
14982 (__vfork): Pop shadow stack and jump back to to caller directly
14983 when shadow stack is in use.
14984 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
14985 Redefine if shadow stack is enabled.
14986 (SYSCALL_ERROR_LABEL): Likewise.
14987 (__vfork): Pop shadow stack and jump back to to caller directly
14988 when shadow stack is in use.
14990 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14992 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
14995 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
14998 2018-07-20 Joseph Myers <joseph@codesourcery.com>
15000 * scripts/build-many-glibcs.py (Context.checkout): Default
15001 binutils version to 2.31 branch.
15003 2018-07-20 Zong Li <zong@andestech.com>
15005 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
15006 URL of gcc's tarball.
15008 2018-07-20 Florian Weimer <fweimer@redhat.com>
15011 * posix/regcomp.c (build_equiv_class): When comparing weights, do
15012 not compare an extra byte after the end of the weights.
15014 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15016 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
15018 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
15020 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
15021 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
15022 * scripts/check-execstack.awk: Consider `xfail' variable containing a
15023 list of libraries whose stack executability is expected.
15024 * elf/Makefile ($(objpfx)check-execstack.out): Pass
15025 $(check-execstack-xfail) to check-execstack.awk through `xfail'
15027 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
15028 libc.so libpthread.so.
15030 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
15032 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
15034 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
15036 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
15038 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
15040 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15042 * benchtests/scripts/compare_bench.py (__main__): use the argparse
15043 library to improve command line parsing.
15044 (__main__): make schema file as optional parameter (--schema),
15045 defaulting to benchtests/scripts/benchout.schema.json.
15046 (main): move out of the parsing stuff to __main_ and leave it
15047 only as caller of main comparison functions.
15049 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
15051 * NEWS: Add a note for Intel CET status.
15052 * manual/install.texi: Likewise.
15053 * INSTALL: Regenerated.
15055 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
15058 * localedata/locales/oc_FR (mon): Rename to...
15059 (alt_mon): This, then update October (typo fix).
15060 (mon): New content (genitive case, month names preceded by
15064 * localedata/locales/oc_FR (abday): Update all items.
15065 (day): Update Wednesday and Saturday (typo fixes).
15066 (abmon): Update all items, except May.
15067 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
15068 (LC_IDENTIFICATION): Bump the revision number and date.
15069 Keep the "category" entries in alphabetic order.
15070 (LC_ADDRESS): Remove no longer needed comment.
15071 (LC_COLLATE): Use “copy "ca_ES"”.
15072 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
15075 2018-07-18 Joseph Myers <joseph@codesourcery.com>
15077 * grp/tst_fgetgrent.c: Include <unistd.h>.
15078 (main): Use mkstemp instead of tmpnam.
15079 * io/test-utime.c (main): Likewise.
15080 * posix/annexc.c (macrofile): Change to modifiable array.
15081 (main): Remove macrofile here.
15082 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
15084 (check_header): Do not remove macrofile here.
15085 * posix/bug-getopt1.c: Include <stdlib.h>.
15086 (do_test): Use mkstemp instead of tmpnam.
15087 * posix/bug-getopt2.c: Include <stdlib.h>.
15088 (do_test): Use mkstemp instead of tmpnam.
15089 * posix/bug-getopt3.c: Include <stdlib.h>.
15090 (do_test): Use mkstemp instead of tmpnam.
15091 * posix/bug-getopt4.c: Include <stdlib.h>.
15092 (do_test): Use mkstemp instead of tmpnam.
15093 * posix/bug-getopt5.c: Include <stdlib.h>.
15094 (do_test): Use mkstemp instead of tmpnam.
15095 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
15096 (main): Use mkstemp instead of tmpnam.
15097 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
15098 (main): Use mkstemp instead of tmpnam.
15099 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
15100 (main): use mkstemp instead of tmpnam.
15101 * stdlib/isomac.c (macrofile): Change to modifiable array.
15102 (main): Remove macrofile here.
15103 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
15105 (check_header): Do not remove macrofile here.
15107 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15109 * manual/tunables.texi: Document glibc.tune.x86_ibt and
15110 glibc.tune.x86_shstk.
15112 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15114 * NEWS: Mention --enable-cet.
15115 * manual/install.texi: Document --enable-cet.
15116 * INSTALL: Regenerated.
15118 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15120 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
15121 Add _CET_NOTRACK before indirect jump to jump table.
15123 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15125 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
15126 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15129 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15131 * sysdeps/i386/i686/multiarch/strcat-sse2.S
15132 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15135 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15137 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
15138 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15141 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15143 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
15144 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15147 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15149 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
15150 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15152 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
15154 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15156 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
15157 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15160 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15162 * sysdeps/i386/i686/multiarch/memset-sse2.S
15163 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15166 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15168 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
15169 indirect jump to jump table.
15171 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15173 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
15174 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15176 (MEMCPY): Likewise.
15178 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15180 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
15181 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15183 (MEMCPY): Likewise.
15185 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15187 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15188 _CET_NOTRACK before indirect jump to jump table.
15190 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15192 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
15193 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15196 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15198 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
15199 indirect jump to jump table.
15201 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
15204 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
15205 (LOCALES): Likewise.
15206 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
15207 * localedata/locales/sah_RU: New file.
15208 * localedata/sah_RU.UTF-8.in: New file.
15210 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15212 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
15214 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15215 _CET_ENDBR to indirect jump targets and adjust jump destination
15217 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
15219 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15220 _CET_ENDBR to indirect jump targets and adjust jump destination
15222 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
15224 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
15225 _CET_ENDBR to indirect jump targets and adjust jump destination
15228 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15230 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15233 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15235 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
15237 (_dl_tlsdesc_undefweak): Likewise.
15238 (_dl_tlsdesc_dynamic): Likewise.
15239 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
15240 (_dl_tlsdesc_resolve_rel): Likewise.
15241 (_dl_tlsdesc_resolve_rela): Likewise.
15242 (_dl_tlsdesc_resolve_hold): Likewise.
15243 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
15244 (_dl_tlsdesc_undefweak): Likewise.
15245 (_dl_tlsdesc_dynamic): Likewise.
15246 (_dl_tlsdesc_resolve_rela): Likewise.
15247 (_dl_tlsdesc_resolve_hold): Likewise.
15249 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15251 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
15253 * sysdeps/x86_64/crti.S (_init): Likewise.
15256 2018-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
15259 * localedata/locales/os_RU (mon): Rename to...
15261 (mon): Import from CLDR (genitive case).
15263 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15265 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
15266 cet-tunables.h> when CET is enabled.
15268 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
15271 * configure.ac: Add --enable-cet.
15272 * configure: Regenerated.
15273 * elf/Makefille (all-built-dso): Add a comment.
15274 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
15275 Include <dl-prop.h>.
15276 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
15278 * elf/dl-open.c: Include <dl-prop.h>.
15279 (dl_open_worker): Call _dl_open_check.
15280 * elf/rtld.c: Include <dl-prop.h>.
15281 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
15283 * sysdeps/generic/dl-prop.h: New file.
15284 * sysdeps/i386/dl-cet.c: Likewise.
15285 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
15286 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
15287 * sysdeps/x86/cet-tunables.h: Likewise.
15288 * sysdeps/x86/check-cet.awk: Likewise.
15289 * sysdeps/x86/configure: Likewise.
15290 * sysdeps/x86/configure.ac: Likewise.
15291 * sysdeps/x86/dl-cet.c: Likewise.
15292 * sysdeps/x86/dl-procruntime.c: Likewise.
15293 * sysdeps/x86/dl-prop.h: Likewise.
15294 * sysdeps/x86/libc-start.h: Likewise.
15295 * sysdeps/x86/link_map.h: Likewise.
15296 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
15298 (_dl_runtime_profile): Likewise.
15299 (_dl_runtime_resolve_shstk): New.
15300 (_dl_runtime_profile_shstk): Likewise.
15301 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
15303 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
15304 (CFLAGS-.os): Likewise.
15305 (CFLAGS-.op): Likewise.
15306 (CFLAGS-.oS): Likewise.
15307 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
15309 (tests-special): Add $(objpfx)check-cet.out.
15310 (cet-built-dso): New.
15311 (+$(cet-built-dso:=.note)): Likewise.
15312 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
15313 ($(objpfx)check-cet.out): New.
15314 (generated): Add check-cet.out.
15315 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
15317 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
15318 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15319 (init_cpu_features): Call get_cet_status to check CET status
15320 and update dl_x86_feature_1 with CET status. Call
15321 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
15322 (set_x86_shstk). Disable and lock CET in libc.a.
15323 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
15324 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
15325 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15326 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
15327 (_CET_ENDBR): Define if not defined.
15328 (ENTRY): Add _CET_ENDBR.
15329 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
15331 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
15333 (_dl_runtime_profile): Likewise.
15335 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
15338 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
15339 restore r2 on longjmp.
15340 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
15342 Added rules to build test tst-setjmp-bug21895-static.
15343 Added module setjmp-bug21895 and rules to build a shared object from it.
15344 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
15345 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
15347 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
15349 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
15350 * benchtests/bench-strstr.c: Likewise.
15351 * string/memmem.c (FASTSEARCH): Define.
15352 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
15353 Add support for FASTSEARCH.
15354 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
15355 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
15356 (FASTSEARCH): Define.
15357 * string/test-strcasestr.c: Rename __strnlen to strnlen.
15358 * string/test-strstr.c: Likewise.
15360 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
15362 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
15363 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
15365 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
15366 H.J. Lu <hongjiu.lu@intel.com>
15368 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
15369 (__longjmp): Restore shadow stack pointer if shadow stack is
15370 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15371 isn't defined for __longjmp_cancel.
15372 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
15373 (_setjmp): Save shadow stack pointer if shadow stack is enabled
15374 and SHADOW_STACK_POINTER_OFFSET is defined.
15375 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
15376 (setjmp): Save shadow stack pointer if shadow stack is enabled
15377 and SHADOW_STACK_POINTER_OFFSET is defined.
15378 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
15379 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15380 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15381 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
15383 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15384 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15385 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
15386 Remove jmp_buf-ssp.sym.
15387 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15389 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15390 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15391 * sysdeps/x86/Makefile (gen-as-const-headers): Add
15393 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
15394 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
15395 (__longjmp): Restore shadow stack pointer if shadow stack is
15396 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15397 isn't defined for __longjmp_cancel.
15398 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
15399 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15400 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15402 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
15405 * nptl/pthread_create.c: Include <tls-setup.h>.
15406 (__pthread_create_2_1): Call tls_setup_tcbhead.
15407 * sysdeps/generic/tls-setup.h: New file.
15408 * sysdeps/x86/nptl/tls-setup.h: Likewise.
15409 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15410 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
15412 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
15414 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15415 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
15416 (X86_FEATURE_1_SHSTK): Likewise.
15417 (CET_ENABLED): Likewise.
15418 (IBT_ENABLED): Likewise.
15419 (SHSTK_ENABLED): Likewise.
15421 2018-07-13 Rafał Lużyński <digitalfreak@lingonborough.com>
15424 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
15425 (LOCALES): Likewise.
15426 * localedata/dsb_DE.UTF-8.in: New file.
15427 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
15429 2018-07-12 Florian Weimer <fweimer@redhat.com>
15431 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
15432 __mprotect, not mprotect.
15434 2018-07-11 Florian Weimer <fweimer@redhat.com>
15436 * io/Makefile (headers): Add bits/statx.h.
15438 2018-07-10 Mike FABIAN <mfabian@redhat.com>
15440 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
15441 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
15443 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
15444 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
15447 2018-07-10 Florian Weimer <fweimer@redhat.com>
15449 * io/Makefile (routines): Add statx.
15450 (tests-internal): Add tst-statx.
15451 * io/Versions (GLIBC_2.28): Export statx.
15452 * io/bits/statx.h: New file.
15453 * io/sys/stat.h [__USE_GNU]: Include it.
15454 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
15455 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
15457 * io/statx.c: New file.
15458 * io/statx_generic.: Likewise.
15459 * io/tst-statx.: Likewise.
15460 * include/bits/statx.h: Likewise.
15461 * sysdeps/unix/sysv/linux/kernel-features.h
15462 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
15463 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15464 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
15465 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
15467 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15468 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
15469 * sysdeps/unix/sysv/linux/statx.c: New file.
15470 * manual/filesys.texi: Note that statx is undocumented.
15471 * sysdeps/**/libc*.abilist: Update.
15473 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15475 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
15476 a kernel issue which lead to test failure in some cases.
15478 2018-07-10 Florian Weimer <fweimer@redhat.com>
15481 * posix/regexec.c (check_node_accept_bytes): When comparing
15482 weights, do not compare an extra byte after the end of the
15485 2018-07-10 Florian Weimer <fweimer@redhat.com>
15487 * libio/readline.c: Fix copyright year.
15488 * libio/tst-readline.c Likewise.
15489 * nss/tst-nss-files-hosts-getent.c: Likewise.
15491 2018-07-06 Florian Weimer <fweimer@redhat.com>
15494 * nss/nss_files/files-XXX.c (internal_getent): Use
15495 __libc_readline_unlocked. Seek back to the start of the line if
15496 parsing failes with ERANGE.
15497 (get_contents_ret, get_contents): Remove.
15498 * nss/tst-nss-files-hosts-getent.c: New file.
15499 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
15500 (tst-nss-files-hosts-getent): Link with -ldl.
15502 2018-07-06 Florian Weimer <fweimer@redhat.com>
15504 * include/stdio.h (__libc_readline_unlocked): Declare.
15505 (__ftello64, __fseeko64): Declare aliases.
15506 * libio/readline.c: New file.
15507 * libio/tst-readline.c: Likewise.
15508 (routines): Add readline.
15509 (tests-internal): Add tst-readlime.
15510 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
15511 __libc_readline_unlocked.
15512 * libio/fseeko.c (__fseeko): Rename from fseeko.
15513 (fseeko): Add alias.
15514 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
15515 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
15516 (fseeko64): Add alias.
15517 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
15518 * libio/ftello64.c (__ftello64): Rename from ftello64.
15519 (ftello64): Add alias.
15521 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15523 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
15526 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15528 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
15529 Use dl_hwcap without masking.
15530 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
15531 Remove HWCAP_CPUID.
15533 2018-07-06 Florian Weimer <fweimer@redhat.com>
15535 * conform/conformtest.pl (checknamespace): Escape literal braces
15536 in regular expressions.
15538 2018-07-06 Amit Pawar <amit.pawar@amd.com>
15540 * sysdeps/x86/cpu-features.c (get_common_indeces):
15541 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
15542 * sysdeps/x86/cpu-features.c (init_cpu_features):
15543 AVX_Fast_Unaligned_Load is disabled for Excavator core.
15545 2018-07-05 Florian Weimer <fweimer@redhat.com>
15547 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
15549 (CFLAGS-elf-init.oS): Likewise.
15551 2018-07-05 Florian Weimer <fweimer@redhat.com>
15552 Carlos O'Donell <carlos@redhat.com>
15554 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
15555 $(no-stack-protector). stack_chk_fail_local.c can be compiled
15556 with stack protector enabled because there is no risk of infinite
15559 2018-07-05 Maciej W. Rozycki <macro@mips.com>
15563 * libc-abis (ABSOLUTE): New ABI.
15564 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
15565 * NEWS: Mention the new ABI.
15567 2018-07-05 Florian Weimer <fweimer@redhat.com>
15570 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
15571 (RENAME_WHITEOUT): Define.
15572 [__USE_GNU] (renameat2): Declare.
15573 * stdio-common/Makefile (routines): Add renameat2.
15574 (tests): Add tst-renameat2.
15575 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
15576 * stdio-common/renameat2.c: New file.
15577 * stdio-common/tst-renameat2.c: Likewise.
15578 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
15579 * manual/filesys.texi (Temporary Files): Note that renameat2 is
15581 * sysdeps/unix/sysv/linux/kernel-features.h
15582 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
15583 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15584 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15585 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15586 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15587 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15588 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
15589 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15590 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
15591 * include/stdio.h (__renameat): Add alias for renameat.
15592 * stdio-common/renameat.c (__renameat): Rename from renameat.
15593 Add hidden definition and alias.
15594 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15595 * sysdeps/mach/hurd/renameat.c: Likewise.
15596 * sysdeps/**/libc*.abilist: Add renameat2.
15598 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15600 * posix/bug-regex33.c: Fix build after regex sync.
15602 2018-07-04 Carlos O'Donell <carlos@redhat.com>
15605 * localedata/tst-langinfo-setlocale.c: New file.
15606 * localedata/tst-langinfo-setlocale-static.c: New file.
15607 * localedata/tst-langinfo-newlocale.c: New file.
15608 * localedata/tst-langinfo-newlocale-static.c: New file.
15609 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
15610 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
15611 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
15612 (tests-static): Remove tst-langinfo-static. Add
15613 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
15614 (tests-special): Remove $(objpfx)tst-langinfo.out,
15615 $(objpfx)tst-langinfo-static.out. Add
15616 $(objpfx)tst-langinfo-setlocale.out,
15617 $(objpfx)tst-langinfo-newlocale.out,
15618 $(objpfx)tst-langinfo-setlocale-static.out,
15619 $(objpfx)tst-langinfo-newlocale-static.out.
15620 ($(objpfx)tst-langinfo.out): Remove.
15621 ($(objpfx)tst-langinfo-static.out): Remove.
15622 ($(objpfx)tst-langinfo-newlocale.out): New target.
15623 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
15624 (test-xfail-tst-langinfo-newlocale-static): Add.
15625 ($(objpfx)tst-langinfo-setlocale.out): New target.
15626 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
15627 * localedata/tst-langinfo.c: Call test_locale.
15628 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
15631 2018-07-04 Florian Weimer <fweimer@redhat.com>
15633 testrun.sh: Implement --tool=strace, --tool=valgrind
15634 * Makefile (testrun-script): Define variable.
15635 (testrun.sh): Use variable.
15636 * manual/install.texi (Tools for Compilation): make 4.0 or later
15638 * configure.ac: Check for make 4.0 or later.
15639 * INSTALL: Regenerate.
15640 * configure: Likewise.
15642 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15648 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
15649 * posix/PCRE.tests: Remove invalid test.
15650 * posix/bug-regex28.c: Fix expected values for used syntax.
15651 * posix/bug-regex37.c: New file.
15652 * posix/bug-regex38.c: Likewise.
15653 * posix/regcomp.c: Sync with gnulib.
15654 * posix/regex.c: Likewise.
15655 * posix/regex.h: Likewise.
15656 * posix/regex_internal.c: Likewise.
15657 * posix/regex_internal.h: Likewise.
15658 * posix/regexec.c: Likewise.
15660 2018-06-26 Mike FABIAN <mfabian@redhat.com>
15663 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
15664 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
15665 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
15666 * localedata/unicode-gen/PropList.txt: likewise.
15667 * localedata/unicode-gen/UnicodeData.txt: likewise.
15668 * localedata/charmaps/UTF-8: Regenerate.
15669 * localedata/locales/i18n_ctype: likewise.
15670 * localedata/locales/tr_TR: likewise.
15671 * localedata/locales/translit_circle: likewise.
15672 * localedata/locales/translit_cjk_compat: likewise.
15673 * localedata/locales/translit_combining: likewise.
15674 * localedata/locales/translit_compat: likewise.
15675 * localedata/locales/translit_font: likewise.
15676 * localedata/locales/translit_fraction: likewise.
15678 2018-07-03 Florian Weimer <fweimer@redhat.com>
15681 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
15682 * stdio-common/tst-printf.sh: Adjust expected output.
15683 * LICENSES: Update.
15685 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15687 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
15690 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15692 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
15693 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
15694 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
15695 * stdio-common/tst-printfsz-islongdouble.c: New file.
15696 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
15697 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
15698 [subdir == stdio-common] (routines): Add ieee128-printf_size.
15699 [subdir == stdio-common] (tests-internal): Add
15700 test-printf-size-ieee128, and test-printf-size-ibm128.
15701 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
15702 (CFLAGS-test-printf-size-ibm128.c): New variables.
15703 [subdir == stdio-common] (tests-special): Add
15704 $(objpfx)test-printf-size-ieee128.out and
15705 $(objpfx)test-printf-size-ibm128.out.
15706 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
15707 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
15708 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
15709 __printf_sizeieee128.
15710 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
15712 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
15714 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
15717 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
15719 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
15720 (exp2f_inline): Likewise.
15721 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
15722 (__math_uflowf): Likewise.
15723 (__math_may_uflowf): Likewise.
15724 (__math_divzerof): Likewise.
15725 (__math_invalidf): Likewise.
15726 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
15727 (__math_oflowf): Likewise.
15728 (__math_uflowf): Likewise.
15729 (__math_may_uflowf): Likewise.
15730 (__math_divzerof): Likewise.
15731 (__math_invalidf): Likewise.
15733 2018-06-29 DJ Delorie <dj@redhat.com>
15734 Carlos O'Donell <carlos@redhat.com>
15737 * include/libc-symbols.h: Comment the freeres framework.
15738 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
15739 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
15740 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
15741 * dlfcn/dlerror.c: Include libc-symbols.h
15742 (__dlerror_main_freeres): New function.
15743 * dlfcn/dlfreeres.c: New file.
15744 * dlfcn/sdlfreeres.c: New file.
15745 * include/dlfcn.h: Declare __dlerror_main_freeres.
15746 * malloc/set-freeres.c: Declare __libdl_freeres, and
15747 __libpthread_freeres.
15748 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
15749 the releavant libraries are loaded.
15750 * malloc/thread-freeres.c: Add comments.
15751 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
15752 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
15753 * nptl/allocatestack.c (__nptl_free_stacks): New function.
15754 (__free_stacks): Rename to...
15755 (free_stacks): ...this. Mark static.
15756 (queue_stack): Call free_stacks.
15757 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
15758 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
15759 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
15760 ptr_freeres element from struct.
15761 (pthread_functions): Remove .ptr_freeres from struct initializer.
15762 [SHARED] (nptl_freeres): Remove.
15763 * nptl/nptlfreeres.c: New file.
15765 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
15766 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
15768 (__free_stacks): Rename to...
15769 (__nptl_stacks_freeres): ...this.
15770 (__shm_directory_freeres): Declare.
15771 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
15772 (__nptl_unwind_freeres): ...this.
15773 * resolv/res-close.c: Add comment.
15774 * resolv/resolv_conf.c: Include libc-symbols.h.
15775 * string/strerror_l.c: Include libc-symbols.h.
15776 * sunrpc/rpc_thread.c: Include libc-symbols.h.
15777 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
15778 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
15779 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
15781 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15783 * stdlib/tst-strfmon_l.c: Add tests for long double.
15785 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
15788 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
15789 * localedata/locales/dsb_DE: New file.
15791 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15794 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
15796 (alt_mon): New entry, import from CLDR (nominative case).
15798 2018-06-29 Sylvain Lesage <severo@rednegra.net>
15801 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
15803 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
15805 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15806 Use vector registers.
15808 * sysdeps/aarch64/multiarch/memmove_falkor.S
15809 (__memcpy_falkor): Use vector registers.
15811 2018-06-29 Martin Sebor <msebor@redhat.com>
15813 * manual/stdio.texi (Customizing Printf): Mention interaction
15814 with GCC built-ins.
15816 2018-06-29 Maciej W. Rozycki <macro@mips.com>
15819 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
15820 `st_value' is 0 if `st_shndx' is SHN_ABS.
15821 * elf/tst-absolute-zero.c: New file.
15822 * elf/tst-absolute-zero-lib.c: New file.
15823 * elf/tst-absolute-zero-lib.lds: New file.
15824 * elf/Makefile (tests): Add `tst-absolute-zero'.
15825 (modules-names): Add `tst-absolute-zero-lib'.
15826 (LDLIBS-tst-absolute-zero-lib.so): New variable.
15827 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
15828 ($(objpfx)tst-absolute-zero: New dependency.
15830 2018-06-29 Zack Weinberg <zackw@panix.com>
15832 * configure.ac: New command-line option --disable-crypt.
15833 Force --disable-nss-crypt when --disable-crypt is given, with a
15834 warning if it was explicitly enabled.
15835 * configure: Regenerate.
15836 * config.make.in: New boolean substitution variable $(build-crypt).
15837 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
15838 when $(build-crypt).
15839 * manual/install.texi: Document --disable-crypt.
15840 * INSTALL: Regenerate.
15842 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
15843 which is never set.
15844 * conform/Makefile: Only include libcrypt.a in
15845 linknamespace-libs-xsi and linknamespace-libs-XPG4
15846 when $(build-crypt).
15847 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
15848 USE_CRYPT to 1 when $(build-crypt).
15849 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
15850 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
15851 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
15853 2018-06-29 Zack Weinberg <zackw@panix.com>
15855 * crypt/crypt.h, posix/unistd.h: Update comments and
15856 prototypes for crypt and crypt_r.
15858 * manual/crypt.texi (Cryptographic Functions): New initial
15860 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
15861 (Unpredictable Bytes): Improve initial exposition. Clarify error
15862 behavior of getentropy and getrandom.
15863 * manual/examples/genpass.c: Generate a salt using getentropy
15864 instead of the current time. Use hash $5$ (SHA-2-256).
15865 * manual/examples/testpass.c: Demonstrate validation against
15866 hashes generated with three different one-way functions.
15868 * manual/intro.texi: crypt.texi does not need an overview
15871 * manual/nss.texi, manual/memory.texi, manual/socket.texi
15872 * manual/terminal.texi: Consistently refer to "passphrases"
15873 * instead of "passwords", and to the "user database" instead
15874 * of the "password database".
15875 * manual/users.texi: Similarly. Add notes about how actual
15876 passphrase hashes are now stored in the shadow database.
15877 Remove 20-year-old junk todo note.
15879 2018-06-29 Zack Weinberg <zackw@panix.com>
15881 * manual/crypt.texi: Use a normal top-level @node declaration.
15882 Move most of the introductory text to the 'crypt' section.
15883 Move the example programs below the @deftypefun for 'crypt_r'.
15884 Move the 'getpass' section...
15885 * manual/terminal.texi: ...here.
15887 2018-06-29 Zack Weinberg <zackw@panix.com>
15888 Florian Weimer <fweimer@redhat.com>
15890 * posix/unistd.h: Do not declare encrypt.
15891 (_XOPEN_CRYPT): Remove macro definition.
15892 (crypt): Declare only for _USE_MISC.
15893 * stdlib/stdlib.h: Do not declare setkey.
15894 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
15895 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
15897 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
15898 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
15899 into compat symbols. Don't define initial_perm if it's not
15901 * crypt/cert.c: Link explicitly with the expected versions for
15902 setkey and encrypt. If they are not available at all, mark
15903 the test as unsupported.
15905 * sunrpc/des_crypt.c: Unconditionally block linkage with
15906 cbc_crypt and ecb_crypt for new binaries.
15907 * sunrpc/des_soft.c: Unconditionally block linkage with
15908 des_setparity for new binaries.
15910 * manual/crypt.texi: Remove the entire "DES Encryption"
15911 section. Also remove the paragraph talking about FIPS 140-2
15912 from the introduction.
15913 * manual/string.texi (strfry, memfrob): Revise. Recommend use
15914 of libgcrypt for "real" encryption, not DES.
15915 * manual/conf.texi (Constants for Sysconf): Mention that
15916 _XOPEN_CRYPT is no longer impelemented.
15918 * conform/data/unistd.h-data: Remove crypt function declaration.
15920 2018-06-29 Florian Weimer <fweimer@redhat.com>
15923 * malloc/hooks.c: Update comments on restoring of dumped heaps.
15924 (disallow_malloc_check): Remove variable.
15925 (__malloc_check_init): Adjust.
15926 (malloc_set_state): Update comment.
15927 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
15930 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15933 * localedata/locales/ast_ES (mon): Rename to...
15935 (mon): Import from CLDR (genitive case).
15937 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
15938 Jakub Sitnicki <jkbs@redhat.com>
15941 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
15942 on NLM_F_DUMP_INTR.
15944 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
15946 * manual/llio.texi: Remove spurious space.
15948 2018-06-28 Florian Weimer <fweimer@redhat.com>
15951 * time/bits/types/struct_timespec.h: Change header inclusion guard to
15954 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15956 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
15957 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
15958 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
15959 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
15960 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
15961 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
15962 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
15964 2018-06-27 Maciej W. Rozycki <macro@mips.com>
15967 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
15968 Copy and null-terminate entries that are not terminated, in
15969 addition to empty ones.
15971 2018-06-27 Florian Weimer <fweimer@redhat.com>
15974 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
15975 (extend_alloca_account): Remove.
15976 * manual/stdio.texi (Variable Arguments Output): Update comment.
15978 2018-06-27 Joseph Myers <joseph@codesourcery.com>
15980 * nptl/sockperf.c: Remove file.
15982 2018-06-27 Florian Weimer <fweimer@redhat.com>
15985 * elf/dl-deps.c (_dl_map_object_deps): Use struct
15986 scratch_buffer instead of extend_alloca.
15988 2018-06-27 Florian Weimer <fweimer@redhat.com>
15991 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
15992 scratch_buffer instead of extend_alloca. Update comments.
15994 2018-06-27 Florian Weimer <fweimer@redhat.com>
15997 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
15998 instead of extend_alloca.
16000 2018-06-26 Joseph Myers <joseph@codesourcery.com>
16003 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
16004 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
16006 * scripts/test-installation.pl: Put temporary files in build
16007 directory, not /tmp.
16008 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
16009 (CFLAGS-bug4.c): Likewise.
16010 (CFLAGS-bug5.c): Likewise.
16011 (CFLAGS-test-fseek.c): Likewise.
16012 (CFLAGS-test-popen.c): Likewise.
16013 (CFLAGS-test_rdwr.c): Likewise.
16014 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
16016 * stdio-common/bug4.c (main): Likewise.
16017 * stdio-common/bug5.c (main): Likewise.
16018 * stdio-common/test-fseek.c (TESTFILE): Likewise.
16019 * stdio-common/test-popen.c (do_test): Likewise.
16020 * stdio-common/test_rdwr.c (main): Likewise.
16022 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
16024 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
16025 (sem_open): Set sem.newsem.pad to zero for valgrind.
16027 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16030 * NEWS: Mention fcntl64 addition.
16031 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
16032 * login/utmp_file.c: Likewise.
16033 * sysdeps/posix/fdopendir.c: Likewise.
16034 * sysdeps/posix/opendir.c: Likewise.
16035 * sysdeps/unix/pt-fcntl.c: Likewise.
16036 * include/fcntl.h (__libc_fcntl64, __fcntl64,
16037 __fcntl64_nocancel_adjusted): New prototype.
16038 (__fcntl_nocancel_adjusted): Remove prototype.
16039 * io/Makefile (routines): Add fcntl64.
16040 (CFLAGS-fcntl64.c): New rule.
16041 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
16042 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
16043 * io/fcntl.h (fcntl64): Add prototype and redirect if
16044 __USE_FILE_OFFSET64 is defined.
16045 * io/fcntl64.c: New file.
16046 * manual/llio.text: Add a note for which commands fcntl acts a
16047 cancellation point.
16048 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
16049 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
16050 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
16052 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
16053 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
16055 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
16056 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
16057 to __fcntl64_nocancel.
16058 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
16059 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
16060 to __fcntl64_nocancel.
16061 * sysdeps/generic/not-cancel.h: Likewise.
16062 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
16063 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
16064 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
16065 (fcntl64): New symbol.
16066 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16067 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16068 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16071 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16072 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16073 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16074 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16075 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16076 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
16077 fcntl64): Likewise.
16078 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16079 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
16080 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16081 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16082 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16083 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16084 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16085 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16086 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16091 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16092 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16093 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16095 2018-06-26 Florian Weimer <fweimer@redhat.com>
16097 Run thread shutdown functions in an explicit order.
16098 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
16100 (__libc_thread_freeres): Call thread shutdown functions
16102 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
16103 * include/string.h (__strerror_thread_freeres): Declare.
16104 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
16105 arena_thread_freeres. No longer static. Remove thread shutdown
16107 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
16109 * resolv/res-close.c (__res_thread_freeres): Renamed from
16110 res_thread_freeres. No longer static. Remove thread shutdown
16112 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
16113 * resolv/resolv_conf.c (freeres): Remove incorrect section
16114 attribute and use libc_freeres_fn.
16115 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
16116 strerror_thread_freeres. No longer static. Remove thread
16117 shutdown hook registration.
16118 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
16119 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
16120 shutdown hook registration.
16121 * Makerules (shlib.lds): Do not provide section boundary symbols
16122 for __libc_thread_subfreeres.
16123 * manual/memory.texi (Basic Allocation): Update comment.
16125 2018-06-26 Florian Weimer <fweimer@redhat.com>
16127 Remove always-defined _RPC_THREAD_SAFE_ macro.
16128 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
16129 Do not define _RPC_THREAD_SAFE_.
16130 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
16132 * sunrpc/clnt_perr.c: Likewise.
16133 * sunrpc/clnt_raw.c: Likewise.
16134 * sunrpc/clnt_simp.c: Likewise.
16135 * sunrpc/key_call.c: Likewise.
16136 * sunrpc/rpc_common.c: Likewise.
16137 * sunrpc/rpc_main.c: Likewise.
16138 * sunrpc/rpc_thread.c: Likewise.
16139 * sunrpc/svc.c: Likewise.
16140 * sunrpc/svc_raw.c: Likewise.
16141 * sunrpc/svc_simple.c: Likewise.
16142 * sumrpc/svcauth_des.c: Likewise.
16144 2018-06-26 Florian Weimer <fweimer@redhat.com>
16146 * libio/Makefile (tests-internal): Add tst-vtables,
16147 tst-vtables-interposed.
16148 * libio/tst-vtables.c: New file.
16149 * libio/tst-vtables-common.c: Likewise.
16150 * libio/tst-vtables-interposed.c: Likewise.
16152 2018-06-26 Florian Weimer <fweimer@redhat.com>
16154 * support/support_test_main.c (support_test_main): Only call
16155 setvbuf if not disables.
16156 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
16157 * support/test-driver.h (struct test_config): Add no_setvbuf member.
16159 2018-06-26 Florian Weimer <fweimer@redhat.com>
16162 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
16164 2018-06-25 Florian Weimer <fweimer@redhat.com>
16167 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16168 Use struct scratch_buffer instead of extend_alloca.
16170 2018-06-25 Florian Weimer <fweimer@redhat.com>
16173 * nss/getent.c (initgroups_keys): Use dynarray instead of
16176 2018-06-25 Florian Weimer <fweimer@redhat.com>
16179 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
16180 Use struct scratch_buffer instead of extend_alloca.
16182 2018-06-25 Florian Weimer <fweimer@redhat.com>
16185 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
16186 back to malloc directly, without stack allocations.
16188 2018-06-25 Florian Weimer <fweimer@redhat.com>
16191 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
16194 2018-06-25 Florian Weimer <fweimer@redhat.com>
16197 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
16199 * nscd/hstcache.c (addhstbyX): Likewise.
16200 * nscd/pwdcache.c (addpwbyX): Likewise.
16201 * nscd/servicescache.c (addservbyX): Likewise.
16203 2018-06-25 Florian Weimer <fweimer@redhat.com>
16206 * nscd/connections.c (read_cmdline): New function.
16207 (restart): Use it. Update comment.
16209 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
16212 * localedata/locales/csb_PL (mon): Rename to...
16214 (abmon): Rename to...
16215 (ab_alt_mon): This.
16216 (mon): Add with proper genitive forms, copy from Wikipedia.
16219 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
16222 * localedata/locales/csb_PL (mon): Fix typos:
16223 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
16224 (yesstr): Add, value is "jo".
16225 (nostr): Add, value is "nié".
16227 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16229 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
16230 all log1p and significand functions on m680x0.
16231 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
16232 of s_significand.c..
16233 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16234 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
16235 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
16236 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
16237 s_log1p.c and include it..
16239 2018-06-21 Vincent Chen <vincentc@andestech.com>
16241 * elf/elf.h (R_NDS32_NONE): New define.
16242 (R_NDS32_32_RELA): Likewise.
16243 (R_NDS32_COPY): Likewise.
16244 (R_NDS32_GLOB_DAT): Likewise.
16245 (R_NDS32_JUMP_SLOT): Likewise.
16246 (R_NDS32_RELATIVE): Likewise.
16247 (R_NDS32_TLS_TPOFF): Likewise.
16248 (R_NDS32_TLS_DESC): Likewise.
16250 2018-06-21 Mark Wielaard <mark@klomp.org>
16252 * elf/elf.h (R_BPF_MAP_FD): Removed.
16253 (R_BPF_64_64, R_BPF_64_32): New.
16255 2018-06-21 Florian Weimer <fweimer@redhat.com>
16258 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
16259 Renamed from libc_feholdsetround_ctx.
16260 (default_libc_feresetround_ctx): Renamed from
16261 libc_feresetround_ctx.
16262 (default_libc_feholdsetround_noex_ctx): Renamed from
16263 libc_feholdsetround_noex_ctx.
16264 (default_libc_feresetround_noex_ctx): Renamed from
16265 libc_feresetround_noex_ctx.
16266 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
16267 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
16268 forwardning to the old implementations under the new names.
16269 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
16270 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
16271 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
16272 (libc_feresetround_ctx): Forward to default implements for i386
16273 and MATH_SET_BOTH_ROUNDING_MODES.
16274 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
16275 Add -DMATH_SET_BOTH_ROUNDING_MODES.
16277 2018-06-20 Joseph Myers <joseph@codesourcery.com>
16279 * string/tst-cmp.c: Include <libc-diag.h>.
16280 (strncmp_max): Disable -Wstringop-overflow= around call to
16282 (strncasecmp_max): Disable -Wstringop-overflow= around call to
16285 * string/bug-strpbrk1.c: Include <libc-diag.h>.
16286 (main): Disable -Wunused-value around call to strpbrk.
16287 * string/bug-strspn1.c: Include <libc-diag.h>.
16288 (main): Disable -Wunused-value around call to strspn.
16290 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16291 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16293 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
16294 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
16296 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16298 * math/Makefile (libm-calls): Move s_significandF to...
16299 (gen-libm-calls): ... here.
16300 * math/s_significand_template.c: New file.
16301 * math/s_significand.c: Removed.
16302 * math/s_significandf.c: Removed.
16303 * math/s_significandl.c: Removed.
16304 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
16305 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
16307 * math/e_exp2_template.c (declare_mgen_finite_alias,
16308 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
16309 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
16310 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
16312 2018-06-20 Florian Weimer <fweimer@redhat.com>
16314 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
16316 2018-06-19 Joseph Myers <joseph@codesourcery.com>
16319 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
16320 floating-point number to strtod functions rather than possibly
16321 negating result of those functions.
16322 * stdio-common/tst-scanf-round.c: New file.
16323 * stdio-common/Makefile (tests): Add tst-scanf-round.
16324 ($(objpfx)tst-scanf-round): Depend on $(libm).
16326 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16328 * sysdeps/mach/hurd/localplt.data: Move to...
16329 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
16330 R_386_GLOB_DAT like on Linux i386.
16332 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16334 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
16335 (SHM_STAT_ANY): New macro.
16336 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
16337 (SHM_STAT_ANY): Likewise.
16338 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
16339 (SHM_STAT_ANY): Likewise.
16340 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
16341 (SHM_STAT_ANY): Likewise.
16342 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
16343 (SHM_STAT_ANY): Likewise.
16344 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
16345 (SHM_STAT_ANY): Likewise.
16346 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
16347 (SHM_STAT_ANY): Likewise.
16348 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
16349 (SHM_STAT_ANY): Likewise.
16350 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
16351 (SHM_STAT_ANY): Likewise.
16352 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
16353 (SHM_STAT_ANY): Likewise.
16354 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
16355 (SHM_STAT_ANY): Likewise.
16356 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
16357 (SHM_STAT_ANY): Likewise.
16359 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
16360 (SEM_STAT_ANY): New macro.
16361 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
16362 (SEM_STAT_ANY): Likewise.
16363 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
16364 (SEM_STAT_ANY): Likewise.
16365 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
16366 (SEM_STAT_ANY): Likewise.
16367 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
16368 (SEM_STAT_ANY): Likewise.
16369 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
16370 (SEM_STAT_ANY): Likewise.
16371 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
16372 (SEM_STAT_ANY): Likewise.
16373 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
16374 (SEM_STAT_ANY): Likewise.
16375 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
16376 (SEM_STAT_ANY): Likewise.
16377 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
16378 (SEM_STAT_ANY): Likewise.
16380 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
16381 (MSG_STAT_ANY): New macro.
16382 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
16383 (MSG_STAT_ANY): Likewise.
16384 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
16385 (MSG_STAT_ANY): Likewise.
16386 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
16387 (MSG_STAT_ANY): Likewise.
16388 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
16389 (MSG_STAT_ANY): Likewise.
16390 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
16391 (MSG_STAT_ANY): Likewise.
16392 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
16393 (MSG_STAT_ANY): Likewise.
16394 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
16395 (MSG_STAT_ANY): Likewise.
16396 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
16397 (MSG_STAT_ANY): Likewise.
16398 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
16399 (MSG_STAT_ANY): Likewise.
16401 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16402 (MAP_TYPE): Change value to 0x2b.
16404 2018-06-18 Florian Weimer <fweimer@redhat.com>
16407 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
16408 socket with SOCK_CLOEXEC.
16410 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16413 * sysdeps/powerpc/powerpc64/le/Makefile
16414 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
16415 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
16416 (gnulib-tests): Also add $(f128-loader-link) for
16417 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
16419 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
16421 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
16422 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
16424 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
16425 (sendfile64): New strong alias.
16426 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
16427 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
16428 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
16429 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
16431 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
16432 ___pthread_get_cleanup_stack.
16433 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
16434 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
16435 * mach/shortcut.awk: Make syscall stubs include
16436 <mach-shortcuts-hidden.h> and add hidden definition.
16437 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
16438 (__mach_msg): Add hidden prototype.
16439 * mach/msg.c: Include <mach.h>.
16440 (__mach_msg): Add hidden definition.
16441 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
16442 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
16443 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
16444 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
16445 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
16446 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
16447 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
16448 prototype and definition.
16449 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
16450 hidden target for _hurd_self_sigstate.
16452 2018-06-15 Joseph Myers <joseph@codesourcery.com>
16455 * stdlib/tst-strtod-nan-sign-main.c: New file.
16456 * stdlib/tst-strtod-nan-sign.c: Likewise.
16457 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
16458 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
16459 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
16460 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
16461 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
16463 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
16466 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
16469 2018-06-14 Florian Weimer <fweimer@redhat.com>
16472 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
16473 that the result stays within the ISO-8859-1 range.
16474 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
16475 characters are defined in IBM273.
16477 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
16479 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
16480 __mach_task_self): Remove attribute_hidden.
16482 2018-06-14 Joseph Myers <joseph@codesourcery.com>
16484 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
16485 ignore -Wrestrict for one test.
16487 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
16488 Szabolcs Nagy <szabolcs.nagy@arm.com>
16490 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
16492 2018-06-14 Florian Weimer <fweimer@redhat.com>
16494 * scripts/update-abilist.sh: Accept empty list of files to patch.
16496 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
16498 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
16499 test-xfail-check-abi-libmachuser): Add.
16500 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
16501 __libc_read and __libc_write to __read and __write.
16502 * sysdeps/hurd/include/hurd/port.h: New file.
16503 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
16504 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
16505 __thread_switch, __evc_wait): Move declarations to...
16506 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
16508 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
16509 use PLT to call _hurd_self_sigstate.
16511 2018-06-13 Joseph Myers <joseph@codesourcery.com>
16514 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
16515 MAX_EXP as overflowing.
16516 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
16518 (round_str): Output also whether result overflows in each rounding
16520 * stdlib/tst-strtod-round-data: Add more tests.
16521 * stdlib/tst-strtod-round-data.h: Regenerated.
16522 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
16523 (TEST): Handle extra arguments for overflow flags.
16524 (struct test_overflow): New type.
16525 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
16526 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
16527 (test_in_one_mode): Take argument with overflow information.
16528 (do_test): Update calls to test_in_one_mode.
16530 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16532 * elf/dl-load (_dl_dst_substitute): Correct comment.
16533 (_dl_dst_count): Likewise.
16535 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
16536 lll_futex_timed_wait.
16538 2018-06-12 Joseph Myers <joseph@codesourcery.com>
16541 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
16543 * math/test-nan-const.c: New file.
16544 * math/Makefile (tests): Add test-nan-const.
16545 (CFLAGS-test-nan-const.c): New variable.
16547 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16549 * benchtests/scripts/compare_strings.py (process_results): Add
16550 funcs argument. Compare only functions which are selected.
16551 (main): Check if base function is among selected functions.
16552 Pass selected functions to process_results.
16553 (__main__): Add -f/--functions argument.
16555 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
16556 Hongbo Zhang <hongbo.zhang@linaro.org>
16558 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
16559 __memcpy_falkor for phecda core.
16560 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
16561 __memmove_falkor for phecda core.
16562 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
16563 __memset_falkor for phecda core.
16564 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
16566 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
16567 macro to identify phecda core.
16569 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16570 Andreas Schwab <schwab@suse.de>
16571 Dmitry V. Levin <ldv@altlinux.org>
16572 Florian Weimer <fweimer@redhat.com>
16579 * elf/dl-dst.h: Remove DL_DST_COUNT.
16580 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
16581 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
16582 (is_dst): Comment. Support ELF gABI.
16583 (_dl_dst_count): Comment. Simplify and count DSTs.
16584 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
16585 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
16588 2018-06-12 Zack Weinberg <zackw@panix.com>
16590 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
16591 * sysdeps/unix/sysv/linux/dl-sysdep.c
16592 Include not-cancel.h. Use __close_nocancel instead of __close,
16593 __open64_nocancel instead of __open, __read_nocancel instead of
16594 __libc_read, and __write_nocancel instead of __libc_write.
16596 * csu/check_fds.c (check_one_fd)
16597 * sysdeps/posix/fdopendir.c (__fdopendir)
16598 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
16599 instead of __fcntl and/or __libc_fcntl.
16601 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
16602 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
16603 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
16604 Use __open64_nocancel instead of __open_nocancel.
16606 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
16607 hidden_proto declarations to the end and issue them if either
16608 IS_IN(libc) or IS_IN(rtld).
16609 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
16610 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
16611 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
16612 read_nocancel, waitpid_nocancel, write_nocancel.
16614 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
16615 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
16616 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
16618 * nptl/pt-fcntl.c: New file.
16619 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
16620 (libpthread-routines): Add pt-fcntl.
16621 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
16622 (__libc_fcntl): Remove attribute_hidden.
16623 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
16624 __fcntl_nocancel_adjusted, not fcntl_common.
16625 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
16626 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
16627 to fcntl_nocancel.c.
16628 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
16629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
16630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16631 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
16633 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
16634 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
16635 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
16636 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
16637 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
16638 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
16639 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
16640 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
16641 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
16642 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
16643 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
16644 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
16645 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
16646 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
16647 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
16648 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
16649 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
16650 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
16651 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
16652 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
16654 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
16655 libpthread-routines.
16656 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
16659 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
16660 __libc_read, and __write instead of __libc_write. Define
16661 __open64 in addition to __open.
16663 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16667 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
16668 to _private_tm[3] and add __glibc_reserved2.
16669 Add _Static_assert of offset of __private_ss == 0x30.
16670 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
16671 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
16673 2018-06-12 Florian Weimer <fweimer@redhat.com>
16675 x86: Make strncmp usable from rtld.
16676 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
16677 __strncmp_ia32 if in libc (and not in rtld).
16678 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
16679 strncmp if not in libc (and not to __strncmp_sse2).
16681 2018-06-12 Rafał Lużyński <digitalfreak@lingonborough.com>
16684 * localedata/locales/gd_GB (mon): Rename to...
16686 (mon): Import from CLDR (genitive case).
16687 * localedata/locales/hsb_DE (mon): Rename to...
16689 (mon): Import from CLDR (genitive case).
16690 * localedata/locales/wa_BE (mon): Rename to...
16692 (mon): Add, fill with the proper genitive forms, but CLDR data
16693 is incomplete; completed according to the comments in this file.
16694 (d_t_fmt): Do not use "di" before the month name, no longer needed.
16696 * localedata/locales/wa_BE (country_name): Reword
16697 "Beljike" -> "Beldjike".
16699 2018-06-11 Joseph Myers <joseph@codesourcery.com>
16702 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
16703 cases of non-finite arguments.
16704 * math/libm-test-fma.inc (fma_test_data): Add more tests.
16706 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
16709 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
16711 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16714 * include/unistd.h (__execvpex): New prototype.
16715 * posix/Makefile (tests): Add tst-spawn4.
16716 (tests-internal): Add tst-spawn4-compat.
16717 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
16718 * posix/tst-spawn4-compat.c: New file.
16719 * posix/tst-spawn4.c: Likewise.
16720 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
16721 binaries as shell scripts.
16722 * sysdeps/posix/spawni.c (__spawni): Likewise.
16724 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
16727 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
16728 ($(all-built-dso:=.dynsym): New target.
16729 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
16730 ($(objpfx)check-initfini.out): New target.
16731 (generated): Add check-initfini.out.
16732 * scripts/check-initfini.awk: New file.
16733 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
16735 * sysdeps/alpha/crti.S (_init): Mark as hidden.
16737 * sysdeps/arm/crti.S (_init): Mark as hidden.
16739 * sysdeps/hppa/crti.S (_init): Mark as hidden.
16741 * sysdeps/i386/crti.S (_init): Mark as hidden.
16743 * sysdeps/ia64/crti.S (_init): Mark as hidden.
16745 * sysdeps/m68k/crti.S (_init): Mark as hidden.
16747 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
16749 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
16751 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
16753 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
16755 * sysdeps/nios2/crti.S (_init): Mark as hidden.
16757 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
16759 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
16761 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
16763 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
16765 * sysdeps/sh/crti.S (_init): Mark as hidden.
16767 * sysdeps/sparc/crti.S (_init): Mark as hidden.
16769 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
16772 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16774 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
16775 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
16776 and TF redirection to KFtype and KF only when the default
16777 long double type is not the IEEE 128-bit floating point type.
16779 2018-06-05 Joseph Myers <joseph@codesourcery.com>
16781 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
16783 (HWCAP_USCAT): Likewise.
16784 (HWCAP_ILRCPC): Likewise.
16785 (HWCAP_FLAGM): Likewise.
16786 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16788 (_dl_aarch64_cap_flags): Add new flag names.
16790 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16791 (MAP_FIXED_NOREPLACE): New macro.
16792 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
16793 (MAP_FIXED_NOREPLACE): Likewise.
16794 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
16795 (MAP_FIXED_NOREPLACE): Likewise.
16796 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16797 (MAP_FIXED_NOREPLACE): Likewise.
16798 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16799 (MAP_FIXED_NOREPLACE): Likewise.
16800 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16801 (MAP_FIXED_NOREPLACE): Likewise.
16802 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16803 (MAP_FIXED_NOREPLACE): Likewise.
16804 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
16805 (MAP_FIXED_NOREPLACE): Likewise.
16806 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16807 (MAP_FIXED_NOREPLACE): Likewise.
16808 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
16809 (MAP_FIXED_NOREPLACE): Likewise.
16810 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16811 (MAP_FIXED_NOREPLACE): Likewise.
16812 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16813 (MAP_FIXED_NOREPLACE): Likewise.
16814 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
16815 (MAP_FIXED_NOREPLACE): Likewise.
16816 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
16817 (MAP_FIXED_NOREPLACE): Likewise.
16818 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
16819 (MAP_FIXED_NOREPLACE): Likewise.
16821 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16824 2018-06-04 Joseph Myers <joseph@codesourcery.com>
16826 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16829 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16831 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
16833 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
16835 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16837 * benchtests/scripts/compare_string.py: (process_results) Catch
16838 exception in non-existent base_func and catch exception in
16839 non-existent attribute.
16840 (parse_file) Catch exception if input file does not exist.
16842 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16844 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
16845 options to avoid diff calculation and omit header, respectively.
16846 (main): process --no-diff and --no-header
16848 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16849 H.J. Lu <hongjiu.lu@intel.com>
16851 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16852 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
16854 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16855 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
16856 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
16857 and __wcsncmp_sse2.
16858 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
16859 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
16860 AVX unaligned load is fast and vzeroupper is preferred.
16861 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
16862 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
16863 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
16864 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
16865 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
16866 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
16867 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
16868 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
16869 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
16870 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
16873 2018-06-01 Florian Weimer <fweimer@redhat.com>
16875 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
16876 configuring with --disable-multi-arch, building with
16877 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
16880 2018-06-01 Florian Weimer <fweimer@redhat.com>
16882 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
16883 results from building with “-march=x86-64 -mtune=generic
16884 -mfpmath=sse” and running on a Haswell-era CPU.
16886 2018-06-01 Joseph Myers <joseph@codesourcery.com>
16889 * soft-fp/sqrttf2.c: Remove file.
16890 * soft-fp/sqrtdf2.c: Move to ....
16891 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
16893 (__sqrtdf2): Make conditional on
16894 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16896 * soft-fp/sqrtsf2.c: Move to ....
16897 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
16899 (__sqrtsf2): Make conditional on
16900 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16902 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
16903 (gcc-double-routines): Remove sqrtdf2.
16904 (gcc-quad-routines): Remove sqrttf2.
16905 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16906 Do not filter out sqrtsf2 and sqrtdf2.
16907 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16908 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
16910 2018-06-01 Florian Weimer <fweimer@redhat.com>
16912 * sysdeps/generic/libcidn.abilist: Remove file.
16914 2018-06-01 Florian Weimer <fweimer@redhat.com>
16917 * libio/strfile.h (struct _IO_str_fields): Rename members to
16918 discourage their use and add comment.
16919 (_IO_STR_DYNAMIC): Remove unused macro.
16920 * libio/strops.c (_IO_str_init_static_internal): Do not use
16921 callback pointers. Call malloc and free.
16922 (_IO_str_overflow): Do not use callback pointers. Call malloc
16924 (enlarge_userbuf): Likewise.
16925 (_IO_str_finish): Call free.
16926 * libio/wstrops.c (_IO_wstr_init_static): Initialize
16927 _allocate_buffer_unused.
16928 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
16930 (enlarge_userbuf): Likewise.
16931 (_IO_wstr_finish): Call free.
16932 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
16933 _allocate_buffer_unused, _free_buffer_unused.
16934 * libio/memstream.c (__open_memstream): Likewise.
16935 * libio/vasprintf.c (_IO_vasprintf): Likewise.
16936 * libio/wmemstream.c (open_wmemstream): Likewise.
16938 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
16940 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
16943 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16945 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
16946 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
16947 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
16949 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
16951 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
16953 2018-05-29 Florian Weimer <fweimer@redhat.com>
16955 * support/Makefile (libsupport-routines): Add
16956 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
16957 xpthread_barrierattr_setpshared.
16958 * support/xpthread_barrierattr_destroy.c: New file.
16959 * support/xpthread_barrierattr_init.c: Likewise.
16960 * support/xpthread_barrierattr_setpshared.c: Likewise.
16962 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
16965 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
16966 _r_debug and update DT_DEBUG for debugger.
16968 2018-05-29 Florian Weimer <fweimer@redhat.com>
16970 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
16971 (tst-strtod5i.out): Likewise.
16973 2018-05-25 Joseph Myers <joseph@codesourcery.com>
16975 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
16976 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
16977 (sparc64-quad-routines): New variable. Moved from ....
16978 [$(subdir) = soft-fp] (sysdep_routines): Add
16979 $(sparc64-quad-routines). Moved from ....
16980 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
16981 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
16982 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
16984 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
16985 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
16986 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
16987 * sysdeps/sparc/sparc64/qp_add.c: ... here.
16988 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
16989 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
16990 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
16991 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
16992 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
16993 * sysdeps/sparc/sparc64/qp_div.c: ... here.
16994 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
16995 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
16996 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
16997 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
16998 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
16999 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
17000 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
17001 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
17002 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
17003 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
17004 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
17005 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
17006 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
17007 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
17008 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
17009 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
17010 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
17011 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
17012 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
17013 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
17014 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
17015 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
17016 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
17017 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
17018 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
17019 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
17020 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
17021 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
17022 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
17023 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
17024 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
17025 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
17026 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
17027 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
17028 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
17029 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
17030 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
17031 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
17032 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
17033 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
17034 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
17035 * sysdeps/sparc/sparc64/qp_util.c: ... here.
17036 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
17037 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
17038 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
17039 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
17040 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
17041 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
17043 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
17044 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
17045 (sparc32-quad-routines): New variable. Moved from ....
17046 [$(subdir) = soft-fp] (sysdep_routines): Add
17047 $(sparc32-quad-routines). Moved from ....
17048 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
17049 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
17051 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
17052 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
17053 * sysdeps/sparc/sparc32/q_add.c: ... here.
17054 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
17055 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
17056 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
17057 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
17058 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
17059 * sysdeps/sparc/sparc32/q_div.c: ... here.
17060 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
17061 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
17062 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
17063 * sysdeps/sparc/sparc32/q_feq.c: ... here.
17064 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
17065 * sysdeps/sparc/sparc32/q_fge.c: ... here.
17066 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
17067 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
17068 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
17069 * sysdeps/sparc/sparc32/q_fle.c: ... here.
17070 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
17071 * sysdeps/sparc/sparc32/q_flt.c: ... here.
17072 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
17073 * sysdeps/sparc/sparc32/q_fne.c: ... here.
17074 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
17075 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
17076 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
17077 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
17078 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
17079 * sysdeps/sparc/sparc32/q_mul.c: ... here.
17080 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
17081 * sysdeps/sparc/sparc32/q_neg.c: ... here.
17082 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
17083 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
17084 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
17085 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
17086 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
17087 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
17088 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
17089 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
17090 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
17091 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
17092 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
17093 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
17094 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
17095 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
17096 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
17097 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
17098 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
17099 * sysdeps/sparc/sparc32/q_sub.c: ... here.
17100 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
17101 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
17102 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
17103 * sysdeps/sparc/sparc32/q_util.c: ... here.
17104 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
17105 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
17106 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
17107 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
17109 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17110 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17112 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
17113 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
17114 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
17115 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
17117 2018-05-24 Joseph Myers <joseph@codesourcery.com>
17119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
17121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17123 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
17124 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
17126 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17129 * math/math.h [C++] (iseqsig): Fix parameter type for the long
17132 2018-05-23 Joseph Myers <joseph@codesourcery.com>
17134 * sysdeps/sh/Implies: Remove sh/soft-fp.
17135 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
17136 * sysdeps/sh/sfp-machine.h: ... here.
17138 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17140 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17141 (__mempcpy_erms): Skip zero length.
17142 (__memmove_erms): Likewise.
17143 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17144 (__memset_erms): Likewise.
17146 2018-05-23 Joseph Myers <joseph@codesourcery.com>
17148 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
17149 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
17150 Add functions moved from ....
17151 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
17152 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
17153 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
17155 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
17156 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
17157 * sysdeps/alpha/e_sqrtl.c: ... here.
17158 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
17159 * sysdeps/alpha/local-soft-fp.h: ... here.
17160 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
17161 * sysdeps/alpha/ots_add.c: ... here.
17162 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
17163 * sysdeps/alpha/ots_cmp.c: ... here.
17164 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
17165 * sysdeps/alpha/ots_cmpe.c: ... here.
17166 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
17167 * sysdeps/alpha/ots_cvtqux.c: ... here.
17168 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
17169 * sysdeps/alpha/ots_cvtqx.c: ... here.
17170 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
17171 * sysdeps/alpha/ots_cvttx.c: ... here.
17172 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
17173 * sysdeps/alpha/ots_cvtxq.c: ... here.
17174 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
17175 * sysdeps/alpha/ots_cvtxt.c: ... here.
17176 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
17177 * sysdeps/alpha/ots_div.c: ... here.
17178 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
17179 * sysdeps/alpha/ots_mul.c: ... here.
17180 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
17181 * sysdeps/alpha/ots_nintxq.c: ... here.
17182 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
17183 * sysdeps/alpha/ots_sub.c: ... here.
17184 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
17185 * sysdeps/alpha/sfp-machine.h: ... here.
17187 2018-05-23 Florian Weimer <fweimer@redhat.com>
17195 Switch to extern IDNA implementation (libidn2).
17196 * libidn: Remove subdirectory.
17197 * LICENSES: Do not mention licensing conditions for the removed
17199 * config.h.in (HAVE_LIBIDN): Remove.
17200 * include/dlfcn.h (__libc_dlopen): Update comment.
17201 * include/idna.h: Remove file.
17202 * inet/Makefile (routines): Add idna.
17203 (tests-static, tests-internal): Add tst-idna_name_classify.
17204 (LOCALES): Generate locales for tests.
17205 (tst-idna_name_classify.out): Depend on generated locales.
17206 * inet/idna_name_classify.c: New file.
17207 * inet/tst-idna_name_classify.c: Likewise.
17208 * inet/net-internal.h (__idna_to_dns_encoding)
17209 (__idna_from_dns_encoding): Declare.
17210 * inet/net-internal.h (enum idna_name_classification): Define.
17211 (__idna_name_classify): Declare.
17212 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
17213 __idna_from_dns_encoding.
17214 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
17215 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
17216 name as a fallback in case of encoding errors.
17217 (getnameinfo): Use DEPRECATED_NI_IDN.
17218 * inet/idna.c: New file.
17219 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
17220 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
17221 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
17222 (modules-names): Add tst-no-libidn2.
17223 (extra-test-objs): Add tst-no-libidn2.os.
17224 (LDFLAGS-tst-no-libidn2.so): Set soname.
17225 (LOCALES): Set, and generate locales.
17226 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
17227 (tst-resolv-ai_idn-latin1): Likewise.
17228 (tst-resolv-ai_idn-nolibidn2): Likewise.
17229 (tst-resolv-ai_idn.out): Depend on locales.
17230 (tst-resolv-ai_idn-latin1.out): Depend on locales.
17231 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
17233 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
17234 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
17235 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
17236 * resolv/tst-resolv-ai_idn.c: New file.
17237 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
17238 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
17239 * resolv/tst-no-libidn2.c: Likewise.
17240 * support/support_format_addrinfo.c (format_ai_flags): Do not
17241 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
17242 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
17243 (gaih_inet): Call __idna_to_dns_encoding and
17244 __idna_from_dns_encoding, and use the original (punycode) name if
17245 __idna_from_dns_encoding fails due to an encoding error.
17246 (getaddrinfo): Use DEPRECATED_AI_IDN.
17247 * sysdeps/unix/inet/Subdirs (libidn): Remove.
17248 * sysdeps/unix/inet/configure: Remove file.
17249 * sysdeps/unix/inet/configure.ac: Likewise.
17251 2018-05-23 Florian Weimer <fweimer@redhat.com>
17253 Implement allocate_once.
17254 * include/allocate_once.h: New file.
17255 * misc/allocate_once.c: Likewise.
17256 * misc/tst-allocate_once.c: Likewise.
17257 * misc/Makefile (routines): Add allocate_once.
17258 (tests-internal): Add tst-allocate_once.
17259 (generated): Add tst-allocate_once.mtrace,
17260 tst-allocate_once-mem.out.
17261 (tests-special): Add tst-allocate_once-mem.out.
17262 (tst-allocate_once-ENV): Set MALLOC_TRACE.
17263 (tst-allocate_once-mem.out): Call mtrace.
17264 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
17266 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17269 * string/test-memcpy.c (do_test1): New function.
17270 (test_main): Call it.
17272 2018-05-23 Andreas Schwab <schwab@suse.de>
17276 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
17277 (L(preloop_large)): Save initial destination pointer in %r11 and
17278 use it instead of %rax after the loop.
17279 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
17281 2018-05-22 Joseph Myers <joseph@codesourcery.com>
17283 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
17284 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
17285 -I../soft-fp. Moved from ....
17286 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
17287 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
17288 * sysdeps/aarch64/e_sqrtl.c: ... here.
17289 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
17290 * sysdeps/aarch64/sfp-machine.h: ... here.
17292 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
17293 -Wmaybe-uninitialized around access to fq[0].
17294 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17298 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
17299 aliases for non-libc case of versioned symbols.
17300 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
17301 (llseek): Define as compat symbol if
17302 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
17304 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
17305 Make into a compat symbol, disabled for minimum symbol version
17306 GLIBC_2.28 and later.
17307 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
17309 2018-05-22 Florian Weimer <fweimer@redhat.com>
17311 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
17312 not add -mpreferred-stack-boundary=4.
17313 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
17314 (stack-align-test-flags): Likewise.
17315 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
17317 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
17318 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
17319 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
17320 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
17321 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
17322 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
17323 (CFLAGS-tst-align2.c): Likewise.
17325 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17327 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
17328 (index_arch_Prefer_FSRM): Likewise.
17329 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
17330 Also check Prefer_FSRM.
17331 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
17332 Also return OPTIMIZE (erms) for Prefer_FSRM.
17334 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17336 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
17337 (index_cpu_FSRM): Likewise.
17338 (reg_FSRM): Likewise.
17340 2018-05-18 Joseph Myers <joseph@codesourcery.com>
17342 * math/gen-tgmath-tests.py: Import sys.
17343 (Tests.__init__): Initialize macros_seen.
17344 (Tests.add_tests): Add macro to macros_seen. Only generate tests
17345 if requested to do so for this macro.
17346 (Tests.add_all_tests): Take argument for macro for which to
17348 (Tests.check_macro_list): New function.
17349 (main): Handle check-list argument and argument specifying macro
17350 for which to generate tests.
17351 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
17352 [PYTHON] (tgmath3-macro-tests): Likewise.
17353 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
17354 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
17355 not test-tgmath3.c.
17356 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
17357 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
17359 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
17360 [PYTHON] ($(foreach
17361 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
17363 [PYTHON] (tests-special): Add
17364 $(objpfx)test-tgmath3-macro-list.out.
17365 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
17367 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
17368 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
17372 * time/tzset.c (SECSPERDAY): Cast to time_t.
17373 * time/tst-y2039.c: New file.
17374 * time/Makefile (tests): Add tst-y2039.
17376 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17378 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17379 (PREFETCH_ONE_SET): Remove duplicate line.
17381 2018-05-17 Florian Weimer <fweimer@redhat.com>
17383 * sysdeps/generic/math-type-macros-double.h: Include
17384 <math-nan-payload-double.h> after <libm-alias-double.h>.
17385 * sysdeps/generic/math-type-macros-float.h: Include
17386 <math-nan-payload-float.h> after <libm-alias-float.h>.
17387 * sysdeps/generic/math-type-macros-float128.h: Include
17388 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
17389 * sysdeps/generic/math-type-macros-ldouble.h: Include
17390 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
17392 2018-05-17 Andreas Schwab <schwab@suse.de>
17394 * resolv/res_send.c (__res_context_send): Don't set errno when
17395 returing error after malloc failure.
17397 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
17399 * nptl/allocatestack.c (allocate_stack): Remove the
17400 !__ASSUME_PRIVATE_FUTEX paths.
17401 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
17402 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17404 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
17405 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17406 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17407 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17408 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
17409 !__ASSUME_PRIVATE_FUTEX path.
17410 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
17411 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
17412 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
17413 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
17414 !__ASSUME_PRIVATE_FUTEX macros.
17415 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17416 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17417 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17418 * sysdeps/unix/sysv/linux/kernel-features.h
17419 (__ASSUME_PRIVATE_FUTEX): Removed.
17421 2018-05-17 Joseph Myers <joseph@codesourcery.com>
17423 * math/Makefile (libm-narrow-fns): Add div.
17424 (libm-test-funcs-narrow): Likewise.
17425 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
17426 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
17427 * math/gen-auto-libm-tests.c (test_functions): Add div.
17428 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
17429 (NARROW_DIV_ROUND_TO_ODD): Likewise.
17430 (NARROW_DIV_TRIVIAL): Likewise.
17431 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
17433 (__ddivl): Likewise.
17434 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
17436 (CFLAGS-nldbl-ddiv.c): New variable.
17437 (CFLAGS-nldbl-fdiv.c): Likewise.
17438 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17440 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
17442 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
17443 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
17444 * math/auto-libm-test-in: Add tests of div.
17445 * math/auto-libm-test-out-narrow-div: New generated file.
17446 * math/libm-test-narrow-div.inc: New file.
17447 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
17448 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
17449 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
17450 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
17451 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
17452 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
17453 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
17454 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
17455 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
17456 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
17457 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
17458 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
17459 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
17460 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
17461 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
17462 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
17463 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
17464 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
17465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17466 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17467 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17468 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17469 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17470 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17471 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17472 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17473 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17474 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17475 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17476 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17477 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17478 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17483 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17484 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17485 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17486 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17487 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17488 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17489 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17490 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17492 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17495 * nscd/nscd-client.h (sendfileall): Remove prototype.
17496 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
17497 (handle_request): Use writeall instead of sendfileall.
17498 * nscd/aicache.c (addhstaiX): Likewise.
17499 * nscd/grpcache.c (cache_addgr): Likewise.
17500 * nscd/hstcache.c (cache_addhst): Likewise.
17501 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17502 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
17503 * nscd/pwdcache.c (cache_addpw): Likewise.
17504 * nscd/servicescache.c (cache_addserv): Likewise.
17505 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
17506 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
17507 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
17510 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
17512 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
17513 Include <string/strncat.c>.
17514 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
17516 (__GI___strncat): New hidden alias.
17518 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17520 * sysdeps/mips/mips32/libm-test-ulps: Update.
17521 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17523 2018-05-16 Florian Weimer <fweimer@redhat.com>
17525 * support/Makefile (libsupport-routines): Add support_quote_blob,
17526 support_test_compare_blob.
17527 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
17528 * support/check.h (TEST_COMPARE_BLOB): Define.
17529 (support_test_compare_blob): Declare.
17530 * support/support.h (support_quote_blob): Declare.
17531 * support/support_quote_blob.c: New file.
17532 * support/support_test_compare_blob.c: Likewise.
17533 * support/tst-support_quote_blob.c: Likewise.
17534 * support/tst-test_compare_blob.c: Likewise.
17536 2018-05-16 Florian Weimer <fweimer@redhat.com>
17538 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
17539 of <strtod_nan_double.h>.
17540 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
17541 instead of SET_MANTISSA.
17542 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
17543 of include <strtod_nan_float.h>.
17544 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
17545 instead of <strtod_nan_ldouble.h>.
17546 * stdlib/strtod_nan_double.h: Move to ...
17547 * sysdeps/generic/math-nan-payload-double.h: ... here.
17548 (FLOAT): Remove definition.
17549 (SET_MANTISSA): Rename to ...
17550 (SET_NAN_PAYLOAD): ... this.
17551 * stdlib/strtod_nan_float.h: Move to ...
17552 * sysdeps/generic/math-nan-payload-float.h: ... here.
17553 (FLOAT): Remove definition.
17554 (SET_MANTISSA): Rename to ...
17555 (SET_NAN_PAYLOAD): ... this.
17556 * sysdeps/generic/math-type-macros-double.h: Include
17557 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
17558 instead of <math-svid-compat.h>.
17559 * sysdeps/generic/math-type-macros-float.h: Include
17560 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
17561 instead of <math-svid-compat.h>.
17562 * sysdeps/generic/math-type-macros-float128.h: Include
17563 <math-nan-payload-float128.h>.
17564 * sysdeps/generic/math-type-macros-ldouble.h: Include
17565 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
17566 instead of <math-svid-compat.h>.
17567 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
17568 check for definition.
17569 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
17570 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
17571 Include <ieee754_float128.h>.
17572 (FLOAT): Remove definition.
17573 (SET_MANTISSA): Rename to ...
17574 (SET_NAN_PAYLOAD): ... this.
17575 * sysdeps/ieee754/float128/strtof128_nan.c: Include
17576 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
17577 Do not include <float128_private.h>.
17578 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
17579 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
17580 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
17581 (FLOAT): Remove definition.
17582 (SET_MANTISSA): Rename to ...
17583 (SET_NAN_PAYLOAD): ... this.
17584 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
17585 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
17586 (FLOAT): Remove definition.
17587 (SET_MANTISSA): Rename to ...
17588 (SET_NAN_PAYLOAD): ... this.
17589 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
17590 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
17591 (FLOAT): Remove definition.
17592 (SET_MANTISSA): Rename to ...
17593 (SET_NAN_PAYLOAD): ... this.
17594 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
17595 of "../stdlib/strtod_nan_double.h".
17596 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
17597 of "../stdlib/strtod_nan_float.h".
17598 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
17599 instead of "../stdlib/strtod_nan_ldouble.h".
17600 * manual/arith.texi (Parsing of Floats): Adjust comment.
17602 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17604 * math/Makefile (libm-narrow-fns): Add mul.
17605 (libm-test-funcs-narrow): Likewise.
17606 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
17607 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
17608 * math/gen-auto-libm-tests.c (test_functions): Add mul.
17609 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
17610 (NARROW_MUL_ROUND_TO_ODD): Likewise.
17611 (NARROW_MUL_TRIVIAL): Likewise.
17612 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
17613 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
17615 (__dmull): Likewise.
17616 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
17618 (CFLAGS-nldbl-dmul.c): New variable.
17619 (CFLAGS-nldbl-fmul.c): Likewise.
17620 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17622 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
17624 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
17625 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
17626 * math/auto-libm-test-in: Add tests of mul.
17627 * math/auto-libm-test-out-narrow-mul: New generated file.
17628 * math/libm-test-narrow-mul.inc: New file.
17629 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
17630 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
17631 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
17632 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
17633 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
17634 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
17635 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
17636 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
17637 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
17638 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
17639 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
17640 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
17641 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
17642 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
17643 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
17644 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
17645 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
17646 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
17647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17648 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17649 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17650 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17651 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17652 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17653 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17654 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17655 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17656 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17657 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17658 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17659 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17660 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17665 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17666 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17667 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17668 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17669 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17670 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17671 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17672 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17674 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17676 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17677 with *%eax in call.
17679 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17681 * sysdeps/i386/ldsodefs.h: Removed.
17682 * sysdeps/x86_64/ldsodefs.h: Moved to ...
17683 * sysdeps/x86/ldsodefs.h: This.
17684 (La_i86_regs): New.
17685 (La_i86_retval): Likewise.
17686 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
17687 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
17689 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17691 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
17694 2018-05-13 Alan Modra <amodra@gmail.com>
17696 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
17697 R_PARISC_TLS_DTPOFF32 reloc addend.
17699 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17701 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
17702 * math/math.h: Restrict the prototype definition for the functions
17703 issignaling(_Float128) and iszero(_Float128); and template
17704 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
17705 __HAVE_FLOAT128_UNLIKE_LDBL.
17706 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
17707 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17708 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
17709 __f128() constants; define the type _Float128 as long double;
17710 and reuse long double in __CFLOAT128.
17712 2018-05-11 Joseph Myers <joseph@codesourcery.com>
17714 * sysdeps/generic/math_private.h: Do not include
17716 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
17718 * math/fromfp.h: Include <math-barriers.h>.
17719 * math/math-narrow.h: Likewise.
17720 * math/s_nextafter.c: Likewise.
17721 * math/s_nexttowardf.c: Likewise.
17722 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
17723 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
17724 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
17725 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
17726 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17727 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17728 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17729 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17730 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17731 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17732 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17733 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17734 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17735 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17736 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
17737 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17738 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17739 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17740 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17741 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17742 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17743 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17744 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17745 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17746 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17747 * sysdeps/ieee754/k_standardl.c: Likewise.
17748 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17749 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17750 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17751 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17752 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17753 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17754 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17755 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17756 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17757 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17758 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17759 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17760 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17761 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17762 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17763 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17764 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
17765 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
17766 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17767 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17768 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
17769 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
17771 2018-05-11 Florian Weimer <fweimer@redhat.com>
17773 Use 64-bit epoch values in the time zone file parser.
17774 * include/time.h (internal_time_t): Define.
17775 (__tzfile_compute): Use it.
17776 * time/tzfile.c (struct leap): Use internal_time_t for epoch
17778 (transitions): Switch to internal_time_t.
17779 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
17781 (__tzfile_compute): Use internal_time_t for timer argument. Check
17782 for truncation before calling __offtime.
17784 2018-05-11 Florian Weimer <fweimer@redhat.com>
17787 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
17788 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
17790 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
17791 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
17792 export without --enable-obsolete-rpc.
17793 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
17794 symbol. This should not have been exported, ever.
17796 2018-05-11 Rafał Lużyński <digitalfreak@lingonborough.com>
17799 * localedata/locales/gd_GB (abmon): Fix typo in May:
17800 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
17802 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17804 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
17805 Use multiple registers to copy data in loop tail.
17807 * sysdeps/aarch64/multiarch/memmove_falkor.S
17808 (__memmove_falkor): Use multiple registers to move data in
17811 2018-05-10 Joseph Myers <joseph@codesourcery.com>
17813 * math/math-underflow.h: New file.
17814 * sysdeps/generic/math_private.h: Do not include <float.h>.
17815 (fabs_tg): Remove macro. Moved to math-underflow.h.
17816 (min_of_type_f): Likewise.
17817 (min_of_type_): Likewise.
17818 (min_of_type_l): Likewise.
17819 (min_of_type_f128): Likewise.
17820 (min_of_type): Likewise.
17821 (math_check_force_underflow): Likewise.
17822 (math_check_force_underflow_nonneg): Likewise.
17823 (math_check_force_underflow_complex): Likewise.
17824 * math/e_exp2_template.c: Include <math-underflow.h>.
17825 * math/k_casinh_template.c: Likewise.
17826 * math/s_catan_template.c: Likewise.
17827 * math/s_catanh_template.c: Likewise.
17828 * math/s_ccosh_template.c: Likewise.
17829 * math/s_cexp_template.c: Likewise.
17830 * math/s_clog10_template.c: Likewise.
17831 * math/s_clog_template.c: Likewise.
17832 * math/s_csin_template.c: Likewise.
17833 * math/s_csinh_template.c: Likewise.
17834 * math/s_csqrt_template.c: Likewise.
17835 * math/s_ctan_template.c: Likewise.
17836 * math/s_ctanh_template.c: Likewise.
17837 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17838 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17839 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17840 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17841 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17842 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17843 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17844 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17845 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17846 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17847 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17848 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17849 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17850 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17851 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17852 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17853 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17854 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17855 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17856 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17857 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17858 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17859 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17860 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17861 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17862 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17863 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17864 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17865 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17866 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17867 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17868 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17869 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17870 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17871 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17872 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17873 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17874 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17875 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17876 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17877 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17878 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17879 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17880 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17881 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17882 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17883 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17884 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17885 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17886 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17887 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17888 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17889 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17890 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17891 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17892 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17893 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17894 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17895 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17896 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17897 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17898 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17899 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17900 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17901 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17902 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17903 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17904 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17905 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17906 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17907 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17908 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17909 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17910 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
17911 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17912 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17913 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17914 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17915 * sysdeps/x86/fpu/powl_helper.c: Likewise.
17916 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
17917 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
17918 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17919 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17920 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17922 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17924 * sysdeps/generic/math-barriers.h: New file.
17925 * sysdeps/generic/math_private.h [!math_opt_barrier]
17926 (math_opt_barrier): Move to math-barriers.h.
17927 [!math_opt_barrier] (math_force_eval): Likewise.
17928 * sysdeps/aarch64/fpu/math-barriers.h: New file.
17929 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
17931 (math_force_eval): Likewise.
17932 * sysdeps/alpha/fpu/math-barriers.h: New file.
17933 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
17935 (math_force_eval): Likewise.
17936 * sysdeps/x86/fpu/math-barriers.h: New file.
17937 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
17939 (math_force_eval): Likewise.
17940 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
17941 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
17942 multiple-include guard for rename.
17943 * sysdeps/powerpc/fpu/math-barriers.h: New file.
17944 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
17946 (math_force_eval): Likewise.
17948 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17952 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
17954 * stdlib/Makefile (test-bz22786): New test.
17955 * stdlib/test-bz22786.c: New test.
17957 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17959 * include/math-narrow-eval.h: New file. Contents moved from ....
17960 * sysdeps/generic/math_private.h: ... here.
17961 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
17962 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17963 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
17964 * stdlib/strtod_l.c: Likewise.
17965 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17966 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17967 * sysdeps/i386/fpu/s_fdim.c: Likewise.
17968 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17969 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17970 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17971 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17972 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17973 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17974 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17975 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17976 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
17977 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17978 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17979 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17980 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17981 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17982 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17983 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17984 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17985 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17986 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17987 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17988 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17989 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17990 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17991 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17992 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17993 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17995 2018-05-08 Andreas Schwab <schwab@suse.de>
17997 * sysdeps/nptl/internaltypes.h: Fix comment.
17999 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
18001 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18002 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
18005 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
18007 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
18008 of I into loop header.
18009 * benchtests/bench-memmove-walk.c
18010 (test_main): Likewise.
18012 2018-05-07 Alexandre Oliva <oliva@gnu.org>
18015 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
18016 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18018 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18021 * elf/dl-load.c (open_verify): Fix stack overflow.
18022 * elf/Makefile (tst-big-note): New test.
18023 * elf/tst-big-note-lib.S: New.
18024 * elf/tst-big-note.c: New.
18026 2018-05-04 Joseph Myers <joseph@codesourcery.com>
18028 * scripts/abilist.awk: Ignore absolute symbols.
18029 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
18030 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
18031 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
18032 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
18033 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
18034 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
18035 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18036 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
18037 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
18038 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
18039 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
18040 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
18041 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
18042 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
18043 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
18044 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
18045 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
18046 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
18047 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18048 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
18049 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
18050 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
18051 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
18052 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
18053 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
18054 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
18055 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
18056 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
18057 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18058 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
18059 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
18060 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18061 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
18062 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
18063 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
18064 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
18065 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
18066 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
18067 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
18068 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
18069 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
18070 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18071 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
18072 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
18073 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18074 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
18075 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
18076 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
18077 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
18078 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
18079 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
18080 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
18081 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
18082 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
18083 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18084 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
18085 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
18086 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18087 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
18088 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
18089 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
18090 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
18091 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
18092 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
18093 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
18094 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
18095 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
18096 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18097 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
18098 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
18099 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18100 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
18101 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
18102 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
18103 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
18104 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
18105 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
18106 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
18107 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
18108 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
18109 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18110 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
18111 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
18112 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18113 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
18114 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
18115 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
18116 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
18117 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
18118 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
18119 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
18120 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18122 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
18123 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18124 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
18125 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
18126 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18127 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
18128 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
18129 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
18130 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
18131 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
18132 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
18133 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
18134 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18136 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
18137 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18138 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
18139 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
18140 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18141 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
18142 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
18143 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
18144 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
18145 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
18146 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
18147 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
18148 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
18149 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
18150 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18151 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
18152 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
18153 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18154 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
18155 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
18156 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
18157 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
18158 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
18159 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
18160 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18161 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
18162 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18164 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
18165 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
18166 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
18167 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
18168 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18169 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
18170 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
18171 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
18172 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
18173 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
18174 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
18175 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
18176 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
18177 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
18178 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
18179 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
18180 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
18181 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
18182 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18183 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18185 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
18186 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
18187 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
18188 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18189 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
18190 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
18191 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
18192 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
18193 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
18194 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
18195 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18196 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
18197 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
18198 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18199 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
18200 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
18201 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
18202 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
18203 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18204 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
18205 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
18206 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18207 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
18208 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
18209 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
18210 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
18211 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
18212 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
18213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
18214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
18216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
18219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
18220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
18221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
18222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
18224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
18226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
18227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
18230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
18242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
18243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
18248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
18249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
18250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
18254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
18255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
18263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
18264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
18265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
18272 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18273 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
18275 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18276 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18277 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
18278 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18279 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18280 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18281 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
18282 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
18283 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18284 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
18285 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18286 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
18287 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
18288 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18290 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18291 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
18292 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
18293 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18294 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
18295 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
18296 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
18297 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
18298 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
18299 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
18300 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
18301 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18303 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18304 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
18305 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
18306 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18307 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
18308 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
18309 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
18310 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
18311 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
18312 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
18313 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
18314 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
18315 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
18316 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18317 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
18318 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
18319 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18320 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
18321 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
18322 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
18323 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
18324 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
18325 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
18326 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
18327 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18329 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
18330 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18331 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
18332 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
18333 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18334 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
18335 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
18336 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
18337 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
18338 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
18339 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
18340 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
18341 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18343 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
18344 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18345 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
18346 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
18347 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18348 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
18349 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
18350 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
18351 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
18352 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
18353 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
18354 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
18355 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
18356 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
18357 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18358 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
18359 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
18360 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18361 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
18362 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
18363 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
18364 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
18365 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
18366 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
18367 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18368 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
18369 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
18370 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
18371 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18372 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
18373 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
18374 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18375 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
18376 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
18377 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
18378 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
18379 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
18380 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
18382 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18385 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
18386 Use atomic_load_acquire to load __tid.
18388 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18390 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
18391 Restore the pointer into %rdx, after syscall and use %rdx,
18392 instead of %rsi, to restore context.
18394 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18396 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
18397 Pop the pointer into %rdx after syscall and use %rdx, instead
18398 of %rsi, to restore context.
18400 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18402 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
18403 handlers after setjmp.
18404 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
18406 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
18407 <libc-pointer-arith.h>.
18408 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
18409 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
18410 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
18411 _JUMP_BUF_SIGSET_BITS_PER_WORD.
18412 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
18413 * sysdeps/x86/__longjmp_cancel.S: New file.
18414 * sysdeps/x86/longjmp.c: Likewise.
18415 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
18417 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18419 * NEWS: Add ustat.h deprecation entry.
18420 * bits/ustat.h: Remove file.
18421 * misc/sys/ustat.h: Likewise.
18422 * misc/ustat.h: Likewise.
18423 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
18424 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
18425 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
18426 compatibility mode.
18427 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
18428 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
18429 generic Linux implementation.
18431 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18433 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
18434 * math/w_expl_compat.c: Likewise.
18435 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
18437 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
18439 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18441 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18443 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
18444 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
18445 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
18447 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
18448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18449 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18450 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
18451 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
18454 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18456 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
18458 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
18459 * math/w_asin_template.c: Likewise.
18460 * math/w_atanh_template.c: Likewise.
18462 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18464 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
18465 to powerpc/powerpc64/be for big-endian.
18466 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
18469 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
18470 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
18471 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
18472 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
18473 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18474 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
18475 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
18476 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
18477 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
18478 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18479 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
18480 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
18481 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
18482 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
18483 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
18484 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
18485 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
18486 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
18487 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
18488 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
18489 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
18490 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18491 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
18492 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
18493 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
18494 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18495 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
18496 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
18497 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
18498 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18499 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18500 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18502 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
18503 adjusted to imply powerpc64 and older processors on powerpc64/be.
18504 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
18505 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
18506 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
18507 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
18508 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
18509 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
18510 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
18511 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
18512 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
18513 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
18514 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
18515 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
18516 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
18517 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
18518 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
18519 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
18520 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
18521 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
18522 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
18523 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
18524 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
18525 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
18526 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
18527 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
18528 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
18529 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
18530 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
18531 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
18532 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
18533 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
18534 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
18536 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
18537 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
18538 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
18539 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
18541 * sysdeps/powerpc/powerpc64/be/Implies: New file.
18542 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
18543 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
18544 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
18546 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
18547 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
18548 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
18549 * sysdeps/powerpc/powerpc64le/configure: Likewise.
18550 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
18551 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
18552 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
18553 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
18554 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
18555 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
18556 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
18558 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
18559 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
18560 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
18561 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
18562 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
18563 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
18564 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
18565 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
18566 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
18567 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
18568 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
18570 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
18571 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
18572 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
18573 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
18574 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
18575 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
18576 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
18577 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
18578 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
18579 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
18580 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
18581 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
18583 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
18584 and adjusted to imply olders processors.
18585 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
18586 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
18587 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
18588 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
18589 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
18590 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
18591 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
18592 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
18593 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
18594 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
18595 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
18597 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
18599 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
18600 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
18602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
18604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
18605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
18607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
18609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
18611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
18613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
18614 powerpc64 and adjusted.
18615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
18616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
18617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
18620 2018-04-27 Joseph Myers <joseph@codesourcery.com>
18622 * sysdeps/tile: Remove.
18623 * sysdeps/unix/sysv/linux/tile: Likewise.
18624 * README (tilegx-*-linux-gnu): Remove from list of supported
18626 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
18627 contribution of support for generic Linux kernel syscall
18629 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
18630 tilegx configurations.
18631 (Config.install_linux_headers): Do not handle tile.
18632 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
18634 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
18635 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
18636 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18637 conditional undefine and redefine.
18638 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
18640 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18641 conditional undefine and redefine.
18643 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
18645 * signal/tst-sigaction.c: New file to test BZ #23069.
18646 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
18648 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18651 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
18652 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
18653 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
18654 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18656 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18658 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
18659 _DIRENT_MATCHES_DIRENT64 is not defined.
18660 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
18661 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
18663 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
18664 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
18666 2018-04-25 Joseph Myers <joseph@codesourcery.com>
18668 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
18669 version to GCC 8 branch.
18671 2018-04-24 Joseph Myers <joseph@codesourcery.com>
18673 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
18674 (check_no_hidden): Use type of original function when declaring
18677 * sysdeps/unix/sysv/linux/sys/ptrace.h
18678 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
18679 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
18680 (struct __ptrace_seccomp_metadata): New type.
18681 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18682 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18683 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
18684 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18685 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
18686 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18687 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18688 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18689 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18690 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18691 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18692 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18693 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
18694 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18695 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
18696 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18698 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18700 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
18702 * dirent/versionsort.c (versionsort): Likewise.
18703 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
18704 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
18705 * dirent/versionsort64.c (versionsort64): Likewise.
18706 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
18707 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
18708 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
18709 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
18710 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
18711 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
18712 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
18713 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
18714 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
18715 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
18716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
18717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
18718 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
18719 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
18721 2018-04-23 Joseph Myers <joseph@codesourcery.com>
18723 * elf/elf.h (NT_PPC_PKEY): New macro.
18725 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
18728 * localedata/locales/hr_HR: fix thousands_sep and
18731 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18733 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
18734 (XTABS): Define to TAB3.
18736 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18738 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18740 * dirent/scandir-tail-common.c: New file.
18741 * dirent/scandir-tail.c: Use scandir-tail-common.c.
18742 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
18743 * dirent/scandir.c: Use scandir-tail-common.c.
18744 * dirent/scandirat.c: Likewise.
18745 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
18746 * dirent/scandir64.c (scandir64): Always build and alias to scandir
18747 if _DIRENT_MATCHES_DIRENT64 is defined.
18748 * dirent/scandirat64.c (scandirat64): Likewise.
18749 * include/dirent.h (__scandir_tail): Only define iff
18750 _DIRENT_MATCHES_DIRENT64 is not defined.
18751 (__scandir64_tail): Define regardless.
18752 (__scandirat, scandirat64): Remove libc_hidden_proto.
18753 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
18754 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
18755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
18756 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
18757 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18758 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
18759 * sysdeps/unix/sysv/linux/scandir64.c: New file.
18761 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18763 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
18765 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
18767 (_dl_aarch64_cap_flags): Add asimdfhm.
18769 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
18771 * sysdeps/nios2/libm-test-ulps: Update.
18773 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18775 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
18776 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
18778 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
18780 (_DIRENT_MATCHES_DIRENT64): Undef
18781 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
18782 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
18783 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
18784 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
18785 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
18786 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
18787 use getdents64 syscalls as base.
18788 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
18789 symbol if required.
18790 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
18791 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
18792 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
18793 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
18794 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
18795 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
18796 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
18797 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
18798 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18799 (__get_clockfreq_via_proc_openprom): Use __getdents64.
18800 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
18802 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18804 * scripts/test_printers_common.py (init_test): Disable lock elision.
18806 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18808 * math/test-tgmath.c (count_double, count_float,
18809 count_ldouble, count_cdouble, count_cfloat,
18810 count_cldouble): Use volatile int.
18812 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18814 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
18815 (conformtest-xfail-conds): Add i386-gnu.
18816 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
18818 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
18819 ipc_perm.cuid, ipc_perm.cgid): Likewise.
18820 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
18821 msqid_ds.msg_lrpid): Likewise.
18822 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
18824 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
18825 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
18826 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
18827 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
18829 (struct statvfs64): Likewise.
18830 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
18832 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
18833 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
18834 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
18835 instead of wait_queue.
18836 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
18837 instead of vm_area_struct.
18838 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
18839 struct sched_param definition to it.
18840 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18841 * bits/types/struct_sched_param.h: New file.
18842 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
18843 <bits/types/struct_sched_param.h> instead of <sched.h>.
18844 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
18845 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
18846 generic version but include <bits/pthreadtypes.h> to make struct
18847 sigevent's sigev_notify_attributes field a pthread_attr_t*.
18848 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
18850 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
18851 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
18852 [__USE_XOPEN] (OFDEL): New macro.
18853 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
18854 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
18855 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
18857 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
18858 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
18859 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
18861 * sysdeps/i386/sys/ucontext.h: Likewise.
18862 * sysdeps/m68k/sys/ucontext.h: Likewise.
18863 * sysdeps/mips/sys/ucontext.h: Likewise.
18864 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
18865 * sysdeps/mach/hurd/i386/Makefile
18866 (test-xfail-POSIX/fcntl.h/conform): Add.
18867 (test-xfail-POSIX/signal.h/conform): Add.
18868 (test-xfail-POSIX/semaphore.h/conform): Add.
18869 (test-xfail-POSIX/regex.h/conform): Add.
18870 (test-xfail-POSIX/aio.h/conform): Add.
18871 (test-xfail-POSIX/mqueue.h/conform): Add.
18872 (test-xfail-POSIX/sys/types.h/conform): Add.
18873 (test-xfail-UNIX98/fcntl.h/conform): Add.
18874 (test-xfail-UNIX98/netdb.h/conform): Add.
18875 (test-xfail-UNIX98/signal.h/conform): Add.
18876 (test-xfail-UNIX98/semaphore.h/conform): Add.
18877 (test-xfail-UNIX98/regex.h/conform): Add.
18878 (test-xfail-UNIX98/aio.h/conform): Add.
18879 (test-xfail-UNIX98/ftw.h/conform): Add.
18880 (test-xfail-UNIX98/mqueue.h/conform): Add.
18881 (test-xfail-UNIX98/netinet/in.h/conform): Add.
18882 (test-xfail-UNIX98/sys/wait.h/conform): Add.
18883 (test-xfail-UNIX98/sys/sem.h/conform): Add.
18884 (test-xfail-UNIX98/sys/uio.h/conform): Add.
18885 (test-xfail-UNIX98/sys/socket.h/conform): Add.
18886 (test-xfail-UNIX98/sys/types.h/conform): Add.
18887 (test-xfail-UNIX98/stdlib.h/conform): Add.
18888 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
18889 (test-xfail-POSIX2008/fcntl.h/conform): Add.
18890 (test-xfail-POSIX2008/netdb.h/conform): Add.
18891 (test-xfail-POSIX2008/signal.h/conform): Add.
18892 (test-xfail-POSIX2008/semaphore.h/conform): Add.
18893 (test-xfail-POSIX2008/regex.h/conform): Add.
18894 (test-xfail-POSIX2008/aio.h/conform): Add.
18895 (test-xfail-POSIX2008/mqueue.h/conform): Add.
18896 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
18897 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
18898 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
18899 (test-xfail-POSIX2008/sys/types.h/conform): Add.
18900 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
18901 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
18902 (test-xfail-XOPEN2K/netdb.h/conform): Add.
18903 (test-xfail-XOPEN2K/signal.h/conform): Add.
18904 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
18905 (test-xfail-XOPEN2K/regex.h/conform): Add.
18906 (test-xfail-XOPEN2K/aio.h/conform): Add.
18907 (test-xfail-XOPEN2K/ftw.h/conform): Add.
18908 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
18909 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
18910 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
18911 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
18912 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
18913 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
18914 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
18915 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
18916 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
18917 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
18918 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
18919 (test-xfail-XOPEN2K8/signal.h/conform): Add.
18920 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
18921 (test-xfail-XOPEN2K8/regex.h/conform): Add.
18922 (test-xfail-XOPEN2K8/aio.h/conform): Add.
18923 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
18924 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
18925 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
18926 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
18927 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
18928 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
18929 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
18930 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
18931 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
18932 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
18933 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
18935 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
18936 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
18938 2018-04-18 Joseph Myers <joseph@codesourcery.com>
18940 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18941 --enable-obsolete for powerpc-linux-gnuspe.
18943 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18945 * conform/data/sys/un.h-data: Allow sun_ prefix.
18946 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
18948 * sysdeps/mach/include/mach.h: Likewise.
18949 * sysdeps/mach/include/mach/mig_support.h: Likewise.
18950 * sysdeps/mach/include/mach_error.h: Likewise.
18952 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18954 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
18955 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
18956 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
18957 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
18959 2018-04-16 Andreas Schwab <schwab@suse.de>
18962 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
18964 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18966 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
18967 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
18969 2018-04-12 DJ Delorie <dj@redhat.com>
18971 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18974 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18976 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
18977 (struct kernel_sigaction): Use the same definition on 31bit as is used
18980 2018-04-09 Florian Weimer <fweimer@redhat.com>
18983 * resolv/res_send.c (send_dg): Use designated initializers instead
18984 of assignment to zero-initialize other fields of struct mmsghdr.
18986 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18988 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
18989 __READDIR_ALIAS): Undefine after usage.
18990 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
18991 __READDIR_R_ALIAS): Likewise.
18992 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
18993 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
18994 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
18995 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
18996 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
18997 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
18998 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18999 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19000 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
19001 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
19002 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
19003 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
19004 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19005 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
19006 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
19007 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
19008 * sysdeps/unix/sysv/linux/readdir.c: New file.
19009 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
19010 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
19011 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
19013 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
19015 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
19017 * manual/charset.texi (Converting a Character): Fix typo.
19019 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19023 * sysdeps/arm/libm-test-ulps: Update.
19025 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
19026 as base implementation.
19027 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
19028 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
19029 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19030 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19031 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
19032 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
19033 remove unrequired definitions and update comments.
19034 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
19035 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
19036 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
19037 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
19038 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
19039 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
19040 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
19041 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
19042 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
19043 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
19044 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
19045 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
19046 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
19047 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
19048 and RESET_SA_RESTORER hooks.
19050 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
19052 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19054 2018-04-05 Florian Weimer <fweimer@redhat.com>
19056 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
19057 integer overflow, memory leak on error, and indeterminate errno
19058 value. Add a null wide character to terminate the result string.
19059 * manual/charset.texi (Converting a Character): Mention embedded
19060 null bytes in the mbrtowc input string. Explain what happens in
19061 the -2 result case. Do not claim that mbrtowc is simple or
19062 obvious to use. Adjust the description of the code example. Use
19063 @code, not @var, for concrete variables.
19065 2018-04-05 Florian Weimer <fweimer@redhat.com>
19067 * manual/examples/mbstouwcs.c: New file.
19068 * manual/charset.texi (Converting a Character): Include it.
19070 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19072 * include/dirent.h (dirfd): Add hidden proto.
19073 * dirent/dirfd.c (dirfd): Add hidden def.
19074 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
19075 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
19077 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
19079 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
19080 sin, cos and sincos to 1 ULP.
19082 2018-04-04 Maciej W. Rozycki <macro@mips.com>
19085 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
19087 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
19088 * elf/tst-absolute-sym.c: New file.
19089 * elf/tst-absolute-sym-lib.c: New file.
19090 * elf/tst-absolute-sym-lib.lds: New file.
19091 * elf/Makefile (tests): Add `tst-absolute-sym'.
19092 (modules-names): Add `tst-absolute-sym-lib'.
19093 (LDLIBS-tst-absolute-sym-lib.so): New variable.
19094 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
19095 ($(objpfx)tst-absolute-sym): New dependency.
19098 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
19100 (SYMBOL_ADDRESS): New macro.
19101 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
19102 SYMBOL_ADDRESS for symbol address calculation.
19103 * elf/dl-runtime.c (_dl_fixup): Likewise.
19104 (_dl_profile_fixup): Likewise.
19105 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
19106 * elf/rtld.c (dl_main): Likewise.
19107 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
19108 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
19109 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
19110 (elf_machine_rela): Likewise.
19111 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
19112 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
19113 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19114 (elf_machine_rela): Likewise.
19115 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19116 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
19117 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
19118 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
19120 (elf_machine_reloc): Likewise.
19121 (elf_machine_got_rel): Likewise.
19122 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
19123 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
19124 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19126 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19128 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
19129 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19131 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19133 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19134 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19136 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19138 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
19139 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19141 2018-04-04 Zack Weinberg <zackw@panix.com>
19143 * sysdeps/generic/internal-signals.h: Include signal.h,
19144 sigsetops.h, and stdbool.h.
19145 (__libc_signal_block_all): Actually block all signals.
19146 (__libc_signal_block_app): Likewise.
19147 (__libc_signal_restore_set): Actually restore the signal mask.
19149 2018-04-04 Florian Weimer <fweimer@redhat.com>
19151 inet: Actually build and run tst-deadline.
19152 * inet/Makefile (tests-internal): Add tst-deadline and do not
19153 overwrite the variable.
19154 (tests-static-internal): Remove variable.
19156 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
19159 * bits/uio-ext.h (RWF_APPEND): New.
19160 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
19161 * manual/llio.texi: Document RWF_APPEND.
19162 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
19163 (RWF_SUPPORTED): Add RWF_APPEND.
19165 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19168 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
19169 check for internal nptl signals.
19170 * nptl/sigaction.c (__sigaction): Likewise.
19171 * signal/sigaddset.c (sigaddset): Likewise.
19172 * signal/sigdelset.c (sigdelset): Likewise.
19173 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
19174 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
19176 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
19177 to filter out internal nptl signals.
19178 * signal/tst-sigset.c (do_test): Check ech signal indidually and
19179 also check realtime signals using standard macros.
19180 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
19181 __is_internal_signal, __libc_signal_block_all,
19182 __libc_signal_block_app, __libc_signal_restore_set): New functions.
19183 * sysdeps/nptl/sigfillset.c: Remove file.
19184 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
19185 Change return to bool.
19186 (__clear_internal_signals): Remove SIGTIMER clean since it is
19187 equal to SIGCANEL on Linux.
19188 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
19189 signal set was constructed using standard functions.
19191 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19193 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
19194 ifname is too long.
19195 * hurd/hurdsig.c (interrupted_reply_port_location): Use
19196 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
19197 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
19199 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
19200 * signal/sigaddset.c: Include <sigsetopts.h>.
19201 * signal/sigdelset.c: Likewise.
19203 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19205 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
19207 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
19208 logic as sin and cos.
19210 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19212 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
19213 inputs. Return correct sign.
19214 (do_sincos): Remove small input check before do_sin, let do_sin set
19219 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19221 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
19222 (do_cos_slow): Likewise.
19223 (do_sin_slow): Likewise.
19224 (reduce_and_compute): Likewise.
19229 (sloww1): Likewise.
19230 (sloww2): Likewise.
19232 (bslow1): Likewise.
19233 (bslow2): Likewise.
19234 (cslow2): Likewise.
19236 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19238 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
19239 (do_cos): Remove corp parameter and calculations.
19240 (do_sin): Likewise.
19241 (do_sincos): Remove cor variable.
19242 (__sin): Use do_sincos for huge inputs.
19244 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19245 (reduce_and_compute_sincos): Remove unused function.
19247 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19249 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
19250 reduce_sincos, improve accuracy to 136 bits.
19251 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
19252 (__sin): Use improved reduction and simplified do_sincos calculation.
19254 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19256 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19258 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
19259 (do_sincos_2): Likewise.
19260 (__sin): Remove middle range reduction case.
19262 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
19265 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19267 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
19268 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
19271 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
19273 2018-04-03 Joseph Myers <joseph@codesourcery.com>
19275 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19278 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19280 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
19281 Remove definitions.
19282 (opendir_oflags): Use O_DIRECTORY regardless.
19283 (__opendir, __opendirat): Remove need_isdir_precheck usage.
19284 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
19286 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19288 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
19289 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
19291 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
19292 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
19293 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
19294 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
19295 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
19296 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
19298 * htl/Makefile: Bump licence to LGPL 2.1+.
19299 * htl/alloca_cutoff.c: Likewise.
19300 * htl/cthreads-compat.c: Likewise.
19301 * htl/lockfile.c: Likewise.
19302 * htl/pt-alloc.c: Likewise.
19303 * htl/pt-cancel.c: Likewise.
19304 * htl/pt-cleanup.c: Likewise.
19305 * htl/pt-create.c: Likewise.
19306 * htl/pt-dealloc.c: Likewise.
19307 * htl/pt-detach.c: Likewise.
19308 * htl/pt-exit.c: Likewise.
19309 * htl/pt-getattr.c: Likewise.
19310 * htl/pt-initialize.c: Likewise.
19311 * htl/pt-internal.h: Likewise.
19312 * htl/pt-join.c: Likewise.
19313 * htl/pt-self.c: Likewise.
19314 * htl/pt-setcancelstate.c: Likewise.
19315 * htl/pt-setcanceltype.c: Likewise.
19316 * htl/pt-sigmask.c: Likewise.
19317 * htl/pt-spin-inlines.c: Likewise.
19318 * htl/pt-testcancel.c: Likewise.
19319 * htl/pt-yield.c: Likewise.
19320 * htl/tests/test-1.c: Likewise.
19321 * htl/tests/test-10.c: Likewise.
19322 * htl/tests/test-11.c: Likewise.
19323 * htl/tests/test-12.c: Likewise.
19324 * htl/tests/test-13.c: Likewise.
19325 * htl/tests/test-14.c: Likewise.
19326 * htl/tests/test-15.c: Likewise.
19327 * htl/tests/test-16.c: Likewise.
19328 * htl/tests/test-17.c: Likewise.
19329 * htl/tests/test-2.c: Likewise.
19330 * htl/tests/test-3.c: Likewise.
19331 * htl/tests/test-4.c: Likewise.
19332 * htl/tests/test-5.c: Likewise.
19333 * htl/tests/test-6.c: Likewise.
19334 * htl/tests/test-7.c: Likewise.
19335 * htl/tests/test-8.c: Likewise.
19336 * htl/tests/test-9.c: Likewise.
19337 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
19338 * sysdeps/htl/bits/cancelation.h: Likewise.
19339 * sysdeps/htl/bits/pthread-np.h: Likewise.
19340 * sysdeps/htl/bits/pthread.h: Likewise.
19341 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
19342 * sysdeps/htl/bits/semaphore.h: Likewise.
19343 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
19344 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
19345 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
19346 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
19347 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
19348 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
19349 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
19350 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
19351 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
19352 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
19353 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
19354 * sysdeps/htl/old_pt-atfork.c: Likewise.
19355 * sysdeps/htl/pt-atfork.c: Likewise.
19356 * sysdeps/htl/pt-attr-destroy.c: Likewise.
19357 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
19358 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
19359 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
19360 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
19361 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
19362 * sysdeps/htl/pt-attr-getscope.c: Likewise.
19363 * sysdeps/htl/pt-attr-getstack.c: Likewise.
19364 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
19365 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
19366 * sysdeps/htl/pt-attr-init.c: Likewise.
19367 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
19368 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
19369 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
19370 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
19371 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
19372 * sysdeps/htl/pt-attr-setscope.c: Likewise.
19373 * sysdeps/htl/pt-attr-setstack.c: Likewise.
19374 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
19375 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
19376 * sysdeps/htl/pt-attr.c: Likewise.
19377 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
19378 * sysdeps/htl/pt-barrier-init.c: Likewise.
19379 * sysdeps/htl/pt-barrier-wait.c: Likewise.
19380 * sysdeps/htl/pt-barrier.c: Likewise.
19381 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
19382 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
19383 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
19384 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
19385 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
19386 * sysdeps/htl/pt-cond-destroy.c: Likewise.
19387 * sysdeps/htl/pt-cond-init.c: Likewise.
19388 * sysdeps/htl/pt-cond-signal.c: Likewise.
19389 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
19390 * sysdeps/htl/pt-cond-wait.c: Likewise.
19391 * sysdeps/htl/pt-cond.c: Likewise.
19392 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
19393 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
19394 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
19395 * sysdeps/htl/pt-condattr-init.c: Likewise.
19396 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
19397 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
19398 * sysdeps/htl/pt-destroy-specific.c: Likewise.
19399 * sysdeps/htl/pt-equal.c: Likewise.
19400 * sysdeps/htl/pt-getconcurrency.c: Likewise.
19401 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
19402 * sysdeps/htl/pt-getschedparam.c: Likewise.
19403 * sysdeps/htl/pt-getspecific.c: Likewise.
19404 * sysdeps/htl/pt-init-specific.c: Likewise.
19405 * sysdeps/htl/pt-key-create.c: Likewise.
19406 * sysdeps/htl/pt-key-delete.c: Likewise.
19407 * sysdeps/htl/pt-key.h: Likewise.
19408 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
19409 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
19410 * sysdeps/htl/pt-mutex-init.c: Likewise.
19411 * sysdeps/htl/pt-mutex-lock.c: Likewise.
19412 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
19413 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
19414 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
19415 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
19416 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
19417 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
19418 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
19419 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
19420 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
19421 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
19422 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
19423 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
19424 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
19425 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
19426 * sysdeps/htl/pt-mutexattr.c: Likewise.
19427 * sysdeps/htl/pt-once.c: Likewise.
19428 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
19429 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
19430 * sysdeps/htl/pt-rwlock-init.c: Likewise.
19431 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
19432 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
19433 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
19434 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
19435 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
19436 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
19437 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
19438 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
19439 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
19440 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
19441 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
19442 * sysdeps/htl/pt-setconcurrency.c: Likewise.
19443 * sysdeps/htl/pt-setschedparam.c: Likewise.
19444 * sysdeps/htl/pt-setschedprio.c: Likewise.
19445 * sysdeps/htl/pt-setspecific.c: Likewise.
19446 * sysdeps/htl/pt-spin.c: Likewise.
19447 * sysdeps/htl/pt-startup.c: Likewise.
19448 * sysdeps/htl/pthread.h: Likewise.
19449 * sysdeps/htl/sem-close.c: Likewise.
19450 * sysdeps/htl/sem-destroy.c: Likewise.
19451 * sysdeps/htl/sem-getvalue.c: Likewise.
19452 * sysdeps/htl/sem-init.c: Likewise.
19453 * sysdeps/htl/sem-open.c: Likewise.
19454 * sysdeps/htl/sem-post.c: Likewise.
19455 * sysdeps/htl/sem-timedwait.c: Likewise.
19456 * sysdeps/htl/sem-trywait.c: Likewise.
19457 * sysdeps/htl/sem-unlink.c: Likewise.
19458 * sysdeps/htl/sem-wait.c: Likewise.
19459 * sysdeps/hurd/htl/pt-kill.c: Likewise.
19460 * sysdeps/i386/htl/pt-machdep.h: Likewise.
19461 * sysdeps/mach/htl/pt-block.c: Likewise.
19462 * sysdeps/mach/htl/pt-spin.c: Likewise.
19463 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
19464 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
19465 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
19466 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
19467 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
19468 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
19469 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
19470 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
19471 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
19472 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
19473 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
19474 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
19475 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
19476 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
19477 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
19478 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
19479 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
19480 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
19481 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
19482 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
19483 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
19484 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
19485 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
19486 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
19487 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
19488 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
19489 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
19490 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
19491 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
19492 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
19493 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
19494 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
19495 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
19496 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
19497 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
19498 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
19499 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
19500 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
19501 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
19502 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
19503 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
19504 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
19505 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
19507 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
19508 * README: Remove the mention of out-of-tree patches needed for
19511 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
19512 (UTIME_NOW, UTIME_OMIT): Define macros.
19514 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
19515 instead of pthread_detach.
19516 (__cthread_fork): Call __pthread_create instead of pthread_create.
19517 (__cthread_keycreate): Call __pthread_key_create instead of
19518 pthread_key_create.
19519 (__cthread_getspecific): Call __pthread_getspecific instead of
19520 pthread_getspecific.
19521 (__cthread_setspecific): Call __pthread_setspecific instead of
19522 pthread_setspecific.
19523 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
19524 __pthread_mutex_unlock instead of pthread_mutex_lock and
19525 pthread_mutex_unlock.
19526 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
19527 ___pthread_get_cleanup_stack.
19528 (__pthread_get_cleanup_stack): New strong alias.
19529 * htl/pt-create.c: Include <pthreadP.h>.
19530 (entry_point): Call __pthread_exit instead of pthread_exit.
19531 (pthread_create): Rename to __pthread_create.
19532 (pthread_create): New strong alias.
19533 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
19534 (pthread_detach): New strong alias.
19535 (__pthread_detach): Call __pthread_cond_broadcast instead of
19536 pthread_cond_broadcast.
19537 * htl/pt-exit.c: Include <pthreadP.h>.
19538 (__pthread_exit): Call __pthread_setcancelstate and
19539 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
19540 __pthread_get_cleanup_stack.
19541 * htl/pt-testcancel.c: Include <pthreadP.h>.
19542 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
19543 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
19544 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
19545 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
19546 pthread_attr_getstacksize.
19547 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
19548 Rename to __pthread_attr_getstackaddr.
19549 (pthread_attr_getstackaddr): New strong alias.
19550 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
19551 Rename to __pthread_attr_getstacksize.
19552 (pthread_attr_getstacksize): New strong alias.
19553 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
19554 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
19555 (pthread_attr_setstack): New strong alias.
19556 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
19557 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
19558 pthread_attr_getstacksize, pthread_attr_setstacksize and
19559 pthread_attr_setstackaddr.
19560 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
19561 Rename to __pthread_attr_setstackaddr.
19562 (pthread_attr_setstackaddr): New strong alias.
19563 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
19564 Rename to __pthread_attr_setstacksize.
19565 (pthread_attr_setstacksize): New strong alias.
19566 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
19567 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
19569 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
19570 (__pthread_key_create): New hidden def.
19571 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
19572 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
19573 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
19574 __pthread_exit, __pthread_key_create, __pthread_getspecific,
19575 __pthread_setspecific, __pthread_setcancelstate,
19576 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
19577 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
19578 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
19580 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
19581 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
19582 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
19583 (pthread_attr_setstackaddr): New strong alias.
19584 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
19585 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
19586 (pthread_attr_setstacksize): New strong alias.
19587 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
19588 (call_exit): Call __pthread_exit instead of pthread_exit.
19589 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
19590 (_pthread_mutex_init): New hidden definition.
19591 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
19592 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
19593 instead of pthread_attr_init and pthread_attr_setstack.
19595 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
19596 __vm_deallocate instead of vm_allocate and vm_deallocate.
19597 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
19599 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
19601 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
19603 * hurd/siginfo.c: Include <libioP.h>.
19604 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
19605 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
19607 * mach/devstream.c: Include <libioP.h>.
19608 (dealloc_ref): Call __mach_port_deallocate instead of
19609 mach_port_deallocate.
19610 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
19611 Call __mach_port_deallocate instead of mach_port_deallocate.
19612 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
19614 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
19616 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
19617 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
19618 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
19620 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
19622 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
19623 instead of sysconf.
19624 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
19625 __clock_gettime instead of clock_gettime.
19626 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
19627 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19628 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
19629 * sysdeps/unix/bsd/stty.c (stty): Likewise.
19630 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
19632 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
19633 __clock_gettime and __nanosleep instead of clock_gettime and
19635 * hurd/catch-signal.c (hurd_catch_signal): Rename to
19636 __hurd_catch_signal.
19637 (hurd_catch_signal): New strong alias.
19638 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
19639 __hurd_catch_signal instead of hurd_catch_signal.
19640 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
19641 * hurd/hurdexec.c (_hurd_init): Add hidden def.
19642 * hurd/hurdinit.c (_hurd_init): Add hidden def.
19643 * hurd/hurdsig.c: Include <mach/mig_support.h>.
19644 (_hurd_thread_sigstate): Add hidden def.
19645 (_hurd_internal_post_signal): Use __mutex_unlock instead of
19647 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
19648 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
19649 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
19650 __hurd_file_name_path_lookup.
19651 (hurd_file_name_path_lookup): New strong alias.
19652 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
19653 hurd_file_name_path_lookup.
19654 * mach/errstring.c (mach_error_type): Add hidden def.
19655 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
19656 * mach/mutex-init.c (__mutex_init): Add hidden def.
19657 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
19658 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
19659 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
19660 * sysdeps/mach/hurd/getcwd.c
19661 (_hurd_canonicalize_directory_name_internal): Rename to
19662 __hurd_canonicalize_directory_name_internal.
19663 (_hurd_canonicalize_directory_name_internal): New strong alias.
19664 (__canonicalize_directory_name_internal, __getcwd): Call
19665 __hurd_canonicalize_directory_name_internal instead of
19666 _hurd_canonicalize_directory_name_internal.
19667 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
19668 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
19670 * sysdeps/hurd/include/hurd.h: New file.
19671 * sysdeps/hurd/include/hurd/fd.h: New file.
19672 * sysdeps/hurd/include/hurd/signal.h: New file.
19673 * sysdeps/mach/include/lock-intern.h: New file.
19674 * sysdeps/mach/include/mach.h: New file.
19675 * sysdeps/mach/include/mach/mig_support.h: New file.
19676 * sysdeps/mach/include/mach_error.h: New file.
19677 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
19679 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
19680 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
19681 _HEADER_H_HIDDEN_DEF macro.
19682 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
19683 _hurd_fd_error_signal): Add hidden prototype.
19684 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
19686 * libio/iolibio.h (_IO_puts): New hidden prototype.
19687 * libio/ioputs.c (_IO_puts): New hidden def.
19688 * sysdeps/mach/hurd/localplt.data: New file.
19690 2018-04-02 Agustina Arzille <avarzille@riseup.net>
19691 Amos Jeffries <squid3@treenet.co.nz>
19692 David Michael <fedora.dm0@gmail.com>
19693 Marco Gerards <marco@gnu.org>
19694 Marcus Brinkmann <marcus@gnu.org>
19695 Neal H. Walfield <neal@gnu.org>
19696 Pino Toscano <toscano.pino@tiscali.it>
19697 Richard Braun <rbraun@sceen.net>
19698 Roland McGrath <roland@gnu.org>
19699 Samuel Thibault <samuel.thibault@ens-lyon.org>
19700 Thomas DiModica <ricinwich@yahoo.com>
19701 Thomas Schwinge <tschwinge@gnu.org>
19703 * htl: New directory.
19704 * sysdeps/htl: New directory.
19705 * sysdeps/hurd/htl: New directory.
19706 * sysdeps/i386/htl: New directory.
19707 * sysdeps/mach/htl: New directory.
19708 * sysdeps/mach/hurd/htl: New directory.
19709 * sysdeps/mach/hurd/i386/htl: New directory.
19710 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
19711 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
19712 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
19714 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19716 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
19717 signals in thread created for runing timers.
19719 2018-04-01 Florian Weimer <fweimer@redhat.com>
19721 * support/support_format_addrinfo.c (support_format_addrinfo):
19722 Include unknown error number in formatted result.
19724 2018-03-29 Florian Weimer <fweimer@redhat.com>
19726 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
19729 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19731 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
19732 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
19733 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19734 (__ASSUME_CLONE_BACKWARDS): Define.
19736 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
19739 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
19740 early when linux sentinel value is set.
19742 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19744 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
19746 2018-03-27 Andreas Schwab <schwab@suse.de>
19749 * resolv/res_send.c (__res_context_send): Return ENOMEM if
19750 allocation of private copy of nsaddr_list fails.
19752 2018-03-26 Joseph Myers <joseph@codesourcery.com>
19755 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
19756 * sysdeps/unix/sysv/linux/umount.c: ... here.
19757 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
19758 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
19759 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
19760 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
19761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
19762 * sysdeps/unix/sysv/linux/umount.S: Likewise.
19763 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
19765 2018-03-26 Andreas Schwab <schwab@suse.de>
19767 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
19768 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
19769 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
19770 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
19771 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
19772 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
19773 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
19774 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
19775 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
19776 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
19777 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
19778 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
19779 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
19780 (R_RISCV_NUM): Define.
19782 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19784 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
19785 TLS declaration of errno.
19786 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
19788 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
19789 (ARCH_SETUP_TLS): Likewise.
19790 * sysdeps/mach/hurd/libc-start.h: New file copied from
19791 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
19792 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
19793 instead of __libc_setup_tls.
19794 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
19795 __libc_setup_tls before initializing libpthread and running _hurd_init
19796 which starts the signal thread.
19797 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
19799 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19801 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
19804 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
19805 after it is defined.
19807 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
19808 Max Horn <max@quendi.de>
19812 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
19814 * string/test-memmove.c (do_test2): New testcase.
19816 2018-03-22 Joseph Myers <joseph@codesourcery.com>
19818 * sysdeps/generic/frame.h: Remove file.
19819 * sysdeps/arm/frame.h: Likewise.
19820 * sysdeps/hppa/frame.h: Likewise.
19821 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
19823 (GET_FRAME): Likewise.
19824 (GET_STACK): Likewise.
19825 (CALL_SIGHANDLER): Likewise.
19826 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
19828 (GET_FRAME): Likewise.
19829 (GET_STACK): Likewise.
19830 (CALL_SIGHANDLER): Likewise.
19831 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
19832 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19833 (GET_FRAME): Likewise.
19834 (GET_STACK): Likewise.
19835 (CALL_SIGHANDLER): Likewise.
19836 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
19837 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19838 (GET_FRAME): Likewise.
19839 (GET_STACK): Likewise.
19840 (ADVANCE_STACK_FRAME): Likewise.
19841 (CALL_SIGHANDLER): Likewise.
19842 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
19843 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19844 (GET_FRAME): Likewise.
19845 (GET_STACK): Likewise.
19846 (CALL_SIGHANDLER): Likewise.
19847 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
19848 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19849 (GET_FRAME): Likewise.
19850 (GET_STACK): Likewise.
19851 (CALL_SIGHANDLER): Likewise.
19852 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
19853 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19854 (GET_FRAME): Likewise.
19855 (GET_STACK): Likewise.
19856 (CALL_SIGHANDLER): Likewise.
19857 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
19858 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19859 (GET_FRAME): Likewise.
19860 (GET_STACK): Likewise.
19861 (CALL_SIGHANDLER): Likewise.
19862 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
19863 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19864 (GET_FRAME): Likewise.
19865 (GET_STACK): Likewise.
19866 (CALL_SIGHANDLER): Likewise.
19867 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
19868 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19869 (GET_FRAME): Likewise.
19870 (GET_STACK): Likewise.
19871 (CALL_SIGHANDLER): Likewise.
19872 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
19873 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19874 (GET_FRAME): Likewise.
19875 (GET_STACK): Likewise.
19876 (CALL_SIGHANDLER): Likewise.
19877 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
19878 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19879 (GET_FRAME): Likewise.
19880 (GET_STACK): Likewise.
19881 (CALL_SIGHANDLER): Likewise.
19882 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
19883 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19884 (GET_FRAME): Likewise.
19885 (GET_STACK): Likewise.
19886 (CALL_SIGHANDLER): Likewise.
19887 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
19888 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19889 (FIRST_FRAME_POINTER): Likewise.
19890 (ADVANCE_STACK_FRAME): Likewise.
19891 (GET_STACK): Likewise.
19892 (GET_FRAME): Likewise.
19893 (CALL_SIGHANDLER): Likewise.
19894 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
19895 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19896 (ADVANCE_STACK_FRAME): Likewise.
19897 (GET_STACK): Likewise.
19898 (GET_FRAME): Likewise.
19899 (CALL_SIGHANDLER): Likewise.
19900 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
19901 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19902 (GET_FRAME): Likewise.
19903 (GET_STACK): Likewise.
19904 (CALL_SIGHANDLER): Likewise.
19905 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
19906 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19907 (GET_FRAME): Likewise.
19908 (GET_STACK): Likewise.
19909 (CALL_SIGHANDLER): Likewise.
19911 2018-03-21 Joseph Myers <joseph@codesourcery.com>
19913 * sysdeps/x86_64/backtrace.c: Move to ....
19914 * debug/backtrace.c: ... here.
19915 * sysdeps/aarch64/backtrace.c: Remove file.
19916 * sysdeps/alpha/backtrace.c: Likewise.
19917 * sysdeps/hppa/backtrace.c: Likewise.
19918 * sysdeps/ia64/backtrace.c: Likewise.
19919 * sysdeps/mips/backtrace.c: Likewise.
19920 * sysdeps/nios2/backtrace.c: Likewise.
19921 * sysdeps/riscv/backtrace.c: Likewise.
19922 * sysdeps/sh/backtrace.c: Likewise.
19923 * sysdeps/tile/backtrace.c: Likewise.
19925 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19928 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
19931 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
19934 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
19935 possibly overflowing computations.
19937 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
19939 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
19940 values from Linux-specific section now that it is in the GNU section.
19941 * sysdeps/gnu/errlist.c: Regenerate.
19943 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19945 * math/Makefile (libm-narrow-fns): Add sub.
19946 (libm-test-funcs-narrow): Likewise.
19947 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
19948 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
19949 * math/gen-auto-libm-tests.c (test_functions): Add sub.
19950 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
19951 (NARROW_SUB_ROUND_TO_ODD): Likewise.
19952 (NARROW_SUB_TRIVIAL): Likewise.
19953 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
19955 (__dsubl): Likewise.
19956 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
19958 (CFLAGS-nldbl-dsub.c): New variable.
19959 (CFLAGS-nldbl-fsub.c): Likewise.
19960 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19962 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
19964 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
19965 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
19966 * math/auto-libm-test-in: Add tests of sub.
19967 * math/auto-libm-test-out-narrow-sub: New generated file.
19968 * math/libm-test-narrow-sub.inc: New file.
19969 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
19970 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
19971 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
19972 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
19973 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
19974 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
19975 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
19976 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
19977 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
19978 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
19979 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
19980 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
19981 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
19982 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
19983 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
19984 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
19985 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
19986 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
19987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19988 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19989 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19990 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19991 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19992 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19993 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19994 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19995 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19996 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19997 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19998 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19999 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20000 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
20002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
20003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
20004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
20005 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20006 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20007 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20008 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20009 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20010 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20011 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
20012 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
20013 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20014 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20016 2018-03-19 Joseph Myers <joseph@codesourcery.com>
20019 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
20021 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
20023 * benchtests/bench-timing.h (attribute_hidden): Undefine.
20025 2018-03-18 Richard Braun <rbraun@sceen.net>
20027 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
20030 2018-03-18 Agustina Arzille <avarzille@riseup.net>
20032 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
20033 (__libc_cleanup_fct): Define function.
20034 (__libc_cleanup_region_start, __libc_cleanup_region_end,
20035 __libc_cleanup_end): Rewrite implementation using
20036 __attribute__ ((__cleanup__)).
20037 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
20038 * hurd/Makefile (routines): Add hurdlock.
20039 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
20041 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
20042 * hurd/hurdpid.c: Include <lowlevellock.h>
20043 (_S_msg_proc_newids): Use lll_wait to synchronize.
20044 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
20045 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
20046 * mach/Makefile (lock-headers): Remove machine-lock.h.
20047 * mach/lock-intern.h: Include <lowlevellock.h> instead of
20049 (__spin_lock_t): New type.
20050 (__SPIN_LOCK_INITIALIZER): New macro.
20051 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
20052 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
20053 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
20054 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
20055 (__mutex_init): Initialize with lll.
20056 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
20057 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
20059 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20060 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
20061 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
20062 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
20063 (__setpgid): Use lll for synchronization.
20064 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
20065 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
20066 instead of <cthreads.h>.
20067 (_IO_lock_inexpensive): New macro
20068 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
20069 (__libc_lock_self0): New declaration.
20070 (__libc_lock_owner_self): New macro.
20071 (__libc_key_t): Remove type.
20072 (_LIBC_LOCK_INITIALIZER): New macro.
20073 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
20074 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
20075 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
20076 __libc_lock_define_initialized_recursive,
20077 __rtld_lock_define_initialized_recursive,
20078 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
20079 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
20080 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
20081 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
20082 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
20083 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
20084 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
20086 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
20087 * hurd/hurdlock.c: New file.
20088 * hurd/hurdlock.h: New file.
20089 * mach/lowlevellock.h: New file
20091 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
20093 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
20094 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
20095 when opening a symlink with O_NOFOLLOW.
20096 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
20097 path when flags contains O_NOFOLLOW.
20098 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
20099 if flags contains O_DIRECTORY and the result is a directory.
20100 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
20101 oneself when the pointer given in D is nul (as set by ext2fs).
20102 * sysdeps/mach/hurd/mlockall.c: New file.
20103 * sysdeps/mach/hurd/munlockall.c: New file.
20105 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
20107 * hurd/hurdsig.c: Include <pthread.h>.
20108 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
20109 get the signal thread stack layout.
20110 * hurd/Makefile (headers): Remove threadvar.h.
20111 (inline-headers): Remove threadvar.h.
20112 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
20113 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
20114 __hurd_threadvar_max, __hurd_errno_location.
20115 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
20116 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
20117 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
20118 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
20119 unless TLS is not initialized yet, in which case we do not need a
20120 critical section yet anyway.
20121 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
20123 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
20125 (__hurd_threadvar_index): Remove enum.
20126 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
20127 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
20129 (__hurd_reply_port0): New variable declaration.
20130 (__hurd_local_reply_port): New macro.
20131 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
20132 (interrupted_reply_port_location): Add thread_t parameter. Use it
20133 with THREAD_TCB to access thread-local variables.
20134 (_hurdsig_abort_rpcs): Pass ss->thread to
20135 interrupted_reply_port_location.
20136 (_hurd_internal_post_signal): Likewise.
20137 (_hurdsig_init): Use presence of cthread_fork instead of
20138 __hurd_threadvar_stack_mask to start signal thread by hand.
20139 Remove signal thread threadvar initialization.
20140 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
20141 * hurd/sigunwind.c: Include <hurd/threadvar.h>
20142 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
20144 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
20146 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
20147 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
20148 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
20149 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
20150 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
20151 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
20152 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
20154 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
20155 <hurd/threadvar.h>.
20156 [IS_IN(rtld)] (rtld_errno): New variable.
20157 [IS_IN(rtld)] (__errno_location): New weak function.
20158 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
20159 * sysdeps/mach/hurd/errno.c: Remove file.
20160 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
20161 (__fork): Remove THREADVAR_SPACE macro and its use.
20162 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
20164 (init): Do not initialize threadvar.
20165 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
20167 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
20168 __hurd_local_reply_port instead of threadvar.
20169 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
20170 _hurd_sigstate fields.
20171 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
20172 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
20173 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
20174 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
20175 instead of threadvar.
20176 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
20177 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
20178 (use_threadvar, global_reply_port): Remove variables.
20179 (__hurd_reply_port0): New variable.
20180 (__mig_get_reply_port): Use __hurd_local_reply_port and
20181 __hurd_reply_port0 instead of threadvar.
20182 (__mig_dealloc_reply_port): Likewise.
20183 (__mig_init): Do not initialize threadvar.
20184 * sysdeps/mach/hurd/profil.c: Fix comment.
20185 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
20186 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
20187 cthread_keycreate, cthread_getspecific, cthread_setspecific to
20188 __cthread_fork, __cthread_detach, __pthread_getattr_np,
20189 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
20190 __cthread_setspecific.
20191 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
20192 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
20193 __cthread_t instead of cthread_fork, cthread_detach,
20194 pthread_getattr_np, pthread_attr_getstack.
20195 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
20196 __cthread_keycreate.
20197 (cthread_getspecific): Rename to __cthread_getspecific.
20198 (cthread_setspecific): Rename to __cthread_setspecific.
20199 (__libc_getspecific): Use __cthread_getspecific instead of
20200 cthread_getspecific.
20201 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
20202 __cthread_keycreate instead of cthread_keycreate.
20203 (__libc_setspecific): Use __cthread_setspecific instead of
20204 cthread_setspecific.
20205 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
20207 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
20208 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
20209 testing whether it is defined.
20211 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20213 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
20215 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
20216 * sysdeps/mach/i386/thread_state.h
20217 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
20219 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
20221 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
20223 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
20224 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
20226 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
20228 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
20229 descriptor instead of creating a new one.
20230 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
20232 * mach/setup-thread.c: Include <ldsodefs.h>.
20233 (__mach_setup_thread): Call _dl_allocate_tls, pass
20234 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
20235 MACHINE_THREAD_STATE_FLAVOR, before getting
20236 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
20237 MACHINE_THREAD_STATE_FLAVOR with the result.
20238 * hurd/hurdfault.c (_hurdsig_fault_init): Call
20239 MACHINE_THREAD_STATE_FIX_NEW.
20240 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
20241 too. Add original thread parameter.
20243 2018-03-16 Joseph Myers <joseph@codesourcery.com>
20245 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
20246 Remove inline function.
20248 * sysdeps/i386/fpu/libm-test-ulps: Update.
20249 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20251 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
20253 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
20256 2018-03-15 Joseph Myers <joseph@codesourcery.com>
20258 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
20259 (__sincos_code): Remove define and undefine.
20260 [__FAST_MATH__] (__sincos): Remove inline function.
20261 [__FAST_MATH__] (__sincosf): Remove inline function.
20262 [__FAST_MATH__] (__sincosl): Remove inline function.
20263 (__atan2l): Remove inline functions.
20264 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
20265 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
20267 (floor): Remove inline function.
20269 [__FAST_MATH__] (__ldexp_code): Remove macro.
20270 [__FAST_MATH__] (ldexp): Remove inline function.
20271 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
20272 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
20273 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
20274 [__USE_ISOC99] (__lrint_code): Remove macro.
20275 [__USE_ISOC99] (__llrint_code): Likewise.
20276 [__USE_ISOC99] (lrintf): Remove inline function.
20277 [__USE_ISOC99] (lrint): Likewise.
20278 [__USE_ISOC99] (lrintl): Likewise.
20279 [__USE_ISOC99] (llrint): Likewise.
20280 [__USE_ISOC99] (llrintf): Likewise.
20281 [__USE_ISOC99] (llrintl): Likewise.
20283 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20285 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
20286 (__ieee754_sqrtf): Remove.
20287 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
20288 (__ieee754_sqrtf): Remove.
20289 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
20290 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20291 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
20292 (__ieee754_sqrtf): Remove.
20293 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
20294 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
20297 (__ieee754_sqrt): Remove.
20298 (__ieee754_sqrtf): Remove.
20299 (__ieee754_sqrtl): Remove.
20300 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20301 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
20302 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
20303 (__ieee754_sqrtf): Remove.
20304 (__ieee754_sqrtl): Remove.
20306 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20308 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
20309 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20310 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20311 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
20312 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
20313 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20314 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20315 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20317 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
20318 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
20319 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20320 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20321 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
20322 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
20323 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20324 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
20325 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20326 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20327 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
20328 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20329 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
20330 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
20331 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
20332 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20333 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20334 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20335 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
20336 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
20337 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20338 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20339 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
20340 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
20341 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
20342 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
20343 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20344 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20345 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
20346 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20347 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20348 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
20349 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20350 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
20351 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20352 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20353 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
20354 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
20355 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20356 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
20358 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20360 * include/math.h (sqrt): Declare with asm redirect.
20363 (sqrtf128): Likewise.
20364 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
20365 nonlib and libnldbl with -fmath-errno.
20366 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
20367 * math/w_sqrt_template.c: Likewise.
20368 * math/w_sqrtf_compat.c: Likewise.
20369 * math/w_sqrtl_compat.c: Likewise.
20370 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
20371 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
20372 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
20375 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20377 * benchtests/Makefile: Define _ISOMAC.
20378 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
20379 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
20380 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
20381 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
20382 * benchtests/bench-timing.h: Define attribute_hidden.
20384 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
20386 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
20389 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20392 * localedata/locales/cs_CZ (mon): Rename to...
20394 (mon): Import from CLDR (genitive case).
20396 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20399 * localedata/locales/el_CY (abmon): Rename to...
20400 (ab_alt_mon): This.
20401 (abmon): Import from CLDR (abbreviated genitive case).
20402 * localedata/locales/el_GR (abmon): Rename to...
20403 (ab_alt_mon): This.
20404 (abmon): Import from CLDR (abbreviated genitive case).
20406 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20409 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
20411 2018-03-15 Robert Buj <robert.buj@gmail.com>
20414 * localedata/locales/ca_ES (abmon): Rename to...
20415 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20416 (mon): Rename to...
20418 (abmon): Import from CLDR (genitive case, month names preceded by
20421 (abday): Synchronize with CLDR.
20422 (d_t_fmt): Likewise.
20426 (LC_TIME): Improve indentation.
20427 (LC_TELEPHONE): Likewise.
20428 (LC_NAME): Likewise.
20429 (LC_ADDRESS): Likewise.
20431 2018-03-14 Joseph Myers <joseph@codesourcery.com>
20433 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
20434 (lrintf): Remove definitions used only with old GCC.
20435 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
20436 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
20437 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
20438 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
20439 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
20440 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
20441 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
20442 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
20443 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
20444 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
20445 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
20446 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
20447 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
20448 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
20449 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
20450 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
20451 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
20452 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
20453 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
20454 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
20455 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
20456 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
20457 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
20458 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
20459 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
20460 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
20461 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
20462 [__FAST_MATH__] (__M_SQRT2): Remove macro.
20464 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20466 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
20467 instruction to unbreak builds with binutils 2.26 and older.
20469 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20471 * sysdeps/aarch64/strncmp.S (count): New macro.
20472 (strncmp): Store misaligned length in SRC1 in COUNT.
20473 (mutual_align): Adjust.
20474 (misaligned8): Load dword at a time when it is safe.
20476 2018-03-12 Zack Weinberg <zackw@panix.com>
20480 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
20481 if the _IO_EOF_SEEN bit is already set; update commentary.
20482 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
20483 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20485 * support/support_openpty.c, support/tty.h: New files.
20486 * support/Makefile (libsupport-routines): Add support_openpty.
20488 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
20490 * libio/Makefile (tests): Add tst-fgetc-after-eof.
20491 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
20493 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
20495 * po/pt_BR.po: Update translations.
20497 2018-03-12 David Michael <fedora.dm0@gmail.com>
20499 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
20500 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
20501 get a port to the startup server.
20503 2018-03-11 Zack Weinberg <zackw@panix.com>
20505 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
20506 before nldbl-compat.h.
20508 2018-03-10 Zack Weinberg <zackw@panix.com>
20510 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
20511 math.h or math_private.h.
20513 * sysdeps/alpha/fpu/s_isnan.c
20514 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
20515 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
20516 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
20517 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
20518 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
20519 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
20520 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
20521 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
20522 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
20523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
20524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
20525 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
20526 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
20527 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
20528 Include math_private.h.
20530 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
20531 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
20532 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
20533 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
20534 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
20535 * sysdeps/powerpc/power7/fpu/s_logb.c:
20536 Include math.h and math_private.h.
20538 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
20539 uses of $at in .set noat / .set at.
20541 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
20543 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
20544 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
20545 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
20546 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
20549 2018-03-09 Florian Weimer <fweimer@redhat.com>
20551 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
20554 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
20557 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
20558 Add nop before __startcontext, add explaining comments.
20560 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20563 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
20565 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
20566 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
20567 Do not build hardware transactional code for __SPE__.
20568 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20569 (__lll_trylock_elision): Likewise.
20570 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20571 (__lll_unlock_elision): Likewise.
20573 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
20574 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
20575 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20576 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
20577 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
20578 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
20579 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
20580 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
20581 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
20582 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
20583 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
20584 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
20585 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
20586 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
20587 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
20588 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
20589 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
20590 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
20591 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
20592 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
20593 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
20594 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20595 (__ASSUME_CLONE_BACKWARDS): Define.
20596 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
20597 __clone2 if __NR_clone2 is defined.
20598 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20599 (__ASSUME_CLONE_BACKWARDS): Likewise.
20600 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20601 (__ASSUME_CLONE_BACKWARDS): Likewise.
20602 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20603 (__ASSUME_CLONE2): Likewise.
20604 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20605 (__ASSUME_CLONE_BACKWARDS3): Likewise.
20606 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
20607 variants and the define architecture can use.
20608 (__ASSUME_CLONE_DEFAULT): Define as default.
20609 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20610 (__ASSUME_CLONE_BACKWARDS): Likewise.
20611 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20612 (__ASSUME_CLONE_BACKWARDS): Likewise.
20613 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20614 (__ASSUME_CLONE_BACKWARDS2): Likewise.
20616 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
20618 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
20620 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
20623 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
20624 (do_test_limit): Likewise.
20626 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
20627 for every implementation.
20628 (do_test): Likewise.
20630 * benchtests/bench-strncmp.c: Convert output to json.
20632 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20634 * io/futimens.c: Add missing start-of-file descriptive comment.
20635 * io/utime.c: Likewise.
20636 * misc/futimesat.c: Likewise.
20637 * misc/utimes.c: Likewise.
20638 * sysdeps/mach/hurd/futimesat.c: Likewise.
20639 * sysdeps/mach/hurd/utimes.c: Likewise.
20640 * sysdeps/posix/utime.c: Likewise.
20641 * sysdeps/posix/utimes.c: Likewise.
20642 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
20643 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20644 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
20645 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
20647 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20649 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
20651 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
20652 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
20653 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
20654 (__futimens): Move implementation to...
20655 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
20656 utime_tvalue_from_tspec): ... new helper functions.
20657 (hurd_futimens): New function.
20658 * sysdeps/mach/hurd/futimesat.c: New file.
20659 * sysdeps/mach/hurd/utimensat.c: New file.
20661 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
20663 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
20664 UTIME_OMIT): New macros.
20665 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
20666 before reverting to converting time spec to time value and calling
20668 * sysdeps/mach/hurd/utime-helper.c: New file.
20669 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
20670 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
20671 reverting to utime_tvalue_from_tval and __file_utimes.
20672 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
20673 (__lutimes): Just call hurd_futimens after lookup.
20674 * sysdeps/mach/hurd/utimes.c: Likewise.
20676 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20678 * bits/sigaction.h: Add include guard.
20679 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
20680 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
20681 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
20682 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
20683 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
20684 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
20685 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
20686 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
20687 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
20689 2018-03-05 Joseph Myers <joseph@codesourcery.com>
20691 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
20692 -Wmaybe-uninitialized for -Os.
20693 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
20696 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20698 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
20699 __INO_T_MATCHES_INO64_T is defined.
20700 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
20701 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
20703 * dirent/alphasort64.c: Likewise.
20704 * dirent/scandir.c: Likewise.
20705 * dirent/scandir64-tail.c: Likewise.
20706 * dirent/scandir64.c: Likewise.
20707 * dirent/scandirat.c: Likewise.
20708 * dirent/scandirat64.c: Likewise.
20709 * dirent/versionsort.c: Likewise.
20710 * dirent/versionsort64.c: Likewise.
20711 * include/dirent.h: Likewise.
20713 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
20714 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
20715 for socketpair endpoint.
20716 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
20717 WRITE_BUFFER_SIZE as buffer size for sending socket.
20718 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
20719 issue on system where send is implemented with sendto syscall.
20720 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
20721 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
20722 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
20723 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
20726 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
20727 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
20728 sa_restorer for vDSO case.
20729 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
20731 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20733 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
20734 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
20735 * hurd/hurd/ioctl.h: Include <mach/port.h>
20736 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
20737 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
20738 <mach/mach_types.h> and <mach/message.h>.
20739 (headers): Move mach/param.h to bits/mach/param.h.
20740 * sysdeps/mach/i386/mach/param.h: Move file to ...
20741 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
20742 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
20744 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
20745 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
20746 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
20747 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
20748 trivial, for C++ conformity.
20749 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
20750 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
20751 Process mig output through $(migheadersed).
20752 * hurd/Makefile (migheadersed): Define variable.
20753 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
20754 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
20756 * hurd/hurd.h: Include <bits/types/sigset_t.h>
20757 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
20758 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
20759 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
20760 <bits/types/sigset_t.h>.
20761 [!defined __USE_GNU]: Do not #error out.
20762 (struct hurd_sigstate): Use _NSIG instead of NSIG.
20763 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
20764 Include <stddef.h> and <bits/types/sigset_t.h>
20765 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
20766 instead of sighandler_t.
20767 * stdlib/errno.h (error_t): Move definition to...
20768 * bits/types/error_t.h: ... new header.
20769 * stdlib/Makefile (headers): Add bits/types/error_t.h.
20770 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
20771 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
20772 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
20773 * hurd/hurd.h: Include <bits/types/error_t.h>
20774 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
20775 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
20776 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
20777 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
20778 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
20779 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
20780 * sysdeps/mach/hurd/futimens.c: New file.
20782 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
20785 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
20786 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
20787 * nscd/gai.c (__nss_hosts_database): Readd definition.
20788 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
20789 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
20790 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
20792 2018-03-02 Joseph Myers <joseph@codesourcery.com>
20794 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
20795 (ifunc_one): Likewise.
20797 2018-03-01 DJ Delorie <dj@delorie.com>
20800 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
20803 2018-03-01 Maciej W. Rozycki <macro@mips.com>
20805 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
20806 `match_pid' parameter.
20807 (td_ta_thr_iter): Update accordingly.
20809 2018-03-01 Florian Weimer <fweimer@redhat.com>
20811 * nptl/Makefile (install-lib-ldscripts): Remove.
20812 (install): Remove rule.
20813 ($(inst_libdir)/libpthread.so): Likewise.
20815 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20818 * localedata/locales/an_ES: update month and day names,
20819 improve d_fmt, improve postal_fmt, add country_post,
20822 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20824 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
20825 Ukrainian instead of Bulgarian.
20827 2018-03-01 Florian Weimer <fweimer@redhat.com>
20829 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
20832 2018-03-01 Florian Weimer <fweimer@redhat.com>
20834 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
20835 * nptl/Makefile (routines): Add pthread_atfork.
20836 (static-only-routines): Set to pthread_atfork.
20837 (libpthread-routines): Remove pthread_atfork.
20838 (libpthread-static-only-routines): Remove.
20839 (install): Update comment.
20840 (libpthread.so): Do not install libpthread_nonshared.a.
20841 (tests): Do not link with libpthread_nonshared.a.
20842 (generated): Remove libpthread_nonshared.a.
20843 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
20844 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
20845 with libpthread_nonshared.a.
20847 2018-02-28 Joseph Myers <joseph@codesourcery.com>
20850 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
20851 (libc_feholdexcept_setroundf128): New macro.
20852 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
20855 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
20857 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
20858 * include/inttypes.h: New file.
20860 2018-02-27 Joseph Myers <joseph@codesourcery.com>
20862 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
20863 -Os in two more places.
20865 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20867 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
20868 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
20869 be sorted correctly at the moment because of a bug.
20871 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20873 [BZ #22550] - es_ES locale (and other es_* locales): collation should
20874 treat ñ as a primary different character, sync the collation
20875 for Spanish with CLDR.
20876 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
20877 * localedata/Makefile: Add new test files.
20878 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
20879 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
20881 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
20882 * localedata/am_ET.UTF-8.in: New test file.
20883 * localedata/az_AZ.UTF-8.in: Likewise.
20884 * localedata/be_BY.UTF-8.in: Likewise.
20885 * localedata/ber_DZ.UTF-8.in: Likewise.
20886 * localedata/ber_MA.UTF-8.in: Likewise.
20887 * localedata/bg_BG.UTF-8.in: Likewise.
20888 * localedata/br_FR.UTF-8.in: Likewise.
20889 * localedata/cmn_TW.UTF-8.in: Likewise.
20890 * localedata/crh_UA.UTF-8.in: Likewise.
20891 * localedata/csb_PL.UTF-8.in: Likewise.
20892 * localedata/cv_RU.UTF-8.in: Likewise.
20893 * localedata/cy_GB.UTF-8.in: Likewise.
20894 * localedata/dz_BT.UTF-8.in: Likewise.
20895 * localedata/eo.UTF-8.in: Likewise.
20896 * localedata/es_ES.UTF-8.in: Likewise.
20897 * localedata/fa_IR.UTF-8.in: Likewise.
20898 * localedata/fi_FI.UTF-8.in: Likewise.
20899 * localedata/fil_PH.UTF-8.in: Likewise.
20900 * localedata/fur_IT.UTF-8.in: Likewise.
20901 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
20902 * localedata/ha_NG.UTF-8.in: Likewise.
20903 * localedata/ig_NG.UTF-8.in: Likewise.
20904 * localedata/ik_CA.UTF-8.in: Likewise.
20905 * localedata/kk_KZ.UTF-8.in: Likewise.
20906 * localedata/ku_TR.UTF-8.in: Likewise.
20907 * localedata/ky_KG.UTF-8.in: Likewise.
20908 * localedata/ln_CD.UTF-8.in: Likewise.
20909 * localedata/mi_NZ.UTF-8.in: Likewise.
20910 * localedata/ml_IN.UTF-8.in: Likewise.
20911 * localedata/mn_MN.UTF-8.in: Likewise.
20912 * localedata/mr_IN.UTF-8.in: Likewise.
20913 * localedata/mt_MT.UTF-8.in: Likewise.
20914 * localedata/nb_NO.UTF-8.in: Likewise.
20915 * localedata/om_KE.UTF-8.in: Likewise.
20916 * localedata/os_RU.UTF-8.in: Likewise.
20917 * localedata/ps_AF.UTF-8.in: Likewise.
20918 * localedata/ro_RO.UTF-8.in: Likewise.
20919 * localedata/ru_RU.UTF-8.in: Likewise.
20920 * localedata/sc_IT.UTF-8.in: Likewise.
20921 * localedata/se_NO.UTF-8.in: Likewise.
20922 * localedata/sq_AL.UTF-8.in: Likewise.
20923 * localedata/sv_SE.UTF-8.in: Likewise.
20924 * localedata/szl_PL.UTF-8.in: Likewise.
20925 * localedata/tg_TJ.UTF-8.in: Likewise.
20926 * localedata/tk_TM.UTF-8.in: Likewise.
20927 * localedata/tt_RU.UTF-8.in: Likewise.
20928 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
20929 * localedata/ug_CN.UTF-8.in: Likewise.
20930 * localedata/uz_UZ.UTF-8.in: Likewise.
20931 * localedata/vi_VN.UTF-8.in: Likewise.
20932 * localedata/yi_US.UTF-8.in: Likewise.
20933 * localedata/yo_NG.UTF-8.in: Likewise.
20934 * localedata/zh_CN.UTF-8.in: Likewise.
20935 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
20936 file and fix bugs in the collation.
20937 * localedata/locales/az_AZ: Likewise.
20938 * localedata/locales/be_BY: Likewise.
20939 * localedata/locales/ber_DZ: Likewise.
20940 * localedata/locales/ber_MA: Likewise.
20941 * localedata/locales/bg_BG: Likewise.
20942 * localedata/locales/br_FR: Likewise.
20943 * localedata/locales/br_FR@euro: Likewise.
20944 * localedata/locales/ca_ES: Likewise.
20945 * localedata/locales/cns11643_stroke: Likewise.
20946 * localedata/locales/crh_UA: Likewise.
20947 * localedata/locales/cs_CZ: Likewise.
20948 * localedata/locales/csb_PL: Likewise.
20949 * localedata/locales/cv_RU: Likewise.
20950 * localedata/locales/cy_GB: Likewise.
20951 * localedata/locales/da_DK: Likewise.
20952 * localedata/locales/dz_BT: Likewise.
20953 * localedata/locales/en_CA: Likewise.
20954 * localedata/locales/eo: Likewise.
20955 * localedata/locales/es_CU: Likewise.
20956 * localedata/locales/es_EC: Likewise.
20957 * localedata/locales/es_ES: Likewise.
20958 * localedata/locales/es_US: Likewise.
20959 * localedata/locales/et_EE: Likewise.
20960 * localedata/locales/fa_IR: Likewise.
20961 * localedata/locales/fi_FI: Likewise.
20962 * localedata/locales/fil_PH: Likewise.
20963 * localedata/locales/fur_IT: Likewise.
20964 * localedata/locales/gez_ER@abegede: Likewise.
20965 * localedata/locales/ha_NG: Likewise.
20966 * localedata/locales/hr_HR: Likewise.
20967 * localedata/locales/hsb_DE: Likewise.
20968 * localedata/locales/hu_HU: Likewise.
20969 * localedata/locales/ig_NG: Likewise.
20970 * localedata/locales/ik_CA: Likewise.
20971 * localedata/locales/is_IS: Likewise.
20972 * localedata/locales/iso14651_t1_pinyin: Likewise.
20973 * localedata/locales/kk_KZ: Likewise.
20974 * localedata/locales/ku_TR: Likewise.
20975 * localedata/locales/ky_KG: Likewise.
20976 * localedata/locales/ln_CD: Likewise.
20977 * localedata/locales/lt_LT: Likewise.
20978 * localedata/locales/lv_LV: Likewise.
20979 * localedata/locales/mi_NZ: Likewise.
20980 * localedata/locales/ml_IN: Likewise.
20981 * localedata/locales/mn_MN: Likewise.
20982 * localedata/locales/mr_IN: Likewise.
20983 * localedata/locales/mt_MT: Likewise.
20984 * localedata/locales/nb_NO: Likewise.
20985 * localedata/locales/om_KE: Likewise.
20986 * localedata/locales/os_RU: Likewise.
20987 * localedata/locales/pl_PL: Likewise.
20988 * localedata/locales/ps_AF: Likewise.
20989 * localedata/locales/ro_RO: Likewise.
20990 * localedata/locales/ru_RU: Likewise.
20991 * localedata/locales/ru_UA: Likewise.
20992 * localedata/locales/sc_IT: Likewise.
20993 * localedata/locales/se_NO: Likewise.
20994 * localedata/locales/si_LK: Likewise.
20995 * localedata/locales/sq_AL: Likewise.
20996 * localedata/locales/sv_FI: Likewise.
20997 * localedata/locales/sv_FI@euro: Likewise.
20998 * localedata/locales/sv_SE: Likewise.
20999 * localedata/locales/szl_PL: Likewise.
21000 * localedata/locales/tg_TJ: Likewise.
21001 * localedata/locales/ti_ER: Likewise.
21002 * localedata/locales/tk_TM: Likewise.
21003 * localedata/locales/tl_PH: Likewise.
21004 * localedata/locales/tr_TR: Likewise.
21005 * localedata/locales/tt_RU: Likewise.
21006 * localedata/locales/tt_RU@iqtelif: Likewise.
21007 * localedata/locales/ug_CN: Likewise.
21008 * localedata/locales/uk_UA: Likewise.
21009 * localedata/locales/uz_UZ: Likewise.
21010 * localedata/locales/uz_UZ@cyrillic: Likewise.
21011 * localedata/locales/vi_VN: Likewise.
21012 * localedata/locales/yi_US: Likewise.
21013 * localedata/locales/yo_NG: Likewise.
21015 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21017 * gen-locales.mk: Make test files which contain @ modifiers in their
21019 * localedata/gen-locale.sh: Likewise.
21021 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21023 * posix/tst-fnmatch.input: Fix results for range expressions
21025 * posix/tst-regexloc.c: Do not use a range expression for
21026 de_DE.ISO-8859-1 locale.
21028 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21030 * posix/bug-regex5.c: Fix test case because with the new
21031 iso14651_t1_common file, the da_DK locale now has 6 collating elements
21032 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
21035 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21037 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
21038 downloaded from ISO, the collation order of @-. and space has changed.
21039 Therefore, this test file needed to be adapted.
21040 * localedata/fr_CA.UTF-8.in: Likewise.
21041 * localedata/fr_FR.UTF-8.in: Likewise.
21042 * localedata/uk_UA.UTF-8.in: Likewise.
21044 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21046 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
21047 order of ȥ in the new iso14651_t1_common file.
21048 * localedata/pl_PL.UTF-8.in: Likewise.
21050 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21052 * localedata/locales/iso14651_t1_common: Add sections for various
21053 scripts to the iso14651_t1_common file.
21055 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21057 * localedata/locales/iso14651_t1_common: Use the code point of a
21058 character in the fourth collation level instead of IGNORE for all
21059 entries which have IGNORE on all 4 levels.
21061 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21063 * localedata/locales/iso14651_t1_common: Add some convenient collation
21064 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
21065 rules similar to those in CLDR.
21067 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21069 * localedata/locales/iso14651_t1_common: The new version of this
21070 file downloaded from ISO contained several syntax errors which
21071 are fixed by this patch.
21073 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21075 * localedata/locales/iso14651_t1_common: replace all <U.....>
21076 with <U000.....> because glibc understands only 4 digit or 8 digit
21078 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21080 * localedata/locales/iso14651_t1_common: Necessary changes
21081 to make the file downloaded from ISO usable by glibc.
21083 2018-02-27 Mike FABIAN <mfabian@redhat.com>
21086 * localedata/locales/iso14651_t1_common: Update file to
21087 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
21089 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
21091 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
21092 of <nptl/pthreadP.h>
21093 (thread_attr_compare): Move function to...
21094 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
21095 * sysdeps/nptl/timer_routines.h: ... new header.
21096 * sysdeps/mach/hurd/gai_misc.h: New file.
21098 2018-02-26 Joseph Myers <joseph@codesourcery.com>
21100 * string/strcoll_l.c: Include <libc-diag.h>.
21101 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
21102 declarations of seq1 and seq2.
21105 * stdlib/atoi.c (atoi): Use libc_hidden_def.
21106 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
21108 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
21112 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
21113 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
21114 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
21115 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
21116 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
21117 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
21119 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21121 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
21122 macros used in __ptrace_request.
21124 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
21127 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
21129 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
21130 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
21131 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
21134 2018-02-23 Joseph Myers <joseph@codesourcery.com>
21137 * ctype/ctype.c (tolower): Use libc_hidden_def.
21138 (toupper): Likewise.
21139 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
21140 [!_ISOMAC] (toupper): Likewise.
21142 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21144 * localedata/Makefile: Remove --quiet argument when
21147 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21150 * localedata/locales/pt_BR (LC_TIME): use / instead of -
21152 * localedata/locales/pt_PT (LC_TIME): likewise
21154 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21157 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
21158 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
21159 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
21161 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21165 * nptl/Makefile (routines): Remove unregister-atfork.
21166 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
21167 (fork_handler_alloc): Remove function.
21168 (fork_handlers, fork_handler_init): New variables.
21169 (__fork_lock): Rename to atfork_lock.
21170 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
21171 to use a dynamic array to add/remove atfork handlers.
21172 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21173 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
21174 Remove declaration.
21175 (fork_handler): Remove next, refcntr, and need_signal member.
21176 (__run_fork_handler_type): New enum.
21177 (__run_fork_handlers): New prototype.
21178 * nptl/register-atfork.c: Remove file.
21179 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
21181 * sysdeps/nptl/nptl-signals.h: Move to ...
21182 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
21184 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
21185 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
21186 unnecessary check for SIGTIMER.
21187 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
21188 remove unnecessary removal of SIGTIMER.
21189 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
21190 include-signals.h rename.
21191 * nptl/pthreadP.h: Likewise.
21192 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
21193 __is_internal_signal instead of __nptl_is_internal_signal.
21195 2018-02-22 Andrew Waterman <andrew@sifive.com>
21198 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
21199 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
21200 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
21201 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
21203 2018-02-22 DJ Delorie <dj@delorie.com>
21205 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
21207 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
21209 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
21210 do_misaligned, not misaligned8.
21212 2018-02-22 Steve Ellcey <sellcey@cavium.com>
21214 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21215 Add memcpy_thunderx2.
21216 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
21218 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
21219 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
21220 and IS_THUNDERX2PA checks.
21221 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
21222 Use macro to set name appropriately.
21223 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
21224 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
21225 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
21227 (IS_THUNDERX2): New macro.
21229 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
21231 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21233 2018-02-21 Zack Weinberg <zackw@panix.com>
21235 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
21236 Define here, unconditionally.
21237 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
21238 * libio/libioP.h: Remove #if 0 blocks.
21239 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
21240 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
21241 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
21243 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
21244 Assume weak_alias is always defined.
21246 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
21247 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
21248 Remove #if 0 and #ifdef TODO blocks.
21249 Assume text_set_element is always defined.
21251 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
21252 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
21253 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
21255 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
21256 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
21257 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
21258 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
21259 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
21260 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
21261 Reformat bit flags for _flags field to make occupancy clearer.
21263 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
21264 Keep definitions consistent with those in libio/libio.h.
21266 * libio/libio.h (_IO_file_flags): Remove macro.
21267 All uses changed to _flags.
21269 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
21270 (__HAVE_COLUMN, _IO_BE): Don't define.
21271 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
21272 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
21273 * libio/libioP.h (EOF): Don't define.
21274 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
21275 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
21276 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
21277 testing _IO_UNIFIED_JUMPTABLES.
21279 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
21280 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
21281 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
21282 (_IO_size_t): Delete; all uses changed to size_t.
21283 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
21284 (_IO_off_t): Delete; all uses changed to off_t.
21285 (_IO_off64_t): Delete; all uses changed to off64_t.
21286 (_IO_pid_t): Delete; all uses changed to pid_t.
21287 (_IO_uid_t): Delete; all uses changed to uid_t.
21288 (_IO_wint_t): Delete; all uses changed to wint_t.
21289 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
21290 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
21291 (_IO_cookie_io_functions_t): Delete; all uses changed to
21292 cookie_io_functions_t.
21293 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
21294 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
21295 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
21296 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
21298 * libio/iofopncook.c: Remove unnecessary forward declarations.
21299 * libio/iolibio.h: Correct outdated commentary.
21300 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
21301 * stdio-common/fxprintf.c (__fxprintf_nocancel):
21302 Remove unnecessary casts.
21303 * stdio-common/getline.c: Use _IO_getdelim directly.
21304 Don't redefine ssize_t.
21305 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
21306 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
21307 Remove outdated comments.
21308 * stdio-common/vfscanf.c: Don't redefine va_list.
21310 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
21311 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
21312 Remove preprocessor conditionals on _LIBC and __USE_GNU,
21313 which are always true, and __cplusplus, which is always false.
21315 2018-02-21 Joseph Myers <joseph@codesourcery.com>
21319 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
21320 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
21321 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
21322 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
21324 [!_ISOMAC] (putc_unlocked): Likewise.
21325 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
21326 define inline if [__USE_EXTERN_INLINES].
21327 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
21332 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
21333 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
21334 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
21335 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
21336 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
21338 * time/tzfile.c (__tzfile_read): Likewise.
21340 2018-02-21 Mike FABIAN <mfabian@redhat.com>
21343 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
21345 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21347 * io/fcntl.h: Fix a typo in a comment.
21349 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21352 * include/features.h: Add _ISOC11_SOURCE to test for whether to
21353 define _DEFAULT_SOURCE.
21354 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
21356 2018-02-21 Florian Weimer <fweimer@redhat.com>
21359 * elf/cache.c (save_cache): Call fsync on temporary file before
21361 (save_aux_cache): Call fdatasync on temporary file before renaming
21364 2018-02-21 Florian Weimer <fweimer@redhat.com>
21367 * include/caller.h: Remove file.
21368 * elf/dl-caller.c: Likewise.
21369 * elf/Makefile (dl-routines): Remove dl-caller.
21370 (shared-only-routines): Do not add dl-caller.
21371 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
21373 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
21375 (dl_open_worker): Do not call __check_caller.
21376 (_dl_open): Do not set caller_dl_open member.
21377 * elf/rtld.c (_rtld_global_ro): Do not initialize
21378 _dl_check_caller member.
21379 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
21380 _dl_check_caller member.
21381 (_dl_check_caller): Remove declaration.
21382 * sysdeps/unix/sysv/linux/dl-execstack.c
21383 (_dl_make_stack_executable): Do not call __check_caller.
21385 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
21387 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
21388 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
21390 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21392 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
21395 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21398 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
21399 of 199606L, 200112L, and 200809L.
21400 (_XOPEN_SOURCE): Document special values of 600 and 700.
21401 (_ISOC11_SOURCE): Document macro.
21402 (_ATFILE_SOURCE): Likewise.
21403 (_FORTIFY_SOURCE): Likewise.
21405 2018-02-19 Joseph Myers <joseph@codesourcery.com>
21409 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
21410 and define as weak alias of __ferror_unlocked. Use
21412 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
21414 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
21415 function if [__USE_EXTERN_INLINES].
21416 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
21419 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
21422 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
21424 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21427 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
21428 the GLIBC_2.1 version.
21430 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21433 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
21434 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
21435 intl/tst-gettext-de.po from po/de.po by removing the
21436 POT-Creation-Date line.
21437 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
21439 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
21442 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
21444 * mach/Makefile (headers): Add mach/param.h.
21445 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
21446 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
21447 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
21448 (__ptsname_r): Move implementation to...
21449 (__ptsname_internal): ... new function. Add filling the STP
21452 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
21454 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
21457 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
21459 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
21462 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21464 * nptl/Makefile (tst-mutex8-ENV): Delete.
21465 * nptl/tst-mutex8.c (check_type):
21466 Add runtime check if mutex will be elided.
21468 2018-02-15 Joseph Myers <joseph@codesourcery.com>
21472 * manual/install.texi (Configuring and compiling): Describe
21473 passing CC and CFLAGS on configure command line, not as
21474 environment variables. Use @code markup on those variables.
21475 Specify what options go in CC and what go in CFLAGS. Note the
21476 requirement to compile with optimization.
21477 * INSTALL: Regenerated.
21480 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
21481 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
21482 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
21483 __sigprocmask instead of sigprocmask.
21484 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
21486 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
21487 __sigsetjmp and sigprocmask.
21490 * include/argz.h (argz_next): Use libc_hidden_proto.
21491 (__argz_next): Likewise.
21492 * string-argz-next.c (__argz_next): Use libc_hidden_def.
21493 (argz_next): Use libc_hidden_weak.
21496 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
21498 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
21502 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
21504 * libio/iofputs.c (fputs): Use libc_hidden_weak.
21508 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
21509 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
21510 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
21511 (__feof_unlocked): New declaration, and inline function if
21512 [__USE_EXTERN_INLINES].
21513 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
21514 instead of feof_unlocked.
21515 * intl/localealias.c [_LIBC] (FEOF): Likewise.
21516 * nss/nsswitch.c (nss_parse_file): Likewise.
21517 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
21519 * time/getdate.c (__getdate_r): Likewise.
21520 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
21521 Define as macro to call __feof_unlocked.
21523 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21525 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
21527 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21529 * math/Makefile: Remove mpexp.c and mplog.c
21530 * sysdeps/i386/fpu/mpexp.c: Delete file.
21531 * sysdeps/i386/fpu/mplog.c: Likewise.
21532 * sysdeps/ia64/fpu/mpexp.c: Likewise.
21533 * sysdeps/ia64/fpu/mplog.c: Likewise.
21534 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
21535 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
21536 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
21537 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21538 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
21539 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
21540 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
21541 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
21542 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
21543 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21544 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
21545 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
21546 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21547 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
21548 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
21549 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21551 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21553 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21555 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21557 * sysdeps/sh/libm-test-ulps: Update.
21559 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21561 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
21564 2018-02-12 Zack Weinberg <zackw@panix.com>
21567 * posix/sys/types.h: Don't include sys/sysmacros.h.
21568 * misc/sys/sysmacros.h: Remove the conditional deprecation
21569 warnings for the macros defined by this header.
21571 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21573 * manual/probes.texi: Remove slowexp probes.
21574 * math/Makefile: Remove slowexp.
21575 * sysdeps/generic/math_private.h (__slowexp): Remove.
21576 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
21577 document error bounds.
21578 * sysdeps/i386/fpu/slowexp.c: Remove.
21579 * sysdeps/ia64/fpu/slowexp.c: Remove.
21580 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
21581 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
21582 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
21583 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
21584 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
21585 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
21586 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
21587 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
21588 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
21589 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
21590 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
21592 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
21595 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
21596 * benchtests/pow-inputs: Update comment for slow path cases.
21597 * manual/probes.texi (slowpow_p10): Delete removed probe.
21598 (slowpow_p10): Likewise.
21599 * math/Makefile: Remove halfulp.c and slowpow.c.
21600 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
21601 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
21602 (__halfulp): Remove.
21603 (__slowpow): Remove.
21604 * sysdeps/i386/fpu/halfulp.c: Delete file.
21605 * sysdeps/i386/fpu/slowpow.c: Likewise.
21606 * sysdeps/ia64/fpu/halfulp.c: Likewise.
21607 * sysdeps/ia64/fpu/slowpow.c: Likewise.
21608 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
21609 improve comments and add error analysis.
21610 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
21611 (power1): Remove function:
21612 (log1): Remove error argument, add error analysis.
21613 (my_log2): Remove function.
21614 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
21615 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21616 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
21617 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
21618 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
21619 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
21620 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
21621 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
21622 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
21623 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
21624 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
21625 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21626 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
21627 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21629 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21631 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
21632 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
21634 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
21637 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
21638 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
21639 and PTRACE_SETHBPREGS.
21641 2018-02-10 Zack Weinberg <zackw@panix.com>
21644 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
21646 * malloc/tst-malloc-stats-cancellation.c: New test case.
21647 * malloc/Makefile: Add new test case.
21649 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
21651 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
21653 2018-02-10 Joseph Myers <joseph@codesourcery.com>
21655 * math/Makefile (libm-narrow-fns): Add add.
21656 (libm-test-funcs-narrow): Likewise.
21657 * math/Versions (GLIBC_2.28): Add narrowing add functions.
21658 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
21659 * math/gen-auto-libm-tests.c (test_functions): Add add.
21660 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
21661 (NARROW_ADD_ROUND_TO_ODD): Likewise.
21662 (NARROW_ADD_TRIVIAL): Likewise.
21663 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
21665 (__daddl): Likewise.
21666 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
21668 (CFLAGS-nldbl-dadd.c): New variable.
21669 (CFLAGS-nldbl-fadd.c): Likewise.
21670 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
21672 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
21674 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
21675 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
21676 * math/auto-libm-test-in: Add tests of add.
21677 * math/auto-libm-test-out-narrow-add: New generated file.
21678 * math/libm-test-narrow-add.inc: New file.
21679 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
21680 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
21681 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
21682 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
21683 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
21684 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
21685 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
21686 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
21687 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
21688 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
21689 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
21690 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
21691 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
21692 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
21693 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
21694 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
21695 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
21696 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
21697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21698 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
21699 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21700 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21701 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21702 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21703 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21704 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21705 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21706 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21707 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21708 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21709 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21710 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
21712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
21713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
21714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
21715 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21716 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21717 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21718 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21719 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21720 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21721 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
21722 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
21723 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21724 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21726 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
21727 (f128-pairs): New variable.
21728 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
21729 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
21731 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
21732 Also make tests add $(f128-loader-link) to gnulib-tests.
21734 2018-02-09 DJ Delorie <dj@redhat.com>
21737 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
21738 64-bit ELF type for 64-bit ELF objects.
21740 2018-02-09 Joseph Myers <joseph@codesourcery.com>
21742 * math/libm-test-driver.c (snan_tests_arg): New variable.
21743 * math/libm-test-support.h (snan_tests_arg): New declaration.
21744 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
21746 * math/Makefile (test-type-pairs): New variable.
21747 (test-type-pairs-f64xf128-yes): Likewise.
21748 (tests): Add test-narrow-macros.
21749 (libm-test-funcs-narrow): New variable.
21750 (libm-test-c-narrow): Likewise.
21751 (generated): Add $(libm-test-c-narrow).
21752 (libm-tests-base-narrow): New variable.
21753 (libm-tests-narrow): Likewise.
21754 (libm-tests): Add $(libm-tests-narrow).
21755 (libm-tests-for-type): Handle $(libm-tests-narrow).
21756 (libm-test-c-narrow-obj): New variable.
21757 ($(libm-test-c-narrow-obj)): New rule.
21758 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
21759 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
21760 $(o-iterator) to set dependencies and CFLAGS.
21761 * math/gen-auto-libm-tests.c: Document use for narrowing
21763 (output_for_one_input_case): Take argument NARROW.
21764 (generate_output): Likewise. Update call to
21765 output_for_one_input_case.
21766 (main): Take --narrow option. Update call to generate_output.
21767 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
21768 (apply_lit): Update call to _apply_lit.
21769 (apply_arglit): New function.
21770 (parse_args): Handle "a" arguments.
21771 (parse_auto_input): Handle format names using ":".
21772 * math/README.libm-test: Document "a" parameter type.
21773 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
21774 (ARG_TYPE_TRUE_MIN): Likewise.
21775 (ARG_TYPE_MAX): Likwise.
21776 (ARG_MIN_EXP): Likewise.
21777 (ARG_MAX_EXP): Likewise.
21778 (ARG_MANT_DIG): Likewise.
21779 (TEST_COND_arg_ibm128): Likewise.
21780 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
21781 (TEST_COND_arg_fmt): New macro.
21782 (init_max_error): Update prototype.
21783 * math/libm-test-support.c (test_ibm128): New variable.
21784 (init_max_error): Take argument testing_ibm128 and set test_ibm128
21785 instead of using [TEST_COND_ibm128] conditional.
21786 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
21787 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
21788 [TEST_NARROW] (TEST_MSG): New definition.
21789 (arg_plus_zero): New macro.
21790 (arg_minus_zero): Likewise.
21791 (arg_plus_infty): Likewise.
21792 (arg_minus_infty): Likewise.
21793 (arg_qnan_value_pl): Likewise.
21794 (arg_qnan_value): Likewise.
21795 (arg_snan_value_pl): Likewise.
21796 (arg_snan_value): Likewise.
21797 (arg_max_value): Likewise.
21798 (arg_min_value): Likewise.
21799 (arg_min_subnorm_value): Likewise.
21800 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
21801 (RUN_TEST_LOOP_aa_f): New macro.
21802 (TEST_SUFF): New macro.
21803 (TEST_SUFF_STR): Likewise.
21804 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
21805 (TEST_COND_any_ibm128): New macro.
21806 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
21807 this_func. Update call to init_max_error.
21808 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
21809 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
21810 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
21811 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
21812 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
21813 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
21814 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
21815 * math/test-math-scalar.h (TEST_NARROW): Likewise.
21816 * math/test-math-vector.h (TEST_NARROW): Likewise.
21817 * math/test-arg-double.h: New file.
21818 * math/test-arg-float128.h: Likewise.
21819 * math/test-arg-float32x.h: Likewise.
21820 * math/test-arg-float64.h: Likewise.
21821 * math/test-arg-float64x.h: Likewise.
21822 * math/test-arg-ldouble.h: Likewise.
21823 * math/test-math-narrow.h: Likewise.
21824 * math/test-narrow-macros.c: Likewise.
21825 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
21826 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
21827 test-narrow-macros-ldbl-64.
21828 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
21830 * math/bits/mathcalls-narrow.h: New file.
21831 * include/bits/mathcalls-narrow.h: Likewise.
21832 * math/math-narrow.h: Likewise.
21833 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
21834 (__MATHCALL_NARROW_ARGS_2): Likewise.
21835 (__MATHCALL_NARROW_ARGS_3): Likewise.
21836 (__MATHCALL_NARROW_NORMAL): Likewise.
21837 (__MATHCALL_NARROW_REDIR): Likewise.
21838 (__MATHCALL_NARROW): Likewise.
21839 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
21840 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
21842 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21843 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
21844 (libm-narrow-fns): New variable.
21845 (libm-narrow-types-basic): Likewise.
21846 (libm-narrow-types-ldouble-yes): Likewise.
21847 (libm-narrow-types-float128-yes): Likewise.
21848 (libm-narrow-types-float128-alias-yes): Likewise.
21849 (libm-narrow-types): Likewise.
21850 (libm-routines): Add narrowing functions.
21851 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
21852 (libc_feholdexcept_setroundf128): New macro.
21853 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
21854 * sysdeps/ieee754/float128/float128_private.h: Include
21855 <math/math-narrow.h>.
21856 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
21857 Undefine and redefine.
21858 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
21859 (libm_alias_float_ldouble): Undefine and redefine.
21860 (libm_alias_double_ldouble): Likewise.
21862 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
21864 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
21866 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
21869 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
21871 * manual/creature.texi: Convert references to gcc.info to gcc.
21872 * manual/stdio.texi: Likewise.
21873 * manual/string.texi: Likewise.
21875 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21878 * posix/bits/types.h (__int_least8_t): New typedef.
21879 (__uint_least8_t): Likewise.
21880 (__int_least16_t): Likewise.
21881 (__uint_least16_t): Likewise.
21882 (__int_least32_t): Likewise.
21883 (__uint_least32_t): Likewise.
21884 (__int_least64_t): Likewise.
21885 (__uint_least64_t): Likewise.
21886 * sysdeps/generic/stdint.h (int_least8_t): Define using
21888 (int_least16_t): Define using __int_least16_t.
21889 (int_least32_t): Define using __int_least32_t.
21890 (int_least64_t): Define using __int_least64_t.
21891 (uint_least8_t): Define using __uint_least8_t.
21892 (uint_least16_t): Define using __uint_least16_t.
21893 (uint_least32_t): Define using __uint_least32_t.
21894 (uint_least64_t): Define using __uint_least64_t.
21895 * wcsmbs/uchar.h: Include <bits/types.h>.
21896 (char16_t): Define using __uint_least16_t conditional only on
21898 (char32_t): Define using __uint_least32_t conditional only on
21900 * wcsmbs/test-char-types.c: New file.
21901 * wcsmbs/Makefile (tests): Add test-char-types.
21903 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
21906 2018-02-07 Zack Weinberg <zackw@panix.com>
21908 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
21909 Delete all contents except for definitions of _G_HAVE_MMAP and
21910 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
21911 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
21912 sysdeps/unix/sysv/linux/_G_config.h. Make same content
21915 * libio/libio.h: Don't include bits/_G_config.h here.
21916 Include stddef.h with __need_wchar_t defined. Include
21917 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
21918 Define _IO_iconv_t here, directly.
21919 Don't define _IO_HAVE_ST_BLKSIZE.
21920 * libio/libioP.h: Include _G_config.h here. Move include of
21921 shlib-compat.h up with rest of includes. Simplify conditionals
21922 controlling definition of _IO_JUMPS_OFFSET.
21924 * csu/init.c: Remove always-true #if around entire file.
21925 Don't include stdio.h. Set _IO_stdin_used to hardwired
21926 constant 0x20001, and update commentary.
21927 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
21928 Replace all uses of _G_va_list with __gnuc_va_list.
21929 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
21930 instead of #if _IO_HAVE_ST_BLKSIZE.
21931 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
21932 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
21935 * libio/bits/libio.h: Move back to libio/libio.h and adjust
21936 multiple-include guard to match.
21937 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
21939 Remove preprocessor conditionals that are always true and/or
21940 redundant to other preprocessor conditionals in the same nest.
21941 Include shlib-compat.h unconditionally.
21942 Error out if _LIBC is not defined, or if _ISOMAC is defined,
21943 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
21944 defined after including stdio.h.
21945 Use __BEGIN_DECLS/__END_DECLS.
21947 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
21948 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
21949 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
21951 2018-02-07 Zack Weinberg <zackw@panix.com>
21953 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
21954 New single-type headers split from _G_config.h.
21955 * libio/bits/types/cookie_io_functions_t.h
21956 * libio/bits/types/struct_FILE.h
21957 New single-type headers split from libio.h.
21959 * libio/Makefile: Install the above new headers. Don't install
21960 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
21962 * libio/_G_config.h, libio/libio.h: Delete file.
21964 * libio/bits/libio.h: Remove improper-inclusion guard.
21965 Include stdio.h and don't repeat anything that it does.
21966 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
21967 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
21968 __io_read_fn as cookie_read_function_t,
21969 __io_write_fn as cookie_write_function_t,
21970 __io_seek_fn as cookie_seek_function_t,
21971 __io_close_fn as cookie_close_function_t,
21972 and _IO_cookie_io_functions_t as cookie_io_functions_t.
21973 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
21974 here, in the "compatibility defines" section. Remove an #if 0
21975 block. Use the "body" macros from bits/types/struct_FILE.h to
21976 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
21977 and _IO_ferror_unlocked.
21978 Move prototypes of __uflow and __overflow...
21980 * libio/stdio.h: ...here. Don't include bits/libio.h.
21981 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
21982 directly from stdarg.h. Include bits/types/__fpos_t.h,
21983 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
21984 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
21985 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
21986 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
21987 cookie_io_functions_t, not _IO_cookie_io_functions_t;
21988 __ssize_t, not _IO_ssize_t. Unconditionally define
21989 BUFSIZ as 8192 and EOF as (-1).
21991 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
21992 macros from bits/types/struct_FILE.h instead of _IO_* macros
21993 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
21994 instead of _IO_ssize_t.
21995 * libio/bits/stdio2.h: Similarly.
21997 * libio/iolibio.h: Add multiple-include guard.
21998 Include bits/libio.h after stdio.h.
21999 * libio/libioP.h: Add multiple-include guard.
22000 Include stdio.h and bits/libio.h before iolibio.h.
22002 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
22003 * include/bits/types/cookie_io_functions_t.h
22004 * include/bits/types/struct_FILE.h: New wrappers.
22006 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
22007 Get definitions of _G_fpos_t and _G_fpos64_t from
22008 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
22009 respectively. Remove improper-inclusion guards.
22011 * conform/data/stdio.h-data: Update expectations of va_list.
22012 * scripts/check-installed-headers.sh: Remove special case for
22013 libio.h and _G_config.h.
22015 2018-02-07 Joseph Myers <joseph@codesourcery.com>
22019 * include/sys/sysmacros.h [!_ISOMAC]
22020 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
22021 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
22022 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
22023 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
22025 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
22026 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
22028 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
22029 Undefine and redefine to add use __gnu_dev_ prefix.
22030 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
22032 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
22033 and define as hidden inline function.
22034 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
22036 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
22038 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
22039 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
22040 (gnu_dev_minor): Likewise.
22041 (gnu_dev_makedev): Likewise.
22042 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
22044 * posix/wordexp.c (exec_comm_child): Likewise.
22045 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
22046 instead of minor and __gnu_dev_major instead of major.
22047 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
22048 __gnu_dev_major instead of major.
22049 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
22050 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
22051 instead of gnu_dev_minor.
22052 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
22053 (SLAVE_P): Likewise.
22054 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
22055 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
22059 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
22061 * locale/weightwc.h (findidx): Likewise.
22063 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
22065 * manual/probes.texi (slowlog): Delete documentation of removed probe.
22066 (slowlog_inexact): Likewise
22067 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
22068 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
22070 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
22073 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
22074 missing second underscore to parameter name.
22076 2018-02-06 Joseph Myers <joseph@codesourcery.com>
22082 * bits/byteswap.h: Update file comment. Do not include
22083 <bits/byteswap-16.h>.
22084 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
22086 (__bswap_16): Define as inline function.
22087 (__bswap_constant_32): Reformat definition.
22088 (__bswap_32): Always define as inline function, not macro, using
22089 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
22090 otherwise __bswap_constant_32.
22091 (__bswap_constant_64): Reformat definition. Do not use
22092 __extension__ here.
22093 (__bswap_64): Always define as inline function, not macro. Use
22094 __extension__ on function definition. Use __builtin_bswap64 if
22095 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
22096 * string/test-endian-file-scope.c: New file.
22097 * string/test-endian-sign-conversion.c: Likewise.
22098 * string/Makefile (headers): Remove bits/byteswap-16.h.
22099 (tests): Add test-endian-file-scope and
22100 test-endian-sign-conversion.
22101 (CFLAGS-test-endian-sign-conversion.c): New variable.
22102 * bits/byteswap-16.h: Remove file.
22103 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
22104 * sysdeps/ia64/bits/byteswap.h: Likewise.
22105 * sysdeps/m68k/bits/byteswap.h: Likewise.
22106 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22107 * sysdeps/s390/bits/byteswap.h: Likewise.
22108 * sysdeps/tile/bits/byteswap.h: Likewise.
22109 * sysdeps/x86/bits/byteswap-16.h: Likewise.
22110 * sysdeps/x86/bits/byteswap.h: Likewise.
22113 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
22114 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
22115 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
22116 199901L] (__restrict): Define to restrict.
22119 * string/testcopy.c: Include <support/support.h>. Do not include
22120 <malloc.h>. Use <support/test-driver.c>.
22121 (main): Rename to do_test. Make static. Use xmalloc instead of
22125 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
22126 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
22127 (SSIZE_MAX): Define to INT_MAX.
22128 * posix/test-ssize-max.c: New file.
22129 * posix/Makefile (tests): Add test-ssize-max.
22132 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
22133 <support/support.h>. Do not include <malloc.h>.
22134 (query_auxv): Use xmalloc instead of malloc.
22137 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
22138 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
22141 2018-02-06 Florian Weimer <fweimer@redhat.com>
22144 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22145 Use scratch_buffer instead of extend_alloca.
22147 2018-02-06 Zack Weinberg <zackw@panix.com>
22149 * libio/stdio.h: Don't define getc or putc as macros.
22150 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
22151 not _IO_getc and _IO_putc.
22153 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
22154 * stdio-common/tstgetln.c: Don't redefine ssize_t.
22156 2018-02-06 Joseph Myers <joseph@codesourcery.com>
22158 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
22159 (TCP_FASTOPEN_NO_COOKIE): Likewise.
22161 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
22164 * elf/elf.h (NT_PRFPREG): New macro.
22165 (NT_S390_VXRS_LOW): Likewise.
22166 (NT_S390_VXRS_HIGH): Likewise.
22167 (NT_S390_GS_CB): Likewise.
22168 (NT_S390_GS_BC): Likewise.
22169 (NT_S390_RI_CB): Likewise.
22171 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
22172 (MAP_SYNC): New macro.
22173 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
22175 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
22176 (MAP_SYNC): Likewise.
22177 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
22178 (MAP_SYNC): Likewise.
22179 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
22180 (MAP_SYNC): Likewise.
22181 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
22182 (MAP_SYNC): Likewise.
22183 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
22184 (MAP_SYNC): Likewise.
22185 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
22186 (MAP_SYNC): Likewise.
22187 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
22189 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
22192 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
22193 (MAP_SHARED_VALIDATE): New macro.
22194 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22195 (MAP_SHARED_VALIDATE): Likewise.
22197 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22199 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
22200 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
22201 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22203 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22205 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
22206 (DT_NUM): Updated to 35.
22208 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22210 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
22211 __builtin_expect with __glibc_likely and __glibc_unlikely.
22212 (elf_machine_rela): Likewise.
22213 (elf_machine_lazy_rel): Likewise.
22215 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22217 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
22218 __builtin_expect with __glibc_likely and __glibc_unlikely.
22219 (elf_machine_lazy_rel): Likewise.
22221 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22224 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
22226 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
22228 2018-02-05 Andreas Schwab <schwab@suse.de>
22231 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
22234 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22236 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
22237 not check against PTHREAD_STACK_MIN.
22239 2018-02-02 Sean McKean <smckean83@gmail.com>
22242 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
22244 2018-02-02 Florian Weimer <fweimer@redhat.com>
22247 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
22248 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
22249 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
22250 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
22251 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
22252 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
22253 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
22254 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
22255 * manual/llio.texi (Scatter-Gather): Mention offset -1.
22256 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
22257 * misc/tst-preadvwritev2.c (do_test): Call it.
22258 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
22260 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
22262 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
22264 * benchtests/bench-memcmp.c: Print json instead of plain text.
22266 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
22269 2018-02-01 Joseph Myers <joseph@codesourcery.com>
22271 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22273 (s390_sthyi): New syscall.
22275 * sysdeps/generic/ldbl-classify-compat.h: New file.
22276 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
22277 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
22278 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
22279 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
22280 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
22281 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
22282 * sysdeps/ieee754/dbl-64/s_finite.c: Include
22283 <ldbl-classify-compat.h>.
22284 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22285 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
22286 <ldbl-classify-compat.h>.
22287 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22288 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
22289 <ldbl-classify-compat.h>.
22290 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22291 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
22292 <ldbl-classify-compat.h>.
22293 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22294 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
22295 <ldbl-classify-compat.h>.
22296 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22297 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
22298 <ldbl-classify-compat.h>.
22299 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22300 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
22301 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22302 * sysdeps/m68k/coldfire/math_private.h: Remove file.
22303 * sysdeps/microblaze/math_private.h: Likewise.
22304 * sysdeps/nios2/math_private.h: Likewise.
22305 * sysdeps/sh/math_private.h: Likewise.
22307 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
22308 * sysdeps/m68k/coldfire/math_private.h: ... here.
22309 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
22310 * sysdeps/tile/math_private.h: Likewise.
22311 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
22313 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
22316 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
22318 (libc_fetestexcept): Likewise.
22319 (libc_feupdateenv_test): Likewise.
22320 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
22321 (libc_fetestexcept): Likewise.
22322 (libc_feupdateenv_test): Likewise.
22323 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
22324 (libc_fetestexcept): Likewise.
22325 (libc_feupdateenv_test): Likewise.
22326 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
22327 (libc_fetestexcept): Likewise.
22328 (libc_feupdateenv_test): Likewise.
22330 * sysdeps/generic/math_private.h
22331 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
22332 New inline function.
22333 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
22336 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
22337 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
22338 * sysdeps/generic/math_private.h
22339 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
22341 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
22343 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
22345 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
22347 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
22349 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
22351 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
22352 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
22353 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
22354 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
22355 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
22356 (__fegetenv): Likewise.
22357 (fesetenv): Likewise.
22358 (__fesetenv): Likewise.
22359 (feupdateenv): Likewise.
22360 (__feupdateenv): Likewise.
22361 (fegetround): Likewise.
22362 (__fegetround): Likewise.
22363 (fesetround): Likewise.
22364 (__fesetround): Likewise.
22366 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
22367 (feraiseexcept): New macro.
22368 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
22369 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
22371 (__feraiseexcept): Likewise.
22372 (feclearexcept): Likewise.
22373 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
22374 (__feraiseexcept): Likewise.
22375 (feclearexcept): Likewise.
22376 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
22377 (__feraiseexcept): Likewise.
22378 (feclearexcept): Likewise.
22379 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
22380 (__feraiseexcept): Likewise.
22381 (feclearexcept): Likewise.
22382 (fetestexcept): Likewise.
22384 * sysdeps/m68k/coldfire/math-tests.h: New file.
22386 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
22387 * sysdeps/m68k/bits/fenv.h: ... here.
22388 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
22390 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
22392 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
22394 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
22396 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
22398 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
22400 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
22401 (__FE_UNDEFINED): New enum constant.
22402 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
22404 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
22406 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
22408 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
22409 to match generic bits/fenv.h.
22410 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
22413 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
22415 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
22416 * soft-fp/half.h (union _FP_UNION_H): Likewise.
22417 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
22418 * soft-fp/single.h (union _FP_UNION_S): Likewise.
22420 2018-02-01 Carlos O'Donell <carlos@redhat.com>
22421 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
22422 Joseph Myers <joseph@codesourcery.com>
22425 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
22426 (__log1p): Disable -Wmaybe-uninitialized for -Os around
22427 computation using c.
22428 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
22429 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
22430 computation using c.
22432 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22434 * version.h (RELEASE): Set to "development".
22435 (VERSION): Set to "2.27.9000".
22436 * NEWS (2.28): New section.
22438 * version.h (RELEASE): Set to "stable".
22439 (VERSION): Set to "2.27".
22440 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
22442 * NEWS: Add the list of bugs fixed in 2.27.
22444 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22446 * stdlib/test-atexit-race-common.c (do_test): Check stack size
22447 against PTHREAD_STACK_MIN.
22449 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22451 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
22453 (Rafał Lużyński, Andreas Schwab): Update.
22455 2018-02-01 Rafał Lużyński <digitalfreak@lingonborough.com>
22458 * NEWS: List the languages which actually use the alternative
22459 months feature in this release. Also explain that "alt_mon" and
22460 "ab_alt_mon" are optional.
22462 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
22465 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
22467 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
22469 * manual/install.texi (Tools for Compilation): Update the newest
22470 versions of gcc, binutils, texinfo, gawk, bison, and sed.
22471 * INSTALL: Regenerated.
22473 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22475 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
22476 instead of __builtin_expect.
22478 2018-01-30 Florian Weimer <fweimer@redhat.com>
22480 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
22482 * nss/tst-nss-getpwent.c (do_test): Likewise.
22484 2018-01-30 Rafał Lużyński <digitalfreak@lingonborough.com>
22487 * localedata/locales/hr_HR (mon): Rename to...
22489 (mon): Import from CLDR (genitive case).
22490 (d_t_fmt): Update the comment.
22492 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
22494 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
22495 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
22496 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
22498 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22500 * mach/Versions: Fix version when __mach_host_self_ was added.
22501 * hurd/Versions: Fix version when _hurd_exec_paths was added.
22502 * sysdeps/mach/hurd/i386/ld.abilist: New file.
22503 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
22504 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
22505 * sysdeps/mach/hurd/i386/libc.abilist: New file.
22506 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
22507 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
22508 * sysdeps/mach/hurd/i386/libm.abilist: New file.
22509 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
22510 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
22511 * sysdeps/mach/hurd/i386/librt.abilist: New file.
22512 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
22513 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
22514 || to respect codestyle.
22515 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
22516 (do_test_bz20181): Rename accordingly.
22517 * malloc/malloc.c: Include <assert.h>.
22518 (assert): Do not define.
22519 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
22520 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
22521 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
22522 * sysdeps/mach/hurd/hp-timing.h: New file.
22523 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
22525 2018-01-29 Darius Rad <darius@bluespec.com>
22527 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
22529 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
22531 * sysdeps/init_array/crti.S (.section .init_array): Add
22532 PREINIT_FUNCTION when defined.
22533 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
22534 * config.h.in: Regenerate.
22535 * manual/platform.texi: Add RISC-V documenation for
22536 __riscv_flush_icache.
22537 * sysdeps/riscv/__longjmp.S: New file.
22538 * sysdeps/riscv/backtrace.c: Likewise.
22539 * sysdeps/riscv/bits/endian.h: Likewise.
22540 * sysdeps/riscv/bits/setjmp.h: Likewise.
22541 * sysdeps/riscv/bits/wordsize.h: Likewise.
22542 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
22543 * sysdeps/riscv/bsd-setjmp.c: Likewise.
22544 * sysdeps/riscv/dl-trampoline.S: Likewise.
22545 * sysdeps/riscv/gccframe.h: Likewise.
22546 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
22547 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
22548 * sysdeps/riscv/machine-gmon.h: Likewise.
22549 * sysdeps/riscv/memusage.h: Likewise.
22550 * sysdeps/riscv/setjmp.S: Likewise.
22551 * sysdeps/riscv/sys/asm.h: Likewise.
22552 * sysdeps/riscv/tls-macros.h: Likewise.
22553 * sysdeps/riscv/dl-tls.h: New file.
22554 * sysdeps/riscv/libc-tls.c: Likewise.
22555 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
22556 * sysdeps/riscv/nptl/tls.h: Likewise.
22557 * sysdeps/riscv/stackinfo.h: Likewise.
22558 * sysdeps/riscv/bits/fenv.h: New file.
22559 * sysdeps/riscv/e_sqrtl.c: Likewise.
22560 * sysdeps/riscv/fpu_control.h: Likewise.
22561 * sysdeps/riscv/math-tests.h: Likewise.
22562 * sysdeps/riscv/nofpu/Implies: Likewise.
22563 * sysdeps/riscv/sfp-machine.h: Likewise.
22564 * sysdeps/riscv/tininess.h: Likewise.
22565 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
22566 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
22567 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
22568 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
22569 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
22570 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
22571 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
22572 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
22573 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
22574 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
22575 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
22576 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
22577 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
22578 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
22579 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
22580 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
22581 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
22582 * sysdeps/riscv/rvd/s_finite.c: Likewise.
22583 * sysdeps/riscv/rvd/s_fma.c: Likewise.
22584 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
22585 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
22586 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
22587 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
22588 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
22589 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
22590 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
22591 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
22592 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
22593 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
22594 * sysdeps/riscv/rvf/fegetround.c: Likewise.
22595 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
22596 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
22597 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
22598 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
22599 * sysdeps/riscv/rvf/fesetround.c: Likewise.
22600 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
22601 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
22602 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
22603 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
22604 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
22605 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
22606 * sysdeps/riscv/rvf/math_private.h: Likewise.
22607 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
22608 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
22609 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
22610 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
22611 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
22612 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
22613 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
22614 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
22615 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
22616 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
22617 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
22618 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
22619 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
22620 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
22621 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
22622 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
22623 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
22624 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
22625 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
22626 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
22627 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
22628 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
22629 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
22630 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
22631 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
22632 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
22633 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
22634 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
22635 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
22636 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
22637 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
22638 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
22639 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
22640 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
22641 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
22642 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
22643 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
22644 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
22645 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
22646 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
22647 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
22648 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
22649 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
22650 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
22651 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
22652 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
22653 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
22654 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
22655 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
22656 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
22657 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
22658 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
22659 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
22660 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
22661 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
22662 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
22663 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
22664 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
22665 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
22666 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
22667 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
22668 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
22669 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
22670 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
22671 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
22672 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
22673 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
22674 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
22675 * sysdeps/riscv/Implies: New file.
22676 * sysdeps/riscv/Makefile: Likewise.
22677 * sysdeps/riscv/configure: Likewise.
22678 * sysdeps/riscv/configure.ac: Likewise.
22679 * sysdeps/riscv/nptl/Makefile: Likewise.
22680 * sysdeps/riscv/preconfigure: Likewise.
22681 * sysdeps/riscv/rv64/Implies-after: Likewise.
22682 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
22683 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
22684 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
22685 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
22686 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
22687 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
22688 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
22689 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
22690 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
22691 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
22692 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
22693 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
22694 (Config): Likewise.
22696 2018-01-29 Florian Weimer <fweimer@redhat.com>
22699 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
22700 libnsl_hidden_proto.
22701 * include/rpcsvc/yp.h (yp_xdrall): Declare with
22702 libnsl_hidden_proto.
22703 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
22704 * nis/Makefile (libnsl-routines): Add nss-default only for
22705 build-obsolete-nsl.
22706 * nis/nis_defaults.c (__nis_default_ttl): Add
22707 libnsl_hidden_nolink_def.
22708 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
22710 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
22711 * nis/ypclnt.c (yp_maplist): Likewise.
22713 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
22715 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22716 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
22718 2018-01-29 Joseph Myers <joseph@codesourcery.com>
22720 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
22721 clean -dxfq for git updates when replacing sources.
22723 * scripts/build-many-glibcs.py (Config.build_gcc): Use
22724 --disable-libcilkrts unconditionally, not just for the final GCC
22727 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22730 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22733 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
22736 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22739 * localedata/locales/be_BY (mon): Rename to...
22740 (alt_mon): This, then synchronize with CLDR (nominative case).
22741 (abmon): Rename to...
22742 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
22743 (mon): Import from CLDR (genitive case).
22745 * localedata/locales/be_BY@latin (mon): Rename to...
22747 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
22749 * localedata/locales/be_BY@latin (lang_name): Reworded to
22750 "biełaruskaja mova".
22752 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22755 * localedata/locales/el_CY (mon): Renamed to...
22757 (mon): Import from CLDR (genitive case).
22758 * localedata/locales/el_GR: Likewise.
22760 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22763 * localedata/locales/ru_RU (mon): Rename to...
22765 (abmon): Rename to...
22766 (ab_alt_mon): This.
22767 (mon): Import from CLDR (genitive case).
22768 (abmon): Copy from the old content except the 5th month which is
22769 now in the genitive case, even when abbreviated.
22770 * localedata/locales/ru_UA: Likewise.
22771 * time/tst-strptime.c (day_tests): Add an actual example of
22772 a difference between %b and %Ob in Russian.
22774 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22776 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
22777 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
22779 * resolv/res-close.c: Include <stdlib.h>.
22780 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
22781 <sys/wait.h>, <time.h>, <sys/uio.h>.
22782 (NOT_CANCEL_H): Add inclusion guard.
22783 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
22784 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
22785 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
22787 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
22788 vm_address_t * to ElfW(Addr) * for dl_main parameter.
22789 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
22791 * sysdeps/pthread/timer_create.c (timer_create): Do not use
22792 timer_ptr2id to cast struct timer_node * to void *.
22793 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
22794 --disable-libcilkrts to gcc configure.
22795 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
22796 and make them the default for now.
22797 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
22798 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
22799 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
22800 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
22801 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
22803 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
22804 __task_terminate would ever return successfully.
22805 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
22807 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
22808 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
22809 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
22810 critical section to make code simpler and avoid warning.
22811 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
22812 critical section to make code simpler and avoid warning.
22813 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
22814 const char * instead of char *.
22815 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
22816 __hurd_file_name_split, hurd_file_name_split,
22817 __hurd_directory_name_split, hurd_directory_name_split,
22818 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
22819 hurd_file_name_path_lookup): Make lookup function parameter take a
22820 const char *name instead of char *name.
22821 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
22822 __hurd_directory_name_split): Likewise.
22823 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
22824 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
22825 * sysdeps/mach/hurd/check_native.c: New file.
22826 * sysdeps/mach/hurd/check_pf.c: New file.
22827 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
22828 (__freeifaddrs): Define macro to freeifaddrs.
22829 * sysdeps/mach/hurd/libhurduser.abilist: New file.
22830 * sysdeps/mach/libmachuser.abilist: New file.
22831 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
22832 (do_test_bz20181): Rename accordingly.
22833 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
22834 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
22836 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
22837 version only if __USE_EXTERN_INLINES is defined.
22838 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
22839 __hurd_sockfail): Likewise.
22840 (_hurd_fd_get): Always declare functions, and provide inline versions
22841 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
22842 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
22843 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
22844 _hurd_port_set): Always declare functions, and provide inline versions
22845 only if __USE_EXTERN_INLINES and _LIBC are defined and
22847 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
22848 _hurd_critical_section_unlock): Likewise.
22849 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
22850 * __hurd_threadvar_location): Likewise.
22851 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
22852 _hurd_userlink_clear): Likewise.
22853 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
22854 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
22855 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
22856 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
22857 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
22858 __spin_lock_locked): Likewise.
22859 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
22860 __spin_lock_locked): Likewise.
22861 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
22862 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
22863 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
22864 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
22865 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
22866 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
22867 _POSIX_NO_TRUNC): Define to 0.
22868 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
22869 check size against PTHREAD_STACK_MIN.
22870 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
22871 IS_IN(libpthread)]: Include <sigsetops.h>.
22872 * mach/Makefile (user-interfaces): Add mach/gnumach.
22873 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
22874 * sysdeps/mach/configure (mach_interface_list): Regenerate.
22875 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
22876 instead of invalid -1.
22877 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
22878 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
22879 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
22882 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
22884 * hurd/fcntl-internal.h: New file.
22886 2018-01-27 James Clarke <jrtc27@jrtc27.com>
22888 * sysdeps/hppa/fpu/libm-test-ulps: Update.
22890 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22892 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
22895 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
22896 Build only shared objects.
22898 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22900 * README: Update for hppa.
22902 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22904 * sysdeps/sparc/fpu/libm-test-ulps: Update
22905 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
22907 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22911 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22914 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22915 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22916 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22917 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22920 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22923 * bits/types/__cancel_jmp_buf_tag.h: New file.
22924 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22925 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22926 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22927 * nptl/Makefile (headers): Add
22928 bits/types/__cancel_jmp_buf_tag.h.
22929 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22930 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22931 * sysdeps/nptl/pthread.h: Include
22932 <bits/types/__cancel_jmp_buf_tag.h>.
22933 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22935 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22937 2018-01-25 Rafał Lużyński <digitalfreak@lingonborough.com>
22940 * localedata/locales/uk_UA (mon): Renamed to...
22942 (alt_digits): "0" removed and then renamed to...
22944 (date_fmt): Definition changed not to use the alternative
22947 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
22949 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
22950 FLAG_RISCV_FLOAT_ABI_DOUBLE.
22951 * elf/elf.h (EF_RISCV_RVC): New define.
22952 (EF_RISCV_FLOAT_ABI): Likewise.
22953 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
22954 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
22955 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22956 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
22957 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
22959 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22961 2018-01-25 Andreas Schwab <schwab@suse.de>
22963 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
22965 * sysdeps/gnu/configure: Regenerate.
22966 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22967 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22969 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22970 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22971 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
22972 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22973 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22975 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
22977 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
22978 URL, and run autoconf, make it the default for now.
22980 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22982 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22983 soft-float ColdFire configuration.
22985 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
22986 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
22987 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
22989 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
22992 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
22994 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
22996 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
22999 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
23000 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
23001 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
23004 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
23007 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
23008 Rename to __reserved and add comment.
23009 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
23010 Rename to __reserved.
23012 2018-01-24 Joseph Myers <joseph@codesourcery.com>
23014 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23015 i686-gnu configurations.
23016 (Context.run_builds): Include mig, gnumach and hurd in components
23018 (Context.checkout): Add mig, gnumach and hurd to components.
23019 (Context.checkout_tar): Add URL mappings for mig, gnumach and
23021 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
23022 (Config.build): Install gnumach headers, build mig and install
23023 hurd headers for 'gnu' OS.
23024 (Config.install_gnumach_headers): New function.
23025 (Config.install_hurd_headers): Likewise.
23026 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
23027 when building for 'gnu' OS.
23029 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
23031 * manual/tunables.texi (Hardware Capability Tunables): Fix
23034 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
23036 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
23037 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
23038 (ALTMON_11, ALTMON_12): Improve documentation.
23039 * manual/time.texi (strftime): Likewise.
23041 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
23044 * localedata/locales/pl_PL: Alternative month names added,
23045 primary month names are genitive now.
23046 * time/tst-strptime.c (day_tests): Actually use a genitive case
23047 of a month name in Polish language.
23049 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
23052 * manual/locale.texi: Document ALTMON_1..12 constants for
23053 nl_langinfo. Specify when to use ALTMON instead of MON.
23054 * manual/time.texi (strftime, strptime): Document GNU extension
23055 permitting O modifier with %B and %b. Specify when to use
23058 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
23061 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
23062 names, define them as the same as abbreviated month names explicitly.
23063 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
23064 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
23065 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
23066 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
23067 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
23068 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
23069 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
23070 _NL_WABALTMON_12): New enum constants.
23071 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
23072 wab_alt_mon, and ab_alt_mon_defined members.
23073 (time_output): Output ab_alt_mon and wab_alt_mon members.
23074 (time_read): Read them, initialize them as copies of abmon and wabmon
23075 respectively if they are missing, initialize ab_alt_mon_defined.
23076 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
23077 * locale/programs/locfile-kw.h: Regenerate.
23078 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
23079 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
23081 * time/strftime_l.c (a_altmonth, aam_len): New macros.
23082 [!COMPILE_WIDE] (ABALTMON_1): New macro.
23083 (__strftime_internal): Handle %Ob and %Oh formats.
23084 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
23085 (__strptime_internal): Handle %Ob and %Oh formats.
23086 * time/tst-strptime.c (day_tests): Add more tests to parse different
23087 forms of month names including the new %Ob format specifier.
23089 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
23092 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
23093 define them as the same as primary full month names explicitly.
23094 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
23095 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
23096 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
23097 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
23098 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
23099 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
23100 _NL_WALTMON_12): New enum constants.
23101 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
23102 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
23104 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
23105 walt_mon, and alt_mon_defined members.
23106 (time_output): Output alt_mon and walt_mon members.
23107 (time_read): Read them, initialize them as copies of mon and wmon
23108 respectively if they are missing, initialize alt_mon_defined.
23109 * locale/programs/locfile-kw.gperf (alt_mon): Define.
23110 * locale/programs/locfile-kw.h: Regenerate.
23111 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
23112 * localedata/tst-langinfo.c (map): Add tests for the new constants
23113 ALTMON_1 .. ALTMON_12.
23114 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
23116 * time/strftime_l.c (f_altmonth): New macro.
23117 (__strftime_internal): Handle %OB format.
23118 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
23119 (__strptime_internal): Handle %OB format.
23120 * time/tst-strptime.c (day_tests): Add tests to parse different forms
23121 of month names including the new %OB format specifier.
23123 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23126 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
23127 from ABORT_TRANSACTION.
23128 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
23129 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
23130 ABORT_TRANSACTION_IMPL): Likewise.
23131 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
23132 Linux code, but remove the code that aborts transactions.
23134 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
23136 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
23138 2018-01-19 Rafał Lużyński <digitalfreak@lingonborough.com>
23140 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
23141 in date: "2004-14-09" should be "2004-09-14".
23142 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
23143 "2003-15-09" should be "2003-09-15".
23145 2018-01-18 Arjun Shankar <arjun@redhat.com>
23151 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
23153 (_int_memalign): check for integer overflow before calling
23155 * malloc/tst-malloc-too-large.c: New test.
23156 * malloc/Makefile: Add tst-malloc-too-large.
23158 2018-01-18 Rafał Lużyński <digitalfreak@lingonborough.com>
23160 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
23161 in date: "2017-24-07" should be "2017-07-24".
23162 * localedata/locales/mai_IN: Likewise.
23163 * localedata/locales/mai_NP: Likewise.
23165 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
23167 * po/ru.po: Update translations.
23169 2018-01-17 Joseph Myers <joseph@codesourcery.com>
23172 * sysdeps/hppa/backtrace.c: New file.
23174 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
23177 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
23178 align La_x86_64_retval to VEC_SIZE.
23180 2018-01-16 Joseph Myers <joseph@codesourcery.com>
23182 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
23183 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
23185 2018-01-16 Florian Weimer <fweimer@redhat.com>
23187 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
23188 Move tst-thread-exit-clobber ...
23189 [$(CXX)] (tests-unsupported): ... to here.
23191 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23193 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
23194 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
23195 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23196 (_dl_aarch64_cap_flags): Update.
23197 (_DL_HWCAP_COUNT): Update.
23199 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23201 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
23202 (_DL_HWCAP_LAST): Remove.
23203 (_DL_HWCAP_COUNT): Move to ...
23204 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23205 (_DL_HWCAP_COUNT): ... here.
23207 2018-01-16 Florian Weimer <fweimer@redhat.com>
23209 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
23210 mode with GNU extensions.
23212 2018-01-15 Alan Hayward <alan.hayward@arm.com>
23214 * elf/elf.h (NT_ARM_SVE): Define.
23216 2018-01-15 Florian Weimer <fweimer@redhat.com>
23219 * nptl/tst-minstack-throw.cc: New file.
23220 * nptl/Makefile (tests): Add tst-minstack-throw.
23221 (LDLIBS-tst-minstack-throw): Link with libstdc++.
23222 [!CXX] (tests-unsupported): Add tst-minstack-throw.
23224 2018-01-15 Joseph Myers <joseph@codesourcery.com>
23226 * scripts/build-many-glibcs.py (Context.checkout): Default
23227 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
23230 2018-01-13 Carlos O'Donell <carlos@redhat.com>
23233 * elf/elf.h (DF_1_STUB): Define.
23234 (DF_1_PIE): Define.
23236 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23239 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
23240 Do not add 0.5 to integer or out-of-range arguments.
23242 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23244 * po/bg.po: Update translations.
23245 * po/cs.po: Likewise.
23246 * po/de.po: Likewise.
23247 * po/ko.po: Likewise.
23248 * po/pl.po: Likewise.
23249 * po/sv.po: Likewise.
23250 * po/uk.po: Likewise.
23251 * po/vi.po: Likewise.
23253 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23255 * aarch64/start.S (_start): Use __wrap_main.
23256 (__wrap_main): New local symbol.
23258 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23262 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
23263 generic_getcwd if the path returned by getcwd syscall is not absolute.
23264 * io/tst-getcwd-abspath.c: New test.
23265 * io/Makefile (tests): Add tst-getcwd-abspath.
23267 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
23269 * malloc/malloc.c (malloc_consolidate): Add size check.
23271 2018-01-12 Florian Weimer <fweimer@redhat.com>
23273 * support/write_message.c (write_message): Preserve errno.
23274 * support/check.c (print_failure): Likewise.
23275 * support/support_test_verify_impl.c (support_test_verify_impl):
23277 * support/support_test_compare_failure.c
23278 (support_test_compare_failure): Likewise.
23280 2018-01-12 Florian Weimer <fweimer@redhat.com>
23283 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
23284 Prevent installation of libnsl.so.
23285 (libnsl-inhibit-o): Do not build (or install) static libraries.
23287 2018-01-12 Egmont Koblinger <egmont@gmail.com>
23290 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
23291 before the day number which may produce a double space.
23292 (date_fmt): Likewise.
23294 2018-01-12 Joseph Myers <joseph@codesourcery.com>
23296 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
23297 instead of fegetenv.
23299 2018-01-11 Joseph Myers <joseph@codesourcery.com>
23302 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
23303 comment to say exceptions are discarded.
23304 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
23306 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
23309 2018-01-11 Florian Weimer <fweimer@redhat.com>
23311 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
23314 2018-01-11 Florian Weimer <fweimer@redhat.com>
23317 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
23318 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
23320 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23323 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
23324 negative arguments in test for NaN or infinity argument.
23326 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
23328 * po/libc.pot: Regenerate.
23330 2018-01-10 Florian Weimer <fweimer@redhat.com>
23333 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
23334 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
23336 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23338 * hurd/hurd/fd.h: Include <fcntl.h>
23339 (__hurd_at_flags): New function.
23340 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
23341 with call to __hurd_at_flags.
23342 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
23343 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
23345 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
23346 (__access_noerrno): Use __faccessat_common instead of access_common.
23347 (__access): Likewise.
23348 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
23349 with a call to __faccessat.
23350 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
23351 (__faccessat_common): ... this. Move implementation of __access into it when
23352 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
23353 reauthenticate_cwdir_at helper to implement AT mechanism.
23354 (__faccessat_noerrno): New function, just calls __faccessat_common.
23355 (__faccessat): New function, just calls __faccessat_common.
23356 (faccessat): Define weak alias.
23358 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23361 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23362 (CFLAGS-s_fmaxmagl.c): New variable.
23363 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
23366 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
23367 long int for arguments of possibly overflowing addition or
23369 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23371 2018-01-09 Joseph Myers <joseph@codesourcery.com>
23374 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23375 (CFLAGS-e_remainderl.c): New variable.
23378 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
23380 (CFLAGS-s_cacoshl.c): Likewise.
23381 (CFLAGS-s_casinhl.c): Likewise.
23382 (CFLAGS-s_catanl.c): Likewise.
23383 (CFLAGS-s_catanhl.c): Likewise.
23384 (CFLAGS-s_cexpl.c): Likewise.
23385 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
23386 (CFLAGS-s_csinhl.c): Likewise.
23387 (CFLAGS-s_clogl.c): Likewise.
23388 (CFLAGS-s_clog10l.c): Likewise.
23389 (CFLAGS-s_csinl.c): Likewise.
23390 (CFLAGS-s_csqrtl.c): Likewise.
23392 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
23393 2017-01-09 Svante Signell <svante.signell@gmail.com>
23395 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
23396 (_hurd_exec_paths): New function.
23397 * hurd/hurd.h (_hurd_exec): Deprecate function.
23398 (_hurd_exec_paths): Declare function.
23399 * hurd/Versions: Export _hurd_exec_paths.
23400 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
23401 (__execve): Use __getcwd to build absolute path, and use
23402 _hurd_exec_paths instead of _hurd_exec.
23403 * sysdeps/mach/hurd/spawni.c: Likewise.
23404 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
23407 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
23409 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
23410 test instead of failing in case of ENOENT returned by posix_openpt.
23412 2018-01-08 Florian Weimer <fweimer@redhat.com>
23414 resolv: Support binary labels in test framework.
23415 * support/resolv_test.c (struct to_be_freed): Remove.
23416 (struct compressed_name): New.
23417 (allocate_compressed_name, ascii_tolower)
23418 (compare_compressed_name): New functions.
23419 (struct resolv_response_builder): Update type of
23420 compression_offsets for use with tsearch. Rempve to_be_freed.
23421 (response_push_pointer_to_free): Remove function.
23422 (resolv_response_add_name): Rewrite using struct compressed_name
23423 and tsearch instead of hsearch_r.
23424 (response_builder_allocate): Remove initialization of
23425 compression_offsets.
23426 (response_builder_free): Update for removal of to_be_freed. Use
23427 tdestroy instead of hdestroy_r.
23428 * resolv/Makefile (tests): Add tst-resolv-binary.
23429 (tst-resolv-binary): Link with -lresolv -lpthread.
23431 2018-01-08 Florian Weimer <fweimer@redhat.com>
23433 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
23434 time. Pass positive flag instead of negative flag to
23435 support_test_compare_failure.
23436 (support_test_compare_failure): Change negative parameter to
23438 * support/support_test_compare_failure.c (report)
23439 (support_test_compare_failure): Likewise.
23440 * support/tst-test_compare.c (return_ssize_t, return_int): New.
23441 (do_test): Check int/size_t, ssize_t/size_t comparisons.
23443 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
23446 * nptl/descr.h (stackblock, stackblock_size): Update comments.
23447 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
23448 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
23450 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23452 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
23454 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23455 Add s_sincosf-sse2 and s_sincosf-fma.
23456 (CFLAGS-s_sincosf-fma.c): New.
23457 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
23458 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
23459 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
23460 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
23461 __sincosf is defined.
23463 2018-01-08 Florian Weimer <fweimer@redhat.com>
23465 * nptl/tst-thread-exit-clobber.cc: New file.
23466 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
23468 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
23469 (tests): Add tst-thread-exit-clobber.
23470 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
23472 2018-01-08 Florian Weimer <fweimer@redhat.com>
23474 * support/check.h (support_static_assert): Define.
23475 (TEST_COMPARE): Use it.
23477 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
23479 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
23480 [!__RLIM_T_MATCHES_RLIM64_T]
23481 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
23482 __getrlimit64. Add libc_hidden_weak.
23484 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
23486 * elf/elf.h (R_RISCV_NONE): New define.
23487 (R_RISCV_32): Likewise.
23488 (R_RISCV_64): Likewise.
23489 (R_RISCV_RELATIVE): Likewise.
23490 (R_RISCV_COPY): Likewise.
23491 (R_RISCV_JUMP_SLOT): Likewise.
23492 (R_RISCV_TLS_DTPMOD32): Likewise.
23493 (R_RISCV_TLS_DTPMOD64): Likewise.
23494 (R_RISCV_TLS_DTPREL32): Likewise.
23495 (R_RISCV_TLS_DTPREL64): Likewise.
23496 (R_RISCV_TLS_TPREL32): Likewise.
23497 (R_RISCV_TLS_TPREL64): Likewise.
23498 * Makerules (make-link-multidir): Make directories before linking into
23500 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
23502 (VDSO_HASH_LINUX_4_15): Likewise.
23503 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
23504 in subdirectories of lib.
23505 * nptl/Makefile (/librt.so): Always depend on
23506 "$(shared-thread-library)".
23508 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23510 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
23511 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
23512 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
23514 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
23515 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23517 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
23518 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
23519 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
23520 * sysdeps/gnu/glob-lstat-compat.c: New file.
23521 * sysdeps/gnu/glob64-lstat-compat.c: New file.
23522 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
23524 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23526 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
23527 Reserve 16 chars to reloc_addr before calling _itoa_word.
23529 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23532 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
23533 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
23535 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
23536 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
23538 * resource/tst-getrlimit.c: Add copyright header.
23540 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23541 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23543 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23544 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
23545 Define __GI_getrlimit64 as weak alias of __getrlimit64.
23546 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
23548 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23549 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
23550 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
23551 RLIM64_INFINITY): Fix values to match the kernel ones.
23552 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
23553 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
23554 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
23555 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
23556 getrlimit64@@GLIBC_2_27.
23557 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
23559 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
23560 getrlimit, setrlimit, getrlimit64 and setrlimit64.
23561 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
23562 setrlimit, getrlimit64 and setrlimit64.
23564 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23567 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
23568 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
23570 2018-01-04 Joseph Myers <joseph@codesourcery.com>
23572 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
23573 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
23574 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
23576 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23580 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
23581 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
23585 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
23586 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
23587 * sysdeps/alpha/fpu/s_floor.c: Likewise.
23588 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
23590 2018-01-04 Florian Weimer <fweimer@redhat.com>
23593 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23594 Align the stack before calling exit.
23595 * stdlib/tst-makecontext-align.c: New file.
23596 * stdlib/Makefile (tests): Add tst-makecontext-align.
23598 2018-01-04 Florian Weimer <fweimer@redhat.com>
23600 Add support for calling dlvsym from libc.so.
23601 * include/dlfcn.h (__libc_dlvsym): Declare.
23602 * elf/Makefile (tests-static-internal): Add
23603 tst-libc_dlvsym-static.
23604 (tests-internal): Add tst-libc_dlvsym.
23605 (modules-names): Add tst-libc_dlvsym-dso.
23606 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
23607 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
23608 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
23609 object tst-libc_dlvsym-dso.so needs to be built before running
23611 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
23612 * elf/Versions: Export __libc_dlvsym.
23613 * elf/dl-libc.c (struct do_dlvsym_args): New.
23614 (do_dlvsym, __libc_dlvsym): New functions.
23615 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
23616 (_dl_open_hook2): New variable.
23617 (__libc_register_dl_open_hook): Set it.
23618 * elf/tst-libc_dlvsym-dso.c: New file.
23619 * elf/tst-libc_dlvsym-static.c: Likewise.
23620 * elf/tst-libc_dlvsym.c: Likewise.
23621 * elf/tst-libc_dlvsym.h: Likewise.
23623 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23625 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
23626 include <sys/mount.h>.
23628 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
23630 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
23631 Add __NO_MATH_ERRNO__ check.
23633 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23635 * sysdeps/mips/mips32/libm-test-ulps: Update.
23636 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23638 2018-01-02 Florian Weimer <fweimer@redhat.com>
23640 * misc/tst-pselect.c: Add copyright header.
23642 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23644 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
23646 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
23648 (settrlimit): Rename into setrlimit.
23649 (__sttrlimit): Rename into __setrlimit.
23651 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
23652 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
23653 never defined in that case.
23655 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23657 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
23659 * sysdeps/arm/libm-test-ulps: Update.
23661 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
23662 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
23664 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23666 * NEWS: Add cosf and sincosf to list of optimized functions.
23668 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23671 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
23672 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
23673 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
23674 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
23676 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
23679 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
23681 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
23682 making a copy of it.
23684 2018-01-01 Joseph Myers <joseph@codesourcery.com>
23686 * manual/texinfo.tex: Update to version 2017-12-26.21 with
23687 trailing whitespace removed.
23688 * scripts/config.guess: Update to version 2018-01-01.
23689 * scripts/config.sub: Update to version 2018-01-01.
23690 * scripts/move-if-change: Update from gnulib.
23692 * NEWS: Update copyright dates.
23693 * catgets/gencat.c (print_version): Likewise.
23694 * csu/version.c (banner): Likewise.
23695 * debug/catchsegv.sh: Likewise.
23696 * debug/pcprofiledump.c (print_version): Likewise.
23697 * debug/xtrace.sh (do_version): Likewise.
23698 * elf/ldconfig.c (print_version): Likewise.
23699 * elf/ldd.bash.in: Likewise.
23700 * elf/pldd.c (print_version): Likewise.
23701 * elf/sotruss.sh: Likewise.
23702 * elf/sprof.c (print_version): Likewise.
23703 * iconv/iconv_prog.c (print_version): Likewise.
23704 * iconv/iconvconfig.c (print_version): Likewise.
23705 * locale/programs/locale.c (print_version): Likewise.
23706 * locale/programs/localedef.c (print_version): Likewise.
23707 * login/programs/pt_chown.c (print_version): Likewise.
23708 * malloc/memusage.sh (do_version): Likewise.
23709 * malloc/memusagestat.c (print_version): Likewise.
23710 * malloc/mtrace.pl: Likewise.
23711 * manual/libc.texinfo: Likewise.
23712 * nptl/version.c (banner): Likewise.
23713 * nscd/nscd.c (print_version): Likewise.
23714 * nss/getent.c (print_version): Likewise.
23715 * nss/makedb.c (print_version): Likewise.
23716 * posix/getconf.c (main): Likewise.
23717 * scripts/test-installation.pl: Likewise.
23718 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23720 * All files with FSF copyright notices: Update copyright dates
23721 using scripts/update-copyrights.
23722 * locale/programs/charmap-kw.h: Regenerated.
23723 * locale/programs/locfile-kw.h: Likewise.
23725 2017-12-31 Zack Weinberg <zackw@panix.com>
23727 * libio/bits/libio-ldbl.h: Correct check for improper
23728 inclusion. Add own multiple include guard.
23730 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
23731 Dmitry V. Levin <ldv@altlinux.org>
23735 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
23736 string token expansion. Check for NULL pointer or empty string possibly
23737 returned by expand_dynamic_string_token.
23738 (decompose_rpath): Check for empty path after dynamic string
23741 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
23744 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
23746 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
23747 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
23748 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
23749 and PTRACE_SYSCALL.
23750 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
23751 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23752 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23753 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23754 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23755 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23757 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
23758 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23759 __ptrace_peeksiginfo_flags, ptrace): Move to ...
23760 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
23761 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23762 bits/ptrace-shared.h.
23763 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
23764 <bits/ptrace-shared.h>.
23765 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23766 __ptrace_peeksiginfo_flags, ptrace): Remove.
23767 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23768 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23769 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23770 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23771 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23773 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23776 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
23777 end of the loop. Improve comments.
23779 2017-12-29 Zack Weinberg <zackw@panix.com>
23782 * manual/errno.texi (Checking for Errors): Explicitly say that errno
23783 might be set on success.
23785 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23788 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
23789 is unchanged on success.
23791 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
23793 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
23795 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
23796 expand_dynamic_string_token): Likewise.
23797 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
23800 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
23803 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
23804 is set and name contains ':', and all code depending on these checks.
23806 2017-12-24 Zack Weinberg <zackw@panix.com>
23808 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
23809 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
23811 * libio/libio.h: Rename the original version of this file to
23812 libio/bits/libio.h. Error out if not included by stdio.h or the
23814 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
23815 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
23816 if not included by bits/libio.h or the stub _G_config.h.
23817 * sysdeps/unix/sysv/linux/_G_config.h: Move to
23818 sysdeps/unix/sysv/linux/bits. Error out if not included by
23819 bits/libio.h or the stub _G_config.h.
23820 * libio/stdio.h: Include bits/libio.h, not libio.h.
23821 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
23822 well as libio.h and _G_config.h.
23824 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
23825 * libio/strfile.h, stdio-common/vfscanf.c
23826 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
23827 Include stdio.h, not _G_config.h nor libio.h.
23828 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
23829 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
23831 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
23833 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
23836 * stdlib/getrandom.c (getrandom): Fix comment.
23837 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
23839 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
23842 * manual/arith.texi (strtoul): Fix a typo.
23845 * manual/arith.texi (finite): Fix the description of the return
23848 2017-12-22 Eric Blake <ebb9@byu.net>
23850 Avoid gcc warnings on cygwin
23851 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
23852 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
23853 Avoid unused variable.
23855 2017-12-22 Florian Weimer <fweimer@redhat.com>
23857 * io/Makefile (routines): Add copy_file_range.
23858 (tests): Add tst-copy_file_range.
23859 (tests-static, tests-internal): Add tst-copy_file_range-compat.
23860 * io/Versions (GLIBC_2.27): Export copy_file_range.
23861 * io/copy_file_range-compat.c: New file.
23862 * io/copy_file_range.c: Likewise.
23863 * io/tst-copy_file_range-compat.c: Likewise.
23864 * io/tst-copy_file_range.c: Likewise.
23865 * manual/llio.texi (Copying File Data): New section.
23866 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
23867 * support/Makefile (libsupport-routines): Add support-xfstat,
23868 xftruncate, xlseek.
23869 * support/support-xfstat.c: New file.
23870 * support/xftruncate.c: Likewise.
23871 * support/xlseek.c: Likewise.
23872 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
23873 * sysdeps/unix/sysv/linux/**.abilist: Update.
23874 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
23876 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
23878 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23879 disable-multi-arch variant to aarch64-linux-gnu.
23881 2017-12-20 Joseph Myers <joseph@codesourcery.com>
23883 * manual/texinfo.tex: Update to version 2017-12-18.20 with
23884 trailing whitespace removed.
23885 * scripts/config.guess: Update to version 2017-12-17.
23886 * scripts/config.sub: Update to version 2017-11-23.
23887 * scripts/install-sh: Update to version 2017-09-23.17.
23888 * scripts/move-if-change: Update to version 2017-09-13 06:45.
23890 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23892 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
23893 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23894 * sysdeps/tile/_mcount.S (__mcount): Likewise.
23895 * sysdeps/tile/crti.S (_init, _fini): Likewise.
23896 * sysdeps/tile/crtn.S: Likewise.
23897 * sysdeps/tile/dl-start.S (_start): Likewise.
23898 * sysdeps/tile/dl-trampoline.S: Likewise.
23899 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
23900 * sysdeps/tile/start.S (_start): Likewise.
23901 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
23902 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
23903 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
23904 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
23905 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
23906 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
23907 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
23909 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
23911 * sysdeps/tile/preconfigure: Remove tilegx folder.
23912 * sysdeps/tile/tilegx/Implies: Move definitions to ...
23913 * sysdeps/tile/Implies: ... here.
23914 * sysdeps/tile/tilegx/Makefile: Move rules to ...
23915 * sysdeps/tile/Makefile: ... here.
23916 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
23917 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
23918 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
23919 * sysdeps/tile/bits/wordsize.h: ... here.
23920 * sysdeps/tile/tilegx/*: Move to ...
23921 * sysdeps/tile/*: ... here.
23922 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
23923 * sysdeps/tile/tilegx32/Implies: ... here.
23924 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
23925 * sysdeps/tile/tilegx64/Implies: ... here.
23926 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
23928 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23929 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
23930 * sysdeps/unix/sysv/linux/tile/*: ... here.
23931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
23932 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
23933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
23934 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
23936 * README: Remove tilepro-*-linux-gnu from supported architecture.
23937 * scripts/build-many-glibcs.py: Likewise.
23938 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23939 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
23940 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
23941 elf_machine_matches_host, elf_machine_dynamic,
23942 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
23943 howto, elf_machine_rela): Likewise.
23944 * sysdeps/tile/dl-start.S (_start): Likewise.
23945 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
23946 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
23947 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
23948 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
23949 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
23950 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23952 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
23953 * sysdeps/tile/preconfigure: Likewise.
23954 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
23955 POINTER_CHK_GUARD): Likewise.
23956 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
23957 * sysdeps/tile/start.S (_start): Likewise.
23958 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
23960 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
23961 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
23963 * sysdeps/unix/sysv/linux/tile/bits/environments.h
23964 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
23965 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
23967 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
23968 * sysdeps/tile/tilepro/Implies: Remove file.
23969 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
23970 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
23971 * sysdeps/tile/tilepro/memchr.c: Likewise.
23972 * sysdeps/tile/tilepro/memcpy.S: Likewise.
23973 * sysdeps/tile/tilepro/memset.c: Likewise.
23974 * sysdeps/tile/tilepro/memusage.h: Likewise.
23975 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
23976 * sysdeps/tile/tilepro/strchr.c: Likewise.
23977 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
23978 * sysdeps/tile/tilepro/strlen.c: Likewise.
23979 * sysdeps/tile/tilepro/strrchr.c: Likewise.
23980 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
23981 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
23982 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23983 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
23984 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
23985 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23987 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
23988 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23989 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
23990 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
23991 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23992 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
23993 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
23994 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
23995 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
23996 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
23997 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
23998 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
23999 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
24000 tilepro mention in comment.
24002 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
24003 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
24004 * nptl/pthread_join_common.c: New file: common function used on
24005 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
24006 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
24007 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
24008 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24009 (cleanup): Move definition to pthread_join_common.c.
24010 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
24011 Remove superflous checks.
24012 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
24015 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
24017 * sysdeps/aarch64/libm-test-ulps: Update.
24019 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24021 * sysdeps/aarch64/memset.S (MEMSET): Define.
24023 2017-12-20 Florian Weimer <fweimer@redhat.com>
24026 nptl: Provide full implementation of pthread_self in libc.so.
24027 * nptl/Makefile (routines): Add pthread_self.
24028 (libpthread-routines): Replace pthread_self with
24029 compat-pthread_self.
24030 * nptl/forward.c (pthread_self): Remove.
24031 * nptl/nptl-init.c (pthread_functions): Do not initialize
24033 * nptl/pthread_self.c (pthread_self): Remove weak alias.
24034 * nptl/compat-pthread_self.c: New file.
24035 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
24036 Remove ptr_pthread_self.
24038 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
24040 * posix/regcomp.c: Fix spelling in comments.
24041 * posix/regex.h: Likewise.
24042 * posix/regex_internal.c: Likewise.
24043 * posix/regexec.c: Likewise.
24045 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24048 * math/Makefile [C++] (tests): Add test for iseqsig.
24049 * math/math.h [C++] (iseqsig): New implementation, which does
24050 not rely on __MATH_TG/__builtin_types_compatible_p.
24051 * math/test-math-iseqsig.cc: New file.
24052 * sysdeps/powerpc/powerpc64le/Makefile
24053 (CFLAGS-test-math-iseqsig.cc): New variable.
24055 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
24057 * elf/dl-load.c (is_trusted_path): Remove.
24058 (fillin_rpath): Remove check_trusted argument and its use,
24059 all callers changed.
24061 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24064 * Makeconfig (link-pie-before-libc): Replace -pie with
24065 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
24066 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
24067 (tst-dlopen-aout-no-pie): New.
24068 (LDFLAGS-tst-prelink): Removed.
24069 (tst-prelink-no-pie): New.
24070 (LDFLAGS-tst-main1): Removed.
24071 (tst-main1-no-pie): New.
24072 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
24073 (tst-gmon-no-pie): New.
24075 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24077 * manual/install.texi: Document that --enable-static-pie
24079 * INSTALL: Regenerated.
24081 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
24084 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
24087 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24091 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24093 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24095 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24097 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
24098 <errno.h>. Include "eexp.tbl".
24099 (half): New constant.
24101 (__ieee754_exp): Rewrite.
24102 (__slowexp): Remove prototype.
24103 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24104 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
24105 * sysdeps/i386/fpu/slowexp.c: Likewise.
24106 * sysdeps/ia64/fpu/slowexp.c: Likewise.
24107 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
24108 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24109 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24110 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24111 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24112 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24114 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24115 (CPPFLAGS-slowexp.c): Remove variable.
24116 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24117 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24118 (CFLAGS-slowexp-fma.c): Remove variable.
24119 (CFLAGS-slowexp-fma4.c): Likewise.
24120 (CFLAGS-slowexp-avx.c): Likewise.
24121 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24123 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24124 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24125 * math/Makefile (type-double-routines): Remove slowexp.
24126 * manual/probes.texi (slowexp_p6): Remove.
24127 (slowexp_p32): Likewise.
24129 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24131 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
24134 * lib/glob.c (glob): Do not pass NULL to mempcpy.
24136 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24140 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24142 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
24143 <errno.h>. Include "eexp.tbl".
24144 (half): New constant.
24146 (__ieee754_exp): Rewrite.
24147 (__slowexp): Remove prototype.
24148 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24149 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
24150 * sysdeps/i386/fpu/slowexp.c: Likewise.
24151 * sysdeps/ia64/fpu/slowexp.c: Likewise.
24152 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
24153 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24154 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24155 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24156 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24157 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24159 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24160 (CPPFLAGS-slowexp.c): Remove variable.
24161 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24162 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24163 (CFLAGS-slowexp-fma.c): Remove variable.
24164 (CFLAGS-slowexp-fma4.c): Likewise.
24165 (CFLAGS-slowexp-avx.c): Likewise.
24166 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24168 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24169 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24170 * math/Makefile (type-double-routines): Remove slowexp.
24171 * manual/probes.texi (slowexp_p6): Remove.
24172 (slowexp_p32): Likewise.
24174 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24175 James Clarke <jrtc27@jrtc27.com>
24178 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
24181 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24184 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
24187 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24190 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24191 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
24192 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24193 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
24196 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24199 * bits/types/__cancel_jmp_buf_tag.h: New file.
24200 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
24201 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
24202 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
24203 * nptl/Makefile (headers): Add
24204 bits/types/__cancel_jmp_buf_tag.h.
24205 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
24206 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
24207 * sysdeps/nptl/pthread.h: Include
24208 <bits/types/__cancel_jmp_buf_tag.h>.
24209 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
24211 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
24213 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24215 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24216 --enable-static-pie variants to x86_64, x32 and i686.
24218 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24221 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
24222 argument for attrubutes. All callers changed.
24223 (__inline_mathop1): Likewise. All callers changed.
24224 (__inline_mathop): Likewise. All callers changed.
24225 [__USE_MISC] (scalbn): Use __inline_forward instead of
24226 __inline_forward_c.
24227 [__USE_ISOC99] (scalbln): Likewise.
24228 [__USE_ISOC99] (nearbyint): Likewise.
24229 [__USE_ISOC99] (lrint): Likewise.
24230 [__USE_MISC] (scalbnf): Likewise.
24231 [__USE_ISOC99] (scalblnf): Likewise.
24232 [__USE_ISOC99] (nearbyintf): Likewise.
24233 [__USE_ISOC99] (lrintf): Likewise.
24234 [__USE_MISC] (scalbnl): Likewise.
24235 [__USE_ISOC99] (scalblnl): Likewise.
24236 [__USE_ISOC99] (nearbyintl): Likewise.
24237 [__USE_ISOC99] (lrintl): Likewise.
24238 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
24239 __inline_mathop and __m81_defun changed.
24241 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
24242 CPU or FPU for ARM hard-float configurations.
24244 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24246 * nptl/tst-attr3.c: Include <libc-diag.h>.
24247 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
24249 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
24251 * string/tester.c (test_strncat): Also disable -Warray-bounds
24252 warnings for two tests.
24254 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24257 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
24258 $(cc-pie-default) == yes.
24259 * config.make.in (cc-pie-default): New.
24260 * configure.ac (libc_cv_pie_default): Renamed to ...
24261 (libc_cv_cc_pie_default): This.
24262 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
24263 * configure: Regenerated.
24265 2017-12-18 Florian Weimer <fweimer@redhat.com>
24268 ld.so: Harden dl-libc/libdl hooks.
24269 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
24270 (rtld_active): New function.
24271 * dlfcn/dladdr.c (__dladdr): Call it.
24272 * dlfcn/dladdr1.c (__dladdr1): Likewise.
24273 * dlfcn/dlclose.c (__dlcose): Likewise.
24274 * dlfcn/dlerror.c (__dlerror): Likewise.
24275 * dlfcn/dlinfo.c (__dlinfo): Likewise.
24276 * dlfcn/dlmopen.c (__dlmopen): Likewise.
24277 * dlfcn/dlopen.c (__dlopen): Likewise.
24278 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24279 * dlfcn/dlsym.c (__dlsym): Likewise.
24280 * dlfcn/dlvsym.c (__dlvsym): Likewise.
24281 * libio/vtables.c (_IO_vtable_check): Likewise.
24282 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
24283 (__libc_dlclose): Likewise.
24284 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
24287 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24290 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
24291 buffers for readlink input and output.
24293 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
24296 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
24297 inhibit_stack_protector.
24300 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
24301 inhibit_stack_protector.
24303 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
24306 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
24307 code and invocation.
24309 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
24311 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
24313 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
24316 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
24318 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24320 * sysdeps/s390/fpu/libm-test-ulps: Update.
24322 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24326 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24328 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
24329 constants to s_sincosf.h file.
24330 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24331 * sysdeps/ieee754/flt-32/s_sincosf.c: New
24333 * sysdeps/ieee754/flt-32/s_sincosf.h:
24336 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24339 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
24342 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
24345 * INSTALL: Regenerated.
24346 * Makeconfig (real-static-start-installed-name): New.
24347 (pic-default): Updated for --enable-static-pie.
24348 (pie-default): New for --enable-static-pie.
24349 (default-pie-ldflag): Likewise.
24350 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
24351 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
24352 Replace $(static-start-installed-name) with
24353 $(real-static-start-installed-name).
24354 (+prectorT): Updated for --enable-static-pie.
24355 (+postctorT): Likewise.
24356 (CFLAGS-.o): Add $(pie-default).
24357 (CFLAGS-.op): Likewise.
24358 * NEWS: Mention --enable-static-pie.
24359 * config.h.in (ENABLE_STATIC_PIE): New.
24360 * configure.ac (--enable-static-pie): New configure option.
24361 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
24362 (have-static-pie): Likewise.
24363 Enable static PIE if linker supports --no-dynamic-linker.
24364 (ENABLE_STATIC_PIE): New AC_DEFINE.
24365 (enable-static-pie): New LIBC_CONFIG_VAR.
24366 * configure: Regenerated.
24367 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
24368 gr$(start-installed-name) for --enable-static-pie.
24369 (extra-objs): Likewise.
24370 (install-lib): Likewise.
24371 (extra-objs): Add static-reloc.o and static-reloc.os
24372 ($(objpfx)$(start-installed-name)): Also depend on
24373 $(objpfx)static-reloc.o.
24374 ($(objpfx)r$(start-installed-name)): New.
24375 ($(objpfx)g$(start-installed-name)): Also depend on
24376 $(objpfx)static-reloc.os.
24377 ($(objpfx)gr$(start-installed-name)): New.
24378 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
24380 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
24382 * csu/static-reloc.c: New file.
24383 * elf/Makefile (routines): Add dl-reloc-static-pie.
24384 (elide-routines.os): Likewise.
24385 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
24386 (tst-tls1-static-non-pie-no-pie): New.
24387 * elf/dl-reloc-static-pie.c: New file.
24388 * elf/dl-support.c (_dl_get_dl_main_map): New function.
24389 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
24390 STATIC_PIE_BOOTSTRAP.
24391 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
24392 * gmon/Makefile (tests): Add tst-gmon-static-pie.
24393 (tests-static): Likewise.
24394 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
24395 (tst-gmon-static-no-pie): New.
24396 (CFLAGS-tst-gmon-static-pie.c): Likewise.
24397 (CRT-tst-gmon-static-pie): Likewise.
24398 (tst-gmon-static-pie-ENV): Likewise.
24399 (tests-special): Likewise.
24400 ($(objpfx)tst-gmon-static-pie.out): Likewise.
24401 (clean-tst-gmon-static-pie-data): Likewise.
24402 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
24403 * gmon/tst-gmon-static-pie.c: New file.
24404 * manual/install.texi: Document --enable-static-pie.
24405 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
24406 (_dl_get_dl_main_map): Likewise.
24407 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
24408 * sysdeps/x86_64/configure.ac: Likewise.
24409 * sysdeps/i386/configure: Regenerated.
24410 * sysdeps/x86_64/configure: Likewise.
24411 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
24412 (ASFLAGS-.op): Likewise.
24414 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24416 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
24417 * posix/tst-mmap-offset.c (fname): Use /tmp.
24418 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
24420 2017-12-15 Steve Ellcey <sellcey@cavium.com>
24422 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
24424 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
24426 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
24429 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24431 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
24432 --with-float=hard for arm-linux-gnueabihf configurations.
24435 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
24436 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
24437 ($(mo-installed)): Use $(objpfx)%.mo.
24438 (realclean): Remove rule.
24440 * po/Makefile (linguas): Remove rule and dependencies.
24441 (linguas.mo): Likewise.
24442 (.PHONY): Do not depend on linguas and linguas.mo.
24443 (podir): Remove variable.
24444 (pofiles): Likewise.
24445 [$(pofiles)] (%.po): Remove rule.
24447 * sysdeps/sparc/sparc32/Makefile
24448 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
24449 start-of-line whitespace in argument of echo.
24450 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
24451 with whitespace. Generate __wrap_.udiv alias.
24452 * sysdeps/sparc/sparc32/rem.S: Regenerated.
24453 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24454 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24455 * sysdeps/sparc/sparc32/urem.S: Likewise.
24457 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24459 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
24460 for aligned inputs.
24462 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24464 * benchtests/bench-strcmp.c: Print output in JSON format.
24466 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
24468 2017-12-14 Florian Weimer <fweimer@redhat.com>
24472 * elf/dl-load.c (_dl_init_paths): Compute number of components in
24473 the expanded path string.
24475 2017-12-14 Florian Weimer <fweimer@redhat.com>
24479 * elf/dl-load.c (system_dirs): Update comment.
24480 (nsystem_dirs_len): Use array_length.
24481 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
24483 2017-12-14 Florian Weimer <fweimer@redhat.com>
24485 Simplify compiling most of support/ outside of glibc.
24486 * support/check_addrinfo.c: Include <string.h>.
24487 * support/check_dns_packet.c: Likewise.
24488 * support/check_hostent.c: Likewise.
24489 * support/support_can_chroot.c: Include <support/xunistd.h>.
24490 * support/support_format_addrinfo.c: Include <stdlib.h>
24491 * support/support_format_dns_packet.c: Include <stdbool.h>.
24492 * support/support_format_hostent.c: Include <stdlib.h>.
24493 * support/support_format_netent.c: Likewise.
24494 * support/support_write_string.c: Include <support/xunistd.h>.
24495 * support/xdlfcn.c: Include <stddef.h>.
24497 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
24499 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
24501 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24502 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24504 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24505 (sysdeps_routines): Add memset-niagara7.
24506 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
24508 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
24510 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
24511 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24512 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
24513 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
24514 Add niagara7 option.
24515 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
24518 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24519 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
24520 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
24522 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
24524 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
24525 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
24526 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24527 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
24528 and __memmove_niagara7.
24529 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
24530 Add niagara7 option.
24531 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
24532 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
24533 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
24534 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
24535 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
24537 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
24539 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
24540 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
24541 * sysdeps/sparc/sparc64/memmove.S: Likewise.
24542 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
24544 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
24545 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
24546 _dl_sparc_cap_flags array.
24547 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
24549 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
24551 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
24552 time whenever possible.
24554 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24556 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
24557 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
24559 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24561 * soft-fp/fmadf4.c: Move to ....
24562 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
24563 * soft-fp/fmasf4.c: Move to ....
24564 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
24565 * soft-fp/fmatf4.c: Move to ....
24566 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
24567 * sysdeps/ieee754/soft-fp/Makefile: New file.
24568 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
24569 * sysdeps/arm/preconfigure: Regenerated.
24570 * sysdeps/arm/nofpu/Implies: New file.
24571 * sysdeps/arm/s_fma.c: Remove file.
24572 * sysdeps/arm/s_fmaf.c: Likewise.
24573 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
24574 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
24575 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24576 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
24577 * sysdeps/microblaze/s_fma.c: Remove file.
24578 * sysdeps/microblaze/s_fmaf.c: Likewise.
24579 * sysdeps/mips/mips32/nofpu/Implies: New file.
24580 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
24581 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
24582 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
24583 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
24584 * sysdeps/mips/ieee754/s_fma.c: Remove file.
24585 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
24586 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
24588 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
24589 * sysdeps/nios2/s_fma.c: Remove file.
24590 * sysdeps/nios2/s_fmaf.c: Likewise.
24591 * sysdeps/sh/nofpu/Implies: New file.
24592 * sysdeps/sh/s_fma.c: Remove file.
24593 * sysdeps/sh/s_fmaf.c: Likewise.
24594 * sysdeps/tile/Implies: Add ieee754/soft-fp.
24595 * sysdeps/tile/s_fma.c: Remove file.
24596 * sysdeps/tile/s_fmaf.c: Likewise.
24598 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
24600 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24601 Add s_cosf-sse2 and s_cosf-fma.
24602 (CFLAGS-s_cosf-fma.c): New.
24603 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
24604 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
24605 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
24607 2017-12-12 Steve Ellcey <sellcey@cavium.com>
24609 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
24611 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24613 * libio/Makefile (tests): Add tst-bz22415.
24614 (tst-bz22415-ENV): New rule.
24615 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
24616 (tests-special): Add tst-bz22415-mem.out.
24617 ($(objpfx)tst-bz22415-mem.out): New rule.
24618 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
24619 in case of a successful seek operation.
24620 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24621 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
24622 buffer is required.
24623 * libio/tst-bz22415.c: New test.
24625 * sysdeps/ia64/fpu/libm-test-ulps: Update.
24627 2017-12-12 James Clarke <jrtc27@jrtc27.com>
24629 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
24630 __IPC_64 to 0 to avoid IPC_64 being set.
24632 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24635 * math/bits/mathcalls.h (nextafter): Remove const.
24636 (nexttoward): Likewise.
24638 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24640 * configure.ac (--with-fp): Remove configure option.
24641 (with_fp_cond): New variable.
24642 (libc_cv_with_fp): New configure test. Use this variable instead
24644 * configure: Regenerated.
24645 * config.make.in (with-fp): Use @libc_cv_with_fp@.
24646 * manual/install.texi (Configuring and compiling): Remove
24648 * INSTALL: Regenerated.
24649 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
24650 * sysdeps/mips/preconfigure (with_fp_cond): Define.
24651 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
24652 * sysdeps/sh/preconfigure (with_fp_cond): Define.
24653 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
24654 use --without-fp to configure glibc.
24656 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
24658 * manual/locale.texi (nl_langinfo): Fix a typo.
24660 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
24663 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
24665 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24667 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
24668 (CFLAGS-argp-parse.c): Likewise.
24669 (CFLAGS-argp-fmtstream.c): Likewise.
24670 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
24671 (CPPFLAGS-sha512-crypt.c): Likewise.
24672 (CPPFLAGS-md5-crypt.c): Likewise.
24673 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
24674 (CFLAGS-stack_chk_fail_local.c): Likewise.
24675 (CFLAGS-backtrace.c): Likewise.
24676 (CFLAGS-sprintf_chk.c): Likewise.
24677 (CFLAGS-snprintf_chk.c): Likewise.
24678 (CFLAGS-vsprintf_chk.c): Likewise.
24679 (CFLAGS-vsnprintf_chk.c): Likewise.
24680 (CFLAGS-asprintf_chk.c): Likewise.
24681 (CFLAGS-vasprintf_chk.c): Likewise.
24682 (CFLAGS-obprintf_chk.c): Likewise.
24683 (CFLAGS-dprintf_chk.c): Likewise.
24684 (CFLAGS-vdprintf_chk.c): Likewise.
24685 (CFLAGS-printf_chk.c): Likewise.
24686 (CFLAGS-fprintf_chk.c): Likewise.
24687 (CFLAGS-vprintf_chk.c): Likewise.
24688 (CFLAGS-vfprintf_chk.c): Likewise.
24689 (CFLAGS-gets_chk.c): Likewise.
24690 (CFLAGS-fgets_chk.c): Likewise.
24691 (CFLAGS-fgets_u_chk.c): Likewise.
24692 (CFLAGS-fread_chk.c): Likewise.
24693 (CFLAGS-fread_u_chk.c): Likewise.
24694 (CFLAGS-swprintf_chk.c): Likewise.
24695 (CFLAGS-vswprintf_chk.c): Likewise.
24696 (CFLAGS-wprintf_chk.c): Likewise.
24697 (CFLAGS-fwprintf_chk.c): Likewise.
24698 (CFLAGS-vwprintf_chk.c): Likewise.
24699 (CFLAGS-vfwprintf_chk.c): Likewise.
24700 (CFLAGS-fgetws_chk.c): Likewise.
24701 (CFLAGS-fgetws_u_chk.c): Likewise.
24702 (CFLAGS-read_chk.c): Likewise.
24703 (CFLAGS-pread_chk.c): Likewise.
24704 (CFLAGS-pread64_chk.c): Likewise.
24705 (CFLAGS-recv_chk.c): Likewise.
24706 (CFLAGS-recvfrom_chk.c): Likewise.
24707 (CFLAGS-tst-longjmp_chk.c): Likewise.
24708 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
24709 (CFLAGS-tst-longjmp_chk2.c): Likewise.
24710 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
24711 (CFLAGS-tst-longjmp_chk3.c): Likewise.
24712 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24713 (CFLAGS-tst-chk1.c): Likewise.
24714 (CFLAGS-tst-chk2.c): Likewise.
24715 (CFLAGS-tst-chk3.c): Likewise.
24716 (CFLAGS-tst-chk4.cc): Likewise.
24717 (CFLAGS-tst-chk5.cc): Likewise.
24718 (CFLAGS-tst-chk6.cc): Likewise.
24719 (CFLAGS-tst-lfschk1.c): Likewise.
24720 (CFLAGS-tst-lfschk2.c): Likewise.
24721 (CFLAGS-tst-lfschk3.c): Likewise.
24722 (CFLAGS-tst-lfschk4.cc): Likewise.
24723 (CFLAGS-tst-lfschk5.cc): Likewise.
24724 (CFLAGS-tst-lfschk6.cc): Likewise.
24725 (CFLAGS-tst-ssp-1.c): Likewise.
24726 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
24727 (CFLAGS-scandir64.c): Likewise.
24728 (CFLAGS-scandir-tail.c): Likewise.
24729 (CFLAGS-scandir64-tail.c): Likewise.
24730 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
24731 (CFLAGS-dl-tunables.c): Likewise.
24732 (CFLAGS-dl-runtime.c): Likewise.
24733 (CFLAGS-dl-lookup.c): Likewise.
24734 (CFLAGS-dl-iterate-phdr.c): Likewise.
24735 (CFLAGS-vismain.c): Likewise.
24736 (CFLAGS-tst-linkall-static.c): Likewise.
24737 (CFLAGS-tst-linkall-static.c): Likewise.
24738 (CPPFLAGS-dl-load.c): Likewise.
24739 (CFLAGS-ldconfig.c): Likewise.
24740 (CFLAGS-dl-cache.c): Likewise.
24741 (CFLAGS-cache.c): Likewise.
24742 (CFLAGS-rtld.c): Likewise.
24743 (CFLAGS-multiload.c): Likewise.
24744 (CFLAGS-filtmod1.c): Likewise.
24745 (CFLAGS-tst-align.c): Likewise.
24746 (CFLAGS-tst-align2.c): Likewise.
24747 (CFLAGS-tst-alignmod.c): Likewise.
24748 (CFLAGS-tst-alignmod2.c): Likewise.
24749 (CPPFLAGS-tst-execstack.c): Likewise.
24750 (CFLAGS-tst-ptrguard1-static.c): Likewise.
24751 (CFLAGS-tst-latepthreadmod.c): Likewise.
24752 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
24753 (CFLAGS-getgrnam_r.c): Likewise.
24754 (CFLAGS-getgrent_r.c): Likewise.
24755 (CFLAGS-getgrent.c): Likewise.
24756 (CFLAGS-fgetgrent.c): Likewise.
24757 (CFLAGS-fgetgrent_r.c): Likewise.
24758 (CFLAGS-putgrent.c): Likewise.
24759 (CFLAGS-initgroups.c): Likewise.
24760 (CFLAGS-getgrgid.c): Likewise.
24761 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
24762 (CFLAGS-getsgent.c): Likewise.
24763 (CFLAGS-fgetsgent.c): Likewise.
24764 (CFLAGS-fgetsgent_r.c): Likewise.
24765 (CFLAGS-putsgent.c): Likewise.
24766 (CFLAGS-getsgnam.c): Likewise.
24767 (CFLAGS-getsgnam_r.c): Likewise.
24768 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
24769 (CFLAGS-iconv_charmap.c): Likewise.
24770 (CFLAGS-dummy-repertoire.c): Likewise.
24771 (CFLAGS-charmap.c): Likewise.
24772 (CFLAGS-linereader.c): Likewise.
24773 (CFLAGS-simple-hash.c): Likewise.
24774 (CFLAGS-gconv_conf.c): Likewise.
24775 (CFLAGS-iconvconfig.c): Likewise.
24776 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24777 (CFLAGS-gethstbyad.c): Likewise.
24778 (CFLAGS-gethstbynm_r.c): Likewise.
24779 (CFLAGS-gethstbynm.c): Likewise.
24780 (CFLAGS-gethstbynm2_r.c): Likewise.
24781 (CFLAGS-gethstbynm2.c): Likewise.
24782 (CFLAGS-gethstent_r.c): Likewise.
24783 (CFLAGS-gethstent.c): Likewise.
24784 (CFLAGS-rcmd.c): Likewise.
24785 (CFLAGS-getnetbynm_r.c): Likewise.
24786 (CFLAGS-getnetbynm.c): Likewise.
24787 (CFLAGS-getnetbyad_r.c): Likewise.
24788 (CFLAGS-getnetbyad.c): Likewise.
24789 (CFLAGS-getnetent_r.c): Likewise.
24790 (CFLAGS-getnetent.c): Likewise.
24791 (CFLAGS-getaliasent_r.c): Likewise.
24792 (CFLAGS-getaliasent.c): Likewise.
24793 (CFLAGS-getrpcent_r.c): Likewise.
24794 (CFLAGS-getrpcent.c): Likewise.
24795 (CFLAGS-getservent_r.c): Likewise.
24796 (CFLAGS-getservent.c): Likewise.
24797 (CFLAGS-getprtent_r.c): Likewise.
24798 (CFLAGS-getprtent.c): Likewise.
24799 (CFLAGS-either_ntoh.c): Likewise.
24800 (CFLAGS-either_hton.c): Likewise.
24801 (CFLAGS-getnetgrent.c): Likewise.
24802 (CFLAGS-getnetgrent_r.c): Likewise.
24803 (CFLAGS-tst-checks-posix.c): Likewise.
24804 (CFLAGS-tst-sockaddr.c): Likewise.
24805 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
24806 (CFLAGS-tst-translit.c): Likewise.
24807 (CFLAGS-tst-gettext2.c): Likewise.
24808 (CFLAGS-tst-codeset.c): Likewise.
24809 (CFLAGS-tst-gettext3.c): Likewise.
24810 (CFLAGS-tst-gettext4.c): Likewise.
24811 (CFLAGS-tst-gettext5.c): Likewise.
24812 (CFLAGS-tst-gettext6.c): Likewise.
24813 * io/Makefile (CFLAGS-open.c): Likewise.
24814 (CFLAGS-open64.c): Likewise.
24815 (CFLAGS-creat.c): Likewise.
24816 (CFLAGS-creat64.c): Likewise.
24817 (CFLAGS-fcntl.c): Likewise.
24818 (CFLAGS-poll.c): Likewise.
24819 (CFLAGS-ppoll.c): Likewise.
24820 (CFLAGS-lockf.c): Likewise.
24821 (CFLAGS-statfs.c): Likewise.
24822 (CFLAGS-fstatfs.c): Likewise.
24823 (CFLAGS-statvfs.c): Likewise.
24824 (CFLAGS-fstatvfs.c): Likewise.
24825 (CFLAGS-fts.c): Likewise.
24826 (CFLAGS-fts64.c): Likewise.
24827 (CFLAGS-ftw.c): Likewise.
24828 (CFLAGS-ftw64.c): Likewise.
24829 (CFLAGS-lockf.c): Likewise.
24830 (CFLAGS-posix_fallocate.c): Likewise.
24831 (CFLAGS-posix_fallocate64.c): Likewise.
24832 (CFLAGS-fallocate.c): Likewise.
24833 (CFLAGS-fallocate64.c): Likewise.
24834 (CFLAGS-read.c): Likewise.
24835 (CFLAGS-write.c): Likewise.
24836 (CFLAGS-test-stat.c): Likewise.
24837 (CFLAGS-test-lfs.c): Likewise.
24838 * libio/Makefile (CFLAGS-fileops.c): Likewise.
24839 (CFLAGS-fputc.c): Likewise.
24840 (CFLAGS-fputwc.c): Likewise.
24841 (CFLAGS-freopen64.c): Likewise.
24842 (CFLAGS-freopen.c): Likewise.
24843 (CFLAGS-fseek.c): Likewise.
24844 (CFLAGS-fseeko64.c): Likewise.
24845 (CFLAGS-fseeko.c): Likewise.
24846 (CFLAGS-ftello64.c): Likewise.
24847 (CFLAGS-ftello.c): Likewise.
24848 (CFLAGS-fwide.c): Likewise.
24849 (CFLAGS-genops.c): Likewise.
24850 (CFLAGS-getc.c): Likewise.
24851 (CFLAGS-getchar.c): Likewise.
24852 (CFLAGS-getwc.c): Likewise.
24853 (CFLAGS-getwchar.c): Likewise.
24854 (CFLAGS-iofclose.c): Likewise.
24855 (CFLAGS-iofflush.c): Likewise.
24856 (CFLAGS-iofgetpos64.c): Likewise.
24857 (CFLAGS-iofgetpos.c): Likewise.
24858 (CFLAGS-iofgets.c): Likewise.
24859 (CFLAGS-iofgetws.c): Likewise.
24860 (CFLAGS-iofputs.c): Likewise.
24861 (CFLAGS-iofputws.c): Likewise.
24862 (CFLAGS-iofread.c): Likewise.
24863 (CFLAGS-iofsetpos64.c): Likewise.
24864 (CFLAGS-iofsetpos.c): Likewise.
24865 (CFLAGS-ioftell.c): Likewise.
24866 (CFLAGS-iofwrite.c): Likewise.
24867 (CFLAGS-iogetdelim.c): Likewise.
24868 (CFLAGS-iogetline.c): Likewise.
24869 (CFLAGS-iogets.c): Likewise.
24870 (CFLAGS-iogetwline.c): Likewise.
24871 (CFLAGS-ioputs.c): Likewise.
24872 (CFLAGS-ioseekoff.c): Likewise.
24873 (CFLAGS-ioseekpos.c): Likewise.
24874 (CFLAGS-iosetbuffer.c): Likewise.
24875 (CFLAGS-iosetvbuf.c): Likewise.
24876 (CFLAGS-ioungetc.c): Likewise.
24877 (CFLAGS-ioungetwc.c): Likewise.
24878 (CFLAGS-oldfileops.c): Likewise.
24879 (CFLAGS-oldiofclose.c): Likewise.
24880 (CFLAGS-oldiofgetpos64.c): Likewise.
24881 (CFLAGS-oldiofgetpos.c): Likewise.
24882 (CFLAGS-oldiofsetpos64.c): Likewise.
24883 (CFLAGS-oldiofsetpos.c): Likewise.
24884 (CFLAGS-peekc.c): Likewise.
24885 (CFLAGS-putc.c): Likewise.
24886 (CFLAGS-putchar.c): Likewise.
24887 (CFLAGS-putwc.c): Likewise.
24888 (CFLAGS-putwchar.c): Likewise.
24889 (CFLAGS-rewind.c): Likewise.
24890 (CFLAGS-wfileops.c): Likewise.
24891 (CFLAGS-wgenops.c): Likewise.
24892 (CFLAGS-oldiofopen.c): Likewise.
24893 (CFLAGS-iofopen.c): Likewise.
24894 (CFLAGS-iofopen64.c): Likewise.
24895 (CFLAGS-oldtmpfile.c): Likewise.
24896 (CFLAGS-tst_putwc.c): Likewise.
24897 * locale/Makefile (CFLAGS-md5.c): Likewise.
24898 (CFLAGS-charmap.c): Likewise.
24899 (CFLAGS-locfile.c): Likewise.
24900 (CFLAGS-charmap-dir.c): Likewise.
24901 * login/Makefile (CFLAGS-grantpt.c): Likewise.
24902 (CFLAGS-getpt.c): Likewise.
24903 (CFLAGS-pt_chown.c): Likewise.
24904 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
24905 (CFLAGS-obstack.c): Likewise.
24906 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
24907 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
24908 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
24909 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
24910 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
24911 (CFLAGS-test-tgmath.c): Likewise.
24912 (CFLAGS-test-tgmath2.c): Likewise.
24913 (CFLAGS-test-tgmath-ret.c): Likewise.
24914 (CFLAGS-test-powl.c): Likewise.
24915 (CFLAGS-test-snan.c): Likewise.
24916 (CFLAGS-test-signgam-finite.c): Likewise.
24917 (CFLAGS-test-signgam-finite-c99.c): Likewise.
24918 (CFLAGS-test-signgam-finite-c11.c): Likewise.
24919 (CFLAGS-test-signgam-uchar.c): Likewise.
24920 (CFLAGS-test-signgam-uchar-init.c): Likewise.
24921 (CFLAGS-test-signgam-uchar-static.c): Likewise.
24922 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24923 (CFLAGS-test-signgam-uint.c): Likewise.
24924 (CFLAGS-test-signgam-uint-init.c): Likewise.
24925 (CFLAGS-test-signgam-uint-static.c): Likewise.
24926 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24927 (CFLAGS-test-signgam-ullong.c): Likewise.
24928 (CFLAGS-test-signgam-ullong-init.c): Likewise.
24929 (CFLAGS-test-signgam-ullong-static.c): Likewise.
24930 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24931 (CFLAGS-test-math-cxx11.cc): Likewise.
24932 (CFLAGS-test-math-isinff.cc): Likewise.
24933 (CFLAGS-test-math-iszero.cc): Likewise.
24934 (CFLAGS-test-math-issignaling.cc): Likewise.
24935 (CFLAGS-test-math-iscanonical.cc): Likewise.
24936 (CFLAGS-test-iszero-excess-precision.c): Likewise.
24937 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
24938 (CFLAGS-test-flt-eval-method.c): Likewise.
24939 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
24940 (CFLAGS-test-finite-macros.c): Likewise.
24941 * misc/Makefile (CFLAGS-select.c): Likewise.
24942 (CFLAGS-tsearch.c): Likewise.
24943 (CFLAGS-lsearch.c): Likewise.
24944 (CFLAGS-pselect.c): Likewise.
24945 (CFLAGS-readv.c): Likewise.
24946 (CFLAGS-writev.c): Likewise.
24947 (CFLAGS-preadv.c): Likewise.
24948 (CFLAGS-preadv64.c): Likewise.
24949 (CFLAGS-pwritev.c): Likewise.
24950 (CFLAGS-pwritev64.c): Likewise.
24951 (CFLAGS-preadv2.c): Likewise.
24952 (CFLAGS-preadv64v2.c): Likewise.
24953 (CFLAGS-pwritev2.c): Likewise.
24954 (CFLAGS-pwritev64v2.c): Likewise.
24955 (CFLAGS-usleep.c): Likewise.
24956 (CFLAGS-syslog.c): Likewise.
24957 (CFLAGS-error.c): Likewise.
24958 (CFLAGS-getpass.c): Likewise.
24959 (CFLAGS-mkstemp.c): Likewise.
24960 (CFLAGS-mkstemp64.c): Likewise.
24961 (CFLAGS-getsysstats.c): Likewise.
24962 (CFLAGS-getusershell.c): Likewise.
24963 (CFLAGS-err.c): Likewise.
24964 (CFLAGS-tst-tsearch.c): Likewise.
24965 (CFLAGS-msync.c): Likewise.
24966 (CFLAGS-fdatasync.c): Likewise.
24967 (CFLAGS-fsync.c): Likewise.
24968 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
24969 (CFLAGS-unwind.c): Likewise.
24970 (CFLAGS-unwind-forcedunwind.c): Likewise.
24971 (CFLAGS-pthread_cancel.c): Likewise.
24972 (CFLAGS-pthread_setcancelstate.c): Likewise.
24973 (CFLAGS-pthread_setcanceltype.c): Likewise.
24974 (CFLAGS-cancellation.c): Likewise.
24975 (CFLAGS-libc-cancellation.c): Likewise.
24976 (CFLAGS-pthread_exit.c): Likewise.
24977 (CFLAGS-forward.c): Likewise.
24978 (CFLAGS-pthread_testcancel.c): Likewise.
24979 (CFLAGS-pthread_join.c): Likewise.
24980 (CFLAGS-pthread_timedjoin.c): Likewise.
24981 (CFLAGS-pthread_once.c): Likewise.
24982 (CFLAGS-pthread_cond_wait.c): Likewise.
24983 (CFLAGS-sem_wait.c): Likewise.
24984 (CFLAGS-sem_timedwait.c): Likewise.
24985 (CFLAGS-fcntl.c): Likewise.
24986 (CFLAGS-lockf.c): Likewise.
24987 (CFLAGS-pread.c): Likewise.
24988 (CFLAGS-pread64.c): Likewise.
24989 (CFLAGS-pwrite.c): Likewise.
24990 (CFLAGS-pwrite64.c): Likewise.
24991 (CFLAGS-wait.c): Likewise.
24992 (CFLAGS-waitpid.c): Likewise.
24993 (CFLAGS-sigwait.c): Likewise.
24994 (CFLAGS-msgrcv.c): Likewise.
24995 (CFLAGS-msgsnd.c): Likewise.
24996 (CFLAGS-tcdrain.c): Likewise.
24997 (CFLAGS-open.c): Likewise.
24998 (CFLAGS-open64.c): Likewise.
24999 (CFLAGS-pause.c): Likewise.
25000 (CFLAGS-recv.c): Likewise.
25001 (CFLAGS-send.c): Likewise.
25002 (CFLAGS-accept.c): Likewise.
25003 (CFLAGS-sendto.c): Likewise.
25004 (CFLAGS-connect.c): Likewise.
25005 (CFLAGS-recvfrom.c): Likewise.
25006 (CFLAGS-recvmsg.c): Likewise.
25007 (CFLAGS-sendmsg.c): Likewise.
25008 (CFLAGS-close.c): Likewise.
25009 (CFLAGS-read.c): Likewise.
25010 (CFLAGS-write.c): Likewise.
25011 (CFLAGS-nanosleep.c): Likewise.
25012 (CFLAGS-sigsuspend.c): Likewise.
25013 (CFLAGS-msync.c): Likewise.
25014 (CFLAGS-fdatasync.c): Likewise.
25015 (CFLAGS-fsync.c): Likewise.
25016 (CFLAGS-pt-system.c): Likewise.
25017 (CFLAGS-tst-cleanup2.c): Likewise.
25018 (CFLAGS-tst-cleanupx2.c): Likewise.
25019 (CFLAGS-flockfile.c): Likewise.
25020 (CFLAGS-ftrylockfile.c): Likewise.
25021 (CFLAGS-funlockfile.c): Likewise.
25022 (CFLAGS-tst-initializers1.c): Likewise.
25023 (CFLAGS-tst-initializers1-c89.c): Likewise.
25024 (CFLAGS-tst-initializers1-c99.c): Likewise.
25025 (CFLAGS-tst-initializers1-c11.c): Likewise.
25026 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
25027 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
25028 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
25029 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
25030 (CFLAGS-nscd_getgr_r.c): Likewise.
25031 (CFLAGS-nscd_gethst_r.c): Likewise.
25032 (CFLAGS-nscd_getai.c): Likewise.
25033 (CFLAGS-nscd_initgroups.c): Likewise.
25034 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
25035 (CFLAGS-pause.c): Likewise.
25036 (CFLAGS-pread.c): Likewise.
25037 (CFLAGS-pread64.c): Likewise.
25038 (CFLAGS-pwrite.c): Likewise.
25039 (CFLAGS-pwrite64.c): Likewise.
25040 (CFLAGS-sleep.c): Likewise.
25041 (CFLAGS-wait.c): Likewise.
25042 (CFLAGS-waitid.c): Likewise.
25043 (CFLAGS-waitpid.c): Likewise.
25044 (CFLAGS-getopt.c): Likewise.
25045 (CFLAGS-wordexp.c): Likewise.
25046 (CFLAGS-sysconf.c): Likewise.
25047 (CFLAGS-pathconf.c): Likewise.
25048 (CFLAGS-fpathconf.c): Likewise.
25049 (CFLAGS-spawn.c): Likewise.
25050 (CFLAGS-spawnp.c): Likewise.
25051 (CFLAGS-spawni.c): Likewise.
25052 (CFLAGS-glob.c): Likewise.
25053 (CFLAGS-glob64.c): Likewise.
25054 (CFLAGS-getconf.c): Likewise.
25055 (CFLAGS-nanosleep.c): Likewise.
25056 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
25057 (CFLAGS-getpwent.c): Likewise.
25058 (CFLAGS-getpw.c): Likewise.
25059 (CFLAGS-fgetpwent_r.c): Likewise.
25060 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
25061 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
25062 (CFLAGS-mq_timedreceive.c): Likewise.
25063 (CFLAGS-mq_timedsend.c): Likewise.
25064 (CFLAGS-clock_nanosleep.c): Likewise.
25065 (CFLAGS-librt-cancellation.c): Likewise.
25066 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
25067 (CFLAGS-getspent.c): Likewise.
25068 (CFLAGS-fgetspent.c): Likewise.
25069 (CFLAGS-fgetspent_r.c): Likewise.
25070 (CFLAGS-putspent.c): Likewise.
25071 (CFLAGS-getspnam.c): Likewise.
25072 (CFLAGS-getspnam_r.c): Likewise.
25073 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
25074 (CFLAGS-sigsuspend.c): Likewise.
25075 (CFLAGS-sigtimedwait.c): Likewise.
25076 (CFLAGS-sigwait.c): Likewise.
25077 (CFLAGS-sigwaitinfo.c): Likewise.
25078 (CFLAGS-sigreturn.c): Likewise.
25079 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
25080 (CFLAGS-vfwprintf.c): Likewise.
25081 (CFLAGS-tmpfile.c): Likewise.
25082 (CFLAGS-tmpfile64.c): Likewise.
25083 (CFLAGS-tempname.c): Likewise.
25084 (CFLAGS-psignal.c): Likewise.
25085 (CFLAGS-vprintf.c): Likewise.
25086 (CFLAGS-cuserid.c): Likewise.
25087 (CFLAGS-errlist.c): Likewise.
25088 (CFLAGS-siglist.c): Likewise.
25089 (CFLAGS-scanf15.c): Likewise.
25090 (CFLAGS-scanf17.c): Likewise.
25091 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
25092 (CFLAGS-msort.c): Likewise.
25093 (CFLAGS-qsort.c): Likewise.
25094 (CFLAGS-system.c): Likewise.
25095 (CFLAGS-fmtmsg.c): Likewise.
25096 (CFLAGS-strfmon.c): Likewise.
25097 (CFLAGS-strfmon_l.c): Likewise.
25098 (CFLAGS-strfromd.c): Likewise.
25099 (CFLAGS-strfromf.c): Likewise.
25100 (CFLAGS-strfroml.c): Likewise.
25101 (CFLAGS-tst-bsearch.c): Likewise.
25102 (CFLAGS-tst-qsort.c): Likewise.
25103 (CFLAGS-tst-makecontext2.c): Likewise.
25104 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
25105 (CFLAGS-xnlm_prot.c): Likewise.
25106 (CFLAGS-xrstat.c): Likewise.
25107 (CFLAGS-xyppasswd.c): Likewise.
25108 (CFLAGS-xklm_prot.c): Likewise.
25109 (CFLAGS-xrex.c): Likewise.
25110 (CFLAGS-xsm_inter.c): Likewise.
25111 (CFLAGS-xmount.c): Likewise.
25112 (CFLAGS-xrusers.c): Likewise.
25113 (CFLAGS-xspray.c): Likewise.
25114 (CFLAGS-xnfs_prot.c): Likewise.
25115 (CFLAGS-xrquota.c): Likewise.
25116 (CFLAGS-xkey_prot.c): Likewise.
25117 (CFLAGS-auth_unix.c): Likewise.
25118 (CFLAGS-key_call.c): Likewise.
25119 (CFLAGS-pmap_rmt.c): Likewise.
25120 (CFLAGS-clnt_perr.c): Likewise.
25121 (CFLAGS-openchild.c): Likewise.
25122 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
25123 (CFLAGS-msgsnd.c): Likewise.
25124 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
25125 * time/Makefile (CFLAGS-tzfile.c): Likewise.
25126 (CFLAGS-tzset.c): Likewise.
25127 (CFLAGS-getdate.c): Likewise.
25128 (CFLAGS-test_time.c): Likewise.
25129 (CPPFLAGS-tst-tzname.c): Likewise.
25130 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
25131 (CFLAGS-zic.c): Likewise.
25132 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
25133 (CFLAGS-wcswidth.c): Likewise.
25134 (CFLAGS-wcstol.c): Likewise.
25135 (CFLAGS-wcstoul.c): Likewise.
25136 (CFLAGS-wcstoll.c): Likewise.
25137 (CFLAGS-wcstoull.c): Likewise.
25138 (CFLAGS-wcstod.c): Likewise.
25139 (CFLAGS-wcstold.c): Likewise.
25140 (CFLAGS-wcstof128.c): Likewise.
25141 (CFLAGS-wcstof.c): Likewise.
25142 (CFLAGS-wcstol_l.c): Likewise.
25143 (CFLAGS-wcstoul_l.c): Likewise.
25144 (CFLAGS-wcstoll_l.c): Likewise.
25145 (CFLAGS-wcstoull_l.c): Likewise.
25146 (CFLAGS-wcstod_l.c): Likewise.
25147 (CFLAGS-wcstold_l.c): Likewise.
25148 (CFLAGS-wcstof128_l.c): Likewise.
25149 (CFLAGS-wcstof_l.c): Likewise.
25150 (CPPFLAGS-tst-wchar-h.c): Likewise.
25151 (CPPFLAGS-wcstold_l.c): Likewise.
25153 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
25155 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
25157 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25158 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25160 * manual/tunables.texi (Hardware Capability Tunables): Document
25161 glibc.tune.cached_memopt.
25162 * sysdeps/powerpc/cpu-features.c: New file.
25163 * sysdeps/powerpc/cpu-features.h: New file.
25164 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
25165 _dl_powerpc_cpu_features.
25166 * sysdeps/powerpc/dl-tunables.list: New file.
25167 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
25168 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25169 (INIT_ARCH): Initialize use_aligned_memopt.
25170 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
25171 IS_IN(rtld))]: Restrict dl_platform_init availability and
25172 initialize CPU features used by tunables.
25173 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
25174 Add memcpy-power8-cached.
25175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
25176 __memcpy_power8_cached.
25177 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25178 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
25181 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
25183 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
25184 (CFLAGS-noinl-tester.c): Likewise.
25185 (CFLAGS-tst-strlen.c): Likewise.
25186 (CFLAGS-stratcliff.c): Likewise.
25187 (CFLAGS-test-ffs.c): Likewise.
25188 (CFLAGS-tst-inlcall.c): Likewise.
25189 (CFLAGS-tst-xbzero-opt.c): Likewise.
25190 (CFLAGS-memcpy.c): Likewise.
25191 (CFLAGS-wordcopy.c): Likewise.
25193 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25195 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
25196 Store r15 on stack and add cfi rule.
25197 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
25200 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
25203 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
25206 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25208 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25209 Add s_sinf-sse2 and s_sinf-fma.
25210 (CFLAGS-s_sinf-fma.c): New.
25211 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
25212 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
25213 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
25215 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25217 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
25219 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25222 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
25223 part of result to imaginary part of argument if it is zero and the
25224 real part of the argument is not finite.
25225 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
25226 of result to real part of argument if it is zero and the imaginary
25227 part of the argument is not finite.
25229 2017-12-07 Mike FABIAN <mfabian@redhat.com>
25232 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
25233 and to the list of locales to be built for testing.
25234 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
25235 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
25236 and build the collation rules upon that.
25238 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25240 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
25241 * manual/math.texi (Mathematics): Document support for _Float32.
25242 * math/Makefile (test-types): Add float32.
25243 * math/Versions (GLIBC_2.27): Add _Float32 functions.
25244 * stdlib/Versions (GLIBC_2.27): Likewise.
25245 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25246 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25247 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25248 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25249 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25250 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25251 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25252 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25253 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25254 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25255 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25256 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25257 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25258 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25259 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25260 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25261 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25262 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25263 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25264 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25265 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25266 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25268 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25269 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25270 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25271 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25272 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25290 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25291 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25292 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25293 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25294 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25295 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25296 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25297 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25298 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25299 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25304 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25306 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25308 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25309 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25310 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25311 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25312 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25313 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25314 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25315 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25317 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25319 * stdlib/strtof.c: Include <bits/floatn.h>
25320 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
25321 and later undefine as macro. Define as weak alias if
25323 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
25324 and later undefine as macro. Define as weak alias if
25326 * stdlib/strtof_l.c: Include <bits/floatn.h>
25327 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
25328 and later undefine as macro. Define as weak alias if
25330 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
25331 and later undefine as macro. Define as weak alias if
25334 * stdlib/strfromf.c: Include <bits/floatn.h>.
25335 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
25336 and later undefine as macro and define as weak alias.
25338 * math/test-float32.h: New file.
25340 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
25341 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
25342 (libm_alias_float_other_r): Create f32 alias.
25343 (libm_alias_float_r): Use semicolon before call to
25344 libm_alias_float_other_r.
25346 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
25347 second argument to libm_alias_float_other.
25348 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
25349 second argument to libm_alias_float_other.
25350 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
25351 argument to libm_alias_float_other.
25354 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
25355 real part of result for argument 0 + i * NaN.
25356 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
25357 results for tests of 0 + i * NaN.
25359 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25361 * sysdeps/alpha/fpu/libm-test-ulps: Update.
25363 2017-12-06 David S. Miller <davem@davemloft.net>
25365 * sysdeps/sparc/fpu/libm-test-ulps: Update
25366 exp_{downward,towardzero,upward} ulps.
25368 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25370 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
25373 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
25375 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
25377 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
25379 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
25382 2017-12-06 Mike FABIAN <mfabian@redhat.com>
25385 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
25386 and to the list of locales to be built for testing.
25387 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
25388 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
25389 and build the collation rules upon that.
25391 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25393 * NEWS: Add sinf to list of optimized functions.
25395 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25397 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
25398 (__HAVE_FLOAT32X): Likewise.
25399 * manual/math.texi (Mathematics): Document support for _Float64
25401 * math/Makefile (test-types): Add float64 and float32x.
25402 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
25404 * stdlib/Versions (GLIBC_2.27): Likewise.
25405 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25406 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25407 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25408 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25409 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25410 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25411 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25412 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25413 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25414 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25415 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25416 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25417 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25418 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25419 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25420 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25421 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25422 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25423 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25424 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25425 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25426 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25428 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25429 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25430 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25431 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25432 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25449 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25450 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25451 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25452 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25453 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25454 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25455 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25456 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25457 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25458 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25467 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25468 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25469 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25470 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25471 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25472 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25473 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25474 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25476 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25478 * bits/floatn-common.h: Include <bits/long-double.h>.
25479 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25480 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
25481 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25482 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
25483 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25484 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
25485 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25486 (__builtin_huge_valf64): Use __builtin_huge_vall.
25487 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25488 (__builtin_inff64): Use __builtin_infl.
25489 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25490 (__builtin_nanf64): Use __builtin_nanl.
25491 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25492 (__builtin_nansf64): Use __builtin_nansl.
25494 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
25495 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25496 Carlos O'Donell <carlos@redhat.com>
25498 * elf/dl-tunables.list: Add elision parameters.
25499 * manual/tunables.texi: Add entries about elision tunable.
25500 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
25501 Add callback functions to dynamically enable/disable elision.
25502 Add multiple callbacks functions to set elision parameters.
25503 Deleted __libc_enable_secure check.
25504 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
25505 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
25506 * configure: Regenerated.
25507 * configure.ac: Option enable_lock_elision was deleted.
25508 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
25509 * config.make.in: Remove references to enable_lock_elision.
25510 * manual/install.texi: Elision configure option was removed.
25511 * INSTALL: Regenerated to remove enable_lock_elision.
25513 Disable elision so it can verify error case for destroying a mutex.
25514 * sysdeps/powerpc/nptl/elide.h:
25515 Cleanup ENABLE_LOCK_ELISION check.
25516 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
25517 * sysdeps/s390/configure: Regenerated.
25518 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
25519 * nptl/tst-mutex8.c:
25520 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
25521 * sysdeps/powerpc/powerpc32/sysdep.h:
25522 Deleted all ENABLE_LOCK_ELISION checks.
25523 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25524 * sysdeps/powerpc/sysdep.h: Likewise.
25525 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
25526 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
25527 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25528 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25529 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25530 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
25531 enable-lock-elision.
25533 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25535 * stdlib/strtod.c: Include <bits/floatn.h>.
25536 (BUILD_DOUBLE): New macro.
25537 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25538 (strtof64): Define and later undefine as macro. Define as weak
25539 alias if [!USE_WIDE_CHAR].
25540 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25541 (wcstof64): Define and later undefine as macro. Define as weak
25542 alias if [USE_WIDE_CHAR].
25543 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25544 (strtof32x): Define and later undefine as macro. Define as weak
25545 alias if [!USE_WIDE_CHAR].
25546 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25547 (wcstof32x): Define and later undefine as macro. Define as weak
25548 alias if [USE_WIDE_CHAR].
25549 * stdlib/strtod_l.c: Include <bits/floatn.h>.
25550 (BUILD_DOUBLE): New macro.
25551 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25552 (strtof64_l): Define and later undefine as macro. Define as weak
25553 alias if [!USE_WIDE_CHAR].
25554 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25555 (wcstof64_l): Define and later undefine as macro. Define as weak
25556 alias if [USE_WIDE_CHAR].
25557 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25558 (strtof32x_l): Define and later undefine as macro. Define as weak
25559 alias if [!USE_WIDE_CHAR].
25560 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25561 (wcstof32x_l): Define and later undefine as macro. Define as weak
25562 alias if [USE_WIDE_CHAR].
25564 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25566 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
25567 (reduced): Use ones as double instead of integer.
25569 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
25571 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
25573 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25575 * stdlib/strfromd.c: Include <bits/floatn.h>.
25576 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
25577 and later undefine as macro and define as weak alias.
25578 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
25581 * math/test-float32x.h: New file.
25582 * math/test-float64.h: Likewise.
25584 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
25585 (libm_alias_double_other_r_f64): New macro.
25586 (libm_alias_double_other_r_f32x): Likewise.
25587 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25588 libm_alias_double_other_r_f32x.
25589 (libm_alias_double_r): Use semicolon before call to
25590 libm_alias_double_other_r.
25591 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
25593 (libm_alias_double_other_r_f64): New macro.
25594 (libm_alias_double_other_r_f32x): Likewise.
25595 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25596 libm_alias_double_other_r_f32x.
25598 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
25600 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
25602 (SINF_FUNC): Likewise. Replace floor with simple casts.
25604 2017-12-05 Mike FABIAN <mfabian@redhat.com>
25607 * localedata/Makefile: Add et_EE.UTF-8 to test-input
25608 and to the list of locales to be built for testing.
25609 * localedata/et_EE.UTF-8.in: New file for testing the collation.
25610 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
25611 and build the collation rules upon that.
25613 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
25615 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
25616 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
25617 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
25618 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
25619 instead of __insn__xxx.
25620 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
25621 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
25622 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
25623 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
25624 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
25625 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
25627 2017-12-05 Florian Weimer <fweimer@redhat.com>
25629 Linux: Implement interfaces for memory protection keys
25630 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
25632 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
25633 * support/xunistd.h (xsysconf): Declare.
25634 * support/xraise.c: New file.
25635 * support/xsigaction.c: Likewise.
25636 * support/xsignal.c: Likewise.
25637 * support/xsysconf.c: Likewise.
25638 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
25639 pkey_set, pkey_get, pkey_mprotect.
25640 [misc] (tests): Add tst-pkey.
25641 (tst-pkey): Link with -lpthread.
25642 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
25643 pkey_free, pkey_set, pkey_get, pkey_mprotect.
25644 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
25645 (PKEY_DISABLE_WRITE): Define.
25646 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
25648 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
25649 (SEGV_PKUERR): Add.
25650 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
25651 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
25652 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
25653 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
25655 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
25656 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
25657 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
25658 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
25659 * sysdeps/unix/sysv/linux/**.abilist: Update.
25661 2017-12-05 Florian Weimer <fweimer@redhat.com>
25663 * support/tst-test_compare.c (subprocess): Use long long instead
25664 of long argument for consistent type width across 32-bit and
25665 64-bit architectures.
25666 (do_test): Adjust expected output.
25668 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25670 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
25671 (cosf): Define using libm_alias_float.
25672 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
25673 (fabsf): Define using libm_alias_float.
25674 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
25675 (fmaf): Define using libm_alias_float.
25676 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
25677 (rintf): Define using libm_alias_float.
25678 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
25679 (sinf): Define using libm_alias_float.
25680 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
25681 <libm-alias-float.h>.
25682 (modff): Define using libm_alias_float.
25683 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
25684 <libm-alias-float.h>.
25685 (logbf): Define using libm_alias_float.
25686 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
25687 <libm-alias-float.h>.
25688 (ceilf): Define using libm_alias_float.
25689 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25690 <libm-alias-float.h>.
25691 (copysignf): Define using libm_alias_float.
25692 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
25693 <libm-alias-float.h>.
25694 (floorf): Define using libm_alias_float.
25695 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25696 <libm-alias-float.h>.
25697 (llrintf): Define using libm_alias_float.
25698 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25699 <libm-alias-float.h>.
25700 (llroundf): Define using libm_alias_float.
25701 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25702 <libm-alias-float.h>.
25703 (lrintf): Define using libm_alias_float.
25704 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25705 <libm-alias-float.h>.
25706 (lroundf): Define using libm_alias_float.
25707 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
25708 <libm-alias-float.h>.
25709 (nearbyintf): Define using libm_alias_float.
25710 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
25711 <libm-alias-float.h>.
25712 (rintf): Define using libm_alias_float.
25713 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
25714 <libm-alias-float.h>.
25715 (roundf): Define using libm_alias_float.
25716 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
25717 <libm-alias-float.h>.
25718 (truncf): Define using libm_alias_float.
25719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
25720 Include <libm-alias-float.h>.
25721 (ceilf): Define using libm_alias_float.
25722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
25723 Include <libm-alias-float.h>.
25724 (copysignf): Define using libm_alias_float.
25725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
25726 Include <libm-alias-float.h>.
25727 (floorf): Define using libm_alias_float.
25728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
25729 Include <libm-alias-float.h>.
25730 (llrintf): Define using libm_alias_float.
25731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
25732 Include <libm-alias-float.h>.
25733 (llroundf): Define using libm_alias_float.
25734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
25735 Include <libm-alias-float.h>.
25736 (logbf): Define using libm_alias_float.
25737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
25738 Include <libm-alias-float.h>.
25739 (lrintf): Define using libm_alias_float.
25740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
25741 Include <libm-alias-float.h>.
25742 (lroundf): Define using libm_alias_float.
25743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
25744 Include <libm-alias-float.h>.
25745 (modff): Define using libm_alias_float.
25746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
25747 Include <libm-alias-float.h>.
25748 (roundf): Define using libm_alias_float.
25749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
25750 Include <libm-alias-float.h>.
25751 (truncf): Define using libm_alias_float.
25752 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
25753 <libm-alias-float.h>.
25754 (llrintf): Define using libm_alias_float.
25755 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25756 <libm-alias-float.h>.
25757 (llroundf): Define using libm_alias_float.
25758 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
25759 <libm-alias-float.h>.
25760 (ceilf): Define using libm_alias_float.
25761 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
25762 <libm-alias-float.h>.
25763 (floorf): Define using libm_alias_float.
25764 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25765 <libm-alias-float.h>.
25766 (llroundf): Define using libm_alias_float.
25767 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25768 <libm-alias-float.h>.
25769 (lroundf): Define using libm_alias_float.
25770 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
25771 <libm-alias-float.h>.
25772 (roundf): Define using libm_alias_float.
25773 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
25774 <libm-alias-float.h>.
25775 (truncf): Define using libm_alias_float.
25776 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25777 <libm-alias-float.h>.
25778 (copysignf): Define using libm_alias_float.
25779 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
25780 <libm-alias-float.h>.
25781 (llrintf): Define using libm_alias_float.
25782 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25783 <libm-alias-float.h>.
25784 (llroundf): Define using libm_alias_float.
25785 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25786 <libm-alias-float.h>.
25787 (lrintf): Define using libm_alias_float.
25788 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25789 <libm-alias-float.h>.
25790 (lroundf): Define using libm_alias_float.
25791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
25792 <libm-alias-float.h>.
25793 (ceilf): Define using libm_alias_float.
25794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
25795 <libm-alias-float.h>.
25796 (copysignf): Define using libm_alias_float.
25797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
25798 <libm-alias-float.h>.
25799 (cosf): Define using libm_alias_float.
25800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
25801 <libm-alias-float.h>.
25802 (floorf): Define using libm_alias_float.
25803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
25804 <libm-alias-float.h>.
25805 (llrintf): Define using libm_alias_float.
25806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
25807 <libm-alias-float.h>.
25808 (llroundf): Define using libm_alias_float.
25809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
25810 <libm-alias-float.h>.
25811 (logbf): Define using libm_alias_float.
25812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
25813 <libm-alias-float.h>.
25814 (modff): Define using libm_alias_float.
25815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
25816 <libm-alias-float.h>.
25817 (roundf): Define using libm_alias_float.
25818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
25819 <libm-alias-float.h>.
25820 (sinf): Define using libm_alias_float.
25821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
25822 <libm-alias-float.h>.
25823 (truncf): Define using libm_alias_float.
25824 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
25825 <libm-alias-float.h>.
25826 (ceilf): Define using libm_alias_float.
25827 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25828 <libm-alias-float.h>.
25829 (copysignf): Define using libm_alias_float.
25830 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
25831 <libm-alias-float.h>.
25832 (floorf): Define using libm_alias_float.
25833 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25834 <libm-alias-float.h>.
25835 (llrintf): Define using libm_alias_float.
25836 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
25837 <libm-alias-float.h>.
25838 (llroundf): Define using libm_alias_float.
25839 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
25840 <libm-alias-float.h>.
25841 (nearbyintf): Define using libm_alias_float.
25842 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
25843 <libm-alias-float.h>.
25844 (rintf): Define using libm_alias_float.
25845 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
25846 <libm-alias-float.h>.
25847 (roundf): Define using libm_alias_float.
25848 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
25849 <libm-alias-float.h>.
25850 (truncf): Define using libm_alias_float.
25851 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
25852 <libm-alias-float.h>.
25853 (ceilf): Define using libm_alias_float.
25854 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
25855 <libm-alias-float.h>.
25856 (floorf): Define using libm_alias_float.
25857 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25858 <libm-alias-float.h>.
25859 (llroundf): Define using libm_alias_float.
25860 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
25861 <libm-alias-float.h>.
25862 (roundf): Define using libm_alias_float.
25863 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
25864 <libm-alias-float.h>.
25865 (truncf): Define using libm_alias_float.
25866 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25867 <libm-alias-float.h>.
25868 (copysignf): Define using libm_alias_float.
25869 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25870 <libm-alias-float.h>.
25871 (llrintf): Define using libm_alias_float.
25872 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25873 <libm-alias-float.h>.
25874 (llroundf): Define using libm_alias_float.
25875 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
25876 <libm-alias-float.h>.
25877 (cosf): Define using libm_alias_float.
25878 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25879 <libm-alias-float.h>.
25880 (llrintf): Define using libm_alias_float.
25881 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25882 <libm-alias-float.h>.
25883 (llroundf): Define using libm_alias_float.
25884 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
25885 <libm-alias-float.h>.
25886 (sinf): Define using libm_alias_float.
25888 2017-12-04 Florian Weimer <fweimer@redhat.com>
25890 * support/check.h (TEST_COMPARE): Define.
25891 (support_test_compare_failure): Declare.
25892 * support/Makefile (libsupport-routines): Add
25893 support_test_compare_failure.
25894 (tests): Add tst-test_compare.
25895 * support /support_test_compare_failure.c: New file.
25896 * support/tst-test_compare.c: Likewise.
25898 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25901 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
25902 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
25903 available, this rewrite of the collation rules does reproduce
25904 the test file in the same order.
25906 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25909 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
25910 digraphs in the month and day names. Using single code points for
25911 digraphs is deprecated. While there are dedicated Unicode
25912 codepoints, for the digraphs, these are included for backwards
25913 compatibility and modern texts use a sequence of Basic Latin
25914 characters. See: https://www.unicode.org/faq/ligature_digraph.html
25915 This makes the month and day names agree exactly with CLDR now,
25916 CLDR does not use the single code points for the digraphs either.
25918 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
25920 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
25922 2017-12-04 Joseph Myers <joseph@codesourcery.com>
25924 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
25927 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
25929 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
25930 Define only for libc.so.
25932 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
25934 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25935 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
25936 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
25937 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
25938 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25940 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25943 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
25945 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
25948 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
25949 PREINIT_FUNCTION_WEAK is nonzero.
25950 (gmon_initializer): New function. Put procedure label for it in
25951 .init_array section.
25952 (_init): Don't call PREINIT_FUNCTION.
25953 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
25954 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
25955 value when map argument is null.
25957 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
25958 depi instruction from PIC pc-relative sequence.
25959 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
25960 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
25961 (elf_machine_load_address): Likewise.
25962 (elf_machine_runtime_setup): Likewise.
25964 2017-12-02 Joseph Myers <joseph@codesourcery.com>
25966 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
25967 <libm-alias-double.h>.
25968 (logb): Define using libm_alias_double.
25969 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25970 <libm-alias-double.h>.
25971 (copysign): Define using libm_alias_double.
25972 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
25973 <libm-alias-double.h>.
25974 (llrint): Define using libm_alias_double.
25975 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
25976 <libm-alias-double.h>.
25977 (llround): Define using libm_alias_double.
25978 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25979 <libm-alias-double.h>.
25980 (lrint): Define using libm_alias_double.
25981 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25982 <libm-alias-double.h>.
25983 (lround): Define using libm_alias_double.
25984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25985 Include <libm-alias-double.h>.
25986 (copysign): Define using libm_alias_double.
25987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
25988 Include <libm-alias-double.h>.
25989 (llrint): Define using libm_alias_double.
25990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
25991 Include <libm-alias-double.h>.
25992 (llround): Define using libm_alias_double.
25993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
25994 <libm-alias-double.h>.
25995 (logb): Define using libm_alias_double.
25996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
25997 Include <libm-alias-double.h>.
25998 (lrint): Define using libm_alias_double.
25999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
26000 Include <libm-alias-double.h>.
26001 (lround): Define using libm_alias_double.
26002 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
26003 <libm-alias-double.h>.
26004 (llrint): Define using libm_alias_double.
26005 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
26006 <libm-alias-double.h>.
26007 (llround): Define using libm_alias_double.
26008 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
26009 <libm-alias-double.h>.
26010 (llround): Define using libm_alias_double.
26011 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
26012 <libm-alias-double.h>.
26013 (lround): Define using libm_alias_double.
26014 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
26015 <libm-alias-double.h>.
26016 (copysign): Define using libm_alias_double.
26017 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
26018 <libm-alias-double.h>.
26019 (llrint): Define using libm_alias_double.
26020 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
26021 <libm-alias-double.h>.
26022 (llround): Define using libm_alias_double.
26023 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
26024 <libm-alias-double.h>.
26025 (lrint): Define using libm_alias_double.
26026 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
26027 <libm-alias-double.h>.
26028 (lround): Define using libm_alias_double.
26029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
26030 <libm-alias-double.h>.
26031 (copysign): Define using libm_alias_double.
26032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
26033 <libm-alias-double.h>.
26034 (llrint): Define using libm_alias_double.
26036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
26037 <libm-alias-double.h>.
26038 (llround): Define using libm_alias_double.
26039 (lround): Likewise.
26040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
26041 <libm-alias-double.h>.
26042 (logb): Define using libm_alias_double.
26043 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
26044 <libm-alias-double.h>.
26045 (copysign): Define using libm_alias_double.
26046 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
26047 <libm-alias-double.h>.
26048 (llrint): Define using libm_alias_double.
26050 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
26051 <libm-alias-double.h>.
26052 (llround): Define using libm_alias_double.
26053 (lround): Likewise.
26054 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
26055 <libm-alias-double.h>.
26056 (llround): Define using libm_alias_double.
26057 (lround): Likewise.
26058 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
26059 <libm-alias-double.h>.
26060 (copysign): Define using libm_alias_double.
26061 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
26062 <libm-alias-double.h>.
26063 (llrint): Define using libm_alias_double.
26065 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
26066 <libm-alias-double.h>.
26067 (llround): Define using libm_alias_double.
26068 (lround): Likewise.
26069 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
26070 <libm-alias-double.h>.
26071 (llrint): Define using libm_alias_double.
26073 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
26074 <libm-alias-double.h>.
26075 (llround): Define using libm_alias_double.
26076 (lround): Likewise.
26078 2017-12-01 Joseph Myers <joseph@codesourcery.com>
26080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
26081 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
26082 compat symbol based on llround.
26084 * sysdeps/powerpc/power7/fpu/s_logb.c
26085 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
26086 symbol based on __logb, not on logb.
26087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
26088 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
26089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
26090 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
26092 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
26093 (rint): Define using libm_alias_double.
26094 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
26095 <libm-alias-double.h>.
26096 (modf): Define using libm_alias_double.
26097 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
26098 <libm-alias-double.h>.
26099 (ceil): Define using libm_alias_double.
26100 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
26101 <libm-alias-double.h>.
26102 (floor): Define using libm_alias_double.
26103 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
26104 <libm-alias-double.h>.
26105 (nearbyint): Define using libm_alias_double.
26106 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
26107 <libm-alias-double.h>.
26108 (rint): Define using libm_alias_double.
26109 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
26110 <libm-alias-double.h>.
26111 (round): Define using libm_alias_double.
26112 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
26113 <libm-alias-double.h>.
26114 (trunc): Define using libm_alias_double.
26115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
26116 <libm-alias-double.h>.
26117 (ceil): Define using libm_alias_double.
26118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
26119 Include <libm-alias-double.h>.
26120 (floor): Define using libm_alias_double.
26121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
26122 <libm-alias-double.h>.
26123 (modf): Define using libm_alias_double.
26124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
26125 Include <libm-alias-double.h>.
26126 (round): Define using libm_alias_double.
26127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
26128 Include <libm-alias-double.h>.
26129 (trunc): Define using libm_alias_double.
26130 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
26131 <libm-alias-double.h>.
26132 (ceil): Define using libm_alias_double.
26133 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
26134 <libm-alias-double.h>.
26135 (floor): Define using libm_alias_double.
26136 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
26137 <libm-alias-double.h>.
26138 (round): Define using libm_alias_double.
26139 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
26140 <libm-alias-double.h>.
26141 (trunc): Define using libm_alias_double.
26142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
26143 <libm-alias-double.h>.
26144 (ceil): Define using libm_alias_double.
26145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
26146 <libm-alias-double.h>.
26147 (floor): Define using libm_alias_double.
26148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
26149 <libm-alias-double.h>.
26150 (modf): Define using libm_alias_double.
26151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
26152 <libm-alias-double.h>.
26153 (round): Define using libm_alias_double.
26154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
26155 <libm-alias-double.h>.
26156 (trunc): Define using libm_alias_double.
26157 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
26158 <libm-alias-double.h>.
26159 (ceil): Define using libm_alias_double.
26160 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
26161 <libm-alias-double.h>.
26162 (floor): Define using libm_alias_double.
26163 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
26164 <libm-alias-double.h>.
26165 (nearbyint): Define using libm_alias_double.
26166 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
26167 <libm-alias-double.h>.
26168 (rint): Define using libm_alias_double.
26169 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
26170 <libm-alias-double.h>.
26171 (round): Define using libm_alias_double.
26172 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
26173 <libm-alias-double.h>.
26174 (trunc): Define using libm_alias_double.
26175 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
26176 <libm-alias-double.h>.
26177 (ceil): Define using libm_alias_double.
26178 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
26179 <libm-alias-double.h>.
26180 (floor): Define using libm_alias_double.
26181 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
26182 <libm-alias-double.h>.
26183 (round): Define using libm_alias_double.
26184 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
26185 <libm-alias-double.h>.
26186 (trunc): Define using libm_alias_double.
26188 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
26189 (fabs): Define using libm_alias_double.
26190 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
26191 (fma): Define using libm_alias_double.
26192 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
26193 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
26194 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
26195 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
26197 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26199 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
26201 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
26202 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
26203 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
26206 due redirect macro.
26208 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
26210 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
26212 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26214 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
26215 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
26216 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
26217 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
26219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26220 (libm-sysdep_routines): Add s_nearbyintf-generic and
26221 s_nearbyint-generic.
26222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
26224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
26225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
26227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
26229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
26231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26235 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
26236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
26238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
26239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
26241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
26242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
26243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26246 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
26247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
26249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
26250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
26252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
26253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
26254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
26256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26257 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
26258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
26260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
26261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
26263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
26264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
26265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26268 (sysdep_calls): New rule.
26269 (sysdep_routines): Use sysdep_calls as base.
26270 (libm-sysdep_routines): Add generic rule for symbols shared with
26271 libc. Add s_copysign-generic and s_copysign-generic objects.
26272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
26274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
26275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
26277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
26278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
26279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
26281 2017-12-01 Mike FABIAN <mfabian@redhat.com>
26284 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
26285 the list of locales to be built for testing.
26286 * localedata/is_IS.UTF-8.in: New file.
26287 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
26290 2017-12-01 Joseph Myers <joseph@codesourcery.com>
26292 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
26293 <libm-alias-float.h>.
26294 (fabsf): Define using libm_alias_float.
26296 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26298 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
26300 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26302 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
26303 <libm-alias-float.h>.
26304 (fabsf): Define using libm_alias_float.
26305 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
26306 <libm-alias-float.h>.
26307 (lrintf): Define using libm_alias_float.
26308 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
26309 <libm-alias-float.h>.
26310 (rintf): Define using libm_alias_float.
26312 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
26313 <libm-alias-double.h>.
26314 (fabs): Define using libm_alias_double.
26315 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
26316 <libm-alias-double.h>.
26317 (lrint): Define using libm_alias_double.
26318 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
26319 <libm-alias-double.h>.
26320 (rint): Define using libm_alias_double.
26322 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
26323 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
26324 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
26325 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
26326 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
26327 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
26328 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
26329 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
26330 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
26331 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
26332 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
26333 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
26334 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
26335 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
26336 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
26337 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
26338 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
26339 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
26341 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
26342 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
26343 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
26345 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
26346 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
26347 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
26349 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
26350 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
26351 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
26352 s_expm1_template.c.
26353 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
26354 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
26355 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
26357 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
26358 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
26359 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
26360 s_floor_template.c.
26361 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
26362 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
26363 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
26364 s_frexp_template.c.
26365 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
26366 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
26367 s_lrint_template.c.
26368 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
26369 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
26370 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
26372 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
26373 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
26374 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
26375 s_nearbyint_template.c.
26376 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
26377 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
26378 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
26379 s_remquo_template.c.
26380 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
26381 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
26382 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
26384 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
26385 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
26386 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
26388 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
26389 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
26390 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
26391 s_sincos_template.c.
26392 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
26393 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
26394 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
26396 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
26397 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
26398 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
26400 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
26401 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
26402 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
26403 s_trunc_template.c.
26404 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
26405 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
26406 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
26407 s_atan.c instead of including s_atan.c.
26408 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
26409 s_atanf.c instead of including s_atanf.c.
26410 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
26411 s_atanl.c instead of including s_atanl.c.
26412 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
26413 instead of s_atan.c.
26414 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
26415 instead of s_atanf.c.
26416 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
26417 instead of s_atanl.c.
26419 * scripts/update-copyrights: Do not handle intl/plural.c
26422 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
26425 * configure.ac (BISON): Require to be present.
26426 * configure: Regenerated.
26427 * intl/Makefile (generated): Add plural.c.
26428 [$(BISON) != no]: Make code unconditional.
26429 (plural.c): Change rule to $(objpfx)plural.c.
26430 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
26431 * intl/plural.c: Remove.
26432 * manual/install.texi (Tools for Compilation): Document bison as
26434 * INSTALL: Regenerated.
26436 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26438 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
26439 <libm-alias-double.h>.
26440 (llrint): Define using libm_alias_double.
26441 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
26442 <libm-alias-float.h>.
26443 (llrintf): Define using libm_alias_float.
26444 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
26445 <libm-alias-ldouble.h>.
26446 (llrintl): Define using libm_alias_ldouble.
26448 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
26449 declare_mgen_alias instead of weak_alias.
26450 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
26451 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
26452 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
26454 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26456 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26458 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
26459 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
26460 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
26462 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26463 Add submul_1-generic.
26464 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
26465 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
26466 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
26468 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26469 Add addmul_1-generic.
26470 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
26471 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
26472 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
26474 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26476 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
26477 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
26478 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
26480 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26482 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
26483 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
26484 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
26486 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26488 According to CLDR, collation rules for Serbian and Bosnian
26489 should be the same as for Croatian.
26492 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
26493 and to the list of locales to be built for testing.
26494 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26495 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26496 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
26497 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
26499 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26501 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
26502 to make test case pass.
26503 * localedata/hr_HR.UTF-8.in: Add more test strings.
26505 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26507 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
26509 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26511 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
26512 the list of locales to built for testing.
26513 * localedata/hr_HR.UTF-8.in: New file.
26515 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26518 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
26520 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
26521 CLDR (except use ligatures for the digraphs, CLDR does not use
26522 the ligatures), add first_workday, some fixes in the date and time
26524 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
26526 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
26527 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
26528 Add int_p_cs_precedes and int_n_cs_precedes.
26529 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
26530 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
26532 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
26533 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
26535 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
26536 and lang_lib. Change postal_fmt.
26538 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26540 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
26542 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26543 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
26544 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26545 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
26546 * sysdeps/generic/setjmpP.h: New file.
26547 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
26548 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
26549 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
26550 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
26551 Add jmp_buf-ssp.sym.
26552 (tests): Add tst-saved_mask-1.
26554 2017-11-30 Arjun Shankar <arjun@redhat.com>
26558 * malloc/malloc.c (__libc_malloc): Use checked_request2size
26559 instead of request2size.
26561 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
26564 (__lllrint): Remove alias.
26565 (lllrint): Likewise.
26566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
26567 (__lllrintf): Likewise.
26568 (lllrintf): Likewise.
26570 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
26571 <libm-alias-float.h>.
26572 (copysignf): Define using libm_alias_float.
26573 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
26574 <libm-alias-float.h>.
26575 (fabsf): Define using libm_alias_float.
26576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26577 Include <libm-alias-float.h>.
26578 (copysignf): Define using libm_alias_float.
26579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
26580 <libm-alias-float.h>.
26581 (fabsf): Define using libm_alias_float.
26582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
26583 <libm-alias-float.h>.
26584 (fdimf): Define using libm_alias_float.
26585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
26586 <libm-alias-float.h>.
26587 (fmaf): Define using libm_alias_float.
26588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
26589 <libm-alias-float.h>.
26590 (llrintf): Define using libm_alias_float.
26591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26592 Include <libm-alias-float.h>.
26593 (nearbyintf): Define using libm_alias_float.
26594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
26595 <libm-alias-float.h>.
26596 (rintf): Define using libm_alias_float.
26597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
26598 <libm-alias-float.h>.
26599 (llrintf): Define using libm_alias_float.
26600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
26601 <libm-alias-float.h>.
26602 (lrintf): Define using libm_alias_float.
26603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
26604 <libm-alias-float.h>.
26605 (nearbyintf): Define using libm_alias_float.
26606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
26607 <libm-alias-float.h>.
26608 (rintf): Define using libm_alias_float.
26609 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
26610 <libm-alias-float.h>.
26611 (ceilf): Define using libm_alias_float.
26612 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
26613 <libm-alias-float.h>.
26614 (floorf): Define using libm_alias_float.
26615 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
26616 <libm-alias-float.h>.
26617 (fmaf): Define using libm_alias_float.
26618 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
26619 <libm-alias-float.h>.
26620 (lrintf): Define using libm_alias_float.
26621 (llrintf): Likewise.
26622 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
26623 <libm-alias-float.h>.
26624 (nearbyintf): Define using libm_alias_float.
26625 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
26626 <libm-alias-float.h>.
26627 (rintf): Define using libm_alias_float.
26628 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
26629 <libm-alias-float.h>.
26630 (truncf): Define using libm_alias_float.
26631 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
26632 <libm-alias-float.h>.
26633 (copysignf): Define using libm_alias_float.
26634 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
26635 <libm-alias-float.h>.
26636 (fabsf): Define using libm_alias_float.
26637 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
26638 <libm-alias-float.h>.
26639 (lrintf): Define using libm_alias_float.
26640 (llrintf): Likewise.
26641 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
26642 <libm-alias-float.h>.
26643 (nearbyintf): Define using libm_alias_float.
26644 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
26645 <libm-alias-float.h>.
26646 (rintf): Define using libm_alias_float.
26648 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26650 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26651 <libm-alias-double.h>.
26652 (copysign): Define using libm_alias_double.
26653 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
26654 <libm-alias-double.h>.
26655 (fabs): Define using libm_alias_double.
26656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26657 Include <libm-alias-double.h>.
26658 (copysign): Define using libm_alias_double.
26659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26660 <libm-alias-double.h>.
26661 (fabs): Define using libm_alias_double.
26662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
26663 <libm-alias-double.h>.
26664 (fdim): Define using libm_alias_double.
26665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
26666 <libm-alias-double.h>.
26667 (fma): Define using libm_alias_double.
26668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
26669 <libm-alias-double.h>.
26670 (llrint): Define using libm_alias_double.
26671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
26672 Include <libm-alias-double.h>.
26673 (nearbyint): Define using libm_alias_double.
26674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
26675 <libm-alias-double.h>.
26676 (rint): Define using libm_alias_double.
26677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26678 <libm-alias-double.h>.
26679 (fabs): Define using libm_alias_double.
26680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
26681 <libm-alias-double.h>.
26682 (llrint): Define using libm_alias_double.
26683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
26684 <libm-alias-double.h>.
26685 (nearbyint): Define using libm_alias_double.
26686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
26687 <libm-alias-double.h>.
26688 (rint): Define using libm_alias_double.
26689 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
26690 <libm-alias-double.h>.
26691 (ceil): Define using libm_alias_double.
26692 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
26693 <libm-alias-double.h>.
26694 (floor): Define using libm_alias_double.
26695 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
26696 <libm-alias-double.h>.
26697 (fma): Define using libm_alias_double.
26698 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
26699 <libm-alias-double.h>.
26700 (lrint): Define using libm_alias_double.
26701 (llrint): Likewise.
26702 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
26703 <libm-alias-double.h>.
26704 (nearbyint): Define using libm_alias_double.
26705 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
26706 <libm-alias-double.h>.
26707 (rint): Define using libm_alias_double.
26708 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
26709 <libm-alias-double.h>.
26710 (trunc): Define using libm_alias_double.
26711 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
26712 <libm-alias-double.h>.
26713 (copysign): Define using libm_alias_double.
26714 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
26715 <libm-alias-double.h>.
26716 (fabs): Define using libm_alias_double.
26717 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
26718 <libm-alias-double.h>.
26719 (lrint): Define using libm_alias_double.
26720 (llrint): Likewise.
26721 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
26722 <libm-alias-double.h>.
26723 (nearbyint): Define using libm_alias_double.
26724 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
26725 <libm-alias-double.h>.
26726 (rint): Define using libm_alias_double.
26729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26731 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26733 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
26734 SPARC --disable-multi-arch glibc variants.
26736 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
26737 <libm-alias-float.h>.
26738 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26740 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
26741 <libm-alias-float.h>.
26742 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26744 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
26745 <libm-alias-float.h>.
26746 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26748 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
26749 <libm-alias-float.h>.
26750 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26752 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
26753 <libm-alias-float.h>.
26754 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26756 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
26757 <libm-alias-float.h>.
26758 (ceilf): Define using libm_alias_float.
26759 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
26760 <libm-alias-float.h>.
26761 (floorf): Define using libm_alias_float.
26762 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
26763 <libm-alias-float.h>.
26764 (fmaf): Define using libm_alias_float.
26765 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
26766 <libm-alias-float.h>.
26767 (nearbyintf): Define using libm_alias_float.
26768 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
26769 <libm-alias-float.h>.
26770 (rintf): Define using libm_alias_float.
26771 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
26772 <libm-alias-float.h>.
26773 (truncf): Define using libm_alias_float.
26774 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26775 (copysignf): Define using libm_alias_float.
26776 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
26777 (cosf): Define using libm_alias_float.
26778 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26779 (fabsf): Define using libm_alias_float.
26780 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26781 (fmaxf): Define using libm_alias_float.
26782 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
26783 (fminf): Define using libm_alias_float.
26784 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26785 (llrintf): Define using libm_alias_float.
26786 [!__ILP32__] (lrintf): Likewise.
26787 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
26788 (sincosf): Define using libm_alias_float.
26789 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
26790 (sinf): Define using libm_alias_float.
26791 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26792 (lrintf): Define using libm_alias_float.
26794 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
26795 <libm-alias-double.h>.
26796 (atan): Define using libm_alias_double.
26797 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
26798 <libm-alias-double.h>.
26799 (ceil): Define using libm_alias_double.
26800 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
26801 <libm-alias-double.h>.
26802 (floor): Define using libm_alias_double.
26803 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
26804 <libm-alias-double.h>.
26805 (fma): Define using libm_alias_double.
26806 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
26807 <libm-alias-double.h>.
26808 (nearbyint): Define using libm_alias_double.
26809 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
26810 <libm-alias-double.h>.
26811 (rint): Define using libm_alias_double.
26812 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
26813 <libm-alias-double.h>.
26814 (sin): Define using libm_alias_double.
26816 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
26817 <libm-alias-double.h>.
26818 (tan): Define using libm_alias_double.
26819 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
26820 <libm-alias-double.h>.
26821 (trunc): Define using libm_alias_double.
26822 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
26823 (copysign): Define using libm_alias_double.
26824 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
26825 (fabs): Define using libm_alias_double.
26826 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
26827 (fmax): Define using libm_alias_double.
26828 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
26829 (fmin): Define using libm_alias_double.
26830 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
26831 (llrint): Define using libm_alias_double.
26832 [!__ILP32__] (lrint): Likewise.
26833 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
26834 (lrint): Define using libm_alias_double.
26836 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26838 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26839 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
26841 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
26842 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
26843 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
26844 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
26845 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
26846 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26848 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26849 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
26851 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
26852 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
26853 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
26854 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
26855 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
26856 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26858 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26859 (libm-sysdep_routines): Add s_nearbyint-generic and
26860 s_nearbyintf-generic objects.
26861 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
26862 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
26863 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
26864 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
26865 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
26866 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
26868 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26869 Add s_finitef-generic and s_finite-generic objects.
26870 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
26871 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
26872 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
26873 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
26874 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
26875 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
26877 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26878 Add s_isinff-generic and s_isinf-generic objects.
26879 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
26880 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
26881 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
26882 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
26883 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
26884 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26886 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26887 Add s_isnanf-generic and s_isnan-generic objects.
26888 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
26889 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
26890 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
26891 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
26892 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
26893 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26895 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
26897 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
26899 (sysdep_routines): Use sysdep_calls as base.
26900 (libm-sysdep_routines): Add generic rule for symbols shared with
26901 libc. Add s_signbit-generic and s_signbitf-generic objects.
26902 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
26903 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
26904 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
26905 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
26906 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
26907 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26909 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26911 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
26912 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
26913 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
26914 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
26915 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
26916 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
26917 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
26918 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
26919 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
26920 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
26921 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
26922 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
26923 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
26924 libm_alias_float_r.
26925 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
26926 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
26928 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
26929 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
26930 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
26931 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
26932 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
26933 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
26934 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
26935 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
26936 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
26937 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
26939 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
26941 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
26942 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
26943 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
26944 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
26945 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
26946 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
26947 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
26948 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
26949 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
26950 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
26951 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
26952 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
26953 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
26954 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
26955 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
26956 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
26957 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
26958 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
26959 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
26961 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
26962 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
26963 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
26964 * sysdeps/ia64/fpu/w_lgammaf_main.c
26965 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
26966 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
26968 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26969 Alexandre Oliva <aoliva@redhat.com>
26972 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
26973 * localedata/fr_CA.UTF-8.in: New file with test data for backward
26975 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
26977 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
26978 * localedata/locales/de_DE (LC_COLLATE): Likewise.
26979 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
26980 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
26981 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
26982 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
26983 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
26984 instead of “ifdef DIACRIT_BACKWARD”.
26986 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26988 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
26989 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
26990 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
26991 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
26992 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
26993 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
26994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
26995 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
26996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
26997 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
26998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
26999 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
27000 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
27001 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
27002 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
27003 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
27004 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
27005 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
27006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
27007 ($(have-as-vis3) == yes): Remove conditional.
27008 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
27010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
27012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
27014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
27016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
27018 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
27019 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
27020 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
27021 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
27022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
27023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
27024 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
27025 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
27027 2017-11-29 Joseph Myers <joseph@codesourcery.com>
27029 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
27030 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
27031 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
27032 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
27033 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
27034 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
27035 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
27036 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
27037 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
27038 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
27039 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
27040 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
27041 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
27042 libm_alias_double_r.
27043 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
27045 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
27046 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
27047 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
27048 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
27049 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
27050 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
27051 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
27052 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
27053 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
27054 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
27055 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
27057 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
27059 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
27060 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
27061 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
27062 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
27063 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
27064 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
27065 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
27066 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
27067 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
27068 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
27069 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
27070 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
27071 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
27072 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
27073 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
27074 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
27075 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
27076 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
27078 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
27079 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
27080 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
27081 * sysdeps/ia64/fpu/w_lgamma_main.c
27082 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
27083 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
27085 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
27087 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
27088 address of $global$ into %dp register earlier. Use pc-relative
27089 instruction sequence for PIC case.
27091 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27093 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
27094 (asinhf): Define using libm_alias_float.
27095 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
27096 (atanf): Define using libm_alias_float.
27097 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
27098 (cbrtf): Define using libm_alias_float.
27099 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
27100 (ceilf): Define using libm_alias_float.
27101 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
27102 (copysignf): Define using libm_alias_float.
27103 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
27104 (expm1f): Define using libm_alias_float.
27105 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
27106 (fabsf): Define using libm_alias_float.
27107 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
27108 (floorf): Define using libm_alias_float.
27109 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27110 (fmaxf): Define using libm_alias_float.
27111 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
27112 (fminf): Define using libm_alias_float.
27113 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
27114 (frexpf): Define using libm_alias_float.
27115 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
27116 (llrintf): Define using libm_alias_float.
27117 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
27118 (logbf): Define using libm_alias_float.
27119 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
27120 (lrintf): Define using libm_alias_float.
27121 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
27122 (nearbyintf): Define using libm_alias_float.
27123 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
27124 (remquof): Define using libm_alias_float.
27125 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
27126 (rintf): Define using libm_alias_float.
27127 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
27128 (truncf): Define using libm_alias_float.
27129 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
27130 <libm-alias-float.h>.
27131 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27133 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
27134 <libm-alias-float.h>.
27135 (expf): Define using libm_alias_float, or libm_alias_float_other
27137 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
27138 <libm-alias-float.h>.
27139 (log2f): Define using libm_alias_float, or libm_alias_float_other
27141 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
27142 <libm-alias-float.h>.
27143 (logf): Define using libm_alias_float, or libm_alias_float_other
27145 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
27146 <libm-alias-float.h>.
27147 (powf): Define using libm_alias_float, or libm_alias_float_other
27149 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
27150 <libm-alias-float.h>.
27151 (cosf): Define using libm_alias_float.
27152 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
27153 <libm-alias-float.h>.
27154 (sincosf): Define using libm_alias_float.
27155 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
27156 <libm-alias-float.h>.
27157 (sinf): Define using libm_alias_float.
27158 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27159 (fmaxf): Define using libm_alias_float.
27160 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
27161 (fminf): Define using libm_alias_float.
27162 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27163 <libm-alias-float.h>.
27164 (fmaf): Define using libm_alias_float.
27166 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
27167 (asinh): Define using libm_alias_double.
27168 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
27169 (atan): Define using libm_alias_double.
27170 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
27171 (cbrt): Define using libm_alias_double.
27172 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
27173 (ceil): Define using libm_alias_double.
27174 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
27175 (copysign): Define using libm_alias_double.
27176 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
27177 (expm1): Define using libm_alias_double.
27178 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
27179 (fabs): Define using libm_alias_double.
27180 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
27181 (fdim): Define using libm_alias_double.
27182 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
27183 (floor): Define using libm_alias_double.
27184 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
27185 (fmax): Define using libm_alias_double.
27186 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
27187 (fmin): Define using libm_alias_double.
27188 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
27189 (frexp): Define using libm_alias_double.
27190 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
27191 (llrint): Define using libm_alias_double.
27192 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
27193 (logb): Define using libm_alias_double.
27194 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
27195 (lrint): Define using libm_alias_double.
27196 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
27197 (nearbyint): Define using libm_alias_double.
27198 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
27199 (remquo): Define using libm_alias_double.
27200 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
27201 (rint): Define using libm_alias_double.
27202 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
27203 (trunc): Define using libm_alias_double.
27204 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
27205 (fmax): Define using libm_alias_double.
27206 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
27207 (fmin): Define using libm_alias_double.
27208 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
27209 (fma): Define using libm_alias_double.
27211 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
27214 * elf/dl-hwcaps.c (ROUND): Removed.
27215 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
27216 and ELF_NOTE_NEXT_OFFSET.
27217 * elf/dl-load.c (ROUND): Removed.
27218 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27219 * elf/readelflib.c (ROUND): Removed.
27220 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27221 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
27222 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
27223 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
27225 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27227 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27228 [!__fmaf] (fmaf): Define using libm_alias_float.
27230 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
27231 [!__fma] (fma): Define using libm_alias_double.
27232 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
27234 2017-11-28 Mike FABIAN <mfabian@redhat.com>
27237 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
27238 and implement the collation rules for cs from CLDR on top of that.
27239 * Makefile: Add cs_CZ.UTF-8 to test-input.
27240 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
27242 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
27244 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
27246 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27247 Icarus Sparry <icarus.w.sparry@intel.com>
27249 * benchtests/Makefile:Add BENCHSET to allow subsets of
27250 benchmarks to be run.
27251 * benchtests/README: Add documentation for: Running subsets of
27254 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27256 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
27257 range of tests names.
27259 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
27260 result from property and remove "max", min" and "mean" from
27261 required properties based on benchtests/bench-skeleton.c.
27263 2017-11-28 Florian Weimer <fweimer@redhat.com>
27266 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
27267 due to Internet requirement.
27268 * posix/Makefile (tests): Remove tst-getaddrinfo4,
27270 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
27272 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27274 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27275 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
27276 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27277 (sysdep_routines): Add memset-ultra1.
27278 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
27280 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
27281 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
27282 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
27283 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
27284 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
27285 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
27286 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
27287 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27289 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
27291 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
27292 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
27293 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
27294 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
27295 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
27296 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
27297 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
27299 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27300 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
27301 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27302 (sysdep_routines): Add memcpy-ultra1.
27303 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
27304 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
27306 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27308 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
27309 (cfloat_versions): Take function argument without trailing 'f'.
27310 Call libm_alias_float_other.
27311 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
27312 * sysdeps/alpha/fpu/cargf.c: Likewise.
27313 * sysdeps/alpha/fpu/cimagf.c: Likewise.
27314 * sysdeps/alpha/fpu/conjf.c: Likewise.
27315 * sysdeps/alpha/fpu/crealf.c: Likewise.
27316 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
27317 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
27318 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
27319 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
27320 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
27321 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
27322 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
27323 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
27324 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
27325 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
27326 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
27327 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
27328 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
27329 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
27330 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
27331 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
27332 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
27333 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
27334 (clog10f): Use libm_alias_float_other.
27335 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27336 (ceilf): Define using libm_alias_float.
27337 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
27338 (copysignf): Define using libm_alias_float.
27339 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
27340 (fabsf): Define using libm_alias_float.
27341 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
27342 (floorf): Define using libm_alias_float.
27343 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
27344 (fmaxf): Define using libm_alias_float.
27345 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
27346 (fminf): Define using libm_alias_float.
27347 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27348 (lrintf): Define using libm_alias_float.
27349 (llrintf): Likewise.
27350 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27351 (lroundf): Define using libm_alias_float.
27352 (llroundf): Likewise.
27353 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
27354 (rintf): Define using libm_alias_float.
27355 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
27356 (truncf): Define using libm_alias_float.
27358 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27359 (ceilf): Define using libm_alias_float.
27360 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
27361 (floorf): Define using libm_alias_float.
27362 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27363 (fmaf): Define using libm_alias_float.
27364 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
27365 (fmaxf): Define using libm_alias_float.
27366 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
27367 (fminf): Define using libm_alias_float.
27368 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
27369 (llrintf): Define using libm_alias_float.
27370 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
27371 (llroundf): Define using libm_alias_float.
27372 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27373 (lrintf): Define using libm_alias_float.
27374 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27375 (lroundf): Define using libm_alias_float.
27376 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
27377 <libm-alias-float.h>.
27378 (nearbyintf): Define using libm_alias_float.
27379 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
27380 (rintf): Define using libm_alias_float.
27381 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
27382 (roundf): Define using libm_alias_float.
27383 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
27384 (truncf): Define using libm_alias_float.
27386 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
27387 (ceil): Define using libm_alias_double.
27388 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
27389 (copysign): Define using libm_alias_double.
27390 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
27391 (fabs): Define using libm_alias_double.
27392 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
27393 (floor): Define using libm_alias_double.
27394 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
27395 (fmax): Define using libm_alias_double.
27396 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
27397 (fmin): Define using libm_alias_double.
27398 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
27399 (lrint): Define using libm_alias_double.
27400 (llrint): Likewise.
27401 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
27402 (lround): Define using libm_alias_double.
27403 (llround): Likewise.
27404 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
27405 (rint): Define using libm_alias_double.
27406 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
27407 (trunc): Define using libm_alias_double.
27409 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27410 (libm_alias_double_r): Add semicolon after weak_alias call.
27412 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27414 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
27415 (ceil): Define using libm_alias_double.
27416 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
27417 (floor): Define using libm_alias_double.
27418 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
27419 (fma): Define using libm_alias_double.
27420 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
27421 (fmax): Define using libm_alias_double.
27422 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
27423 (fmin): Define using libm_alias_double.
27424 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
27425 (llrint): Define using libm_alias_double.
27426 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
27427 (llround): Define using libm_alias_double.
27428 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
27429 (lrint): Define using libm_alias_double.
27430 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
27431 (lround): Define using libm_alias_double.
27432 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
27433 (nearbyint): Define using libm_alias_double.
27434 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
27435 (rint): Define using libm_alias_double.
27436 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
27437 (round): Define using libm_alias_double.
27438 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
27439 (trunc): Define using libm_alias_double.
27441 2017-11-27 Florian Weimer <fweimer@redhat.com>
27443 * sysdeps/unix/sysv/linux/mlock2.c: New file.
27444 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
27445 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
27446 (tests): Add tst-mlock2.
27447 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
27448 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
27449 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
27450 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
27451 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
27452 for mlock. Document mlock2.
27454 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27456 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
27457 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
27459 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
27461 * sysdeps/x86/Makeconfig: New file.
27462 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
27463 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27464 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
27465 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27466 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27467 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27468 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
27470 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27471 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27472 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27473 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27474 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27475 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27476 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27477 * manual/math.texi (Mathematics): Document support for _Float64x.
27478 * math/Versions (GLIBC_2.27): Add _Float64x functions.
27479 * stdlib/Versions (GLIBC_2.27): Likewise.
27480 * wcsmbs/Versions (GLIBC_2.27): Likewise.
27481 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27482 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27483 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27484 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27485 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27486 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27487 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27488 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27489 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27490 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27491 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
27494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27496 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27497 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27498 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27499 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27500 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27501 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27502 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27503 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27504 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27505 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27506 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27507 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27508 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27509 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27511 2017-11-27 Andreas Schwab <schwab@suse.de>
27513 * elf/Makefile (dl-routines): Add dl-sort-maps.
27514 * elf/dl-sort-maps.c: New file.
27515 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
27516 (_dl_sort_maps): Declare.
27517 * elf/dl-fini.c (_dl_sort_fini): Remove.
27518 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
27519 * elf/dl-close.c (_dl_close_worker): Likewise.
27520 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
27522 * elf/dl-open.c (dl_open_worker): Likewise.
27524 2017-11-24 Joseph Myers <joseph@codesourcery.com>
27526 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
27527 using libm_alias_float128.
27528 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
27530 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
27532 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
27533 (setpayloadsigf128): Likewise.
27534 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
27536 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
27539 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
27540 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
27541 -mfloat128 to CFLAGS.
27543 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
27545 (CFLAGS-libm-test-support-float64x.c): New variable.
27546 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
27547 $(f128-loader-link) to gnulib-tests.
27549 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
27550 (libm_alias_float128_other_r): If
27551 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
27553 (libm_alias_float128_r): Add semicolon after weak_alias call.
27554 * sysdeps/generic/libm-alias-ldouble.h
27555 (libm_alias_ldouble_other_r_f128): New macro.
27556 (libm_alias_ldouble_other_r_f64x): Likewise.
27557 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27558 and libm_alias_ldouble_other_r_f64x.
27559 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
27560 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27561 (libm_alias_ldouble_other_r_f128): New macro.
27562 (libm_alias_ldouble_other_r_f64x): Likewise.
27563 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27564 and libm_alias_ldouble_other_r_f64x.
27566 * stdlib/strfroml.c: Always include <stdlib.h>.
27567 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
27568 undefine as macro and define as weak alias.
27569 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
27570 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
27572 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
27573 Define and later undefine as macro and define as weak alias.
27575 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27576 Define and later undefine as macro. Define as weak alias if
27578 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
27579 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27580 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
27581 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27582 Define and later undefine as macro. Define as weak alias if
27584 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
27585 Define and later undefine as macro. Define as weak alias if
27587 * sysdeps/ieee754/float128/strtof128_l.c
27588 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
27589 Define and later undefine as macro. Define as weak alias if
27591 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
27592 Define and later undefine as macro. Define as weak alias if
27594 * sysdeps/ieee754/ldbl-128/strtold_l.c
27595 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27596 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27597 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27598 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27599 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
27600 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27601 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27602 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27603 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27604 * sysdeps/ieee754/ldbl-96/strtold_l.c
27605 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27606 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27607 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27608 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27610 * math/test-float64x.h: New file.
27611 * math/Makefile (type-float64x-yes): New variable.
27612 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
27614 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
27615 function-like macro.
27616 (min_of_type_): Likewise.
27617 (min_of_type_l): Likewise.
27618 (min_of_type_f128): Likewise.
27619 (min_of_type): Pass () as last argument of __MATH_TG.
27621 * stdlib/tst-strtod-round-skeleton.c
27622 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
27625 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
27626 for combinations of long double with _Float64 and _Float64x.
27628 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
27629 (__DECL_SIMD_cosf32): Likewise.
27630 (__DECL_SIMD_cosf64): Likewise.
27631 (__DECL_SIMD_cosf32x): Likewise.
27632 (__DECL_SIMD_cosf64x): Likewise.
27633 (__DECL_SIMD_cosf128x): Likewise.
27634 (__DECL_SIMD_sinf16): Likewise.
27635 (__DECL_SIMD_sinf32): Likewise.
27636 (__DECL_SIMD_sinf64): Likewise.
27637 (__DECL_SIMD_sinf32x): Likewise.
27638 (__DECL_SIMD_sinf64x): Likewise.
27639 (__DECL_SIMD_sinf128x): Likewise.
27640 (__DECL_SIMD_sincosf16): Likewise.
27641 (__DECL_SIMD_sincosf32): Likewise.
27642 (__DECL_SIMD_sincosf64): Likewise.
27643 (__DECL_SIMD_sincosf32x): Likewise.
27644 (__DECL_SIMD_sincosf64x): Likewise.
27645 (__DECL_SIMD_sincosf128x): Likewise.
27646 (__DECL_SIMD_logf16): Likewise.
27647 (__DECL_SIMD_logf32): Likewise.
27648 (__DECL_SIMD_logf64): Likewise.
27649 (__DECL_SIMD_logf32x): Likewise.
27650 (__DECL_SIMD_logf64x): Likewise.
27651 (__DECL_SIMD_logf128x): Likewise.
27652 (__DECL_SIMD_expf16): Likewise.
27653 (__DECL_SIMD_expf32): Likewise.
27654 (__DECL_SIMD_expf64): Likewise.
27655 (__DECL_SIMD_expf32x): Likewise.
27656 (__DECL_SIMD_expf64x): Likewise.
27657 (__DECL_SIMD_expf128x): Likewise.
27658 (__DECL_SIMD_powf16): Likewise.
27659 (__DECL_SIMD_powf32): Likewise.
27660 (__DECL_SIMD_powf64): Likewise.
27661 (__DECL_SIMD_powf32x): Likewise.
27662 (__DECL_SIMD_powf64x): Likewise.
27663 (__DECL_SIMD_powf128x): Likewise.
27665 * stdlib/Versions (libc): Move entries for wcstof128 and
27666 wcstof128_l to ....
27667 * wcsmbs/Versions (libc): ... here.
27668 Include <float128-abi.h>.
27670 2017-11-24 Florian Weimer <fweimer@redhat.com>
27672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27673 bits/mman-shared.h.
27674 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
27675 <bits/mman-shared.h>.
27676 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
27678 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
27679 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
27680 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
27681 <bits/mman-shared.h>.
27683 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27686 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
27687 posix_memalign/free.
27688 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
27690 2017-11-22 Mike FABIAN <mfabian@redhat.com>
27693 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
27694 and implement the collation rules for pl from CLDR on top of that.
27695 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
27696 of locales to be built for testing.
27697 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
27699 2017-11-23 Joseph Myers <joseph@codesourcery.com>
27701 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
27702 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
27703 libm_alias_ldouble_other.
27704 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
27705 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
27706 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
27707 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
27708 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
27709 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
27710 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
27711 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
27712 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
27713 libm_alias_ldouble_r.
27714 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
27715 libm_alias_ldouble_other.
27716 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
27717 (log10l): Likewise.
27718 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
27719 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
27720 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
27721 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
27722 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
27723 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
27724 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
27725 (atan2l): Likewise.
27726 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
27727 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
27728 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
27729 libm_alias_ldouble.
27730 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
27732 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
27733 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
27734 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
27736 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
27737 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
27738 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
27739 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
27740 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
27741 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
27742 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
27743 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
27744 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
27745 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
27746 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
27747 libm_alias_ldouble.
27748 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
27749 libm_alias_ldouble_other.
27750 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
27751 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
27752 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
27753 libm_alias_ldouble.
27754 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
27755 libm_alias_ldouble_other.
27756 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
27757 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
27758 * sysdeps/ia64/fpu/w_lgammal_main.c
27759 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
27760 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
27762 2017-11-23 Florian Weimer <fweimer@redhat.com>
27764 * malloc/malloc.c (tcache_thread_shutdown): Rename from
27765 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
27766 alike. Remove freeres marker.
27767 * malloc/arena.c (arena_thread_freeres): Call
27768 tcache_thread_shutdown.
27770 2017-11-23 Florian Weimer <fweimer@redhat.com>
27773 Export nscd hash function as __nss_hash.
27774 * include/nss.h (__nss_hash): Declare.
27775 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
27777 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
27778 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
27780 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
27781 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
27782 * nss/Makefiles (routines): Add nss_hash.
27783 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
27784 * nss/nss_hash.c: Rename from nis/nis_hash.c.
27785 (__nss_hash): Rename from __nis_hash. Define hidden alias.
27786 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
27788 2017-11-23 Florian Weimer <fweimer@redhat.com>
27791 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
27792 Return error code, not -1.
27793 * signal/tst-sigwait-eintr.c: New file.
27794 * signal/Makefile (tests): Add tst-sigwait-eintr.
27796 2017-11-23 Florian Weimer <fweimer@redhat.com>
27798 Linux: Add memfd_create system call wrapper
27799 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
27801 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
27802 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
27803 [__USE_GNU] (memfd_create): Declare.
27804 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
27805 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
27806 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
27807 * sysdeps/unix/sysv/linux/**.abilist: Update.
27808 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
27810 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27812 * localedata/gen-locale.sh: Fix typo in variable name.
27814 * resolv/res_debug.c (p_secstodate): Condition definition on
27815 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
27816 directly as __p_secstodate, and as a compat symbol. Do not use
27817 libresolv_hidden_def.
27818 * resolv/resolv.h (p_secstodate): Remove macro and function
27820 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
27821 using p_secstodate.
27822 * include/resolv.h (__p_secstodate): Do not use
27823 libresolv_hidden_proto.
27824 * resolv/Makefile (tests): Move tst-p_secstodate to ....
27825 (tests-internal): ... here.
27826 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
27827 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
27828 and declare and use __p_secstodate and use compat_symbol_reference
27830 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
27831 implementation returning 77.
27834 * resolv/res_debug.c: Include <libc-diag.h>.
27835 (p_secstodate): Assert time_t at least as wide as u_long. On
27836 overflow, use integer seconds since the epoch as output, or use
27837 "<overflow>" as output and set errno to EOVERFLOW if integer
27838 seconds since the epoch would be 14 or more characters.
27839 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
27841 * resolv/tst-p_secstodate.c: New file.
27842 * resolv/Makefile (tests): Add tst-p_secstodate.
27843 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
27845 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
27846 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27847 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
27849 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
27851 * posix/regcomp.c (init_word_char): Add comments.
27853 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27856 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
27857 strlen to compute length of ut_user and set trailing NUL byte of
27860 2017-11-21 Mike FABIAN <mfabian@redhat.com>
27863 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
27864 using “copy "iso14651_t1"” and then implementing the
27865 collation rules for lv from CLDR on top of that.
27866 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
27867 of locales to be built for testing.
27868 * lv_LV.UTF-8.in: New file with test data to test the Latvian
27871 2017-11-21 Joseph Myers <joseph@codesourcery.com>
27873 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27874 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
27875 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
27876 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
27877 [__USE_MISC] (MADV_HWPOISON): New macro.
27878 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
27880 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27882 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
27883 -Wmissing-braces on GCC 4.9.
27885 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27887 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
27888 * sysdeps/s390/s390-32/start.S (_start): Likewise
27889 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
27890 (thread_start): Likewise.
27891 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
27892 (thread_start): Likewise.
27893 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
27894 (__makecontext_ret): Likewise.
27895 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
27896 (__makecontext_ret): Likewise.
27898 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27900 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
27901 __wcschrnul): Remove attribute_hidden.
27903 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
27905 regex: don't assume uint64_t or uint32_t
27906 This avoids -Werror=overflow errors for 32-bit systems in
27907 the 64-bit case. Problem reported by Joseph Myers in:
27908 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
27909 Also, when this code is used in Gnulib it ports to platforms
27910 that lack uint64_t and uint32_t. The C standard doesn't guarantee
27911 them, and on some 32-bit compilers there is no uint64_t.
27912 Problem reported by Gianluigi Tiesi in:
27913 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
27914 * posix/regcomp.c (init_word_char): Don't assume that the types
27915 uint64_t and uint32_t exist. Adapted from Gnulib patch
27916 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
27917 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
27919 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
27921 * sysdeps/aarch64/memset-reg.h: New file.
27922 * sysdeps/aarch64/memset.S: Use it.
27923 (__memset): Rename to MEMSET macro.
27924 [ZVA_MACRO]: Use zva_macro.
27925 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
27926 Add memset_generic and memset_falkor.
27927 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27928 (__libc_ifunc_impl_list): Add memset ifuncs.
27929 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
27930 local variable zva_size.
27931 * sysdeps/aarch64/multiarch/memset.c: New file.
27932 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
27933 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
27934 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
27935 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
27936 (DCZID_DZP_MASK): New macro.
27937 (DCZID_BS_MASK): Likewise.
27938 (init_cpu_features): Read and set zva_size.
27939 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
27940 (struct cpu_features): New member zva_size.
27942 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
27943 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
27944 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
27946 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
27947 backwards. Fix timing computation.
27948 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
27949 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
27950 on memset by N at a time. Fix timing computation.
27952 2017-11-20 Florian Weimer <fweimer@redhat.com>
27954 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
27955 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
27957 2017-11-19 Florian Weimer <fweimer@redhat.com>
27959 manual: Document mprotect
27960 * manual/memory.texi (Memory Protection): New section.
27961 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
27962 documentation of PROT_* flags and reference the Memory Protection
27965 2017-11-19 Florian Weimer <fweimer@redhat.com>
27967 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
27968 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
27969 (Scatter-Gather): ... to here. Remove misleading comment.
27971 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
27973 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
27976 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
27977 when /proc/<pid>/setgroups does not exist.
27979 2017-11-18 Florian Weimer <fweimer@redhat.com>
27981 * sysdeps/unix/sysv/linux/tst-ttyname.c
27982 (become_root_in_mount_ns): Remove.
27983 (do_in_chroot_1): Call support_enter_mount_namespace.
27984 (do_in_chroot_2): Likewise.
27985 (do_test): Call support_become_root early.
27987 2017-11-18 Florian Weimer <fweimer@redhat.com>
27989 * support/namespace.h (support_enter_mount_namespace): Declare.
27990 * support/support_enter_mount_namespace.c: New file.
27991 * support/Makefile (libsupport-routines): Add
27992 support_enter_mount_namespace.
27994 2017-11-18 Florian Weimer <fweimer@redhat.com>
27996 * support/temp_file.c (support_create_temp_directory): Use
27997 test_dir and do not rely on the presence of the XXXXXX suffix.
27998 * support/temp_file.h (support_create_temp_directory): Update
28000 * support/tst-xreadlink.c (do_test): Adjust.
28001 * support/support_chroot.c (support_chroot_create): Likewise.
28003 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28005 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
28007 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
28010 2017-11-17 Joseph Myers <joseph@codesourcery.com>
28012 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
28013 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
28014 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
28015 (ceill): Define using libm_alias_ldouble.
28016 * sysdeps/x86_64/fpu/s_copysignl.S: Include
28017 <libm-alias-ldouble.h>.
28018 (copysignl): Define using libm_alias_ldouble.
28019 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
28020 (fabsl): Define using libm_alias_ldouble.
28021 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
28022 (floorl): Define using libm_alias_ldouble.
28023 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28024 (fmaxl): Define using libm_alias_ldouble.
28025 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28026 (fminl): Define using libm_alias_ldouble.
28027 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
28028 (llrintl): Define using libm_alias_ldouble.
28029 (lrintl): Likewise.
28030 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
28031 <libm-alias-ldouble.h>.
28032 (nearbyintl): Define using libm_alias_ldouble.
28033 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
28034 (truncl): Define using libm_alias_ldouble.
28035 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
28036 <libm-alias-ldouble.h>.
28037 (lrintl): Define using libm_alias_ldouble.
28039 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
28040 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
28041 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
28042 (asinhl): Define using libm_alias_ldouble.
28043 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
28044 (atanl): Define using libm_alias_ldouble.
28045 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
28046 (cbrtl): Define using libm_alias_ldouble.
28047 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
28048 (ceill): Define using libm_alias_ldouble.
28049 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
28050 (copysignl): Define using libm_alias_ldouble.
28051 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
28052 (fabsl): Define using libm_alias_ldouble.
28053 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
28054 (floorl): Define using libm_alias_ldouble.
28055 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28056 (fmaxl): Define using libm_alias_ldouble.
28057 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28058 (fminl): Define using libm_alias_ldouble.
28059 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
28060 (frexpl): Define using libm_alias_ldouble.
28061 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
28062 (llrintl): Define using libm_alias_ldouble.
28063 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
28064 (logbl): Define using libm_alias_ldouble.
28065 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
28066 (lrintl): Define using libm_alias_ldouble.
28067 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
28068 (nearbyintl): Define using libm_alias_ldouble.
28069 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
28070 (nextafterl): Define using libm_alias_ldouble.
28071 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
28072 (remquol): Define using libm_alias_ldouble.
28073 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
28074 (rintl): Define using libm_alias_ldouble.
28075 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
28076 (truncl): Define using libm_alias_ldouble.
28077 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
28078 (fmaxl): Define using libm_alias_ldouble.
28079 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
28080 (fminl): Define using libm_alias_ldouble.
28082 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
28083 to C syntax instead of availability and properties of types.
28084 * bits/floatn.h [!__ASSEMBLER]: Likewise.
28085 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
28086 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
28087 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
28088 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
28089 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
28091 2017-11-17 Florian Weimer <fweimer@redhat.com>
28093 support_become_root: Enable file creation in namespaces.
28094 * support/support_become_root.c (setup_mapping): New function.
28095 (support_become_root): Call it.
28097 2017-11-17 Joseph Myers <joseph@codesourcery.com>
28099 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
28102 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28104 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
28105 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
28107 2017-11-16 Joseph Myers <joseph@codesourcery.com>
28109 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
28111 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28114 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28116 * INSTALL: Fix botched up regeneration.
28118 * NEWS: Update sourceare link to https.
28119 * configure.ac: Likewise.
28120 * crypt/md5test-giant.c: Likewise.
28121 * dlfcn/bug-atexit1.c: Likewise.
28122 * dlfcn/bug-atexit2.c: Likewise.
28123 * localedata/README: Likewise.
28124 * malloc/tst-mallocfork.c: Likewise.
28125 * manual/install.texi: Likewise.
28126 * nptl/tst-pthread-getattr.c: Likewise.
28127 * stdio-common/tst-fgets.c: Likewise.
28128 * stdio-common/tst-fwrite.c: Likewise.
28129 * sunrpc/Makefile: Likewise.
28130 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
28131 * wcsmbs/tst-mbrtowc2.c: Likewise.
28132 * configure: Regenerate.
28133 * INSTALL: Regenerate.
28135 2017-11-15 Martin Sebor <msebor@redhat.com>
28137 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
28138 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
28139 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
28141 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28144 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
28145 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
28148 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
28149 Defer is_pty check until end of the function.
28150 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28153 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
28154 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
28155 (ttyname): Likewise.
28156 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28157 (__ttyname_r): Likewise.
28159 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
28162 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
28164 * manual/terminal.texi (Is It a Terminal):
28165 Mention ENODEV for ttyname and ttyname_r.
28167 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28169 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
28170 constant and macro.
28172 * sysdeps/unix/sysv/linux/bits/mman-linux.h
28173 [__USE_MISC] (MADV_WIPEONFORK): New macro.
28174 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28175 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
28176 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
28177 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28179 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28181 * signal/sigrelse.c (sigrelse): Optimize implementation.
28183 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
28184 (__sigpause): Rely on __sigsuspend to implement single thread
28185 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
28187 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28189 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28190 kernel version to 4.14.
28192 2017-11-15 Steve Ellcey <sellcey@cavium.com>
28195 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
28196 Check if ifname is too long.
28198 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28200 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
28202 2017-11-15 Mike FABIAN <mfabian@redhat.com>
28204 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
28205 was accidentally lost.
28207 2017-11-15 Mike FABIAN <mfabian@redhat.com>
28209 * localedata/locales/az_IR: Add standard copyright header.
28211 2017-11-15 Florian Weimer <fweimer@redhat.com>
28214 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
28215 not just the top one. Output a new "subheaps" statistic.
28217 2017-11-15 Florian Weimer <fweimer@redhat.com>
28220 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
28221 under the per-arena lock.
28222 * malloc/Makefile (tests): Add tst-malloc_info.
28223 (tst-malloc_info): Link with libpthread.
28224 * malloc/tst-malloc_info.c: New file.
28226 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28229 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
28230 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
28231 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
28232 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
28233 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
28234 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
28235 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
28236 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
28237 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
28238 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
28239 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
28240 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
28241 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
28242 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
28243 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
28244 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
28245 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
28246 (__floating_type): Likewise.
28247 (__real_integer_type): Likewise.
28248 (__complex_integer_type): Likewise.
28249 (__expr_is_real): Likewise.
28250 (__tgmath_real_type_sub): Likewise.
28251 (__tgmath_real_type): Likewise.
28252 (__tgmath_complex_type_sub): Likewise.
28253 (__tgmath_complex_type): Likewise.
28254 (__TGMATH_F128): Likewise.
28255 (__TGMATH_CF128): Likewise.
28256 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
28258 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
28259 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
28261 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
28263 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
28264 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
28265 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
28266 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
28268 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
28269 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
28271 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
28272 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
28273 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
28275 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
28276 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
28277 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
28281 2017-11-14 Joseph Myers <joseph@codesourcery.com>
28283 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
28284 for stpncpy calls for GCC 8.
28285 (test_strncat): Disable -Wstringop-truncation warning for strncat
28286 calls for GCC 8. Disable -Wstringop-overflow= warning for one
28287 strncat call for GCC 7.
28288 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
28290 (test_memcmp): Use memcpy instead of strncpy for calls not copying
28293 * string/bug-strncat1.c: Include <libc-diag.h>.
28294 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
28296 2017-11-13 Claude Paroz <claude@2xlibre.net>
28299 * localedata/locales/aa_DJ: Improved readibility by replacing
28300 <Uxxxx> sequences in the ASCII printable range by their ASCII
28301 character equivalents.
28302 * localedata/locales/aa_ER: Likewise.
28303 * localedata/locales/aa_ER@saaho: Likewise.
28304 * localedata/locales/aa_ET: Likewise.
28305 * localedata/locales/af_ZA: Likewise.
28306 * localedata/locales/agr_PE: Likewise.
28307 * localedata/locales/ak_GH: Likewise.
28308 * localedata/locales/am_ET: Likewise.
28309 * localedata/locales/anp_IN: Likewise.
28310 * localedata/locales/ar_AE: Likewise.
28311 * localedata/locales/ar_BH: Likewise.
28312 * localedata/locales/ar_DZ: Likewise.
28313 * localedata/locales/ar_EG: Likewise.
28314 * localedata/locales/ar_IN: Likewise.
28315 * localedata/locales/ar_IQ: Likewise.
28316 * localedata/locales/ar_JO: Likewise.
28317 * localedata/locales/ar_KW: Likewise.
28318 * localedata/locales/ar_LB: Likewise.
28319 * localedata/locales/ar_LY: Likewise.
28320 * localedata/locales/ar_MA: Likewise.
28321 * localedata/locales/ar_OM: Likewise.
28322 * localedata/locales/ar_QA: Likewise.
28323 * localedata/locales/ar_SA: Likewise.
28324 * localedata/locales/ar_SD: Likewise.
28325 * localedata/locales/ar_SS: Likewise.
28326 * localedata/locales/ar_SY: Likewise.
28327 * localedata/locales/ar_TN: Likewise.
28328 * localedata/locales/ar_YE: Likewise.
28329 * localedata/locales/as_IN: Likewise.
28330 * localedata/locales/ast_ES: Likewise.
28331 * localedata/locales/ayc_PE: Likewise.
28332 * localedata/locales/az_AZ: Likewise.
28333 * localedata/locales/az_IR: Likewise.
28334 * localedata/locales/be_BY: Likewise.
28335 * localedata/locales/be_BY@latin: Likewise.
28336 * localedata/locales/bem_ZM: Likewise.
28337 * localedata/locales/ber_DZ: Likewise.
28338 * localedata/locales/ber_MA: Likewise.
28339 * localedata/locales/bg_BG: Likewise.
28340 * localedata/locales/bhb_IN: Likewise.
28341 * localedata/locales/bho_IN: Likewise.
28342 * localedata/locales/bi_VU: Likewise.
28343 * localedata/locales/bn_BD: Likewise.
28344 * localedata/locales/bn_IN: Likewise.
28345 * localedata/locales/bo_CN: Likewise.
28346 * localedata/locales/bo_IN: Likewise.
28347 * localedata/locales/br_FR: Likewise.
28348 * localedata/locales/brx_IN: Likewise.
28349 * localedata/locales/bs_BA: Likewise.
28350 * localedata/locales/byn_ER: Likewise.
28351 * localedata/locales/ca_AD: Likewise.
28352 * localedata/locales/ca_ES: Likewise.
28353 * localedata/locales/ca_FR: Likewise.
28354 * localedata/locales/ca_IT: Likewise.
28355 * localedata/locales/ce_RU: Likewise.
28356 * localedata/locales/chr_US: Likewise.
28357 * localedata/locales/cmn_TW: Likewise.
28358 * localedata/locales/crh_UA: Likewise.
28359 * localedata/locales/cs_CZ: Likewise.
28360 * localedata/locales/csb_PL: Likewise.
28361 * localedata/locales/cv_RU: Likewise.
28362 * localedata/locales/cy_GB: Likewise.
28363 * localedata/locales/da_DK: Likewise.
28364 * localedata/locales/de_AT: Likewise.
28365 * localedata/locales/de_BE: Likewise.
28366 * localedata/locales/de_CH: Likewise.
28367 * localedata/locales/de_DE: Likewise.
28368 * localedata/locales/de_IT: Likewise.
28369 * localedata/locales/de_LI: Likewise.
28370 * localedata/locales/de_LU: Likewise.
28371 * localedata/locales/doi_IN: Likewise.
28372 * localedata/locales/dv_MV: Likewise.
28373 * localedata/locales/dz_BT: Likewise.
28374 * localedata/locales/el_CY: Likewise.
28375 * localedata/locales/el_GR: Likewise.
28376 * localedata/locales/en_AG: Likewise.
28377 * localedata/locales/en_AU: Likewise.
28378 * localedata/locales/en_BW: Likewise.
28379 * localedata/locales/en_CA: Likewise.
28380 * localedata/locales/en_DK: Likewise.
28381 * localedata/locales/en_GB: Likewise.
28382 * localedata/locales/en_HK: Likewise.
28383 * localedata/locales/en_IE: Likewise.
28384 * localedata/locales/en_IL: Likewise.
28385 * localedata/locales/en_IN: Likewise.
28386 * localedata/locales/en_NG: Likewise.
28387 * localedata/locales/en_NZ: Likewise.
28388 * localedata/locales/en_PH: Likewise.
28389 * localedata/locales/en_SG: Likewise.
28390 * localedata/locales/en_US: Likewise.
28391 * localedata/locales/en_ZA: Likewise.
28392 * localedata/locales/en_ZM: Likewise.
28393 * localedata/locales/en_ZW: Likewise.
28394 * localedata/locales/eo: Likewise.
28395 * localedata/locales/es_AR: Likewise.
28396 * localedata/locales/es_BO: Likewise.
28397 * localedata/locales/es_CL: Likewise.
28398 * localedata/locales/es_CO: Likewise.
28399 * localedata/locales/es_CR: Likewise.
28400 * localedata/locales/es_CU: Likewise.
28401 * localedata/locales/es_DO: Likewise.
28402 * localedata/locales/es_EC: Likewise.
28403 * localedata/locales/es_ES: Likewise.
28404 * localedata/locales/es_GT: Likewise.
28405 * localedata/locales/es_HN: Likewise.
28406 * localedata/locales/es_MX: Likewise.
28407 * localedata/locales/es_NI: Likewise.
28408 * localedata/locales/es_PA: Likewise.
28409 * localedata/locales/es_PE: Likewise.
28410 * localedata/locales/es_PR: Likewise.
28411 * localedata/locales/es_PY: Likewise.
28412 * localedata/locales/es_SV: Likewise.
28413 * localedata/locales/es_US: Likewise.
28414 * localedata/locales/es_UY: Likewise.
28415 * localedata/locales/es_VE: Likewise.
28416 * localedata/locales/et_EE: Likewise.
28417 * localedata/locales/eu_ES: Likewise.
28418 * localedata/locales/eu_ES@euro: Likewise.
28419 * localedata/locales/fa_IR: Likewise.
28420 * localedata/locales/ff_SN: Likewise.
28421 * localedata/locales/fi_FI: Likewise.
28422 * localedata/locales/fil_PH: Likewise.
28423 * localedata/locales/fo_FO: Likewise.
28424 * localedata/locales/fr_BE: Likewise.
28425 * localedata/locales/fr_CA: Likewise.
28426 * localedata/locales/fr_CH: Likewise.
28427 * localedata/locales/fr_FR: Likewise.
28428 * localedata/locales/fr_LU: Likewise.
28429 * localedata/locales/fur_IT: Likewise.
28430 * localedata/locales/fy_DE: Likewise.
28431 * localedata/locales/fy_NL: Likewise.
28432 * localedata/locales/ga_IE: Likewise.
28433 * localedata/locales/gd_GB: Likewise.
28434 * localedata/locales/gez_ER: Likewise.
28435 * localedata/locales/gez_ET: Likewise.
28436 * localedata/locales/gl_ES: Likewise.
28437 * localedata/locales/gu_IN: Likewise.
28438 * localedata/locales/gv_GB: Likewise.
28439 * localedata/locales/ha_NG: Likewise.
28440 * localedata/locales/hak_TW: Likewise.
28441 * localedata/locales/he_IL: Likewise.
28442 * localedata/locales/hi_IN: Likewise.
28443 * localedata/locales/hif_FJ: Likewise.
28444 * localedata/locales/hne_IN: Likewise.
28445 * localedata/locales/hr_HR: Likewise.
28446 * localedata/locales/hsb_DE: Likewise.
28447 * localedata/locales/ht_HT: Likewise.
28448 * localedata/locales/hu_HU: Likewise.
28449 * localedata/locales/hy_AM: Likewise.
28450 * localedata/locales/i18n: Likewise.
28451 * localedata/locales/ia_FR: Likewise.
28452 * localedata/locales/id_ID: Likewise.
28453 * localedata/locales/ig_NG: Likewise.
28454 * localedata/locales/ik_CA: Likewise.
28455 * localedata/locales/is_IS: Likewise.
28456 * localedata/locales/it_CH: Likewise.
28457 * localedata/locales/it_IT: Likewise.
28458 * localedata/locales/iu_CA: Likewise.
28459 * localedata/locales/ja_JP: Likewise.
28460 * localedata/locales/ka_GE: Likewise.
28461 * localedata/locales/kk_KZ: Likewise.
28462 * localedata/locales/kl_GL: Likewise.
28463 * localedata/locales/kn_IN: Likewise.
28464 * localedata/locales/ko_KR: Likewise.
28465 * localedata/locales/kok_IN: Likewise.
28466 * localedata/locales/ks_IN: Likewise.
28467 * localedata/locales/ks_IN@devanagari: Likewise.
28468 * localedata/locales/ku_TR: Likewise.
28469 * localedata/locales/kw_GB: Likewise.
28470 * localedata/locales/ky_KG: Likewise.
28471 * localedata/locales/lb_LU: Likewise.
28472 * localedata/locales/lg_UG: Likewise.
28473 * localedata/locales/li_BE: Likewise.
28474 * localedata/locales/li_NL: Likewise.
28475 * localedata/locales/lij_IT: Likewise.
28476 * localedata/locales/ln_CD: Likewise.
28477 * localedata/locales/lo_LA: Likewise.
28478 * localedata/locales/lt_LT: Likewise.
28479 * localedata/locales/lv_LV: Likewise.
28480 * localedata/locales/lzh_TW: Likewise.
28481 * localedata/locales/mag_IN: Likewise.
28482 * localedata/locales/mai_IN: Likewise.
28483 * localedata/locales/mg_MG: Likewise.
28484 * localedata/locales/mhr_RU: Likewise.
28485 * localedata/locales/mi_NZ: Likewise.
28486 * localedata/locales/mk_MK: Likewise.
28487 * localedata/locales/ml_IN: Likewise.
28488 * localedata/locales/mn_MN: Likewise.
28489 * localedata/locales/mni_IN: Likewise.
28490 * localedata/locales/mr_IN: Likewise.
28491 * localedata/locales/ms_MY: Likewise.
28492 * localedata/locales/mt_MT: Likewise.
28493 * localedata/locales/my_MM: Likewise.
28494 * localedata/locales/nan_TW: Likewise.
28495 * localedata/locales/nan_TW@latin: Likewise.
28496 * localedata/locales/nb_NO: Likewise.
28497 * localedata/locales/nds_DE: Likewise.
28498 * localedata/locales/nds_NL: Likewise.
28499 * localedata/locales/ne_NP: Likewise.
28500 * localedata/locales/nhn_MX: Likewise.
28501 * localedata/locales/niu_NU: Likewise.
28502 * localedata/locales/niu_NZ: Likewise.
28503 * localedata/locales/nl_AW: Likewise.
28504 * localedata/locales/nl_BE: Likewise.
28505 * localedata/locales/nl_NL: Likewise.
28506 * localedata/locales/nn_NO: Likewise.
28507 * localedata/locales/nr_ZA: Likewise.
28508 * localedata/locales/nso_ZA: Likewise.
28509 * localedata/locales/oc_FR: Likewise.
28510 * localedata/locales/om_ET: Likewise.
28511 * localedata/locales/om_KE: Likewise.
28512 * localedata/locales/or_IN: Likewise.
28513 * localedata/locales/os_RU: Likewise.
28514 * localedata/locales/pa_IN: Likewise.
28515 * localedata/locales/pa_PK: Likewise.
28516 * localedata/locales/pap_AW: Likewise.
28517 * localedata/locales/pap_CW: Likewise.
28518 * localedata/locales/pl_PL: Likewise.
28519 * localedata/locales/ps_AF: Likewise.
28520 * localedata/locales/pt_BR: Likewise.
28521 * localedata/locales/pt_PT: Likewise.
28522 * localedata/locales/quz_PE: Likewise.
28523 * localedata/locales/raj_IN: Likewise.
28524 * localedata/locales/ro_RO: Likewise.
28525 * localedata/locales/ru_RU: Likewise.
28526 * localedata/locales/ru_UA: Likewise.
28527 * localedata/locales/rw_RW: Likewise.
28528 * localedata/locales/sa_IN: Likewise.
28529 * localedata/locales/sat_IN: Likewise.
28530 * localedata/locales/sc_IT: Likewise.
28531 * localedata/locales/sd_IN: Likewise.
28532 * localedata/locales/sd_IN@devanagari: Likewise.
28533 * localedata/locales/se_NO: Likewise.
28534 * localedata/locales/sgs_LT: Likewise.
28535 * localedata/locales/shs_CA: Likewise.
28536 * localedata/locales/si_LK: Likewise.
28537 * localedata/locales/sid_ET: Likewise.
28538 * localedata/locales/sk_SK: Likewise.
28539 * localedata/locales/sl_SI: Likewise.
28540 * localedata/locales/sm_WS: Likewise.
28541 * localedata/locales/so_DJ: Likewise.
28542 * localedata/locales/so_ET: Likewise.
28543 * localedata/locales/so_KE: Likewise.
28544 * localedata/locales/so_SO: Likewise.
28545 * localedata/locales/sq_AL: Likewise.
28546 * localedata/locales/sq_MK: Likewise.
28547 * localedata/locales/sr_ME: Likewise.
28548 * localedata/locales/sr_RS: Likewise.
28549 * localedata/locales/sr_RS@latin: Likewise.
28550 * localedata/locales/ss_ZA: Likewise.
28551 * localedata/locales/st_ZA: Likewise.
28552 * localedata/locales/sv_FI: Likewise.
28553 * localedata/locales/sv_SE: Likewise.
28554 * localedata/locales/sw_KE: Likewise.
28555 * localedata/locales/sw_TZ: Likewise.
28556 * localedata/locales/szl_PL: Likewise.
28557 * localedata/locales/ta_IN: Likewise.
28558 * localedata/locales/ta_LK: Likewise.
28559 * localedata/locales/tcy_IN: Likewise.
28560 * localedata/locales/te_IN: Likewise.
28561 * localedata/locales/tg_TJ: Likewise.
28562 * localedata/locales/th_TH: Likewise.
28563 * localedata/locales/the_NP: Likewise.
28564 * localedata/locales/ti_ER: Likewise.
28565 * localedata/locales/ti_ET: Likewise.
28566 * localedata/locales/tig_ER: Likewise.
28567 * localedata/locales/tk_TM: Likewise.
28568 * localedata/locales/tl_PH: Likewise.
28569 * localedata/locales/tn_ZA: Likewise.
28570 * localedata/locales/to_TO: Likewise.
28571 * localedata/locales/tpi_PG: Likewise.
28572 * localedata/locales/tr_CY: Likewise.
28573 * localedata/locales/tr_TR: Likewise.
28574 * localedata/locales/ts_ZA: Likewise.
28575 * localedata/locales/tt_RU: Likewise.
28576 * localedata/locales/tt_RU@iqtelif: Likewise.
28577 * localedata/locales/ug_CN: Likewise.
28578 * localedata/locales/uk_UA: Likewise.
28579 * localedata/locales/unm_US: Likewise.
28580 * localedata/locales/ur_IN: Likewise.
28581 * localedata/locales/ur_PK: Likewise.
28582 * localedata/locales/uz_UZ: Likewise.
28583 * localedata/locales/uz_UZ@cyrillic: Likewise.
28584 * localedata/locales/ve_ZA: Likewise.
28585 * localedata/locales/vi_VN: Likewise.
28586 * localedata/locales/wa_BE: Likewise.
28587 * localedata/locales/wae_CH: Likewise.
28588 * localedata/locales/wal_ET: Likewise.
28589 * localedata/locales/wo_SN: Likewise.
28590 * localedata/locales/xh_ZA: Likewise.
28591 * localedata/locales/yi_US: Likewise.
28592 * localedata/locales/yo_NG: Likewise.
28593 * localedata/locales/yue_HK: Likewise.
28594 * localedata/locales/yuw_PG: Likewise.
28595 * localedata/locales/zh_CN: Likewise.
28596 * localedata/locales/zh_HK: Likewise.
28597 * localedata/locales/zh_SG: Likewise.
28598 * localedata/locales/zh_TW: Likewise.
28599 * localedata/locales/zu_ZA: Likewise.
28601 2017-11-13 Florian Weimer <fweimer@redhat.com>
28603 * support/next_to_fault.h, support/next_to_fault.c: New files.
28604 * support/Makefile (libsupport-routines): Add next_to_fault.
28605 * resolv/tst-inet_pton.c (struct next_to_fault)
28606 (next_to_fault_allocate, next_to_fault_free): Remove.
28607 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
28609 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
28611 * elf/dl-support.c: Include <dl-procruntime.c>.
28612 * include/link.h: Include <link_map.h>.
28613 * sysdeps/generic/dl-procruntime.c: New file.
28614 * sysdeps/generic/link_map.h: Likewise.
28615 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
28616 the writable ld.so namespace.
28618 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
28620 timezone: pacify GCC -Wstringop-truncation
28621 Problem reported by Martin Sebor in:
28622 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
28623 * timezone/zic.c (writezone): Use memcpy, not strncpy.
28625 2017-11-12 Florian Weimer <fweimer@redhat.com>
28627 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
28629 (tests): Add tst-xreadlink.
28630 * support/support.h (xstrndup): Declare.
28631 * support/xunistd.h (xunlink, xreadlink): Declare.
28632 * support/temp_file.h (support_create_temp_directory): Declare.
28633 * support/temp_file.c (support_create_temp_directory): New function.
28634 * support/support_chroot.c (support_chroot_create): Use it.
28635 * support/xreadlink.c: New file.
28636 * support/xstrndup.c: Likewise.
28637 * support/xunlink.c: Likewise.
28638 * support/tst-xreadlink.c: Likewise.
28640 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
28642 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
28644 2017-11-11 Florian Weimer <fweimer@redhat.com>
28648 * resolv/res_comp.c (printable_string, binary_hnok)
28649 (binary_leading_dash): New functions.
28650 (res_hnok): Reimplement using these functions and ns_name_pton.
28651 (res_ownok): Likewise.
28652 (res_mailok): Reimplement using printable_string, ns_name_pton and
28654 (res_dnok): Reimplement using printable_string and ns_name_pton.
28655 * resolv/tst-res_hnok.c (tests): Add additional tests.
28656 (LETTERDIGITS, PRINTABLE): Define.
28657 (do_test): Adjust one_char results.
28659 2017-11-11 Florian Weimer <fweimer@redhat.com>
28662 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
28663 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
28665 2017-11-11 Florian Weimer <fweimer@redhat.com>
28667 * resolv/tst-ns_name_pton.c: New file.
28668 * resolv/Makefile (tests): Add tst-ns_name_pton.
28669 (tst-ns_name_pton): Link against libresolv.
28671 2017-11-11 Florian Weimer <fweimer@redhat.com>
28673 * resolv/tst-res_hnok.c: New file.
28674 * resolv/Makefile (tests): Add tst-res_hnok.
28675 (tst-res_hnok): Link against libresolv.
28677 2017-11-11 Florian Weimer <fweimer@redhat.com>
28679 * resolv/tst-resolv-network.c: Use test framework instead explicit
28682 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
28684 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
28685 <jmp_buf-macros.h>.
28686 [!_ISOMAC] (STR_HELPER): New.
28687 [!_ISOMAC] (STR): Likewise.
28688 [!_ISOMAC] (TEST_SIZE): Likewise.
28689 [!_ISOMAC] (TEST_ALIGN): Likewise.
28690 [!_ISOMAC] (TEST_OFFSET): Likewise.
28691 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
28692 field offsets of jmp_buf as well as sigjmp_buf.
28693 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
28694 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
28695 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
28696 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
28697 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
28698 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
28699 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
28700 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
28701 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
28702 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
28704 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
28706 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
28707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
28709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
28711 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
28712 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
28713 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
28714 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
28715 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
28716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
28718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
28720 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
28721 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
28722 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
28724 2017-11-07 Joseph Myers <joseph@codesourcery.com>
28727 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28728 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
28729 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28730 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
28731 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28732 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
28733 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28734 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
28735 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28736 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
28737 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28738 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
28739 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28740 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
28741 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28742 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
28743 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28744 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
28745 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28746 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
28747 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28748 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
28749 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28750 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
28751 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28752 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
28753 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28754 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
28755 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28756 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
28757 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28758 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
28759 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28760 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
28761 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28762 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
28763 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28764 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
28765 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28766 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
28767 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28768 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
28769 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28770 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
28771 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28772 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
28773 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28774 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
28775 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28776 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
28777 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28778 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
28779 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28780 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
28781 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28782 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
28783 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28784 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
28785 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28786 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
28787 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28788 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
28789 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28790 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
28791 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28792 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
28793 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28794 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
28795 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28796 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
28797 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28798 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
28799 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28800 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
28801 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28802 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
28803 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28804 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
28805 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28806 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
28807 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28808 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
28809 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28810 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
28811 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28812 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
28813 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28814 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
28816 * stdlib/tst-strtod.h (F16): New macro.
28822 (IF_FLOAT16): Likewise.
28823 (IF_FLOAT32): Likewise.
28824 (IF_FLOAT64): Likewise.
28825 (IF_FLOAT32X): Likewise.
28826 (IF_FLOAT64X): Likewise.
28827 (IF_FLOAT128X): Likewise.
28828 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
28829 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
28830 (STRTOD_TEST_FOREACH): Likewise.
28831 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
28832 (CHOOSE_f64): Likewise.
28833 (CHOOSE_f32x): Likewise.
28834 (CHOOSE_f64x): Likewise.
28836 2017-11-07 Andreas Schwab <schwab@suse.de>
28838 * nptl/Makefile (tests-internal): Remove tst-typesizes.
28840 2017-11-07 Mike FABIAN <mfabian@redhat.com>
28843 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
28845 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
28848 2017-11-07 Claude Paroz <claude@2xlibre.net>
28851 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
28853 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
28855 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
28858 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28861 * nptl/allocatestack.c (allocate_stack): Check if
28862 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
28863 __PTHREAD_MUTEX_HAVE_PREV is defined.
28864 * nptl/descr.h (pthread): Likewise.
28865 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28867 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28868 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28869 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
28870 * sysdeps/nptl/bits/thread-shared-types.h
28871 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28873 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
28874 of __WORDSIZE for internal layout.
28875 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
28876 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
28877 instead of __WORDSIZE whether to use an union for __spins and __list
28879 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
28881 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
28882 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28884 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
28885 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28887 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
28888 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28890 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
28891 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28893 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
28894 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28896 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
28897 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28899 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
28900 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28902 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
28903 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28905 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
28906 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28908 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
28909 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28911 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
28912 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28914 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
28915 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28917 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
28918 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28920 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
28921 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28923 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
28924 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28927 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
28929 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
28930 checks for expected input type size.
28931 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28932 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28934 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28935 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
28936 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28937 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
28938 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28939 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
28940 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
28941 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
28942 superflous runtime assert check.
28943 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
28945 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
28947 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
28949 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
28951 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
28953 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
28955 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
28956 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
28957 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
28959 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
28961 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
28963 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
28965 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
28967 * nptl/pthread_attr_setinheritsched.c
28968 (__pthread_attr_setinheritsched): Likewise.
28969 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
28971 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
28973 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
28974 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
28975 __old_pthread_attr_setstack): Likewise.
28976 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
28978 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
28980 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
28982 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
28983 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
28985 * nptl/tst-typesizes.c: Remove file.
28987 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
28988 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
28989 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
28990 checks for internal pthread_mutex_t offsets.
28991 * sysdeps/aarch64/nptl/pthread-offsets.h
28992 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
28993 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
28994 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
28995 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
28996 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
28997 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
28998 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
28999 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
29000 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
29001 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
29002 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
29003 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
29004 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
29005 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
29006 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
29007 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
29008 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
29009 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
29011 2017-11-07 Florian Weimer <fweimer@redhat.com>
29013 * bits/mman-linux.h: Move ...
29014 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
29016 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
29019 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29021 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
29022 Redefine STRNLEN as __strnlen_power8.
29024 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29026 * signal/sighold.c (sighold): Optimize implementation.
29028 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
29029 __NR_rt_sigqueueinfo.
29031 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29033 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
29034 assume __NR_rt_sigtimedwait.
29035 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
29036 and add LIBC_CANCEL_HANDLED for cancellation marking.
29037 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29039 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
29040 (sysdeps_routines): Add memchr_noneon.
29041 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
29042 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
29043 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
29044 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
29045 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
29046 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
29047 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
29049 * sysdeps/arm/arm-ifunc.h: New file.
29050 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
29051 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
29052 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
29053 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
29054 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
29055 (__memcpy_neon): Avoid create hidden alias.
29056 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
29057 (__memcpy_vfp): Likewise.
29058 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
29059 (sysdep_routines): Add memcpy_arm.
29060 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
29062 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
29065 * Makerules (make-link-multidir): New.
29066 * config.make.in (multidir): New.
29067 * configure.ac (libc_cv_multidir): New. AC_SUBST.
29068 * configure: Regenerated.
29069 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
29070 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
29071 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
29074 2017-11-06 Joseph Myers <joseph@codesourcery.com>
29077 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
29078 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
29080 2017-11-04 Mike FABIAN <mfabian@redhat.com>
29082 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
29085 2017-11-04 Florian Weimer <fweimer@redhat.com>
29087 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
29089 2017-11-03 Joseph Myers <joseph@codesourcery.com>
29091 * math/math.h [__HAVE_DISTINCT_FLOAT16
29092 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
29093 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
29094 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
29095 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
29096 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
29097 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
29098 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29099 (__MATH_TG_F32): New macro.
29100 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29101 (__MATH_TG_F64X): Likewise.
29102 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
29103 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
29105 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
29107 * po/de.po: Update translations.
29108 * po/ru.po: Likewise.
29110 2017-11-03 Florian Weimer <fweimer@redhat.com>
29112 * manual/filesys.texi (Hard Links): Document linkat.
29114 2017-11-03 Joseph Myers <joseph@codesourcery.com>
29116 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
29117 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
29118 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
29119 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
29120 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29121 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29122 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
29123 the same as _Float128.
29124 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29125 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29126 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
29129 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
29131 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
29133 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
29135 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29136 (strtof32x): Likewise.
29137 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29138 (strtof64x): Likewise.
29139 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29140 (strtof128x): Likewise.
29141 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29142 (strfromf16): Likewise.
29143 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29144 (strfromf32): Likewise.
29145 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29146 (strfromf64): Likewise.
29147 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29148 (strfromf32x): Likewise.
29149 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29150 (strfromf64x): Likewise.
29151 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29152 (strfromf128x): Likewise.
29153 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
29154 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
29155 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
29156 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
29157 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
29158 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
29160 2017-11-03 Richard Henderson <rth@twiddle.net>
29162 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
29164 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29166 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
29168 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29170 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
29171 DT_TLSDESC_GOT initialization.
29172 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
29173 (_dl_tlsdesc_resolve_hold): Likewise.
29174 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
29175 (_dl_tlsdesc_resolve_hold): Likewise.
29176 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
29177 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29179 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29181 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
29183 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29186 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
29187 non-lazily for R_ARM_TLS_DESC.
29189 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29192 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
29193 R_ARM_TLS_DESC case.
29194 (elf_machine_lazy_rel): Remove the prelink check.
29196 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29198 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
29199 DT_TLSDESC_GOT initialization.
29200 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
29201 (_dl_tlsdesc_resolve_rela): Likewise.
29202 (_dl_tlsdesc_resolve_hold): Likewise.
29203 (_dl_tlsdesc_undefweak): Remove ldar.
29204 (_dl_tlsdesc_dynamic): Likewise.
29205 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
29206 (_dl_tlsdesc_resolve_rela): Likewise.
29207 (_dl_tlsdesc_resolve_hold): Likewise.
29208 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
29209 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29210 (_dl_tlsdesc_resolve_rela): Likewise.
29211 (_dl_tlsdesc_resolve_hold): Likewise.
29213 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29215 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
29216 binding and initialization non-lazily for R_AARCH64_TLSDESC.
29218 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29220 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
29221 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29223 2017-11-02 Joseph Myers <joseph@codesourcery.com>
29225 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
29227 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
29228 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
29229 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
29230 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
29231 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
29232 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
29233 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
29234 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
29235 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
29236 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
29237 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
29239 2017-11-02 Mike FABIAN <mfabian@redhat.com>
29242 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
29243 * localedata/locales/tpi_PG: Add standard header.
29245 2017-11-02 Florian Weimer <fweimer@redhat.com>
29247 test-errno-linux: quotactl can fail with EPERM in containers.
29248 * sysdeps/unix/sysv/linux/test-errno-linux.c
29249 (LIST, LIST_FORWARD): New macros.
29250 (check_error_in_list): New function.
29251 (test_wrp_rv): Accept list of permitted error codes.
29252 (test_wrp_rv2): Remove.
29253 (test_wrp): Call test_wrp_rv with list of error codes.
29254 (test_wrp2): Accept list of error codes.
29255 (do_test): Adjust. Allow EPERM for quotactl.
29257 2017-11-02 Florian Weimer <fweimer@redhat.com>
29259 * stdio-common/bug16.c (do_test): Use array_length.
29260 * stdio-common/errlist.c (_sys_nerr): Likewise.
29261 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
29262 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
29263 * stdio-common/psiginfo.c (psiginfo): Use array_length.
29264 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
29265 (do_test): Use array_length.
29266 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
29267 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
29268 * stdio-common/tst-printf-round.c (do_test): Likewise.
29269 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
29270 (CHECK): Use array_length.
29271 * stdio-common/tstdiomisc.c (t3, F): Likewise.
29272 * stdio-common/tstscanf.c (main): Likewise.
29273 * stdio-common/vfprintf.c (process_string_arg): Likewise.
29275 2017-11-02 Florian Weimer <fweimer@redhat.com>
29277 Add array_length and array_end macros.
29278 * include/array_length.h: New file.
29280 2017-11-02 Florian Weimer <fweimer@redhat.com>
29283 * posix/tst-glob-tilde.c (do_noescape): New variable.
29284 (one_test): Process it.
29285 (do_test): Set do_noescape. Add unescaping test case.
29287 2017-11-01 Joseph Myers <joseph@codesourcery.com>
29290 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
29291 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
29292 with appropriate macros defined and undefined.
29293 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
29294 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29295 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
29296 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29297 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
29298 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29299 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
29300 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29301 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
29302 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29305 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
29306 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
29307 that for long double. Do not condition define and undefine of
29308 _Mdouble_complex_ on [__CFLOAT128].
29310 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
29312 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29313 of <sysdeps/generic/sysdep.h>.
29314 (ALIGNARG): Removed.
29315 (ASM_SIZE_DIRECTIVE): Likewise.
29318 (ENTRY_CHK): Likewise.
29319 (END_CHK): Likewise.
29320 (syscall_error): Likewise.
29321 (mcount): Likewise.
29322 (PSEUDO_END): Likewise.
29324 (atom_text_section): Likewise.
29325 * sysdeps/x86/sysdep.h: New file.
29326 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29327 of <sysdeps/generic/sysdep.h>.
29328 (ALIGNARG): Removed.
29329 (ASM_SIZE_DIRECTIVE): Likewise.
29332 (ENTRY_CHK): Likewise.
29333 (END_CHK): Likewise.
29334 (syscall_error): Likewise.
29335 (mcount): Likewise.
29336 (PSEUDO_END): Likewise.
29338 (atom_text_section): Likewise.
29340 2017-10-31 Rafał Lużyński <digitalfreak@lingonborough.com>
29342 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
29343 category of LC_CTYPE set to "i18n:2012".
29344 * localedata/locales/i18n_ctype: Regenerate.
29346 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
29348 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
29349 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
29350 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29351 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29353 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
29354 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
29355 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
29356 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
29358 2017-10-31 Joseph Myers <joseph@codesourcery.com>
29361 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
29363 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
29365 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
29367 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29368 (CMPLXF32X): Likewise.
29369 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29370 (CMPLXF64X): Likewise.
29371 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29372 (CMPLXF128X): Likewise.
29375 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
29376 (__MATH_EVAL_FMT2): Define to add 0.0f.
29378 2017-10-31 Alan Modra <amodra@gmail.com>
29380 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
29382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
29383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
29384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
29385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
29386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
29387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
29388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
29389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
29390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
29391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
29392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
29393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
29394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
29395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
29396 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
29397 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
29398 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
29399 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
29400 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
29401 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
29402 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
29403 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
29404 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
29405 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
29406 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29407 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
29408 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
29409 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
29410 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
29411 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
29412 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29413 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29414 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
29415 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
29416 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
29417 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
29418 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
29419 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
29420 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
29421 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
29422 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
29423 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
29424 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
29425 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
29426 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
29427 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
29428 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
29429 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
29430 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29431 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29432 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
29433 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
29434 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
29435 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
29436 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29437 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
29438 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
29439 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
29440 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29441 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29442 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29443 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
29444 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
29445 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
29446 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
29447 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
29448 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
29449 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
29450 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
29452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
29453 include sysdep.h and math_ldbl_opt.h.
29455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
29456 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
29457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
29458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
29459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
29460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
29461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
29462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
29463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
29464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
29465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
29466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
29467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
29468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
29469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
29470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
29471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
29472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
29473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
29474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
29475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
29476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
29477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
29478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
29479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
29480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
29482 2017-10-31 Alan Modra <amodra@gmail.com>
29484 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
29485 string/strncase_l.c, not string/strncase.c.
29486 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
29487 (libc_hidden_def): Redefine.
29489 2017-10-31 Alan Modra <amodra@gmail.com>
29491 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
29492 (__STRCMP, STRCMP, __strcasecmp_l): Define.
29493 (__strcasecmp): Don't define.
29495 2017-10-31 Alan Modra <amodra@gmail.com>
29497 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
29499 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29500 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29501 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29503 2017-10-31 Alan Modra <amodra@gmail.com>
29505 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
29508 2017-10-31 Alan Modra <amodra@gmail.com>
29510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
29511 Redefine only when SHARED.
29513 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29515 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29516 Include <bits/math-finite.h> with appropriate macros defined and
29518 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29519 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29520 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29521 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29522 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29524 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
29525 [!_Mlong_double_] (_Mlong_double_): Likewise.
29526 [!_Mfloat16_] (_Mfloat16_): Likewise.
29527 [!_Mfloat32_] (_Mfloat32_): Likewise.
29528 [!_Mfloat64_] (_Mfloat64_): Likewise.
29529 [!_Mfloat128_] (_Mfloat128_): Likewise.
29530 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
29531 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
29532 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
29533 (_Mdouble_): Define without indirection through those macros.
29534 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
29535 [!_Mfloat128_] (_Mfloat128_): Likewise.
29536 [_Mlong_double_] (_Mlong_double_): Likewise.
29537 (_Mdouble_): Define without indirection through those macros.
29538 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
29539 not add -D_Mlong_double_=double.
29540 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
29541 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
29543 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29545 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
29547 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29549 * sysdeps/x86/libc-start.c: Reformat.
29551 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29554 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
29555 (1): Renamed to ...
29558 (L(Src2)): Likewise.
29559 (L(1)): Renamed to ...
29562 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29564 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
29565 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
29566 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
29567 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
29568 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
29569 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
29570 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
29571 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
29572 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
29573 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
29574 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
29575 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
29576 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
29577 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
29578 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
29579 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
29580 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
29581 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
29582 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
29583 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
29584 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
29585 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
29586 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
29587 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
29588 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
29589 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
29590 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
29591 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
29592 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
29593 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
29594 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
29595 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
29596 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
29597 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
29598 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
29599 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
29600 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
29601 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
29602 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
29603 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
29604 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
29605 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
29606 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
29607 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
29608 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
29609 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
29610 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
29611 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
29612 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
29613 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
29614 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
29615 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
29616 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
29617 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
29618 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
29619 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
29620 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
29621 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
29622 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
29623 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
29624 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
29625 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
29626 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
29627 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
29628 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
29629 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
29631 2017-10-30 Florian Weimer <fweimer@redhat.com>
29633 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
29635 * io/tst-mkdirat.c (do_test): Likewise.
29636 * io/tst-mkfifoat.c (do_test): Likewise.
29637 * io/tst-mknodat.c (do_test): Likewise.
29638 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
29639 * locale/programs/locale.c (select_dirs): Likewise.
29640 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
29641 * posix/bug-glob2.c (my_readdir): Likewise.
29642 * posix/tst-dir.c (main): Likewise.
29643 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
29644 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
29646 2017-10-30 Florian Weimer <fweimer@redhat.com>
29648 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
29651 2017-10-30 Florian Weimer <fweimer@redhat.com>
29653 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
29654 Convert to support/test-driver.c.
29655 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
29656 New macro parameters.
29657 (PRINTF): Remove macro. Use test_verbose conditionals instead.
29658 * posix/tst-gnuglob.c: New file.
29659 * posix/tst-gnuglob64.c: Likewise.
29660 * posix/Makefile (tests): Add tst-gnuglob64.
29662 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
29665 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
29666 and use a better translation for March in “mon”.
29667 * localedata/locales/csb_PL: Use more ASCII to improve the
29668 readability of the source.
29670 2017-10-30 Mike FABIAN <mfabian@redhat.com>
29673 * localedata/locales/km_KH: Use ASCII as much
29674 as possible for better readability of the source and
29675 remove useless comments.
29676 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
29677 was commented out and apparently wrong anyway because it was
29678 using Lao characters. If Buddhist era should be used
29679 for km_KH, a native speaker should write the correct formaat
29681 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
29682 (According to CLDR, the first weekday for Cambodia is Sunday).
29683 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
29684 (These were using Lao characters which must be wrong. If we get
29685 the correct data from a native speaker, we could add it back, until
29686 then it is better not to have name_mr and name_mrs at all than
29689 2017-10-27 Rafał Lużyński <digitalfreak@lingonborough.com>
29691 * locale/loadlocale.c: Correct size of
29692 _nl_value_type_LC_<category> arrays.
29694 2017-10-27 Joseph Myers <joseph@codesourcery.com>
29696 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29697 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
29698 with appropriate macros defined and undefined.
29699 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29700 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29701 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29702 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29703 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29705 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
29707 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
29710 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29712 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
29713 with lowercase letters to make it agree with CLDR.
29715 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29718 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
29719 first letters of yesstr and nostr in yesexpr and noexpr,
29720 not for the full words.
29721 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29722 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
29723 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
29724 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
29725 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
29726 first letters of yesstr and nostr in yesexpr and noexpr,
29727 until now only English was matched in yesexpr and noexpr.
29728 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
29729 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
29730 fil but not for tl. As tl and fil are very similar, using fil
29731 is probably better than using English.
29733 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
29736 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
29737 in yesstr and nostr.
29739 2017-10-26 Joseph Myers <joseph@codesourcery.com>
29741 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29742 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
29743 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
29745 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
29747 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
29749 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
29751 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29752 (SNANF128X): Likewise.
29754 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29755 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
29756 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29757 (HUGE_VAL_F32): Likewise.
29758 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29759 (HUGE_VAL_F64): Likewise.
29760 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29761 (HUGE_VAL_F32X): Likewise.
29762 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29763 (HUGE_VAL_F64X): Likewise.
29764 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29765 (HUGE_VAL_F128X): Likewise.
29767 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29769 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
29770 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
29771 for the br_FR locale.
29773 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29776 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
29778 2017-10-25 Carlos O'Donell <carlos@redhat.com>
29780 * locale/programs/record-status.h: Define globals, and function
29781 prototypes. Move function bodies...
29782 * locale/programs/record-status.c: ... to here. New file.
29783 * iconv/Makefile (iconv_prog-modules): Add record-status.
29784 * locale/Makefile (lib-modules): Likewise.
29785 * iconv/iconv_prog.c: Remove verbose.
29786 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
29787 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
29788 record a warning about ASCII compatibility.
29789 * locale/programs/ld-monetary.c (monetary_finish): If
29790 warn_int_curr_symbol is true then record a warning about the symbol
29791 not being in our ISO 4217 list.
29792 * locale/programs/locale.c: Include record-status.h. Remove verbose.
29793 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
29794 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
29795 (OPT_NO_WARN): Define.
29796 (OPT_WARN): Define.
29797 (options): Add entry for --no-warnings, and --warnings.
29798 (set_warnings): New function to enable/disable warnings.
29799 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
29800 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
29801 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
29802 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
29803 Pass flags to generate_locale.
29804 (generate_locale): Accept new flag argument and pass it to localedef
29806 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
29807 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
29809 * localedata/Makefile (test-input-data): Use full file name.
29810 * localedata/da_DK.in: Rename to...
29811 * localedata/da_DK.ISO-8859-1.in: ...this.
29812 * localedata/de_DE.in: Rename to...
29813 * localedata/de_DE.ISO-8859-1.in: ...this.
29814 * localedata/en_US.in: Rename to...
29815 * localedata/en_US.ISO-8859-1.in: ...this.
29816 * localedata/fr_FR.in: Rename to...
29817 * localedata/fr_FR.UTF-8.in: ... this.
29818 * localedata/hr_HR.in: Rename to...
29819 * localedata/hr_HR.ISO-8859-2.in: ...this.
29820 * localedata/hu_HU.in: Rename to...
29821 * localedata/hu_HU.UTF-8.in: ...this.
29822 * localedata/si_LK.in: Rename to...
29823 * localedata/si_LK.UTF-8.in: ...this.
29824 * localedata/sv_SE.in: Rename to...
29825 * localedata/sv_SE.ISO-8859-1.in: ...this.
29826 * localedata/tr_TR.in: Rename to...
29827 * localedata/tr_TR.UTF-8.in: ...this.
29828 * localedata/uk_UA.in: Rename to...
29829 * localedata/uk_UA.UTF-8.in: ...this.
29830 * localedata/sort-test.sh: Test file is locale name with the
29833 * localedata/unicode-gen/Makefile (check_i18n): Rename to
29834 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
29836 * localedata/locales/i18n_ctype: Regenerate.
29837 * localedata/locales/tr_TR: Likewise.
29838 * localedata/locales/translit_circle: Likewise.
29839 * localedata/locales/translit_cjk_compat: Likewise.
29840 * localedata/locales/translit_combining: Likewise.
29841 * localedata/locales/translit_compat: Likewise.
29842 * localedata/locales/translit_font: Likewise.
29843 * localedata/locales/translit_fraction: Likewise.
29845 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29847 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
29848 lxvd2x/stxvd2x with lvx/stvx.
29849 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
29851 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
29853 * include/alloc_buffer.h: Replace "if if " with "if " in
29855 * sysdeps/mips/memcpy.S: Likkewise.
29856 * sysdeps/mips/memset.S: Likewise.
29857 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29859 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
29861 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
29864 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29867 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
29868 yesexpr and noexpr.
29869 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29870 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29871 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29872 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29873 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29874 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29875 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29877 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29879 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
29880 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29881 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29882 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29883 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29884 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
29885 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29886 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29887 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29888 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29889 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29890 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29892 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29894 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
29895 as possible for better readability of the source.
29896 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
29897 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
29898 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
29899 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
29900 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
29901 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
29902 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
29903 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
29904 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29905 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
29906 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
29907 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
29908 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
29909 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
29910 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
29911 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
29912 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
29913 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
29914 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
29915 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
29916 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
29917 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
29918 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
29919 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
29920 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
29921 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
29922 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
29923 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
29924 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
29925 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
29926 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
29927 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29928 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
29929 * localedata/locales/en_US (LC_MESSAGES): Likewise.
29930 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
29931 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
29932 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
29933 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
29934 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
29935 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
29936 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
29937 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
29938 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
29939 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
29940 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
29941 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
29942 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
29943 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
29944 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
29945 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
29946 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
29947 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
29948 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
29949 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29950 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29951 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
29952 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
29953 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29954 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
29955 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
29956 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
29957 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
29958 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
29959 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
29960 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
29961 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
29962 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
29963 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
29964 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
29965 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
29966 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
29967 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
29968 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
29969 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
29970 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29971 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
29972 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
29973 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
29974 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
29975 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
29976 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
29977 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
29978 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
29979 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29980 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
29981 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
29982 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
29983 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29984 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
29985 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
29986 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
29987 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
29988 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29989 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
29990 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
29991 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29992 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
29993 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29994 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
29995 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
29996 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
29997 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
29998 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
29999 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
30000 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
30001 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
30002 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
30003 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
30004 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
30005 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
30006 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
30007 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
30008 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
30009 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
30010 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
30011 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
30012 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
30013 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
30014 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
30015 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
30016 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
30017 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
30018 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
30019 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
30020 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
30021 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
30022 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
30023 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
30024 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
30025 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
30026 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
30027 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
30028 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
30029 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
30030 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
30031 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
30032 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
30033 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
30034 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
30035 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
30036 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
30037 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
30038 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
30039 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
30040 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
30041 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
30042 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
30043 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
30044 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
30045 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
30046 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
30047 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
30048 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
30049 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
30050 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
30051 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
30052 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
30053 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
30054 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
30055 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
30056 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
30057 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
30058 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
30059 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
30060 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
30061 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
30062 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
30063 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
30064 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
30065 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
30066 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
30067 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
30068 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
30069 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
30071 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30073 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
30074 (Use first letters of yesstr and nostr correctly instead of using
30077 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30079 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
30080 (Use first letters of yesstr and nostr correctly).
30082 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30084 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
30085 also check for the first characters of yesstr and nostr.
30086 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
30087 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
30089 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30091 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
30092 also check for Chinese characters.
30094 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30096 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
30097 match also for the contents of yesstr and nostr. As the first letter
30098 of yesstr and nostr is equal, checking only for the first letter
30101 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30103 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
30104 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
30106 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30108 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
30109 of main contributor.
30111 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30113 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
30114 instead of using English.
30116 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30118 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
30119 by including the first letters of nostr and yesexpr in the regexp.
30120 Also make it more readable by using ASCII where possible.
30122 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30124 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
30125 the first letter of nostr in the regexp. It agrees with CLDR now.
30126 Also make it more readable by using ASCII where possible.
30128 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30130 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
30131 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
30132 these strings contain a U+17D6 (which somewhat looks like a colon)
30133 instead of a real colon to separate the full words for “yes”
30134 and “no” from the single letter responses.
30136 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30138 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
30139 it agree with CLDR (include the first letter of yesstr).
30140 Also make it more readable by using ASCII where possible.
30142 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30144 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
30145 and improve yesexpr and noexpr. The yesstr and nostr apparently
30146 came from CLDR. And CLDR has a bug there: these strings contain
30147 a U+0903 (which looks like a colon) instead of a real colon
30148 to separate the full words for “yes” and “no” from the single
30151 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30153 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
30154 letters of the full yesstr and nostr in yesexpr and noexpr.
30156 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30158 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
30159 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
30160 * localedata/locales/an_ES: Make source more readable by using ASCII
30163 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30166 * localedata/locales/yuw_PG: New file.
30167 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
30168 * locale/iso-639.def: Add Yau (Uruwa).
30170 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30172 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
30174 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30176 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
30177 (__libc_realloc): Likewise.
30178 (_mid_memalign): Likewise.
30179 (__libc_calloc): Likewise.
30181 2017-10-23 Mike FABIAN <mfabian@redhat.com>
30183 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
30184 by adding the generic +1 and -0 as in all other locales.
30185 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
30186 day names and make it more readable by using ASCII where possible.
30188 2017-10-24 Joseph Myers <joseph@codesourcery.com>
30190 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
30191 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
30193 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30195 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
30196 WNOHANG in waitpid call.
30198 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
30200 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
30201 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
30203 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
30204 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
30205 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
30206 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
30207 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
30208 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
30209 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
30210 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
30213 2017-10-23 Michael Collison <michael.collison@arm.com>
30215 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
30216 with __builtin_sqrt.
30217 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
30218 with __builtin_sqrtf.
30219 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
30220 with __builtin_ceil.
30221 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
30222 with __builtin_ceilf.
30223 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
30224 with __builtin_floor.
30225 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
30226 with __builtin_floorf.
30227 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
30228 with __builtin_fma.
30229 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
30230 with __builtin_fmaf.
30231 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
30232 with __builtin_fmax.
30233 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
30234 with __builtin_fmaxf.
30235 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
30236 with __builtin_fmin.
30237 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
30238 with __builtin_fminf.
30239 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
30240 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
30241 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
30242 with builtin_rint and conversion to int.
30243 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
30244 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
30245 with builtin_llround.
30246 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
30247 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
30248 with builtin_rint and conversion to long int.
30249 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
30250 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
30251 with builtin_lround.
30252 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
30253 with builtin_lroundf.
30254 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
30255 statements with __builtin_nearbyint.
30256 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
30257 statements with __builtin_nearbyintf.
30258 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
30259 with __builtin_rint.
30260 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
30261 with __builtin_rintf.
30262 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
30263 with __builtin_round.
30264 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
30265 with __builtin_roundf.
30266 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
30267 with __builtin_trunc.
30268 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
30269 with __builtin_truncf.
30270 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
30271 and s_l[l]round[f].c too.
30273 2017-10-23 Alan Modra <amodra@gmail.com>
30275 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
30276 Adjust stack after restoring regs. Add missing LR cfi_restore.
30278 2017-10-23 Alan Modra <amodra@gmail.com>
30280 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
30281 Move LR save and frame setup/teardown and LR restore to
30282 immediately around memset call. Provide cfi.
30284 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30286 * sysdeps/i386/fpu/e_powf.S: Removed.
30287 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
30288 * sysdeps/i386/fpu/w_powf.c: Likewise.
30289 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
30290 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30291 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30293 (CFLAGS-e_powf-sse2.c): New.
30294 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
30295 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
30297 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30299 * sysdeps/i386/fpu/e_log2f.S: Removed.
30300 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
30301 * sysdeps/i386/fpu/w_log2f.c: Likewise.
30302 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
30303 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30304 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30306 (CFLAGS-e_log2f-sse2.c): New.
30307 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
30308 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
30310 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30312 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30314 (CFLAGS-e_powf-fma.c): New.
30315 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
30316 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
30318 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30320 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30322 (CFLAGS-e_log2f-fma.c): New.
30323 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
30324 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
30326 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30328 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30330 (CFLAGS-e_logf-fma.c): New.
30331 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
30332 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
30334 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30336 * sysdeps/i386/fpu/e_logf.S: Removed.
30337 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
30338 * sysdeps/i386/fpu/w_logf.c: Likewise.
30339 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
30340 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
30341 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30342 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30344 (CFLAGS-e_logf-sse2.c): New.
30345 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
30346 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
30348 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30350 * sysdeps/i386/fpu/e_exp2f.S: Removed.
30351 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
30352 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
30353 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30354 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30356 (CFLAGS-e_exp2f-sse2.c): New.
30357 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
30358 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
30360 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30362 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30364 (CFLAGS-e_exp2f-fma.c): New.
30365 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
30366 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
30368 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30370 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
30371 * sysdeps/i386/fpu/e_expf.S: Likewise.
30372 * sysdeps/i386/fpu/math_errf.c: Likewise.
30373 * sysdeps/i386/fpu/w_expf.c: Likewise.
30374 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
30375 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30376 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
30377 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
30378 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30379 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30380 Remove e_expf-ia32.
30381 (CFLAGS-e_expf-sse2.c): New.
30382 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
30383 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
30385 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30387 * sysdeps/x86_64/fpu/e_expf.S: Removed.
30388 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
30389 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
30390 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
30392 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
30394 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
30395 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30397 (__redirect_expf): This.
30398 (SYMBOL_NAME): Changed to expf.
30399 (__ieee754_expf): Renamed to ...
30401 (__GI___expf): This.
30402 (__ieee754_expf): Add strong_alias.
30403 (__expf_finite): Likewise.
30405 Include <sysdeps/ieee754/flt-32/e_expf.c>.
30407 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
30410 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
30413 2017-10-21 Florian Weimer <fweimer@redhat.com>
30415 * posix/Makefile (tests): Add tst-glob-tilde.
30416 (tests-special): Add tst-glob-tilde-mem.out
30417 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
30418 (tst-glob-tilde-mem.out): Add mtrace check.
30419 * posix/tst-glob-tilde.c: New file.
30421 2017-10-20 Joseph Myers <joseph@codesourcery.com>
30423 * bits/floatn-common.h: New file.
30424 * math/Makefile (headers): Add bits/floatn-common.h.
30425 * bits/floatn.h: Include <bits/floatn-common.h>.
30426 * sysdeps/ia64/bits/floatn.h: Likewise.
30427 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30428 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
30429 * sysdeps/powerpc/bits/floatn.h: Likewise.
30430 * sysdeps/x86/bits/floatn.h: Likewise.
30432 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30434 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
30435 indicates whether compiler emits an warning for alias for
30436 functions with incompatible types.
30439 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
30440 the auxiliary process is terminated by a signal before calling _exit
30443 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30446 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
30448 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
30449 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
30450 and bit_arch_XSAVEC_Usable if needed.
30451 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
30452 and bit_arch_Use_dl_runtime_resolve_opt.
30453 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
30455 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
30456 (bit_arch_Prefer_No_AVX512): Updated.
30457 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
30458 (bit_arch_XSAVEC_Usable): New.
30459 (STATE_SAVE_OFFSET): Likewise.
30460 (STATE_SAVE_MASK): Likewise.
30461 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
30462 (cpu_features): Add xsave_state_size and xsave_state_full_size.
30463 (index_arch_Use_dl_runtime_resolve_opt): Removed.
30464 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
30465 (index_arch_XSAVEC_Usable): New.
30466 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30467 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
30468 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
30470 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
30471 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
30472 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
30473 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
30474 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
30475 _dl_runtime_resolve_xsavec.
30476 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
30478 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
30479 instead of VEC_SIZE.
30480 (REGISTER_SAVE_BND0): Removed.
30481 (REGISTER_SAVE_BND1): Likewise.
30482 (REGISTER_SAVE_BND3): Likewise.
30483 (REGISTER_SAVE_RAX): Always defined to 0.
30485 (_dl_runtime_resolve_avx): Likewise.
30486 (_dl_runtime_resolve_avx_slow): Likewise.
30487 (_dl_runtime_resolve_avx_opt): Likewise.
30488 (_dl_runtime_resolve_avx512): Likewise.
30489 (_dl_runtime_resolve_avx512_opt): Likewise.
30490 (_dl_runtime_resolve_sse): Likewise.
30491 (_dl_runtime_resolve_sse_vex): Likewise.
30493 (_dl_runtime_resolve_fxsave): Likewise.
30494 (USE_XSAVE): Likewise.
30495 (_dl_runtime_resolve_xsave): Likewise.
30496 (USE_XSAVEC): Likewise.
30497 (_dl_runtime_resolve_xsavec): Likewise.
30498 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
30500 (_dl_runtime_resolve_avx512_opt): Likewise.
30501 (_dl_runtime_resolve_avx): Likewise.
30502 (_dl_runtime_resolve_avx_opt): Likewise.
30503 (_dl_runtime_resolve_sse): Likewise.
30504 (_dl_runtime_resolve_sse_vex): Likewise.
30505 (_dl_runtime_resolve_fxsave): New.
30506 (_dl_runtime_resolve_xsave): Likewise.
30507 (_dl_runtime_resolve_xsavec): Likewise.
30509 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
30513 * posix/glob.c (__glob): Fix one-byte overflow.
30515 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30517 * malloc/malloc.c (sysdep-cancel.h): Add include.
30519 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30521 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
30523 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
30525 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
30526 (tests): Remove $(objpfx)ga_test depdendency.
30527 * resolv/ga_test.c: Remove file.
30529 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30532 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
30533 * localedata/locales/kab_DZ: New file.
30535 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30537 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
30538 _dl_relocate_static_pie instead of _dl_start to compute load
30539 address in static PIE.
30541 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30543 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
30545 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30548 * localedata/SUPPORTED: Add shn_MM/UTF-8.
30549 * localedata/locales/shn_MM: New file.
30551 2017-10-20 Florian Weimer <fweimer@redhat.com>
30554 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
30555 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
30556 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
30557 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
30558 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
30559 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
30561 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
30563 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30565 2017-10-19 Joseph Myers <joseph@codesourcery.com>
30567 * sysdeps/mips/ieee754/bits/floatn.h: New file.
30570 * sysdeps/mips/bits/long-double.h: Move to ....
30571 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
30573 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
30575 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
30577 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
30578 H.J. Lu <hongjiu.lu@intel.com>
30581 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
30582 GLRO(dl_platform) to NULL.
30583 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
30584 (modules-names): Add tst-platformmod-1 and
30585 x86_64/tst-platformmod-2.
30586 (CFLAGS-tst-platform-1.c): New.
30587 (CFLAGS-tst-platformmod-1.c): Likewise.
30588 (CFLAGS-tst-platformmod-2.c): Likewise.
30589 (LDFLAGS-tst-platformmod-2.so): Likewise.
30590 ($(objpfx)tst-platform-1): Likewise.
30591 ($(objpfx)tst-platform-1.out): Likewise.
30592 (tst-platform-1-ENV): Likewise.
30593 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
30594 * sysdeps/x86_64/tst-platform-1.c: New file.
30595 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
30596 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
30598 2017-10-19 Mike FABIAN <mfabian@redhat.com>
30601 * locale/iso-639.def: Add Karbi.
30602 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
30603 * localedata/locales/mjw_IN: New file.
30605 2017-10-18 Joseph Myers <joseph@codesourcery.com>
30607 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
30608 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30609 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
30610 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
30611 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30612 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30613 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
30615 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30616 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30617 * manual/math.texi (Mathematics): Document additional architecture
30618 support for _Float128.
30619 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
30620 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
30621 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30622 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30623 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30624 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30625 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30626 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30627 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30628 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30629 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30630 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30631 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30632 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30633 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30635 2017-10-18 Renlin Li <renlin.li@arm.com>
30637 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
30638 _DYNAMIC symbol to calculate load address.
30640 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
30642 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
30643 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
30645 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
30646 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
30648 2017-10-18 Mike FABIAN <mfabian@redhat.com>
30651 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
30652 and improve readability by using more ASCII.
30653 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
30654 and improve readability by using more ASCII.
30656 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
30658 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
30659 not all targets support atomics on bool.
30661 2017-10-17 Joseph Myers <joseph@codesourcery.com>
30663 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
30664 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
30666 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30667 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
30668 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30669 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
30670 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30671 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
30673 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30675 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
30678 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30681 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
30682 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
30683 (do_check_remalloced_chunk): Fix build bug.
30684 (do_check_malloc_state): Add assert that checks arena->top.
30685 (malloc_consolidate): Remove initialization.
30686 (int_mallinfo): Remove call to malloc_consolidate.
30687 (__libc_mallopt): Clarify why malloc_consolidate is needed.
30689 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30691 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
30692 (have_fastchunks): Remove.
30693 (clear_fastchunks): Remove.
30694 (set_fastchunks): Remove.
30695 (malloc_state): Add have_fastchunks.
30696 (malloc_init_state): Use have_fastchunks.
30697 (do_check_malloc_state): Remove incorrect invariant checks.
30698 (_int_malloc): Use have_fastchunks.
30699 (_int_free): Likewise.
30700 (malloc_consolidate): Likewise.
30702 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30704 * malloc/malloc.c (tcache_put): Inline.
30705 (tcache_get): Inline.
30707 2017-10-17 Jordi Mallach <jordi@gnu.org>
30709 Aurelien Jarno <aurelien@aurel32.net>
30711 * localedata/locales/ca_ES@valencia: New file.
30712 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
30714 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
30717 * math/math.h: Let signbit use the builtin in C++ mode with gcc
30720 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30722 * scripts/build-many-glibcs.py (Context.add_all_configs):
30723 Add arm-linux-gnueabihf multiarch extra_glibcs.
30725 * sysdeps/generic/ifunc-init.h: New file.
30726 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
30728 2017-10-17 Mike FABIAN <mfabian@redhat.com>
30731 * localedata/locales/el_GR: Set n_cs_precedes to 0.
30732 * localedata/locales/el_CY: copy "el_GR" because it is identical.
30733 * stdlib/tst-strfmon_l.c: adapt test case.
30735 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30737 * sysdeps/generic/float128-abi.h: New file.
30738 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
30739 non-__prefixed symbols to ....
30740 * math/Versions: ... here. Include <float128-abi.h>.
30741 * stdlib/Versions ... and here. Include <float128-abi.h>
30743 2017-10-16 Florian Weimer <fweimer@redhat.com>
30745 * version.h (VERSION): Switch to ".9000" as the development
30748 2017-10-16 Florian Weimer <fweimer@redhat.com>
30751 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
30752 compat_symbol_reference to access non-default version.
30754 2017-10-16 Florian Weimer <fweimer@redhat.com>
30756 * malloc/Makefile (others-extras): Set to mcheck-init.o.
30758 2017-10-16 Carlos O'Donell <carlos@redhat.com>
30760 * include/shlib-compat.h (compat_symbol_reference): Update
30763 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30765 * math/Makefile (test-types): Add
30766 $(type-float128-$(float128-alias-fcts)).
30767 * math/test-float128.h (TYPE_STR): Define conditional on
30768 [FLT128_MANT_DIG == LDBL_MANT_DIG].
30769 (ULP_IDX): Likewise.
30770 (ULP_I_IDX): Likewise.
30772 * stdlib/strtold.c: Include <bits/floatn.h>
30773 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
30774 and later undefine as macro. Define as weak alias if
30776 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
30777 and later undefine as macro. Define as weak alias if
30779 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
30780 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
30781 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
30782 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30783 Define and later undefine as macro. Define as weak alias if
30785 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
30787 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
30788 Define and later undefine as macro. Define as weak alias if
30790 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30791 Define and later undefine as macro. Define as weak alias if
30794 2017-10-15 Carlos O'Donell <carlos@redhat.com>
30796 * localedata/collate-test.c (allocate_arrays): Don't use \n in
30797 record_verbose messages.
30799 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
30802 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
30803 to silence -O3 -Wall warning with GCC 7.
30805 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
30807 * Makeconfig (+link-static-before-libc): Use the first of
30808 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
30809 * gmon/Makefile (tests): Add tst-gmon-static.
30810 (tests-static): Likewise.
30811 (CFLAGS-tst-gmon-static.c): New.
30812 (CRT-tst-gmon-static): Likewise.
30813 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
30814 (tst-gmon-static-ENV): Likewise.
30815 (tests-special): Likewise.
30816 ($(objpfx)tst-gmon-static.out): Likewise.
30817 (clean-tst-gmon-static-data): Likewise.
30818 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
30819 * gmon/tst-gmon-static-gprof.sh: New file.
30820 * gmon/tst-gmon-static.c: Likewise.
30822 2017-10-13 Carlos O'Donell <carlos@redhat.com>
30825 * locale/programs/linereader.c (get_string): Don't warn on
30826 non-symbolic character.
30829 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
30833 * locale/programs/record-status.h: New file
30834 * locale/programs/locale.c: Add comment.
30835 * locale/programs/charmap-dir.c: Don't include error.h.
30836 (charmap_opendir): Use record_error.
30837 * locale/programs/charmap.c: Don't include error.h.
30838 (charmap_read): Use record_error, and record_warning.
30839 (parse_charmap): Likewise.
30840 * locale/programs/ld-address.c: Don't include error.h.
30841 (address_finish): Use record_error, and record_warning.
30842 * locale/programs/ld-collate.c: Don't include error.h.
30843 (collate_finish): Use record_error, and record_error_at_line.
30844 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
30845 (ctype_class_new): Likewise.
30846 (ctype_map_new): Likewise.
30847 (set_one_default): Likewise.
30848 (set_class_defaults): Likewise.
30849 (translit_flatten): Likewise.
30850 (allocate_arrays): Use record_error, and record_verbose.
30851 * locale/programs/ld-identification.c: Don't include error.h.
30852 (indentation_finish): Use record_error and record_warning.
30853 * locale/programs/ld-measurement.c: Don't include error.h.
30854 (measurement_finish): Use record_error.
30855 * locale/programs/ld-messages.c
30856 (message_finish): Likewise.
30857 * locale/programs/ld-monetary.c
30858 (monetary_finish): Likewise.
30859 * locale/programs/ld-name.c (name_finish): Use record_error
30860 and record_warning.
30861 * locale/programs/ld-numeric.c
30862 (numeric_finish): Use record_error.
30863 * locale/programs/ld-paper.c: Don't include error.h.
30864 (paper_finish): Use record_error.
30865 * locale/programs/ld-telephone.c: Don't include error.h.
30866 (telephone_finish): Use record_error.
30867 * locale/programs/ld-time.c (time_finish): Likewise.
30868 * locale/programs/linereader.h (lr_error): Make inline func.
30869 * locale/programs/localedef.c: Define recorded_warning_count,
30870 and recorded_error_count.
30871 (main): Use record_error. Use recorded_error_count and
30872 recorded_warning_count to issue correct error returns.
30873 (add_to_readlist): Use record_error.
30874 (find_locale): Likewise.
30875 (load_locale): Likewise.
30876 * locale/programs/localedef.h: Remove be_quiet
30877 and WITH_CUR_LOCALE.
30878 * locale/programs/locarchive.c (compare_from_file): Use
30880 * locale/programs/locfile.c (write_locale_data): Use
30882 * locale/programs/repertoire.c: Dont include error.h.
30883 (repertoire_complain): Use record_error.
30884 * localedata/tst-fmon.sh: Expect failures from localedef.
30885 * localedata/tst-locale.sh: Likewise.
30886 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
30888 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
30889 (REPORTS): Likewise.
30891 (i18n): Rename to...
30892 (i18n_ctype): ...this.
30893 (i18n-report): Rename to...
30894 (i18n_ctype-report): ...this.
30895 * localedata/locales/i18n_ctype: Regenerate.
30896 * localedata/locales/i18n: copy i18n_ctype.
30898 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30900 * stdlib/strfroml.c: Include <bits/floatn.h>.
30901 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
30902 Define before include of <stdlib.h> and undefine afterwards, then
30903 define as weak alias.
30905 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
30906 Undefine and restore default definition. Use
30907 libm_alias_ldouble_other.
30909 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
30912 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
30915 2017-10-13 James Clarke <jrtc27@jrtc27.com>
30917 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30918 Assign sym_map to be map for local symbols, as TLS relocations
30919 use sym_map to determine whether the symbol is defined and to
30920 extract the TLS information.
30921 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30922 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30924 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30927 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
30928 (math_force_eval): Add powerpc version.
30931 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
30933 (do_test): Likewise.
30934 * stdio-common/tst-printf.sh: Likewise.
30935 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
30936 ifdef clause in order to set the carry bit right. Replace r0 by
30937 0 without changing the behavior.
30939 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30941 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
30942 <libm-alias-ldouble.h>.
30943 (fabsl): Define using libm_alias_ldouble.
30944 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
30945 <libm-alias-ldouble.h>.
30946 (fabsl): Define using libm_alias_ldouble.
30948 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
30949 Remove conditional code.
30951 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
30952 Rename to __clog10_internal_l.
30953 (__clog10_internal_l): Define aliases using
30954 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
30957 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30959 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
30960 * benchtests/sincosf-inputs: New file.
30961 * benchtests/cosf-inputs: New file.
30962 * benchtests/sinf-inputs: New file.
30964 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
30966 * posix/tst-spawn.c (do_test): Wait for both children.
30968 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
30971 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
30972 tests-pie): Add tst-gmon-pie.
30973 (CFLAGS-tst-gmon-pie.c): New.
30974 (CRT-tst-gmon-pie): Likewise.
30975 (tst-gmon-pie-ENV): Likewise.
30976 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
30977 ($(objpfx)tst-gmon-pie.out): Likewise.
30978 (clean-tst-gmon-pie-data): Likewise.
30979 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
30980 * gmon/gmon.c [PIC]: Include <link.h>.
30981 [PIC] (callback): New function.
30982 (write_hist): Add an argument for load address. Subtract load
30984 (write_call_graph): Likewise.
30985 (write_gmon): Call __dl_iterate_phdr to get load address, pass
30986 it to write_hist and write_call_graph.
30987 * gmon/tst-gmon-pie.c: New file.
30989 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30991 * math/Makefile (test-types-basic): New variable.
30992 (test-types): Likewise.
30993 (libm-test-support): Use $(test-types) instead of $(types).
30994 (libm-tests-base-normal): Likewise.
30995 (libm-tests-base-finite): Likewise.
30996 (libm-tests-base-inline): Likewise.
30997 (generated): Likewise.
30998 ($(objpfx)libm-test-support-$(t).c): Likewise.
30999 (libm-tests-for-type iterator): Likewise.
31000 (libm-test-support iterator): Likewise.
31001 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
31002 (ulp_idx): Use ULP_IDX.
31003 * math/test-ldouble.h: Include <float.h>.
31004 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
31005 (ULP_IDX): New macro.
31006 (ULP_I_IDX): Likewise.
31007 * math/test-double.h (ULP_IDX): Likewise.
31008 (ULP_I_IDX): Likewise.
31009 * math/test-float.h (ULP_IDX): Likewise.
31010 (ULP_I_IDX): Likewise.
31011 * math/test-float128.h (ULP_IDX): Likewise.
31012 (ULP_I_IDX): Likewise.
31014 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31016 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
31017 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
31018 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
31019 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
31020 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
31021 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
31022 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
31023 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
31024 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
31025 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
31026 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
31027 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
31028 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
31029 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31030 (SINGLE_THREAD_BY_GLOBAL): Define.
31031 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31033 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31035 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31037 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31039 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
31040 (SINGLE_THREAD_BY_GLOBAL): Likewise.
31041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
31044 2017-10-11 Andreas Schwab <schwab@suse.de>
31046 * nis/Makefile (aux): Remove.
31047 * nscd/Makefile (aux): Add nscd_hash.
31048 (nscd-modules): Likewise.
31049 ($(objpfx)nscd): Don't depend on libnsl.
31050 * nscd/nscd_hash.c: New file.
31051 * nscd/nscd_hash.h: Likewise.
31052 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
31053 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
31054 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
31055 instead of <nis/rpcsvc/nis.h>.
31056 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
31058 2017-10-11 Florian Weimer <fweimer@redhat.com>
31061 Avoid large NSS buffers with many addresses, aliases.
31062 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
31063 using dynarrays and struct alloc_buffer.
31064 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
31065 (tst-nss-files-hosts-multi): Link with -ldl.
31066 * nss/tst-nss-files-hosts-multi.c: New file.
31068 2017-10-11 Florian Weimer <fweimer@redhat.com>
31071 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
31072 scratch_buffer. Eliminate gotos.
31074 2017-10-11 Joseph Myers <joseph@codesourcery.com>
31076 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
31077 libm_alias_ldouble_other.
31078 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
31079 undefine and redefine.
31080 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
31081 (exp10l): Do not define here.
31082 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
31083 (weak_alias): Undefine and redefine.
31084 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
31085 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
31086 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
31087 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
31089 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
31090 [!__fma] (fma): Define using libm_alias_double.
31091 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
31092 [!__fmaf] (fmaf): Define using libm_alias_float.
31093 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
31094 (fmal): Define using libm_alias_ldouble.
31096 2017-10-10 Joseph Myers <joseph@codesourcery.com>
31098 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
31100 (libm_alias_double_other): Likewise.
31101 (libm_alias_double_r): Use libm_alias_double_other_r.
31102 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
31104 (libm_alias_float_other): Likewise.
31105 (libm_alias_float_r): Use libm_alias_float_other_r.
31106 * sysdeps/generic/libm-alias-float128.h
31107 (libm_alias_float128_other_r): New macro.
31108 (libm_alias_float128_other): Likewise.
31109 (libm_alias_float128_r): Use libm_alias_float128_other_r.
31110 * sysdeps/generic/libm-alias-ldouble.h
31111 (libm_alias_ldouble_other_r): New macro.
31112 (libm_alias_ldouble_other): Likewise.
31113 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
31114 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
31115 (libm_alias_double_other_r): New macro.
31116 (libm_alias_double_other): Likewise.
31117 (libm_alias_double_r): Use libm_alias_double_other_r.
31118 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
31119 (libm_alias_ldouble_other_r): New macro.
31120 (libm_alias_ldouble_other): Likewise.
31121 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
31122 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
31123 [!USE_AS_COMPAT]: Use libm_alias_double_other.
31124 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
31125 [!USE_AS_COMPAT]: Use libm_alias_float_other.
31126 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
31127 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
31128 * math/w_exp2f.c: Use libm_alias_float_other.
31129 * math/w_expf.c: Likewise.
31130 * math/w_log2f.c: Likewise.
31131 * math/w_logf.c: Likewise.
31132 * math/w_powf.c: Likewise.
31133 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
31134 [!__exp2f]: Use libm_alias_float_other.
31135 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
31136 [!__expf]: Use libm_alias_float_other.
31137 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
31138 [!__log2f]: Use libm_alias_float_other.
31139 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
31140 [!__logf]: Use libm_alias_float_other.
31141 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
31142 [!__powf]: Use libm_alias_float_other.
31144 2017-10-10 Florian Weimer <fweimer@redhat.com>
31146 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
31148 (_nss_files_gethostbyname3_r): Call it.
31150 2017-10-09 Joseph Myers <joseph@codesourcery.com>
31152 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
31153 error. Remove default definition of declare_mgen_alias.
31154 [!declare_mgen_alias_r]: Likewise.
31155 * sysdeps/generic/math-type-macros-double.h
31156 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
31157 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
31158 (declare_mgen_alias_r): Likewise.
31159 * sysdeps/generic/math-type-macros-float128.h
31160 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31161 * sysdeps/generic/math-type-macros-ldouble.h
31162 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31163 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
31165 (declare_mgen_alias_r_s): Likewise.
31166 (declare_mgen_alias_r): Likewise.
31167 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
31168 (lgamma_r): Define using libm_alias_double_r.
31169 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
31170 (lgammaf_r): Define using libm_alias_float_r.
31171 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
31172 (lgammal_r): Define using libm_alias_ldouble_r.
31173 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
31174 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31176 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31178 * lib/glob.c (__glob_pattern_type): Remove now-spurious
31179 extern declaration.
31181 2017-10-09 Joseph Myers <joseph@codesourcery.com>
31183 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
31185 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
31188 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
31189 [__cplusplus >= 201103] (__USE_ISOC99): Define.
31190 * math/Makefile (test-math-cxx11): New test.
31191 * math/test-math-cxx11.cc: New file.
31193 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
31195 * login/openpty.c (openpty): Close slave pty file descriptor on error.
31197 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
31198 call to allocate the slave pty file descriptor.
31200 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31202 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
31203 [!__fma] (fma): Define using libm_alias_double.
31204 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
31205 [!__fma] (fma): Define using libm_alias_double.
31207 * sysdeps/ieee754/float128/float128_private.h: Include
31208 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
31209 (libm_alias_ldouble_r): Undefine and redefine.
31210 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
31211 <libm-alias-ldouble.h>.
31212 (asinhl): Define using libm_alias_ldouble.
31213 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
31214 <libm-alias-ldouble.h>.
31215 (atanl): Define using libm_alias_ldouble.
31216 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
31217 <libm-alias-ldouble.h>.
31218 (cbrtl): Define using libm_alias_ldouble.
31219 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
31220 <libm-alias-ldouble.h>.
31221 (ceill): Define using libm_alias_ldouble.
31222 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
31223 <libm-alias-ldouble.h>.
31224 (copysignl): Define using libm_alias_ldouble.
31225 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
31226 <libm-alias-ldouble.h>.
31227 (cosl): Define using libm_alias_ldouble.
31228 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
31229 <libm-alias-ldouble.h>.
31230 (erfl): Define using libm_alias_ldouble.
31232 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
31233 <libm-alias-ldouble.h>.
31234 (expm1l): Define using libm_alias_ldouble.
31235 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
31236 <libm-alias-ldouble.h>.
31237 (fabsl): Define using libm_alias_ldouble.
31238 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
31239 <libm-alias-ldouble.h>.
31240 (floorl): Define using libm_alias_ldouble.
31241 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
31242 <libm-alias-ldouble.h>.
31243 (fmal): Define using libm_alias_ldouble.
31244 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
31245 <libm-alias-ldouble.h>.
31246 (frexpl): Define using libm_alias_ldouble.
31247 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
31248 libm_alias_ldouble.
31249 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
31250 <libm-alias-ldouble.h>.
31251 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
31252 libm_alias_ldouble.
31253 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
31254 <libm-alias-ldouble.h>.
31255 (getpayloadl): Define using libm_alias_ldouble.
31256 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
31257 <libm-alias-ldouble.h>.
31258 (llrintl): Define using libm_alias_ldouble.
31259 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
31260 <libm-alias-ldouble.h>.
31261 (llroundl): Define using libm_alias_ldouble.
31262 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
31263 <libm-alias-ldouble.h>.
31264 (logbl): Define using libm_alias_ldouble.
31265 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
31266 <libm-alias-ldouble.h>.
31267 (lrintl): Define using libm_alias_ldouble.
31268 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
31269 <libm-alias-ldouble.h>.
31270 (lroundl): Define using libm_alias_ldouble.
31271 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
31272 <libm-alias-ldouble.h>.
31273 (modfl): Define using libm_alias_ldouble.
31274 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
31275 <libm-alias-ldouble.h>.
31276 (nearbyintl): Define using libm_alias_ldouble.
31277 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
31278 <libm-alias-ldouble.h>.
31279 (nextafterl): Define using libm_alias_ldouble.
31280 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
31281 <libm-alias-ldouble.h>.
31282 (nextupl): Define using libm_alias_ldouble.
31283 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
31284 <libm-alias-ldouble.h>.
31285 (remquol): Define using libm_alias_ldouble.
31286 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
31287 <libm-alias-ldouble.h>.
31288 (rintl): Define using libm_alias_ldouble.
31289 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
31290 <libm-alias-ldouble.h>.
31291 (roundevenl): Define using libm_alias_ldouble.
31292 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
31293 <libm-alias-ldouble.h>.
31294 (roundl): Define using libm_alias_ldouble.
31295 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
31296 using libm_alias_ldouble.
31297 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
31298 <libm-alias-ldouble.h>.
31299 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
31300 Define using libm_alias_ldouble.
31301 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
31302 <libm-alias-ldouble.h>.
31303 (sincosl): Define using libm_alias_ldouble.
31304 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
31305 <libm-alias-ldouble.h>.
31306 (sinl): Define using libm_alias_ldouble.
31307 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
31308 <libm-alias-ldouble.h>.
31309 (tanhl): Define using libm_alias_ldouble.
31310 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
31311 <libm-alias-ldouble.h>.
31312 (tanl): Define using libm_alias_ldouble.
31313 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
31314 <libm-alias-ldouble.h>.
31315 (totalorderl): Define using libm_alias_ldouble.
31316 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
31317 <libm-alias-ldouble.h>.
31318 (totalordermagl): Define using libm_alias_ldouble.
31319 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
31320 <libm-alias-ldouble.h>.
31321 (truncl): Define using libm_alias_ldouble.
31322 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
31323 libm_alias_ldouble.
31324 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
31325 libm_alias_ldouble.
31326 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
31327 <libm-alias-ldouble.h>.
31328 (weak_alias): Do not undefine and redefine.
31329 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31330 (copysignl): Define with long_double_symbol only if [IS_IN
31332 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
31333 <libm-alias-ldouble.h>.
31334 (weak_alias): Do not undefine and redefine.
31335 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31336 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
31337 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
31338 <libm-alias-ldouble.h>.
31339 (weak_alias): Do not undefine and redefine.
31340 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31341 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
31342 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
31343 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
31344 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
31345 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
31346 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
31347 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
31348 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
31349 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
31350 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
31351 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
31352 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
31353 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
31354 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
31355 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
31356 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
31357 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
31358 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
31359 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
31360 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
31361 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
31362 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
31363 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
31364 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
31365 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
31367 2017-10-06 Carlos O'Donell <carlos@redhat.com>
31370 * malloc/malloc.c (tcache_shutting_down): Use bool type.
31371 (tcache_thread_freeres): Set tcache_shutting_down before
31372 freeing the tcache.
31373 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
31374 * malloc/tst-malloc-tcache-leak.c: New file.
31376 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31378 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
31379 back to powerpc32 file.
31380 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31381 (memrchr): Add __memrchr_power8 to ifunc list.
31382 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
31383 extra bytes for unaligned inputs.
31385 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31387 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
31388 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
31389 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
31390 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
31391 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
31393 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31395 * sysdeps/arm/libm-test-ulps: Update.
31397 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
31398 <libm-alias-ldouble.h>.
31399 (asinhl): Define using libm_alias_ldouble.
31400 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
31401 <libm-alias-ldouble.h>.
31402 (cbrtl): Define using libm_alias_ldouble.
31403 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
31404 <libm-alias-ldouble.h>.
31405 (copysignl): Define using libm_alias_ldouble.
31406 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
31407 <libm-alias-ldouble.h>.
31408 (cosl): Define using libm_alias_ldouble.
31409 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
31410 <libm-alias-ldouble.h>.
31411 (erfl): Define using libm_alias_ldouble.
31413 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
31414 <libm-alias-ldouble.h>.
31415 (fmal): Define using libm_alias_ldouble.
31416 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
31417 <libm-alias-ldouble.h>.
31418 (frexpl): Define using libm_alias_ldouble.
31419 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
31420 libm_alias_ldouble.
31421 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
31422 <libm-alias-ldouble.h>.
31423 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
31424 libm_alias_ldouble.
31425 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
31426 <libm-alias-ldouble.h>.
31427 (getpayloadl): Define using libm_alias_ldouble.
31428 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
31429 <libm-alias-ldouble.h>.
31430 (llrintl): Define using libm_alias_ldouble.
31431 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
31432 <libm-alias-ldouble.h>.
31433 (llroundl): Define using libm_alias_ldouble.
31434 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
31435 <libm-alias-ldouble.h>.
31436 (lrintl): Define using libm_alias_ldouble.
31437 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
31438 <libm-alias-ldouble.h>.
31439 (lroundl): Define using libm_alias_ldouble.
31440 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
31441 <libm-alias-ldouble.h>.
31442 (modfl): Define using libm_alias_ldouble.
31443 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
31444 <libm-alias-ldouble.h>.
31445 (nextupl): Define using libm_alias_ldouble.
31446 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
31447 <libm-alias-ldouble.h>.
31448 (remquol): Define using libm_alias_ldouble.
31449 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
31450 <libm-alias-ldouble.h>.
31451 (roundevenl): Define using libm_alias_ldouble.
31452 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
31453 <libm-alias-ldouble.h>.
31454 (roundl): Define using libm_alias_ldouble.
31455 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
31456 using libm_alias_ldouble.
31457 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
31458 <libm-alias-ldouble.h>.
31459 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
31460 <libm-alias-ldouble.h>.
31461 (setpayloadsigl): Define using libm_alias_ldouble.
31462 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
31463 <libm-alias-ldouble.h>.
31464 (sincosl): Define using libm_alias_ldouble.
31465 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
31466 <libm-alias-ldouble.h>.
31467 (sinl): Define using libm_alias_ldouble.
31468 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
31469 <libm-alias-ldouble.h>.
31470 (tanhl): Define using libm_alias_ldouble.
31471 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
31472 <libm-alias-ldouble.h>.
31473 (tanl): Define using libm_alias_ldouble.
31474 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
31475 <libm-alias-ldouble.h>.
31476 (totalorderl): Define using libm_alias_ldouble.
31477 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
31478 <libm-alias-ldouble.h>.
31479 (totalordermagl): Define using libm_alias_ldouble.
31480 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
31481 libm_alias_ldouble.
31482 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
31483 libm_alias_ldouble.
31485 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
31487 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31489 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
31490 (__libc_ifunc_impl_list): Likewise.
31491 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
31492 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
31494 * benchtests/bench-memmove-walk.c: New file.
31495 * benchtests/Makefile (string-benchset): Add it.
31497 * benchtests/bench-memset-walk.c: New file.
31498 * benchtests/Makefile (string-benchset): Add it.
31500 * benchtests/bench-memcpy-walk.c: New file.
31501 * benchtests/Makefile (string-benchset): Add it.
31503 2017-10-05 Florian Weimer <fweimer@redhat.com>
31505 nscd: Eliminate compilation time dependency in the build output.
31506 * nscd/nscd_stat.c (STATDATA_VERSION)
31507 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
31508 (STATDATA_VERSION_FULL): New macro definitions.
31509 (compilation): Remove.
31510 (struct statdata): Adjust version member.
31511 (send_stats): Set version from STATDATA_VERSION_FULL.
31512 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
31514 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31516 * configure.ac (--enable-add-ons): Remove option.
31517 (machine): Do not mention add-ons in comment.
31518 (LIBC_PRECONFIGURE): Likewise.
31519 (add_ons): Remove variable and sanity checks and logic to locate
31521 (add_ons_automatic): Remove variable.
31522 (configured_add_ons): Likewise.
31523 (add_ons_sfx): Likewise.
31524 (add_ons_pfx): Likewise.
31525 (add_on_subdirs): Likewise.
31526 (sysnames_add_ons): Likewise. Remove loop over add-ons and
31527 consideration of add-ons in Implies handling.
31528 (sysdeps_add_ons): Likewise.
31529 * configure: Regenerated.
31530 * libidn/configure.ac: Remove.
31531 * libidn/configure: Likewise.
31532 * sysdeps/unix/inet/configure.ac: New file.
31533 * sysdeps/unix/inet/configure: New generated file.
31534 * sysdeps/unix/inet/Subdirs: Add libidn.
31535 * Makeconfig (sysdeps-srcdirs): Remove variable.
31536 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
31537 ($(common-objpfx)config.status): Do not depend on add-on files.
31538 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
31540 (all-subdirs): Do not include $(add-on-subdirs).
31541 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
31542 * config.make.in (add-ons): Remove variable.
31543 (add-on-subdirs): Likewise.
31544 (sysdeps-add-ons): Likewise.
31545 * manual/Makefile (add-chapters): Remove.
31546 ($(objpfx)texis): Do not depend on $(add-chapters).
31547 (nonexamples): Do not handle $(add-chapters).
31548 (examples): Do not handle $(add-ons).
31549 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
31551 * manual/install.texi (Installation): Do not mention add-ons.
31552 (--enable-add-ons): Do not document configure option.
31553 * INSTALL: Regenerated.
31554 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
31555 * manual/maint.texi (Hierarchy Conventions): Do not mention
31557 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
31559 * scripts/gen-sorted.awk: Do not handle Subdirs files from
31561 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
31562 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
31564 2017-10-05 Andreas Schwab <schwab@suse.de>
31567 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
31568 (_IO_flush_all_lockp): Always lock list_all_lock.
31569 (_IO_flush_all_linebuffered): Likewise.
31570 (_IO_unbuffer_all): Likewise.
31572 2017-10-05 Florian Weimer <fweimer@redhat.com>
31575 Do not flush stdio streams on abort.
31576 * stdlib/abort.c (fflush): Remove macro definition.
31577 (abort): Remove stages related to stdio flushing.
31579 2017-10-05 Florian Weimer <fweimer@redhat.com>
31581 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
31583 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
31585 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31587 2017-10-05 Florian Weimer <fweimer@redhat.com>
31589 * support/support_format_hostent.c (support_format_hostent): Add
31590 more error information for NETDB_INTERNAL.
31592 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31594 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
31595 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
31596 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
31597 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
31598 AC_DEFINE if multi-arch is enabled.
31599 * sysdeps/i386/configure: Regenerated.
31601 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31603 * Makeconfig (+link-static-before-libc): Use
31604 $(DEFAULT-LDFLAGS-$(@F)).
31605 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
31606 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
31607 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
31609 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31611 * elf/Makefile (tests): Add tst-main1.
31612 (modules-names): Add tst-main1mod.
31613 ($(objpfx)tst-main1): New.
31614 (CRT-tst-main1): Likewise.
31615 (LDFLAGS-tst-main1): Likewise.
31616 (LDLIBS-tst-main1): Likewise.
31617 (tst-main1mod.so-no-z-defs): Likewise.
31618 * elf/tst-main1.c: New file.
31619 * elf/tst-main1mod.c: Likewise.
31621 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31623 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
31625 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31627 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
31628 (fma): Define using libm_alias_double.
31629 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
31630 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
31632 (fmal): Do not define as compat symbol here.
31633 * sysdeps/alpha/fpu/s_fma.c: New file.
31635 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31637 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
31639 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31642 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
31644 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31646 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
31647 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31648 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
31649 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
31650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31651 Include <math_ldbl_opt.h>
31652 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31654 (compat_symbol): Undefine and redefine.
31655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
31657 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31658 (compat_symbol): Undefine and redefine.
31659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
31660 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
31661 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
31662 GLIBC_2_1 for libm.
31663 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
31664 GLIBC_2.0 copysignl symbol.
31665 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31666 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
31668 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
31670 2017-10-04 Florian Weimer <fweimer@redhat.com>
31672 * scripts/check-local-headers.sh: Ignore nspr4 header file
31673 directory in addition to nspr.
31675 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
31678 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
31679 * configure: Regenerate.
31680 * crypt/Makefile (nss-cpp-flags): New variable.
31681 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
31682 (CPPFLAGS-md5-crypt.c): Use it.
31683 * scripts/check-local-headers.sh: Ignore nspr header file
31686 2017-10-04 Andreas Schwab <schwab@suse.de>
31688 * nis/Makefile (services): Remove compat.
31689 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
31690 ($(objpfx)libnss_compat.so): Remove rule.
31691 * nis/Versions (libnss_compat): Remove.
31692 * nss/Makefile (services): Add compat.
31693 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
31694 * nss/Versions (libnss_compat): Define.
31695 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
31696 Don't include <rpc/types.h>. Replace bool_t by bool.
31697 * nss/nss_compat/compat-initgroups.c: Likewise.
31698 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
31699 instead of <rpcsrv/ypclnt.h>.
31700 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
31701 yp_get_default_domain.
31702 * nss/nss_compat/compat-pwd.c: Likewise.
31703 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
31704 yp_get_default_domain.
31705 * nss/nss_compat/nisdomain.c: New file.
31706 * nss/nss_compat/nisdomain.h: Likewise.
31708 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31711 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
31712 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31714 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31717 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
31718 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
31720 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31722 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
31723 "movl main@GOTOFF(%ebx), %eax".
31725 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31727 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
31728 allow undefined _DYNAMIC in PIE libc.a.
31729 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31732 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31734 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
31737 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31739 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
31742 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31744 * math/test-math-iscanonical.cc (error): Replace bool with int.
31746 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31748 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
31749 (modf): Define using libm_alias_double, only if [!__modf].
31750 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
31751 <libm-alias-double.h>.
31752 (modf): Define using libm_alias_double, only if [!__modf].
31753 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
31754 compat symbol here.
31755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
31756 (weak_alias): Do not undefine and redefine.
31757 (strong_alias): Likewise.
31758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
31759 (weak_alias): Likewise.
31760 (strong_alias): Likewise.
31762 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
31763 (logb): Define using libm_alias_double, only if [!__logb].
31764 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
31765 <libm-alias-double.h>.
31766 (logb): Define using libm_alias_double, only if [!__logb].
31767 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
31768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
31769 (weak_alias): Do not undefine and redefine.
31770 (strong_alias): Likewise.
31771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
31772 (weak_alias): Likewise.
31773 (strong_alias): Likewise.
31775 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31777 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
31778 Check SHARED instead PIC.
31780 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31782 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
31783 [!__fmaf] (fmaf): Define using libm_alias_float.
31785 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
31786 (frexp): Define using libm_alias_double.
31787 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
31788 <libm-alias-double.h>.
31789 (frexp): Define using libm_alias_double.
31790 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
31791 compat symbol here.
31793 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31796 * math/math.h: Trivial fix for unbalanced parentheses in comment.
31797 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
31798 (CFLAGS-test-math-iscanonical.cc): New variable.
31799 * math/test-math-iscanonical.cc: New file.
31800 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
31801 Provide a C++ implementation based on function overloading,
31802 rather than using __MATH_TG, which uses C-only builtins.
31803 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
31805 * sysdeps/powerpc/powerpc64le/Makefile
31806 (CFLAGS-test-math-iscanonical.cc): New variable.
31808 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31810 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
31811 (ceil): Define using libm_alias_double.
31812 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
31813 (floor): Define using libm_alias_double.
31814 * sysdeps/ieee754/dbl-64/s_llround.c: Include
31815 <libm-alias-double.h>.
31816 (llround): Define using libm_alias_double.
31817 * sysdeps/ieee754/dbl-64/s_lround.c: Include
31818 <libm-alias-double.h>.
31819 (lround): Define using libm_alias_double.
31820 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
31821 <libm-alias-double.h>.
31822 (nearbyint): Define using libm_alias_double.
31823 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
31824 <libm-alias-double.h>.
31825 (remquo): Define using libm_alias_double.
31826 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
31827 (rint): Define using libm_alias_double.
31828 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
31829 (round): Define using libm_alias_double.
31830 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
31831 (trunc): Define using libm_alias_double.
31832 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
31833 <libm-alias-double.h>.
31834 (ceil): Define using libm_alias_double.
31835 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
31836 <libm-alias-double.h>.
31837 (floor): Define using libm_alias_double.
31838 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
31839 <libm-alias-double.h>.
31840 (llround): Define using libm_alias_double.
31841 [_LP64] (lround): Likewise.
31842 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
31843 <libm-alias-double.h>.
31844 [!_LP64] (lround): Define using libm_alias_double.
31845 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
31846 <libm-alias-double.h>.
31847 (nearbyint): Define using libm_alias_double.
31848 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
31849 <libm-alias-double.h>.
31850 (remquo): Define using libm_alias_double.
31851 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
31852 <libm-alias-double.h>.
31853 (rint): Define using libm_alias_double.
31854 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
31855 <libm-alias-double.h>.
31856 (round): Define using libm_alias_double.
31857 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
31858 <libm-alias-double.h>.
31859 (trunc): Define using libm_alias_double.
31860 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
31861 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
31862 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
31863 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
31864 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
31865 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
31866 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
31867 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
31868 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
31870 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
31872 * math/w_remainder.c: New file.
31873 * math/w_remainderf.c: New file.
31874 * math/w_remainderl.c: New file.
31876 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31878 * elf/rtld.c (BOOTSTRAP_MAP): New.
31879 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
31880 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31882 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31884 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31887 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31889 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
31890 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
31891 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
31892 rtld_hidden_data_ver): Define to empty.
31893 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
31894 __assert_perror_fail): Likewise.
31895 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31896 (__rewinddir): Likewise.
31897 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31898 (__profile_frequency): Likewise.
31899 * include/setjmp.h (__sigsetjmp): Likewise.
31900 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
31901 __libc_sigaction): Likewise.
31902 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
31903 not set hidden attribute.
31904 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
31905 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
31906 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
31907 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
31908 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
31909 __fxstatat64): Likewise.
31910 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31911 (__uname): Likewise.
31912 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31913 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
31914 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
31915 (NO_RTLD_HIDDEN): Set.
31916 * sysdeps/mach/hurd/configure: Refresh.
31917 * config.h.in: Refresh.
31919 2017-10-02 Joseph Myers <joseph@codesourcery.com>
31921 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
31922 (atan): Define using libm_alias_double.
31923 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
31924 (tan): Define using libm_alias_double.
31925 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
31926 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
31928 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
31929 define as weak alias of __atan. Do not define any aliases if
31931 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
31932 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
31933 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
31934 as weak alias of __tan. Do not define any aliases if [__tan].
31935 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
31936 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
31937 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
31939 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
31940 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
31941 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
31942 and define as weak alias of __atan.
31943 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
31945 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
31946 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
31947 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
31948 define as weak alias of __tan.
31950 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31952 * math/w_lgamma.c: New file.
31953 * math/w_lgammaf.c: New file.
31954 * math/w_lgammal.c: New file.
31956 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31958 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
31959 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
31960 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
31961 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
31962 * sysdeps/ieee754/flt-32/w_logf.c: New file.
31963 * sysdeps/ieee754/flt-32/w_powf.c: New file.
31964 * sysdeps/i386/fpu/w_log2f.c: New file.
31965 * sysdeps/i386/fpu/w_logf.c: New file.
31966 * sysdeps/i386/fpu/w_powf.c: New file.
31967 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
31968 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
31969 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
31971 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31972 H.J. Lu <hongjiu.lu@intel.com>
31974 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
31975 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
31976 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
31977 * sysdeps/ieee754/flt-32/w_expf.c: New file.
31978 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
31980 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
31981 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
31982 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
31983 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
31984 * sysdeps/i386/fpu/w_exp2f.c: New file.
31985 * sysdeps/i386/fpu/w_expf.c: New file.
31986 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
31987 * sysdeps/x86_64/fpu/w_expf.c: New file.
31989 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31991 * math/Versions (logf): New libm symbol at GLIBC_2.27.
31994 * math/w_log2f.c: New file.
31995 * math/w_logf.c: New file.
31996 * math/w_powf.c: New file.
31997 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
31998 * math/w_logf_compat.c (__logf_compat): Likewise.
31999 * math/w_powf_compat.c (__powf_compat): Likewise.
32000 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
32001 * sysdeps/ia64/fpu/e_logf.S: Likewise.
32002 * sysdeps/ia64/fpu/e_powf.S: Likewise.
32003 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32004 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32005 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32006 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32007 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
32008 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
32009 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
32010 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
32011 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32012 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
32013 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
32014 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
32015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
32023 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
32024 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
32025 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
32026 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
32027 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
32028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
32030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
32032 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
32033 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
32034 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
32036 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32038 * sysdeps/powerpc/powerpc64/multiarch/Makefile
32039 (sysdep_routines): Add memrchr_power8.
32040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32041 (memrchr): Add __memrchr_power8 to list of memrchr functions.
32042 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
32044 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
32045 (memrchr): Add __memrchr_power8 to ifunc list.
32046 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
32048 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32051 * sysdeps/unix/sysv/linux/posix_fadvise64.c
32052 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
32054 * sysdeps/unix/sysv/linux/posix_fallocate64.c
32055 (__posix_fallocate64_l64): Likewise.
32057 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32060 * sysdeps/unix/sysv/linux/sched_setaffinity.c
32061 (__sched_setaffinity_new): Add libc_hidden_proto and
32064 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32067 * include/glob.h (__glob64): Add libc_hidden_proto.
32068 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
32071 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32074 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
32077 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32080 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
32082 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32085 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
32088 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32091 * csu/version.c (__libc_print_version): Add attribute_hidden.
32093 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32096 * include/libc-internal.h (__init_misc): Add attribute_hidden.
32098 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32101 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
32103 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32106 * nscd/nscd_helper.c (__nis_hash): New prototype.
32108 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32111 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
32112 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
32114 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
32115 * termios/tcgetattr.c (__tcgetattr): Likewise.
32117 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32120 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
32121 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
32122 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
32123 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
32124 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
32126 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32129 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
32131 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32134 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
32135 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
32137 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32140 * intl/hash-string.h (__hash_string): Add attribute_hidden.
32142 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32145 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
32146 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
32148 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32151 * include/ifreq.h: New file.
32152 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
32153 (__ifreq): Likewise.
32154 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
32155 (__ifreq): Likewise.
32157 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32160 * include/idna.h: New file.
32161 * inet/getnameinfo.c: Include <idna.h> instead of
32163 (__idna_to_unicode_lzlz): Removed.
32164 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
32166 (__idna_to_ascii_lz): Removed.
32167 (__idna_to_unicode_lzlz): Likewise.
32169 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32172 * include/plural-exp.h: New file.
32173 * intl/plural-exp.c: Include <plural-exp.h> instead of
32176 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32179 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
32180 "getsourcefilter.h".
32181 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
32182 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
32183 "getsourcefilter.h".
32184 (__get_sol): Removed.
32186 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32189 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
32191 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
32193 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32196 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
32199 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32202 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
32204 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32207 * include/search.h (__tdestroy): Add libc_hidden_proto.
32208 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
32210 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32213 * include/assert.h (__assert_fail_base): Add attribute_hidden.
32215 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32218 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
32221 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32224 * include/signal.h (__kill): Add libc_hidden_proto.
32225 (__sigblock): Likewise.
32226 (__sigprocmask): Likewise.
32227 (__sigaltstack): Likewise.
32228 * signal/kill.c (__kill): Add libc_hidden_def.
32229 * signal/sigblock.c (__sigblock): Likewise.
32230 * signal/sigprocmask.c (__sigprocmask): Likewise.
32231 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
32232 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
32233 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
32234 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
32235 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
32237 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
32239 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
32240 (__sigprocmask): Likewise.
32241 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
32243 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
32244 (__sigprocmask): Likewise.
32245 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
32248 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32251 * include/string.h (__strsep): Add libc_hidden_proto.
32252 * string/strsep.c (__strsep): Add libc_hidden_def.
32254 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32257 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
32259 (__spawni): Likewise.
32261 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32264 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
32265 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
32268 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32271 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
32273 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32276 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
32277 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
32278 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
32279 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
32280 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
32282 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
32283 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
32285 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32288 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
32289 (__dcigettext): Likewise.
32291 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32294 * include/sys/sysinfo.h (__get_nprocs_conf): Add
32296 (__get_nprocs): Likewise.
32297 (__get_phys_pages): Likewise.
32298 (__get_avphys_pages): Likewise.
32299 (__get_child_max): Add attribute_hidden.
32300 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
32301 (__get_nprocs): Likewise.
32302 (__get_phys_pages): Likewise.
32303 (__get_avphys_pages): Likewise.
32304 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
32306 (__get_nprocs): Likewise.
32307 (__get_phys_pages): Likewise.
32308 (__get_avphys_pages): Likewise.
32309 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
32311 (__get_nprocs_conf): Likewise.
32312 (__get_phys_pages): Likewise.
32313 (__get_avphys_pages): Likewise.
32315 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32318 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
32320 (__netlink_close): Likewise.
32321 (__netlink_free_handle): Likewise.
32322 (__netlink_request): Likewise.
32324 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32327 * include/rpc/rpc.h (__rpc_thread_variables): Add
32329 (__rpc_thread_svc_cleanup): Likewise.
32330 (__rpc_thread_clnt_cleanup): Likewise.
32331 (__rpc_thread_key_cleanup): Likewise.
32333 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32336 * include/sys/uio.h (__readv): Add libc_hidden_proto.
32337 (__writev): Likewise.
32338 * misc/readv.c (__readv): Add libc_hidden_def.
32339 * misc/writev.c (__writev): Likewise.
32340 * sysdeps/posix/readv.c (__readv): Likewise.
32341 * sysdeps/posix/writev.c (__writev): Likewise.
32342 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
32343 (__readv): Likewise.
32344 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
32345 (__writev): Likewise.
32347 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32350 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
32351 (__regcomp): Add libc_hidden_proto.
32352 (__regexec): Likewise.
32353 (__regfree): Likewise.
32354 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
32355 (__regfree): Likewise.
32356 * posix/regexec.c (__regexec): Likewise.
32358 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32361 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
32362 (__getutent): Likewise.
32363 (__getutid): Likewise.
32364 (__getutline): Likewise.
32365 (__pututline): Likewise.
32366 (__getutent_r): Likewise.
32367 (__getutid_r): Likewise.
32368 (__getutline_r): Likewise.
32369 (__utmpname): Add attribute_hidden.
32370 (__setutent): Likewise.
32371 (__endutent): Likewise.
32372 * login/getutent.c (__getutent): Add libc_hidden_def.
32373 * login/getutent_r.c (__getutent_r): Likewise.
32374 (__pututline): Likewise.
32375 * login/getutid.c (__getutid): Likewise.
32376 * login/getutid_r.c (__getutid_r): Likewise.
32377 * login/getutline.c (__getutline): Likewise.
32378 * login/getutline_r.c (__getutline_r): Likewise.
32379 * login/updwtmp.c (__updwtmp): Likewise.
32381 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32384 * include/dirent.h (__opendir): Always add attribute_hidden.
32385 (__fdopendir): Likewise.
32386 (__closedir): Likewise.
32387 (__readdir): Likewise.
32388 (__readdir64): Add libc_hidden_proto.
32389 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
32390 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
32391 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
32392 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
32395 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32398 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
32399 * include/netdb.h (__gethostbyaddr_r): Likewise.
32400 (__gethostbyname_r): Likewise.
32401 (__gethostbyname2_r): Likewise.
32402 (__getnetbyaddr_r): Likewise.
32403 (__getnetbyname_r): Likewise.
32404 (__getservbyname_r): Likewise.
32405 (__getservbyport_r): Likewise.
32406 (__getprotobyname_r): Likewise.
32407 (__getprotobynumber_r): Likewise.
32408 (__getnetgrent_r): Likewise.
32409 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
32410 (__getrpcbynumber_r): Likewise.
32411 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
32413 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32416 * include/stdio.h (__fcloseall): Add attribute_hidden.
32417 (__getline): Likewise.
32418 (__path_search): Likewise.
32419 (__gen_tempname): Likewise.
32420 (__libc_message): Likewise.
32421 (__flockfile): Likewise.
32422 (__funlockfile): Likewise.
32423 (__fxprintf): Likewise.
32424 (__fxprintf_nocancel): Likewise.
32426 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32429 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
32430 (__sgetsgent_r): Likewise.
32432 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32435 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
32436 (__statfs64): Likewise.
32437 (__fstatfs64): Likewise.
32438 * include/sys/statvfs.h (__statvfs64): Likewise.
32439 (__fstatvfs64): Likewise.
32440 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
32441 (__statfs_filesize_max): Likewise.
32442 (__statfs_symlinks): Likewise.
32443 (__statfs_chown_restricted): Likewise.
32445 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32448 * include/time.h (__tzstring): Add attribute_hidden.
32449 (__tzfile_read): Likewise.
32450 (__tzfile_compute): Likewise.
32451 (__tzfile_default): Likewise.
32452 (__tzset_parse_tz): Likewise.
32453 (__offtime): Likewise.
32454 (__asctime_r): Likewise.
32455 (__tzset): Likewise.
32456 (__tz_convert): Likewise.
32457 (__getdate_r): Likewise.
32458 (__getclktck): Likewise.
32460 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32463 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
32464 (__nscd_unmap): Likewise.
32465 (__nscd_cache_search): Likewise.
32466 (__nscd_get_nl_timestamp): Likewise.
32467 (__nscd_getpwnam_r): Likewise.
32468 (__nscd_getpwuid_r): Likewise.
32469 (__nscd_getgrnam_r): Likewise.
32470 (__nscd_getgrgid_r): Likewise.
32471 (__nscd_gethostbyname_r): Likewise.
32472 (__nscd_gethostbyname2_r): Likewise.
32473 (__nscd_gethostbyaddr_r): Likewise.
32474 (__nscd_getai): Likewise.
32475 (__nscd_getgrouplist): Likewise.
32476 (__nscd_getservbyname_r): Likewise.
32477 (__nscd_getservbyport_r): Likewise.
32478 (__nscd_innetgr): Likewise.
32479 (__nscd_setnetgrent): Likewise.
32481 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32484 * include/gmp.h: Declare internal functions only if _ISOMAC is
32486 (__mpn_extract_double): Add attribute_hidden.
32487 (__mpn_extract_long_double): Likewise.
32488 (__mpn_extract_float128): Likewise.
32489 (__mpn_construct_float): Likewise.
32490 (__mpn_construct_double): Likewise.
32491 (__mpn_construct_long_double): Likewise.
32492 (__mpn_construct_float128): Likewise.
32493 (mpn_add_1): Likewise.
32494 (mpn_addmul_1): Likewise.
32495 (mpn_add_n): Likewise.
32496 (mpn_cmp): Likewise.
32497 (mpn_divrem): Likewise.
32498 (mpn_lshift): Likewise.
32499 (mpn_mul): Likewise.
32500 (mpn_mul_1): Likewise.
32501 (mpn_rshift): Likewise.
32502 (mpn_sub_1): Likewise.
32503 (mpn_submul_1): Likewise.
32504 (mpn_sub_n): Likewise.
32506 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32509 * include/wchar.h (__wcsnlen): Add attribute_hidden.
32510 (__wcscat): Likewise.
32511 (__btowc): Likewise.
32512 (__wcrtomb): Likewise.
32513 (__mbsrtowcs): Likewise.
32514 (__wcsrtombs): Likewise.
32515 (__mbsnrtowcs): Likewise.
32516 (__wcsnrtombs): Likewise.
32517 (__wcsncpy): Likewise.
32518 (__wcpncpy): Likewise.
32519 (__wmemcpy): Likewise.
32520 (__wmempcpy): Likewise.
32521 (__wmemmove): Likewise.
32522 (__wcschrnul): Likewise.
32523 (__vfwscanf): Likewise.
32524 (__vswprintf): Likewise.
32525 (__fwprintf): Likewise.
32526 (__vfwprintf): Likewise.
32528 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32531 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
32532 (__getgrgid_r): Likewise.
32533 (__getgrnam_r): Likewise.
32534 * include/pwd.h (__getpwuid_r): Likewise.
32535 (__getpwnam_r): Likewise.
32536 (__fgetpwent_r): Likewise.
32537 * include/shadow.h (__getspnam_r): Likewise.
32538 (__sgetspent_r): Likewise.
32539 (__fgetspent_r): Likewise.
32541 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32544 * include/unistd.h (__access): Add attribute_hidden.
32545 (__lseek64): Likewise.
32546 (__libc_pread64): Likewise.
32547 (__pipe2): Likewise.
32548 (__sleep): Likewise.
32549 (__chdir): Likewise.
32550 (__fchdir): Likewise.
32551 (__getcwd): Likewise.
32552 (__rmdir): Likewise.
32553 (__execvpe): Likewise.
32554 (__execve): Likewise.
32555 (__setsid): Likewise.
32556 (__getuid): Likewise.
32557 (__geteuid): Likewise.
32558 (__getgid): Likewise.
32559 (__getegid): Likewise.
32560 (__getgroups): Likewise.
32561 (__group_member): Likewise.
32562 (__ttyname_r): Likewise.
32563 (__isatty): Likewise.
32564 (__readlink): Likewise.
32565 (__unlink): Likewise.
32566 (__gethostname): Likewise.
32567 (__profil): Likewise.
32568 (__getdtablesize): Likewise.
32570 (__ftruncate): Likewise.
32571 (__ftruncate64): Likewise.
32573 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32576 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
32577 * argp/argp-fs-xinl.c: Likewise.
32578 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
32579 * argp/argp-parse.c: Include <argp.h>.
32580 * argp/argp-xinl.c: Likewise.
32581 * include/argp-fmtstream.h: New file.
32582 * include/argp.h (__argp_error): Add attribute_hidden.
32583 (__argp_failure): Likewise.
32584 (__argp_input): Likewise.
32585 (__argp_state_help): Likewise.
32587 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32590 * include/wchar.h (____wcstof_l_internal): New prototype.
32591 (____wcstod_l_internal): Likewise.
32592 (____wcstold_l_internal): Likewise.
32593 (____wcstol_l_internal): Likewise.
32594 (____wcstoul_l_internal): Likewise.
32595 (____wcstoll_l_internal): Likewise.
32596 (____wcstoull_l_internal): Likewise.
32597 (____wcstof128_l_internal): Likewise.
32598 * sysdeps/ieee754/float128/wcstof128.c
32599 (____wcstof128_l_internal): Removed.
32600 * sysdeps/ieee754/float128/wcstof128_l.c
32601 (____wcstof128_l_internal): Likewise.
32602 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
32603 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
32604 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
32605 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
32606 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
32607 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
32608 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
32609 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
32610 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
32611 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
32613 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32616 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
32617 instead of <sys/statvfs.h>.
32618 (__internal_statvfs): Removed.
32619 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
32620 instead of <sys/statvfs.h>.
32621 (__internal_statvfs64): Removed.
32622 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
32623 "internal_statvfs.h" instead of <sys/statvfs.h>.
32624 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
32625 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
32626 instead of <sys/statvfs.h>.
32627 (__internal_statvfs): Removed.
32628 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
32629 instead of <sys/statvfs.h>.
32630 (__internal_statvfs64): Removed.
32632 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32635 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
32636 (__gconv_close): Likewise.
32637 (__gconv): Likewise.
32638 (__gconv_find_transform): Likewise.
32639 (__gconv_lookup_cache): Likewise.
32640 (__gconv_compare_alias_cache): Likewise.
32641 (__gconv_load_cache): Likewise.
32642 (__gconv_get_path): Likewise.
32643 (__gconv_close_transform): Likewise.
32644 (__gconv_release_cache): Likewise.
32645 (__gconv_find_shlib): Likewise.
32646 (__gconv_release_shlib): Likewise.
32647 (__gconv_get_builtin_trans): Likewise.
32648 (__gconv_compare_alias): Likewise.
32649 * include/dlfcn.h (_dlerror_run): Likewise.
32650 * include/stdio.h (__fortify_fail_abort): Likewise.
32651 * include/time.h (__tz_compute): Likewise.
32652 (__strptime_internal): Likewise.
32653 * intl/gettextP.h (_nl_find_domain): Likewise.
32654 (_nl_load_domain): Likewise.
32655 (_nl_find_msg): Likewise.
32656 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
32657 (EXTRACT_PLURAL_EXPRESSION): Likewise.
32658 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
32659 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
32660 (__gai_find_request): Likewise.
32661 (__gai_remove_request): Likewise.
32662 (__gai_notify): Likewise.
32663 (__gai_notify_only): Likewise.
32664 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32665 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32666 (_dl_non_dynamic_init): Likewise.
32667 (_dl_aux_init): Likewise.
32668 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
32669 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32671 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
32672 (__wcsmbs_clone_conv): Likewise.
32673 (__wcsmbs_named_conv): Likewise.
32675 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32678 * include/stdlib.h (__random): Add attribute_hidden.
32679 (__random_r): Likewise.
32680 (__srandom_r): Likewise.
32681 (__initstate_r): Likewise.
32682 (__setstate_r): Likewise.
32683 (__erand48_r): Likewise.
32684 (__nrand48_r): Likewise.
32685 (__jrand48_r): Likewise.
32686 (__srand48_r): Likewise.
32687 (__seed48_r): Likewise.
32688 (__lcong48_r): Likewise.
32689 (__drand48_iterate): Likewise.
32690 (__setenv): Likewise.
32691 (__unsetenv): Likewise.
32692 (__clearenv): Likewise.
32693 (__ptsname_r): Likewise.
32694 (__posix_openpt): Likewise.
32695 (__add_to_environ): Likewise.
32696 (__realpath): Add libc_hidden_proto.
32697 (__ecvt_r): Likewise.
32698 (__fcvt_r): Likewise.
32699 (__qecvt_r): Likewise.
32700 (__qfcvt_r): Likewise.
32701 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
32702 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
32704 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32707 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
32708 * include/time.h (__mktime_internal): Likewise.
32709 * libio/iolibio.h (__fopen_internal): Likewise.
32711 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
32713 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
32715 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
32716 Correct offset used to restore PIC register.
32718 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
32721 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
32722 code to load address of __getcontext_ret when generating PIC code.
32724 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
32726 * elf/Makefile (tests-static-internal): Add
32727 tst-tls1-static-non-pie.
32728 (LDFLAGS-tst-tls1-static-non-pie): New.
32729 * elf/tst-tls1-static-non-pie.c: New file.
32731 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32733 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
32734 (asinh): Define using libm_alias_double.
32735 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
32736 (cbrt): Define using libm_alias_double.
32737 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
32738 <libm-alias-double.h>.
32739 (copysign): Define using libm_alias_double.
32740 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
32741 (erf): Define using libm_alias_double.
32743 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
32744 (expm1): Define using libm_alias_double.
32745 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
32746 (fabs): Define using libm_alias_double.
32747 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
32749 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
32750 <libm-alias-double.h>.
32751 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
32753 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
32754 <libm-alias-double.h>.
32755 (getpayload): Define using libm_alias_double.
32756 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
32757 <libm-alias-double.h>.
32758 (llrint): Define using libm_alias_double.
32759 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
32760 (lrint): Define using libm_alias_double.
32761 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
32762 <libm-alias-double.h>.
32763 (nextup): Define using libm_alias_double.
32764 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
32765 <libm-alias-double.h>.
32766 (roundeven): Define using libm_alias_double.
32767 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
32769 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
32770 <libm-alias-double.h>.
32771 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
32772 using libm_alias_double.
32773 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
32774 (cos): Define using libm_alias_double.
32776 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
32777 <libm-alias-double.h>.
32778 (sincos): Define using libm_alias_double.
32779 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
32780 (tanh): Define using libm_alias_double.
32781 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
32782 <libm-alias-double.h>.
32783 (totalorder): Define using libm_alias_double.
32784 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
32785 <libm-alias-double.h>.
32786 (totalordermag): Define using libm_alias_double.
32787 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
32789 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
32791 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
32792 <libm-alias-double.h>.
32793 (getpayload): Define using libm_alias_double.
32794 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
32795 <libm-alias-double.h>.
32796 (roundeven): Define using libm_alias_double.
32797 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
32798 <libm-alias-double.h>.
32799 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
32800 <libm-alias-double.h>.
32801 (totalorder): Define using libm_alias_double.
32802 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
32803 <libm-alias-double.h>.
32804 (totalordermag): Define using libm_alias_double.
32805 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
32806 libc compat symbol here.
32807 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
32808 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
32809 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
32810 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
32811 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
32812 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
32813 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
32814 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
32815 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
32816 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
32818 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32820 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
32821 _dl_relocate_static_pie instead of _dl_start to compute load
32822 address in static PIE. Return 0 if _DYNAMIC is undefined for
32825 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32827 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
32828 _DYNAMIC is undefined for static executable.
32830 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32832 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
32834 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32836 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32838 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32840 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
32841 (__ieee754_lgamma_r): Use fabs rather than __fabs.
32842 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32843 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32844 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
32845 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
32846 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32847 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
32848 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
32849 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32850 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
32851 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
32852 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32853 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32854 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32855 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32856 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
32858 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32860 * math/bits/cmathcalls.h (cimag): Remove inline.
32861 (creal): Remove inline.
32862 (conj): Remove inline.
32864 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32866 * math/Makefile (type-float-routines): Add e_powf_log2_data.
32867 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
32868 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
32869 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
32870 (issignalingf_inline): Likewise.
32871 (POWF_LOG2_TABLE_BITS): Likewise.
32872 (POWF_LOG2_POLY_ORDER): Likewise.
32873 (POWF_SCALE_BITS): Likewise.
32874 (POWF_SCALE): Likewise.
32875 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
32876 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
32877 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
32879 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32881 * math/Makefile (type-float-routines): Add e_log2f_data.
32882 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
32883 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
32884 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
32885 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
32886 * sysdeps/i386/fpu/e_log2f_data.c: New file.
32887 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
32888 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
32890 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32892 * math/Makefile (type-float-routines): Add e_logf_data.
32893 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
32894 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
32895 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
32896 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
32897 * sysdeps/i386/fpu/e_logf_data.c: New file.
32898 * sysdeps/ia64/fpu/e_logf_data.c: New file.
32899 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
32901 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
32903 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
32904 undefined _DYNAMIC in PIE libc.a.
32905 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32908 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32910 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
32911 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
32912 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
32913 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
32914 (__signbit): Remove.
32915 (__signbitl): Remove.
32916 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
32917 (__signbit): Remove.
32918 (__signbitl): Remove.
32919 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
32920 (__signbit): Remove.
32921 (__signbitl): Remove.
32922 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
32923 (__signbit): Remove.
32924 (__signbitl): Remove.
32925 * sysdeps/tile/bits/mathinline.h: Delete file.
32926 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
32927 (__signbit): Remove.
32928 (__signbitl): Remove.
32930 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32932 * math/math.h: Improve handling of C99 isgreater macros.
32933 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
32934 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
32935 * sysdeps/powerpc/bits/mathinline.h: Likewise.
32936 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32937 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
32939 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
32941 * sysdeps/aarch64/libm-test-ulps: Update.
32943 2017-09-28 Joseph Myers <joseph@codesourcery.com>
32946 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32947 math_opt_barrier on argument when doing arithmetic on it.
32948 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32949 Likewise. Use math_force_eval not math_opt_barrier after
32951 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
32952 math_opt_barrier on argument when doing arithmetic on it.
32953 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32956 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
32958 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
32960 (__freeifaddrs): Likewise.
32962 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32964 * include/dirent.h (__dirfd): New declaration.
32965 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
32967 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
32968 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
32969 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
32970 * include/unistd.h (__revoke): New declaration.
32971 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
32973 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
32974 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
32976 * include/dirent.h (__seekdir): New declaration.
32977 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
32978 redefine as weak alias.
32979 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
32981 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
32982 and use libc_hidden_def on them.
32983 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
32985 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
32986 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
32987 instead of getifaddrs and freeifaddrs.
32989 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32992 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
32993 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
32994 (__dso_handle): Remove declaration.
32995 * dlfcn/tstatexit.c (__dso_handle): Removed.
32996 (main): Don't check __dso_handle.
32997 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
32998 (main): Don't check __dso_handle.
32999 * include/dso_handle.h: New file.
33000 * malloc/mtrace.c: Include <dso_handle.h>.
33001 (mtrace): Pass __dso_handle directly.
33002 * nptl/pthread_atfork.c: Include <dso_handle.h>.
33003 (__dso_handle): Remove declaration.
33004 (__pthread_atfork): Pass __dso_handle directly.
33005 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
33006 (__dso_handle): Removed.
33007 * posix/wordexp-test.c: Include <dso_handle.h>.
33008 (__dso_handle): Remove declaration.
33009 (__app_register_atfork): Pass __dso_handle directly.
33010 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
33011 (__dso_handle): Remove declaration.
33012 (at_quick_exit): Pass __dso_handle directly.
33013 * stdlib/atexit.c: Include <dso_handle.h>.
33014 (__dso_handle): Remove declaration.
33015 (atexit): Pass __dso_handle directly.
33016 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
33017 (__dso_handle): Removed.
33019 2017-09-26 Joseph Myers <joseph@codesourcery.com>
33021 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
33024 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
33026 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
33027 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
33028 values to correct default value for given type.
33030 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
33033 * elf/Makefile (tests): Add tst-debug1.
33034 ($(objpfx)tst-debug1): New.
33035 ($(objpfx)tst-debug1.out): Likewise.
33036 ($(objpfx)tst-debug1mod1.so): Likewise.
33037 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
33038 with p_filesz == 0.
33039 * elf/tst-debug1.c: New file.
33041 2017-09-26 Joseph Myers <joseph@codesourcery.com>
33043 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
33044 Define using __ifunc.
33046 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33048 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
33051 2017-09-26 Joseph Myers <joseph@codesourcery.com>
33054 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
33056 2017-09-26 Florian Weimer <fweimer@redhat.com>
33058 * resolv/Makefile (tests-internal): Fix typo in comment.
33060 2017-09-26 Florian Weimer <fweimer@redhat.com>
33062 * resolv/nss_dns/dns-host.c: Fix typo in comment.
33064 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33066 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
33067 Use an union instead of a max_align_t array for __space,
33068 so that __space is the same size on all platforms.
33069 * malloc/scratch_buffer_grow_preserve.c
33070 (__libc_scratch_buffer_grow_preserve): Likewise.
33073 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
33075 * posix/Makefile (routines): Add glob-lstat-compat and
33076 glob64-lstat-compat.
33077 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
33078 * posix/glob-lstat-compat.c: New file.
33079 * posix/glob64-lstat-compat.c: Likewise.
33080 * posix/tst-glob_lstat_compat.c: Likewise.
33081 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
33082 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
33083 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
33084 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
33086 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
33087 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
33088 * posix/glob.c (glob_lstat): New function.
33089 (glob): Rename to __glob and add versioned symbol to 2.27.
33090 (glob_in_dir): Use glob_lstat.
33091 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
33092 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
33093 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
33095 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
33096 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
33097 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
33098 gl_lstat on glob call.
33099 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
33100 and glob64 symbols.
33101 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
33102 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
33103 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
33104 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
33105 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
33106 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
33107 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
33108 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
33109 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
33110 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
33111 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
33112 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
33113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
33115 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
33116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
33117 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
33118 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
33119 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
33120 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
33121 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
33122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
33123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
33124 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
33125 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
33126 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
33128 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
33130 * configure.ac (AS): Require binutils 2.25 or later.
33131 * configure: Regenerated.
33133 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33136 * stdlib/test-atexit-race-common.c (do_test): Minimize required
33139 2017-09-25 DJ Delorie <dj@redhat.com>
33142 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
33145 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
33147 * sysdeps/ieee754/dbl-64/sincos32.h
33148 [SINCCOS32_H]: Remove define.
33149 [SINCOS32_H]: Define.
33151 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33153 * math/Versions (expf): New libm symbol at GLIBC_2.27.
33155 * math/w_exp2f.c: New file.
33156 * math/w_expf.c: New file.
33157 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
33158 * math/w_expf_compat.c (__expf_compat): Likewise.
33159 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
33160 * sysdeps/ia64/fpu/e_expf.S: Likewise.
33161 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
33162 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
33163 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
33164 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
33165 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
33166 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
33167 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
33168 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
33169 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
33170 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
33171 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
33172 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
33173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
33175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
33179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
33181 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
33182 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
33183 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
33184 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
33185 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
33186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
33188 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
33190 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
33191 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
33192 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
33194 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33196 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
33197 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
33198 (roundtoint, converttoint): Likewise.
33199 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
33200 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
33201 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
33202 * sysdeps/ieee754/flt-32/math_config.h: New file.
33203 * sysdeps/ieee754/flt-32/math_errf.c: New file.
33204 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
33205 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
33206 * sysdeps/i386/fpu/math_errf.c: New file.
33207 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
33208 * sysdeps/ia64/fpu/math_errf.c: New file.
33209 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
33210 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
33212 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
33214 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
33215 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
33216 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
33217 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
33218 to make sure that these symbols are defined.
33219 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
33221 (__need_NULL): Do not define.
33222 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
33224 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
33225 CMGROUP_MAX, cmsgcred): Do not define.
33226 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
33228 * bits/socket.h: Likewise.
33229 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
33230 __gettimeofday instead of gettimeofday.
33231 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
33232 instead of settimeofday.
33234 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33236 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
33237 (asinhf): Define using libm_alias_float.
33238 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
33239 (atanf): Define using libm_alias_float.
33240 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
33241 (cbrtf): Define using libm_alias_float.
33242 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
33243 (ceilf): Define using libm_alias_float.
33244 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
33245 <libm-alias-float.h>.
33246 (copysignf): Define using libm_alias_float.
33247 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
33248 (cosf): Define using libm_alias_float.
33249 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
33250 (erff): Define using libm_alias_float.
33252 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
33253 (expm1f): Define using libm_alias_float.
33254 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
33255 (fabsf): Define using libm_alias_float.
33256 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
33257 (floorf): Define using libm_alias_float.
33258 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
33259 (frexpf): Define using libm_alias_float.
33260 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
33262 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
33263 <libm-alias-float.h>.
33264 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
33266 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
33267 <libm-alias-float.h>.
33268 (getpayloadf): Define using libm_alias_float.
33269 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
33270 <libm-alias-float.h>.
33271 (llrintf): Define using libm_alias_float.
33272 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
33273 <libm-alias-float.h>.
33274 (llroundf): Define using libm_alias_float.
33275 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
33276 (logbf): Define using libm_alias_float.
33277 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
33278 (lrintf): Define using libm_alias_float.
33279 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
33280 (lroundf): Define using libm_alias_float.
33281 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
33282 (modff): Define using libm_alias_float.
33283 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
33284 <libm-alias-float.h>.
33285 (nearbyintf): Define using libm_alias_float.
33286 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
33287 <libm-alias-float.h>.
33288 (nextafterf): Define using libm_alias_float.
33289 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
33290 <libm-alias-float.h>.
33291 (nextupf): Define using libm_alias_float.
33292 * sysdeps/ieee754/flt-32/s_remquof.c: Include
33293 <libm-alias-float.h>.
33294 (remquof): Define using libm_alias_float.
33295 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
33296 (rintf): Define using libm_alias_float.
33297 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
33298 <libm-alias-float.h>.
33299 (roundevenf): Define using libm_alias_float.
33300 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
33301 (roundf): Define using libm_alias_float.
33302 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
33303 using libm_alias_float.
33304 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
33305 <libm-alias-float.h>.
33306 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
33307 Define using libm_alias_float.
33308 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
33309 <libm-alias-float.h>.
33310 (sincosf): Define using libm_alias_float.
33311 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
33312 (sinf): Define using libm_alias_float.
33313 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
33314 (tanf): Define using libm_alias_float.
33315 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
33316 (tanhf): Define using libm_alias_float.
33317 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
33318 <libm-alias-float.h>.
33319 (totalorderf): Define using libm_alias_float.
33320 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
33321 <libm-alias-float.h>.
33322 (totalordermagf): Define using libm_alias_float.
33323 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
33324 (truncf): Define using libm_alias_float.
33325 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
33327 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
33330 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33333 math/math.h: Let fpclassify use the builtin in C++ mode, even
33334 when optimazing for size.
33336 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33338 * csu/Makefile (generated): Do not add version-info.h.
33339 (before-compile): Likewise.
33340 (all-Banner-files): Remove variable.
33341 ($(objpfx)version-info.h): Remove rule.
33342 * csu/version.c (banner): Do not include "version-info.h".
33343 * libidn/Banner: Remove.
33344 * manual/contrib.texi (Simon Josefsson): New entry.
33346 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33348 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33349 Remove conditionals on LDBL_MANT_DIG.
33350 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
33351 (__ieee754_lgammal_r): Likewise.
33353 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33355 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
33357 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
33358 _Float128 and L(). Replace _Float128 with long double and L(x)
33359 with xL, throughout the file.
33360 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33361 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33362 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33363 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33365 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33367 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
33368 sysdeps/ieee754/ldbl-128ibm.
33369 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
33370 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
33371 of including it. Keep _Float128 and L() intact. These will be
33372 reviewed by a separate patch.
33373 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33374 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33375 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33376 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33378 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
33381 (__finitef128): Define to __redirect___finitef128.
33382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
33383 (__isinff128): Define to __redirect___isinff128.
33384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
33385 (__isnanf128): Define to __redirect___isnanf128.
33387 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33389 * sysdeps/powerpc/powerpc64le/Makefile
33390 (CFLAGS-tst-strtod-nan-locale.c): New variable.
33391 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
33393 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
33394 Carlos O'Donell <carlos@redhat.com>
33397 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
33398 * stdlib/test-dlclose-exit-race.c: New file.
33399 * stdlib/test-dlclose-exit-race-helper.c: New file.
33400 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
33402 2017-09-21 Joseph Myers <joseph@codesourcery.com>
33404 * crypt/Banner: Remove file.
33405 * nptl/Banner: Likewise.
33406 * resolv/Banner: Likewise.
33407 * soft-fp/Banner: Likewise.
33408 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
33409 ($(objpfx)version.d): Remove dependency on banner.h.
33410 ($(objpfx)version.os): Likewise.
33411 * nptl/version.c (banner): Do not include banner.h.
33412 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
33413 Jelinek and BIND code.
33415 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33416 Carlos O'Donell <carlos@redhat.com>
33418 * support/xdlfcn.h: New file.
33419 * support/xdlfcn.c: New file.
33420 * support/Makefile (libsupport-routines): Add xdlfcn.
33421 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
33423 2017-09-20 Joseph Myers <joseph@codesourcery.com>
33426 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33427 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
33428 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
33429 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
33430 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
33431 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
33432 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
33433 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
33435 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33436 Ricky Zhou <rickyz@google.com>
33437 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
33440 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
33442 (__new_exitfn): Fail registration when we finished at_exit processing.
33443 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33444 * stdlib/on_exit.c (__on_exit): Likewise.
33445 * stdlib/exit.c (__exit_funcs_done): New variable.
33446 (__run_exit_handlers): Use __exit_funcs_lock.
33447 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
33449 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
33450 (test-cxa_atexit-race, test-on_exit-race): New tests.
33451 * stdlib/test-atexit-race-common.c: New file.
33452 * stdlib/test-atexit-race.c: New file.
33453 * stdlib/test-at_quick_exit-race.c: New file.
33454 * stdlib/test-cxa_atexit-race.c: New file.
33455 * stdlib/test-on_exit-race.c: New file.
33457 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
33459 * benchtests/Makefile: Add exp2f and log2f benchmarks.
33460 * benchtests/exp2f-inputs: Copy of expf-inputs.
33461 * benchtests/log2f-inputs: Copy of logf-inputs.
33463 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33465 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
33466 Explicitly take address of first element of array arguments in
33467 call to INLINE_SYSCALL.
33469 2017-09-19 Andreas Schwab <schwab@suse.de>
33472 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
33474 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
33476 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
33477 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
33478 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33479 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
33480 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33481 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33482 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33483 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33484 * posix/Makefile (tests): Add tst-fexecve.
33485 * posix/tst-fexecve.c: New file.
33487 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33489 * benchtests/Makefile: Add logf benchmark.
33490 * benchtests/logf-inputs: Add reduced trace from wrf_r.
33492 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33494 * benchtests/Makefile: Add expf benchmark.
33495 * benchtests/expf-inputs: Add reduced trace from wrf_r.
33497 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33499 * csu/Makefile: Add -funwind-tables to libc-start.c.
33500 * debug/Makefile: Add -funwind-tables to backtrace.c.
33501 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
33502 * sysdeps/arm/Makefile: Likewise.
33503 * sysdeps/i386/Makefile: Likewise.
33504 * sysdeps/m68k/Makefile: Likewise.
33505 * sysdeps/mips/Makefile: Likewise.
33506 * sysdeps/nios2/Makefile: Likewise.
33507 * sysdeps/sh/Makefile: Likewise.
33508 * sysdeps/sparc/Makefile: Likewise.
33510 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33512 * benchtests/Makefile (bench-math): Add trunc and truncf.
33513 (CFLAGS-bench-trunc.c): New variable.
33514 (CFLAGS-bench-truncf.c): Likewise.
33515 * benchtests/trunc-inputs: New file.
33516 * benchtests/truncf-inputs: Likewise.
33518 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33520 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
33522 2017-09-18 Joseph Myers <joseph@codesourcery.com>
33524 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
33525 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
33527 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
33528 (exp10l): Define as weak alias.
33529 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
33530 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
33532 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
33533 (remainderl): Define as weak alias.
33535 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
33536 (fmal): Define using libm_alias_ldouble.
33537 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
33538 (acoshl): Define using libm_alias_ldouble.
33539 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
33540 (acosl): Define using libm_alias_ldouble.
33541 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
33542 (asinl): Define using libm_alias_ldouble.
33543 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
33544 (atan2l): Define using libm_alias_ldouble.
33545 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
33546 (atanhl): Define using libm_alias_ldouble.
33547 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
33548 (coshl): Define using libm_alias_ldouble.
33549 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
33550 (exp10l): Define using libm_alias_ldouble.
33551 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
33552 (exp2l): Define using libm_alias_ldouble.
33553 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
33554 (expl): Define using libm_alias_ldouble.
33555 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
33556 (fmodl): Define using libm_alias_ldouble.
33557 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
33558 (hypotl): Define using libm_alias_ldouble.
33559 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
33560 (j0l): Define using libm_alias_ldouble.
33562 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
33563 (j1l): Define using libm_alias_ldouble.
33565 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
33566 (jnl): Define using libm_alias_ldouble.
33568 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
33569 (log10l): Define using libm_alias_ldouble.
33570 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
33571 (log2l): Define using libm_alias_ldouble.
33572 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
33573 (logl): Define using libm_alias_ldouble.
33574 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
33575 (powl): Define using libm_alias_ldouble.
33576 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
33577 (remainderl): Define using libm_alias_ldouble.
33578 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
33579 (sinhl): Define using libm_alias_ldouble.
33580 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
33581 (sqrtl): Define using libm_alias_ldouble.
33582 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
33583 (tgammal): Define using libm_alias_ldouble.
33584 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
33585 (exp10l): Do not use long_double_symbol here.
33586 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
33587 [LIBM_SVID_COMPAT] (remainderl): Likewise.
33588 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
33589 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33590 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33591 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33592 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33593 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33594 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33595 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33596 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33597 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33598 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33599 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33600 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33601 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33602 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33603 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33604 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33605 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33606 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33607 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33609 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
33611 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
33612 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
33614 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
33616 * io/read.c (read): Add libc_hidden_weak.
33617 * sysdeps/mach/hurd/read.c (read): Likewise.
33618 * io/write.c (write): Likewise.
33619 * sysdeps/mach/hurd/write.c (write): Likewise.
33620 * io/pread64.c (__pread64): Likewise.
33621 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
33622 * posix/pread64.c (__pread64): Add libc_hidden_def.
33624 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
33626 * benchtests/scripts/compare_strings.py: New option -g.
33627 (draw_graph): Print a message that a graph is being generated.
33628 (process_results): Generate graph only if -g is passed.
33629 (main): Process option -g.
33631 * benchtests/scripts/compare_strings.py (process_results):
33632 Better spacing for output.
33634 * benchtests/scripts/compare_strings.py: Use argparse.
33635 * benchtests/README: Document existence of compare_strings.py.
33637 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33639 * math/s_fma.c: Include <libm-alias-double.h>.
33640 (fma): Define using libm_alias_double.
33641 * math/s_nextafter.c: Include <libm-alias-double.h>.
33642 (nextafter): Define using libm_alias_double.
33643 * math/w_acos_compat.c: Include <libm-alias-double.h>.
33644 (acos): Define using libm_alias_double.
33645 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
33646 (aocsh): Define using libm_alias_double.
33647 * math/w_asin_compat.c: Include <libm-alias-double.h>.
33648 (asin): Define using libm_alias_double.
33649 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
33650 (atan2): Define using libm_alias_double.
33651 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
33652 (atanh): Define using libm_alias_double.
33653 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
33654 (cosh): Define using libm_alias_double.
33655 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
33656 (exp10): Define using libm_alias_double.
33657 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
33658 (exp2): Define using libm_alias_double.
33659 * math/w_exp_compat.c: Include <libm-alias-double.h>.
33660 (exp): Define using libm_alias_double.
33661 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
33662 (fmod): Define using libm_alias_double.
33663 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
33664 (hypot): Define using libm_alias_double.
33665 * math/w_j0_compat.c: Include <libm-alias-double.h>.
33666 (j0): Define using libm_alias_double.
33668 * math/w_j1_compat.c: Include <libm-alias-double.h>.
33669 (j1): Define using libm_alias_double.
33671 * math/w_jn_compat.c: Include <libm-alias-double.h>.
33672 (jn): Define using libm_alias_double.
33674 * math/w_log10_compat.c: Include <libm-alias-double.h>.
33675 (log10): Define using libm_alias_double.
33676 * math/w_log2_compat.c: Include <libm-alias-double.h>.
33677 (log2): Define using libm_alias_double.
33678 * math/w_log_compat.c: Include <libm-alias-double.h>.
33679 (log): Define using libm_alias_double.
33680 * math/w_pow_compat.c: Include <libm-alias-double.h>.
33681 (pow): Define using libm_alias_double.
33682 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
33683 (remainder): Define using libm_alias_double.
33684 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
33685 (sinh): Define using libm_alias_double.
33686 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
33687 (sqrt): Define using libm_alias_double.
33688 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
33689 (tgamma): Define using libm_alias_double.
33690 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
33691 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
33692 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
33693 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
33694 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
33695 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
33696 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
33697 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
33698 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
33699 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
33700 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
33701 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
33702 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
33703 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
33704 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
33705 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
33706 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
33707 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
33708 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
33709 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
33710 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
33711 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
33712 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
33713 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
33714 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
33716 * math/e_acoshl.c: Remove.
33717 * math/e_acosl.c: Likewise.
33718 * math/e_asinl.c: Likewise.
33719 * math/e_atan2l.c: Likewise.
33720 * math/e_atanhl.c: Likewise.
33721 * math/e_coshl.c: Likewise.
33722 * math/e_expl.c: Likewise.
33723 * math/e_fmodl.c: Likewise.
33724 * math/e_gammal_r.c: Likewise.
33725 * math/e_hypotl.c: Likewise.
33726 * math/e_j0l.c: Likewise.
33727 * math/e_j1l.c: Likewise.
33728 * math/e_jnl.c: Likewise.
33729 * math/e_lgammal_r.c: Likewise.
33730 * math/e_log10l.c: Likewise.
33731 * math/e_log2l.c: Likewise.
33732 * math/e_logl.c: Likewise.
33733 * math/e_powl.c: Likewise.
33734 * math/e_rem_pio2l.c: Likewise.
33735 * math/e_sinhl.c: Likewise.
33736 * math/e_sqrtf128.c: Likewise.
33737 * math/e_sqrtl.c: Likewise.
33738 * math/k_cosl.c: Likewise.
33739 * math/k_sinl.c: Likewise.
33740 * math/k_tanl.c: Likewise.
33741 * math/s_asinhl.c: Likewise.
33742 * math/s_atanl.c: Likewise.
33743 * math/s_cbrtl.c: Likewise.
33744 * math/s_erfl.c: Likewise.
33745 * math/s_expm1l.c: Likewise.
33746 * math/s_log1pl.c: Likewise.
33747 * math/s_tanhl.c: Likewise.
33749 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33752 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
33753 [$(subdir) = math] (sysdep_calls): New variable. Has the
33754 previous contents of sysdep_routines, but re-sorted..
33755 [$(subdir) = math] (sysdep_routines): Re-use the contents from
33757 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
33758 defined in sysdep_calls and replace by the respective m_* names.
33759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
33760 (compat_symbol): Undefine to avoid duplicated compat symbols in
33763 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33765 * math/s_fmaf.c: Include <libm-alias-float.h>.
33766 (fmaf): Define using libm_alias_float.
33767 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
33768 (acosf): Define using libm_alias_float.
33769 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
33770 (acoshf): Define using libm_alias_float.
33771 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
33772 (asinf): Define using libm_alias_float.
33773 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
33774 (atan2f): Define using libm_alias_float.
33775 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
33776 (atanhf): Define using libm_alias_float.
33777 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
33778 (coshf): Define using libm_alias_float.
33779 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
33780 (exp10f): Define using libm_alias_float.
33781 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
33782 (fmodf): Define using libm_alias_float.
33783 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
33784 (hypotf): Define using libm_alias_float.
33785 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
33786 (j0f): Define using libm_alias_float.
33788 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
33789 (j1f): Define using libm_alias_float.
33791 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
33792 (jnf): Define using libm_alias_float.
33794 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
33795 (log10f): Define using libm_alias_float.
33796 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
33797 (log2f): Define using libm_alias_float.
33798 * math/w_logf_compat.c: Include <libm-alias-float.h>.
33799 (logf): Define using libm_alias_float.
33800 * math/w_powf_compat.c: Include <libm-alias-float.h>.
33801 (powf): Define using libm_alias_float.
33802 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
33803 (remainderf): Define using libm_alias_float.
33804 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
33805 (sinhf): Define using libm_alias_float.
33806 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
33807 (sqrtf): Define using libm_alias_float.
33808 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
33809 (tgammaf): Define using libm_alias_float.
33811 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33813 * include/math.h (roundeven): Change hidden_proto call to
33815 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
33817 [NO_LONG_DOUBLE] (__j0l): New strong alias.
33818 (y0): Rename to __y0 and define as weak alias.
33819 [NO_LONG_DOUBLE] (__y0l): New strong alias.
33820 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
33822 (y0f): Rename to __y0f and define as weak alias.
33823 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
33825 [NO_LONG_DOUBLE] (__j1l): New strong alias.
33826 (y1): Rename to __y1 and define as weak alias.
33827 [NO_LONG_DOUBLE] (__y1l): New strong alias.
33828 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
33830 (y1f): Rename to __y1f and define as weak alias.
33831 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
33833 [NO_LONG_DOUBLE] (__jnl): New strong alias.
33834 (yn): Rename to __yn and define as weak alias.
33835 [NO_LONG_DOUBLE] (__ynl): New strong alias.
33836 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
33838 (ynf): Rename to __ynf and define as weak alias.
33839 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
33840 (fromfp): Define as weak alias.
33841 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
33842 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
33843 (fromfpx): Define as weak alias.
33844 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
33845 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
33846 __getpayload and define as weak alias.
33847 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33848 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
33849 __roundeven and define as weak alias.
33850 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33851 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
33853 (setpayload): Define as weak alias.
33854 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
33855 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
33857 (setpayloadsig): Define as weak alias.
33858 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
33859 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
33860 __totalorder and define as weak alias.
33861 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33862 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
33863 to __totalordermag and define as weak alias.
33864 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33865 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
33866 (ufromfp): Define as weak alias.
33867 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
33868 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
33870 (ufromfpx): Define as weak alias.
33871 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
33872 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
33873 Rename to __getpayload and define as weak alias.
33874 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33875 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
33876 Rename to __roundeven and define as weak alias.
33877 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33878 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
33879 Rename to __totalorder and define as weak alias.
33880 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33881 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
33882 (totalordermag): Rename to __totalordermag and define as weak
33884 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33885 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
33887 (__roundevenl): Likewise.
33888 (__totalorderl): Likewise.
33889 (__totalordermagl): Likewise
33890 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
33892 (fromfpf128): Define as weak alias.
33893 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
33895 (fromfpxf128): Define as weak alias.
33896 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
33898 (setpayloadf128): Define as weak alias.
33899 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
33900 __setpayloadsigf128.
33901 (setpayloadsigf128): Define as weak alias.
33902 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
33904 (ufromfpf128): Define as weak alias.
33905 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
33907 (ufromfpxf128): Define as weak alias.
33908 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
33909 (fromfpf): Define as weak alias.
33910 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
33912 (fromfpxf): Define as weak alias.
33913 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
33914 __getpayloadf and define as weak alias.
33915 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
33916 __roundevenf and define as weak alias.
33917 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
33919 (setpayloadf): Define as weak alias.
33920 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
33922 (setpayloadsigf): Define as weak alias.
33923 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
33924 __totalorderf and define as weak alias.
33925 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
33926 Rename to __totalordermagf and define as weak alias.
33927 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
33929 (ufromfpf): Define as weak alias.
33930 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
33932 (ufromfpxf): Define as weak alias.
33933 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
33935 (fromfpl): Define as weak alias.
33936 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
33938 (fromfpxl): Define as weak alias.
33939 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
33940 to __getpayloadl and define as weak alias.
33941 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
33942 __roundevenl and define as weak alias.
33943 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
33945 (setpayloadl): Define as weak alias.
33946 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
33948 (setpayloadsigl): Define as weak alias.
33949 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
33950 to __totalorderl and define as weak alias.
33951 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
33952 Rename to __totalordermagl and define as weak alias.
33953 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
33955 (ufromfpl): Define as weak alias.
33956 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
33958 (ufromfpxl): Define as weak alias.
33959 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
33961 (fromfpl): Define as weak alias.
33962 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
33964 (fromfpxl): Define as weak alias.
33965 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
33966 Rename to __getpayloadl and define as weak alias.
33967 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
33968 to __roundevenl and define as weak alias. Call __roundeven
33969 instead of roundeven.
33970 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
33972 (setpayloadl): Define as weak alias.
33973 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
33975 (setpayloadsigl): Define as weak alias.
33976 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
33977 Rename to __totalorderl and define as weak alias.
33978 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
33979 Rename to __totalordermagl and define as weak alias.
33980 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
33982 (ufromfpl): Define as weak alias.
33983 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
33985 (ufromfpxl): Define as weak alias.
33986 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
33988 (fromfpl): Define as weak alias.
33989 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
33991 (fromfpxl): Define as weak alias.
33992 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
33993 __getpayloadl and define as weak alias.
33994 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
33995 __roundevenl and define as weak alias.
33996 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
33998 (setpayloadl): Define as weak alias.
33999 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
34001 (setpayloadsigl): Define as weak alias.
34002 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
34003 __totalorderl and define as weak alias.
34004 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
34005 Rename to __totalordermagl and define as weak alias.
34006 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
34008 (ufromfpl): Define as weak alias.
34009 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
34011 (ufromfpxl): Define as weak alias.
34013 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
34015 * benchtests/bench-string.h (realloc_bufs): New function.
34016 (test_init): Call it.
34017 * benchtests/bench-memset-large.c (do_test): Likewise.
34018 * benchtests/bench-memset.c (do_test): Likewise.
34020 * benchtests/bench-memset-large.c: Print output in JSON
34022 * benchtests/bench-memset.c: Likewise.
34024 2017-09-14 Mike FABIAN <mfabian@redhat.com>
34027 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
34028 * iconvdata/Makefile: Add IBM858.
34029 * iconvdata/gconv-modules: Likewise.
34030 * iconvdata/tst-tables.sh: Likewise.
34031 * iconvdata/ibm858.c: New file.
34032 * localedata/charmaps/IBM858: Likewise.
34034 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
34037 * locales/niu_NZ (LC_TIME): copy "niu_NU".
34038 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
34040 2017-09-14 Mike FABIAN <mfabian@redhat.com>
34043 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
34044 and add tel_int_fmt.
34046 2017-09-14 Joseph Myers <joseph@codesourcery.com>
34048 * sysdeps/generic/libm-alias-float128.h: New file.
34049 * sysdeps/generic/math-type-macros-float128.h: Include
34050 <libm-alias-float128.h>.
34051 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34053 2017-09-13 Joseph Myers <joseph@codesourcery.com>
34055 * sysdeps/generic/libm-alias-ldouble.h: New file.
34056 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
34057 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
34058 * sysdeps/generic/math-type-macros-ldouble.h: Include
34059 <libm-alias-ldouble.h>.
34060 [!declare_mgen_alias] (declare_mgen_alias): Define to use
34061 libm_alias_ldouble.
34063 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
34065 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
34066 * math/w_exp_compat.c: ... here.
34067 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
34068 * math/w_expf_compat.c: ... here.
34069 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
34070 * math/w_expl_compat.c: ... here.
34071 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
34072 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
34073 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
34074 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
34076 2017-09-13 Joseph Myers <joseph@codesourcery.com>
34078 * math/w_scalbln_template.c (strong_alias): Do not undefine and
34080 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
34082 (ldexpl): Only define as compat symbol for libc, not libm.
34083 (scalbnl): Define as compat symbol for libc here.
34084 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
34085 define for [IS_IN (libc)].
34086 (__ldexpl_2): Remove alias.
34087 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
34088 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
34089 name in long_double_symbol call.
34090 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
34091 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
34092 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
34093 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
34094 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
34096 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
34097 Define as compat symbol.
34099 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34101 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
34102 * sysdeps/unix/sysv/linux/alpha/Makefile
34103 [$(subdir) = csu] (sysdep_routines): Remove rule.
34105 2017-09-13 Joseph Myers <joseph@codesourcery.com>
34107 * sysdeps/generic/libm-alias-double.h: New file.
34108 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
34109 * sysdeps/generic/math-type-macros-double.h: Include
34110 <libm-alias-double.h>.
34111 [declare_mgen_alias] (declare_mgen_alias): Define to use
34113 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
34114 (M_LIBM_NEED_COMPAT): Remove macro.
34115 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
34116 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
34117 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
34119 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34120 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34121 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34122 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34123 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34124 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34125 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34126 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34127 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34128 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34129 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34130 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34131 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34132 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34133 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34134 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34135 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34136 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34137 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34138 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34139 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34140 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34141 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34142 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34143 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34144 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34145 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34146 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
34147 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
34149 (declare_mgen_alias): New macro.
34150 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
34151 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
34152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
34153 (M_LIBM_NEED_COMPAT): Remove macro.
34154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
34155 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
34156 <first-versions.h>.
34157 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
34158 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
34160 2017-09-12 Joseph Myers <joseph@codesourcery.com>
34162 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
34163 (declare_mgen_alias_2): Remove.
34164 * sysdeps/generic/math-type-macros-double.h
34165 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
34167 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
34169 (ldexp): Define with declare_mgen_alias.
34170 (scalbn): Likewise.
34172 2017-09-12 Steve Ellcey <sellcey@cavium.com>
34174 * grp/initgroups.c: Include config.h.
34175 (DEFAULT_CONFIG): New macro.
34176 (internal_getgrouplist): Use DEFAULT_CONFIG.
34177 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34178 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
34179 (DEFAULT_DEFCONFIG): New macro.
34180 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
34181 * nss/grp-lookup.c: Include config.h
34182 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
34183 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
34184 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
34185 * manual/nss.texi: Update default values section.
34187 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
34190 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
34192 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
34193 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34194 Handle MathVec_Prefer_No_AVX512.
34195 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
34196 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
34199 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
34201 * posix/sched_primax.c (__sched_get_priority_max): Add
34203 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
34204 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34205 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34206 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
34207 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
34208 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
34209 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
34210 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
34213 2017-09-11 Joseph Myers <joseph@codesourcery.com>
34215 * sysdeps/generic/libm-alias-float.h: New file.
34216 * sysdeps/generic/math-type-macros-float.h: Include
34217 <libm-alias-float.h>.
34218 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34220 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
34223 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
34224 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
34225 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
34226 (HWCAP_IMPORTANT): Likewise.
34227 (HWCAP_X86_64): New enum.
34228 (HWCAP_X86_AVX512_1): Updated.
34229 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
34230 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
34231 (modules-names): Add x86_64/tst-x86_64mod-1.
34232 (LDFLAGS-tst-x86_64mod-1.so): New.
34233 ($(objpfx)tst-x86_64-1): Likewise.
34234 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
34235 (tst-x86_64-1-clean): Likewise.
34236 * sysdeps/x86_64/tst-x86_64-1.c: New file.
34237 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
34239 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34241 * po/sv.po: Update translations.
34242 * po/fr.po: Likewise.
34244 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34246 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
34248 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
34250 * elf/rtld-Rules: Fix $(error) use.
34252 2017-09-09 Mike FABIAN <mfabian@redhat.com>
34255 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
34256 * locale/iso-639.def: Change “Bengali” to “Bangla”.
34257 * localedata/locales/bn_BD: “Bengali” was still used in some
34258 comments. Change it to “Bangla”.
34260 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
34262 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
34264 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34266 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
34267 thunderx2t99p1 to list of cpu names.
34268 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34269 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
34271 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34273 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
34274 Use strcmp instead of tunable_is_name.
34276 2017-09-08 Joseph Myers <joseph@codesourcery.com>
34278 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34279 (F_GET_RW_HINT): New macro.
34280 [__USE_GNU] (F_SET_RW_HINT): Likewise.
34281 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
34282 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
34283 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
34284 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
34285 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
34286 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
34287 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
34288 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
34290 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34291 (F_ADD_SEALS): New macro.
34292 [__USE_GNU] (F_GET_SEALS): Likewise.
34293 [__USE_GNU] (F_SEAL_SEAL): Likewise.
34294 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
34295 [__USE_GNU] (F_SEAL_GROW): Likewise.
34296 [__USE_GNU] (F_SEAL_WRITE): Likewise.
34298 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34300 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
34301 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
34302 * posix/glob_internal.h (__glob_pattern_type):
34303 * posix/glob.c (glob):
34304 * posix/glob_pattern_p.c (__glob_pattern_p):
34307 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
34308 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34309 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
34310 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
34311 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
34313 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
34314 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
34315 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34316 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34317 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34318 * sysdeps/wordsize-64/glob.c: Likewise.
34319 * sysdeps/wordsize-64/glob64.c: Likewise.
34320 * sysdeps/wordsize-64/globfree.c: Likewise.
34321 * sysdeps/wordsize-64/globfree64.c: Likewise.
34322 * sysdeps/unix/sysv/linux/glob.c: New file.
34323 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
34324 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
34325 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
34326 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
34327 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
34328 adds !GLOB_NO_OLD_VERSION as an extra condition.
34329 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
34330 using relative path instead of absolute one.
34331 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
34332 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34333 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34334 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
34335 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
34336 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
34339 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
34340 (glob): Use the same scratch buffer for both getlogin_r and
34341 getpwnam_r. Don’t require preallocation of the login name. This
34342 simplifies storage allocation, and corrects the handling of
34346 * posix/glob.c (glob): Port recent patches to platforms
34347 lacking getpwnam_r.
34348 (glob): Fix longstanding misuse of errno after getpwnam_r, which
34349 returns an error number rather than setting errno.
34351 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
34352 instead of GCC extension.
34353 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
34354 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
34355 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
34359 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
34360 * posix/bug-glob1.c: Remove file.
34361 * posix/tst-glob_symlinks.c: New file.
34362 * posix/glob.c (__lstat64): New macro.
34363 (is_dir): New function.
34364 (glob, glob_in_dir): Match symlinks even if they are dangling.
34365 (link_stat, link_exists_p): Remove. All uses removed.
34369 * posix/glob.c (struct readdir_result): Remove skip_entry member.
34370 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
34375 * posix/Makefile (routines): Add globfree, globfree64, and
34377 * posix/flexmember.h: New file.
34378 * posix/glob_internal.h: Likewise.
34379 * posix/glob_pattern_p.c: Likewise.
34380 * posix/globfree.c: Likewise.
34381 * posix/globfree64.c: Likewise.
34382 * sysdeps/gnu/globfree64.c: Likewise.
34383 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
34384 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34385 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
34386 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34387 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34388 * sysdeps/wordsize-64/globfree.c: Likewise.
34389 * sysdeps/wordsize-64/globfree64.c: Likewise.
34390 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
34391 [NDEBUG): Remove comments.
34392 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
34393 (dirent_type): New type. Use uint_fast8_t not
34394 uint8_t, as C99 does not require uint8_t.
34395 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
34396 (struct readdir_result): Use dirent_type. Do not define skip_entry
34397 unless it is needed; this saves a byte on platforms lacking d_ino.
34398 (readdir_result_type, readdir_result_skip_entry):
34399 New functions, replacing ...
34400 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
34401 these functions, which were removed. This makes the callers
34402 easier to read. All callers changed.
34403 (D_INO_TO_RESULT): Now empty if there is no d_ino.
34404 (size_add_wrapv, glob_use_alloca): New static functions.
34405 (glob, glob_in_dir): Check for size_t overflow in several places,
34406 and fix some size_t checks that were not quite right.
34407 Remove old code using SHELL since Bash no longer
34409 (glob, prefix_array): Separate MS code better.
34410 (glob_in_dir): Remove old Amiga and VMS code.
34411 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
34413 (glob_in_dir): Do not rely on undefined behavior in accessing
34414 struct members beyond their bounds. Use a flexible array member
34416 (link_stat): Rename from link_exists2_p and return -1/0 instead of
34417 0/1. Caller changed.
34418 (glob): Fix memory leaks.
34419 * posix/glob64 (globfree64): Move to separate file.
34420 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
34421 (globfree64): Remove hidden alias.
34422 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
34424 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
34426 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
34428 Move compat code to separate file.
34429 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
34432 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
34434 * resolv/tst-resolv-qtypes.c (domain): Changed to
34435 "const char domain[] =".
34437 2017-09-07 Joseph Myers <joseph@codesourcery.com>
34439 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
34442 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
34443 (TCP_MD5SIG_EXT): Likewise.
34444 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
34445 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
34446 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
34448 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
34450 2017-09-07 Mike FABIAN <mfabian@redhat.com>
34452 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
34454 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
34457 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
34459 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
34461 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
34462 before assuming that the file is empty. Avoid testing buffer content
34465 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34468 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34470 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
34472 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
34474 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
34476 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34478 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
34480 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
34483 2017-09-06 Florian Weimer <fweimer@redhat.com>
34485 * malloc/dynarray_emplace_enlarge.c
34486 (__libc_dynarray_emplace_enlarge): Add missing else.
34488 2017-09-06 Florian Weimer <fweimer@redhat.com>
34491 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
34492 case of failure to obtain the global conf object.
34494 2017-09-06 Florian Weimer <fweimer@redhat.com>
34497 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
34498 dynarray allocation failure.
34500 2017-09-06 Florian Weimer <fweimer@redhat.com>
34502 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
34503 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
34504 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
34506 (response): Call them. Add 'p', '6' flag processing.
34507 (test_reverse): New function.
34508 (test_get2_any): Call it.
34509 (test_no_inet6): Add 'p' test.
34510 (test_inet6): Likewise.
34512 2017-09-06 Florian Weimer <fweimer@redhat.com>
34514 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
34515 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
34517 (test_gai): Adjust query names. Add additional tests.
34518 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
34519 test_get2. Adjust query names. Add additional tests.
34520 (test_no_inet6): New function, extracted from threadfunc.
34521 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
34522 Add additional tests.
34524 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34527 * localedata/unicode-gen/utf8_gen.py: Set the width for
34528 characters with Prepended_Concatenation_Mark property to 1
34529 * localedata/charmaps/UTF-8: Updated using the improved script.
34531 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34534 * localedata/unicode-gen/utf8_gen.py: Improve the script to
34535 use the range notation for all ranges of neighbouring characters
34536 with the same width.
34538 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34540 * sysdeps/generic/math-type-macros-double.h: Include
34541 <math-svid-compat.h>.
34542 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34543 * sysdeps/generic/math-type-macros-float.h: Include
34544 <math-svid-compat.h>.
34545 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34546 * sysdeps/generic/math-type-macros-ldouble.h: Include
34547 <math-svid-compat.h>.
34548 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34549 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
34551 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
34552 * math/w_acosf_compat.c: Likewise.
34553 * math/w_acosh_compat.c: Likewise.
34554 * math/w_acoshf_compat.c: Likewise.
34555 * math/w_acoshl_compat.c: Likewise.
34556 * math/w_acosl_compat.c: Likewise.
34557 * math/w_asin_compat.c: Likewise.
34558 * math/w_asinf_compat.c: Likewise.
34559 * math/w_asinl_compat.c: Likewise.
34560 * math/w_atan2_compat.c: Likewise.
34561 * math/w_atan2f_compat.c: Likewise.
34562 * math/w_atan2l_compat.c: Likewise.
34563 * math/w_atanh_compat.c: Likewise.
34564 * math/w_atanhf_compat.c: Likewise.
34565 * math/w_atanhl_compat.c: Likewise.
34566 * math/w_cosh_compat.c: Likewise.
34567 * math/w_coshf_compat.c: Likewise.
34568 * math/w_coshl_compat.c: Likewise.
34569 * math/w_exp10_compat.c: Likewise.
34570 * math/w_exp10f_compat.c: Likewise.
34571 * math/w_exp10l_compat.c: Likewise.
34572 * math/w_exp2_compat.c: Likewise.
34573 * math/w_exp2f_compat.c: Likewise.
34574 * math/w_exp2l_compat.c: Likewise.
34575 * math/w_fmod_compat.c: Likewise.
34576 * math/w_fmodf_compat.c: Likewise.
34577 * math/w_fmodl_compat.c: Likewise.
34578 * math/w_hypot_compat.c: Likewise.
34579 * math/w_hypotf_compat.c: Likewise.
34580 * math/w_hypotl_compat.c: Likewise.
34581 * math/w_j0_compat.c: Likewise.
34582 * math/w_j0f_compat.c: Likewise.
34583 * math/w_j0l_compat.c: Likewise.
34584 * math/w_j1_compat.c: Likewise.
34585 * math/w_j1f_compat.c: Likewise.
34586 * math/w_j1l_compat.c: Likewise.
34587 * math/w_jn_compat.c: Likewise.
34588 * math/w_jnf_compat.c: Likewise.
34589 * math/w_jnl_compat.c: Likewise.
34590 * math/w_lgamma_r_compat.c: Likewise.
34591 * math/w_lgammaf_r_compat.c: Likewise.
34592 * math/w_lgammal_r_compat.c: Likewise.
34593 * math/w_log10_compat.c: Likewise.
34594 * math/w_log10f_compat.c: Likewise.
34595 * math/w_log10l_compat.c: Likewise.
34596 * math/w_log2_compat.c: Likewise.
34597 * math/w_log2f_compat.c: Likewise.
34598 * math/w_log2l_compat.c: Likewise.
34599 * math/w_log_compat.c: Likewise.
34600 * math/w_logf_compat.c: Likewise.
34601 * math/w_logl_compat.c: Likewise.
34602 * math/w_pow_compat.c: Likewise.
34603 * math/w_powf_compat.c: Likewise.
34604 * math/w_powl_compat.c: Likewise.
34605 * math/w_remainder_compat.c: Likewise.
34606 * math/w_remainderf_compat.c: Likewise.
34607 * math/w_remainderl_compat.c: Likewise.
34608 * math/w_sinh_compat.c: Likewise.
34609 * math/w_sinhf_compat.c: Likewise.
34610 * math/w_sinhl_compat.c: Likewise.
34611 * math/w_sqrt_compat.c: Likewise.
34612 * math/w_sqrtf_compat.c: Likewise.
34613 * math/w_sqrtl_compat.c: Likewise.
34614 * math/w_tgamma_compat.c: Likewise.
34615 * math/w_tgammaf_compat.c: Likewise.
34616 * math/w_tgammal_compat.c: Likewise.
34617 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
34618 [LIBM_SVID_COMPAT].
34619 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
34620 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
34621 [LIBM_SVID_COMPAT].
34622 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
34623 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
34624 [LIBM_SVID_COMPAT].
34625 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
34626 * sysdeps/i386/fpu/w_sqrt.c: New file.
34627 * sysdeps/ia64/fpu/w_acos.c: Likewise.
34628 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
34629 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
34630 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
34631 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
34632 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
34633 * sysdeps/ia64/fpu/w_asin.c: Likewise.
34634 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
34635 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
34636 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
34637 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
34638 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
34639 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
34640 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
34641 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
34642 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
34643 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
34644 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
34645 * sysdeps/ia64/fpu/w_exp.c: Likewise.
34646 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
34647 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
34648 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
34649 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
34650 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
34651 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
34652 * sysdeps/ia64/fpu/w_expf.c: Likewise.
34653 * sysdeps/ia64/fpu/w_expl.c: Likewise.
34654 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
34655 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
34656 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
34657 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
34658 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
34659 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
34660 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
34661 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
34662 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
34663 * sysdeps/ia64/fpu/w_log.c: Likewise.
34664 * sysdeps/ia64/fpu/w_log10.c: Likewise.
34665 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
34666 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
34667 * sysdeps/ia64/fpu/w_log2.c: Likewise.
34668 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
34669 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
34670 * sysdeps/ia64/fpu/w_logf.c: Likewise.
34671 * sysdeps/ia64/fpu/w_logl.c: Likewise.
34672 * sysdeps/ia64/fpu/w_pow.c: Likewise.
34673 * sysdeps/ia64/fpu/w_powf.c: Likewise.
34674 * sysdeps/ia64/fpu/w_powl.c: Likewise.
34675 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
34676 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
34677 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
34678 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
34679 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
34680 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
34681 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
34682 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
34683 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
34684 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
34685 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
34686 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
34687 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
34688 [LIBM_SVID_COMPAT].
34689 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34690 * sysdeps/ieee754/k_standard.c: Likewise.
34691 * sysdeps/ieee754/k_standardf.c: Likewise.
34692 * sysdeps/ieee754/k_standardl.c: Likewise.
34693 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34694 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34695 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34696 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
34697 long_double_symbol call on [LIBM_SVID_COMPAT].
34698 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
34699 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
34700 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
34701 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
34702 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
34703 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
34704 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
34705 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
34706 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
34707 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
34708 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
34709 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
34710 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
34711 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
34712 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
34713 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
34714 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
34715 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
34716 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
34717 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
34718 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
34719 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
34721 2017-09-05 Steve Ellcey <sellcey@cavium.com>
34723 * include/shlib-compat.h (TEST_COMPAT): New Macro.
34724 * malloc/tst-mallocstate.c: Convert from test-skeleton
34725 to test-driver. Ifdef code using TEST_COMPAT macro.
34726 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
34727 * math/test-matherr.c: Likewise.
34729 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34732 * debug/pcprofiledump.c (main): Use byte-swapped mask when
34733 comparing word with byte-swapped constant.
34735 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
34738 * locale/iso-639.def: add Miskito.
34739 * localedata/SUPPORTED: Add miq_NI/UTF-8.
34740 * localedata/locales/miq_NI: New file.
34742 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
34745 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
34746 (__mkdir): Likewise.
34747 * io/chmod.c (__chmod): Add libc_hidden_def.
34748 * io/mkdir.c (__mkdir): Likewise.
34749 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
34750 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
34751 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
34752 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
34754 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34756 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
34760 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
34761 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
34763 2017-09-04 Florian Weimer <fweimer@redhat.com>
34765 * math/math.h: Issue warning if log is defined.
34767 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34769 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
34770 kernel version to 4.13.
34772 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
34774 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
34775 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
34777 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
34778 just <bits/types.h>.
34779 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
34780 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
34781 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
34782 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
34783 * misc/preadv2.c: Include <errno.h>.
34784 * misc/preadv64v2.c: Include <errno.h>.
34785 * misc/pwritev2.c: Include <errno.h>.
34786 * misc/pwritev64v2.c: Include <errno.h>.
34787 * sysdeps/posix/preadv2.c: Include <errno.h>.
34788 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
34789 Fix <unistd.h> inclusion.
34790 * sysdeps/posix/pwritev2.c: Include <errno.h>.
34791 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
34792 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
34793 __strtoul_internal): New functions.
34794 * sysdeps/posix/pause.c: Include <sigsetops.h>.
34795 * sysdeps/posix/system.c: Include <sigsetops.h>.
34796 * sysdeps/mach/hurd/i386/Makefile
34797 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
34798 [$(subdir) = csu] (sysdep-only-routines): Likewise.
34799 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
34800 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
34801 __feraiseexcept_renamed to feraiseexcept instead of
34802 __GI_feraiseexcept.
34803 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
34804 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
34805 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
34806 RWF_NOWAIT): Define to 0 if undefined already.
34807 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
34809 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
34810 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
34812 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34814 * manual/math.texi (pow10): Do not document.
34815 (pow10f): Likewise.
34816 (pow10l): Likewise.
34817 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
34818 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
34819 * math/libm-test-exp10.inc (pow10_test): Remove.
34820 (do_test): Do not call pow10.
34821 * math/w_exp10_compat.c (pow10): Make into compat symbol.
34822 [NO_LONG_DOUBLE] (pow10l): Likewise.
34823 * math/w_exp10f_compat.c (pow10f): Likewise.
34824 * math/w_exp10l_compat.c (pow10l): Likewise.
34825 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
34826 (pow10): Make into compat symbol.
34827 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
34828 (pow10f): Make into compat symbol.
34829 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
34830 (pow10l): Make into compat symbol.
34831 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
34833 (CFLAGS-nldbl-pow10.c): Remove variable..
34834 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
34835 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
34836 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
34837 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
34838 Undefine and redefine.
34839 (pow10l): Make into compat symbol.
34840 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
34841 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34842 * sysdeps/arm/libm-test-ulps: Likewise.
34843 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
34844 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34845 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
34846 * sysdeps/microblaze/libm-test-ulps: Likewise.
34847 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34848 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34849 * sysdeps/nios2/libm-test-ulps: Likewise.
34850 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34851 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34852 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34853 * sysdeps/sh/libm-test-ulps: Likewise.
34854 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34855 * sysdeps/tile/libm-test-ulps: Likewise.
34856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34858 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34860 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
34862 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34864 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
34865 "../ChangeLog.old/ChangeLog.8".
34866 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
34867 "../ChangeLog.old/ChangeLog.14".
34869 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34871 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
34874 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34876 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
34878 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34880 * csu/version.c (banner): Remove "by Roland McGrath et al.".
34881 * nptl/Banner: Remove "by Ulrich Drepper et al.".
34883 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34885 * stdlib/tst-atexit-common.c (do_test): Test support for at least
34886 32 atexit handlers.
34888 2017-09-01 Zack Weinberg <zackw@panix.com>
34890 * math/math.h (HUGE_VAL): Improve commentary.
34892 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34893 Andreas Schwab <schwab@suse.de>
34896 * include/stdio.h (__gen_tempfd): New function.
34897 * stdio-common/Makefile (routines): Add gentempfd.
34898 * stdio-common/gentempfd.c: New file.
34899 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
34900 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
34901 unnamed file first.
34903 2017-09-01 Florian Weimer <fweimer@redhat.com>
34907 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
34908 result to determine success or failure, not the errno value.
34909 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
34910 (tst-nss-files-hosts-erange): Link with -ldl.
34911 * nss/tst-nss-files-hosts-erange.c: New file.
34912 * nss/tst-resolv-basic.c (response): Handle nodata.example.
34913 (do_test): Add NO_DATA tests.
34914 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
34915 (do_test): Call it.
34917 2017-09-01 Florian Weimer <fweimer@redhat.com>
34920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
34921 coming from gethostbyname2_r.
34923 2017-09-01 Florian Weimer <fweimer@redhat.com>
34925 * support/namespace.h (struct support_chroot_configuration): Add
34927 (struct support_chroot): Add path_hosts, path_host_conf.
34928 * support/support_chroot.c (write_file): New function.
34929 (support_chroot_create): Call it to process /etc/resolv.conf,
34930 /etc/hosts, /etc/host.conf.
34931 (support_chroot_free): Update.
34933 2017-09-01 Florian Weimer <fweimer@redhat.com>
34935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
34936 status indicates it is set.
34938 2017-09-01 Florian Weimer <fweimer@redhat.com>
34941 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
34942 function lookup failures more reliable.
34944 2017-09-01 Florian Weimer <fweimer@redhat.com>
34946 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
34947 (getcanonname): Likewise.
34948 (gaih_inet): Likewise.
34950 2017-09-01 Florian Weimer <fweimer@redhat.com>
34952 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
34953 (getcanonname): Likewise.
34954 (gaih_inet): Likewise.
34956 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34957 Richard Henderson <rth@twiddle.net>
34959 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
34960 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
34961 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
34962 (IREG_SIZE, OREG_SIZE): New macros.
34963 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
34964 (IREG_SIZE, OREG_SIZE): New macros.
34965 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
34966 (IREG_SIZE): New macro.
34967 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
34968 (IREG_SIZE): New macro.
34969 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
34971 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
34972 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34973 (__CONCATX): Handle exceptions correctly on large values that may
34975 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
34976 Initialize if not already set.
34977 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34979 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34981 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
34982 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
34984 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
34986 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
34988 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
34990 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
34992 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
34994 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
34996 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
34997 (NO_CANCELLATION): Likewise.
34998 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
35000 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
35002 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
35004 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
35005 (NO_CANCELLATION): Likewise.
35006 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
35007 (NO_CANCELLATION): Likewise.
35008 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
35010 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
35012 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
35014 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
35016 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
35018 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
35019 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
35021 2017-08-31 Steve Ellcey <sellcey@cavium.com>
35023 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
35026 2017-08-31 Florian Weimer <fweimer@redhat.com>
35028 * include/libc-symbols.h (internal_function): Remove.
35030 2017-08-31 Florian Weimer <fweimer@redhat.com>
35032 * stdlib/fmtmsg.c (internal_addseverity): Remove
35035 2017-08-31 Florian Weimer <fweimer@redhat.com>
35037 * stdio-common/printf_fp.c (group_number): Remove
35039 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
35041 2017-08-31 Florian Weimer <fweimer@redhat.com>
35043 * posix/fnmatch.c (internal_function): Remove definition.
35044 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
35045 * posix/regcomp.c (peek_token, init_word_char)
35046 (duplicate_node_closure, fetch_token, peek_token)
35047 (peek_token_bracket, build_range_exp, build_collating_symbol):
35049 * posix/regex_internal.c (re_string_construct_common)
35050 (create_ci_newstate, create_cd_newstate, re_string_allocate)
35051 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
35052 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
35053 (re_string_translate_buffer, re_string_reconstruct)
35054 (re_string_peek_byte_case, re_string_fetch_byte_case)
35055 (re_string_destruct, re_string_context_at, re_node_set_alloc)
35056 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
35057 (re_node_set_add_intersect, re_node_set_init_union)
35058 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
35059 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
35060 (re_dfa_add_node, calc_state_hash, re_acquire_state)
35061 (re_acquire_state_context): Likewise.
35062 * posix/regex_internal.h (internal_function): Remove definition.
35063 (re_string_realloc_buffers, build_wcs_buffer)
35064 (build_wcs_upper_buffer, build_upper_buffer)
35065 (re_string_translate_buffer, re_string_context_at)
35066 (re_string_char_size_at, re_string_wchar_at)
35067 (re_string_elem_size_at): Likewise.
35068 * posix/regexec.c (match_ctx_init, match_ctx_clean)
35069 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
35070 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
35071 (re_search_internal, re_search_2_stub, re_search_stub)
35072 (re_copy_regs, prune_impossible_nodes, check_matching)
35073 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
35074 (free_fail_stack_return, sift_states_iter_mb)
35075 (sift_states_backward, build_sifted_states)
35076 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
35077 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
35078 (check_subexp_limits, sift_states_bkref, merge_state_array)
35079 (find_recover_state, transit_state, merge_state_with_log)
35080 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
35081 (transit_state_mb, transit_state_bkref, get_subexp)
35082 (get_subexp_sub, find_subexp_node, check_arrival)
35083 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
35084 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
35085 (check_node_accept_bytes, find_collation_sequence_value)
35086 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
35087 (acquire_init_state_context, check_halt_node_context)
35088 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
35089 (sub_epsilon_src_nodes): Likewise.
35090 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
35091 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
35092 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
35093 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
35094 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
35095 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
35096 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
35097 * sysdeps/posix/ttyname.c (getttyname): Likewise.
35098 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
35099 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
35100 (PREADV): Likewise.
35101 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
35102 (PREADV): Likewise.
35103 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
35104 (PWRITEV): Likewise.
35105 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
35106 (PWRITEV): Likewise.
35107 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
35108 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
35110 2017-08-31 Florian Weimer <fweimer@redhat.com>
35112 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
35113 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
35114 Remove internal_function.
35115 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
35116 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
35117 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
35118 (__deallocate_stack, __libc_pthread_init)
35119 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
35120 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
35121 (__libc_disable_asynccancel, __librt_disable_asynccancel):
35123 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
35124 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
35125 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
35127 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
35128 (__pthread_mutex_unlock_usercnt): Likewise.
35130 2017-08-31 Florian Weimer <fweimer@redhat.com>
35132 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
35133 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
35134 (fts_safe_changedir): Remove internal_function.
35135 * io/ftw.c (internal_function): Remove definition.
35136 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
35138 2017-08-31 Florian Weimer <fweimer@redhat.com>
35140 * inet/deadline.c (__deadline_current_time)
35141 (__deadline_from_timeval, __deadline_to_ms): Remove
35143 * inet/getnameinfo.c (nrl_domainname): Likewise.
35144 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
35145 * inet/inet6_option.c (add_pad): Likewise.
35146 * inet/net-internal.h (__deadline_current_time)
35147 (__deadline_from_timeval, __deadline_to_ms): Likewise.
35148 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
35149 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
35150 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
35152 2017-08-31 Joseph Myers <joseph@codesourcery.com>
35154 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
35155 include <bits/nan.h>.
35156 * math/Makefile (headers): Remove bits/nan.h.
35157 * bits/nan.h: Remove.
35158 * sysdeps/ieee754/bits/nan.h: Likewise.
35159 * sysdeps/mips/bits/nan.h: Likewise.
35161 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
35162 not include <bits/inf.h>.
35163 * math/Makefile (headers): Remove bits/inf.h.
35164 * bits/inf.h: Remove.
35165 * sysdeps/ieee754/bits/inf.h: Likewise.
35167 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
35168 bits/huge_vall.h or bits/huge_val_flt128.h.
35169 (HUGE_VAL): Define directly here.
35170 [__USE_ISOC99] (HUGE_VALF): Likewise.
35171 [__USE_ISOC99] (HUGE_VALL): Likewise.
35172 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35173 (HUGE_VAL_F128): Likewise.
35174 * math/Makefile (headers): Remove bits/huge_val.h,
35175 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
35176 * bits/huge_val.h: Remove.
35177 * bits/huge_val_flt128.h: Likewise.
35178 * bits/huge_valf.h: Likewise.
35179 * bits/huge_vall.h: Likewise.
35180 * sysdeps/ia64/bits/huge_vall.h: Likewise.
35181 * sysdeps/ieee754/bits/huge_val.h: Likewise.
35182 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
35183 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
35184 * sysdeps/sh/bits/huge_val.h: Likewise.
35185 * sysdeps/sparc/bits/huge_vall.h: Likewise.
35186 * sysdeps/x86/bits/huge_vall.h: Likewise.
35188 2017-08-31 Florian Weimer <fweimer@redhat.com>
35190 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
35192 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
35194 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
35195 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35196 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
35197 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
35198 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35199 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35200 * elf/dl-libc.c (dlerror_run): Likewise.
35201 * elf/dl-load.c (add_name_to_object, decompose_rpath)
35202 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
35203 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
35204 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
35206 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
35207 (_dl_higher_prime_number, _dl_strtoul): Likewise.
35208 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
35209 * elf/dl-profile.c (_dl_start_profile): Likewise.
35210 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
35211 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
35213 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
35214 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
35215 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
35216 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
35217 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
35218 (_dl_allocate_tls_storage): Likewise.
35219 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
35220 (_dl_check_all_versions): Likewise.
35221 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
35222 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
35223 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
35224 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35225 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
35226 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
35227 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
35228 internal_function from __dl_start.
35229 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
35230 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
35231 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
35232 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
35233 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
35234 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
35235 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
35236 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
35237 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
35238 (_dl_next_ld_env_entry, _dl_important_hwcaps)
35239 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
35240 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
35241 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
35242 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
35243 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
35245 (struct rtld_global_ro): Remove internal_function from the
35246 _dl_lookup_symbol_x member.
35247 (_dl_symbol_value): Remove. No longer defined anywhere.
35248 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
35250 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35251 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
35252 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
35253 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
35254 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
35255 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
35256 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
35257 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
35258 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
35259 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
35260 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35261 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
35263 2017-08-31 Florian Weimer <fweimer@redhat.com>
35265 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
35266 Remove internal_function.
35267 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35269 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35272 2017-08-31 Florian Weimer <fweimer@redhat.com>
35274 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
35275 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
35276 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
35278 2017-08-31 Florian Weimer <fweimer@redhat.com>
35280 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
35281 (__gai_enqueue_request): Remove internal_function.
35282 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
35283 (__gai_remove_request, __gai_notify, __gai_notify_only)
35284 (__gai_sigqueue): Likewise.
35285 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
35286 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
35287 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
35288 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35291 2017-08-31 Florian Weimer <fweimer@redhat.com>
35293 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
35294 * include/dirent.h (__opendirat, __getdents, __getdents64)
35295 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
35296 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
35297 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35298 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
35300 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
35302 2017-08-31 Florian Weimer <fweimer@redhat.com>
35304 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
35306 (GETCWD_RETURN_TYPE): Likewise.
35308 2017-08-31 Florian Weimer <fweimer@redhat.com>
35310 * include/time.h (__tz_compute, __strptime_internal): Remove
35312 * time/strptime_l.c (__strptime_internal): Likewise.
35313 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
35315 2017-08-31 Florian Weimer <fweimer@redhat.com>
35317 * iconv/gconv.c (__gconv): Remove internal_function.
35318 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
35319 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
35320 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
35321 (__gconv_release_cache): Likewise.
35322 * iconv/gconv_close.c (__gconv_close): Likewise.
35323 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
35324 (read_conf_file, __gconv_get_path): Likewise.
35325 * iconv/gconv_db.c (derivation_lookup, add_derivation)
35326 (__gconv_release_step, gen_steps, increment_counter)
35327 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
35328 (__gconv_close_transform, free_modules_db): Likewise.
35329 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
35331 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
35332 (__gconv_find_transform, __gconv_lookup_cache)
35333 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
35334 (__gconv_close_transform, __gconv_release_cache)
35335 (__gconv_loaded_object, __gconv_release_shlib)
35336 (__gconv_compare_alias): Likewise.
35337 * iconv/gconv_open.c (__gconv_open): Likewise.
35338 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
35339 * iconv/iconvconfig.c (add_module): Likewise.
35340 * intl/dcigettext.c (plural_lookup, guess_category_value)
35341 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
35342 * intl/eval-plural.h (plural_eval): Likewise.
35343 * intl/finddomain.c (_nl_find_domain): Likewise.
35344 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
35345 (_nl_load_domain, _nl_find_msg): Likewise.
35346 (internal_function): Remove definition.
35347 * intl/loadinfo.h (internal_function): Likewise.
35348 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
35350 * intl/localealias.c (internal_function): Remove definition.
35351 (read_alias_file): Remove internal_function.
35352 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
35353 * intl/plural-exp.h (internal_function): Remove definition.
35354 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
35356 * intl/plural.c: Regenerate.
35357 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
35358 * locale/coll-lookup.c (__collidx_table_lookup)
35359 (__collseq_table_lookup): Likewise.
35360 * locale/coll-lookup.h (__collidx_table_lookup)
35361 (__collseq_table_lookup): Likewise.
35362 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
35363 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35364 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
35365 (_nl_unload_locale): Likewise.
35366 * locale/localeinfo.h (struct __locale_data): Remove
35367 internal_function from cleanup member.
35368 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
35369 (_nl_remove_locale, _nl_load_locale_from_archive)
35370 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
35371 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
35372 (_nl_cleanup_time): Remove internal_function.
35373 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
35374 (_nl_parse_alt_digit): Likewise.
35375 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
35376 (_nl_select_era_entry): Likewise.
35377 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
35378 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35379 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35380 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35381 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35383 2017-08-31 Florian Weimer <fweimer@redhat.com>
35385 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
35386 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
35387 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
35388 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
35390 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
35391 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
35392 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
35393 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35395 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
35397 2017-08-31 Florian Weimer <fweimer@redhat.com>
35399 * misc/getttyent.c (skip, value): Remove internal_function.
35400 * misc/syslog.c (openlog_internal): Likewise.
35401 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
35403 2017-08-31 Florian Weimer <fweimer@redhat.com>
35405 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
35406 (__nss_rewrite_field): Remove internal_function.
35407 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35408 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35409 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35410 * nss/nsswitch.c (nss_parse_file, nss_getline)
35411 (nss_parse_service_list, nss_new_service): Likewise.
35412 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
35413 * nss/valid_field.c (__nss_valid_field): Likewise.
35414 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
35416 2017-08-31 Florian Weimer <fweimer@redhat.com>
35418 * malloc/arena.c (__malloc_fork_lock_parent)
35419 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
35420 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
35421 internal_function from defintions.
35422 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
35423 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
35424 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
35425 internal_function from declarations.
35426 * malloc/malloc.c (internal_function): Do not define.
35427 (mem2mem_check): Remove internal_function from declaration.
35428 (munmap_chunk, mremap_chunk): Remove internal_function.
35429 * malloc/mtrace.c (tr_where): Likewise.
35431 2017-08-31 Florian Weimer <fweimer@redhat.com>
35433 * include/rpc/pmap_clnt.h (__get_socket): Remove
35435 * sunrpc/auth_des.c (synchronize): Likewise.
35436 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
35437 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
35438 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
35439 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
35440 (key_call): Likewise.
35441 * sunrpc/pm_getport.c (__get_socket): Likewise.
35442 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
35443 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
35444 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
35445 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
35446 (invalidate): Likewise.
35447 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
35448 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
35449 (set_input_fragment, get_input_bytes): Likewise.
35451 2017-08-31 Florian Weimer <fweimer@redhat.com>
35453 * malloc/malloc.c (_int_free): Remove locked variable and related
35456 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
35459 * Makerules (build-module-helper-objlist): Filter out
35460 $(elf-objpfx)sofini.os.
35461 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
35464 2017-08-31 Florian Weimer <fweimer@redhat.com>
35466 * libio/fcloseall.c: Assume weak_alias is defined.
35467 * libio/feof.c: Likewise.
35468 * libio/fileno.c: Likewise.
35469 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
35470 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35472 (_IO_file_open): Call __open directly.
35473 (_IO_new_file_sync): Assume ESPIPE is defined.
35474 (_IO_file_seekoff_maybe_mmap): Call __read directly.
35475 (_IO_new_file_write): Call __write directly.
35476 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
35477 * libio/ftello64.c (__ftello64): Assume EIO is defined.
35478 * libio/genops.c: Assume _LIBC is defined.
35479 (save_for_backup): Remove internal_function.
35480 * libio/getc.c: Assume weak_alias is defined.
35481 * libio/getwc.c: Likewise.
35482 * libio/iofclose.c: Assume _LIBC is defined.
35483 * libio/iofdopen.c: Likewise.
35484 (_IO_fcntl): Remove macro definition.
35485 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
35486 Call __fcntl directly.
35487 * libio/iofflush.c: Assume weak_alias is defined.
35488 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
35490 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
35491 * libio/iofgets.c: Likewise.
35492 * libio/iofopen.c: Assume _LIBC is defined.
35493 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
35494 * libio/iofputs.c: Assume weak_alias is defined.
35495 * libio/iofread.c: Likewise.
35496 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
35497 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
35498 * libio/ioftell.c: Assume weak_alias is defined.
35499 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
35500 * libio/iofwide.c: Assume _LIBC is defined.
35501 (_IO_fwide): Drop SHARED conditional because it is implied by
35503 * libio/iofwrite.c: Assume weak_alias is defined.
35504 * libio/iogetdelim.c: Likewise.
35505 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
35506 * libio/iogetwline.c (wmemcpy): Remove macro definition.
35507 (_IO_getwline): Call __wmemcpy directly.
35508 * libio/iopopen.c: Assume _LIBC is defined.
35509 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35510 (_IO_close): Remove macro definitions.
35511 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
35513 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
35515 * libio/ioputs.c: Assume weak_alias is defined.
35516 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
35517 * libio/iosetbuffer.c: Assume weak_alias is defined.
35518 * libio/iosetvbuf.c: Likewise.
35519 * libio/ioungetc.c: Likewise.
35520 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
35521 libc_hidden_def, libc_hidden_weak, NULL are defined.
35522 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
35523 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
35525 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35527 (_IO_old_file_init_internal): Drop SHARED conditional because it
35528 is implied by SHLIB_COMPAT.
35529 (_IO_old_file_fopen): Call __open directly.
35530 (_IO_old_file_sync): Assume ESPIPE is defined.
35531 (_IO_old_file_write): Call __write directly.
35532 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
35533 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
35534 Call __fcntl directly.
35535 * libio/oldiofgetpos.c: Assume weak_alias is defined.
35536 (_IO_old_fgetpos): Assume EIO is defined.
35537 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
35538 (_IO_old_fgetpos64): Assume EIO is defined.
35539 * libio/oldiofsetpos.c: Assume weak_alias is defined.
35540 (_IO_old_fsetpos): Assume EIO is defined.
35541 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
35542 (_IO_old_fsetpos64): Assume EIO is defined.
35543 * libio/oldiopopen.c: Assume _LIBC is defined.
35544 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35545 (_IO_close): Remove macro definitions.
35546 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
35548 (_IO_old_proc_close): Call __close, __waitpid directly.
35549 * libio/put.c: Assume weak_alias is defined.
35550 * libio/stdfiles.c: Assume _LIBC is defined.
35551 * libio/stdio.c: Likewise.
35552 * libio/wfileops.c: Likewise.
35553 (_IO_wfile_sync): Assume ESPIPE is defined.
35554 * libio/wgenops.c: Assume _LIBC is defined.
35555 (save_for_wbackup): Remove internal_function.
35557 2017-08-31 Florian Weimer <fweimer@redhat.com>
35559 * malloc/malloc.c (top_check): Change return type to void. Remove
35561 * malloc/hooks.c (top_check): Likewise.
35562 (malloc_check, realloc_check, memalign_check): Adjust.
35564 2017-08-30 Joseph Myers <joseph@codesourcery.com>
35567 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35568 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
35569 sigcontext and namespace requirements.
35570 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35571 * sysdeps/m68k/sys/ucontext.h: Likewise.
35572 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
35573 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
35574 <bits/sigcontext.h>.
35575 (__ctx): Define earlier.
35576 (mcontext_t): Define structure contents rather than using struct
35578 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
35579 __glibc_reserved1 instead of __reserved.
35580 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
35581 <bits/sigcontext.h>.
35582 (__ctx): Define earlier.
35583 (mcontext_t): Define structure contents rather than using struct
35585 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
35586 mcontext_t instead of struct sigcontext.
35587 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
35588 <bits/sigcontext.h>.
35589 (__ctx): Define earlier.
35590 (mcontext_t): Define structure contents rather than using struct
35592 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
35593 <bits/sigcontext.h>.
35594 (__ctx): Define earlier.
35595 (mcontext_t): Define structure contents rather than using struct
35597 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
35598 mcontext_t instead of struct sigcontext.
35599 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
35600 mcontext_t instead of struct sigcontext.
35601 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
35602 <bits/sigcontext.h>.
35603 (__ctx): New macro.
35604 (struct __ia64_fpreg_mcontext): New type.
35605 (mcontext_t): Define structure contents rather than using struct
35607 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
35608 (uc_sigmask): Define using __ctx.
35609 (uc_stack): Likewise.
35610 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
35611 <bits/sigcontext.h>.
35612 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35613 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
35614 <bits/sigcontext.h>.
35615 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
35616 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
35617 <bits/sigcontext.h>.
35618 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
35619 <bits/sigcontext.h>.
35620 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
35621 <bits/sigcontext.h>.
35622 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
35623 <bits/sigcontext.h>.
35624 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
35625 <bits/sigcontext.h>.
35626 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
35627 <bits/sigcontext.h>.
35628 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
35629 <bits/sigcontext.h>.
35630 (__ctx): Define earlier.
35631 (mcontext_t): Define structure contents rather than using struct
35633 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
35634 <bits/sigcontext.h>. Include <bits/types.h>.
35635 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
35636 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
35637 (test-xfail-XPG42/ucontext.h/conform): Likewise.
35638 (test-xfail-UNIX98/signal.h/conform): Likewise.
35639 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35640 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35641 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35642 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35643 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35644 (test-xfail-POSIX2008/signal.h/conform): Likewise.
35645 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35646 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35647 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35649 2017-08-30 Florian Weimer <fweimer@redhat.com>
35651 * malloc/dynarray_emplace_enlarge.c
35652 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
35653 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
35654 * malloc/tst-dynarray.c (test_long_overflow): New function.
35655 (do_test): Call it.
35657 2017-08-30 Florian Weimer <fweimer@redhat.com>
35659 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
35660 (set_arena_corrupt): Remove definitions.
35661 (mtrim): Do not check for corrupt arena.
35662 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
35665 2017-08-30 Florian Weimer <fweimer@redhat.com>
35668 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
35670 (ptmalloc_init): Do not set or use check_action.
35671 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
35672 call to malloc_printerr. Remove return statement.
35673 (free_check): Likewise. Remove arena unlock.
35674 (top_check): Update comment. Adjust call to malloc_printerr.
35675 Remove heap repair code.
35676 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
35677 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
35678 (sysmalloc): Adjust call to malloc_printerr.
35679 (munmap_chunk, __libc_realloc): Likewise. Remove return
35681 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
35682 Remove errout label and corresponding gotos.
35683 (_int_free): Likewise. Remove arena unlock.
35684 (do_set_mallopt_check): Do not set check_action.
35685 (malloc_printerr): Adjust parameter list. Do not mark arena as
35687 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
35689 * manual/probes.texi (Memory Allocation Probes): Remove
35690 memory_mallopt_check_action.
35692 2017-08-30 Steve Ellcey <sellcey@cavium.com>
35694 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
35695 Use pointer to uint64_t instead of long int for sp.
35697 2017-08-30 Florian Weimer <fweimer@redhat.com>
35700 * malloc/malloc.c (malloc_printerr): Always terminate the process,
35701 without printing a backtrace. Do not leak any information in the
35703 * manual/memory.texi (Heap Consistency Checking): Update.
35704 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
35706 2017-08-30 Florian Weimer <fweimer@redhat.com>
35708 Do not scale NPTL tests with available number of CPUs.
35709 * nptl/tst-cond16.c (count): Set to constant value of 8.
35710 * nptl/tst-cond18.c (count): Likewise.
35712 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35715 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
35716 Define to take a second argument that is a macro that
35717 concatentates a suffix, not the suffix itself.
35718 (__CONCAT_d): New macro.
35719 (__CONCAT_f): Likewise.
35720 (__CONCAT_l): Likewise.
35722 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
35724 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
35727 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35728 Aurelien Jarno <aurelien@aurel32.net>
35729 Maciej W. Rozycki <macro@imgtec.com>
35732 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
35733 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
35734 `mips16-syscall6' and `mips16-syscall7'.
35735 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
35736 (CFLAGS-mips16-syscall7.c): Remove.
35737 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
35738 Remove `__mips16_syscall5', `__mips16_syscall6' and
35739 `__mips16_syscall7'.
35740 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
35741 (__mips16_syscall0): Rename `__mips16_syscall_return' to
35742 `__mips_syscall_return'.
35743 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
35744 (__mips16_syscall1): Likewise.
35745 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
35746 (__mips16_syscall2): Likewise.
35747 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
35748 (__mips16_syscall3): Likewise.
35749 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
35750 (__mips16_syscall4): Likewise.
35751 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
35753 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
35755 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
35757 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
35758 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
35759 `__mips16_syscall5'. Remove prototype.
35760 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
35761 `__mips16_syscall6'. Remove prototype.
35762 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
35763 `__mips16_syscall7'. Remove prototype.
35764 (__nomips16, __mips16_syscall_return): Move to...
35765 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
35766 (__nomips16, __mips_syscall_return): ... here.
35767 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
35768 `__mips16_syscall_return' to `__mips_syscall_return'.
35769 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
35770 `internal_syscall##nr'.
35771 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
35772 `internal_syscall##nr'.
35773 (FORCE_FRAME_POINTER): Remove.
35774 (__mips_syscall5): New prototype.
35775 (internal_syscall5): Rewrite to call `__mips_syscall5'.
35776 (__mips_syscall6): New prototype.
35777 (internal_syscall6): Rewrite to call `__mips_syscall6'.
35778 (__mips_syscall7): New prototype.
35779 (internal_syscall7): Rewrite to call `__mips_syscall7'.
35780 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
35781 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
35782 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
35783 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
35784 (sysdep_routines): Add libc-do-syscall.
35785 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
35786 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
35788 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35791 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
35792 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
35793 (advise_stack_range): New function.
35794 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
35795 stack non required to advise_stack_range at allocatestack.c
35797 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
35799 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
35801 2017-08-29 Florian Weimer <fweimer@redhat.com>
35804 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
35805 __end_fct. Mangle __end_fct after setting it to NULL.
35806 * iconv/Makefile (tests): Add tst-gconv-init-failure.
35807 (modules-names, modules-names-tests): Add
35808 tst-gconv-init-failure-mod.
35809 (gconv-modules): New target.
35810 (tst-gconv-init-failure-mod.so): Link against libsupport.
35811 (tst-gconv-init-failure): Depend on gconv-modules,
35812 tst-gconv-init-failure-mod.so.
35813 * iconv/tst-gconv-init-failure-mod.c: New file.
35814 * iconv/tst-gconv-init-failure.c: Likewise.
35815 * iconv/test-gconv-modules: Likewise.
35817 2017-08-29 Florian Weimer <fweimer@redhat.com>
35820 * iconv/gconv_db.c (free_derivation): Remove redundant
35822 (gen_steps): Unconditionally mangle __btowc_fct after
35824 (increment_counter): Likewise. Do not call init_fct for internal
35827 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35830 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35831 (_MSUF_): Remove macro.
35832 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
35834 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35835 (__REDIRFROM_X): New macro.
35836 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
35838 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
35839 (__REDIRTO_X): Likewise.
35840 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
35842 (__MATH_REDIRCALL_2): Likewise.
35843 (__MATH_REDIRCALL_INTERNAL): Likewise.
35844 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35845 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
35846 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
35847 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35848 * math/test-finite-macros.c: New file.
35849 * math/Makefile (tests): Add test-finite-macros.
35850 (CFLAGS-test-finite-macros.c): New variable.
35852 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
35853 Jeff Law <law@redhat.com>
35856 Mangle NULL pointers in iconv/gconv.
35857 * iconv/gconv_cache.c (find_module): Demangle init_fct before
35858 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
35859 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
35860 is non-NULL before demangling the end_fct. Check for NULL
35861 end_fct after demangling.
35862 (__gconv_release_step): Demangle the end_fct before checking
35863 it for NULL. Remove assert on __shlibc_handle != NULL.
35864 (gen_steps): Don't check btowc_fct for NULL before mangling.
35865 Demangle init_fct before checking for NULL.
35866 (increment_counter): Likewise.
35867 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
35868 end_fct for NULL before mangling.
35869 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
35872 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
35875 * locale/iso-639.def: add Morisyen.
35877 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35880 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
35881 (iszero): New C++ implementation that does not use
35882 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
35883 signaling nans are enabled, since __builtin_types_compatible_p
35884 is a C-only feature.
35885 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
35886 defined, include ieee754_float128.h for access to the union and
35887 member ieee854_float128.ieee.
35888 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
35889 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
35890 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35891 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
35892 options of test-math-zero on powerpc64le.
35894 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
35896 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
35897 Change double to float.
35899 2017-08-28 Joseph Myers <joseph@codesourcery.com>
35901 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
35903 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
35904 conditional code; define contents only for [LIBM_SVID_COMPAT].
35906 2017-08-28 Florian Weimer <fweimer@redhat.com>
35908 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
35909 (abi-lp64_be-options): Remove.
35910 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
35911 (abi-hard-options): Likewise.
35912 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
35913 (abi-o32_hard-options, abi-o32_soft_2008-options)
35914 (abi-o32_hard_2008-options, abi-n32_soft-options)
35915 (abi-n32_hard-options, abi-n32_soft_2008-options)
35916 (abi-n32_hard_2008-options, abi-n64_soft-options)
35917 (abi-n64_hard-options, abi-n64_soft_2008-options)
35918 (abi-n64_hard_2008-options): Likewise.
35919 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
35920 (abi-64-v1-options, abi-64-v2-options): Likewise.
35921 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
35922 (abi-64-options): Likewise.
35923 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
35924 (abi-64-options): Likewise.
35925 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
35926 (abi-64-options): Likewise.
35927 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
35928 (abi-64-options, abi-x32-options): Likewise.
35930 2017-08-28 Florian Weimer <fweimer@redhat.com>
35932 Store supported list of SYS_* system calls in the source tree.
35933 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
35934 (bits/syscall.h): Generate from list file.
35935 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
35936 [$(subdir) = misc] (tests): Add tst-syscall-list.
35937 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
35938 [$(subdir) = misc] (tst-syscall-list-macros.list)
35939 [$(subdir) = misc] (tst-syscall-list-nr.list)
35940 (tst-syscall-list-sys.list): Helper targets for new
35941 tst-syscall-list test.
35942 [$(subdir) = misc] (tst-syscall-list.out): Run test script
35943 tst-syscall-list.sh.
35944 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
35945 target. Do not include bits/syscall.d.
35946 [$(subdir) = misc] (generated): Do not update.
35947 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
35948 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
35949 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
35950 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
35952 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35954 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
35955 (tst-cxa_atexit, tst-on_exit): Likewise.
35956 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
35957 tst-cxa_atexit, and tst-on_exit.
35958 * stdlib/tst-atexit-common.c: New file.
35959 * stdlib/tst-atexit.c: New file.
35960 * stdlib/tst-at_quick_exit.c: New file.
35961 * stdlib/tst-cxa_atexit.c: New file.
35962 * stdlib/tst-on_exit.c: New file.
35964 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35966 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
35967 * mach/stack_chk_fail_local.c: New file.
35968 * hurd/stack_chk_fail_local.c: New file.
35969 * mach/Machrules ($(interface-library)-routines): Add
35970 stack_chk_fail_local.
35971 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
35972 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
35973 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
35974 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
35975 * hurd/Makefile (CFLAGS-hurdstartup.o,
35976 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
35978 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
35980 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35981 (index_cpu_*, index_arch_*): Removed.
35983 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
35985 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
35986 Use uint64_t instead of unsigned long.
35988 2017-08-25 Joseph Myers <joseph@codesourcery.com>
35990 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
35991 [__HAVE_DISTINCT_FLOAT128].
35993 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
35994 of <bits/math-finite.h>.
35995 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
35996 inclusion of <bits/math-finite.h>.
35997 * math/bits/math-finite.h (__REDIRTO_X): Do not define
35998 conditionally on [__MATH_DECLARING_LDOUBLE && defined
35999 __NO_LONG_DOUBLE_MATH].
36000 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
36001 (__MATH_REDIRCALL_2): Likewise.
36002 (__MATH_REDIRCALL_INTERNAL): Likewise.
36003 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
36004 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
36005 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
36007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
36009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
36011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
36013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
36015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
36017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
36019 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36020 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36021 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36022 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
36024 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
36025 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
36026 w_sqrtf_compat-ppc32.
36028 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36030 * math/math.h [defined __cplusplus] (issignaling): In the long
36031 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
36032 is not defined. Call __issignaling, otherwise.
36034 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36036 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
36037 syscall definitions and replace __builtin_expect with __glibc_likely.
36038 * sysdeps/unix/syscall-template.S: Update comment about cancellable
36040 (SYSCALL_CANCELLABLE): Removedefinition
36041 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
36043 (PSEUDO_END): Likewise.
36044 [IS_IN (libpthread)] (CENABLE): Likewise.
36045 [IS_IN (libpthread)] (CDISABLE): Likewise.
36046 [IS_IN (libc)] (CENABLE): Likewise.
36047 [IS_IN (libc)] (CENABLE): Likewise.
36048 [IS_IN (librt)] (CDISABLE): Likewise.
36049 [IS_IN (librt)] (CDISABLE): Likewise.
36050 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36051 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
36053 (PSEUDO_END): Likewise.
36054 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
36055 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
36056 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
36057 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
36058 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
36059 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
36060 (CENABLE): Likewise.
36061 (CDISABLE): Likewise.
36062 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36063 * sysdeps/unix/sysv/linux/arm/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/hppa/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/i386/sysdep-cancel.h (PSEUDO): Remove
36085 (PSEUDO_END): Likewise.
36086 [IS_IN (libpthread)] (CENABLE): Likewise.
36087 [IS_IN (libpthread)] (CDISABLE): Likewise.
36088 [IS_IN (libc)] (CENABLE): Likewise.
36089 [IS_IN (libc)] (CENABLE): Likewise.
36090 [IS_IN (librt)] (CDISABLE): Likewise.
36091 [IS_IN (librt)] (CDISABLE): Likewise.
36092 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36093 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
36095 (PSEUDO_END): Likewise.
36096 [IS_IN (libpthread)] (CENABLE): Likewise.
36097 [IS_IN (libpthread)] (CDISABLE): Likewise.
36098 [IS_IN (libc)] (CENABLE): Likewise.
36099 [IS_IN (libc)] (CENABLE): Likewise.
36100 [IS_IN (librt)] (CDISABLE): Likewise.
36101 [IS_IN (librt)] (CDISABLE): Likewise.
36102 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36103 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
36105 (PSEUDO_END): Likewise.
36106 [IS_IN (libpthread)] (CENABLE): Likewise.
36107 [IS_IN (libpthread)] (CDISABLE): Likewise.
36108 [IS_IN (libc)] (CENABLE): Likewise.
36109 [IS_IN (libc)] (CENABLE): Likewise.
36110 [IS_IN (librt)] (CDISABLE): Likewise.
36111 [IS_IN (librt)] (CDISABLE): Likewise.
36112 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36113 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
36115 (PSEUDO_END): Likewise.
36116 [IS_IN (libpthread)] (CENABLE): Likewise.
36117 [IS_IN (libpthread)] (CDISABLE): Likewise.
36118 [IS_IN (libc)] (CENABLE): Likewise.
36119 [IS_IN (libc)] (CENABLE): Likewise.
36120 [IS_IN (librt)] (CDISABLE): Likewise.
36121 [IS_IN (librt)] (CDISABLE): Likewise.
36122 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36123 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
36125 (PSEUDO_END): Likewise.
36126 [IS_IN (libpthread)] (CENABLE): Likewise.
36127 [IS_IN (libpthread)] (CDISABLE): Likewise.
36128 [IS_IN (libc)] (CENABLE): Likewise.
36129 [IS_IN (libc)] (CENABLE): Likewise.
36130 [IS_IN (librt)] (CDISABLE): Likewise.
36131 [IS_IN (librt)] (CDISABLE): Likewise.
36132 (SINGLE_THREAD_P): Likewise.
36133 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
36135 (PSEUDO_END): Likewise.
36136 [IS_IN (libpthread)] (CENABLE): Likewise.
36137 [IS_IN (libpthread)] (CDISABLE): Likewise.
36138 [IS_IN (libc)] (CENABLE): Likewise.
36139 [IS_IN (libc)] (CENABLE): Likewise.
36140 [IS_IN (librt)] (CDISABLE): Likewise.
36141 [IS_IN (librt)] (CDISABLE): Likewise.
36142 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36143 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
36145 (PSEUDO_END): Likewise.
36146 [IS_IN (libpthread)] (CENABLE): Likewise.
36147 [IS_IN (libpthread)] (CDISABLE): Likewise.
36148 [IS_IN (libc)] (CENABLE): Likewise.
36149 [IS_IN (libc)] (CENABLE): Likewise.
36150 [IS_IN (librt)] (CDISABLE): Likewise.
36151 [IS_IN (librt)] (CDISABLE): Likewise.
36152 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36153 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
36154 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36155 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
36156 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
36158 (PSEUDO_END): Likewise.
36159 [IS_IN (libpthread)] (CENABLE): Likewise.
36160 [IS_IN (libpthread)] (CDISABLE): Likewise.
36161 [IS_IN (libc)] (CENABLE): Likewise.
36162 [IS_IN (libc)] (CENABLE): Likewise.
36163 [IS_IN (librt)] (CDISABLE): Likewise.
36164 [IS_IN (librt)] (CDISABLE): Likewise.
36165 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36166 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
36168 (PSEUDO_END): Likewise.
36169 [IS_IN (libpthread)] (CENABLE): Likewise.
36170 [IS_IN (libpthread)] (CDISABLE): Likewise.
36171 [IS_IN (libc)] (CENABLE): Likewise.
36172 [IS_IN (libc)] (CENABLE): Likewise.
36173 [IS_IN (librt)] (CDISABLE): Likewise.
36174 [IS_IN (librt)] (CDISABLE): Likewise.
36175 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36176 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
36178 (PSEUDO_END): Likewise.
36179 [IS_IN (libpthread)] (CENABLE): Likewise.
36180 [IS_IN (libpthread)] (CDISABLE): Likewise.
36181 [IS_IN (libc)] (CENABLE): Likewise.
36182 [IS_IN (libc)] (CENABLE): Likewise.
36183 [IS_IN (librt)] (CDISABLE): Likewise.
36184 [IS_IN (librt)] (CDISABLE): Likewise.
36185 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
36187 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36188 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
36189 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
36191 (PSEUDO_END): Likewise.
36192 [IS_IN (libpthread)] (CENABLE): Likewise.
36193 [IS_IN (libpthread)] (CDISABLE): Likewise.
36194 [IS_IN (libc)] (CENABLE): Likewise.
36195 [IS_IN (libc)] (CENABLE): Likewise.
36196 [IS_IN (librt)] (CDISABLE): Likewise.
36197 [IS_IN (librt)] (CDISABLE): Likewise.
36198 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36199 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
36201 (PSEUDO_END): Likewise.
36202 [IS_IN (libpthread)] (CENABLE): Likewise.
36203 [IS_IN (libpthread)] (CDISABLE): Likewise.
36204 [IS_IN (libc)] (CENABLE): Likewise.
36205 [IS_IN (libc)] (CENABLE): Likewise.
36206 [IS_IN (librt)] (CDISABLE): Likewise.
36207 [IS_IN (librt)] (CDISABLE): Likewise.
36208 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36210 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
36212 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
36214 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36216 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36218 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36221 * string/stratcliff.c (do_test): Declare size, nchars, inner,
36222 middle and outer with size_t instead of int. Repleace %d and
36223 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
36224 "MAX (outer, nchars - 64)" to support unsigned outer and
36225 nchars. Also exit loop when outer == 0.
36227 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36229 * include/fcntl.h (__fcntl_nocancel): Remove definition.
36230 * include/signal.h (__sigsuspend_nocancel): Likewise.
36231 * include/time.h (__nanosleep_nocancel): Likewise.
36232 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
36233 * login/utmp_file.c: Include non cancellable syscall header.
36234 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
36237 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36239 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
36240 .byte sequences with AVX512F instructions.
36241 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
36242 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
36243 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
36244 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
36246 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
36249 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
36250 Steve Ellcey <sellcey@cavium.com>
36252 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
36253 Use PTR_REG macro in cmp instruction.
36255 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36257 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
36258 Change the return type of the ifunc resolver to match the return
36259 type of the target function.
36261 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36263 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
36264 (preadv64): Likewise.
36265 (pwrite64(: Likewise.
36266 (pwritev64): Likewise.
36268 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36269 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
36270 (LOAD_ARGS_0): Likewise.
36271 (LOAD_ARGS_1): Likewise.
36272 (LOAD_ARGS_2): Likewise.
36273 (LOAD_ARGS_3): Likewise.
36274 (LOAD_ARGS_4): Likewise.
36275 (LOAD_ARGS_5): Likewise.
36276 (LOAD_ARGS_6): Likewise.
36277 (LOAD_REGS_0): Likewise.
36278 (LOAD_REGS_1): Likewise.
36279 (LOAD_REGS_2): Likewise.
36280 (LOAD_REGS_3): Likewise.
36281 (LOAD_REGS_4): Likewise.
36282 (LOAD_REGS_5): Likewise.
36283 (LOAD_REGS_6): Likewise.
36284 (ASM_ARGS_0): Likewise.
36285 (ASM_ARGS_1): Likewise.
36286 (ASM_ARGS_2): Likewise.
36287 (ASM_ARGS_3): Likewise.
36288 (ASM_ARGS_4): Likewise.
36289 (ASM_ARGS_5): Likewise.
36290 (ASM_ARGS_6): Likewise.
36291 (LOAD_ARGS_TYPES_1): Likewise.
36292 (LOAD_ARGS_TYPES_2): Likewise.
36293 (LOAD_ARGS_TYPES_3): Likewise.
36294 (LOAD_ARGS_TYPES_4): Likewise.
36295 (LOAD_ARGS_TYPES_5): Likewise.
36296 (LOAD_ARGS_TYPES_6): Likewise.
36297 (LOAD_REGS_TYPES_1): Likewise.
36298 (LOAD_REGS_TYPES_2): Likewise.
36299 (LOAD_REGS_TYPES_3): Likewise.
36300 (LOAD_REGS_TYPES_4): Likewise.
36301 (LOAD_REGS_TYPES_5): Likewise.
36302 (LOAD_REGS_TYPES_6): Likewise.
36303 (TYPEFY): New define.
36304 (ARGIFY): Likewise.
36305 (internal_syscall0): Likewise.
36306 (internal_syscall1): Likewise.
36307 (internal_syscall2): Likewise.
36308 (internal_syscall3): Likewise.
36309 (internal_syscall4): Likewise.
36310 (internal_syscall5): Likewise.
36311 (internal_syscall6): Likewise.
36312 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
36313 (INTERNAL_SYSCALL_NCS): Remove define.
36314 (internal_syscall1): Add define.
36316 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36318 * math/w_remainder_compat.c: Remove duplicate inclusion of
36319 math-svid-compat.h.
36320 * math/w_remainderf_compat.c: Likewise.
36321 * math/w_remainderl_compat.c: Likewise.
36323 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36327 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36330 * math/tgmath.h (__floating_type): Simplify definitions.
36331 (__real_integer_type): New macro.
36332 (__complex_integer_type): Likewise.
36333 (__expr_is_real): Likewise.
36334 (__tgmath_real_type_sub): Update comment to describe handling of
36336 (__tgmath_complex_type_sub): New macro.
36337 (__tgmath_complex_type): Likewise.
36338 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36339 (__TGMATH_CF128): Use __expr_is_real.
36340 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
36342 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36343 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
36344 * math/gen-tgmath-tests.py (Type.create_type): Create complex
36347 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36349 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
36351 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
36353 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
36356 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
36357 nanosleep_not_cancel with __nanosleep_nocancel.
36358 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
36359 (__nanosleep_nocancel): New macro.
36360 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
36362 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
36364 (__nanosleep_nocancel): New prototype.
36366 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
36367 pause_not_cancel with __pause_nocancel.
36368 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
36369 (__pause_nocancel): New macro.
36370 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
36372 (__pause_nocancel): New prototype.
36373 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
36375 2017-08-22 Martin Sebor <msebor@redhat.com>
36377 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
36378 to return a pointer to the same type as the target function.
36380 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36384 * include/printf.h (__printf_fphex): Add attribute_hidden.
36385 (__guess_grouping): New prototype.
36386 * stdio-common/printf_fp.c (__guess_grouping): Removed.
36387 * stdio-common/reg-printf.c (__register_printf_specifier): Add
36388 libc_hidden_proto and libc_hidden_def.
36389 * stdlib/strfmon_l.c (__guess_grouping): Removed.
36390 (__vstrfmon_l): Remove the third argument passed to
36393 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36395 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
36396 definition for issignaling that does not rely on __MATH_TG,
36397 since __MATH_TG uses __builtin_types_compatible_p, which is only
36398 available in C mode.
36399 (CFLAGS-test-math-issignaling.cc): New variable.
36400 * math/Makefile [CXX] (tests): Add test-math-issignaling.
36401 * math/test-math-issignaling.cc: New test for C++ implementation
36402 of type-generic issignaling.
36403 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
36404 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
36405 options of test-math-issignaling on powerpc64le.
36407 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36409 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36411 (hidden_proto): Likewise.
36412 (hidden_tls_proto): Likewise.
36413 (__hidden_proto): Likewise.
36415 2017-08-22 Florian Weimer <fweimer@redhat.com>
36417 math: Statically link tests of internal functionality.
36418 * math/Makefile (tests): Remove atest-exp, atest-sincos,
36420 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
36421 (gmp-objs): Remove assignment.
36422 (atest-exp, atest-sincos, atest-exp2): Remove targets.
36424 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36427 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
36429 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
36431 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
36434 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
36435 variable definitions above inclusion of ../Rules.
36437 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36439 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
36440 case calling __builtin_unreachable.
36442 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36444 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
36445 __waitpid_nocancel.
36446 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
36447 (__waitpid_nocancel): New macro.
36448 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
36450 (__waitpid_nocancel): Replace macro with a function.
36451 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
36454 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
36456 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
36457 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
36459 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
36460 __writev_nocancel_nostatus.
36461 (write_call_graph): Likewise.
36462 (write_bb_counts): Likewise.
36463 * resolv/herror.c (herror): Likewise.
36464 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
36466 (__writev_nocancel_nostatus): New macro.
36467 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
36469 (__writev_nocancel_nostatus): New function.
36471 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36474 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36476 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36478 (hidden_proto): Likewise.
36479 (hidden_tls_proto): Likewise.
36480 (__hidden_proto): Likewise.
36483 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
36484 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
36489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
36493 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
36494 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36495 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36496 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36497 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
36498 GLIBC_2.0 sqrtl symbol.
36500 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
36501 [__USE_MISC] (_LIB_VERSION): Likewise.
36502 [__USE_MISC] (struct exception): Likewise.
36503 [__USE_MISC] (matherr): Likewise.
36504 [__USE_MISC] (DOMAIN): Likewise.
36505 [__USE_MISC] (SING): Likewise.
36506 [__USE_MISC] (OVERFLOW): Likewise.
36507 [__USE_MISC] (UNDERFLOW): Likewise.
36508 [__USE_MISC] (TLOSS): Likewise.
36509 [__USE_MISC] (PLOSS): Likewise.
36510 [__USE_MISC] (HUGE): Likewise.
36511 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
36512 * math/math-svid-compat.h: New file.
36513 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
36515 * include/math.h [!_ISOMAC] (__matherr): Remove.
36516 * manual/arith.texi (FP Exceptions): Do not document matherr.
36517 * math/Makefile (tests): Change test-matherr to test-matherr-3.
36518 (tests-internal): New variable.
36519 (install-lib): Do not add libieee.a.
36520 (non-lib.a): Likewise.
36521 (extra-objs): Do not add libieee.a and ieee-math.o.
36522 (CPPFLAGS-s_lib_version.c): Remove variable.
36523 ($(objpfx)libieee.a): Remove rule.
36524 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
36525 * math/ieee-math.c: Remove.
36526 * math/libm-test-support.c (matherr): Remove.
36527 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
36528 and license notices. Include <math-svid-compat.h> and
36530 (matherr): Undefine as macro. Use compat_symbol_reference.
36531 (_LIB_VERSION): Likewise.
36532 * math/test-matherr-2.c: New file.
36533 * math/test-matherr-3.c: Likewise.
36534 * sysdeps/generic/math_private.h (__kernel_standard): Remove
36536 (__kernel_standard_f): Likewise.
36537 (__kernel_standard_l): Likewise.
36538 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
36539 <math_private.h>. Include <math-svid-compat.h>.
36540 (_LIB_VERSION): Undefine as macro.
36541 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
36542 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
36543 [LIBM_SVID_COMPAT], use compat_symbol.
36544 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
36545 <math_private.h>. Include <math-svid-compat.h>.
36546 (matherr): Undefine as macro.
36547 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
36549 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
36550 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
36551 compat_symbol_reference.
36552 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
36553 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
36554 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
36555 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
36556 (MATHERR_D): Remove declaration.
36557 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
36558 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
36559 [LIBM_BUILD] (pmatherrf): Likewise.
36560 [LIBM_BUILD] (pmatherr): Likewise.
36561 [LIBM_BUILD] (pmatherrl): Likewise.
36562 (DOMAIN): Likewise.
36564 (OVERFLOW): Likewise.
36565 (UNDERFLOW): Likewise.
36568 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
36569 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
36571 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
36572 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
36574 * math/lgamma-compat.h: Include <math-svid-compat.h>.
36575 * math/w_acos_compat.c: Likewise.
36576 * math/w_acosf_compat.c: Likewise.
36577 * math/w_acosh_compat.c: Likewise.
36578 * math/w_acoshf_compat.c: Likewise.
36579 * math/w_acoshl_compat.c: Likewise.
36580 * math/w_acosl_compat.c: Likewise.
36581 * math/w_asin_compat.c: Likewise.
36582 * math/w_asinf_compat.c: Likewise.
36583 * math/w_asinl_compat.c: Likewise.
36584 * math/w_atan2_compat.c: Likewise.
36585 * math/w_atan2f_compat.c: Likewise.
36586 * math/w_atan2l_compat.c: Likewise.
36587 * math/w_atanh_compat.c: Likewise.
36588 * math/w_atanhf_compat.c: Likewise.
36589 * math/w_atanhl_compat.c: Likewise.
36590 * math/w_cosh_compat.c: Likewise.
36591 * math/w_coshf_compat.c: Likewise.
36592 * math/w_coshl_compat.c: Likewise.
36593 * math/w_exp10_compat.c: Likewise.
36594 * math/w_exp10f_compat.c: Likewise.
36595 * math/w_exp10l_compat.c: Likewise.
36596 * math/w_exp2_compat.c: Likewise.
36597 * math/w_exp2f_compat.c: Likewise.
36598 * math/w_exp2l_compat.c: Likewise.
36599 * math/w_fmod_compat.c: Likewise.
36600 * math/w_fmodf_compat.c: Likewise.
36601 * math/w_fmodl_compat.c: Likewise.
36602 * math/w_hypot_compat.c: Likewise.
36603 * math/w_hypotf_compat.c: Likewise.
36604 * math/w_hypotl_compat.c: Likewise.
36605 * math/w_j0_compat.c: Likewise.
36606 * math/w_j0f_compat.c: Likewise.
36607 * math/w_j0l_compat.c: Likewise.
36608 * math/w_j1_compat.c: Likewise.
36609 * math/w_j1f_compat.c: Likewise.
36610 * math/w_j1l_compat.c: Likewise.
36611 * math/w_jn_compat.c: Likewise.
36612 * math/w_jnf_compat.c: Likewise.
36613 * math/w_jnl_compat.c: Likewise.
36614 * math/w_lgamma_main.c: Likewise.
36615 * math/w_lgamma_r_compat.c: Likewise.
36616 * math/w_lgammaf_main.c: Likewise.
36617 * math/w_lgammaf_r_compat.c: Likewise.
36618 * math/w_lgammal_main.c: Likewise.
36619 * math/w_lgammal_r_compat.c: Likewise.
36620 * math/w_log10_compat.c: Likewise.
36621 * math/w_log10f_compat.c: Likewise.
36622 * math/w_log10l_compat.c: Likewise.
36623 * math/w_log2_compat.c: Likewise.
36624 * math/w_log2f_compat.c: Likewise.
36625 * math/w_log2l_compat.c: Likewise.
36626 * math/w_log_compat.c: Likewise.
36627 * math/w_logf_compat.c: Likewise.
36628 * math/w_logl_compat.c: Likewise.
36629 * math/w_pow_compat.c: Likewise.
36630 * math/w_powf_compat.c: Likewise.
36631 * math/w_powl_compat.c: Likewise.
36632 * math/w_remainder_compat.c: Likewise.
36633 * math/w_remainderf_compat.c: Likewise.
36634 * math/w_remainderl_compat.c: Likewise.
36635 * math/w_scalb_compat.c: Likewise.
36636 * math/w_scalbf_compat.c: Likewise.
36637 * math/w_scalbl_compat.c: Likewise.
36638 * math/w_sinh_compat.c: Likewise.
36639 * math/w_sinhf_compat.c: Likewise.
36640 * math/w_sinhl_compat.c: Likewise.
36641 * math/w_sqrt_compat.c: Likewise.
36642 * math/w_sqrtf_compat.c: Likewise.
36643 * math/w_sqrtl_compat.c: Likewise.
36644 * math/w_tgamma_compat.c: Likewise.
36645 * math/w_tgammaf_compat.c: Likewise.
36646 * math/w_tgammal_compat.c: Likewise.
36647 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
36648 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
36649 * sysdeps/ieee754/k_standard.c: Likewise.
36650 * sysdeps/ieee754/k_standardf.c: Likewise.
36651 * sysdeps/ieee754/k_standardl.c: Likewise.
36652 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
36653 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
36654 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
36655 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36656 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36657 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36658 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36659 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
36660 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36665 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
36666 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36667 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36668 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36670 2017-08-21 Florian Weimer <fweimer@redhat.com>
36673 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
36674 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
36675 Move before inclusion of ../Rules.
36677 2017-08-21 Florian Weimer <fweimer@redhat.com>
36680 * assert/assert.h (assert): Use static_cast (bool) for C++.
36681 Use the ternary operator in the warning branch for GNU C.
36682 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
36683 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
36684 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
36685 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
36686 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
36688 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36691 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36692 (__syscall_clock_gettime): Add attribute_hidden.
36693 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
36694 (__start_context): Likewise.
36696 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36698 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36700 (hidden_proto): Likewise.
36701 (hidden_tls_proto): Likewise.
36702 (__hidden_proto): Likewise.
36704 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36706 * include/libc-symbols.h (attribute_hidden): Enable hidden
36707 visibility in libc.a compiled with PIE.
36709 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36712 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
36713 Add attribute_hidden.
36715 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36718 * Makerules (all-nonlib): Add $(others-extras).
36719 * catgets/Makefile (others-extras): New.
36720 * elf/Makefile (others-extras): Likewise.
36721 * nss/Makefile (others-extras): Likewise.
36723 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36726 * csu/libc-start.c (__libc_multiple_libcs): Removed.
36727 * elf/dl-open.c: Include <libc-internal.h>.
36728 (__libc_multiple_libcs): Removed.
36729 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
36731 * include/libc-internal.h (__libc_multiple_libcs): New.
36732 * misc/sbrk.c: Include <libc-internal.h>.
36733 (__libc_multiple_libcs): Removed.
36735 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36738 * grp/initgroups.c (__nss_group_database): Removed.
36739 (__nss_initgroups_database): Likewise.
36740 * nscd/gai.c (__nss_hosts_database): Likewise.
36741 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
36742 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
36743 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
36744 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
36745 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
36746 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
36748 * nss/nsswitch.c (__nss_database_custom): Define only if
36749 USE_NSCD is defined.
36750 (__nss_configure_lookup): Use __nss_database_custom only if
36751 USE_NSCD is defined.
36752 * nss/nsswitch.h (__nss_database_custom): Declare only if
36753 USE_NSCD is defined. Add attribute_hidden.
36754 (__nss_setent): Add attribute_hidden.
36755 (__nss_endent): Likewise.
36756 (__nss_getent_r): Likewise.
36757 (__nss_getent): Likewise.
36758 (DEFINE_DATABASE): Declare __nss_##arg##_database.
36760 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36763 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
36764 libc_hidden_proto and libc_hidden_def.
36766 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36769 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
36770 Add libc_hidden_proto.
36771 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
36772 Add libc_hidden_def.
36774 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36777 * gmon/Makefile (routines): Remove bb_init_func and
36779 (elide-routines.os): Removed.
36780 * gmon/bb_exit_func.c: Likewise.
36781 * gmon/bb_init_func.c: Likewise.
36782 * include/sys/gmon.h (__bb): Likewise.
36783 (__bb_init_func): Likewise.
36784 (__bb_exit_func): Likewise.
36785 * sysdeps/alpha/bb_init_func.S: Likewise.
36787 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36789 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
36790 * include/setjmp.h (____longjmp_chk): Here. Add
36793 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
36796 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
36798 (__strspn_sse2): Likewise.
36800 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36802 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
36803 (close_not_cancel_no_status): Likewise.
36804 (__close_nocancel): New macro.
36805 (__close_nocancel_nostatus): Likewise.
36806 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
36808 (close_not_cancel): Likewise.
36809 (close_not_cancel_no_status): Likewise.
36810 (__close_nocancel): New prototype.
36811 (__close_nocancel_nostatus): New function.
36812 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
36813 * catgets/open_catalog.c (__open_catalog): Replace
36814 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
36815 * gmon/gmon.c (write_gmon): Likewise.
36816 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36817 * intl/loadmsgcat.c (close): Likewise.
36818 * io/ftw.c (open_dir_stream): Likewise.
36819 (ftw_startup): Likewise.
36820 * libio/fileops.c (_IO_file_open): Likewise.
36821 (_IO_file_close_mmap): Likewise.
36822 (_IO_file_close): Likewise.
36823 * libio/iopopen.c (_IO_dup2): Likewise.
36824 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36825 * locale/loadlocale.c (_nl_load_locale): Likewise.
36826 * login/utmp_file.c (pututline_file): Likewise.
36827 (endutent_file): Likewise.
36828 * misc/daemon.c (daemon): Likewise.
36829 * nscd/nscd_getai.c (__nscd_getai): Likewise.
36830 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36831 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
36832 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36833 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36834 * nscd/nscd_helper.c (open_socket): Likewise.
36835 (__nscd_open_socket): Likewise.
36836 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36837 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
36838 (__nscd_innetgr): Likewise.
36839 * nss/nss_db/db-open.c (internal_setent): Likewise.
36840 * resolv/res-close.c (__res_iclose): Likewise.
36841 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
36842 * sysdeps/posix/closedir.c (__closedir): Likewise.
36843 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
36844 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36845 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36846 (opendir_tail): Likewise.
36847 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36848 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
36849 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36850 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36851 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36852 (gethostid): Likewise.
36853 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36854 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36856 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36857 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
36858 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36859 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36861 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
36862 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
36863 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36865 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
36866 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36868 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36870 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36871 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36872 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36875 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
36876 (openat_not_cancel_3): Likewise.
36877 (openat64_not_cancel_3): Likewise).
36878 (openat_not_cancel_3): Likewise).
36879 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
36881 (openat_not_cancel_3): Likewise.
36882 (openat64_not_cancel): Likewise.
36883 (openat64_not_cancel_3): Likewise.
36884 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
36885 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
36886 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
36887 __open{64}_nocancel.
36888 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36889 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36890 * sysdeps/posix/opendir.c (__opendirat): Likewise.
36892 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36895 * include/argz.h (__argz_create_sep): New function prototype.
36896 (__argz_append): Likewise.
36897 (__argz_add): Likewise.
36898 (__argz_add_sep): Likewise.
36899 (__argz_delete): Likewise.
36900 (__argz_insert): Likewise.
36901 (__argz_replace): Likewise.
36902 * string/argz.h (__argz_create_sep): Removed.
36903 (__argz_append): Likewise.
36904 (__argz_add): Likewise.
36905 (__argz_add_sep): Likewise.
36906 (__argz_delete): Likewise.
36907 (__argz_insert): Likewise.
36908 (__argz_replace): Likewise.
36910 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36912 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
36913 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
36914 (GNU_PROPERTY_STACK_SIZE): Likewie.
36915 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
36916 (GNU_PROPERTY_LOPROC): Likewise.
36917 (GNU_PROPERTY_HIPROC): Likewise.
36918 (GNU_PROPERTY_LOUSER): Likewise.
36919 (GNU_PROPERTY_HIUSER): Likewise.
36920 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
36921 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
36922 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
36923 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
36924 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
36925 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
36926 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
36927 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
36928 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
36929 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
36930 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
36931 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
36932 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
36933 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
36934 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
36935 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
36936 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
36937 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
36938 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
36939 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
36940 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
36941 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
36942 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
36944 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36946 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
36949 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36952 * math/math.h (isinf): Check if in C or C++ mode before using
36953 __builtin_types_compatible_p, since this is a C mode feature.
36955 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36957 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
36958 (__write_nocancel): New macro.
36959 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
36960 Rewrite as a function prototype.
36961 (write_not_cancel): Remove macro.
36962 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
36963 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
36964 (write_gmon): Likewise.
36965 * libio/fileops.c (_IO_new_file_write): Likewise.
36966 * login/utmp_file.c (pututline_file): Likewise.
36967 (updwtmp_file): Likewise.
36968 * stdio-common/psiginfo.c (psiginfo): Likewise.
36969 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36970 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36971 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36973 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36976 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
36977 (__read_nocancel): New macro.
36978 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36980 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
36982 (__read_nocancel): New prototype.
36983 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
36984 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
36985 with __read_nocancel.
36986 * intl/loadmsgcat.c (read): Likewise.
36987 * libio/fileops.c (_IO_file_read): Likewise.
36988 * locale/loadlocale.c (_nl_load_locale): Likewise.
36989 * login/utmp_file.c (getutent_r_file): Likewise.
36990 (internal_getut_r): Likewise.
36991 (getutline_r_file): Likewise.
36992 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36993 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
36994 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36995 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36997 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
36998 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36999 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
37001 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
37003 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
37005 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
37007 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
37009 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
37012 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
37013 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
37016 2017-08-17 DJ Delorie <dj@redhat.com>
37018 * bug17079.c: Update to new test harness.
37019 * test-digits-dots.c: Likewise.
37020 * test-netdb.c: Likewise.
37021 * tst-field.c: Likewise.
37022 * tst-nss-getpwent.c: Likewise.
37023 * tst-nss-static.c: Likewise.
37024 * tst-nss-test1.c: Likewise.
37025 * tst-nss-test2.c: Likewise.
37026 * tst-nss-test3.c: Likewise.
37027 * tst-nss-test4.c: Likewise.
37028 * tst-nss-test5.c: Likewise.
37030 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37032 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
37033 (open_not_cancel_2): Likewise.
37034 (open_nocancel): New macro.
37035 (open64_nocancel): Likewise.
37036 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
37037 (open_not_cancel_2): Likewise.
37038 (__open_nocancel): New prototype.
37039 (__open64_nocancel): Likewise.
37040 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
37042 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
37043 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
37044 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
37045 with __open_nocancel.
37046 * csu/check_fds.c (check_one_fd): Likewise.
37047 * gmon/gmon.c (write_gmon): Likewise.
37048 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
37049 * intl/loadmsgcat.c (open): Likewise.
37050 * libio/fileops.c (_IO_file_open): Likewise.
37051 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37052 * locale/loadlocale.c (_nl_load_locale): Likewise.
37053 * login/utmp_file.c (setutent_file): Likewise.
37054 * misc/daemon.c (daemon): Likewise.
37055 * nss/nss_db/db-open.c (internal_setent): Likewise.
37056 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
37057 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
37058 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
37059 (__opendir): Likewise.
37060 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
37061 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
37062 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
37063 (gethostid): Likewise.
37064 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
37065 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37067 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
37068 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
37069 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
37070 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
37072 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
37074 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
37076 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
37078 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
37080 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
37082 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
37083 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
37085 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
37087 * benchtests/bench-skeleton.c (main): Add support for
37088 latency benchmarking.
37089 * benchtests/scripts/bench.py: Add support for latency benchmarking.
37091 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
37093 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
37094 the startup object.
37096 2017-08-17 Florian Weimer <fweimer@redhat.com>
37098 * include/sys/socket.h (__opensock): Remove internal_function.
37099 * socket/opensock.c (__opensock): Likewise.
37100 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
37102 2017-08-16 Joseph Myers <joseph@codesourcery.com>
37105 * signal/bits/types/__sigval_t.h: New file.
37106 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
37107 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
37108 and define sigval_t using __sigval_t.
37109 * include/bits/types/__sigval_t.h: New file.
37110 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
37111 instead of <bits/types/__sigval_t.h>.
37112 (struct sigevent): Use __sigval_t instead of sigval_t.
37113 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
37114 instead of <bits/types/__sigval_t.h>.
37115 (siginfo_t): Use __sigval_t instead of sigval_t.
37116 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
37117 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
37118 (struct sigevent): Use __sigval_t instead of sigval_t.
37119 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
37120 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
37121 (siginfo_t): Use __sigval_t instead of sigval_t.
37122 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
37124 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37126 * NEWS: Remove "[Add new features here]" for 2.27.
37128 2017-08-16 Joseph Myers <joseph@codesourcery.com>
37130 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
37133 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37135 * NEWS: Mention x86-64 FMA optimization.
37137 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37140 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37142 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
37143 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
37144 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
37146 2017-08-16 Andreas Schwab <schwab@suse.de>
37150 * elf/ldd.bash.in: Never run file directly.
37152 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
37155 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
37156 (L(SP_INF_0)): Likewise.
37158 2017-08-15 Florian Weimer <fweimer@redhat.com>
37160 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
37163 2017-08-15 Florian Weimer <fweimer@redhat.com>
37165 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
37166 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
37167 BROKEN_THREAD_SIGNALS code.
37168 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
37169 request_list): Remove caller_pid member used for
37170 BROKEN_THREAD_SIGNALS.
37171 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
37172 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
37173 Remove BROKEN_THREAD_SIGNALS support.
37174 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
37175 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
37177 2017-08-15 Florian Weimer <fweimer@redhat.com>
37179 * gmon/Makefile (tests): Add tst-gmon.
37180 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
37182 (tests-special): Add tst-gmon-prof.out.
37183 (tst-gmon.out): Depend on clean-tst-gmon-data.
37184 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
37185 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
37186 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
37188 * aclocal.m4 (GPROF): Set and substitute.
37189 * config.amke.in (GPROF): Set.
37190 * configure: Regenerate.
37192 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
37194 * elf/elf.h A (NT_PPC_TAR): New macro.
37195 (NT_PPC_PPR): Likewise.
37196 (NT_PPC_DSCR): Likewise.
37197 (NT_PPC_EBB): Likewise.
37198 (NT_PPC_PMU): Likewise.
37199 (NT_PPC_TM_CGPR): Likewise.
37200 (NT_PPC_TM_CFPR): Likewise.
37201 (NT_PPC_TM_CVMX): Likewise.
37202 (NT_PPC_TM_CVSX): Likewise.
37203 (NT_PPC_TM_SPR): Likewise.
37204 (NT_PPC_TM_CTAR): Likewise.
37205 (NT_PPC_TM_CPPR): Likewise.
37206 (NT_PPC_TM_CDSCR): Likewise.
37208 2017-08-15 Florian Weimer <fweimer@redhat.com>
37210 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
37211 regparm (2) instead of internal_function.
37212 (_MCOUNT_DECL): Adjust.
37214 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
37216 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
37217 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
37219 2017-08-14 Joseph Myers <joseph@codesourcery.com>
37221 * conform/data/sys/wait.h-data (si_value): Do not expect for
37224 2017-08-14 Florian Weimer <fweimer@redhat.com>
37227 NSS: Create stubs for accidentally exported lookup functions.
37228 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
37229 Remove declaration.
37230 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
37231 (ether_hostton): Call __nss_ethers_lookup2 instead.
37232 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
37233 (ether_ntohost): Call __nss_ethers_lookup2 instead.
37234 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
37235 (setup): Call __nss_netgroup_lookup2 instead.
37236 * nss/Makefile (routines): Add compat-lookup.
37237 * nss/Versions (GLIBC_2.27): Add symbol version.
37238 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
37239 (DB_COMPAT_FCT): Remove.
37240 * nss/compat-lookup.c: New file.
37241 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
37242 from databases.def.
37243 * nss/service-lookup.c (NO_COMPAT): Remove definition.
37244 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
37245 (netname2user): Call __nss_publickey_lookup2 instead.
37246 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
37247 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
37250 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37251 Sergei Trofimovich <slyfox@inbox.ru>
37254 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
37255 Rename to MMAP2_PAGE_UNIT.
37256 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
37257 __OFF_T_MATCHES_OFF64_T is not defined.
37258 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
37260 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
37261 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
37263 2017-08-14 Florian Weimer <fweimer@redhat.com>
37265 i386: Do not set internal_function.
37266 * config.h.in (USE_REGPARMS, internal_function): Remove.
37267 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
37268 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
37270 2017-08-14 Florian Weimer <fweimer@redhat.com>
37272 * elf/dl-init.c (_dl_init): Remove internal_function.
37273 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
37274 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
37276 2017-08-14 Florian Weimer <fweimer@redhat.com>
37278 * elf/rtld.c (_dl_start): Remove internal_function.
37279 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
37282 2017-08-14 Florian Weimer <fweimer@redhat.com>
37284 * elf/dl-fini.c (_dl_fini): Remove internal_function
37285 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
37287 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
37289 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
37290 (bit_cpu_SHSTK): Likewise.
37291 (index_cpu_IBT): Likewise.
37292 (index_cpu_SHSTK): Likewise.
37293 (reg_IBT): Likewise.
37294 (reg_SHSTK): Likewise.
37295 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
37296 Handle index_cpu_IBT and index_cpu_SHSTK.
37298 2017-08-14 Mike FABIAN <mfabian@redhat.com>
37301 * po/fr.po: Fix spelling mistake.
37303 2017-08-13 Florian Weimer <fweimer@redhat.com>
37305 * elf/dl-addr.c (_dl_addr): Remove internal_function.
37306 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
37307 (_dl_catch_error, _dl_receive_error): Likewise.
37308 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
37309 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
37310 (_dl_deallocate_tls): Likewise.
37311 * include/dlfcn.h (_dl_addr): Likewise.
37312 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
37313 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
37314 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
37317 2017-08-13 Florian Weimer <fweimer@redhat.com>
37319 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
37320 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
37322 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
37324 2017-08-13 Florian Weimer <fweimer@redhat.com>
37326 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
37328 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
37329 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
37330 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
37331 internal_function from _dl_make_stack_executable_hook member.
37332 (_dl_make_stack_executable): Remove internal_function.
37333 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
37335 * sysdeps/unix/sysv/linux/dl-execstack.c
37336 (_dl_make_stack_executable): Likewise.
37338 2017-08-13 Florian Weimer <fweimer@redhat.com>
37340 * sysdeps/unix/sysv/linux/netlinkaccess.h
37341 (__netlink_assert_response): Remove internal_function.
37342 * sysdeps/unix/sysv/linux/netlink_assert_response.c
37343 (__netlink_assert_response): Likewise.
37345 2017-08-13 Florian Weimer <fweimer@redhat.com>
37347 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
37349 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
37351 2017-08-13 Florian Weimer <fweimer@redhat.com>
37353 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
37355 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
37356 * inet/netgroup.h (__internal_setnetgrent)
37357 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37358 * inet/getnetgrent_r.c (__internal_setnetgrent)
37359 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37360 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
37361 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
37362 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
37363 * nss/nsswitch.h (db_lookup_function): Likewise.
37365 2017-08-13 Florian Weimer <fweimer@redhat.com>
37367 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
37368 Remove internal_function.
37369 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
37370 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
37371 message argument on the stack.
37372 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
37375 2017-08-12 Mike FABIAN <mfabian@redhat.com>
37377 Adapt test case data to the changes in the thousands
37381 * localedata/tst-langinfo.sh: Adapt test case data.
37382 * stdlib/tst-strfmon_l.c: Likewise.
37383 * stdlib/tst-strtod4.c: Likewise.
37384 * stdlib/tst-strtod5i.c: Likewise.
37386 2017-08-11 Florian Weimer <fweimer@redhat.com>
37389 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
37390 Suppress pedantic warning resulting from statement expression.
37391 (__ASSERT_FUNCTION): Add missing __extension__.
37393 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
37395 * benchtests/bench-memmove-large.c: Print output in JSON
37397 * benchtests/bench-memmove.c: Likewise.
37399 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
37400 * benchtests/bench-memchr.c (do_one_test): Likewise.
37401 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
37402 * benchtests/bench-memcpy.c (do_one_test): Likewise.
37403 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
37404 * benchtests/bench-memmove.c (do_one_test): Likewise.
37405 * benchtests/bench-memset-large.c (do_one_test): Likewise.
37406 * benchtests/bench-memset.c (do_one_test): Likewise.
37407 * benchtests/bench-string.h (test_init): Remove memsets.
37409 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37412 (Computing the Width of an Integer Data Type): Rename section to
37413 "Width of an Integer Type". Remove inaccurate statement regarding
37414 lack of C language facilities for determining width of integer
37415 types, and reorder content to improve flow and context of
37418 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37420 * lang.texi (va_copy): Change standard from ISO to C99.
37421 (__va_copy): Add standard and header annotation.
37422 Update description for clarity of origins and current use.
37424 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37427 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
37428 xssqrtqp requires operands to be in Vector Registers
37429 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
37430 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
37431 (__ieee754_sqrtf128): Likewise.
37433 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
37435 * sysdeps/aarch64/memcmp.S (memcmp):
37436 Rewrite of optimized memcmp.
37438 2017-08-10 Florian Weimer <fweimer@redhat.com>
37440 Introduce ld.so exceptions.
37441 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
37442 (_dl_exception_create, _dl_exception_create_format)
37443 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
37444 (_dl_catch_exception): Declare.
37445 (_dl_catch_error): Update comment.
37446 * elf/dl-error-skeleton.c (struct catch): Replace objname,
37447 errstring, malloced members with exception member.
37448 (_dl_out_of_memory): Remove.
37449 (fatal_error): New function, extracted from _dl_signal_error.
37450 (_dl_signal_exception, _dl_signal_cexception): New functions.
37451 (_dl_signal_error): Call _dl_exception_create to allocate an
37453 (_dl_catch_exception): New function, based on _dl_catch_error.
37454 (_dl_catch_error): Implement using _dl_catch_exception.
37455 * elf/dl-exception.c: New file.
37456 * elf/Makefile (dl-routines): Add dl-exception.
37457 (elide-routines.os): Likewise.
37458 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
37459 _dl_exception_create_format, _dl_exception_free.
37460 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
37461 _dl_signal_exception.
37462 * elf/dl-lookup.c (make_string): Remove.
37463 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
37464 _dl_signal_cexception, _dl_exception_free.
37465 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
37466 _dl_signal_exception.
37467 * elf/dl-sym.c (do_sym): Likewise.
37468 * elf/dl-version.c (make_string): Remove.
37469 (match_symbol): Use _dl_exception_create_format,
37470 _dl_signal_cexception, _dl_exception_free.
37471 (_dl_check_map_versions): Likewise.
37472 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
37473 _dl_catch_exception.
37474 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
37475 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
37476 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
37477 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
37478 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
37479 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
37480 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
37481 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
37483 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
37484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
37486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
37488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
37490 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
37491 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
37492 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
37494 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
37496 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
37498 2017-08-10 Florian Weimer <fweimer@redhat.com>
37500 * inet/net-internal.h (__inet6_scopeid_pton): Remove
37501 attribute_hidden, internal_function.
37502 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
37505 2017-08-10 Florian Weimer <fweimer@redhat.com>
37507 * malloc/malloc.c (get_max_fast): Reimplement as an inline
37508 function which calls __builtin_unreachable.
37510 2017-08-10 Mike FABIAN <mfabian@redhat.com>
37512 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
37513 Indian monetary formatting
37514 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
37517 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
37519 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
37520 Fix typo in comment.
37523 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
37524 PTRACE_SEIZE_DEVEL): Remove.
37525 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
37526 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37527 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37528 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37529 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37531 2017-08-09 Joseph Myers <joseph@codesourcery.com>
37533 * posix/bits/types.h (__qaddr_t): Remove.
37536 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
37537 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37539 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
37540 (ucontext_t): Use __ctx with uc_flags.
37541 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
37542 (__ctxt): Likewise.
37543 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37545 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
37546 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37548 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
37549 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37551 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
37553 (ucontext_t): Use __ctx with uc_flags.
37554 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
37555 (ucontext_t): Use __ctx with uc_flags.
37556 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
37557 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
37558 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
37559 (ucontext_t): Use __ctx with uc_flags.
37560 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
37561 undefine further down.
37562 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37564 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
37565 undefine further down.
37566 (ucontext_t): Use __ctx with uc_flags.
37567 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
37568 undefine further down.
37569 (ucontext_t): Use __ctx with uc_flags.
37570 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
37571 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
37572 Rename uc_pad to __glibc_reserved1.
37573 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
37574 undefine further down.
37575 (ucontext_t): Use __ctx with uc_flags.
37576 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
37578 (ucontext_t): Use __ctx with uc_flags.
37579 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
37580 __ctx with uc_flags.
37581 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
37582 (ucontext_t): Use __ctx with uc_flags.
37583 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
37584 __ctx with uc_flags.
37586 2017-08-09 Florian Weimer <fweimer@redhat.com>
37589 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
37590 before early return.
37592 2017-08-09 Andreas Schwab <schwab@suse.de>
37595 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
37599 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
37600 tst-compat-forwarder.
37601 (modules-names): Add tst-compat-forwarder-mod.
37602 ($(objpfx)tst-compat-forwarder): Depend on
37603 $(objpfx)tst-compat-forwarder-mod.so.
37604 * nptl/tst-compat-forwarder.c: New file.
37605 * nptl/tst-compat-forwarder-mod.c: New file.
37607 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
37609 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
37612 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
37613 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
37615 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
37617 (__libc_ifunc_impl_list): Add __memcpy_falkor.
37618 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
37619 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
37620 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
37622 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
37625 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37628 * manual/setjmp.texi (getcontex): Document uc_stack value
37629 compatibility differences.
37631 2017-08-08 Joseph Myers <joseph@codesourcery.com>
37633 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
37634 (old_malloc_hook): Likewise.
37635 (old_memalign_hook): Likewise.
37636 (old_realloc_hook): Likewise.
37637 (struct hdr): Likewise.
37639 (freehook): Likewise.
37640 (mallochook): Likewise.
37641 (memalignhook): Likewise.
37642 (reallochook): Likewise.
37643 (mprobe): Likewise.
37644 * malloc/mtrace.c (mallwatch): Likewise.
37645 (tr_old_free_hook): Likewise.
37646 (tr_old_malloc_hook): Likewise.
37647 (tr_old_realloc_hook): Likewise.
37648 (tr_old_memalign_hook): Likewise.
37649 (tr_where): Likewise.
37650 (lock_and_info): Likewise.
37651 (tr_freehook): Likewise.
37652 (tr_mallochook): Likewise.
37653 (tr_reallochook): Likewise.
37654 (tr_memalignhook): Likewise.
37655 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
37656 * misc/mmap.c (__mmap): Likewise.
37657 * misc/mmap64.c (__mmap64): Likewise.
37658 * misc/mprotect.c (__mprotect): Likewise.
37659 * misc/msync.c (msync): Likewise.
37660 * misc/munmap.c (__munmap): Likewise.
37661 * posix/posix_madvise.c (posix_madvise): Likewise.
37662 * socket/send.c (__send): Likewise.
37663 * socket/sendto.c (__sendto): Likewise.
37664 * socket/setsockopt.c (__setsockopt): Likewise.
37665 * string/memcmp.c (__ptr_t): Remove macro.
37666 (MEMCMP): Use void * instead of ptr_t.
37667 * string/memrchr.c (__ptr_t): Remove macro.
37668 (__memrchr): Use void * instead of ptr_t.
37669 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
37670 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
37671 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
37672 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
37673 * sysdeps/mach/msync.c (msync): Likewise.
37674 * sysdeps/mach/munmap.c (__munmap): Likewise.
37675 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
37677 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37678 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
37679 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
37680 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
37681 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
37682 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37683 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
37684 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
37686 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37687 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
37688 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
37689 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
37690 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
37691 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
37692 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
37693 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
37694 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
37696 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
37697 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
37698 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
37699 (MEMCMP): Use void * instead of ptr_t.
37700 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
37701 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
37703 2017-08-08 Florian Weimer <fweimer@redhat.com>
37705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
37708 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
37711 * csu/libc-tls.c: Include <startup.h> first.
37712 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
37713 * elf/dl-tunables.c: Include <startup.h> first.
37714 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
37715 * sysdeps/generic/startup.h: New file.
37716 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
37717 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
37718 (I386_USE_SYSENTER): New. Defined to 0.
37720 2017-08-08 Andreas Schwab <schwab@suse.de>
37723 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
37724 * nptl/pt-system.c (system): Likewise.
37726 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37729 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
37731 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
37732 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
37733 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
37734 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
37735 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
37736 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
37737 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
37739 2017-08-07 Joseph Myers <joseph@codesourcery.com>
37742 * bits/sigaction.h (struct sigaction): Define sa_handler and
37743 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
37744 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37745 [__USE_XOPEN_EXTENDED].
37746 (SA_RESTART): Likewise.
37747 (SA_NODEFER): Likewise.
37748 (SA_RESETHAND): Likewise.
37749 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
37750 (struct sigaction): Define sa_handler and sa_sigaction using union
37751 also for [__USE_XOPEN_EXTENDED].
37752 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37753 [__USE_XOPEN_EXTENDED].
37754 (SA_RESTART): Likewise.
37755 (SA_NODEFER): Likewise.
37756 (SA_RESETHAND): Likewise.
37757 * sysdeps/unix/sysv/linux/bits/sigaction.h
37758 (struct sigaction): Define sa_handler and sa_sigaction using union
37759 also for [__USE_XOPEN_EXTENDED].
37760 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37761 [__USE_XOPEN_EXTENDED].
37762 (SA_RESTART): Likewise.
37763 (SA_NODEFER): Likewise.
37764 (SA_RESETHAND): Likewise.
37765 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
37766 (struct sigaction): Define sa_handler and sa_sigaction using union
37767 also for [__USE_XOPEN_EXTENDED].
37768 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37769 [__USE_XOPEN_EXTENDED].
37770 (SA_RESTART): Likewise.
37771 (SA_NODEFER): Likewise.
37772 (SA_RESETHAND): Likewise.
37773 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
37774 (struct sigaction): Define sa_handler and sa_sigaction using union
37775 also for [__USE_XOPEN_EXTENDED].
37776 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37777 [__USE_XOPEN_EXTENDED].
37778 (SA_RESTART): Likewise.
37779 (SA_NODEFER): Likewise.
37780 (SA_RESETHAND): Likewise.
37781 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37782 (struct sigaction): Define sa_handler and sa_sigaction using union
37783 also for [__USE_XOPEN_EXTENDED].
37784 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37785 [__USE_XOPEN_EXTENDED].
37786 (SA_RESTART): Likewise.
37787 (SA_NODEFER): Likewise.
37788 (SA_RESETHAND): Likewise.
37789 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37790 (struct sigaction): Define sa_handler and sa_sigaction using union
37791 also for [__USE_XOPEN_EXTENDED].
37792 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37793 [__USE_XOPEN_EXTENDED].
37794 (SA_RESTART): Likewise.
37795 (SA_NODEFER): Likewise.
37796 (SA_RESETHAND): Likewise.
37797 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37798 (struct sigaction): Define sa_handler and sa_sigaction using union
37799 also for [__USE_XOPEN_EXTENDED].
37800 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37801 [__USE_XOPEN_EXTENDED].
37802 (SA_RESTART): Likewise.
37803 (SA_NODEFER): Likewise. Define directly rather than as alias.
37804 (SA_RESETHAND): Likewise.
37805 (SA_INTERRUPT): Define only for [__USE_MISC].
37806 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
37807 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
37809 (SA_STACK): Define only for [__USE_MISC].
37810 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
37811 (struct sigaction): Define sa_handler and sa_sigaction using union
37812 also for [__USE_XOPEN_EXTENDED].
37813 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37814 [__USE_XOPEN_EXTENDED].
37815 (SA_RESTART): Likewise.
37816 (SA_NODEFER): Likewise.
37817 (SA_RESETHAND): Likewise.
37818 (SA_NOPTRACE): Define only for [__USE_MISC].
37820 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
37821 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
37822 (struct catalog_info): Likewise.
37823 * inet/htontest.c (lo): Likewise.
37825 * inet/inet_lnaof.c (inet_lnaof): Likewise.
37826 * inet/inet_net.c (inet_network): Likewise.
37827 * inet/inet_netof.c (inet_netof): Likewise.
37828 * inet/rcmd.c (__ivaliduser): Likewise.
37829 (iruserok): Likewise.
37830 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
37831 * locale/programs/locale-spec.c (locale_special): Likewise.
37832 * nis/nis_findserv.c (struct findserv_req): Likewise.
37833 (__nis_findfastest_with_timeout): Likewise.
37834 * nss/test-netdb.c (test_network): Likewise.
37835 * resolv/inet_neta.c (inet_neta): Likewise.
37836 * resolv/ns_date.c (ns_datetosecs): Likewise.
37837 (SECS_PER_DAY): Likewise.
37838 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
37840 * resolv/res_comp.c (__putlong): Likewise.
37841 (__putshort): Likewise.
37842 (_getlong): Likewise.
37843 (_getshort): Likewise.
37844 * resolv/res_debug.c (p_time): Likewise.
37845 (precsize_ntoa): Likewise.
37846 (precsize_aton): Likewise.
37847 (latlon2ul): Likewise.
37848 (loc_aton): Likewise.
37849 (loc_ntoa): Likewise.
37850 * resolv/res_hconf.c (struct netaddr): Likewise.
37851 (_res_hconf_reorder_addrs): Likewise.
37852 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
37853 (clnttcp_control): Likewise.
37854 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37855 (clntudp_control): Likewise.
37856 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
37857 (clntunix_control): Likewise.
37858 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
37859 * sunrpc/rpc/auth.h (union des_block): Likewise.
37860 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
37861 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
37862 (xdrrec_create): Likewise.
37863 (xdrrec_endofrecord): Likewise.
37864 (flush_out): Likewise.
37865 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
37866 (xdrstdio_putlong): Likewise.
37867 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
37870 * misc/sys/cdefs.h (__long_double_t): Remove.
37871 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
37872 instead of __long_double_t,
37873 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
37875 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
37877 * benchtests/scripts/compare_strings.py: Avoid display error when
37878 running on a text terminal.
37880 * benchtests/scripts/compare_strings.py (main): Add an
37881 optional -base option.
37882 (process_results): New argument base_func.
37884 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
37886 * benchtests/bench-memcpy-large.c (test_name): Likewise.
37887 * benchtests/bench-memcpy-random.c (test_name): Likewise.
37889 2017-08-07 Andreas Schwab <schwab@suse.de>
37891 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
37892 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37893 * intl/Makefile ($(objpfx)tst-gettext.out)
37894 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
37895 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
37896 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37897 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37898 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
37899 * posix/Makefile ($(objpfx)globtest.out)
37900 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
37901 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
37902 ($(objpfx)tst-printf.out): Likewise.
37903 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
37904 ($(objpfx)tst-setcontext3.out): Likewise.
37906 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
37908 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37909 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
37910 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
37911 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
37912 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
37914 (CFLAGS-doasin-fma.c): New.
37915 (CFLAGS-dosincos-fma.c): Likewise.
37916 (CFLAGS-e_asin-fma.c): Likewise.
37917 (CFLAGS-e_atan2-fma.c): Likewise.
37918 (CFLAGS-e_exp-fma.c): Likewise.
37919 (CFLAGS-e_log-fma.c): Likewise.
37920 (CFLAGS-e_pow-fma.c): Likewise.
37921 (CFLAGS-halfulp-fma.c): Likewise.
37922 (CFLAGS-mpa-fma.c): Likewise.
37923 (CFLAGS-mpatan-fma.c): Likewise.
37924 (CFLAGS-mpatan2-fma.c): Likewise.
37925 (CFLAGS-mpexp-fma.c): Likewise.
37926 (CFLAGS-mplog-fma.c): Likewise.
37927 (CFLAGS-mpsqrt-fma.c): Likewise.
37928 (CFLAGS-mptan-fma.c): Likewise.
37929 (CFLAGS-s_atan-fma.c): Likewise.
37930 (CFLAGS-sincos32-fma.c): Likewise.
37931 (CFLAGS-slowexp-fma.c): Likewise.
37932 (CFLAGS-slowpow-fma.c): Likewise.
37933 (CFLAGS-s_sin-fma.c): Likewise.
37934 (CFLAGS-s_tan-fma.c): Likewise.
37935 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
37936 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
37937 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
37938 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
37939 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
37940 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
37941 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
37942 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
37943 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
37944 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
37945 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
37946 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
37947 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
37948 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
37949 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
37950 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
37951 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
37952 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
37953 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
37954 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
37955 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
37956 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
37957 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
37958 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
37959 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37960 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37961 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37962 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
37963 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37964 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37965 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37967 2017-08-04 Joseph Myers <joseph@codesourcery.com>
37969 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
37970 (min_of_type_f): New macro.
37971 (min_of_type_): Likewise.
37972 (min_of_type_l): Likewise.
37973 (min_of_type_f128): Likewise.
37974 (min_of_type): Define using __MATH_TG and taking an expression
37976 (math_check_force_underflow): Pass expression instead of type to
37978 (math_check_force_underflow_nonneg): Likewise.
37980 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37982 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
37983 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
37984 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
37986 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37988 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37989 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
37990 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
37991 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
37992 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
37993 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
37994 memcpy_chk-nonshared, mempcpy_chk-nonshared,
37995 memmove_chk-nonshared and memset_chk-nonshared
37996 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
37997 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
37998 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
37999 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
38000 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
38001 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
38002 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
38003 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
38004 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
38005 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
38006 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
38007 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
38008 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
38009 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
38010 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
38011 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
38012 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
38013 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
38014 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
38015 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
38016 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
38017 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
38018 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
38019 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
38020 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
38021 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
38022 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
38023 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
38024 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
38025 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
38026 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
38027 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
38028 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
38029 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
38030 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
38031 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
38032 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
38033 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
38034 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
38035 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
38036 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
38037 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
38038 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
38039 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
38040 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
38041 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
38042 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
38043 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
38044 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
38045 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
38046 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
38047 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
38048 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
38049 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
38050 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
38051 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
38052 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
38053 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
38054 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
38055 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
38056 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
38057 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
38058 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
38059 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
38060 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
38061 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
38062 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
38063 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
38064 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
38065 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
38066 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
38067 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38068 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38069 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38070 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38071 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38072 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38073 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38074 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38075 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38076 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38077 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38078 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38079 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38080 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38081 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38082 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38083 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38084 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38085 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38086 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38087 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38088 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38089 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38090 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38091 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38092 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38093 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38094 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38095 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38096 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38097 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38098 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38099 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38100 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38101 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38102 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38103 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38105 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38107 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
38108 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
38109 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
38110 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
38111 svml_d_log2_core-sse2, svml_d_log4_core-sse,
38112 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
38113 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
38114 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
38115 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
38116 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
38117 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
38118 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
38119 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
38120 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
38121 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
38122 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
38123 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
38124 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
38125 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
38126 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
38127 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
38128 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
38129 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
38130 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
38131 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
38132 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
38133 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
38134 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
38135 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
38136 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
38137 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
38138 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
38139 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
38140 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
38141 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
38142 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
38143 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
38144 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
38145 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
38146 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
38147 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
38148 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
38149 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
38150 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
38151 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
38152 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
38153 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
38154 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
38155 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
38156 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
38157 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
38158 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
38159 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
38160 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
38161 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
38162 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
38163 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
38164 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
38165 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
38167 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
38168 Don't include <sysdep.h> nor <init-arch.h>.
38169 (_ZGVbN2v_cos): Removed.
38170 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
38172 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
38173 Don't include <sysdep.h> nor <init-arch.h>.
38174 (_ZGVdN4v_cos): Removed.
38175 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
38177 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
38178 Don't include <sysdep.h> nor <init-arch.h>.
38179 (_ZGVeN8v_cos): Removed.
38180 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
38182 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
38183 Don't include <sysdep.h> nor <init-arch.h>.
38184 (_ZGVbN2v_exp): Removed.
38185 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
38187 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
38188 Don't include <sysdep.h> nor <init-arch.h>.
38189 (_ZGVdN4v_exp): Removed.
38190 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
38192 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
38193 Don't include <sysdep.h> nor <init-arch.h>.
38194 (_ZGVeN8v_exp): Removed.
38195 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
38197 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
38198 Don't include <sysdep.h> nor <init-arch.h>.
38199 (_ZGVbN2v_log): Removed.
38200 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
38202 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
38203 Don't include <sysdep.h> nor <init-arch.h>.
38204 (_ZGVdN4v_log): Removed.
38205 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
38207 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
38208 Don't include <sysdep.h> nor <init-arch.h>.
38209 (_ZGVeN8v_log): Removed.
38210 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
38212 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
38213 Don't include <sysdep.h> nor <init-arch.h>.
38214 (_ZGVbN2vv_pow): Removed.
38215 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
38217 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
38218 Don't include <sysdep.h> nor <init-arch.h>.
38219 (_ZGVdN4vv_pow): Removed.
38220 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
38222 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
38223 Don't include <sysdep.h> nor <init-arch.h>.
38224 (_ZGVeN8vv_pow): Removed.
38225 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
38227 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
38228 Don't include <sysdep.h> nor <init-arch.h>.
38229 (_ZGVbN2v_sin): Removed.
38230 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
38232 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
38233 Don't include <sysdep.h> nor <init-arch.h>.
38234 (_ZGVbN4v_sin): Removed.
38235 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
38237 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
38238 Don't include <sysdep.h> nor <init-arch.h>.
38239 (_ZGVbN8v_sin): Removed.
38240 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
38242 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
38243 Don't include <sysdep.h> nor <init-arch.h>.
38244 (_ZGVbN2vvv_sincos): Removed.
38245 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
38247 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
38248 Don't include <sysdep.h> nor <init-arch.h>.
38249 (_ZGVdN4vvv_sincos): Removed.
38250 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
38252 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
38253 Don't include <sysdep.h> nor <init-arch.h>.
38254 (_ZGVeN8vvv_sincos): Removed.
38255 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
38257 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
38258 Don't include <sysdep.h> nor <init-arch.h>.
38259 (_ZGVeN16v_cosf): Removed.
38260 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
38262 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
38263 Don't include <sysdep.h> nor <init-arch.h>.
38264 (_ZGVbN4v_cosf): Removed.
38265 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
38267 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
38268 Don't include <sysdep.h> nor <init-arch.h>.
38269 (_ZGVdN8v_cosf): Removed.
38270 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
38272 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
38273 Don't include <sysdep.h> nor <init-arch.h>.
38274 (_ZGVeN16v_expf): Removed.
38275 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
38277 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
38278 Don't include <sysdep.h> nor <init-arch.h>.
38279 (_ZGVbN4v_expf): Removed.
38280 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
38282 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
38283 Don't include <sysdep.h> nor <init-arch.h>.
38284 (_ZGVdN8v_expf): Removed.
38285 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
38287 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
38288 Don't include <sysdep.h> nor <init-arch.h>.
38289 (_ZGVeN16v_logf): Removed.
38290 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
38292 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
38293 Don't include <sysdep.h> nor <init-arch.h>.
38294 (_ZGVbN4v_logf): Removed.
38295 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
38297 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
38298 Don't include <sysdep.h> nor <init-arch.h>.
38299 (_ZGVdN8v_logf): Removed.
38300 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
38302 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
38303 Don't include <sysdep.h> nor <init-arch.h>.
38304 (_ZGVeN16vv_powf): Removed.
38305 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
38307 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
38308 Don't include <sysdep.h> nor <init-arch.h>.
38309 (_ZGVbN4vv_powf): Removed.
38310 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
38312 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
38313 Don't include <sysdep.h> nor <init-arch.h>.
38314 (_ZGVdN8vv_powf): Removed.
38315 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
38317 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
38318 Don't include <sysdep.h> nor <init-arch.h>.
38319 (_ZGVeN16vvv_sincosf): Removed.
38320 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
38322 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
38323 Don't include <sysdep.h> nor <init-arch.h>.
38324 (_ZGVbN4vvv_sincosf): Removed.
38325 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
38327 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
38328 Don't include <sysdep.h> nor <init-arch.h>.
38329 (_ZGVdN8vvv_sincosf): Removed.
38330 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
38332 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
38333 Don't include <sysdep.h> nor <init-arch.h>.
38334 (_ZGVeN16v_sinf): Removed.
38335 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
38337 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
38338 Don't include <sysdep.h> nor <init-arch.h>.
38339 (_ZGVbN4v_sinf): Removed.
38340 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
38342 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
38343 Don't include <sysdep.h> nor <init-arch.h>.
38344 (_ZGVdN8v_sinf): Removed.
38346 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38348 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38349 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
38350 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
38351 s_rint-sse4_1 and s_rintf-sse4_1.
38352 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
38353 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
38354 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
38355 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
38356 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
38357 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
38358 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
38359 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
38360 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
38361 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
38362 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
38363 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38365 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
38366 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
38367 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38368 (__ceilf): Removed.
38369 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
38370 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
38371 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38372 (__floor): Removed.
38373 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
38374 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
38375 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38376 (__floorf): Removed.
38377 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
38378 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
38379 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38380 (__nearbyint): Removed.
38381 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
38382 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
38383 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38384 (__nearbyintf): Removed.
38385 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
38386 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
38387 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38389 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
38390 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
38391 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38392 (__rintf): Removed.
38394 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38396 * sysdeps/i386/start.S (_start): Check Check PIC instead of
38397 SHARED. Avoid dynamic relocation against main in static PIE.
38399 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38402 * elf/Makefile (CFLAGS-tst-prelink.c): New.
38403 (LDFLAGS-tst-prelink): Likewise.
38405 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38407 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
38408 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
38409 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
38410 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
38411 (INTERNAL_SYSCALL_NCS): Likewise.
38412 (LOADARGS_1): Likewise.
38413 (LOADARGS_5): Likewise.
38414 (RESTOREARGS_1): Likewise.
38415 (RESTOREARGS_5): Likewise.
38417 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38419 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
38420 (MEMPCPY_SYMBOL): Likewise.
38421 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38422 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
38423 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
38425 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38426 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
38428 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
38429 (__hidden_ver1): Don't use in libc.a.
38430 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
38431 (__mempcpy): Don't create a weak alias in libc.a.
38432 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
38434 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
38435 (__hidden_ver1): Don't use in libc.a.
38437 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38439 * config.make.in (have-insert): New.
38440 * configure.ac (libc_cv_insert): New. Set to yes if linker
38441 supports INSERT in linker script.
38442 (AC_SUBST(libc_cv_insert): New.
38443 * configure: Regenerated.
38444 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
38445 if $(have-insert) == yes.
38447 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38449 * elf/Makefile (tests): Add vismain only if
38450 $(have-protected-data) == yes.
38451 (tests-pie): Likewise.
38453 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38456 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
38457 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
38459 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38462 * sysdeps/i386/i586/memset.S
38463 (__memset_zero_constant_len_parameter): Removed.
38464 * sysdeps/i386/i686/memset.S
38465 (__memset_zero_constant_len_parameter): Likewise.
38466 * sysdeps/i386/i686/multiarch/memset_chk.S
38467 (__memset_zero_constant_len_parameter): Likewise.
38468 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
38471 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38473 * stdlib/getentropy.c (getentropy): Change return type to int.
38475 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38477 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
38479 2017-08-03 Joseph Myers <joseph@codesourcery.com>
38481 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
38483 * math/s_nexttowardf.c (__nexttowardf): Likewise.
38484 * sysdeps/generic/math_private.h (ieee_double_shape_type):
38486 (ieee_float_shape_type): Likewise.
38487 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
38488 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
38489 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38490 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38491 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
38492 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
38493 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
38494 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38495 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
38497 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38498 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
38499 (__ieee754_yn): Likewise.
38500 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38501 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38502 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
38504 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38505 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
38506 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
38507 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
38508 (__erfc): Likewise.
38509 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
38510 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
38511 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
38512 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
38513 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
38514 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
38516 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
38517 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
38518 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
38519 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
38520 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38521 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
38522 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
38523 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
38524 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
38525 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
38526 (__issignaling): Likewise.
38527 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
38528 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
38529 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
38531 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38532 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
38533 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
38534 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
38536 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
38538 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
38539 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
38540 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
38541 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
38542 (__erfcf): Likewise.
38543 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
38544 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
38545 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
38546 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
38548 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
38549 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
38551 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
38552 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
38553 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
38554 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
38555 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
38556 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38557 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
38558 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
38560 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
38562 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
38564 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
38565 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
38567 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38569 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
38570 (__ieee754_ynl): Likewise.
38571 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
38572 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
38574 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
38576 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
38577 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
38578 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38580 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
38581 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
38582 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
38583 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
38584 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
38585 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
38586 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
38587 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
38589 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
38590 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
38591 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
38593 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
38594 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
38595 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
38596 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
38597 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
38598 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38600 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38602 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38604 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38606 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
38607 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38608 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38609 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
38610 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
38611 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
38612 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
38614 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38616 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38617 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38619 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
38620 (__ieee754_remainderl): Likewise.
38621 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38622 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38623 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38624 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38626 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38627 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38629 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38630 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
38631 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
38632 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
38633 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38634 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38636 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
38637 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
38638 (__ieee754_y0l): Likewise.
38641 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38642 (__ieee754_y1l): Likewise.
38645 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
38646 (__ieee754_ynl): Likewise.
38647 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
38648 (__ieee754_lgammal_r): Likewise.
38649 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
38651 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
38652 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
38653 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
38654 (__erfcl): Likewise.
38655 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
38656 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
38658 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
38659 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
38660 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
38661 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
38662 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
38663 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38664 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38666 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
38667 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38668 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
38669 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
38670 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38672 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
38673 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
38675 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
38676 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
38677 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
38678 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38679 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
38681 2017-08-03 Florian Weimer <fweimer@redhat.com>
38684 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
38685 on memory allocation failure.
38687 2017-08-03 Alan Modra <amodra@gmail.com>
38689 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
38690 tst-tlsopt-powerpc.c with function name change and no test harness.
38691 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
38692 Call tls_get_addr_opt_test.
38693 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
38694 (modules-names): Add mod-tlsopt-powerpc.
38695 (mod-tlsopt-powerpc.so-no-z-defs): Define.
38696 (tst-tlsopt-powerpc): Depend on .so.
38697 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
38698 define. Expand use in TLS_GD and TLS_LD.
38700 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38702 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
38704 * sysdeps/posix/shm_open.c: Include <pthread.h>.
38706 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38709 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
38710 comparing size with that of double.
38711 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38712 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38713 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38714 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38715 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38716 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
38717 unsigned __int128 types.
38719 2017-08-02 Steve Ellcey <sellcey@cavium.com>
38721 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
38722 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
38723 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
38724 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
38725 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
38727 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38729 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
38731 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38733 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
38735 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38736 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38737 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38738 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38739 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38740 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38741 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38743 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38746 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
38747 bit-field expressions passed to sizeof or typeof.
38748 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38749 (__TGMATH_F128): Likewise.
38750 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38751 (__TGMATH_CF128): Likewise.
38752 (__TGMATH_UNARY_REAL_ONLY): Likewise.
38753 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
38754 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
38755 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
38756 (__TGMATH_BINARY_REAL_ONLY): Likewise.
38757 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38758 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38759 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38760 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38761 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
38762 (__TGMATH_UNARY_REAL_IMAG): Likewise.
38763 (__TGMATH_UNARY_IMAG): Likewise.
38764 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
38765 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38766 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
38768 (define_vars_for_type): Handle bit_field type specially.
38769 (Tests.__init__): Declare structure with bit-field element.
38771 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38774 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
38775 (MEMCPY_CHK): Define only if SHARED is defined.
38776 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
38778 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
38781 See ChangeLog.18 for earlier changes.