]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
[powerpc] __fesetround_inline optimizations
[thirdparty/glibc.git] / ChangeLog
1 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
2
3 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline): Use
4 'mffscrn' instruction on POWER9.
5 (__fesetround_inline_nocheck): Likewise.
6
7 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
8
9 * sysdeps/powerpc/fpu/fenv_libc.h (FPSCR_EXCEPTIONS_MASK): New.
10 * sysdeps/powerpc/fpu/fenv_private.h (__libc_femergeenv_ppc): Optimize
11 to write FPSCR control only, if exceptions have not changed.
12
13 2019-09-27 Paul A. Clarke <pc@us.ibm.com>
14
15 * sysdeps/powerpc/fpu/fenv_libc.h:
16 (__TEST_AND_ENTER_NON_STOP): New.
17 (__TEST_AND_EXIT_NON_STOP): New.
18 * sysdeps/powerpc/fpu/fenv_private.h
19 (_FPU_ALL_TRAPS): Delete, replace with FPSCR_ENABLES_MASK.
20 (_FPU_MASK_RN): Delete.
21 (_FPU_MASK_NOT_RN_NI): Delete.
22 (_FPU_MASK_TRAPS_RN): Delete, replace with ~FPSCR_CONTROL_MASK.
23 (_FPU_MASK_FRAC_INEX_RET_CC): Delete, replace with ~FPSCR_STATUS_MASK.
24 (__libc_feholdbits_ppc): Delete, move code into
25 libc_feholdexcept_setround_ppc.
26 (libc_feholdexcept_ppc): Delete.
27 (libc_fesetround_ppc): Delete.
28 (libc_fetestexcept_ppc): Delete.
29 (libc_feholdsetround_ppc): Delete.
30 (__libc_femergeenv_ppc): Use __TEST_AND_ENTER/EXIT_NON_STOP.
31 (libc_feholdsetround_noex_ppc_ctx): Likewise.
32 (libc_feupdateenv_test_ppc): Use FPSCR defines.
33 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
34 __TEST_AND_ENTER_NON_STOP.
35 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36 * sysdeps/powerpc/fpu/feholdexcpt.c (__feholdexcept): Likewise.
37 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
38 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Likewise.
39 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40 (_FPU_MASK_ALL): Delete.
41
42 2019-09-27 Joseph Myers <joseph@codesourcery.com>
43
44 * sysdeps/gnu/netinet/tcp.h (TCP_TX_DELAY): New macro.
45
46 2019-09-26 Lukasz Majewski <lukma@denx.de>
47
48 * include/time.h: Add struct __timespec64 definition
49
50 2019-09-26 Siddhesh Poyarekar <siddhesh@gotplt.org>
51
52 * scripts/vcs_to_changelog/misc_util.py (decode): Remove latin1
53 from codecs.
54
55 2019-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
56
57 * rt/Makefile (CFLAGS-clock_nanosleep.c): Move to ...
58 * time/Makefile (CFLAGS-clock_nanosleep.c): ... here.
59
60 * sysdeps/unix/sysv/linux/Makefile
61 (CFLAGS-tst-sigcontextinfo-get_pc.c): Rename to
62 CFLAGS-tst-sigcontext-get_pc.c.
63
64 2019-09-24 Alistair Francis <alistair.francis@wdc.com>
65
66 * inet/net-internal.h: Fix uninitalised clntudp_call() variable.
67
68 2019-09-24 Andreas Schwab <schwab@suse.de>
69
70 * sysdeps/unix/sysv/linux/arm/sysdep.h
71 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
72 not "__vdso_gettimeofday".
73 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
74 "__vdso_clock_gettime".
75 * sysdeps/unix/sysv/linux/mips/sysdep.h
76 (HAVE_CLOCK_GETTIME_VSYSCALL): Define to "__vdso_clock_gettime",
77 not "__vdso_gettimeofday".
78 (HAVE_GETTIMEOFDAY_VSYSCALL): Define to "__vdso_gettimeofday", not
79 "__vdso_clock_gettime".
80
81 2019-09-19 Paul A. Clarke <pc@us.ibm.com>
82
83 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_and_set_rn): New.
84 (__fe_mffscrn): New.
85 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
86 Do not clear enable bits, remove obsolete code, use
87 fegetenv_and_set_rn.
88 (libc_feresetround_ppc): Remove obsolete code, use
89 fegetenv_and_set_rn.
90
91 2019-09-19 Stefan Liebler <stli@linux.ibm.com>
92
93 * support/support_ptrace.c: Remove inclusion of sys/prctl.h.
94
95 2019-09-19 Stefan Liebler <stli@linux.ibm.com>
96
97 * sysdeps/s390/hp-timing.h (_HP_TIMING_H): Undefine.
98 (_HP_TIMING_S390_H): Define.
99
100 2019-09-18 Joseph Myers <joseph@codesourcery.com>
101
102 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
103 version to 5.3.
104 (clone3): New syscall.
105 (pidfd_open): Likewise.
106
107 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
108 version to 5.3.
109
110 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
111
112 * sysdeps/s390/hp-timing.h: New file.
113
114 2019-09-18 Joseph Myers <joseph@codesourcery.com>
115
116 * sysdeps/unix/sysv/linux/riscv/vfork.S: Do not include
117 <linux/sched.h>.
118 (CLONE_VM): New macro.
119 (CLONE_VFORK): Likewise.
120
121 2019-09-18 Stefan Liebler <stli@linux.ibm.com>
122
123 * elf/tst-pldd.c (do_test): Add UNSUPPORTED check.
124 Rearrange subprocesses.
125 (pldd_process): New function.
126 * support/Makefile (libsupport-routines): Add support_ptrace.
127 * support/xptrace.h: New file.
128 * support/support_ptrace.c: Likewise.
129
130 2019-09-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
131
132 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Remove file.
133
134 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
135 (INTERNAL_VSYSCALL_CALL): Remove.
136 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
137 (INTERNAL_VSYSCALL_CALL): Likewise.
138 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
139 (INTERNAL_VSYSCALL_CALL): Likewise.
140 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_VSYSCALL_CALL):
141 New macro.
142
143 * sysdeps/unix/sysv/linux/libc-vdso.h (VDSO_IFUNC_RET): Define if not
144 defined.
145 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
146 (__get_timebase_freq): Remove use of
147 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK.
148 (get_timebase_freq_fallback): New symbol.
149 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (time): Use
150 HAVE_GETTIMEOFDAY_VSYSCALL.
151 * sysdeps/unix/sysv/linux/powerpc/time.c (gettimeofday): Use
152 HAVE_TIME_VSYSCALL.
153 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Include generic
154 implementation.
155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
156 (INTERNAL_VSYSCALL_CALL_TYPE): Make calling convention similar to
157 powerpc64.
158 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove macro.
159 * .../sysv/linux/powerpc/powerpc64/sysdep.h
160 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Likewise.
161 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
162 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
163
164 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address,
165 is_sigtramp_address_rt): Use HAVE_SIGTRAMP_{RT}32 instead of SHARED.
166 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address):
167 Likewise.
168 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove file.
169 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Likewise.
170 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
171 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Likewise.
172 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
173 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Likewise.
174 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
175 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
176 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
177 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
178 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
179 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
180 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
181 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Likewise.
182 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
183 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
184 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
185 HAVE_GETTIMEOFDAY_VSYSCALL): Define value based on kernel exported
186 name.
187 * sysdeps/unix/sysv/linux/arm/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
188 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
189 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
190 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
191 * sysdeps/unix/sysv/linux/mips/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
192 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
193 * sysdeps/unix/sysv/linux/powerpc/sysdep.h
194 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
195 HAVE_GETCPU_VSYSCALL, HAVE_TIME_VSYSCALL, HAVE_GET_TBFREQ,
196 HAVE_SIGTRAMP_RT64, HAVE_SIGTRAMP_32, HAVE_SIGTRAMP_RT32i,
197 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
198 * sysdeps/unix/sysv/linux/riscv/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
199 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
200 HAVE_GETCPU_VSYSCALL): Likewise.
201 * sysdeps/unix/sysv/linux/s390/sysdep.h (HAVE_CLOCK_GETRES_VSYSCALL,
202 HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
203 HAVE_GETCPU_VSYSCALL): Likewise.
204 * sysdeps/unix/sysv/linux/sparc/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL,
205 HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
206 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
207 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL,
208 HAVE_GETCPU_VSYSCALL): Likewise.
209 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME, VDSO_HASH): Define to
210 invalid names if architecture does not define them.
211 (get_vdso_mangle_symbol): New symbol.
212 * sysdeps/unix/sysv/linux/init-first.c: New file.
213 * sysdeps/unix/sysv/linux/libc-vdso.h: Likewise.
214 * sysdeps/unix/sysv/linux/powerpc/init-first.c (gettimeofday,
215 clock_gettime, clock_getres, getcpu, time): Remove declaration.
216 (__libc_vdso_platform_setup_arch): Likewise and use
217 get_vdso_mangle_symbol to setup vDSO symbols.
218 (sigtramp_rt64, sigtramp32, sigtramp_rt32, get_tbfreq): Add
219 attribute_hidden.
220 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Likewise.
221 * sysdeps/unix/sysv/linux/sysdep-vdso.h (VDSO_SYMBOL): Remove
222 definition.
223
224 * sysdeps/unix/make-syscalls.sh: Make vDSO call use get_vdso_symbol.
225 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (__gettimeofday):
226 Use get_vdso_symbol instead of _dl_vdso_vsym.
227 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
228 * sysdeps/unix/sysv/linux/riscv/flush-icache.c
229 (__lookup_riscv_flush_icache): Likewise.
230 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
231 Likewise.
232 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
233 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
234 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
235 * sysdeps/unix/sysv/linux/arm/init-first.c: Likewise.
236 * sysdeps/unix/sysv/linux/i386/init-first.c: Likewise.
237 * sysdeps/unix/sysv/linux/mips/init-first.c: Likewise.
238 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
239 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
240 * sysdeps/unix/sysv/linux/sparc/init-first.c: Likewise.
241 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
242 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
243 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (VDSO_NAME, VDSO_HASH):
244 Define.
245 * sysdeps/unix/sysv/linux/arm/sysdep.h (VDSO_NAME, VDSO_HASH):
246 Likewise.
247 * sysdeps/unix/sysv/linux/i386/sysdep.h (VDSO_NAME, VDSO_HASH):
248 Likewise.
249 * sysdeps/unix/sysv/linux/riscv/sysdep.h (VDSO_NAME, VDSO_HASH):
250 Likewise.
251 * sysdeps/unix/sysv/linux/sparc/sysdep.h (VDSO_NAME, VDSO_HASH):
252 Likewise.
253 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (VDSO_NAME, VDSO_HASH):
254 Likewise.
255 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
256 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Remove
257 definition.
258 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
259 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
260 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
261 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
263 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
265 (HAVE_CLOCK_GETTIME_VSYSCALL, HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
266 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
267 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
268 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
269 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
270 (HAVE_CLOCK_GETRES_VSYSCALL, HAVE_CLOCK_GETTIME_VSYSCALL,
271 HAVE_GETTIMEOFDAY_VSYSCALL, HAVE_GETCPU_VSYSCALL): Likewise.
272 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
273 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
274 * sysdeps/unix/sysv/linux/s390/sysdep.h: Likewise.
275 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION,
276 PREPARE_VERSION_KNOWN, VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6,
277 VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15,
278 VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29,
279 VDSO_NAME_LINUX_4_15, VDSO_HASH_LINUX_4_15): Remove defines.
280 (get_vdso_symbol): New function.
281
282 2019-09-17 Chung-Lin Tang <cltang@codesourcery.com>
283
284 * sysdeps/generic/hp-timing-common.h (HP_TIMING_PRINT): Correct
285 position of string null termination.
286
287 2019-09-14 Aurelien Jarno <aurelien@aurel32.net>
288
289 [BZ #24986]
290 * sysdeps/unix/alpha/getegid.S: Move to ...
291 * sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
292 * sysdeps/unix/alpha/geteuid.S: Move to ...
293 * sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
294 * sysdeps/unix/alpha/getppid.S: Move to ...
295 * sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
296
297 2019-09-09 Paul Eggert <eggert@cs.ucla.edu>
298
299 Fix http: URL in 'configure'
300 * configure.ac: Add URL to AC_INIT so that it generates an
301 https: URL instead of an http: URL.
302 * configure: Regenerate.
303
304 Regenerate charmap-kw.h, locfile-kw.h
305 This propagates the recent http->https URL changes.
306 Since I used gperf 3.1 to regenerate, this is also a minor
307 internal-to-localedef API change.
308 URL problem reported by Joseph Myers in:
309 https://www.sourceware.org/ml/libc-alpha/2019-09/msg00143.html
310 * locale/programs/charmap-kw.h, locale/programs/locfile-kw.h:
311 Regenerate with gperf 3.1.
312 * locale/programs/linereader.h (kw_hash_fct_t):
313 * locale/programs/repertoire.c (repertoiremap_hash):
314 2nd arg is now size_t not unsigned, for compatibility with gperf 3.1.
315
316 2019-09-05 Florian Weimer <fweimer@redhat.com>
317
318 [BZ #24962]
319 * locale/localeinfo.h (_nl_category_names): Remove union wrapper.
320 (_nl_category_names_get): New function.
321 * intl/dcigettext.c (category_to_name): Call it.
322 * locale/findlocale.c (_nl_find_locale): Likewise.
323 * intl/loadlocale.c (_nl_load_locale): Likewise.
324 * locale/newlocale.c (__newlocale): Likewise.
325 * locale/setlocale.c (_nl_category_names): Adjust definition.
326 (_nl_category_name_idxs): Likewise.
327 (new_composite_name): Call _nl_category_names_get.
328 (setlocale): Likewise.
329
330 2019-09-05 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
331
332 * math/bits/mathcalls.h (totalorder, totalordermag): Replace
333 const attribute with pure attribute.
334
335 2019-09-04 Lukasz Majewski <lukma@denx.de>
336
337 * sysdeps/unix/sysv/linux/kernel-features.h
338 (__ASSUME_TIME64_SYSCALLS): New macro.
339
340 2019-09-04 Zack Weinberg <zackw@panix.com>
341
342 [BZ #24959]
343 * rt/clock_getcpuclockid.c: Move to time/clock_getcpuclockid.c.
344 * rt/clock_getres.c: Move to time/clock_getres.c.
345 * rt/clock_gettime.c: Move to time/clock_gettime.c.
346 * rt/clock_nanosleep.c: Move to time/clock_nanosleep.c.
347 * rt/clock_settime.c: Move to time/clock_settime.c.
348 * rt/tst-clock.c: Move to time/tst-clock.c.
349 * rt/tst-clock2.c: Move to time/tst-clock2.c.
350 * rt/tst-clock_nanosleep.c: Move to time/tst-clock_nanosleep.c.
351 * rt/tst-cpuclock1.c: Move to time/tst-cpuclock1.c.
352 * rt/clock-compat.c: Delete file.
353
354 * time/clock_getcpuclockid.c
355 * time/clock_getres.c
356 * time/clock_gettime.c
357 * time/clock_nanosleep.c
358 * time/clock_settime.c
359 * sysdeps/posix/clock_getres.c
360 * sysdeps/unix/clock_gettime.c
361 * sysdeps/unix/clock_nanosleep.c
362 * sysdeps/unix/clock_settime.c
363 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
364 * sysdeps/unix/sysv/linux/clock_getres.c
365 * sysdeps/unix/sysv/linux/clock_gettime.c
366 * sysdeps/unix/sysv/linux/clock_nanosleep.c
367 * sysdeps/unix/sysv/linux/clock_settime.c: Define the function
368 defined by this file with default symbol version GLIBC_2_17,
369 and optionally a compatibility alias at symbol version GLIBC_2_2.
370 * include/time.h: Remove internal prototypes for clock_getres,
371 clock_nanosleep, and clock_getcpuclockid.
372
373 * sysdeps/unix/sysv/linux/clock_gettime.c: Prune includes.
374 Remove unused function realtime_gettime.
375
376 * rt/Makefile (clock-routines, routines): Remove variable.
377 (librt-routines): Remove clock-compat.
378 (tests): Remove tst-clock, tst-clock2, tst-clock_nanosleep,
379 and tst-cpuclock1.
380 * time/Makefile (routines): Add clock_getres, clock_gettime,
381 clock_settime, clock_getcpuclockid, and clock_nanosleep.
382 (tests): Add tst-clock, tst-clock2, tst-clock_nanosleep,
383 and tst-cpuclock1.
384
385 * rt/Versions (libc): Remove entire stanza.
386 (librt GLIBC_2.2): Remove all clock_* functions.
387 * time/Versions (libc GLIBC_2.2, libc GLIBC_2.17):
388 Add clock_getres, clock_gettime, clock_settime,
389 clock_getcpuclockid, and clock_nanosleep.
390 (libc GLIBC_PRIVATE): Add __clock_gettime.
391
392 * sysdeps/mach/hurd/i386/librt.abilist
393 * sysdeps/unix/sysv/linux/alpha/librt.abilist
394 * sysdeps/unix/sysv/linux/arm/be/librt.abilist
395 * sysdeps/unix/sysv/linux/arm/le/librt.abilist
396 * sysdeps/unix/sysv/linux/hppa/librt.abilist
397 * sysdeps/unix/sysv/linux/i386/librt.abilist
398 * sysdeps/unix/sysv/linux/ia64/librt.abilist
399 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
400 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
401 * sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
402 * sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
403 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
404 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist
405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
407 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
408 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
409 * sysdeps/unix/sysv/linux/sh/librt.abilist
410 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
411 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
412 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
413 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist:
414 Remove entries for clock_getres, clock_gettime, clock_settime,
415 clock_getcpuclockid, and clock_nanosleep.
416
417 * sysdeps/mach/hurd/i386/libc.abilist
418 * sysdeps/unix/sysv/linux/alpha/libc.abilist
419 * sysdeps/unix/sysv/linux/arm/libc.abilist
420 * sysdeps/unix/sysv/linux/hppa/libc.abilist
421 * sysdeps/unix/sysv/linux/i386/libc.abilist
422 * sysdeps/unix/sysv/linux/ia64/libc.abilist
423 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
424 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
425 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
426 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
427 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
428 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
432 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
433 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
434 * sysdeps/unix/sysv/linux/sh/be/libc.abilist
435 * sysdeps/unix/sysv/linux/sh/le/libc.abilist
436 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
437 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
438 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
439 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
440 Add another set of entries for clock_getres, clock_gettime,
441 clock_settime, clock_getcpuclockid, and clock_nanosleep at
442 whatever version GLIBC_2.2 maps to.
443
444 2019-09-03 Aurelien Jarno <aurelien@aurel32.net>
445
446 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
447
448 2019-09-03 Florian Weimer <fweimer@redhat.com>
449
450 [BZ #24950]
451 * locale/programs/charmap.h (struct charseq): Turn bytes into a
452 flexible array member.
453 * locale/programs/ld-ctype.c (ctype_finish): Use initializer for
454 replace.
455
456 2019-09-02 Florian Weimer <fweimer@redhat.com>
457
458 * misc/tst-mntent-autofs.c: New file.
459 * misc/Makefile (tests): Add misc/tst-mntent-autofs.
460
461 2019-09-02 Ian Kent <ikent@redhat.com>
462
463 Use autofs "ignore" mount hint in getmntent_r/getmntent.
464 * misc/mntent_r.c (get_mnt_entry): New function, extracted from
465 getmntent_r.
466 (__getmntent_r): Call it. Filter out autofs entries with an
467 "ignore" mount option.
468
469 2019-08-30 Wilco Dijkstra <wdijkstr@arm.com>
470
471 * benchtests/bench-memcpy.c (simple_memcpy): Remove.
472 (generic_memcpy): Include generic C memcpy.
473 * benchtests/bench-memmove.c (simple_memmove): Remove.
474 (generic_memmove): Include generic C memmove.
475 * benchtests/bench-memset.c (simple_memset): Remove.
476 (generic_memset): Include generic C memset.
477 * benchtests/bench-memset-large.c (simple_memset): Remove.
478 (generic_memset): Include generic C memset.
479 * benchtests/bench-memset-walk.c (simple_memset): Remove.
480 (generic_memset): Include generic C memset.
481 * string/memcpy.c (MEMCPY): Add defines to enable redirection.
482 * string/memset.c (MEMSET): Likewise.
483 * sysdeps/x86_64/memcopy.h: Remove empty file.
484
485 2019-08-30 Florian Weimer <fweimer@redhat.com>
486
487 nptl: Move pthread_attr_getinheritsched implementation into libc.
488 * nptl/Makefile (routines): Add pthread_attr_getinheritsched.
489 (libpthread-routines): Remove pthread_attr_getinheritsched.
490 * nptl/Versions (libpthread GLIBC_2.0): Remove
491 pthread_attr_getinheritsched.
492 * nptl/forward.c (pthread_attr_getinheritsched): Remove definition.
493 * nptl/nptl-init.c (pthread_functions): Remove initializer for
494 ptr_pthread_attr_getinheritsched.
495 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
496 Remove ptr_pthread_attr_getinheritsched member.
497 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
498 Remove pthread_attr_getinheritsched.
499 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
500 Likewise.
501 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
502 Likewise.
503 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
504 Likewise.
505 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
506 Likewise.
507 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
508 Likewise.
509 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
510 Likewise.
511 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
512 Likewise.
513 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
514 (GLIBC_2.4): Likewise.
515 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
516 (GLIBC_2.0): Likewise.
517 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
518 (GLIBC_2.18): Likewise.
519 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
520 (GLIBC_2.18): Likewise.
521 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
522 (GLIBC_2.0): Likewise.
523 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
524 (GLIBC_2.0): Likewise.
525 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
526 Likewise.
527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
528 (GLIBC_2.0): Likewise.
529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
530 (GLIBC_2.3): Likewise.
531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
532 (GLIBC_2.17): Likewise.
533 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
534 (GLIBC_2.27): Likewise.
535 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
536 (GLIBC_2.0): Likewise.
537 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
538 (GLIBC_2.2): Likewise.
539 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
540 Likewise.
541 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
542 Likewise.
543 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
544 (GLIBC_2.0): Likewise.
545 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
546 (GLIBC_2.2): Likewise.
547 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
548 (GLIBC_2.2.5): Likewise.
549 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
550 (GLIBC_2.16): Likewise.
551
552 2019-08-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
553
554 * sysdeps/mach/hurd/getcwd.c
555 (_hurd_canonicalize_directory_name_internal): Do not remove the heading
556 slash if we got an unknown root directory. (__getcwd): Do not fail with
557 EGRATUITOUS if we got an unknown root directory.
558 * hurd/hurdselect.c (SELECT_ERROR): New macro.
559 (_hurd_select):
560 - Add `error' field to `d' structures array.
561 - If a poll descriptor is bogus, set EBADF, but continue with a zero
562 timeout.
563 - Go through the whole fd_set, not only until _hurd_dtablesize. Return
564 EBADF there is any bit set above _hurd_dtablesize.
565 - Do not request io_select on bogus descriptors (SELECT_ERROR).
566 - On io_select request error, record the error.
567 - On io_select bogus reply, use EIO error code.
568 - On io_select bogus or error reply, record the error.
569 - Do not destroy reply port for bogus FDs.
570 - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the
571 EBADF case, or else POLLERR.
572 - On error, make select simulated readiness.
573
574 [BZ #19903]
575 * sysdeps/mach/hurd/mmap.c (__mmap): Remove optimizing anonymous maps
576 as __vm_allocate.
577
578 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
579 unlocks SS and returns to the saved PC.
580 (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
581 thread stack instead of the saved PC.
582
583 2019-08-30 Richard Braun <rbraun@sceen.net>
584
585 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
586 timeout.
587 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
588 * hurd/Makefile (user-interfaces): Add io_reply and io_request.
589 * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and
590 <limits.h>.
591 (_hurd_select): Replace the call to __io_select with either
592 __io_select_request or __io_select_timeout_request, depending on the
593 timeout. Count the number of ready descriptors (replies for which at
594 least one type bit is set). Implement the timeout locally when there is
595 no file descriptor.
596
597 2019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
598
599 * elf/dl-addr.c (determine_info): Calculate the symbol index
600 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
601 * elf/dl-lookup.c (do_lookup_x): Ditto.
602 (_dl_setup_hash): Initialize MIPS xhash translation table.
603 * elf/elf.h (SHT_MIPS_XHASH): New define.
604 (DT_MIPS_XHASH): New define.
605 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
606 define.
607 (ELF_MACHINE_HASH_SYMIDX): Ditto.
608 (ELF_MACHINE_XHASH_SETUP): Ditto.
609 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
610 define.
611 (ELF_MACHINE_HASH_SYMIDX): Ditto.
612 (ELF_MACHINE_XHASH_SETUP): Ditto.
613 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
614 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
615 version.
616 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
617
618 2019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
619
620 * sysdeps/sh/preconfigure.ac: New file.
621 * sysdeps/sh/preconfigure: Regenerate.
622 * sysdeps/sh/be/sh3/Implies: New file.
623 * sysdeps/sh/be/sh4/Implies: Likewise.
624 * sysdeps/sh/le/sh3/Implies: Likewise.
625 * sysdeps/sh/le/sh4/Implies: Likewise.
626 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
627 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
628 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
629 sysdeps/unix/sysv/linux/sh/le/*.abilist.
630 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
631
632 * sysdeps/microblaze/preconfigure.ac: New file.
633 * sysdeps/microblaze/preconfigure: Regenerate.
634 * sysdeps/microblaze/be/implies: New file.
635 * sysdeps/microblaze/le/implies: Likewise.
636 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
637 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
638 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
639 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
640 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
641
642 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
643 * sysdeps/arm/preconfigure: Regenerate.
644 * sysdeps/arm/be/Implies: New file.
645 * sysdeps/arm/be/armv6/Implies: Likewise.
646 * sysdeps/arm/be/armv6t2/Implies: Likewise.
647 * sysdeps/arm/be/armv7/Implies: Likewise.
648 * sysdeps/arm/le/Implies: Likewise.
649 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
650 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
651 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
652 sysdeps/unix/sysv/linux/arm/le/*.abilist.
653 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
654
655 2019-08-27 Paul Eggert <eggert@cs.ucla.edu>
656
657 Fix posix/tst-regex by using UTF-8 and own test input
658 Problem reported by Stefan Liebler in:
659 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
660 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
661 (do_test, test_expr): Adjust to the fact that this source file,
662 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
663 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
664 so that it is now UTF-8.
665
666 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
667
668 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
669 (fegetenv_status): Generate 'mffsl' unconditionally.
670
671 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
672
673 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
674 FPSCR read.
675 (_FPU_MASK_ALL): Delete.
676
677 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
678
679 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
680 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
681 if possible.
682 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
683 with simpler required steps, set fewer FPSCR bits if possible.
684
685 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
686
687 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
688 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
689 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
690 weight access to FPSCR; remove unnecessary second FPSCR read and
691 validate.
692 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
693 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
694 access to FPSCR; Use macros in fenv_libc.h in favor of local.
695
696 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
697
698 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
699 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
700 (fenv_exceptions_to_reg): New.
701 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
702 operation with call to fenv_exceptions_to_reg().
703 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
704
705 2019-08-28 Florian Weimer <fweimer@redhat.com>
706
707 * misc/mntent.c (struct mntent_buffer): Define.
708 (mntent_buffer): Adjust type to void *.
709 (allocate): Adjust for allocate_once.
710 (deallocate): New function.
711 (getmntent): Call allocate_once.
712
713 2019-08-28 Florian Weimer <fweimer@redhat.com>
714
715 nptl: Move pthread_attr_setdetachstate implementation into libc.
716 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
717 (libpthread-routines): Remove pthread_attr_setdetachstate.
718 * nptl/Versions (libpthread GLIBC_2.0): Remove
719 pthread_attr_setdetachstate.
720 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
721 * nptl/nptl-init.c (pthread_functions): Remove initializer for
722 ptr_pthread_attr_setdetachstate.
723 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
724 Remove ptr_pthread_attr_setdetachstate member.
725 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
726 Remove pthread_attr_setdetachstate.
727 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
728 Likewise.
729 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
730 Likewise.
731 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
732 Likewise.
733 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
734 Likewise.
735 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
736 Likewise.
737 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
738 Likewise.
739 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
740 (GLIBC_2.4): Likewise.
741 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
742 (GLIBC_2.0): Likewise.
743 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
744 (GLIBC_2.18): Likewise.
745 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
746 (GLIBC_2.0): Likewise.
747 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
748 (GLIBC_2.0): Likewise.
749 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
750 Likewise.
751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
752 (GLIBC_2.0): Likewise.
753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
754 (GLIBC_2.3): Likewise.
755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
756 (GLIBC_2.17): Likewise.
757 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
758 (GLIBC_2.27): Likewise.
759 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
760 (GLIBC_2.0): Likewise.
761 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
762 (GLIBC_2.2): Likewise.
763 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
764 Likewise.
765 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
766 (GLIBC_2.0): Likewise.
767 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
768 (GLIBC_2.2): Likewise.
769 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
770 (GLIBC_2.2.5): Likewise.
771 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
772 (GLIBC_2.16): Likewise.
773
774 2019-08-28 Florian Weimer <fweimer@redhat.com>
775
776 [BZ #24902]
777 * login/Makefile (tests): Add tst-pututxline-lockfail.
778 (tst-pututxline-lockfail): Link with -lpthread.
779 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
780 (__libc_getutid_r): Adjust.
781 (__libc_pututline): Likewise. Check for file_offset == -1.
782 * login/tst-pututxline-lockfail.c: New file.
783
784 2019-08-28 Stefan Liebler <stli@linux.ibm.com>
785
786 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
787 * posix/tst-regex.input: New file.
788
789 2019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
790
791 [BZ #24916]
792 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
793 tst-undefined-weak.
794 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
795 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
796 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
797 * sysdeps/mips/tst-undefined-weak.c: Likewise.
798 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
799 Increment highest valid ABIVERSION value.
800
801 2019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
802
803 * sysdeps/unix/sysv/linux/mips/Makefile
804 (test-xfail-check-execstack):
805 Move under mips-has-gnustack != yes.
806 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
807 Apply -Wa,-execstack if mips-force-execstack == yes.
808 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
809 * sysdeps/unix/sysv/linux/mips/configure.ac
810 (mips-force-execstack): New var.
811 Set to yes for hard-float builds with minimum_kernel < 4.8.0
812 or minimum_kernel not set at all.
813 (mips-has-gnustack): New var.
814 Use value of libc_cv_as_noexecstack
815 if mips-force-execstack != yes, otherwise set to no.
816
817 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
818 Florian Weimer <fweimer@redhat.com>
819
820 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
821 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
822 Make a compat_symbol.
823 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
824 (__profil_counter_global): Likewise.
825
826 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
827 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
828 uintptr_t.
829 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
830 sigcontext_get_pc and return aligned cast to uintptr_t.
831 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
832 * sysdeps/posix/profil.c (profil_count): Change PC argument to
833 uintptr_t.
834 (__profil): Use SA_SIGINFO.
835 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
836 uintptr_t.
837 (__sprofil): Use SA_SIGINFO.
838 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
839 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
840 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
841 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
842 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
843 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
844 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
845 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
846 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
847 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
848 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
849 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
850 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
851 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
852 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
853 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
854 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
855 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
856 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
857 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
858 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
859 GET_PC, __sigaction, sigaction): Remove defines.
860 (sigcontext_get_pc): New function.
861 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
862 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
863 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
864 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
865 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
866 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
867 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
868 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
869 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
870 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
871 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
872 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
873 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
874 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
875 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
876 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
877 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
878 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
879 Handle CTX argument as ucontext_t.
880 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
881 Likewise.
882 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
883 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
884 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
885 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
886 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
887 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
888 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
889 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
890 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
891 tst-sigcontextinfo-get_pc.
892 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
893 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
894
895 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
896
897 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
898 definition.
899
900 2019-08-23 Rafał Lużyński <digitalfreak@lingonborough.com>
901
902 [BZ #24682]
903 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
904 * localedata/locales/ug_CN (first_weekday): Likewise.
905 * localedata/locales/zh_CN (first_weekday): Likewise.
906
907 2019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
908
909 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
910 field name in mcontext_t struct.
911
912 2019-08-22 Joseph Myers <joseph@codesourcery.com>
913
914 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
915 unsupported with libidn2 before 2.0.5.
916 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
917
918 * manual/time.texi (strftime): Document %Ob and %OB as C2X
919 features.
920
921 2019-08-21 Paul Eggert <eggert@cs.ucla.edu>
922
923 Remove dead regex code
924 * posix/regex_internal.c (re_node_set_insert):
925 Remove unnecessary assignment. Reported by Tim Rühsen in:
926 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
927
928 Fix bad pointer / leak in regex code
929 This was found by Coverity (CID 1484201). [BZ#24844]
930 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
931 pointer and/or memory leak when storage is exhausted.
932
933 2019-08-21 Zack Weinberg <zackw@panix.com>
934
935 * misc/syslog.c (__vsyslog_internal)
936 * time/getdate.c (__getdate_r)
937 * time/tst_wcsftime.c (main):
938 Use return value of time, not its argument.
939
940 * string/strfry.c (strfry)
941 * sysdeps/mach/sleep.c (__sleep):
942 Remove unnecessary casts of NULL in calls to time.
943
944 2019-08-21 Joseph Myers <joseph@codesourcery.com>
945
946 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
947 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
948 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
949 (__TGMATH_2_NARROW_F): Likewise.
950 (__TGMATH_2_NARROW_D): New macro.
951 (__TGMATH_2_NARROW_F16): Likewise.
952 (__TGMATH_2_NARROW_F32): Likewise.
953 (__TGMATH_2_NARROW_F64): Likewise.
954 (__TGMATH_2_NARROW_F32X): Likewise.
955 (__TGMATH_2_NARROW_F64X): Likewise.
956 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
957 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
958 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
959 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
960 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
961 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
962 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
963 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
964 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
965 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
966 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
967 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
968 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
969 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
970 Likewise.
971 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
972 Likewise.
973 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
974 Likewise.
975 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
976 Likewise.
977 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
978 Likewise.
979 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
980 Likewise.
981 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
982 Likewise.
983 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
984 Likewise.
985 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
986 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
987 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
988 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
989 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
990 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
991 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
992 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
993 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
994 Likewise.
995 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
996 Likewise.
997 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
998 Likewise.
999 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
1000 Likewise.
1001 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1002 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
1003 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1004 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
1005 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1006 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
1007 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
1008 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
1009 * math/gen-tgmath-tests.py (Type): Add members
1010 non_standard_real_argument_types_list, long_double_type,
1011 complex_float64_type and float32x_ext_type.
1012 (Type.__init__): Set the new members.
1013 (Type.floating_type): Add new argument floatn.
1014 (Type.real_floating_type): Likewise.
1015 (Type.can_combine_types): Likewise.
1016 (Type.combine_types): Likewise.
1017 (Type.init_types): Create internal Float32x_ext type.
1018 (Tests.__init__): Define Float32x_ext in generated C code.
1019 (Tests.add_tests): Handle narrowing functions.
1020 (Tests.add_all_tests): Likewise.
1021 (Tests.tests_text): Allow variation in mant_dig for narrowing
1022 functions with compilers before GCC 8.
1023 * math/Makefile (tgmath3-narrow-types): New variable.
1024 (tgmath3-narrow-macros): Likewise.
1025 (tgmath3-macros): Add $(tgmath3-narrow-macros).
1026
1027 2019-08-20 Andreas Schwab <schwab@suse.de>
1028
1029 * sysdeps/i386/fpu/libm-test-ulps: Update.
1030
1031 2019-08-19 Carlos O'Donell <carlos@redhat.com>
1032
1033 * nscd/nscd.conf: Add warning and comment about shared option.
1034
1035 2019-08-19 Carlos O'Donell <carlos@redhat.com>
1036
1037 * nss/nsswitch.conf: Expand comments, and simplify defaults.
1038 * manual/nss.texi (NSS Basics): List all known databases.
1039 (Services in the NSS configuration): Mention automount.
1040
1041 2019-08-19 Florian Weimer <fweimer@redhat.com>
1042
1043 Do not print backtraces on fatal errors.
1044 * debug/fortify_fail.c (__libc_argv): Remove declaration.
1045 (__fortify_fail_abort): Remove definition.
1046 (__fortify_fail): Call __libc_message directly.
1047 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
1048 (__stack_chk_fail): Call __fortify_fail instead of
1049 __fortify_fail_abort.
1050 * include/stdio.h (__fortify_fail_abort): Remove declaration.
1051 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
1052 definitions.
1053 (__libc_message): Do not handle do_backtrace. Do not call
1054 BEFORE_ABORT.
1055 (__libc_fatal): Do not pass do_backtrace to __libc_message.
1056 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
1057 (before_abort): Remove definitions.
1058
1059 2019-08-16 Florian Weimer <fweimer@redhat.com>
1060
1061 nptl: Move pthread_attr_getdetachstate implementation into libc.
1062 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
1063 (libpthread-routines): Remove pthread_attr_getdetachstate.
1064 * nptl/Versions (libpthread GLIBC_2.0): Remove
1065 pthread_attr_getdetachstate.
1066 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
1067 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1068 ptr_pthread_attr_getdetachstate.
1069 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1070 Remove ptr_pthread_attr_getdetachstate member.
1071 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1072 Remove pthread_attr_getdetachstate.
1073 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1074 Likewise.
1075 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1076 Likewise.
1077 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1078 Likewise.
1079 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1080 Likewise.
1081 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1082 Likewise.
1083 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1084 Likewise.
1085 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1086 (GLIBC_2.4): Likewise.
1087 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1088 (GLIBC_2.0): Likewise.
1089 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1090 (GLIBC_2.18): Likewise.
1091 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1092 (GLIBC_2.0): Likewise.
1093 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1094 (GLIBC_2.0): Likewise.
1095 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1096 Likewise.
1097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1098 (GLIBC_2.0): Likewise.
1099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1100 (GLIBC_2.3): Likewise.
1101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1102 (GLIBC_2.17): Likewise.
1103 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1104 (GLIBC_2.27): Likewise.
1105 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1106 (GLIBC_2.0): Likewise.
1107 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1108 (GLIBC_2.2): Likewise.
1109 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1110 Likewise.
1111 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1112 (GLIBC_2.0): Likewise.
1113 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1114 (GLIBC_2.2): Likewise.
1115 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1116 (GLIBC_2.2.5): Likewise.
1117 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1118 (GLIBC_2.16): Likewise.
1119
1120 2019-08-16 Joseph Myers <joseph@codesourcery.com>
1121
1122 * math/libm-test-compat_totalorder.inc (do_test)
1123 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
1124 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
1125 * math/libm-test-compat_totalordermag.inc (do_test)
1126 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
1127
1128 2019-08-15 Florian Weimer <fweimer@redhat.com>
1129
1130 nptl: Move pthread_attr_init implementation into libc.
1131 * nptl/Makefile (routines): Add pthread_attr_init.
1132 (libpthread-routines): Remove pthread_attr_init.
1133 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
1134 (libpthread GLIBC_2.0): Likewise.
1135 * nptl/pthread_attr_init.c: Check for libc compat version instead
1136 of libpthread compat version.
1137 * nptl/forward.c (__pthread_attr_init_2_0)
1138 (__pthread_attr_init_2_1): Remove definitions.
1139 * nptl/nptl-init.c (pthread_functions): Remove initializers for
1140 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
1141 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1142 Remove members ptr___pthread_attr_init_2_0,
1143 ptr___pthread_attr_init_2_1.
1144 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1145 Remove pthread_attr_init.
1146 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1147 Likewise.
1148 (GLIBC_2.1): Likewise.
1149 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1150 Likewise.
1151 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1152 Likewise.
1153 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1154 Likewise.
1155 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1156 Likewise.
1157 (GLIBC_2.1): Likewise.
1158 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1159 Likewise.
1160 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1161 (GLIBC_2.4): Likewise.
1162 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1163 (GLIBC_2.0): Likewise.
1164 (GLIBC_2.1): Likewise.
1165 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1166 (GLIBC_2.18): Likewise.
1167 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1168 (GLIBC_2.0): Likewise.
1169 (GLIBC_2.1): Likewise.
1170 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1171 (GLIBC_2.0): Likewise.
1172 (GLIBC_2.1): Likewise.
1173 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1174 Likewise.
1175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1176 (GLIBC_2.0): Likewise.
1177 (GLIBC_2.1): Likewise.
1178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1179 (GLIBC_2.3): Likewise.
1180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1181 (GLIBC_2.17): Likewise.
1182 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1183 (GLIBC_2.27): Likewise.
1184 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1185 (GLIBC_2.0): Likewise.
1186 (GLIBC_2.1): Likewise.
1187 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1188 (GLIBC_2.2): Likewise.
1189 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1190 Likewise.
1191 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1192 (GLIBC_2.0): Likewise.
1193 (GLIBC_2.1): Likewise.
1194 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1195 (GLIBC_2.2): Likewise.
1196 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1197 (GLIBC_2.2.5): Likewise.
1198 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1199 (GLIBC_2.16): Likewise.
1200
1201 2019-08-15 Florian Weimer <fweimer@redhat.com>
1202
1203 [BZ #24900]
1204 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
1205 new object in __RTLD_OPENEXEC mode (except for the origin).
1206 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
1207 check for the error message.
1208 (do_test): Call it. Add check using relative path.
1209 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
1210 (tst-dlopen-aout-container): Link with libpthread.
1211 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
1212
1213 2019-08-15 Joseph Myers <joseph@codesourcery.com>
1214
1215 * math/bits/mathcalls.h
1216 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1217 (totalorder): Take pointer arguments.
1218 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
1219 (totalordermag): Likewise.
1220 * manual/arith.texi (totalorder): Likewise.
1221 (totalorderf): Likewise.
1222 (totalorderl): Likewise.
1223 (totalorderfN): Likewise.
1224 (totalorderfNx): Likewise.
1225 (totalordermag): Likewise.
1226 (totalordermagf): Likewise.
1227 (totalordermagl): Likewise.
1228 (totalordermagfN): Likewise.
1229 (totalordermagfNx): Likewise.
1230 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
1231 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
1232 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
1233 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
1234 totalorderl, totalordermag, totalordermagf, totalordermagl,
1235 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
1236 totalordermagf64, totalordermagf32x, totalorderf64x,
1237 totalordermagf64x, totalorderf128 and totalordermagf128.
1238 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
1239 and compat_totalordermag.
1240 (libm-test-funcs-compat): New variable.
1241 (libm-tests-compat): Likewise.
1242 (tests): Do not include compat tests.
1243 (tests-internal): Add compat tests.
1244 ($(foreach t,$(libm-tests-base),
1245 $(objpfx)$(t)-compat_totalorder.o)): Depend
1246 on $(objpfx)libm-test-totalorder.c.
1247 ($(foreach t,$(libm-tests-base),
1248 $(objpfx)$(t)-compat_totalordermag.o): Depend on
1249 $(objpfx)libm-test-totalordermag.c.
1250 (tgmath3-macros): Remove totalorder and totalordermag.
1251 * math/libm-test-compat_totalorder.inc: New file.
1252 * math/libm-test-compat_totalordermag.inc: Likewise.
1253 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
1254 (RUN_TEST_fpfp_b): New macro.
1255 (RUN_TEST_LOOP_fpfp_b): Likewise.
1256 * math/libm-test-totalorder.inc (totalorder_test_data): Use
1257 TEST_fpfp_b.
1258 (totalorder_test): Condition on [!COMPAT_TEST].
1259 (do_test): Likewise.
1260 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
1261 TEST_fpfp_b.
1262 (totalordermag_test): Condition on [!COMPAT_TEST].
1263 (do_test): Likewise.
1264 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
1265 totalorder and totalordermag.
1266 * math/test-tgmath.c (NCALLS): Change to 132.
1267 (F(compile_test)): Do not call totalorder or totalordermag.
1268 (F(totalorder)): Remove.
1269 (F(totalordermag)): Likewise.
1270 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
1271 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
1272 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
1273 SJSTR_HELPER.
1274 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
1275 [!_ISOMAC] (TEST_SIZE): Update call to STR.
1276 [!_ISOMAC] (TEST_ALIGN): Likewise.
1277 [!_ISOMAC] (TEST_OFFSET): Likewise.
1278 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
1279 and <first-versions.h>.
1280 (__totalorder): Take pointer arguments. Add symbol versions and
1281 compat symbols.
1282 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1283 <shlib-compat.h> and <first-versions.h>.
1284 (__totalordermag): Take pointer arguments. Add symbol versions
1285 and compat symbols.
1286 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1287 <shlib-compat.h> and <first-versions.h>.
1288 (__totalorder): Take pointer arguments. Add symbol versions and
1289 compat symbols.
1290 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1291 <shlib-compat.h> and <first-versions.h>.
1292 (__totalordermag): Take pointer arguments. Add symbol versions
1293 and compat symbols.
1294 * sysdeps/ieee754/float128/float128_private.h
1295 (__totalorder_compatl): New macro.
1296 (__totalordermag_compatl): Likewise.
1297 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
1298 and <first-versions.h>.
1299 (__totalorderf): Take pointer arguments. Add symbol versions and
1300 compat symbols.
1301 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1302 <shlib-compat.h> and <first-versions.h>.
1303 (__totalordermagf): Take pointer arguments. Add symbol versions
1304 and compat symbols.
1305 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1306 <shlib-compat.h> and <first-versions.h>.
1307 (__totalorderl): Take pointer arguments. Add symbol versions and
1308 compat symbols.
1309 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1310 <shlib-compat.h> and <first-versions.h>.
1311 (__totalordermagl): Take pointer arguments. Add symbol versions
1312 and compat symbols.
1313 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1314 <shlib-compat.h>.
1315 (__totalorderl): Take pointer arguments. Add symbol versions and
1316 compat symbols.
1317 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1318 <shlib-compat.h>.
1319 (__totalordermagl): Take pointer arguments. Add symbol versions
1320 and compat symbols.
1321 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1322 <shlib-compat.h> and <first-versions.h>.
1323 (__totalorderl): Take pointer arguments. Add symbol versions and
1324 compat symbols.
1325 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1326 <shlib-compat.h> and <first-versions.h>.
1327 (__totalordermagl): Take pointer arguments. Add symbol versions
1328 and compat symbols.
1329 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
1330 pointer arguments.
1331 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
1332 Likewise.
1333 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1334 (do_test): Update calls to totalorderl and totalordermagl.
1335 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1336 Update calls to totalorderl and totalordermagl.
1337 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1338 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1339 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1340 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1341 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1342 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1343 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1344 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1345 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1346 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1347 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1348 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1349 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1350 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1352 Likewise.
1353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1354 Likewise.
1355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
1356 Likewise.
1357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
1358 Likewise.
1359 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1360 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1361 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1362 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1363 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1364 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1365 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1366 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1367
1368 2019-08-15 Florian Weimer <fweimer@redhat.com>
1369
1370 [BZ #24899]
1371 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
1372 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
1373 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
1374 Likewise.
1375 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
1376 __attribute_nonstring__ to ut_id.
1377 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
1378 Likewise.
1379
1380 2019-08-15 Florian Weimer <fweimer@redhat.com>
1381
1382 [BZ #24880]
1383 * login/utmp_file.c (file_locking_failed): Use struct flock64.
1384 (file_locking_unlock): Likewise.
1385
1386 2019-08-15 Florian Weimer <fweimer@redhat.com>
1387
1388 [BZ #24879]
1389 login: Disarm timer after utmp lock acquisition.
1390 * login/utmp_file.c (struct file_locking): Remove.
1391 (try_file_lock): Adjust.
1392 (file_lock_restore): Remove function.
1393 (__libc_getutent_r): .
1394 (internal_getut_r): Likewise.
1395 (__libc_getutline_r): Likewise.
1396 (__libc_pututline): Likewise.
1397 (__libc_updwtmp): Likewise.
1398
1399 2019-08-15 Florian Weimer <fweimer@redhat.com>
1400
1401 nptl: Remove pthread_self compatibility symbol from libpthread.
1402 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
1403 pthread_equal.
1404 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
1405 * nptl/compat-pthread_self.c: Remove file.
1406 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1407 Remove pthread_self.
1408 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1409 Likewise.
1410 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1411 Likewise.
1412 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1413 Likewise.
1414 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1415 Likewise.
1416 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1417 Likewise.
1418 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1419 (GLIBC_2.4): Likewise.
1420 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1421 (GLIBC_2.0): Likewise.
1422 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1423 (GLIBC_2.18): Likewise.
1424 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1425 (GLIBC_2.0): Likewise.
1426 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1427 (GLIBC_2.0): Likewise.
1428 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1429 Likewise.
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1431 (GLIBC_2.0): Likewise.
1432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1433 (GLIBC_2.3): Likewise.
1434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1435 (GLIBC_2.17): Likewise.
1436 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1437 (GLIBC_2.0): Likewise.
1438 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1439 (GLIBC_2.2): Likewise.
1440 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1441 Likewise.
1442 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1443 (GLIBC_2.0): Likewise.
1444 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1445 (GLIBC_2.2): Likewise.
1446 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1447 (GLIBC_2.2.5): Likewise.
1448 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1449 (GLIBC_2.16): Likewise.
1450
1451 2019-08-15 Florian Weimer <fweimer@redhat.com>
1452
1453 nptl: Move pthread_attr_destroy implementation into libc.
1454 * nptl/Makefile (routines): Add pthread_attr_destroy.
1455 (libpthread-routines): Remove pthread_attr_destroy.
1456 * nptl/Versions (libpthread GLIBC_2.0): Remove
1457 pthread_attr_destroy.
1458 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
1459 libc compat version instead of libpthread compat version.
1460 * nptl/forward.c (pthread_attr_destroy): Remove definition.
1461 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1462 ptr_pthread_attr_destroy.
1463 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1464 Remove ptr_pthread_attr_destroy member.
1465 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1466 Remove pthread_attr_destroy.
1467 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1468 Likewise.
1469 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1470 Likewise.
1471 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1472 Likewise.
1473 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1474 Likewise.
1475 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1476 Likewise.
1477 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1478 Likewise.
1479 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1480 (GLIBC_2.4): Likewise.
1481 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1482 (GLIBC_2.0): Likewise.
1483 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1484 (GLIBC_2.18): Likewise.
1485 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1486 (GLIBC_2.0): Likewise.
1487 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1488 (GLIBC_2.0): Likewise.
1489 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1490 Likewise.
1491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1492 (GLIBC_2.0): Likewise.
1493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1494 (GLIBC_2.3): Likewise.
1495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1496 (GLIBC_2.17): Likewise.
1497 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1498 (GLIBC_2.27): Likewise.
1499 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1500 (GLIBC_2.0): Likewise.
1501 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1502 (GLIBC_2.2): Likewise.
1503 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1504 Likewise.
1505 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1506 (GLIBC_2.0): Likewise.
1507 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1508 (GLIBC_2.2): Likewise.
1509 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1510 (GLIBC_2.2.5): Likewise.
1511 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1512 (GLIBC_2.16): Likewise.
1513
1514 2019-08-15 Andreas Schwab <schwab@suse.de>
1515
1516 * sysdeps/i386/fpu/libm-test-ulps: Update.
1517
1518 2019-08-15 Florian Weimer <fweimer@redhat.com>
1519
1520 * malloc/Makefile (tests): Only add tst-mxfast for
1521 $(have-tunables).
1522 * malloc/tst-mxfast.c: Fix copyright year.
1523 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
1524 assert for checks.
1525
1526 2019-08-15 Florian Weimer <fweimer@redhat.com>
1527
1528 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
1529 descriptor.
1530 * login/Makefile (tests): Add tst-updwtmpx.
1531 * login/tst-updwtmpx.c: New file.
1532
1533 2019-08-15 Florian Weimer <fweimer@redhat.com>
1534
1535 nptl: Move pthread_equal implementation into libc.
1536 * nptl/Makefile (routines): Add pthread_equal.
1537 * nptl/forward.c (pthread_equal): Remove definition.
1538 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1539 ptr_pthread_equal.
1540 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1541 Remove ptr_pthread_equal member.
1542 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1543 Remove pthread_equal.
1544 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1545 Likewise.
1546 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1547 Likewise.
1548 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1549 Likewise.
1550 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1551 Likewise.
1552 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1553 Likewise.
1554 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1555 Likewise.
1556 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1557 (GLIBC_2.4): Likewise.
1558 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1559 (GLIBC_2.0): Likewise.
1560 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1561 (GLIBC_2.18): Likewise.
1562 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1563 (GLIBC_2.0): Likewise.
1564 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1565 (GLIBC_2.0): Likewise.
1566 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1567 Likewise.
1568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1569 (GLIBC_2.0): Likewise.
1570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1571 (GLIBC_2.3): Likewise.
1572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1573 (GLIBC_2.17): Likewise.
1574 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1575 (GLIBC_2.27): Likewise.
1576 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1577 (GLIBC_2.0): Likewise.
1578 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1579 (GLIBC_2.2): Likewise.
1580 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1581 Likewise.
1582 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1583 (GLIBC_2.0): Likewise.
1584 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1585 (GLIBC_2.2): Likewise.
1586 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1587 (GLIBC_2.2.5): Likewise.
1588 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1589 (GLIBC_2.16): Likewise.
1590
1591 2019-08-14 Florian Weimer <fweimer@redhat.com>
1592
1593 * support/support_descriptors.c: Include <support/descriptors.h>.
1594
1595 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
1596
1597 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
1598 Disable DC ZVA code if this macro is defined as zero.
1599 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
1600 Change to zero to disable using DC ZVA.
1601
1602 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1603
1604 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
1605 Update comment.
1606 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
1607 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
1608 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
1609 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
1610 Likewise.
1611
1612 2019-08-13 Florian Weimer <fweimer@redhat.com>
1613
1614 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
1615 Remove macros.
1616 (struct file_locking): New.
1617 (try_file_lock, file_unlock, file_lock_restore): New functions.
1618 (__libc_getutent_r): Use the new functions.
1619 (internal_getut_r): Likewise.
1620 (__libc_getutline_r): Likewise.
1621 (__libc_pututline): Likewise.
1622 (__libc_updwtmp): Likewise.
1623
1624 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1625
1626 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
1627 comment.
1628 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
1629 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
1630 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
1631 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1632 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1633 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1634 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1635 Likewise.
1636 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1637 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1638 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1639 Likewise.
1640 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1641 Likewise.
1642 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1643 Likewise.
1644 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1645 Likewise.
1646 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1647 Likewise.
1648 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1649 Likewise.
1650 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1651 Likewise.
1652 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
1653 (IEC_60559_BFP_EXT)]: Likewise.
1654 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1655 Likewise.
1656 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1657 Likewise.
1658 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1659 Likewise.
1660 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1661 Likewise.
1662 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1663 Likewise.
1664 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1665 Likewise.
1666 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1667 Likewise.
1668 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1669 Likewise.
1670 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1671 Likewise, except for totalorder, totalordermag, getpayload,
1672 setpayload and setpayloadsig.
1673 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
1674 except for totalorder and totalordermag.
1675
1676 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
1677 (strdup): Likewise.
1678 (strndup): Likewise.
1679
1680 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
1681 Undefine and define to 1 if [_GNU_SOURCE].
1682 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
1683 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
1684 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
1685 (__USE_ISOC99): Likewise.
1686 (__USE_ISOC95): Likewise.
1687 * manual/creature.texi (_ISOC2X_SOURCE): Document.
1688
1689 2019-08-13 Florian Weimer <fweimer@redhat.com>
1690
1691 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
1692 are always true.
1693 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
1694 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1695 * login/getutmpx.c (getutmpx): Likewise.
1696 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
1697 true.
1698 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
1699 _HAVE_UT_TV are always true.
1700 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
1701 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1702 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
1703 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
1704 are always true.
1705 (internal_getut_r): _HAVE_UT_TYPE is always true.
1706 (__libc_pututline): Likewise.
1707 * login/programs/utmpdump.c (print_entry): Assume that
1708 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
1709 _HAVE_UT_TV are always true.
1710 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
1711 _HAVE_UT_ID are always true.
1712 * sysdeps/gnu/bits/utmp.h: Move to ...
1713 * bits/utmp.h: ... here, replacing the old file.
1714
1715 2019-08-12 Florian Weimer <fweimer@redhat.com>
1716
1717 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
1718 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
1719 not set.
1720 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
1721 (do_test): Open the executable using an absolute path. Print
1722 error message to standard output.
1723
1724 2019-08-09 DJ Delorie <dj@redhat.com>
1725
1726 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
1727 * manual/tunables.texi: Document it.
1728 * malloc/malloc.c (do_set_mxfast): New.
1729 (__libc_mallopt): Call it.
1730 * malloc/arena.c: Add mxfast tunable.
1731 * malloc/tst-mxfast.c: New.
1732 * malloc/Makefile: Add it.
1733
1734 2019-08-08 Niklas Hambüchen <mail@nh2.me>
1735 Carlos O'Donell <carlos@redhat.com>
1736
1737 [BZ #24026]
1738 * malloc/malloc.c (__malloc_info): Account for top chunk.
1739
1740 2019-08-07 Joseph Myers <joseph@codesourcery.com>
1741
1742 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1743 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
1744
1745 2019-08-06 Joseph Myers <joseph@codesourcery.com>
1746
1747 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
1748
1749 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
1750
1751 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
1752
1753 2019-08-05 Joseph Myers <joseph@codesourcery.com>
1754
1755 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
1756 New macro.
1757
1758 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1759
1760 [BZ #19767]
1761 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
1762 Remove definition.
1763 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
1764 Likewise.
1765 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
1766 Likewise.
1767 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
1768 Likewise.
1769 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1770 (ALWAYS_USE_VSYSCALL): Likewise.
1771 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1772 (ALWAYS_USE_VSYSCALL): Likewise.
1773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1774 (ALWAYS_USE_VSYSCALL): Likewise.
1775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1776 (ALWAYS_USE_VSYSCALL): Likewise.
1777 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1778 Likewise.
1779 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1780 (ALWAYS_USE_VSYSCALL): Likewise.
1781 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1782 (ALWAYS_USE_VSYSCALL): Likewise.
1783 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1784 Likewise.
1785 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1786 Likewise.
1787 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
1788 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
1789 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
1790 USE_VSYSCALL): Remove defitions.
1791
1792 [BZ #19767]
1793 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
1794 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
1795 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1796 Define.
1797
1798 [BZ #19767]
1799 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
1800 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
1801 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1802 (ALWAYS_USE_VSYSCALL): Define.
1803 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1804 (ALWAYS_USE_VSYSCALL): Likewise.
1805
1806 [BZ #19767]
1807 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
1808 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
1809 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1810 Define.
1811
1812 * sysdeps/sh/libm-test-ulps: Update.
1813
1814 2019-08-05 Florian Weimer <fweimer@redhat.com>
1815
1816 [BZ #23518]
1817 * login/uptmp-private.h (struct ufuncs): Remove definition.
1818 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
1819 (__libc_utmp_jump_table): Remove declarations.
1820 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
1821 (__libc_getutline_r, __libc_pututline, __libc_endutent)
1822 (__libc_updwtmp): Declare.
1823 * login/getutent_r.c (__libc_utmp_unknown_functions)
1824 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
1825 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
1826 (endutent_unknown): Remove definitions.
1827 (__setutent): Call __libc_setutent.
1828 (__getutent_r): Call __libc_getutent_r.
1829 (__pututline): Call __libc_pututline.
1830 (__endutent): Call __libc_endutent.
1831 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
1832 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
1833 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
1834 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
1835 (__libc_setutent): Rename from stetutent_file. Drop static.
1836 (maybe_setutent): New function.
1837 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
1838 Check for initialization.
1839 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
1840 Check for initialization.
1841 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
1842 Check for initialization.
1843 (__libc_pututline): Rename from pututline_file. Drop static.
1844 Check for initialization.
1845 (__libc_endutent): Rename from endutent_file. Drop static. Check
1846 for initialization.
1847 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
1848 * login/utmpname.c (__utmpname): Call __libc_endutent.
1849 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
1850 __libc_getutlien_r, __libc_endutent.
1851 * manual/users.texi (Who Logged In, Manipulating the Database):
1852 Adjust.
1853
1854 2019-08-05 Alexandra Hájková <ahajkova@redhat.com>
1855
1856 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
1857
1858 2019-08-02 Joseph Myers <joseph@codesourcery.com>
1859
1860 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
1861
1862 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
1863 kernel version number to 5.2.
1864
1865 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
1866
1867 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
1868 mnemonics and set .machine power8.
1869 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1870 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
1871 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1872 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1873 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1874 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1875 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1876 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1877 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1878 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1879
1880 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1881
1882 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1883
1884 2019-08-01 Florian Weimer <fweimer@redhat.com>
1885
1886 [BZ #24867]
1887 * malloc/malloc.c (__malloc_info): Remove unwanted leading
1888 whitespace.
1889
1890 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1891
1892 [BZ #15813]
1893 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
1894 attempt.
1895
1896 2019-08-01 Carlos O'Donell <carlos@redhat.com>
1897
1898 * version.h (RELEASE): Set to "stable".
1899 (VERSION): Set to "2.30".
1900 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
1901
1902 * manual/install.texi: Update component versions.
1903 * INSTALL: Regenerate.
1904 * NEWS: Update.
1905
1906 2019-07-31 Carlos O'Donell <carlos@redhat.com>
1907
1908 * po/be.po: Update translations.
1909 * po/bg.po: Likewise.
1910 * po/ca.po: Likewise.
1911 * po/cs.po: Likewise.
1912 * po/da.po: Likewise.
1913 * po/de.po: Likewise.
1914 * po/el.po: Likewise.
1915 * po/eo.po: Likewise.
1916 * po/es.po: Likewise.
1917 * po/fi.po: Likewise.
1918 * po/fr.po: Likewise.
1919 * po/gl.po: Likewise.
1920 * po/hr.po: Likewise.
1921 * po/hu.po: Likewise.
1922 * po/ia.po: Likewise.
1923 * po/id.po: Likewise.
1924 * po/it.po: Likewise.
1925 * po/ja.po: Likewise.
1926 * po/ko.po: Likewise.
1927 * po/lt.po: Likewise.
1928 * po/nb.po: Likewise.
1929 * po/nl.po: Likewise.
1930 * po/pl.po: Likewise.
1931 * po/pt_BR.po: Likewise.
1932 * po/ru.po: Likewise.
1933 * po/rw.po: Likewise.
1934 * po/sk.po: Likewise.
1935 * po/sl.po: Likewise.
1936 * po/sv.po: Likewise.
1937 * po/tr.po: Likewise.
1938 * po/uk.po: Likewise.
1939 * po/vi.po: Likewise.
1940 * po/zh_CN.po: Likewise.
1941 * po/zh_TW.po: Likewise.
1942
1943 2019-07-31 Florian Weimer <fweimer@redhat.com>
1944
1945 [BZ #24583]
1946 [BZ #24677]
1947 iconv, libio: Revert reference counting changes.
1948 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
1949 free the steps array.
1950 * libio/Makefile (tests): Remove tst-wfile-gconv.
1951 (tests-container): Do not add tst-wfile-ascii.
1952 (tst-wfile-gconv-ENV): Do not set.
1953 (generated): Do not add tst-wfile-gconv.mtrace,
1954 tst-wfile-gconv.check.
1955 [($run-built-tests)] (tests-special): Do not add
1956 tst-wfile-gconv-mem.out.
1957 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
1958 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
1959 instead of __wcsmbs_clone_conv.
1960 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
1961 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
1962
1963 2019-07-30 Joseph Myers <joseph@codesourcery.com>
1964
1965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1966 (__CONTEXT_FUNC_NAME): Restore setting of r31.
1967
1968 2019-07-30 Florian Weimer <fweimer@redhat.com>
1969
1970 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
1971 type to uintptr_t. Update comment.
1972 (check_stack_top): Adjust.
1973
1974 2019-07-29 Florian Weimer <fweimer@redhat.com>
1975
1976 Linux: Move declaration of getdents64 to <dirent.h>.
1977 * bits/dirent_ext.h: New file.
1978 * dirent/Makefile (headers): Add bits/dirent_ext.h.
1979 * dirent/dirent.h: Include <bits/dirent_ext.h>.
1980 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
1981 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
1982 declaration.
1983 * manual/filesys.texi (Low-level Directory Access): Update header
1984 to dirent.h.
1985
1986 2019-07-29 DJ Delorie <dj@redhat.com>
1987 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1988
1989 [BZ #24794]
1990 * Makeconfig (all-subdirs): Improved source comments.
1991 * Makefile (testroot.pristine/install.stamp): Pass
1992 subdirs='$(sorted-subdirs)' to make install.
1993
1994 2019-07-25 Florian Weimer <fweimer@redhat.com>
1995
1996 [BZ #24677]
1997 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
1998 counter before freeing array.
1999
2000 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
2001
2002 [BZ #24603]
2003 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
2004 works.
2005 * sysdeps/x86_64/configure: Regenerated.
2006 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
2007 to -mprefer-vector-width=128 if supported.
2008
2009 2019-07-24 Florian Weimer <fweimer@redhat.com>
2010
2011 * scripts/build-many-glibcs.py (Context.checkout): Default to
2012 Linux 5.2.
2013
2014 2019-07-24 Florian Weimer <fweimer@redhat.com>
2015
2016 [BZ #24532]
2017 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
2018 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
2019 (sysdep_headers): Add bits/socket-constants.h.
2020 (tests-special): Add tst-socket-consts.out.
2021 (tst-socket-consts.out): New target.
2022 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
2023 around <asm/unistd.h>.
2024 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
2025 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
2026 <asm/socket.h>.
2027 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
2028 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
2029 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
2030 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
2031 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
2032 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
2033 Likewise.
2034 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
2035
2036 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2037
2038 [BZ #24794]
2039 * Makefile (testroot.pristine/install.stamp): Pass
2040 subdirs='$(all-subdirs)' to make install.
2041
2042 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
2043 the same arguments used in all tests.
2044
2045 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2046
2047 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
2048
2049 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
2050
2051 [BZ #2872]
2052 * locale/C-translit.h.in: Add Cyrillic transliteration.
2053
2054 2019-07-19 Florian Weimer <fweimer@redhat.com>
2055
2056 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
2057 from Linux 5.2.
2058 (fsconfig): Add system call name.
2059 (fsmount): Likewise.
2060 (fsopen): Likewise.
2061 (fspick): Likewise.
2062 (move_mount): Likewise.
2063 (open_tree): Likewise.
2064
2065 2019-07-18 Carlos O'Donell <carlos@redhat.com>
2066
2067 * po/libc.pot: Regenerate.
2068
2069 2019-07-18 Mike Crowe <mac@mcrowe.com>
2070
2071 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
2072 functions recently added to sysdeps/nptl/pthread.h:
2073 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
2074 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
2075
2076 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
2077 pthread_cond_clockwait forwarding functions. There are no internal
2078 users, so it is unnecessary to expose these functions in libc.so.
2079 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
2080 unnecessary ptr___pthread_cond_clockwait member.
2081 * nptl/nptl-init.c (pthread_functions): Remove assignment of
2082 removed member.
2083
2084 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2085
2086 [BZ #21897]
2087 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
2088 begin with an uppercase letter now.
2089 (abmon): Likewise.
2090 (mon): Update from CLDR, reword February from "Kudo" to
2091 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
2092 and August from "Liiqen" to "Leqeeni".
2093 * localedata/locales/aa_ER (mon): Update from CLDR, reword
2094 April from "Agda Baxisso" to "Agda Baxis" and August from
2095 "Leqeeni" to "Liiqen".
2096 * localedata/locales/aa_ER@saaho (mon): Likewise.
2097 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
2098 abbreviated February from "Kud" to "Nah".
2099 (mon): Update from CLDR, reword February from "Kudo" to
2100 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
2101
2102 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2103
2104 [BZ #23996]
2105 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
2106
2107 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
2108
2109 [BZ #23996]
2110 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
2111 name_mrs, name_miss, and name_ms.
2112 * localedata/locales/nl_NL (LC_NAME): Likewise.
2113
2114 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
2115
2116 [BZ #24200]
2117 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
2118 * localedata/locales/en_IE (first_weekday): Likewise.
2119
2120 2019-07-12 Mike Crowe <mac@mcrowe.com>
2121
2122 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
2123 that is only useful if futex_supports_exact_relative_timeouts ()
2124 returns false.
2125 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
2126 Likewise.
2127 * sysdeps/nptl/futex-internal.h: Remove comment about relative
2128 timeouts potentially being imprecise since it's no longer true.
2129 Remove declaration of futex_supports_exact_relative_timeouts.
2130 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
2131 of futex_supports_exact_relative_timeouts.
2132
2133 * NEWS: Mention recently-added pthread_cond_clockwait,
2134 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
2135 sem_clockwait functions.
2136
2137 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
2138 works like pthread_mutex_timedlock but takes a clockid parameter to
2139 measure the abstime parameter against.
2140 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
2141 * nptl/DESIGN-systemtap-probes.txt: Likewise.
2142 * nptl/pthread_mutex_timedlock.c
2143 (__pthread_mutex_clocklock_common): Rename from
2144 __pthread_mutex_timedlock and add clockid parameter. Pass this
2145 parameter to lll_clocklock and lll_clocklock_elision in place of
2146 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
2147 LIBC_PROBE and validate clockid parameter before calling
2148 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
2149 implementation to add LIBC_PROBE and calls
2150 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
2151 clockid.
2152 * nptl/Makefile: Add tst-mutex11.c.
2153 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
2154 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
2155 clockid parameters to pthread_mutex_clocklock.
2156 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
2157 clockid parameter to indicate which clock to be used. Call
2158 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
2159 (do_test): Call do_test_clock to separately test
2160 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
2161 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
2162 * nptl/tst-mutex9.c: Likewise.
2163 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
2164 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
2165 Likewise.
2166 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
2167 Likewise.
2168 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
2169 Likewise.
2170 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
2171 Likewise.
2172 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
2173 Likewise.
2174 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
2175 Likewise.
2176 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
2177 Likewise.
2178 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2179 (GLIBC_2.30): Likewise.
2180 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2181 (GLIBC_2.30): Likewise.
2182 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2183 (GLIBC_2.30): Likewise.
2184 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2185 (GLIBC_2.30): Likewise.
2186 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2187 (GLIBC_2.30): Likewise.
2188 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
2189 Likewise.
2190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2191 (GLIBC_2.30): Likewise.
2192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2193 (GLIBC_2.30): Likewise.
2194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2195 (GLIBC_2.30): Likewise.
2196 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2197 (GLIBC_2.30): Likewise.
2198 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2199 (GLIBC_2.30): Likewise.
2200 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2201 (GLIBC_2.30): Likewise.
2202 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
2203 Likewise.
2204 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2205 (GLIBC_2.30): Likewise.
2206 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2207 (GLIBC_2.30): Likewise.
2208 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2209 (GLIBC_2.30): Likewise.
2210 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2211 (GLIBC_2.30): Likewise.
2212
2213 nptl: Rename lll_timedlock to lll_clocklock and add clockid
2214 parameter to indicate the clock that the abstime parameter should
2215 be measured against in preparation for adding
2216 pthread_mutex_clocklock.
2217 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
2218 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
2219 from __lll_timedlock and add clockid parameter.
2220 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
2221 Likewise.
2222 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
2223 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
2224 rather than __gettimeofday so that clockid can be used. This means
2225 that conversion from struct timeval is no longer required.
2226 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
2227 Likewise.
2228 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
2229 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
2230 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
2231 from lll_timedlock_elision, add clockid parameter and use
2232 meaningful names for other parameters. (__pthread_mutex_timedlock):
2233 Pass CLOCK_REALTIME where necessary to lll_clocklock and
2234 lll_clocklock_elision.
2235 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2236 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
2237 clockid parameter. (__lll_clocklock_elision): Rename from
2238 __lll_timedlock_elision and add clockid parameter.
2239 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2240 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
2241 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
2242 (__lll_lock_elision): Call __lll_clocklock_elision rather than
2243 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
2244 (LLL_LOCK): Likewise.
2245 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2246 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
2247
2248 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
2249 pthread_rwlock_clockwrlock which behave like
2250 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
2251 respectively, except they always measure abstime against the
2252 supplied clockid. The functions currently support CLOCK_REALTIME
2253 and CLOCK_MONOTONIC and return EINVAL if any other clock is
2254 specified.
2255 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
2256 pthread_wrlock_clockwrlock.
2257 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
2258 pthread_rwlock_clockwrlock.c.
2259 * nptl/pthread_rwlock_clockrdlock.c: Implement
2260 pthread_rwlock_clockrdlock.
2261 * nptl/pthread_rwlock_clockwrlock.c: Implement
2262 pthread_rwlock_clockwrlock.
2263 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
2264 clockid parameter and verify that it indicates a supported clock on
2265 entry so that we fail even if it doesn't end up being used. Pass
2266 that clock on to futex_abstimed_wait when necessary.
2267 (__pthread_rwlock_wrlock_full): Likewise.
2268 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
2269 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
2270 be used because there's no timeout.
2271 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
2272 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
2273 be used because there is no timeout.
2274 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2275 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
2276 uses that clock.
2277 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2278 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
2279 uses that clock.
2280 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2281 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2282 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2283 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2284 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2285 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2286 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2287 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2288 (GLIBC_2.30): Likewise.
2289 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2290 (GLIBC_2.30): Likewise.
2291 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2292 (GLIBC_2.30): Likewise.
2293 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2294 (GLIBC_2.30): Likewise.
2295 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2296 (GLIBC_2.30): Likewise.
2297 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2299 (GLIBC_2.30): Likewise.
2300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2301 (GLIBC_2.30): Likewise.
2302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2303 (GLIBC_2.30): Likewise.
2304 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2305 (GLIBC_2.30): Likewise.
2306 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2307 (GLIBC_2.30): Likewise.
2308 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2309 (GLIBC_2.30): Likewise.
2310 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2311 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2312 (GLIBC_2.30): Likewise.
2313 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2314 (GLIBC_2.30): Likewise.
2315 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2316 (GLIBC_2.30): Likewise.
2317 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2318 (GLIBC_2.30): Likewise.
2319 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
2320 pthread_rwlock_clockwrlock timeout tests to match the existing
2321 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
2322 * nptl/tst-rwlock14.c (do_test): Likewise.
2323 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
2324 ancillary output throughout. (tf): Accept thread_args structure so
2325 that rwlock, a clockid and function name can be passed to the
2326 thread. (do_test_clock): Rename from do_test. Accept clockid
2327 parameter to specify test clock. Use the magic clockid value of
2328 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
2329 pthread_rwlock_timedwrlock should be tested, otherwise pass the
2330 specified clockid to pthread_rwlock_clockrdlock and
2331 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
2332 (do_test): Call do_test_clock to test each clockid in turn.
2333 * nptl/tst-rwlock7.c: Likewise.
2334 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
2335 thread_args structure so that the (now int) thread number, the
2336 clockid and the function name can be passed to the thread.
2337 (do_test_clock): Renamed from do_test. Pass the necessary
2338 thread_args when creating the reader and writer threads. Use
2339 xpthread_create and xpthread_join.
2340 (do_test): Call do_test_clock to test each clockid in turn.
2341 * manual/threads.texi: Add documentation for
2342 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
2343
2344 nptl: pthread_rwlock: Move timeout validation into _full functions
2345 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
2346 Check validity of abstime parameter.
2347 (__pthread_rwlock_rwlock_full): Likewise.
2348 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2349 Remove check for validity of abstime parameter.
2350 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2351 Likewise.
2352
2353 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
2354 like pthread_cond_timedwait except it always measures abstime
2355 against the supplied clockid.
2356 * nptl/Makefile: Add tst-cond26 and tst-cond27
2357 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
2358 * sysdeps/nptl/pthread.h: Likewise
2359 * nptl/forward.c: Add __pthread_cond_clockwait
2360 * nptl/forward.c: Likewise
2361 * nptl/pthreadP.h: Likewise
2362 * sysdeps/nptl/pthread-functions.h: Likewise
2363 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
2364 clockid parameter and comment describing why we don't need to check
2365 its value. Use that value when calling
2366 futex_abstimed_wait_cancelable rather than reading the clock from
2367 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
2368 (__pthread_cond_timedwait): Read clock from flags and pass it to
2369 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
2370 function with weak alias from pthread_cond_clockwait.
2371 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2372 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2373 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2374 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2375 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2376 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2377 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2378 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2379 (GLIBC_2.30): Likewise.
2380 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2381 (GLIBC_2.30): Likewise.
2382 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2383 (GLIBC_2.30): Likewise.
2384 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2385 (GLIBC_2.30): Likewise.
2386 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2387 (GLIBC_2.30): Likewise.
2388 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2390 (GLIBC_2.30): Likewise.
2391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2392 (GLIBC_2.30): Likewise.
2393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2394 (GLIBC_2.30): Likewise.
2395 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2396 (GLIBC_2.30): Likewise.
2397 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2398 (GLIBC_2.30): Likewise.
2399 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2400 (GLIBC_2.30): Likewise.
2401 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2402 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2403 (GLIBC_2.30): Likewise.
2404 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2405 (GLIBC_2.30): Likewise.
2406 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2407 (GLIBC_2.30): Likewise.
2408 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2409 (GLIBC_2.30): Likewise.
2410 * nptl/tst-cond11.c (run_test): Support testing
2411 pthread_cond_clockwait too by using a special magic
2412 CLOCK_USE_ATTR_CLOCK value to determine whether to call
2413 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
2414 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
2415 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
2416 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
2417 clocks to pthread_cond_clockwait.
2418 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
2419 struct timespec and pthread_cond_clockwait.
2420 * manual/threads.texi: Document pthread_cond_clockwait.
2421
2422 nptl: Add POSIX-proposed sem_clockwait which behaves just like
2423 sem_timedwait, but measures abstime against the specified clock.
2424 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
2425 clockid parameters to indicate the clock which abstime should be
2426 measured against.
2427 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
2428 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
2429 __new_sem_wait_slow.
2430 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
2431 on sem_timedwait.c.
2432 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
2433 sem_clockwait.c to match those used for sem_timedwait.c.
2434 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
2435 * nptl/Versions (GLIBC_2.30): Likewise.
2436 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2437 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2438 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2439 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2440 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2441 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2442 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2443 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2444 (GLIBC_2.30): Likewise.
2445 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2446 (GLIBC_2.30): Likewise.
2447 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2448 (GLIBC_2.30): Likewise.
2449 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2450 (GLIBC_2.30): Likewise.
2451 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2452 (GLIBC_2.30): Likewise.
2453 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2455 (GLIBC_2.30): Likewise.
2456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2457 (GLIBC_2.30): Likewise.
2458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2459 (GLIBC_2.30): Likewise.
2460 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2461 (GLIBC_2.30): Likewise.
2462 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2463 (GLIBC_2.30): Likewise.
2464 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2465 (GLIBC_2.30): Likewise.
2466 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2467 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2468 (GLIBC_2.30): Likewise.
2469 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2470 (GLIBC_2.30): Likewise.
2471 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2472 (GLIBC_2.30): Likewise.
2473 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2474 (GLIBC_2.30): Likewise.
2475 * nptl/tst-sem17.c: Add new test for passing invalid clock to
2476 sem_clockwait.
2477 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
2478 tests to also test sem_clockwait.
2479 * manual/threads.texi: Document sem_clockwait.
2480
2481 nptl: Add clockid parameter to futex timed wait calls
2482 * sysdeps/nptl/lowlevellock-futex.h,
2483 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
2484 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
2485 takes a clockid rather than a special clockbit.
2486 * sysdeps/nptl/lowlevellock-futex.h: Add
2487 lll_futex_supported_clockid so that client functions can check
2488 whether their clockid parameter is valid even if they don't
2489 ultimately end up calling lll_futex_clock_wait_bitset.
2490 * sysdeps/nptl/futex-internal.h,
2491 sysdeps/unix/sysv/linux/futex-internal.h
2492 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
2493 clockid_t parameter to indicate which clock the absolute time
2494 passed should be measured against. Pass that clockid onto
2495 lll_futex_clock_wait_bitset. Add invalid clock as reason for
2496 returning -EINVAL.
2497 * sysdeps/nptl/futex-internal.h,
2498 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
2499 futex_abstimed_supported_clockid so that client functions can check
2500 whether their clockid parameter is valid even if they don't
2501 ultimately end up calling futex_abstimed_wait.
2502 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
2503 code to calculate relative timeout for
2504 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
2505 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
2506 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
2507 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
2508 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
2509 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2510 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
2511
2512 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2513
2514 [BZ #24699]
2515 * posix/tst-mmap-offset.c: Mention BZ #24699.
2516 (do_test_bz21270): Rename to do_test_large_offset and use
2517 mmap64_maximum_offset to check for maximum expected offset value.
2518 * sysdeps/generic/mmap_info.h: New file.
2519 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
2520 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
2521 __NR_mmap2 is used.
2522
2523 2019-07-10 DJ Delorie <dj@redhat.com>
2524 Sergei Trofimovich <slyfox@inbox.ru>
2525
2526 [BZ #24696]
2527 [BZ #24695]
2528 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
2529 mappings.
2530 * nss/tst-nss-db-endgrent.c: New.
2531 * nss/tst-nss-db-endgrent.root: New.
2532 * nss/tst-nss-db-endpwent.c: New.
2533 * nss/tst-nss-db-endpwent.root: New.
2534 * nss/Makefile: Add new tests.
2535 * support/links-dso-program-c.c: Add selinux dependency.
2536 * support/links-dso-program.cc: Add selinux dependency.
2537 * support/Makefile: Build those with -lselinux if enabled.
2538
2539 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
2540
2541 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
2542 DT_AARCH64_VARIANT_PCS check.
2543 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
2544 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
2545 variant_pcs.
2546
2547 2019-07-10 Andreas Schwab <schwab@suse.de>
2548
2549 [BZ #23352]
2550 * malloc/malloc.h (__malloc_check_init): Don't declare.
2551 * include/malloc.h (__malloc_check_init): Likewise.
2552 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
2553 * manual/memory.texi (__malloc_check_init): Don't mention it.
2554
2555 2019-07-10 Mao Han <han_mao@c-sky.com>
2556
2557 * locale/Makefile: Fix tst-locale-locpath arguments passing.
2558
2559 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
2560
2561 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
2562 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
2563
2564 2019-07-08 DJ Delorie <dj@redhat.com>
2565
2566 [BZ #23501]
2567 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
2568 * io/tst-ftw-lnk.c: New test.
2569 * io/Makefile: Run it.
2570
2571 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2572
2573 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
2574 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
2575 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
2576 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
2577 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
2578 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
2579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
2580 Adjust implementation path.
2581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
2582 Adjust implementation path.
2583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
2584 Adjust implementation path.
2585 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2586 (libm-sysdep_routines): Add s_log* objects.
2587 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
2588 CFLAGS-s_logb-power7.c): New fule.
2589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
2590 to ...
2591 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
2592 ... here.
2593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
2594 to ...
2595 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
2596 ... here.
2597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
2598 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
2599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
2600 to ...
2601 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
2602 ... here.
2603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
2604 to ...
2605 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
2606 ... here.
2607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
2608 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
2609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
2610 to ...
2611 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
2612 ... here.
2613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
2614 to ...
2615 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
2616 ... here.
2617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
2618 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
2619 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
2620 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
2621 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2622 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2623
2624 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
2625 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
2626 powerpc32 integer 0 converting to -0.
2627
2628 * benchtests/Makefile (bench-math): Add logb.
2629 * benchtests/logb-inputs: New file.
2630 * benchtests/logbf-inputs: New file.
2631
2632 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
2633 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
2634 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
2635 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
2636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2637 Adjust include.
2638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2639 Likewise.
2640 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
2641 sysdep_routines): Add s_modf* objects.
2642 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
2643 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
2644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
2645 to ...
2646 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
2647 ... here.
2648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
2649 to ...
2650 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
2651 ... here.
2652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
2653 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
2654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
2655 to ...
2656 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
2657 ... here.
2658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
2659 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
2660 ... here.
2661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
2662 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
2663
2664 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
2665 twoM500, twoM600, two60factor, pdnum): Remove.
2666 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
2667 (__ieee754_hypot): Replace static variables with inline definition,
2668 remove ununsed branches.
2669 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2670 (libm-sysdep_routines): Remove e_hypot-* objects.
2671 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
2672 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
2673 file.
2674 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
2675 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
2676 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
2677 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
2678 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
2679
2680 * benchtests/Makefile (bench-math): Add hypot.
2681 * benchtests/hypot-inputs: New file.
2682
2683 2019-07-08 Vincent Chen <vincentc@andestech.com>
2684
2685 * sysdeps/unix/sysv/linux/dl-vdso.h
2686 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
2687
2688 2019-07-04 Andreas Schwab <schwab@suse.de>
2689
2690 [BZ #24484]
2691 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
2692
2693 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2694
2695 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
2696 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
2697 * sysdeps/aarch64/sys/ifunc.h: New file.
2698 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
2699 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
2700
2701 2019-07-01 Florian Weimer <fweimer@redhat.com>
2702
2703 [BZ #20188]
2704 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
2705 Replace __vfork with __libpthread_version_placeholder for
2706 GLIBC_2.1.2.
2707 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
2708 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
2709 libpthread-compat.
2710 * nptl/pt-vfork.c: Remove file.
2711 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
2712 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
2713 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2714 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2715 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
2716 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
2717 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
2718 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
2719 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
2720 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2721 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
2722 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
2723 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
2724 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2725 Remove vfork, __vfork.
2726 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2727 Remove vfork.
2728 (GLIBC_2.1.2): Replace __vfork with
2729 __libpthread_version_placeholder.
2730 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2731 Remove vfork, __vfork.
2732 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2733 Likewise.
2734 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2735 Remove vfork.
2736 (GLIBC_2.1.2): Replace __vfork with
2737 __libpthread_version_placeholder.
2738 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2739 Remove vfork.
2740 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2741 (GLIBC_2.4): Remove vfork, __vfork.
2742 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2743 (GLIBC_2.0): Remove vfork.
2744 (GLIBC_2.1.2): Replace __vfork with
2745 __libpthread_version_placeholder.
2746 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2747 (GLIBC_2.18): Remove vfork, __vfork.
2748 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2749 (GLIBC_2.0): Remove vfork.
2750 (GLIBC_2.2): Remove __vfork.
2751 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
2752 (GLIBC_2.2): Remove vfork, __vfork.
2753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
2754 (GLIBC_2.0): Remove vfork.
2755 (GLIBC_2.1.2): Replace __vfork with
2756 __libpthread_version_placeholder.
2757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2758 (GLIBC_2.3): Remove vfork, __vfork.
2759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2760 (GLIBC_2.17): Likewise.
2761 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2762 (GLIBC_2.0): Remove vfork.
2763 (GLIBC_2.1.2): Replace __vfork with
2764 __libpthread_version_placeholder.
2765 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2766 (GLIBC_2.2): Remove vfork, __vfork.
2767 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2768 Likewise.
2769 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2770 (GLIBC_2.0): Remove vfork.
2771 (GLIBC_2.1.2): Replace __vfork with
2772 __libpthread_version_placeholder.
2773 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2774 (GLIBC_2.2): Remove vfork, __vfork.
2775 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2776 (GLIBC_2.2.5): Likewise.
2777 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2778 (GLIBC_2.16): Likewise.
2779 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
2780 Remove __errno_location.
2781
2782 2019-07-02 Florian Weimer <fweimer@redhat.com>
2783
2784 [BZ #24757]
2785 * malloc/Depend: Add nptl and htl, due to potential indirect
2786 libpthread dependency of memusagestat.
2787
2788 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
2789
2790 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
2791 warning.
2792
2793 2019-07-01 Florian Weimer <fweimer@redhat.com>
2794
2795 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
2796 variant for arm-linux-gnueabi.
2797
2798 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
2799
2800 [BZ #24259]
2801 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
2802 relocation.
2803 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
2804 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
2805 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
2806 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
2807 and tst-cet-legacy-mod-6c.
2808 (CFLAGS-tst-cet-legacy-5a.c): New.
2809 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
2810 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
2811 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
2812 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
2813 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
2814 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
2815 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
2816 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
2817 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
2818 ($(objpfx)tst-cet-legacy-5a): Likewise.
2819 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
2820 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
2821 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
2822 ($(objpfx)tst-cet-legacy-5b): Likewise.
2823 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
2824 (tst-cet-legacy-5b-ENV): Likewise.
2825 ($(objpfx)tst-cet-legacy-6a): Likewise.
2826 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
2827 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
2828 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
2829 ($(objpfx)tst-cet-legacy-6b): Likewise.
2830 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
2831 (tst-cet-legacy-6b-ENV): Likewise.
2832 * sysdeps/x86/tst-cet-legacy-5.c: New file.
2833 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
2834 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
2835 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
2836 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
2837 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
2838 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
2839 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
2840 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
2841 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
2842 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
2843 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
2844 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
2845 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
2846
2847 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
2848
2849 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
2850 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
2851 (__fegetround_ISA300) New.
2852 (__fegetround_ISA2) New.
2853 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
2854 (_FPU_MFFS): Move implementation...
2855 (_FPU_GETCW): Here.
2856 (_FPU_MFFSL): Move implementation....
2857 (_FPU_GET_RC_ISA300): Here. New.
2858 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
2859 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
2860 (fegetenv_status): New.
2861 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
2862 instead of fegetenv_register().
2863 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
2864
2865 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
2866
2867 * benchtests/bench-math-inlines.c: Increase iterations.
2868 * benchtests/bench-memcmp.c: Likewise.
2869 * benchtests/bench-rawmemchr.c: Likewise.
2870 * benchtests/bench-strcmp.c: Likewise.
2871 * benchtests/bench-strcpy_chk.c: Likewise.
2872 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
2873 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
2874 (INNER_LOOP_ITERS_SMALL): Likewise.
2875 * benchtests/bench-strncat.c: Increase iterations.
2876 * benchtests/bench-strncmp.c: Increase iterations.
2877 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
2878 * benchtests/bench-strrchr.c: Increase iterations.
2879 * benchtests/bench-strstr.c: Keep iterations unchanged.
2880 * benchtests/bench-strtod.c: Increase iterations.
2881
2882 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2883
2884 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
2885 with INNER_LOOP_ITERS_LARGE.
2886 * benchtests/bench-memchr.c: Likewise.
2887 * benchtests/bench-rawmemchr.c: Likewise.
2888 * benchtests/bench-strcat.c: Likewise.
2889 * benchtests/bench-strchr.c: Likewise.
2890 * benchtests/bench-string.h: Likewise.
2891 * benchtests/bench-strlen.c: Likewise.
2892 * benchtests/bench-strncpy.c: Likewise.
2893 * benchtests/bench-strnlen.c: Likewise.
2894
2895 2019-06-28 Florian Weimer <fweimer@redhat.com>
2896
2897 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
2898 Use mmap instead of malloc. malloc with M_PERTURB writes to the
2899 entire allocated memory range.
2900
2901 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
2902
2903 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
2904 (prepare_version_base): New helper inline function.
2905 (prepare_version): New macro replacing PREPARE_VERSION.
2906 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
2907
2908 2019-06-28 Florian Weimer <fweimer@redhat.com>
2909
2910 [BZ #24741]
2911 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
2912 mismatch in a versioned symbol reference.
2913 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
2914 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
2915 tst-sonamemove-dlopen.
2916 (module-names): Add tst-sonamemove-linkmod1,
2917 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
2918 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
2919 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
2920 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
2921 (tst-sonamemove-runmod1.so): Link against
2922 tst-sonamemove-runmod2.so.
2923 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
2924 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
2925 tst-sonamemove-runmod2.so.
2926 (tst-sonamemove-dlopen): Link with -ldl.
2927 (tst-sonamemove-dlopen.out): Likewise.
2928 * elf/tst-sonamemove-link.c: New file.
2929 * elf/tst-sonamemove-dlopen.c: Likewise.
2930 * elf/tst-sonamemove-linkmod1.c: Likewise.
2931 * elf/tst-sonamemove-linkmod1.map: Likewise.
2932 * elf/tst-sonamemove-runmod1.c: Likewise.
2933 * elf/tst-sonamemove-runmod1.map: Likewise.
2934 * elf/tst-sonamemove-runmod2.c: Likewise.
2935 * elf/tst-sonamemove-runmod2.map: Likewise.
2936
2937 2019-06-28 Florian Weimer <fweimer@redhat.com>
2938
2939 * support/xdlfcn.h (xdlvsym): Declare function.
2940 * support/xdlfcn.c (xdlvsym): Define funciton.
2941
2942 2019-06-28 Florian Weimer <fweimer@redhat.com>
2943
2944 [BZ #24744]
2945 io: Remove the copy_file_range emulation.
2946 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
2947 not define and call copy_file_range_compat.
2948 * io/Makefile (tests-static, tests-internal): Do not add
2949 tst-copy_file_range-compat.
2950 * io/copy_file_range-compat.c: Remove file.
2951 * io/copy_file_range.c (copy_file_range): Define as stub.
2952 * io/tst-copy_file_range-compat.c: Remove file.
2953 * io/tst-copy_file_range.c (xdevfile): Remove variable.
2954 (typical_sizes): Update comment. Remove 16K sizes.
2955 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
2956 Remove variables.
2957 (find_maximum_offset, pipe_as_source, pipe_as_destination)
2958 (delayed_write_failure_beginning, delayed_write_failure_end)
2959 (cross_device_failure, enospc_failure_1, enospc_failure)
2960 (oappend_failure): Remove functions.
2961 (tests): Adjust test case list.
2962 (do_test): Remove file system search code. Check for ENOSYS from
2963 copy_file_range. Do not free xdevfile.
2964 * manual/llio.texi (Copying File Data): Document ENOSYS error from
2965 copy_file_range. Do not document the EXDEV error, which future
2966 kernels may not report. Update the wording to reflect that
2967 further errors are possible.
2968 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2969 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
2970 not undefine.
2971 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2972 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2973 Likewise.
2974 * sysdeps/unix/sysv/linux/kernel-features.h
2975 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
2976 Remove definition.
2977 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2978 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
2979 not undefine.
2980 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2981 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
2982 Likewise.
2983
2984 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2985
2986 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
2987 used as a mask for the mode argument of __vfprintf_internal.
2988 * stdio-common/printf-parse.h (printf_arg): New union member:
2989 pa_float128.
2990 * stdio-common/vfprintf-internal.c
2991 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
2992 (PARSE_FLOAT_VA_ARG): Likewise.
2993 (SETUP_FLOAT128_INFO): Likewise.
2994 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
2995 SETUP_FLOAT128_INFO.
2996 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
2997 floating-point value to the new union member, pa_float128.
2998 (printf_positional): Zero-initialize args_value[cnt] with memset.
2999
3000 2019-06-27 Florian Weimer <fweimer@redhat.com>
3001
3002 [BZ #24740]
3003 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
3004 buffer size if necessary.
3005 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3006 Likewise.
3007 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
3008 New function.
3009 (large_buffer_checks): Likewise.
3010 (do_test): Call large_buffer_checks.
3011
3012 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
3013
3014 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
3015 * sysdeps/x86/dl-lookupcfg.h: Here.
3016 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
3017
3018 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3019
3020 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3021 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
3022 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
3023 file.
3024 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3025 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3026 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
3027 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3028 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
3029
3030 * sysdeps/powerpc/powerpc32/fpu/Makefile
3031 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
3032 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
3033 and fctidz optimization.
3034 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
3035 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
3036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3037 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
3038 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
3039 CFLAGS-s_lround-power5+.c): New rule.
3040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
3041 New file.
3042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
3043 Likewise.
3044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
3045 Likewise.
3046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
3047 Likewise.
3048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
3049 Likewise.
3050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3051 Remove file.
3052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3053 Likewise.
3054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3055 Likewise.
3056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3057 Likewise.
3058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3059 Likewise.
3060 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3061 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
3062 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3063 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
3064 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3065 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3066 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
3067
3068 2019-06-26 Vincent Chen <vincentc@andestech.com>
3069
3070 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
3071 specific system calls, fp_udfiex_crtl and udftrap.
3072
3073 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
3074
3075 * nptl/tst-eintr1.c (tf1): Add return statement.
3076 (do_test): Remove unused th variable.
3077
3078 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
3079
3080 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
3081 Return error if get_character fails.
3082
3083 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
3084
3085 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3086
3087 2019-06-24 Rafał Lużyński <digitalfreak@lingonborough.com>
3088
3089 [BZ #24652]
3090 * localedata/locales/szl_PL (day): Use the correct Unicode
3091 sequences instead of non-ASCII characters.
3092
3093 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
3094
3095 [BZ #24652]
3096 * localedata/locales/szl_PL (abday): Spelling corrections.
3097 (day): Likewise.
3098 (abmon): Likewise.
3099 (mon): Rename to...
3100 (alt_mon): This, then apply spelling corrections.
3101 (mon): New entry, month names in the genitive case.
3102
3103 2019-06-21 Rafał Lużyński <digitalfreak@lingonborough.com>
3104
3105 [BZ #23831]
3106 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
3107 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
3108 (thousands_sep): Likewise.
3109 (grouping): Set to 3;3.
3110
3111 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
3112
3113 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
3114 PREPARE_VERSION_KNOWN.
3115 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3116 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
3117 define.
3118 (VDSO_HASH_LINUX_2_6_39): Likewise.
3119 (VDSO_NAME_LINUX_4_9): Likewise.
3120 (VDSO_HASH_LINUX_4_9): Likewise.
3121 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
3122 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3123 (_libc_vdso_platform_setup): Likewise.
3124 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
3125 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
3126 Likewise.
3127 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
3128 Likewise.
3129
3130 2019-06-20 Mike Crowe <mac@mcrowe.com>
3131
3132 * nptl/eintr.c: Use libsupport.
3133 * nptl/tst-eintr1.c: Likewise.
3134 * nptl/tst-eintr2.c: Likewise.
3135 * nptl/tst-eintr3.c: Likewise.
3136 * nptl/tst-eintr4.c: Likewise.
3137 * nptl/tst-eintr5.c: Likewise.
3138 * nptl/tst-mutex-errorcheck.c: Likewise.
3139 * nptl/tst-mutex5.c: Likewise.
3140
3141 * support/test-driver.h: Add verbose_printf macro.
3142
3143 * support/xtime.h: Add xclock_now() helper function.
3144
3145 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
3146 Florian Weimer <fweimer@redhat.com>
3147
3148 [BZ #24228]
3149 * libio/genops.c (_IO_unbuffer_all)
3150 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
3151 buffers and access _IO_FILE_complete members of legacy libio streams.
3152 * libio/tst-bz24228.c: New file.
3153 * libio/tst-bz24228.map: Likewise.
3154 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
3155 [build-shared] (generated): Add tst-bz24228.mtrace and
3156 tst-bz24228.check.
3157 [run-built-tests && build-shared] (tests-special): Add
3158 $(objpfx)tst-bz24228-mem.out.
3159 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
3160 ($(objpfx)tst-bz24228-mem.out): New rule.
3161
3162 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
3163
3164 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
3165 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
3166 (__FPU_MFFSL): Likewise.
3167 (_FPU_SETCW): Likewise.
3168
3169 2019-06-19 Stan Shebs <stanshebs@google.com>
3170 Raoni Fassina Firmino <raoni@linux.ibm.com>
3171
3172 [BZ #24640]
3173 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
3174 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
3175 static-linking version.
3176 * sysdeps/unix/sysv/linux/powerpc/Makefile
3177 (tests-static): Add test-gettimebasefreq-static.
3178 (tests): Likewise.
3179 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
3180 New file.
3181
3182 2019-06-19 Rafał Lużyński <digitalfreak@lingonborough.com>
3183
3184 [BZ #24614]
3185 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
3186 between the currency symbol and the minus sign).
3187 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3188
3189 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
3190
3191 [BZ #24556]
3192 * string/test-strcasestr.c (check_result): Add NULL check.
3193 * nss/tst-field.c (check_rewrite): Likewise.
3194 * benchtests/bench-strstr.c (do_one_test): Likewise.
3195 * string/test-strstr.c (check_result): Likewise.
3196 * argp/argp-test.c (popt): Increase size of buf to 12.
3197 * benchtests/bench-malloc-simple.c (bench):
3198 Do not initialize tests array out of bounds.
3199
3200 2019-06-19 Florian Weimer <fweimer@redhat.com>
3201
3202 [BZ #24166]
3203 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
3204 dls_serpath field.
3205
3206 2019-06-18 Florian Weimer <fweimer@redhat.com>
3207
3208 [BZ #24323]
3209 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
3210 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
3211 fail when called from dlopen.
3212 * elf/Makefile [have-fpie && build-shared] (tests): Add
3213 tst-dlopen-pie.
3214 (tst-dlopen-pie): Link with -ldl.
3215 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
3216 * elf/tst-dlopen-pie.c (do_test): New file.
3217
3218 2019-06-17 Rafał Lużyński <digitalfreak@lingonborough.com>
3219
3220 [BZ #24614]
3221 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
3222 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
3223 between the currency symbol and the minus sign).
3224 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
3225 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
3226
3227 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3228
3229 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
3230 sysdep-rtld-routines): Remove rules.
3231 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
3232 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
3233 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
3234 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
3235 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
3236 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
3237 vDSO path for SHARED.
3238 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
3239 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
3240 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3241 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
3242 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
3243 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
3244
3245 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3246 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
3247 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
3248 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
3249 CFLAGS-s_llround-power5+.c): New rule.
3250 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
3251 New file.
3252 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
3253 Likewise.
3254 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
3255 Likewise.
3256 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
3257 Likewise.
3258 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
3259 Likewise.
3260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
3261 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
3262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
3263 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
3264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
3265 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
3266 * sysdeps/powerpc/powerpc64/fpu/Makefile
3267 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
3268 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3269 (libm-sysdep_routines): Remove s_llround-* objects.
3270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
3271 file.
3272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
3273 Likewise.
3274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
3275 Likewise.
3276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
3277 Likewise.
3278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
3279 Likewise.
3280 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3281 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3282 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
3283 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
3284 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
3285 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
3286 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
3287 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
3288 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3289 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
3290 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3291 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
3292 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3293 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
3294
3295 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
3296 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
3297 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
3298 * sysdeps/powerpc/powerpc32/fpu/Makefile
3299 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
3300 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
3301 optimization.
3302 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
3303 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
3304 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
3305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3306 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
3307 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
3308 CFLAGS-s_lrint-ppc32.c): New rule.
3309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3310 Remove file.
3311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3312 Likewise.
3313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3314 Likewise.
3315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3316 Likewise.
3317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3318 Likewise.
3319 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3320 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3321 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3322 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
3324 New file.
3325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
3326 Likewise.
3327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
3328 Likewise.
3329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
3330 Likewise.
3331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
3332 Likewise.
3333
3334 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3335 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
3336 s_llrint-ppc64.
3337 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
3338 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
3339 file.
3340 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
3341 Likewise.
3342 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
3343 Likewise.
3344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
3345 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
3346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
3347 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
3348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
3349 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
3350 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
3351 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
3352 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3353 (libm-sysdep_routines): Remove s_llrint-* objects.
3354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
3355 file.
3356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
3357 Likewise.
3358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
3359 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
3360 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
3361 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
3362 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
3363 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
3364 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3365 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
3366 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3367 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
3368
3369 2019-06-14 Florian Weimer <fweimer@redhat.com>
3370
3371 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
3372 argument to __glibc_has_include to inhibit macro expansion.
3373
3374 2019-06-14 Florian Weimer <fweimer@redhat.com>
3375
3376 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
3377 function-like macro, so that __has_include can inhibit expansion
3378 of its argument.
3379
3380 2019-06-13 Joseph Myers <joseph@codesourcery.com>
3381
3382 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
3383 New macro.
3384
3385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3386 Allow memset in libc.so.
3387
3388 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3389
3390 * sysdeps/aarch64/dl-dtprocnum.h: New file.
3391 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
3392 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
3393 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
3394 symbols at load time.
3395 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
3396
3397 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3398
3399 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
3400 (DT_AARCH64_VARIANT_PCS): Define.
3401
3402 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3403
3404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3405 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
3406 objects.
3407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3408 Remove file.
3409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
3410 Likewise.
3411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
3412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3413 Likewise.
3414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3415 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3416 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
3417 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3418 Remove s_finite* objects.
3419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
3420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
3421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
3422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
3424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3425 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3426 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
3427 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3428 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
3429
3430 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
3431 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
3432
3433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3434 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
3435 objects.
3436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
3437 Remove file.
3438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
3439 Likewise.
3440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3442 Likewise.
3443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3444 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3445 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
3446 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3447 Remove s_isinf* and s_isinf* objects.
3448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
3451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
3453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3454 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3455 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
3456 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3457 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
3458
3459 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
3460 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
3461
3462 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
3463 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
3464 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3466 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
3467 s_isnanf-* objects.
3468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
3469 Remove file
3470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
3471 Likewise.
3472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
3473 Likewise.
3474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
3475 Likewise.
3476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
3478 Likewise.
3479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3480 Likewise.
3481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
3482 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3483 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
3484 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3485 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
3486 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3487 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
3488 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
3489 Remove s_isnan-* and s_isnanf-* objects.
3490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
3491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
3492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
3493 Likewise.
3494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
3495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
3496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
3497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3499 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3500 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3501 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3502 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3503 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3504 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
3505 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3506 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
3507
3508 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
3509 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
3510
3511 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
3512 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
3513 CFLAGS-bench-isfinite.c): New rule.
3514 * benchtests/isnan-input: New file.
3515 * benchtests/isinf-input: New file.
3516 * benchtests/isfinite-input: New file.
3517
3518 * sysdeps/powerpc/fpu/s_copysign.c: New file.
3519 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
3520 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
3521 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
3522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3523 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
3524 s_copysign-ppc32.
3525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3526 Remove file.
3527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3528 Likewise.
3529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3530 Likewise.
3531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3532 Likewise.
3533 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3534 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
3535 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
3536 Remove s_copysign-power6 s_copysign-ppc64.
3537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
3538 Remove file.
3539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
3540 Likewise.
3541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
3543 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3544 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
3545 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3546 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
3547
3548 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
3549 round_to_integer_float, round_mode): Add RINT handling.
3550 (reset_fenv_mode): New symbol.
3551 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
3552 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
3553 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
3554 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3555 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3556 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3557
3558 2019-06-12 Florian Weimer <fweimer@redhat.com>
3559
3560 [BZ #24632]
3561 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
3562 * libio/freopen.c (freopen): Use it.
3563
3564 2019-06-12 Florian Weimer <fweimer@redhat.com>
3565
3566 Linux: Deprecate sysctl.
3567 * include/sysctl.h (__sysctl): Remove declaration.
3568 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
3569 check.
3570 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
3571 (sysctl): Add deprecation attribute.
3572 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
3573 directly, to avoid the deprecation warning. Do not include
3574 <string.h>.
3575 (__sysctl): Remove hidden alias.
3576
3577 2019-06-12 Florian Weimer <fweimer@redhat.com>
3578
3579 Linux: Use kernel headers for statx definitions if available.
3580 * include/bits/statx-generic.h: New file.
3581 * include/bits/types/struct_statx.h: Likewise.
3582 * include/bits/types/struct_statx_timestamp.h: Likewise.
3583 * io/Makefile (headers): Add bits/statx-generic.h.
3584 * io/bits/statx-generic.h: New file. Partly copied from
3585 io/bits/statx.h.
3586 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
3587 define original_statx.
3588 * io/bits/types/struct_statx.h: Likewise.
3589 * io/bits/types/struct_statx_timestamp.h: Likewise.
3590 (statx_generic): Use original_statx.
3591 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
3592 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
3593
3594 2019-06-12 Florian Weimer <fweimer@redhat.com>
3595
3596 * misc/sys/cdefs.h (__glibc_has_include): Define.
3597
3598 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3599
3600 * string/memmem.c (__memmem): Rewrite to improve performance.
3601
3602 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3603
3604 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
3605 warning.
3606 (two_way_long_needle): Block inlining.
3607 * string/strstr.c (strstr2): Add new function.
3608 (strstr3): Likewise.
3609 (STRSTR): Completely rewrite strstr to improve performance.
3610
3611 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
3612
3613 * benchtests/bench-strstr.c (test_hard_needle): New function.
3614
3615 2019-06-10 Joseph Myers <joseph@codesourcery.com>
3616
3617 * malloc/tst-calloc.c: Include <libc-diag.h>.
3618 (null_test): Ignore -Wunused-result around calls to calloc.
3619 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
3620 (do_test): Ignore -Wunused-result around call to malloc.
3621
3622 2019-06-07 Florian Weimer <fweimer@redhat.com>
3623
3624 Linux: Add getdents64 system call.
3625 * include/dirnent.h (getdents): Add comment and change buffer
3626 argument type to void *.
3627 (getdents64): Likewise. Add hidden prototype.
3628 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
3629 getdents64.
3630 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
3631 Add tst-getdents64.
3632 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
3633 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
3634 argument type to void *.
3635 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
3636 Add hidden definition and getdents64 alias.
3637 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3638 Likewise.
3639 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
3640 * manual/filesys.texi (Accessing Directories): Add Low-level
3641 Directory Access node reference.
3642 (Opening a Directory): Cross-reference it.
3643 (Low-level Directory Access): New node.
3644 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3645 getdents64.
3646 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3647 Likewise.
3648 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3649 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3650 Likewise.
3651 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3652 Likewise.
3653 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3654 Likewise.
3655 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3656 Likewise.
3657 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3658 Likewise.
3659 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3660 Likewise.
3661 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3662 Likewise.
3663 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3664 (GLIBC_2.30): Likewise.
3665 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3666 (GLIBC_2.30): Likewise.
3667 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3668 (GLIBC_2.30): Likewise.
3669 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3670 (GLIBC_2.30): Likewise.
3671 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3672 Likewise.
3673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3674 (GLIBC_2.30): Likewise.
3675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3676 (GLIBC_2.30): Likewise.
3677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3678 (GLIBC_2.30): Likewise.
3679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3680 (GLIBC_2.30): Likewise.
3681 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3682 Likewise.
3683 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3684 Likewise.
3685 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3686 Likewise.
3687 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3688 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3689 Likewise.
3690 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3691 Likewise.
3692 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3693 Likewise.
3694 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3695 Likewise.
3696
3697 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
3698
3699 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
3700 (__FPU_MFFS): New.
3701 (__FPU_MFFSL): New.
3702 (_FPU_GET_RC): New.
3703 (_FPU_GETCW): Use __FPU_MFFS().
3704 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
3705
3706 2019-06-06 Florian Weimer <fweimer@redhat.com>
3707
3708 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
3709 internal GCC preprocessor identifier __has_include__.
3710
3711 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
3712
3713 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
3714 with call to equivalent function.
3715
3716 2019-06-04 Florian Weimer <fweimer@redhat.com>
3717
3718 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
3719 (do_release_shlib): Adjust for __twalk_r.
3720 (__gconv_release_shlib): Call __twalk_r.
3721
3722 2019-06-04 Andreas Schwab <schwab@suse.de>
3723
3724 [BZ #18830]
3725 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
3726 no irreversible characters occurred.
3727 * iconv/gconv_simple.c (internal_ucs4_loop)
3728 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
3729 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
3730 (ucs4_internal_loop_single, internal_ucs4le_loop)
3731 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
3732 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
3733 (ucs4le_internal_loop_single): Add const to outend.
3734 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
3735 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
3736 * iconv/Makefile (tests): Add tst-iconv7.
3737 * iconv/tst-iconv7.c: New file.
3738
3739 2019-06-03 Joseph Myers <joseph@codesourcery.com>
3740
3741 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
3742
3743 2019-06-01 Florian Weimer <fweimer@redhat.com>
3744
3745 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
3746 * sysdeps/unix/sysv/linux/arm/Makefile
3747 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
3748 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
3749 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
3750 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
3751 compatibility symbols.
3752
3753 2019-05-31 Florian Weimer <fweimer@redhat.com>
3754
3755 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
3756 system calls for the arm architecture: breakpoint, get_tls,
3757 set_tls, usr26, usr32.
3758
3759 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3760
3761 * sysdeps/powerpc/Makefile
3762 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
3763 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
3764 Declare '.machine power7' to get support for ldbrx.
3765 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
3766 directive based on the directory of the file.
3767 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3768 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3769 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
3770 '.machine' directive.
3771 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
3772 (VADDUQM_V7_V8): Remove.
3773 (__STRCASECMP): Replace macros with actual instructions.
3774 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
3775 '.machine' directive.
3776 (VCLZD_V8_v7): Remove.
3777 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
3778
3779 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3780
3781 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
3782 Remove file.
3783 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
3784
3785 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3786
3787 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3788 NEARBYINT handling.
3789 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
3790 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
3791 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
3792 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
3793 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
3794 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3795
3796 2019-05-28 mansayk <6688000@gmail.com>
3797
3798 [BZ #24370]
3799 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
3800
3801 2019-05-28 mansayk <6688000@gmail.com>
3802
3803 [BZ #24369]
3804 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
3805 (abmon): Likewise, but remove the trailing dots.
3806
3807 2019-05-28 Joseph Myers <joseph@codesourcery.com>
3808
3809 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
3810
3811 2019-05-27 Florian Weimer <fweimer@redhat.com>
3812
3813 * nptl/nptl-init.c: Add comment.
3814
3815 2019-05-24 Florian Weimer <fweimer@redhat.com>
3816
3817 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
3818 struct in_addr/struct in6_addr alignment.
3819
3820 2019-05-23 Joseph Myers <joseph@codesourcery.com>
3821
3822 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3823 (F_SEAL_FUTURE_WRITE): New macro.
3824
3825 2019-05-23 Alexandra Hájková <ahajkova@redhat.com>
3826
3827 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
3828 * elf/tst-ldconfig-bad-aux-cache.c: New file.
3829 * elf/tst-ldconfig_aux-cache.root: New directory.
3830 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
3831 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
3832 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
3833
3834 2019-05-22 Zack Weinberg <zackw@panix.com>
3835
3836 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
3837 host type.
3838 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
3839 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
3840
3841 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
3842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
3843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
3844 Delete.
3845
3846 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
3847 Issue an #error if used with a compiler in SPE-float mode.
3848 * sysdeps/powerpc/powerpc32/__longjmp_common.S
3849 * sysdeps/powerpc/powerpc32/setjmp_common.S
3850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
3852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
3853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
3854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3856 Remove code to preserve SPE register state.
3857
3858 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3859 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3860 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
3861 Remove __SPE__ ifndefs.
3862
3863 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
3864
3865 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
3866 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
3867 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
3868 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
3869 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
3870 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
3871 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
3872 (INNER_LOOP_ITERS_MEDIUM): New define.
3873 (INNER_LOOP_ITERS_SMALL): New define.
3874 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
3875 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
3876 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
3877 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
3878 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
3879
3880 2019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3881
3882 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
3883 New define.
3884 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
3885 (SEMTIMEDOP_IPC_ARGS): Likewise.
3886
3887 2019-05-21 Florian Weimer <fweimer@redhat.com>
3888
3889 [BZ #24584]
3890 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
3891 before updating __counter field and release it afterwards. Add
3892 overflow check.
3893 * iconv/gconv.h (struct __gconv_step): Mention synchronization
3894 requirement for __counter member.
3895
3896 2019-05-21 Florian Weimer <fweimer@redhat.com>
3897
3898 [BZ #24583]
3899 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
3900 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
3901 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
3902 instead of __gconv_release_step.
3903 * libio/Makefile (tests): Add tst-wfile-gconv.
3904 (tests-container): Add tst-wfile-ascii.
3905 (tst-wfile-gconv-ENV): Enable mtrace.
3906 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
3907 (tests-special): Add tst-wfile-gconv-mem.out.
3908 (tst-wfile-gconv.out): Depend on locales.
3909 (tst-wfile-gconv-mem.out): Add mtrace rule.
3910 * libio/tst-wfile-ascii.c: New file.
3911 * libio/tst-wfile-gconv.c: Likewise.
3912
3913 2019-05-20 Florian Weimer <fweimer@redhat.com>
3914
3915 [BZ #24588]
3916 libio: Remove codecvt vtable.
3917 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
3918 __libio_codecvt.
3919 * libio/iofgetpos.c (_IO_new_fgetpos): Call
3920 __libio_codecvt_encoding.
3921 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
3922 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3923 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
3924 * libio/iofwide.c (__libio_codecvt): Remove variable.
3925 (_IO_fwide): Do not copy __libio_codecvt.
3926 (__libio_codecvt_out): Rename from do_out and export.
3927 (do_unshift): Remove function.
3928 (__libio_codecvt_in): Rename from do_in and export.
3929 (__libio_codecvt_encoding): Rename from do_encoding and export.
3930 (do_always_noconv): Remove function.
3931 (__libio_codecvt_length): Rename from do_length and export.
3932 (do_max_length): Remove function.
3933 * libio/libio.h (enum __codecvt_result): Remove definition; moved
3934 to libioP.h.
3935 (struct _IO_codecvt): Remove fields __codecvt_destr,
3936 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
3937 __codecvt_do_encoding, __codecvt_do_always_noconv,
3938 __codecvt_do_length, __codecvt_do_max_length.
3939 * libio/libioP.h (enum __codecvt_result): Define; moved from
3940 libio.h.
3941 (__libio_codecvt_out, __libio_codecvt_in)
3942 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
3943 functions.
3944 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
3945 (_IO_wfile_underflow): Call __libio_codecvt_in.
3946 (_IO_wfile_underflow): Likewise.
3947 (_IO_wfile_underflow_mmap): Likewise.
3948 (_IO_wfile_sync): Call __libio_codecvt_encoding,
3949 __libio_codecvt_length.
3950 (adjust_wide_data): Call __libio_codecvt_encoding,
3951 __libio_codecvt_in.
3952 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
3953 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
3954 __libio_codecvt_length.
3955
3956 2019-05-20 Florian Weimer <fweimer@redhat.com>
3957
3958 * support/support.h (support_sbindir_prefix): Declare.
3959 (support_install_rootsbindir): Update comment.
3960 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
3961 * support/support_paths.c (support_sbindir_prefix): Define.
3962
3963 2019-05-20 Mike Crowe <mac@mcrowe.com>
3964
3965 * support/timespec.c: Add backslash to correct newline in failure
3966 message.
3967
3968 * support/timespec.h: Correct confusing comment.
3969
3970 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3971
3972 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
3973 define.
3974 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
3975 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
3976 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
3977 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
3978
3979 [BZ #24570]
3980 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
3981 usage.
3982
3983 2019-05-20 Joseph Myers <joseph@codesourcery.com>
3984
3985 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
3986 (NT_ARM_PACG_KEYS): Likewise.
3987
3988 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
3989
3990 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
3991 (tcache_put): Remove redundant assert.
3992 (tcache_get): Remove redundant asserts.
3993 (__libc_malloc): Check tcache count is not zero.
3994 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
3995
3996 2019-05-17 Florian Weimer <fweimer@redhat.com>
3997
3998 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
3999
4000 2019-05-16 Joseph Myers <joseph@codesourcery.com>
4001
4002 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4003 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
4004 0x050100].
4005 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
4006 Likewise.
4007 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4008 (__ASSUME_STATX): Likewise.
4009
4010 2019-05-16 Florian Weimer <fweimer@redhat.com>
4011
4012 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
4013 flags argument.
4014 (LINE_PARSER): Do not map IPv4 addresses.
4015 (internal_nis_gethostent_r): Remove flags argument. Adjust call
4016 to parse_line.
4017 (_nss_nis_gethostent_r): Always pass AF_INET to
4018 internal_nis_gethostent_r.
4019 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4020 to parse_line.
4021 (_nss_nis_gethostbyname2_r): Adjust call to
4022 internal_nis_gethostent_r.
4023 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
4024 call to internal_nis_gethostent_r.
4025 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
4026 from parse_line.
4027 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
4028 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
4029 Remove flags argument. Do not map IPv4 addresses.
4030 (internal_nisplus_gethostent_r): Adjust call to
4031 _nss_nisplus_parse_hostent.
4032 (internal_gethostbyname2_r): Remove flags argument. Adjust call
4033 to _nss_nisplus_parse_hostent.
4034 (_nss_nisplus_gethostbyname2_r): Adjust call to
4035 internal_gethostbyname2_r.
4036 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
4037 Adjust call to internal_gethostbyname2_r.
4038 (_nss_nisplus_gethostbyaddr_r): Adjust call to
4039 _nss_nisplus_parse_hostent.
4040 (_nss_nisplus_gethostbyname4_r): Adjust call to
4041 internal_gethostbyname2_r.
4042
4043 2019-05-16 Florian Weimer <fweimer@redhat.com>
4044
4045 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
4046 Remove flags.
4047 (LINE_PARSER): Remove address mapping.
4048 (EXTRA_ARGS_VALUE): Remove flags argument.
4049 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
4050 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
4051 gethostbyname3_multi.
4052 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
4053 _nss_files_gethostbyname3_r.
4054 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
4055
4056 2019-05-16 Florian Weimer <fweimer@redhat.com>
4057
4058 * support/support_test_compare_blob.c (report_blob): Report
4059 incorrect NULL blobs.
4060
4061 2019-05-15 Mark Wielaard <mark@klomp.org>
4062
4063 [BZ# 24476]
4064 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
4065 __libc_once_get (once) and static_buf == NULL.
4066 (__dlerror): Check we have a valid key, set result to static_buf
4067 otherwise.
4068
4069 2019-05-15 Andreas Schwab <schwab@suse.de>
4070
4071 [BZ #20568]
4072 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
4073 __codecvt_do_length.
4074 * libio/Makefile (tests): Add tst-wfile-sync.
4075 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
4076 * libio/tst-wfile-sync.c: New file.
4077 * libio/tst-wfile-sync.input: New file.
4078
4079 2019-05-15 Florian Weimer <fweimer@redhat.com>
4080
4081 nss: Turn __nss_database_lookup into a compatibility symbol.
4082 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
4083 __nss_database_lookup.
4084 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
4085 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
4086 __nss_database_lookup.
4087 (__nss_next): Move to …
4088 * nss/compat-lookup.c (nss_next): … here. Change it to fail
4089 unconditionally.
4090 (__nss_database_lookup): New function.
4091 * nss/Versions (GLIBC_2.0): Update comment.
4092 (GLIBC_PRIVATE): Export __nss_database_lookup2.
4093 * grp/initgroups.c (internal_getgrouplist): Call
4094 __nss_database_lookup2 instead of __nss_database_lookup.
4095 * nscd/aicache.c (addhstaiX): Likewise.
4096 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4097 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4098 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
4099 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
4100 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
4101 Likewise.
4102 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
4103 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
4104 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4105
4106 2019-05-15 Alexandra Hájková <ahajkova@redhat.com>
4107
4108 * support/support.h (support_install_rootsbindir): New variable.
4109 * support/support_paths.c: Likewise.
4110 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
4111
4112 2019-05-15 Florian Weimer <fweimer@redhat.com>
4113
4114 * iconv/gconv.h (__gconv_transliterate): Move declaration …
4115 * iconv/gconv_int.h (__gconv_transliterate): … here.
4116 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
4117 * iconv/skeleton.c: Likewise.
4118
4119 2019-05-14 Florian Weimer <fweimer@redhat.com>
4120
4121 Linux: Add the tgkill function.
4122 * bits/signal_ext.h: New file.
4123 * manual/signal.texi (Signaling Another Process): Document tgkill.
4124 * signal/Makefile (headers): Add bits/signal_ext.h.
4125 * signal/signal.h: Include <bits/signal_ext.h>.
4126 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
4127 (tst-tgkill): Link with libpthread.
4128 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
4129 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
4130 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
4131 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
4132 tgkill.
4133 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4134 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4135 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4136 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4137 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4138 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4139 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4140 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4141 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4142 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4143 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4144 Likewise.
4145 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4146 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4147 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4149 Likewise.
4150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4151 Likewise.
4152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
4153 Likewise.
4154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
4155 Likewise.
4156 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4157 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4158 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4159 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4160 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4161 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4162 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4163 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4164
4165 2019-05-14 Carlos O'Donell <carlos@redhat.com>
4166
4167 * manual/search.texi (Tree Search Function): Adjust twalk_r
4168 documentation.
4169
4170 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4171
4172 [BZ #24544]
4173 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
4174 pre-defined value.
4175
4176 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
4177 * support/support.h (support_bindir_prefix): New variable.
4178 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
4179
4180 * config.make.in (bindir): New variable.
4181
4182 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
4183 (lll_trylock): Call __lll_trylock.
4184 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
4185 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
4186 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4187 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4188 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
4189 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
4190 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4191 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4192 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
4193 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
4194 lowlevellock-futex.h.
4195
4196 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4197 initialization for LLL_LOCK_INITIALIZER different than 0.
4198 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
4199 Assume LLL_LOCK_INITIALIZER being 0.
4200 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
4201 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
4202 Likewise.
4203 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
4204 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
4205
4206 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
4207 Optimize futex call and add systemtap probe.
4208
4209 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
4210 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
4211 __libc_disable_asynccancel, __librt_enable_asynccancel,
4212 __libc_disable_asynccancel, __librt_enable_asynccancel,
4213 __librt_disable_asynccancel): Move to ...
4214 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
4215 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
4216 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
4217 * sysdeps/generic/single-thread.h: New file.
4218 * sysdeps/unix/sysdep.h: Include single-thread.h.
4219 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
4220 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4221
4222 2019-05-08 Mike FABIAN <mfabian@redhat.com>
4223
4224 [BZ #24535]
4225 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
4226 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4227 Unicode 12.1.0.
4228 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4229 * localedata/unicode-gen/PropList.txt: Likewise.
4230 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4231 * localedata/charmaps/UTF-8: Regenerate.
4232 * localedata/locales/i18n_ctype: Likewise.
4233 * localedata/locales/tr_TR: Likewise.
4234 * localedata/locales/translit_circle: Likewise.
4235 * localedata/locales/translit_cjk_compat: Likewise.
4236 * localedata/locales/translit_combining: Likewise.
4237 * localedata/locales/translit_compat: Likewise.
4238 * localedata/locales/translit_font: Likewise.
4239 * localedata/locales/translit_fraction: Likewise.
4240
4241 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
4242
4243 [BZ #24531]
4244 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
4245 (do_set_tcache_count): Only update if count is small enough.
4246 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
4247
4248 2019-05-10 Florian Weimer <fweimer@redhat.com>
4249
4250 * nptl/sem_close.c (struct walk_closure): Define.
4251 (walker): Adjust for __twalk_r.
4252 (sem_close): Call __twalk_r.
4253
4254 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4255
4256 * support/timespec.c (test_timespec_before_impl,
4257 test_timespec_equal_or_after_impl): print timespec member as intmax_t
4258 insted of long int.
4259
4260 2019-05-09 Mike Crowe <mac@mcrowe.com>
4261
4262 * nptl/tst-abstime.c: Use libsupport.
4263
4264 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
4265 small bug where only tv.tv_usec was checked which could cause an
4266 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
4267 than a second.
4268
4269 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
4270 libsupport.
4271
4272 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
4273 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
4274
4275 * nptl/tst-cond11.c: Use libsupport.
4276
4277 * support/timespec.h: New file. Provide timespec helper functions
4278 along with macros in the style of those in check.h.
4279 * support/timespec.c: New file. Implement check functions declared
4280 in support/timespec.h.
4281 * support/timespec-add.c: New file from gnulib containing
4282 timespec_add implementation that handles overflow.
4283 * support/timespec-sub.c: New file from gnulib containing
4284 timespec_sub implementation that handles overflow.
4285 * support/README: Mention timespec.h.
4286
4287 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4288
4289 [BZ #24537]
4290 * nptl/Makefile: Move tst-eintr1 to xtests.
4291
4292 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4293
4294 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
4295 TRUNC handling.
4296 (round_mode): Add definition for TRUNC.
4297 * sysdeps/powerpc/fpu/s_trunc.c: New file.
4298 * sysdeps/powerpc/fpu/s_truncf.c: New file.
4299 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
4300 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4301 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
4302 Likewise.
4303 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
4304 Likewise.
4305 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
4306 Likewise.
4307 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4308 Likewise.
4309 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
4310 file.
4311 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
4312 Likewise.
4313 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
4314 Likewise.
4315 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
4316 Likewise.
4317 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
4318 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
4319 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4320 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
4321 s_truncf-power5+, and s_truncf-ppc64.
4322 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
4323 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
4324 file.
4325 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
4326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
4327 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
4328 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
4329 file.
4330 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
4331 Likewise.
4332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
4333 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
4334 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4335 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
4336 s_truncf-power5+, and s_truncf-ppc64.
4337 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
4338 file.
4339 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
4340 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
4341 Likewise.
4342 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
4343 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4344 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4345 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
4346 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
4347
4348 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4349 ROUND handling.
4350 (round_mode): Add definition for ROUND.
4351 (round_to_integer_float): Likewise.
4352 * sysdeps/powerpc/fpu/s_round.c: New file.
4353 * sysdeps/powerpc/fpu/s_roundf.c: New file.
4354 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
4355 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4356 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
4357 Likewise.
4358 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
4359 Likewise.
4360 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
4361 Likewise.
4362 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4363 Likewise.
4364 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
4365 file.
4366 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
4367 Likewise.
4368 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
4369 Likewise.
4370 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
4371 Likewise.
4372 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
4373 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
4374 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4375 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
4376 s_roundf-power5+, and s_roundf-ppc64.
4377 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
4378 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
4379 file.
4380 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
4381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
4382 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
4383 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
4384 file.
4385 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
4386 Likewise.
4387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
4388 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
4389 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4390 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
4391 s_roundf-power5+, and s_roundf-ppc64.
4392 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
4393 file.
4394 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
4395 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
4396 Likewise.
4397 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
4398 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4399 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4400 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
4401 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
4402
4403 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
4404 Add FLOOR option.
4405 (round_mode): Add definition for FLOOR.
4406 * sysdeps/powerpc/fpu/s_floor.c: New file.
4407 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
4408 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
4409 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4411 Remove file.
4412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
4413 Likewise
4414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4415 Likewise.
4416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4417 Likewise.
4418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
4419 New file.
4420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
4421 Likewise.
4422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
4423 Likewise.
4424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
4425 Likewise.
4426 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
4427 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
4428 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
4429 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
4430 s_floorf-power5+, and s_floorf-ppc64.
4431 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
4432 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
4433 file.
4434 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
4435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
4436 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
4437 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
4438 file.
4439 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
4440 Likewise.
4441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
4442 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
4443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4444 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
4445 s_floorf-power5+, and s_floorf-ppc64.
4446 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
4447 file.
4448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
4449 file.
4450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
4451 Likewise.
4452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
4453 Likewise.
4454 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4455 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4456 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
4457 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
4458
4459 2019-05-08 Mike Crowe <mac@mcrowe.com>
4460
4461 * support/xclock_gettime.c (xclock_gettime): New file. Provide
4462 clock_gettime wrapper for use in tests that fails the test rather
4463 than returning failure.
4464
4465 * support/xtime.h: New file to declare xclock_gettime.
4466
4467 * support/Makefile: Add xclock_gettime.c.
4468
4469 * support/README: Mention xtime.h.
4470
4471 2019-05-08 Florian Weimer <fweimer@redhat.com>
4472
4473 malloc/tst-mallocfork2: Use process-shared barriers.
4474 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
4475 (signal_count, sigusr1_sender_pid): Remove.
4476 (iterations): Define constant.
4477 (shared): New variable.
4478 (sigusr1_received): Update comment.
4479 (sigusr1_handler): Do not send SIGSTOP to the sender process.
4480 (signal_sender): Optional use barriers to avoid sending signals
4481 during irrelevant times.
4482 (do_it): Initialize variable shared. Use xfork for error
4483 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
4484 the iteration count, independent of signal delivery. Check for
4485 deadlocks in fork. Introduce barriers for reducing signal
4486 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
4487 replaced by the barriers. Count signals during fork/free/malloc
4488 and report them.
4489 * malloc/Makefile (tst-mallocfork): Link with libpthread.
4490
4491 2019-05-07 Joseph Myers <joseph@codesourcery.com>
4492
4493 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4494 version to 5.1.
4495 (clock_adjtime64) New syscall.
4496 (clock_getres_time64) Likewise.
4497 (clock_gettime64) Likewise.
4498 (clock_nanosleep_time64) Likewise.
4499 (clock_settime64) Likewise.
4500 (futex_time64) Likewise.
4501 (io_pgetevents_time64) Likewise.
4502 (io_uring_enter) Likewise.
4503 (io_uring_register) Likewise.
4504 (io_uring_setup) Likewise.
4505 (mq_timedreceive_time64) Likewise.
4506 (mq_timedsend_time64) Likewise.
4507 (pidfd_send_signal) Likewise.
4508 (ppoll_time64) Likewise.
4509 (pselect6_time64) Likewise.
4510 (recvmmsg_time64) Likewise.
4511 (rt_sigtimedwait_time64) Likewise.
4512 (sched_rr_get_interval_time64) Likewise.
4513 (semtimedop_time64) Likewise.
4514 (timer_gettime64) Likewise.
4515 (timer_settime64) Likewise.
4516 (timerfd_gettime64) Likewise.
4517 (timerfd_settime64) Likewise.
4518 (utimensat_time64) Likewise.
4519
4520 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
4521 version to 9 branch.
4522
4523 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4524
4525 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
4526 __memmove_thunderx2 to the list of implementations
4527 * sysdeps/aarch64/multiarch/memmove.c: Likewise
4528 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
4529 (__memmove_thunderx2): Rewritten using SIMD ld/st
4530 (__memcpy_thunderx2): Fixed handling overlapping cases.
4531 Used ldp/stp instead of ldr/str if possible. Made loops
4532 tails branchless.
4533
4534 2019-05-03 Florian Weimer <fweimer@redhat.com>
4535
4536 * misc/tst-tsearch.c (walk_tree): Add more error checking.
4537
4538 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4539
4540 [BZ #24506]
4541 * elf/tst-pldd.c (in_str_list): New function.
4542 (do_test): Add default names for ld and libc as one option.
4543
4544 2019-05-02 Florian Weimer <fweimer@redhat.com>
4545
4546 misc: Add twalk_r function.
4547 * include/search.h (__twalk_r): Declare.
4548 * manual/examples/twalk.c: New file.
4549 * manual/search.texi (Tree Search Function): Document twalk_r.
4550 * misc/Versions (2.30): Export twalk_r.
4551 (GLIBC_PRIVATE): Export __twalk_r.
4552 * misc/search.h [__USE_GNU] (twalk_r): Declare.
4553 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
4554 (twalk_r): Add weak alias.
4555 * misc/tst-tsearch.c (struct walk_trace_element): Define.
4556 (walk_trace): New variable.
4557 (struct twalk_with_twalk_r_closure): Define.
4558 (twalk_with_twalk_r_action): New function.
4559 (twalk_with_twalk_r): Likewise.
4560 (walk_action): Call walk_trace_add.
4561 (walk_tree_with): Rename from walk_tree. Add walk argument.
4562 (walk_tree): New function.
4563 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
4564 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4565 Likewise.
4566 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4567 Likewise.
4568 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4569 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
4570 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
4571 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
4572 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
4573 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4574 Likewise.
4575 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4576 Likewise.
4577 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4578 Likewise.
4579 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4580 (GLIBC_2.30): Likewise.
4581 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4582 (GLIBC_2.30): Likewise.
4583 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4584 (GLIBC_2.30): Likewise.
4585 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4586 (GLIBC_2.30): Likewise.
4587 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4588 Likewise.
4589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4590 (GLIBC_2.30): Likewise.
4591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4592 (GLIBC_2.30): Likewise.
4593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4594 (GLIBC_2.30): Likewise.
4595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4596 (GLIBC_2.30): Likewise.
4597 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4598 Likewise.
4599 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4600 Likewise.
4601 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4602 Likewise.
4603 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4604 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4605 Likewise.
4606 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4607 Likewise.
4608 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4609 Likewise.
4610 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4611 Likewise.
4612
4613 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
4614
4615 Make mktime etc. compatible with __time64_t
4616 Keep these functions compatible with Gnulib while adding
4617 __time64_t support. The basic idea is to move private API
4618 declarations from include/time.h to time/mktime-internal.h, since
4619 the former file cannot easily be shared with Gnulib whereas the
4620 latter can.
4621 Also, do some other minor cleanup while in the neighborhood.
4622 * include/time.h: Include stdbool.h, time/mktime-internal.h.
4623 (__mktime_internal): Move this prototype to time/mktime-internal.h,
4624 since Gnulib needs it.
4625 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
4626 Move these macros to time/mktime-internal.h, since Gnulib needs them.
4627 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
4628 (in_time_t_range): New static function.
4629 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
4630 so that glibc users are not tempted to use __time64_t.
4631 * time/mktime-internal.h: Rewrite so that it does both glibc
4632 and Gnulib work. Include time.h if not _LIBC.
4633 (mktime_offset_t) [!_LIBC]: Define for gnulib.
4634 (__time64_t): New type or macro, moved here from
4635 posix/bits/types.h.
4636 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
4637 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
4638 from include/time.h.
4639 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
4640 New macros, taken from GNulib.
4641 (__mktime_internal): New prototype, moved here from include/time.h.
4642 * time/mktime.c (mktime_min, mktime_max, convert_time)
4643 (ranged_convert, __mktime_internal, __mktime64):
4644 * time/timegm.c (__timegm64):
4645 Use __time64_t, not time_t.
4646 * time/mktime.c: Stop worrying about whether time_t is floating-point.
4647 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
4648 Rename from mktime.
4649 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
4650 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
4651 for libc_hidden_def.
4652 Include errno.h.
4653 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
4654 Rename from timegm.
4655 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
4656
4657 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
4658
4659 [BZ #19444]
4660 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
4661 from `-Wmaybe-uninitialized'.
4662 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
4663
4664 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4665
4666 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
4667 function.
4668 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
4669 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
4670 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
4671 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
4672 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4674 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
4675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4676 Remove file.
4677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
4678 Likewise.
4679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4680 Likewise.
4681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
4682 Likewise.
4683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
4684 New file.
4685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
4686 Likewise.
4687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
4688 Likewise.
4689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
4690 Likewise.
4691 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
4692 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
4693 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
4694 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
4695 Likewise.
4696 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
4697 Likewise.
4698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
4699 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
4700 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
4701 file.
4702 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
4703 Likewise.
4704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
4705 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
4706 * here.
4707 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4708 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
4709 s_ceilf-power5+, and s_ceilf-ppc64.
4710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
4711 file.
4712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
4713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
4714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
4715 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
4716 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
4717 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
4718 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
4719
4720 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
4721 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
4722 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
4723
4724 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
4725
4726 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
4727 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
4728 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
4729 (sem_getvalue): Likewise.
4730
4731 2019-04-26 Florian Weimer <fweimer@redhat.com>
4732
4733 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
4734 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
4735
4736 2019-04-26 Florian Weimer <fweimer@redhat.com>
4737
4738 Makeconfig: Move -Wl,-rpath-link options before library references.
4739 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
4740 (link-libc): Remove $(link-libc-rpath-link).
4741
4742 2019-04-25 Florian Weimer <fweimer@redhat.com>
4743
4744 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4745 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4746 (+link-static-before-libc): Remove $(CC).
4747 (+link-static, +link-static-tests): Add $(CC).
4748 (+link-before-libc): Remove $(CC).
4749 (+link, +link-pie, +link-pie-printers): Add $(CC).
4750
4751 2019-04-26 Florian Weimer <fweimer@redhat.com>
4752
4753 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4754 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4755 (+link-static-before-libc): Remove $(CC).
4756 (+link-static, +link-static-tests): Add $(CC).
4757 (+link-before-libc): Remove $(CC).
4758 (+link, +link-pie, +link-pie-printers): Add $(CC).
4759
4760 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
4761
4762 [BZ#24484]
4763 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
4764
4765 2019-04-25 Florian Weimer <fweimer@redhat.com>
4766
4767 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
4768 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
4769 (bench-link-targets): New variable.
4770 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
4771
4772 2019-04-25 Florian Weimer <fweimer@redhat.com>
4773
4774 Also enable BIND_NOW for programs if --enable-bind-now.
4775 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
4776 (+link-pie): Use $(link-extra-flags).
4777 (+link-static): Likewise.
4778 [! $(build-pie-default)] (+link): Likewise.
4779 * manual/install.texi (Configuring and compiling): Update
4780 --enable-bind-now description.
4781 * INSTALL: Regenerated.
4782
4783 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
4784
4785 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
4786 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
4787
4788 2019-04-24 Mike Frysinger <vapier@gentoo.org>
4789
4790 [BZ #18465]
4791 * malloc/Makefile (others): Add memusagestat.
4792 ($(objpfx)memusagestat): Delete rule.
4793 (LDLIBS-memusagestat): New variable.
4794
4795 2019-04-24 Florian Weimer <fweimer@redhat.com>
4796
4797 * locale/Makefile (tests-special): Guard setting by
4798 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
4799 to run while cross-compiling.
4800
4801 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4802
4803 [BZ #18035]
4804 * elf/Makefile (tests-container): Add tst-pldd.
4805 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
4806 (E(find_maps)): Avoid use alloca, use default read file operations
4807 instead of explicit LFS names, and fix infinite loop.
4808 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
4809 (get_process_info): Use _Static_assert instead of assert, use default
4810 directory operations instead of explicit LFS names, and free some
4811 leadek pointers.
4812 * elf/tst-pldd.c: New file.
4813
4814 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
4815
4816 * malloc/arena.c (do_set_mallopt_check): Removed.
4817
4818 2019-04-23 Florian Weimer <fweimer@redhat.com>
4819
4820 locale: Add LOCPATH diagnostics to the locale program.
4821 * locale/programs/locale.c (setlocale_failed): New variable.
4822 (try_setlocale): New function.
4823 (quote_string): Likewise.
4824 (setlocale_diagnostics): Likewise.
4825 (main): Call try_setlocale instead of setlocale. Call
4826 setlocale_diagnostics.
4827 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
4828 (tst-locale-locpath.out): New target.
4829 * locale/tst-locale-locpath.sh: New file.
4830
4831 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4832
4833 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
4834 to 2.30 notes.
4835
4836 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4837
4838 [BZ #23741]
4839 * malloc/hooks.c (malloc_check, realloc_check): Use
4840 __builtin_add_overflow on overflow check and adapt to
4841 checked_request2size change.
4842 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
4843 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
4844 allocation size to PTRDIFF_MAX.
4845 (REQUEST_OUT_OF_RANGE): Remove macro.
4846 (checked_request2size): Change to inline function and limit maximum
4847 requested size to PTRDIFF_MAX.
4848 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
4849 maximum allocation size to PTRDIFF_MAX.
4850 (_mid_memalign): Use _int_memalign call for overflow check.
4851 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
4852 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
4853 limit maximum requested size to PTRDIFF_MAX.
4854 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
4855 valloc, pvalloc): Add __attribute_alloc_size__.
4856 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
4857 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
4858 larger than PTRDIFF_MAX.
4859 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
4860 around tests of malloc with negative sizes.
4861 * malloc/tst-posix_memalign.c (do_test): Likewise.
4862 * malloc/tst-pvalloc.c (do_test): Likewise.
4863 * malloc/tst-valloc.c (do_test): Likewise.
4864 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
4865 with resulting size allocation larger than PTRDIFF_MAX with
4866 reallocarray_nowarn.
4867 (reallocarray_nowarn): New function.
4868 * NEWS: Mention the malloc function semantic change.
4869
4870 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4871
4872 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
4873 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4874
4875 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
4876 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
4877 * sysdeps/powerpc/fpu/s_fma.c: New file.
4878 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4879
4880 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
4881 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
4882
4883 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
4884 the magic flag store.
4885 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4886 Likewise.
4887 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
4888 Likewise.
4889 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
4890 Remove rt_sigreturn call.
4891
4892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4893 Remove rt_sigreturn call.
4894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4895 Likewise.
4896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
4897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4898
4899 * support/Makefile (libsupport-routines): Add support_subprocess,
4900 xposix_spawn, xposix_spawn_file_actions_addclose, and
4901 xposix_spawn_file_actions_adddup2.
4902 (tst-support_capture_subprocess-ARGS): New rule.
4903 * support/capture_subprocess.h (support_capture_subprogram): New
4904 prototype.
4905 * support/support_capture_subprocess.c (support_capture_subprocess):
4906 Refactor to use support_subprocess and support_capture_poll.
4907 (support_capture_subprogram): New function.
4908 * support/tst-support_capture_subprocess.c (write_mode_to_str,
4909 str_to_write_mode, test_common, parse_int, handle_restart,
4910 do_subprocess, do_subprogram, do_multiple_tests): New functions.
4911 (do_test): Add support_capture_subprogram tests.
4912 * support/subprocess.h: New file.
4913 * support/support_subprocess.c: Likewise.
4914 * support/xposix_spawn.c: Likewise.
4915 * support/xposix_spawn_file_actions_addclose.c: Likewise.
4916 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
4917 * support/xspawn.h: Likewise.
4918
4919 2019-04-17 Mike Gerow <gerow@google.com>
4920
4921 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
4922 groups limit.
4923
4924 2019-04-11 Florian Weimer <fweimer@redhat.com>
4925
4926 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
4927 domain with empty string.
4928 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4929
4930 2019-04-11 Florian Weimer <fweimer@redhat.com>
4931
4932 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
4933 comment.
4934 (alloc_buffer_next): Change return type to non-const. Update
4935 comment.
4936
4937 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
4938
4939 * manual/time.texi (Formatting Calendar Time): Add missing percent
4940 sign to conversion specifier.
4941
4942 2019-04-09 Carlos O'Donell <carlos@redhat.com>
4943 Kwok Cheung Yeung <kcy@codesourcery.com>
4944
4945 [BZ #16573]
4946 * malloc/mtrace.c: Define prototypes for all hooks.
4947 (set_default_hooks): New function.
4948 (set_trace_hooks): Likewise.
4949 (save_default_hooks): Likewise.
4950 (tr_freehook): Use new s*_hooks functions.
4951 (tr_mallochook): Likewise.
4952 (tr_reallochook): Likewise.
4953 (tr_memalignhook): Likewise.
4954 (mtrace): Likewise.
4955 (muntrace): Likewise.
4956
4957 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4958
4959 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
4960 (generic_stpcpy): New function.
4961 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
4962 (generic_stpncpy): New function.
4963 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
4964 (generic_strcat): New function.
4965 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
4966 (generic_strcpy): New function.
4967 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
4968 (STUPID_STRNCAT): Remove function.
4969 (generic_strncat): New function.
4970 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
4971 (STUPID_STRNCPY): Remove function.
4972 (generic_strncpy): New function.
4973 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
4974 (generic_strnlen): New function.
4975 (memchr_strnlen): New function.
4976 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
4977 (memchr_strlen): Likewise.
4978
4979 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4980
4981 * benchtests/bench-strstr.c (input): Add realistic input text.
4982 (stupid_strstr): Remove function.
4983 (basic_strstr): Add function.
4984 (twoway_strstr): Add function.
4985 (do_one_test): Add result checking.
4986 (do_test): Use new input text. Remove accidental early matches.
4987 (test_main): Improve range of tests, reduce unaligned cases.
4988
4989 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4990
4991 * benchtests/bench-memmem.c (simple_memmem): Remove function.
4992 (basic_memmem): Add function.
4993 (twoway_memmem): Add function.
4994
4995 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4996
4997 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
4998 * benchtests/bench-malloc-thread.c: Likewise.
4999 * benchtests/bench-skeleton.c: Likewise.
5000 * benchtests/bench-strtod.c: Likewise.
5001 * benchtests/bench-timing.h: Likewise.
5002
5003 2019-04-08 Florian Weimer <fweimer@redhat.com>
5004
5005 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
5006 definitions.
5007 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
5008 RES_INSECURE2 security checks.
5009 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
5010 RES_INSECURE2 handling.
5011
5012 2019-04-08 Florian Weimer <fweimer@redhat.com>
5013
5014 resolv: Remove support for RES_USE_INET6 and the inet6 option.
5015 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
5016 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
5017 GETHOSTBYNAME.
5018 * resolv/Makefile (tests): Remove tst-res_use_inet6.
5019 (tests-internal): Update justification for tst-resolv-res_init,
5020 tst-resolv-res_init-thread.
5021 (tst-res_use_inet6): Remove target.
5022 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
5023 * resolv/res_debug.c (p_option): Remove "inet6" support.
5024 * resolv/res_init.c (res_setoptions): Likewise.
5025 * resolv/res_use_inet6.h: Remove file.
5026 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
5027 definition.
5028 (res_use_inet6): Always return false.
5029 * resolv/resolv.h (RES_USE_INET6): Remove definition.
5030 * resolv/resolv_context.h: Adjust file comment.
5031 (struct resolv_context): Update comment on __next field.
5032 (__resolv_context_put): Update comment.
5033 * resolv/tst-res_use_inet6.c: Remove file.
5034 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
5035 "inet6" support.
5036 (test_cases): Adjust test case.
5037 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
5038 (thread_byname2_af_inet6): Use old byname_inet6 code.
5039 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
5040 (gai): Remove do_inet6 argument.
5041 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
5042 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
5043 (thread_gai_unspec_inet6): Remove functions.
5044 (do_test): Adjust thread_funcs.
5045 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
5046 RES_USE_INET6 flag.
5047 (gaih_inet): Do not disable RES_USE_INET6 flag.
5048
5049 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5050
5051 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
5052 and remove redundant code.
5053
5054 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5055
5056 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
5057 New rule.
5058 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
5059 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
5060 Likewise.
5061 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
5062 Likewise.
5063 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
5064 Likewise.
5065 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5066 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
5067 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
5068 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
5069 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5070 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
5071 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5072 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
5073 wcsrchr-power7.
5074 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
5075 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5076 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5077 Remove wcsrchr optimizations.
5078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5079
5080 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
5081 the loop unroll.
5082
5083 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
5084 New rule.
5085 * sysdeps/powerpc/power6/wcschr.c: Remove file.
5086 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
5087 Likewise.
5088 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
5089 Likewise.
5090 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
5091 Likewise.
5092 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5093 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
5094 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
5095 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
5096 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5097 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
5098 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5099 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
5100 wcschr-power7.
5101 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
5102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5103 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5104 Remove wcschr optimizations.
5105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5106
5107 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
5108 the loop unroll.
5109
5110 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
5111 New rule.
5112 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
5113 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
5114 Likewise.
5115 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
5116 Likewise.
5117 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
5118 Likewise.
5119 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5120 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
5121 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
5122 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
5123 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5124 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
5125 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5126 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
5127 wcscpy-power7.
5128 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
5129 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
5130 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5131 Remove wcscpy optimizations.
5132 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5133
5134 * include/loop_unroll.h: New file.
5135 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
5136 besides generic implementation.
5137
5138 2019-04-03 DJ Delorie <dj@redhat.com>
5139
5140 * time/tst-strftime3.c (tm_to_printed): Disable warning about
5141 snprintf truncating output.
5142
5143 2019-04-02 DJ Delorie <dj@redhat.com>
5144
5145 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
5146 warning.
5147
5148 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5149
5150 [BZ #22964]
5151 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
5152 era.
5153 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
5154 (mkreftable): Add rules for the new Japanese era and the new dates.
5155
5156 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5157 Rafał Lużyński <digitalfreak@lingonborough.com>
5158
5159 * time/tst-strftime2.c (date_t): Explicitly define the type.
5160 (dates): Use natural month and year numbers to express a date.
5161 (is_before): New function to compare dates.
5162 (mkreftable): Minor improvements to simplify maintenance.
5163 (do_test): Reflect the changes in dates array.
5164
5165 [BZ #24293]
5166 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
5167 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
5168 * time/tst-strftime2.c (locales): Likewise.
5169 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
5170 2010-04-01, and 2011-04-01.
5171 (mkreftable): Add rules for the new locales and the new dates.
5172
5173 2019-04-01 Carlos O'Donell <carlos@redhat.com>
5174
5175 * localedata/locales/ja_JP: Add comments to era entries.
5176
5177 2019-04-01 DJ Delorie <dj@redhat.com>
5178
5179 [BZ #24394]
5180 * time/strptime_l.c (%Ey): Fix fencepost error.
5181 * time/tst-strftime3.c: New.
5182 * time/Makefile (tests): Add tst-strftime3.
5183
5184 2019-04-01 Uroš Bizjak <ubizjak@gmail.com>
5185
5186 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
5187 conditional branch to DIVBYZERO. Fix unwind info.
5188 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
5189 excb after conditional branch to $powerof2. Add missing unop
5190 instructions and .align directives and reorder instructions to
5191 match __divqu.
5192
5193 2019-04-01 Richard Henderson <rth@twiddle.net>
5194
5195 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5196 Do not redefine.
5197 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
5198 Do not redefine.
5199
5200 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
5201
5202 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
5203 $libc_cv_riscv_float_abi in `test' invocation.
5204 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
5205
5206 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
5207
5208 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
5209 asm with builtin.
5210 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
5211 Likewise.
5212 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5213 (_GET_SI_FPSCR): Likewise.
5214 (_SET_SI_FPSCR): Likewise.
5215
5216 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5217
5218 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
5219 clang 2.8.
5220 (signbit): Use builtin for clang 3.3.
5221 (isinf): Use builtin for clang 3.7.
5222
5223 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5224
5225 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
5226
5227 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
5228
5229 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
5230 quote in printf.
5231
5232 2019-03-25 Mike Crowe <mac@mcrowe.com>
5233
5234 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
5235 pthread_rwlock_timedrdlock with calls to
5236 pthread_rwlock_timedwrlock to ensure that the latter is tested
5237 too. Use new function name in diagnostic messages too.
5238
5239 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
5240 (do_test) Use libsupport test macros rather than hand-coded
5241 conditionals and error messages. Ensure that sem_init returns zero
5242 rather than not -1. Use <support/test-driver.c> rather than
5243 test-skeleton.c.
5244
5245 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
5246 test macros rather than hand-coded conditionals and error messages.
5247 Use <support/test-driver.c> rather than test-skeleton.c.
5248
5249 2019-03-25 Joseph Myers <joseph@codesourcery.com>
5250
5251 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
5252
5253 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
5254 (NT_MIPS_MSA): Likewise.
5255
5256 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5257
5258 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
5259 * benchtests/README: Update description.
5260 * benchtests/bench-timing.h: Default to hp-timing.
5261 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
5262 HP_TIMING_PRINT): Remove.
5263 (HP_TIMING_NOW): Add generic implementation.
5264 (hp_timing_t): Change to uint64_t.
5265
5266 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
5267 HP_TIMING_INLINE.
5268 * nptl/descr.h: Likewise.
5269 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
5270 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
5271 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
5272 Abstract hp-timing usage with RTLD_* macros.
5273 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
5274 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
5275 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
5276 HP_TIMING_NONAVAIL): Likewise.
5277 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5278 Likewise.
5279 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
5280 HP_SMALL_TIMING_AVAIL): Likewise.
5281 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
5282 HP_SMALL_TIMING_AVAIL): Likewise.
5283 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
5284 HP_SMALL_TIMING_AVAIL): Likewise.
5285 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
5286 HP_SMALL_TIMING_AVAIL): Likewise.
5287 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
5288 Likewise.
5289 * sysdeps/generic/hp-timing-common.h: Update comment with
5290 HP_TIMING_AVAIL removal.
5291
5292 * include/random-bits.h: New file.
5293 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
5294 (__res_context_mkquery): Remove usage hp-timing usage and replace with
5295 random_bits.
5296 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
5297 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
5298 Likewise.
5299
5300 * include/libc-internal.h (__get_clockfreq): Remove prototype.
5301 * rt/Makefile (clock-routines): Remove get_clockfreq.
5302 * rt/get_clockfreq.c: Remove file.
5303 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5304 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
5305 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
5306 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
5307 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
5308
5309 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
5310 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
5311 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
5312 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
5313 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
5314
5315 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
5316 pthread_clock_settime.
5317 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
5318 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
5319 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
5320 * elf/rtld.c (_dl_start_final): Likewise.
5321 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
5322 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
5323 Remove.
5324 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
5325 (_dl_cpuclock_offset): Remove.
5326 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
5327 cpuclock_offset_ununsed.
5328 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
5329 cpuclock_offset set.
5330 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5331 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5332 * nptl/pthread_clock_gettime.c: Remove file.
5333 * nptl/pthread_clock_settime.c: Likewise.
5334 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
5335 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
5336 and CLOCK_PROCESS_CPUTIME_ID support.
5337 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
5338 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
5339 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
5340 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
5341 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
5342 Likewise.
5343 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
5344
5345 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5346
5347 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
5348 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
5349 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
5350 New defines.
5351 * sysdeps/s390/memmem-arch13.S: New file.
5352 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
5353 if it is only used as fallback.
5354 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
5355 * sysdeps/s390/multiarch/ifunc-impl-list.c
5356 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
5357
5358 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5359
5360 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
5361 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
5362 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
5363 New defines.
5364 * sysdeps/s390/multiarch/ifunc-impl-list.c
5365 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
5366 * sysdeps/s390/strstr-arch13.S: New file.
5367 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
5368 if it is only used as fallback.
5369 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
5370
5371 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5372
5373 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
5374 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
5375 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
5376 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
5377 ifunc selector.
5378 * sysdeps/s390/multiarch/ifunc-impl-list.c
5379 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
5380 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
5381 S390_IS_ARCH13_MIE3): New defines.
5382
5383 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5384
5385 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
5386 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
5387 * sysdeps/s390/configure.ac: Add checks for arch13 support.
5388 * sysdeps/s390/configure: Regenerated.
5389
5390 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5391
5392 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
5393 Add vxe2, vxp, dflt, sort flags.
5394 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
5395 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
5396 capabilities.
5397 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
5398 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
5399 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
5400 HWCAP_S390_DFLT): Define.
5401
5402 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5403
5404 [BZ #24372]
5405 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
5406 of compiler warning.
5407 * locale/programs/ld-collate.c (collate_output): Likewise.
5408
5409 2019-03-21 DJ Delorie <dj@redhat.com>
5410
5411 [BZ #24372]
5412 * iconv/iconvconfig.c (write_output): Replace floating point math
5413 with integer math to avoid imprecise results.
5414 * locale/programs/ld-collate.c (collate_output): Likewise.
5415
5416 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
5417
5418 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
5419 Add HWCAP_S390_VX and HWCAP_S390_VXE.
5420
5421 2019-03-20 mansayk <6688000@gmail.com>
5422
5423 [BZ #24296]
5424 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
5425 (abday): Likewise, but remove the trailing dots.
5426
5427 2019-03-19 Joseph Myers <joseph@codesourcery.com>
5428
5429 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
5430 macro.
5431 (HWCAP_PACA): Likewise.
5432 (HWCAP_PACG): Likewise.
5433 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5434 Increase to 32.
5435 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
5436
5437 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5438
5439 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
5440 should be handled.
5441
5442 2019-03-15 Joseph Myers <joseph@codesourcery.com>
5443
5444 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5445 version to 5.0.
5446 (old_getpagesize): New syscall.
5447
5448 2019-03-15 Felix Yan <felixonmars@archlinux.org>
5449
5450 [BZ #24293]
5451 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
5452 * localedata/locales/cmn_TW (era): Likewise.
5453 * localedata/locales/hak_TW (era): Likewise.
5454 * localedata/locales/lzh_TW (era): Likewise.
5455 * localedata/locales/nan_TW (era): Likewise.
5456
5457 2019-03-14 Adam Maris <amaris@redhat.com>
5458
5459 * malloc/malloc.c (_int_malloc): Check for large bin list
5460 corruption when inserting unsorted chunk.
5461
5462 2019-03-14 Florian Weimer <fweimer@redhat.com>
5463
5464 Remove obsolete, never-implemented XSI STREAMS declarations.
5465 * manual/terminal.texi (Allocation): Remove portability note and
5466 adjust example.
5467 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
5468 _SC_STREAMS.
5469 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
5470 * sysdeps/unix/inet/Subdirs (streams): Remove.
5471 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
5472 (conformtest-headers-UNIX98): Likewise.
5473 (conformtest-headers-XOPEN2K): Likewise.
5474 (conformtest-headers-POSIX2008): Likewise.
5475 * posix/compat-streams.c: New file.
5476 * posix/Makefile (routines): Add it.
5477 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
5478 getpmsg, isastream, putmsg, putpmsg.
5479 (GLIBC_2.30): New section.
5480 * bits/stropts.h: Remove file.
5481 * bits/xtitypes.h: Likewise.
5482 * conform/data/stropts.h-data: Likewise.
5483 * include/stropts.h: Likewise.
5484 * include/sys/stropts.h: Likewise.
5485 * include/xtitypes.h: Likewise.
5486 * streams/Makefile: Likewise.
5487 * streams/fattach.c: Likewise.
5488 * streams/fdetach.c: Likewise.
5489 * streams/getmsg.c: Likewise.
5490 * streams/getpmsg.c: Likewise.
5491 * streams/isastream.c: Likewise.
5492 * streams/putmsg.c: Likewise.
5493 * streams/putpmsg.c: Likewise.
5494 * streams/stropts.h: Likewise.
5495 * streams/sys/stropts.h: Likewise.
5496 * sysdeps/ia64/bits/xtitypes.h: Likewise.
5497 * sysdeps/s390/bits/xtitypes.h: Likewise.
5498 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
5499 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
5500 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
5501 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
5502 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
5503 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
5504 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
5505 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
5506 * sysdeps/x86/bits/xtitypes.h: Likewise.
5507
5508 2019-03-14 Florian Weimer <fweimer@redhat.com>
5509
5510 * nss/tst-nss-files-alias-truncated.c (do_test): Load
5511 libnss_files.
5512 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
5513 but not with libnss_files.
5514 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
5515
5516 2019-03-14 Zack Weinberg <zackw@panix.com>
5517
5518 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
5519 Specify encoding="utf-8" when opening headers to check.
5520
5521 2019-03-13 Joseph Myers <joseph@codesourcery.com>
5522
5523 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5524 version to 5.0.
5525 (Context.checkout_tar): Handle variable major version for Linux
5526 kernel.
5527
5528 2019-03-13 Florian Weimer <fweimer@redhat.com>
5529
5530 [BZ #24047]
5531 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
5532
5533 2019-03-13 Zack Weinberg <zackw@panix.com>
5534
5535 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
5536 Move to stdlib.
5537 * include/inttypes.h: Adjust to match.
5538 * include/stdint.h: New wrapper.
5539
5540 2019-03-13 Zack Weinberg <zackw@panix.com>
5541
5542 * scripts/check-obsolete-constructs.py: New test script.
5543 * scripts/check-installed-headers.sh: Remove tests for
5544 obsolete typedefs, superseded by check-obsolete-constructs.py.
5545 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
5546 as a special test. Update commentary.
5547 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
5548 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
5549 Update commentary.
5550 * posix/sys/types.h (__u_intN_t): Remove.
5551 (u_int8_t): Typedef using __uint8_t.
5552 (u_int16_t): Typedef using __uint16_t.
5553 (u_int32_t): Typedef using __uint32_t.
5554 (u_int64_t): Typedef using __uint64_t.
5555
5556 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
5557
5558 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
5559 call _dl_procinfo.
5560 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
5561 Ignore types other than AT_HWCAP.
5562 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
5563 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
5564 Likewise.
5565 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
5566 in the case of falling back to generic output mechanism.
5567 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
5568 Likewise.
5569
5570 2019-03-12 Florian Weimer <fweimer@redhat.com>
5571
5572 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
5573
5574 2019-03-12 Florian Weimer <fweimer@redhat.com>
5575
5576 [BZ #24047]
5577 resolv: Enable full ICMP errors for UDP DNS sockets
5578 * resolv/res_enable_icmp.c: New file.
5579 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
5580 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
5581 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
5582 socket.
5583
5584 2019-03-11 Mao Han <han_mao@c-sky.com>
5585
5586 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
5587 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
5588
5589 2019-03-11 Mao Han <han_mao@c-sky.com>
5590
5591 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
5592 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5593 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5594
5595 2019-03-11 Mao Han <han_mao@c-sky.com>
5596
5597 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
5598 directly.
5599 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
5600 definition.
5601
5602 2019-03-11 Mao Han <han_mao@c-sky.com>
5603
5604 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
5605 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
5606 in mcontext_t
5607
5608 2019-03-08 Mike FABIAN <mfabian@redhat.com>
5609
5610 [BZ #24307]
5611 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
5612 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
5613 Unicode 12.0.0.
5614 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
5615 * localedata/unicode-gen/PropList.txt: Likewise.
5616 * localedata/unicode-gen/UnicodeData.txt: Likewise.
5617 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
5618 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
5619 * localedata/charmaps/UTF-8: Regenerate.
5620 * localedata/locales/i18n_ctype: Likewise.
5621 * localedata/locales/tr_TR: Likewise.
5622 * localedata/locales/translit_circle: Likewise.
5623 * localedata/locales/translit_cjk_compat: Likewise.
5624 * localedata/locales/translit_combining: Likewise.
5625 * localedata/locales/translit_compat: Likewise.
5626 * localedata/locales/translit_font: Likewise.
5627 * localedata/locales/translit_fraction: Likewise.
5628
5629 2019-03-07 Joseph Myers <joseph@codesourcery.com>
5630
5631 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
5632 than after operators.
5633 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
5634 (setitimer_locked): Likewise.
5635 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5636 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5637 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
5638 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
5639 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
5640 (PPC_CPU_SUPPORTED): Likewise.
5641 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
5642 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
5643 (stat_overflow): Likewise.
5644 (statfs_overflow): Likewise.
5645 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
5646 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
5647 (eq_ttyname_r): Likewise.
5648 (run_chroot_tests): Likewise.
5649
5650 2019-03-07 Florian Weimer <fweimer@redhat.com>
5651
5652 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
5653 header check.
5654
5655 2019-03-07 Martin Liska <mliska@suse.cz>
5656
5657 * math/Makefile: Change location where math-vector-fortran.h is
5658 installed.
5659 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
5660 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
5661 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
5662 * scripts/check-installed-headers.sh: Skip Fortran header files.
5663 * scripts/check-wrapper-headers.py: Likewise.
5664
5665 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5666
5667 * nptl/nptl-init.c (__have_futex_clock_realtime,
5668 __have_futex_clock_realtime): Remove definition.
5669 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
5670 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
5671 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
5672 __ASSUME_FUTEX_CLOCK_REALTIME support.
5673 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
5674 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5675 * sysdeps/unix/sysv/linux/kernel-features.h
5676 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
5677 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
5678 Adjust comment.
5679
5680 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5681
5682 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
5683 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
5684 __GI___wcscpy and wcscpy.
5685
5686 2019-03-04 Florian Weimer <fweimer@redhat.com>
5687
5688 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
5689 declaration.
5690 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
5691 defined.
5692
5693 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
5694
5695 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
5696 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5697
5698 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5699
5700 [BZ #24162]
5701 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
5702 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
5703
5704 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5705
5706 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
5707 tests.
5708 (do_test): Likewise.
5709 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5710 (do_test_call_varg): Likewise.
5711 (do_test_call_rarg): Likewise.
5712 * sysdeps/ieee754/ldbl-opt/Makefile
5713 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
5714 tst-nldbl-error.
5715 ($(objpfx)tst-nldbl-warn.c): New rule.
5716 ($(objpfx)tst-nldbl-error.c): Likewise.
5717 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
5718 New variables.
5719
5720 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5721
5722 [BZ #23984]
5723 * include/bits/error-ldbl.h: New file.
5724 * include/error.h: Include stdarg.h. Declare internal functions
5725 __error_internal and __error_at_line_internal.
5726 * misc/Makefile (headers): Add bits/error-ldbl.h.
5727 * misc/bits/error-ldbl.h: New file.
5728 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
5729 avoid the inclusion of bits/error.h.
5730 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
5731 and __nldbl_error_at_line.
5732 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
5733 (__nldbl_error, __ndlbl_error_at_line): New functions.
5734 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
5735 Redirect error and error_at_line.
5736 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5738 Likewise.
5739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5740 Likewise.
5741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5742 Likewise.
5743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5744 Likewise.
5745 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5746 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5747 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5748
5749 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5750
5751 [BZ #23984]
5752 * include/bits/err-ldbl.h: New file.
5753 * include/err.h: Add prototypes for the internal functions:
5754 __vwarnx_internal and __vwarn_internal.
5755 * misc/Makefile (headers): Add bits/err-ldbl.h.
5756 * misc/bits/err-ldbl.h: New file.
5757 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
5758 defined, i.e.: when -mlong-double-64 is in use.
5759 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
5760 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
5761 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
5762 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
5763 (VA_CALL): New macro.
5764 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
5765 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
5766 functions.
5767 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
5768 declare prototypes for the new functions.
5769 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5771 Likewise.
5772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5773 Likewise.
5774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5775 Likewise.
5776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5777 Likewise.
5778 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5779 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5780 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5781
5782 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5783
5784 * sysdeps/ieee754/ldbl-opt/Makefile
5785 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
5786 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
5787 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
5788
5789 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5790
5791 [BZ #23983]
5792 * argp/Makefile (headers): Add bits/argp-ldbl.h.
5793 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
5794 * argp/bits/argp-ldbl.h: New file.
5795 * include/argp.h: Include stdarg.h. Add prototypes for internal
5796 functions: __argp_error_internal and __argp_failure_internal.
5797 * include/bits/argp-ldbl.h: New file.
5798 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
5799 __nldbl_argp_error and __nldbl_argp_failure.
5800 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
5801 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
5802 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
5803 Redirect argp_error and argp_failure calls.
5804 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5806 Likewise.
5807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5808 Likewise.
5809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5810 Likewise.
5811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5812 Likewise.
5813 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5814 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5815 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5816
5817 2019-03-01 Florian Weimer <fweimer@redhat.com>
5818
5819 [BZ #20419]
5820 * elf/tst-big-note-lib.S: Create a syntactically valid note.
5821 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
5822 code, to avoid creating an ABI tag note.
5823 (modules-names-nobuild): Add tst-big-note-lib.
5824
5825 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
5826
5827 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
5828 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
5829
5830 2019-03-01 Florian Weimer <fweimer@redhat.com>
5831
5832 [BZ #20271]
5833 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5834 (__netlink_assert_response): Add additional missing newlines.
5835
5836 2019-02-28 Joseph Myers <joseph@codesourcery.com>
5837
5838 * sysdeps/powerpc/powerpc32/dl-machine.c
5839 (__elf_machine_fixup_plt): Use space before '('.
5840 (__process_machine_rela): Likewise.
5841 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
5842 Likewise.
5843 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
5844 Likewise.
5845 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
5846 Likewise.
5847 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
5848 (pattern): Likewise.
5849 (delta): Likewise.
5850 (check_result): Likewise.
5851 (check_excepts): Likewise.
5852 (check_op): Likewise.
5853 (fail_xr): Likewise.
5854 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
5855 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
5856 (SCNHSZ): Likewise.
5857 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
5858 Likewise.
5859 (ARGS): Likewise.
5860 (__makecontext): Likewise.
5861 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
5862 Likewise.
5863
5864 2019-02-28 Florian Weimer <fweimer@redhat.com>
5865
5866 [BZ #23937]
5867 elf: Add test with a local IFUNC resolver.
5868 * elf/ifuncmain9.c: New file.
5869 * elf/ifuncmain9pic.c: Likewise.
5870 * elf/ifuncmain9picstatic.c: Likewise.
5871 * elf/ifuncmain9pie.c: Likewise.
5872 * elf/ifuncmain9static.c: Likewise.
5873 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
5874 ifuncmain9static, ifuncmain9picstatic.
5875 * elf/Makefile [multi-arch && build-shared] (tests-internal):
5876 Add ifuncmain9, ifuncmain9pic.
5877 * elf/Makefile [multi-arch && build-shared && have-fpie]
5878 (ifunc-pie-tests): Add ifuncmain9pie.
5879 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
5880 (CFLAGS-ifuncmain9picstatic.c): Likewise.
5881 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
5882
5883 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
5884
5885 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
5886 * configure: Regenerated.
5887 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
5888
5889 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5890
5891 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
5892 symbol as __wcspcy instead of wcscpy.
5893
5894 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5895
5896 * include/stdio.h (__renameat2): New hidden prototype.
5897 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
5898 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
5899 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
5900 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
5901
5902 2019-02-27 Joseph Myers <joseph@codesourcery.com>
5903
5904 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
5905 if statement.
5906
5907 * benchtests/bench-strcpy.c (do_test): Use space before '('.
5908 * benchtests/bench-string.h (cmdline_process_function): Likewise.
5909 * benchtests/bench-strlen.c (do_test): Likewise.
5910 (test_main): Likewise.
5911 * catgets/gencat.c (read_old): Likewise.
5912 * elf/cache.c (load_aux_cache): Likewise.
5913 * iconvdata/bug-iconv8.c (do_test): Likewise.
5914 * math/test-tgmath-ret.c (do_test): Likewise.
5915 * nis/nis_call.c (rec_dirsearch): Likewise.
5916 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5917 * nptl/tst-audit-threads.c (do_test): Likewise.
5918 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
5919 * nss/nss_test1.c (init): Likewise.
5920 * nss/test-netdb.c (test_hosts): Likewise.
5921 * posix/execvpe.c (maybe_script_execute): Likewise.
5922 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
5923 * stdio-common/tst-printf.c (do_test): Likewise.
5924 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
5925 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
5926 * stdlib/qsort.c (STACK_SIZE): Likewise.
5927 * stdlib/test-canon.c (do_test): Likewise.
5928 * stdlib/tst-swapcontext1.c (do_test): Likewise.
5929 * string/memcmp.c (OPSIZ): Likewise.
5930 * string/test-strcpy.c (do_test): Likewise.
5931 (do_random_tests): Likewise.
5932 * string/test-strlen.c (do_test): Likewise.
5933 (test_main): Likewise.
5934 * string/test-strrchr.c (do_test): Likewise.
5935 (do_random_tests): Likewise.
5936 * string/tester.c (test_memrchr): Likewise.
5937 (test_memchr): Likewise.
5938 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
5939 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
5940 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
5941 (read_encoded_value_with_base): Likewise.
5942 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
5943 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
5944 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
5945 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5946 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
5947 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
5948 Likewise.
5949 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
5950 Likewise.
5951 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
5952 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
5953 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
5954 Likewise.
5955 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
5956 Likewise.
5957 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
5958 Likewise.
5959 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5960 Likewise.
5961 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
5962 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5963 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5964 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
5965 * time/test_time.c (main): Likewise.
5966
5967 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5968
5969 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
5970
5971 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
5972 wmemcpy.
5973
5974 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
5975 wmemcpy.
5976
5977 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5978
5979 * include/wchar.h (__wcscpy): New prototype.
5980 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
5981 (__wcscpy): Route internal symbol to generic implementation.
5982 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
5983 Add internal __wcscpy alias.
5984 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
5985 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
5986 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
5987 * wcsmbs/wcscpy.c (wcscpy): Add
5988 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
5989 use generic implementation.
5990 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
5991
5992 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
5993 wmemset.
5994
5995 * sysdeps/m68k/wcpcpy.c: Remove file.
5996 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5997
5998 2019-02-26 Joseph Myers <joseph@codesourcery.com>
5999
6000 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
6001 than after operators.
6002 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6003 * sysdeps/mach/hurd/getcwd.c
6004 (__hurd_canonicalize_directory_name_internal): Likewise.
6005 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
6006 (pthread_mutex_consistent): Likewise.
6007 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
6008 Likewise.
6009 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
6010 (__pthread_mutex_transfer_np): Likewise.
6011 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
6012 (__pthread_mutex_unlock): Likewise.
6013 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
6014 (mtx_owned_p): Likewise.
6015 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
6016 (pthread_mutexattr_getrobust): Likewise.
6017 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
6018 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6019 Likewise.
6020 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6021 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
6022 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
6023 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
6024 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6025 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6026 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
6027 Likewise.
6028 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
6029 Likewise.
6030 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
6031 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
6032 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
6033 (____longjmp_chk): Likewise.
6034 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
6035 Likewise.
6036 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6037 (INTERNAL_SYSCALL): Likewise.
6038 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6039 (INTERNAL_SYSCALL): Likewise.
6040 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6041 (__get_clockfreq_via_cpuinfo): Likewise.
6042
6043 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
6044 comments.
6045 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
6046 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
6047 (WORD_COPY_BWD): Likewise.
6048 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6049 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6050 Likewise.
6051 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
6052 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
6053 comment.
6054 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
6055
6056 2019-02-25 Joseph Myers <joseph@codesourcery.com>
6057
6058 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
6059 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
6060 rather than after operators.
6061 * elf/cache.c (print_cache): Likewise.
6062 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
6063 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
6064 * hurd/hurdinit.c (_hurd_setproc): Likewise.
6065 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
6066 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
6067 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
6068 (reauth_proc): Likewise.
6069 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
6070 (__file_name_split_at): Likewise.
6071 (__directory_name_split_at): Likewise.
6072 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6073 * hurd/port2fd.c (_hurd_port2fd): Likewise.
6074 * iconv/gconv_dl.c (do_print): Likewise.
6075 * inet/netinet/in.h (struct sockaddr_in): Likewise.
6076 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
6077 * locale/setlocale.c (new_composite_name): Likewise.
6078 * malloc/memusagestat.c (main): Likewise.
6079 * misc/fstab.c (fstab_convert): Likewise.
6080 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6081 Likewise.
6082 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
6083 (getgrent_next_file): Likewise.
6084 (internal_getgrnam_r): Likewise.
6085 (internal_getgrgid_r): Likewise.
6086 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
6087 Likewise.
6088 (internal_getgrent_r): Likewise.
6089 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6090 (getpwent_next_nss): Likewise.
6091 (getpwent_next_file): Likewise.
6092 (internal_getpwnam_r): Likewise.
6093 (internal_getpwuid_r): Likewise.
6094 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
6095 Likewise.
6096 (getspent_next_nss): Likewise.
6097 (internal_getspnam_r): Likewise.
6098 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
6099 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
6100 * string/strchr.c (STRCHR): Likewise.
6101 * string/strchrnul.c (STRCHRNUL): Likewise.
6102 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
6103 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6104 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
6105 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
6106 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
6107 Likewise.
6108 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
6109 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6110 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
6111 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
6112 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
6113 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
6114 (open_file): Likewise.
6115 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
6116 (pthread_mutexattr_setprotocol): Likewise.
6117 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
6118 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
6119 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
6120 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
6121 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6122 Likewise.
6123 (elf_machine_rela): Likewise.
6124 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6125 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6126 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
6127 * sysdeps/posix/rename.c (rename): Likewise.
6128 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
6129 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
6130 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
6131 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
6132 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6133 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
6134 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
6135 Likewise.
6136 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
6137 Likewise.
6138 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
6139 * time/tzfile.c (__tzfile_compute): Likewise.
6140
6141 2019-02-22 Joseph Myers <joseph@codesourcery.com>
6142
6143 * benchtests/bench-memmem.c (simple_memmem): Break lines before
6144 rather than after operators.
6145 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
6146 * crypt/md5.c (md5_finish_ctx): Likewise.
6147 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
6148 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
6149 * elf/cache.c (load_aux_cache): Likewise.
6150 * elf/dl-load.c (open_verify): Likewise.
6151 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
6152 * elf/readelflib.c (process_elf_file): Likewise.
6153 * elf/rtld.c (dl_main): Likewise.
6154 * elf/sprof.c (generate_call_graph): Likewise.
6155 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
6156 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
6157 * hurd/dtable.c (reauth_dtable): Likewise.
6158 * hurd/getdport.c (__getdport): Likewise.
6159 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
6160 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
6161 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
6162 Likewise.
6163 * hurd/hurdioctl.c (fioctl): Likewise.
6164 * hurd/hurdselect.c (_hurd_select): Likewise.
6165 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
6166 (STOPSIGS): Likewise.
6167 * hurd/hurdstartup.c (_hurd_startup): Likewise.
6168 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
6169 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
6170 * hurd/msgportdemux.c (msgport_server): Likewise.
6171 * hurd/setauth.c (_hurd_setauth): Likewise.
6172 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
6173 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
6174 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6175 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
6176 * login/tst-utmp.c (do_check): Likewise.
6177 (simulate_login): Likewise.
6178 * mach/lowlevellock.h (lll_lock): Likewise.
6179 (lll_trylock): Likewise.
6180 * math/test-fenv.c (ALL_EXC): Likewise.
6181 * math/test-fenvinline.c (ALL_EXC): Likewise.
6182 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
6183 * nis/nis_call.c (__do_niscall3): Likewise.
6184 * nis/nis_callback.c (cb_prog_1): Likewise.
6185 * nis/nis_defaults.c (searchaccess): Likewise.
6186 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6187 * nis/nis_ismember.c (internal_ismember): Likewise.
6188 * nis/nis_local_names.c (nis_local_principal): Likewise.
6189 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
6190 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
6191 Likewise.
6192 * nis/ypclnt.c (yp_match): Likewise.
6193 (yp_first): Likewise.
6194 (yp_next): Likewise.
6195 (yp_master): Likewise.
6196 (yp_order): Likewise.
6197 * nscd/hstcache.c (cache_addhst): Likewise.
6198 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6199 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
6200 (internal_getpwuid_r): Likewise.
6201 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
6202 * posix/glob.h (__GLOB_FLAGS): Likewise.
6203 * posix/regcomp.c (peek_token): Likewise.
6204 (peek_token_bracket): Likewise.
6205 (parse_expression): Likewise.
6206 * posix/regexec.c (sift_states_iter_mb): Likewise.
6207 (check_node_accept_bytes): Likewise.
6208 * posix/tst-spawn3.c (do_test): Likewise.
6209 * posix/wordexp-test.c (testit): Likewise.
6210 * posix/wordexp.c (parse_tilde): Likewise.
6211 (exec_comm): Likewise.
6212 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
6213 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
6214 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
6215 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
6216 * stdio-common/tst-fileno.c (do_test): Likewise.
6217 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
6218 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
6219 * stdlib/strtod_l.c (round_and_return): Likewise.
6220 (____STRTOF_INTERNAL): Likewise.
6221 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
6222 * string/strcspn.c (STRCSPN): Likewise.
6223 * string/test-memmem.c (simple_memmem): Likewise.
6224 * termios/tcsetattr.c (tcsetattr): Likewise.
6225 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
6226 * time/asctime.c (asctime_internal): Likewise.
6227 * time/strptime_l.c (__strptime_internal): Likewise.
6228 * time/sys/time.h (timercmp): Likewise.
6229 * time/tzfile.c (__tzfile_compute): Likewise.
6230
6231 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
6232
6233 [BZ #21915]
6234 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
6235
6236 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6237
6238 * argp/argp-help.c (__argp_error_internal): New function,
6239 renamed from __argp_error, but that takes a 'mode_flags'
6240 parameter to control the format of long double parameters.
6241 (__argp_error): Converted into a call __argp_error_internal.
6242 (__argp_failure_internal): New function, renamed from
6243 __argp_failure, but that takes a 'mode_flags' parameter.
6244 (__argp_failure): Converted into a call __argp_failure_internal.
6245 * misc/err.c (__vwarnx_internal): New function, renamed from
6246 vwarnx, but that takes a 'mode_flags' parameter.
6247 (vwarnx): Converted into a call to __vwarnx_internal.
6248 (__vwarn_internal): New function, renamed from vwarn, but that
6249 takes a 'mode_flags' parameter.
6250 (vwarn): Converted into a call to __vwarn_internal.
6251 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
6252 call to __vfxprintf with 'mode_flags'.
6253 (__error_internal): New function, renamed from error, but that
6254 takes a 'mode_flags' parameter.
6255 (error): Converted into a call to __error_internal.
6256 (__error_at_line_internal): New function, renamed from
6257 error_at_line, but that takes a 'mode_flags' parameter.
6258 (error_at_line): Converted into a call to
6259 __error_at_line_internal.
6260 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
6261 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
6262 Likewise.
6263
6264 2019-02-20 Martin Liska <mliska@suse.cz>
6265
6266 * math/Makefile: Install math-vector-fortran.h.
6267 * bits/math-vector-fortran.h: New file.
6268 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
6269
6270 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6271
6272 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
6273 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
6274
6275 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
6276
6277 * nptl/pthread_mutex_trylock.c: Fix comment.
6278
6279 2019-02-19 Carlos O'Donell <carlos@redhat.com>
6280
6281 * nptl/pthread_tryjoin.c: Fix comment.
6282
6283 2019-02-18 Joseph Myers <joseph@codesourcery.com>
6284
6285 [BZ #24231]
6286 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
6287 after R_SPARC_H34 case.
6288
6289 2019-02-18 Florian Weimer <fweimer@redhat.com>
6290
6291 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
6292 (getanswer): Do not call Dprintf.
6293 (res_gethostbyname2_context): Likewise.
6294 (res_gethostbyaddr_context): Likewise.
6295
6296 2019-02-18 Florian Weimer <fweimer@redhat.com>
6297
6298 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
6299 declaration.
6300 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
6301 Remove definitions.
6302 * libio/stdfiles.c: Update comment.
6303 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
6304 set _IO_stdin, _IO_stdout, _IO_stderr.
6305 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
6306 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
6307 inline function.
6308 (_IO_deallocate_file): New inline function.
6309 * libio/iolibio.h (_IO_vprintf): Remove definition.
6310 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
6311 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6312 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
6313 _IO_legacy_file.
6314 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
6315 __builtin_expect. Use _IO_legacy_file.
6316
6317 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
6318
6319 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
6320 Initialize ctid with a known value and remove update of ctid
6321 after clone.
6322 (wait_tid): Adjust arguments and call futex_wait with ctid_val
6323 as assumed current value of ctid_ptr.
6324
6325 2019-02-16 Florian Weimer <fweimer@redhat.com>
6326
6327 Check that non-sysdeps headers have wrapper headers.
6328 * scripts/check-wrapper-headers.py: New file.
6329 * Makefile (tests-special): Add check-wrapper-headers.out.
6330 (check-wrapper-headers.out): New target.
6331 * Rules (tests-special): Add check-wrapper-headers.out.
6332 (check-wrapper-headers.out): New target.
6333
6334 2019-02-16 Florian Weimer <fweimer@redhat.com>
6335
6336 Add missing header wrappers under include/.
6337 * include/ar.h: New file.
6338 * include/bits/mqueue2.h: Likewise.
6339 * include/bits/stdio.h: Likewise.
6340 * include/bits/stdio2.h: Likewise.
6341 * include/fstab.h: Likewise.
6342 * include/fts.h: Likewise.
6343 * include/lastlog.h: Likewise.
6344 * include/netinet/icmp6.h: Likewise.
6345 * include/netinet/igmp.h: Likewise.
6346 * include/netinet/ip6.h: Likewise.
6347 * include/re_comp.h: Likewise.
6348 * include/regexp.h: Likewise.
6349 * include/rpcsvc/bootparam.h: Likewise.
6350 * include/rpcsvc/yp_prot.h: Likewise.
6351 * include/sys/random.h: Likewise.
6352 * include/sys/stropts.h: Likewise.
6353 * include/sys/ttychars.h: Likewise.
6354 * include/sys/vfs.h: Likewise.
6355 * include/wait.h: Likewise.
6356
6357 2019-02-16 Florian Weimer <fweimer@redhat.com>
6358
6359 * nptl_db/proc_service.h: Move to ...
6360 * sysdeps/nptl/proc_service.h: ... here.
6361 * nptl_db/thread_db.h: Move to ...
6362 * sysdeps/nptl/thread_db.h: ... here.
6363 * nptl/descr.h: Include <thread_db.h>.
6364
6365 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6366
6367 * io/Makefile (tests): Add tst-lockf.
6368 * io/lockf.c (lockf): Use __fcntl and only define for
6369 !__OFF_T_MATCHES_OFF64_T.
6370 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
6371 __OFF_T_MATCHES_OFF64_T case.
6372 * io/tst-lockf.c: New file.
6373 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
6374 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
6375 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
6376 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
6377 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
6378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
6379 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
6380 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
6381 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
6382
6383 2019-02-15 Florian Weimer <fweimer@redhat.com>
6384
6385 [BZ #24211]
6386 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
6387 pd->result after the thread descriptor has been freed.
6388
6389 2019-02-15 Joseph Myers <joseph@codesourcery.com>
6390
6391 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
6392 from function return type.
6393
6394 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
6395
6396 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6397
6398 * scripts/test_printers_common.py: Set TERM to a known harmless
6399 value.
6400
6401 2019-02-14 Joseph Myers <joseph@codesourcery.com>
6402
6403 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
6404 (xdr_u_int): Likewise.
6405 (xdr_enum): Likewise.
6406 (xdr_bytes): Reword fall-through comment.
6407 (xdr_string): Likewise.
6408
6409 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6410
6411 [BZ #2421]
6412 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
6413 (tests): Add tst-join8 tst-join9.
6414 * nptl/lll_timedwait_tid.c: Remove file.
6415 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
6416 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
6417 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
6418 * nptl/pthread_join_common.c (timedwait_tid): New function.
6419 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
6420 is set.
6421 * nptl/tst-join5.c (thread_join): New function.
6422 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
6423 check.
6424 * nptl/tst-join8.c: New file.
6425 * nptl/tst-join9.c: Likewise.
6426 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
6427 lll_futex_timed_wait_cancel): Add generic macros.
6428 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
6429 Remove definitions.
6430 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6431 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6432 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6433 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
6434 Remove function.
6435 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
6436 Likewise.
6437 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6438 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6439 (lll_futex_timed_wait_cancel): New macro.
6440
6441 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
6442
6443 * benchtests/Makefile: Add malloc-simple benchmark.
6444 * benchtests/bench-malloc-simple.c: New benchmark.
6445
6446 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6447
6448 * benchtests/bench-memmove.c (do_one_test): Remove unused
6449 ORIG_SRC.
6450 (do_test): Adjust.
6451 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
6452 ORIG_SRC.
6453 (do_test): Adjust.
6454
6455 2019-01-13 Jim Wilson <jimw@sifive.com>
6456
6457 [BZ #24040]
6458 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
6459 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
6460 (func): New.
6461 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
6462 call func directly.
6463 * nptl/Makefile (tests): Add tst-unwind-thread.
6464 (CFLAGS-tst-unwind-thread.c): Define.
6465 * nptl/tst-unwind-thread.c: New file.
6466 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
6467 as undefined.
6468
6469 2019-02-13 Joseph Myers <joseph@codesourcery.com>
6470
6471 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
6472 comment wording.
6473 * nis/nis_call.c (__do_niscall3): Likewise.
6474
6475 * catgets/gencat.c (normalize_line): Use braces around empty
6476 'else' body.
6477 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6478 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
6479 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
6480 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
6481 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
6482 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
6483 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
6484 definition.
6485
6486 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
6487 execlp returns.
6488
6489 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
6490
6491 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
6492 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
6493 * benchtests/bench-strchr.c (stupid_strchr): Remove.
6494 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
6495 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
6496 * benchtests/bench-strlen.c (builtin_strlen): Remove.
6497 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
6498 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
6499 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
6500 * benchtests/bench-strspn.c (stupid_strspn): Remove.
6501 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
6502 * benchtests/bench-bcopy.c: Delete file.
6503 * benchtests/bench-bzero.c: Likewise.
6504 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
6505 (simple_memccpy): Remove.
6506 (generic_memccpy): Add function.
6507 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
6508 * benchtests/bench-memmove.c (simple_bcopy): Remove.
6509 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
6510 (generic_mempcpy): Add new function.
6511 * benchtests/bench-memset.c (simple_bzero): Remove.
6512 (builtin_bzero): Remove.
6513 (builtin_memset): Remove.
6514 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
6515 (generic_rawmemchr): Add new function.
6516
6517 2019-02-12 Florian Weimer <fweimer@redhat.com>
6518
6519 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
6520
6521 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6522
6523 [BZ #24122]
6524 * elf/Makefile (tests): Add tst-audit13.
6525 (modules-names): Add tst-audit13mod1.
6526 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6527 rule.
6528 * elf/tst-audit13.c: New file.
6529 * elf/tst-audit13mod1.c: Likewise.
6530
6531 2019-02-12 Florian Weimer <fweimer@redhat.com>
6532
6533 [BZ #24122]
6534 * elf/rtld.c (unload_audit_module): New function.
6535 (report_audit_module_load_error): Likewise.
6536 (load_audit_module): Likewise. Extracted from dl_main. Call
6537 _dl_close if the laversion symbol cannot be found. Use early
6538 returns for error handling. Add malloc error check. Check for a
6539 zero return value from la_version. Remove spurious comment about
6540 static TLS initialization. Remove useless casts.
6541 (notify_audit_modules_of_loaded_object): New function. Extracted
6542 from dl_main.
6543 (load_audit_module): Likewise.
6544 (dl_main): Call load_audit_modules.
6545
6546 2019-02-12 Joseph Myers <joseph@codesourcery.com>
6547
6548 * elf/dl-exception.c (_dl_exception_create_format): Add
6549 fall-through comments.
6550 * elf/ldconfig.c (parse_conf_include): Likewise.
6551 * elf/rtld.c (print_statistics): Likewise.
6552 * locale/programs/charmap.c (parse_charmap): Likewise.
6553 * misc/mntent_r.c (__getmntent_r): Likewise.
6554 * posix/wordexp.c (parse_arith): Likewise.
6555 (parse_backtick): Likewise.
6556 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
6557 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6558 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6559
6560 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
6561
6562 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
6563 Use float instead of double.
6564
6565 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6566
6567 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
6568
6569 2019-02-08 Joseph Myers <joseph@codesourcery.com>
6570
6571 * sysdeps/powerpc/bits/mathinline.h: Remove.
6572
6573 2019-02-08 Florian Weimer <fweimer@redhat.com>
6574
6575 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
6576 * math/bits/math-finite.h: Move to ...
6577 * bits/math-finite.h: ... here.
6578
6579 2019-02-08 Florian Weimer <fweimer@redhat.com>
6580
6581 * sysdeps/generic/bits/unistd_ext.h: Move to ...
6582 * bits/unistd_ext.h: here.
6583
6584 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
6585
6586 [BZ #21915]
6587 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
6588 * nss/tst-nss-files-hosts-long.c: New file.
6589 * nss/tst-nss-files-hosts-long.root: New directory.
6590 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
6591 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
6592
6593 2019-02-08 Florian Weimer <fweimer@redhat.com>
6594
6595 * include/bits/unistd_ext.h: Remove file.
6596 * posix/bits/unistd_ext.h: Move to ...
6597 * sysdeps/generic/bits/unistd_ext.h: ... here.
6598
6599 2019-02-08 Florian Weimer <fweimer@redhat.com>
6600
6601 * include/bits/unistd_ext.h: New file.
6602
6603 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
6604
6605 * time/tst-strftime2.c: Use array_length macros instead of magic
6606 numbers.
6607
6608 2019-02-08 Florian Weimer <fweimer@redhat.com>
6609
6610 [BZ #24161]
6611 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
6612 argument.
6613 * nptl/register-atfork.c (__run_fork_handlers): Only perform
6614 locking if the new do_locking argument is true.
6615 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
6616 __run_fork_handlers.
6617
6618 2019-02-08 Florian Weimer <fweimer@redhat.com>
6619
6620 [BZ #6399]
6621 Linux: Add gettid system call wrapper.
6622 * posix/Makefile (headers): Add bits/unistd_ext.h.
6623 * posix/bits/unistd_ext.h: New file.
6624 * posix/unistd.h: Include it.
6625 * manual/process.texi (Process Identification): Document gettid.
6626 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
6627 tst-gettid, tst-gettid-kill.
6628 (tst-gettid): Link with $(shared-thread-library).
6629 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
6630 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
6631 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
6632 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
6633 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
6634 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
6635 Add gettid.
6636 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
6637 Likewise.
6638 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
6639 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
6640 Likewise.
6641 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
6642 Likewise.
6643 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
6644 Likewise.
6645 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
6646 Likewise.
6647 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
6648 Likewise.
6649 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
6650 Likewise.
6651 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
6652 Likewise.
6653 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6654 (GLIBC_2.30): Likewise.
6655 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6656 (GLIBC_2.30): Likewise.
6657 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6658 (GLIBC_2.30): Likewise.
6659 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6660 (GLIBC_2.30): Likewise.
6661 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
6662 Likewise.
6663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6664 (GLIBC_2.30): Likewise.
6665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6666 (GLIBC_2.30): Likewise.
6667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
6668 (GLIBC_2.30): Likewise.
6669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
6670 (GLIBC_2.30): Likewise.
6671 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
6672 Likewise.
6673 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
6674 Likewise.
6675 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
6676 Likewise.
6677 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
6678 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
6679 Likewise.
6680 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
6681 Likewise.
6682 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
6683 Likewise.
6684 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
6685 Likewise.
6686 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
6687
6688 2019-02-08 Florian Weimer <fweimer@redhat.com>
6689
6690 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
6691 compatibility symbols.
6692
6693 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
6694
6695 [BZ #24180]
6696 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6697 Add compiler barriers and comments.
6698
6699 2019-02-07 Florian Weimer <fweimer@redhat.com>
6700
6701 * include/array_length.h (array_length): Do not use a statement
6702 expression and _Static_assert, so that array_length can be used at
6703 file scope and as a constant expression.
6704
6705 2019-02-07 Florian Weimer <fweimer@redhat.com>
6706
6707 * support/xdlfcn.h (xdlmopen): Declare.
6708 * support/xdlmopen.c: New file.
6709 * support/Makefile (libsupport-routines): Add xdlmopen.
6710
6711 2019-02-06 Joseph Myers <joseph@codesourcery.com>
6712
6713 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
6714 before return type, without separate inline.
6715 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
6716 * elf/dl-tunables.h (tunable_is_name): Likewise.
6717 * malloc/malloc.c (do_set_trim_threshold): Likewise.
6718 (do_set_top_pad): Likewise.
6719 (do_set_mmap_threshold): Likewise.
6720 (do_set_mmaps_max): Likewise.
6721 (do_set_mallopt_check): Likewise.
6722 (do_set_perturb_byte): Likewise.
6723 (do_set_arena_test): Likewise.
6724 (do_set_arena_max): Likewise.
6725 (do_set_tcache_max): Likewise.
6726 (do_set_tcache_count): Likewise.
6727 (do_set_tcache_unsorted_limit): Likewise.
6728 * nis/nis_subr.c (count_dots): Likewise.
6729 * nptl/allocatestack.c (advise_stack_range): Likewise.
6730 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
6731 (do_sin): Likewise.
6732 (reduce_sincos): Likewise.
6733 (do_sincos): Likewise.
6734 * sysdeps/unix/sysv/linux/x86/elision-conf.c
6735 (do_set_elision_enable): Likewise.
6736 (TUNABLE_CALLBACK_FNDECL): Likewise.
6737
6738 2019-02-06 Florian Weimer <fweimer@redhat.com>
6739
6740 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
6741 (xdlsym): Use dlerror to detect a NULL symbol.
6742
6743 2019-02-06 Florian Weimer <fweimer@redhat.com>
6744
6745 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
6746 <stap-probe.h>.
6747 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6748
6749 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6750
6751 * libio/tst-bz24153.c (wide): Use wide char format specifier.
6752
6753 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6754
6755 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
6756 __wmemcmp and weak alias to wmemcmp.
6757
6758 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6759
6760 [BZ #23403]
6761 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
6762 TLS_TCB_AT_TP tls variant.
6763 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
6764 Add alignment checks.
6765 * support/Makefile (libsupport-routines): Add xposix_memalign and
6766 xpthread_setstack.
6767 * support/support.h: Add xposix_memalign.
6768 * support/xthread.h: Add xpthread_attr_setstack.
6769 * support/xposix_memalign.c: New File.
6770 * support/xpthread_attr_setstack.c: Likewise.
6771
6772 2019-02-05 Florian Weimer <fweimer@redhat.com>
6773
6774 [BZ #24164]
6775 arm: Use "nr" constraint for Systemtap probes, to avoid the
6776 compiler using memory operands for constants, due to the "o"
6777 alternative in the default "nor" constraint.
6778 * include/stap-probe.h [USE_STAP_PROBE]: Include
6779 <stap-probe-machine.h>
6780 * sysdeps/generic/stap-probe-machine.h: New file.
6781 * sysdeps/arm/stap-probe-machine.h: Likewise.
6782
6783 2019-02-04 Joseph Myers <joseph@codesourcery.com>
6784
6785 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
6786 with 0, not tcache->entries[tc_idx].
6787
6788 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
6789 once.
6790
6791 2019-02-04 Andreas Schwab <schwab@suse.de>
6792
6793 [BZ #16976]
6794 [BZ #17396]
6795 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
6796 looking up collating elements match against (wide) character
6797 sequence instead of name. Correct alignment adjustment.
6798 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
6799 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
6800 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
6801 (LOCALES): Add cs_CZ.ISO-8859-2.
6802 * posix/tst-fnmatch4.c: New file.
6803 * posix/tst-fnmatch5.c: New file.
6804 * include/wchar.h (__wmemcmp): Declare.
6805 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
6806 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
6807 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
6808 * sysdeps/s390/wmemcmp.c: Likewise.
6809
6810 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
6811
6812 [BZ #24155]
6813 CVE-2019-7309
6814 * NEWS: Updated for CVE-2019-7309.
6815 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
6816 upper 32 bits of RDX register for x32. Use unsigned Jcc
6817 instructions, instead of signed.
6818 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
6819 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
6820
6821 2019-02-04 Florian Weimer <fweimer@redhat.com>
6822
6823 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
6824 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
6825 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
6826 Likewise.
6827 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
6828 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
6829 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
6830 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
6831 Likewise.
6832 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
6833 Likewise.
6834 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
6835 Likewise.
6836 (posix_spawn_file_actions_addopen): Likewise.
6837 (posix_spawn_file_actions_addclose): Likewise.
6838 (posix_spawn_file_actions_adddup2): Likewise.
6839 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
6840 qualifiers.
6841 (posix_spawn_file_actions_addfchdir_np): Likewise.
6842
6843 2019-02-04 David Newall <glibc@davidnewall.com>
6844
6845 elf: Implement --preload option for the dynamic linker.
6846 * elf/rtld.c (preloadarg): New variable.
6847 (handle_preload_list): Pass through “where” argument to
6848 do_preload.
6849 (dl_main): Handle "--preload" and add second call to
6850 handle_preload_list.
6851 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
6852 (tst-rtld-preload-OBJS): Set variable.
6853 (tst-rtld-preload.out): New target.
6854 * elf/tst-rtld-preload.sh: New file.
6855
6856 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
6857
6858 * Makefile (testrun.sh): Exit in case of incorrect argument.
6859
6860 2019-02-04 Florian Weimer <fweimer@redhat.com>
6861
6862 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
6863 alignment gaps.
6864
6865 2019-02-03 Florian Weimer <fweimer@redhat.com>
6866
6867 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
6868 implicit overflow checks.
6869
6870 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
6871
6872 * stdlib/isomac.c: Include <unistd.h>.
6873
6874 2019-02-03 Florian Weimer <fweimer@redhat.com>
6875
6876 * include/time.h (__tzfile_default): Use int, not long int, for
6877 the GMT offsets.
6878 * time/tzfile.c (struct ttinfo): Change type of the offset member
6879 to int.
6880 (__tzfile_read): Remove useless cast.
6881 (__tzfile_default): Adjust prototype.
6882 * time/tzset.c (tz_rule): Change type of the offset member to int.
6883 (parse_offset): Change the type of the sign variable to int.
6884
6885 2019-02-03 Florian Weimer <fweimer@redhat.com>
6886
6887 [BZ #24153]
6888 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
6889 * libio/getchar.c (getchar): Likewise.
6890 * libio/getchar_u.c (getchar_unlocked): Likewise.
6891 * libio/getwchar.c (getwchar): Likewise.
6892 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6893 * libio/iogets.c (_IO_gets): Likewise.
6894 * libio/vscanf.c (_IO_vscanf): Likewise.
6895 * libio/vwscanf.c (__vwscanf): Likewise.
6896 * libio/tst-bz24153.c: New file.
6897 * libio/Makefile (tests): Add it.
6898
6899 2019-02-02 Florian Weimer <fweimer@redhat.com>
6900
6901 [BZ #14829]
6902 * manual/resource.texi (Basic Scheduling Functions): Add
6903 portability note. Change process to task throughout the section.
6904 Remove incorrect comment about sched_yield as it affects
6905 tasks/threads, not entire processes.
6906 * sysdeps/unix/sysv/linux/bits/posix_opt.h
6907 (_POSIX_PRIORITY_SCHEDULING): Update comment.
6908
6909 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6910
6911 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
6912 * configure: Regenerated.
6913 * manual/install.texi (Tools for Compilation): Update minimum GCC
6914 version.
6915 * INSTALL: Regenerated.
6916
6917 2019-02-01 Florian Weimer <fweimer@redhat.com>
6918
6919 * support/support_test_compare_string.c
6920 (support_test_compare_string): Use "string" in error message.
6921 * support/tst-test_compare_string.c (do_test): Adjust.
6922
6923 2019-02-01 Florian Weimer <fweimer@redhat.com>
6924
6925 * support/support_format_address_family.c
6926 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
6927
6928 2019-02-01 Florian Weimer <fweimer@redhat.com>
6929
6930 * manual/socket.texi (Internet Address Formats): Clarify the byte
6931 order of struct sockaddr_in, struct sockaddr_in6. Document
6932 sin6_flowinfo and sin6_scope_id.
6933
6934 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
6935
6936 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
6937 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
6938 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
6939 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
6940 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
6941 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
6942
6943 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6944
6945 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
6946 [!MEMCHR](MEMCHR): Set to __memchr.
6947 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6948 Add memchr_generic and memchr_nosimd.
6949 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6950 (__libc_ifunc_impl_list): Add memchr ifuncs.
6951 * sysdeps/aarch64/multiarch/memchr.c: New file.
6952 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
6953 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
6954
6955 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6956
6957 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6958 Add memset_emag.
6959 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6960 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
6961 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
6962 Add IS_EMAG check for ifunc dispatch.
6963 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
6964 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
6965
6966 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6967
6968 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
6969 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6970 Add emag.
6971 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
6972 New macro.
6973
6974 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
6975
6976 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
6977
6978 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
6979
6980 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
6981 syscall-template file.
6982
6983 2019-01-31 Carlos O'Donell <carlos@redhat.com>
6984 Torvald Riegel <triegel@redhat.com>
6985 Rik Prohaska <prohaska7@gmail.com>
6986
6987 [BZ# 23844]
6988 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
6989 tst-rwlock-trywrlock-stall.
6990 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6991 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
6992 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
6993 Set __wrphase_fute to 1 only if we started the write phase.
6994 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
6995 * nptl/tst-rwlock-trywrlock-stall.c: New file.
6996 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
6997 * support/xpthread_rwlock_destroy.c: New file.
6998 * support/xthread.h: Declare xpthread_rwlock_destroy.
6999
7000 2019-02-01 Joseph Myers <joseph@codesourcery.com>
7001
7002 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
7003 version to 4.0.2.
7004
7005 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7006
7007 [BZ #24051]
7008 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
7009 * libio/fileops.c (_IO_new_file_underflow): Likewise
7010 * libio/wfileops.c (_IO_wfile_underflow): Likewise
7011 * libio/putchar.c (putchar): Likewise.
7012 * libio/putchar_u.c (putchar_unlocked): Likewise.
7013 * libio/putwchar.c (putchar): Likewise.
7014 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7015 * libio/tst-bz24051.c: New test.
7016 * libio/Makefile (tests): Add tst-bz24051
7017
7018 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
7019
7020 CVE-2019-9169
7021 regex: fix read overrun [BZ #24114]
7022 Problem found by AddressSanitizer, reported by Hongxu Chen in:
7023 https://debbugs.gnu.org/34140
7024 * posix/regexec.c (proceed_next_node):
7025 Do not read past end of input buffer.
7026
7027 2019-01-31 Florian Weimer <fweimer@redhat.com>
7028
7029 [BZ #24059]
7030 * nss/nss_files/files-alias.c (get_next_alias): Handle
7031 continuation line without newline at the end.
7032 * nss/tst-nss-files-alias-truncated.c: New file.
7033 * nss/Makefile [$(build-shared)] (tests): Add
7034 tst-nss-files-alias-truncated.
7035 (tst-nss-files-alias-truncated): Link with libnss_files.so.
7036 * support/namespace.h (struct support_chroot_configuration): Add
7037 aliases member.
7038 (struct support_chroot): Add path_aliases member.
7039 * support/support_chroot.c (support_chroot_create): Handle
7040 aliases.
7041 (support_chroot_free): Free path_aliases.
7042
7043 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
7044
7045 * version.h (RELEASE): Set to "development".
7046 (VERSION): Set to "2.29.9000".
7047 * NEWS: Add section for 2.30.
7048
7049 * version.h (RELEASE): Set to "stable".
7050 (VERSION): Set to "2.29".
7051 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
7052
7053 * NEWS: Add the list of bugs fixed in 2.29.
7054 * manual/contrib.texi: Update contributors list with some more
7055 names.
7056 * manual/install.texi: Update latest versions of packages
7057 tested.
7058 * INSTALL: Regenerated.
7059
7060 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
7061
7062 * po/be.po: Update translations.
7063 * po/bg.po: Likewise.
7064 * po/ca.po: Likewise.
7065 * po/cs.po: Likewise.
7066 * po/da.po: Likewise.
7067 * po/de.po: Likewise.
7068 * po/el.po: Likewise.
7069 * po/eo.po: Likewise.
7070 * po/es.po: Likewise.
7071 * po/fi.po: Likewise.
7072 * po/fr.po: Likewise.
7073 * po/gl.po: Likewise.
7074 * po/hr.po: Likewise.
7075 * po/hu.po: Likewise.
7076 * po/ia.po: Likewise.
7077 * po/id.po: Likewise.
7078 * po/it.po: Likewise.
7079 * po/ja.po: Likewise.
7080 * po/ko.po: Likewise.
7081 * po/lt.po: Likewise.
7082 * po/nb.po: Likewise.
7083 * po/nl.po: Likewise.
7084 * po/pl.po: Likewise.
7085 * po/pt_BR.po: Likewise.
7086 * po/ru.po: Likewise.
7087 * po/rw.po: Likewise.
7088 * po/sk.po: Likewise.
7089 * po/sl.po: Likewise.
7090 * po/sv.po: Likewise.
7091 * po/tr.po: Likewise.
7092 * po/uk.po: Likewise.
7093 * po/vi.po: Likewise.
7094 * po/zh_CN.po: Likewise.
7095 * po/zh_TW.po: Likewise.
7096
7097 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
7098
7099 [BZ #24130]
7100 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
7101 of $f3 register on $y_is_neg path.
7102
7103 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
7104
7105 [BZ #24110]
7106 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
7107 sigaltstack.ss_flags.
7108
7109 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
7110
7111 [BZ #23758]
7112 * manual/time.texi (strftime): Document "%Ey".
7113 * time/strftime_l.c (__strftime_internal): Set the default width
7114 padding with zero of "%Ey" to 2.
7115
7116 [BZ #24096]
7117 * manual/time.texi (strftime): Document "%EC" and "%EY".
7118 * time/Makefile (tests): Add tst-strftime2.
7119 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
7120 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
7121 override padding for "%Ey".
7122 If an optional flag ('_' or '-') is specified to "%EY", interpret the
7123 "%Ey" in the subformat as if decorated with that flag.
7124 * time/tst-strftime2.c: New file.
7125
7126 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7127
7128 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
7129 are not defined.
7130
7131 [BZ #24122]
7132 * elf/Makefile (tests): Add tst-audit13.
7133 (modules-names): Add tst-audit13mod1.
7134 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
7135 rule.
7136 * elf/rtld.c (dl_main): Handle invalid audit module version.
7137 * elf/tst-audit13.c: New file.
7138 * elf/tst-audit13mod1.c: Likewise.
7139
7140 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7141
7142 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
7143 returned by __hurd_at_flags.
7144 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
7145 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
7146 directly instead of __hurd_file_name_lookup.
7147
7148 2019-01-21 Joseph Myers <joseph@codesourcery.com>
7149
7150 * scripts/build-many-glibcs.py (Context.checkout): Default
7151 binutils version to 2.32 branch.
7152
7153 2019-01-21 Florian Weimer <fweimer@redhat.com>
7154
7155 [BZ #20018]
7156 CVE-2016-10739
7157 resolv: Reject trailing characters in host names
7158 * include/arpa/inet.h (__inet_aton_exact): Declare.
7159 (inet_aton): Remove hidden prototype. No longer used internally.
7160 * nscd/gai.c (__inet_aton): Do not define.
7161 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
7162 * nss/digits_dots.c (__inet_aton): Likewise.
7163 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
7164 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
7165 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
7166 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
7167 (tst-resolv-trailing): Likewise.
7168 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
7169 libc.
7170 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
7171 Make static. Add endp parameter.
7172 (__inet_aton_exact): New function.
7173 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
7174 (__inet_addr): Call inet_aton_end.
7175 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
7176 not just IPv6. Call __inet_aton_exact.
7177 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
7178 (tests): Make const. Add additional test cases with trailing
7179 characters.
7180 (do_test): Use array_length.
7181 * resolv/tst-inet_aton_exact.c: New file.
7182 * resolv/tst-resolv-trailing.c: Likewise.
7183 * resolv/tst-resolv-nondecimal.c: Likewise.
7184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
7185
7186 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7187
7188 [BZ# 24097]
7189 CVE-2019-6488
7190 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
7191 Clear the upper 32 bits of RSI register.
7192 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
7193 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
7194 and tst-size_t-wcsnlen.
7195 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
7196 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
7197
7198 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7199
7200 [BZ# 24097]
7201 CVE-2019-6488
7202 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
7203 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7204 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7205 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
7206 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
7207
7208 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7209
7210 [BZ# 24097]
7211 CVE-2019-6488
7212 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
7213 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7214 * sysdeps/x86_64/strcmp.S: Likewise.
7215 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
7216 tst-size_t-strncmp and tst-size_t-wcsncmp.
7217 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
7218 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
7219 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
7220
7221 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7222
7223 [BZ# 24097]
7224 CVE-2019-6488
7225 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
7226 RDX_LP for length. Clear the upper 32 bits of RDX register.
7227 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
7228 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
7229 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
7230 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
7231
7232 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7233
7234 [BZ# 24097]
7235 CVE-2019-6488
7236 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
7237 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
7238 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
7239 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
7240
7241 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7242
7243 [BZ# 24097]
7244 CVE-2019-6488
7245 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
7246 length. Clear the upper 32 bits of RDX register.
7247 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7248 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7249 Likewise.
7250 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7251 Likewise.
7252 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
7253 tst-size_t-wmemchr.
7254 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
7255
7256 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7257
7258 [BZ# 24097]
7259 CVE-2019-6488
7260 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
7261 length. Clear the upper 32 bits of RDX register.
7262 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7263 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7264 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
7265 tst-size_t-wmemcmp.
7266 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
7267 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
7268
7269 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
7270
7271 [BZ# 24097]
7272 CVE-2019-6488
7273 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
7274 upper 32 bits of RDX register.
7275 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
7276 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
7277 tst-size_t-wmemchr.
7278 * sysdeps/x86_64/x32/test-size_t.h: New file.
7279 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
7280 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
7281
7282 2019-01-18 Florian Weimer <fweimer@redhat.com>
7283
7284 [BZ #24112]
7285 resolv: Do not send queries for non-host-names in nss_dns.
7286 * resolv/nss_dns/dns-host.c (check_name): New function.
7287 (_nss_dns_gethostbyname2_r): Use it.
7288 (_nss_dns_gethostbyname_r): Likewise.
7289 (_nss_dns_gethostbyname4_r): Likewise.
7290
7291 2019-01-21 Florian Weimer <fweimer@redhat.com>
7292
7293 * resolv/inet_addr.c: Reformat to GNU style.
7294 (__inet_addr, __inet_aton): Update comment.
7295
7296 2019-01-18 Florian Weimer <fweimer@redhat.com>
7297
7298 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
7299 ("malloc: Use current (C11-style) atomics for fastbin access").
7300 This commit introduces a substantial performance regression on
7301 POWER and Aarch64.
7302 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
7303 (REMOVE_FB): Define.
7304 (_int_malloc): Use it and reindent.
7305 (_int_free): Use CAS loop with
7306 catomic_compare_and_exchange_val_rel.
7307 (malloc_consolidate): Use atomic_exchange_acq.
7308
7309
7310 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
7311
7312 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
7313 -Wl,-z,now.
7314 (LDFLAGS-tst-minsigstksz-2): Likewise.
7315 (LDFLAGS-tst-minsigstksz-3): Likewise.
7316 (LDFLAGS-tst-minsigstksz-3a): Likewise.
7317 (LDFLAGS-tst-minsigstksz-4): Likewise.
7318
7319 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
7320
7321 * manual/time.texi (strftime): Fix the wording to "alternative" rather
7322 than "alternate".
7323
7324 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
7325
7326 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
7327
7328 2019-01-16 Zack Weinberg <zackw@panix.com>
7329
7330 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
7331 (xget_sigstack_location): New test support functions.
7332 * support/xsigstack.c: New file, implementing them.
7333 * support/tst-xsigstack.c: New test for them.
7334 * support/Makefile: Update.
7335
7336 * signal/tst-minsigstksz-1.c
7337 * signal/tst-minsigstksz-2.c
7338 * signal/tst-minsigstksz-3.c
7339 * signal/tst-minsigstksz-3a.c
7340 * signal/tst-minsigstksz-4.c: New tests.
7341 * signal/Makefile: Run them.
7342
7343 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7344
7345 * po/libc.pot: Regenerate.
7346
7347 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7348
7349 * math/libm-test-fma.inc (fma_test_data): Set
7350 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
7351
7352 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7353
7354 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
7355 (do_test): Changed __vector __int128_t to __vector unsigned int.
7356
7357 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7358
7359 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7360 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
7361 stpcpy-avx2 and stpncpy-avx2.
7362 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
7363 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
7364 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
7365 and __stpncpy_avx2.
7366 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
7367 ifunc-strcpy.h}: rename header for a more generic name.
7368 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
7369 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7370 AVX unaligned load is fast and vzeroupper is preferred.
7371 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
7372 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
7373 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
7374 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
7375 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
7376 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
7377
7378 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
7379
7380 * argp/argp-help.c: Fix typo in comment.
7381 * misc/sys/cdefs.h: Likewise.
7382 * posix/regexec.c (sift_states_iter_mb): Likewise.
7383 * socket/sockatmark.c: Likewise.
7384 * socket/sys/socket.h: Likewise.
7385 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
7386 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
7387 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
7388 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7389 * sysdeps/unix/sockatmark.c: Likewise.
7390 * time/strptime_l.c: Likewise.
7391
7392 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7393
7394 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
7395 missing space after the cast of "_NL_CURRENT".
7396
7397 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7398
7399 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
7400 ifdef to fix read of VSCR.
7401 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
7402 tst-ucontext-ppc64-vscr.c to test list.
7403 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
7404
7405 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
7406
7407 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
7408 fall-through.
7409
7410 2019-01-09 Jim Wilson <jimw@sifive.com>
7411
7412 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7413
7414 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
7415
7416 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
7417 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
7418 __memcpy_falkor for ares.
7419 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
7420 Add new define.
7421 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7422 Add ares cpu.
7423
7424 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
7425
7426 [BZ #24066]
7427 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
7428 4_FP_W_TYPEs are used for IEEE quad precision.
7429 * soft-fp/extendhftf2.c: Likewise.
7430 * soft-fp/extendsftf2.c: Likewise.
7431 * soft-fp/extendxftf2.c: Likewise.
7432 * soft-fp/trunctfdf2.c: Likewise.
7433 * soft-fp/trunctfhf2.c: Likewise.
7434 * soft-fp/trunctfsf2.c: Likewise.
7435 * soft-fp/trunctfxf2.c: Likewise.
7436 * sysdeps/alpha/ots_cvttx.c: Likewise.
7437 * sysdeps/alpha/ots_cvtxt.c: Likewise.
7438 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
7439 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7440 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7441 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
7442 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
7443 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7444 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7445 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
7446 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
7447 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
7448 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
7449 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
7450 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
7451 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
7452 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
7453 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
7454
7455 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7456
7457 [BZ #24024]
7458 * Makeconfig: Build libm with -fno-math-errno but build the remaining
7459 code with -fmath-errno.
7460 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
7461 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
7462 * string/test-strerror-errno.c: New file.
7463
7464 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7465
7466 [BZ #24046]
7467 * localedata/locales/en_US (date_fmt): Add, set to
7468 "%a %d %b %Y %r %Z".
7469
7470 2019-01-07 Florian Weimer <fweimer@redhat.com>
7471
7472 [BZ #24063]
7473 * manual/arith.texi (Math Error Reporting): Use @code{errno}
7474 instead of @var{errno}.
7475 (Parsing of Integers): Likewise.
7476 (Parsing of Floats): Likewise.
7477 * manual/filesys.texi (Working with Directory Trees): Likewise.
7478 (Temporary Files): Likewise.
7479 * manual/job.texi (Terminal Access Functions): Likewise.
7480 * manual/llio.texi (Synchronizing I/O): Likewise.
7481 * manual/math.texi (SVID Random): Likewise.
7482 * manual/message.texi (The catgets Functions): Likewise.
7483 (Translation with gettext): Likewise.
7484 (Locating gettext catalog): Likewise.
7485 (Charset conversion in gettext): Likewise.
7486 * manual/nss.texi (NSS Module Function Internals): Likewise.
7487 * manual/search.texi (Hash Search Function): Likewise.
7488 * manual/setjmp.texi (System V contexts): Likewise.
7489 * manual/time.texi (Sleeping): Likewise.
7490 * manual/users.texi (Lookup User): Likewise.
7491 (Lookup Group): Likewise.
7492
7493 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7494
7495 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
7496 fix typo.
7497
7498 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
7499
7500 [BZ #19444]
7501 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
7502 __builtin_unreachable for default case in switch.
7503 (__ieee754_yn): Likewise.
7504 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7505 (__ieee754_ynl): Likewise.
7506 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7507 (__ieee754_ynl): Likewise.
7508 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7509 (__ieee754_ynl): Likewise.
7510
7511 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7512
7513 * manual/maint.texi: Use @{ and @}.
7514
7515 2019-01-04 Florian Weimer <fweimer@redhat.com>
7516
7517 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
7518 function.
7519 (do_in_chroot_1): Call it.
7520 (run_chroot_tests):
7521 Improve error reporting in case it is not possible to create a
7522 collision for the PTY name required by the test.
7523
7524 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7525
7526 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
7527 lll_wait_tid with timeout.
7528 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
7529 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
7530 futex_reltimed_wait_cancelable for cancelabla mode.
7531 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
7532 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
7533 macros.
7534 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
7535 * sysdeps/posix/waitid.c (__sigwait): Likewise.
7536 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
7537 SYSCALL_CANCEL_NCS): New macro.
7538 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
7539 (lll_timedwait_tid): Remove macro.
7540 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
7541 Likewise.
7542 (lll_timedwait_tid): Likewise.
7543 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
7544 Likewise.
7545 (lll_timedwait_tid): Likewise.
7546 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
7547 Likewise.
7548 (lll_timedwait_tid): Likewise.
7549 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
7550 Use INTERNAL_SYSCALL_CANCEL.
7551 * sysdeps/unix/sysv/linux/futex-internal.h
7552 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
7553 instead of __pthread_{enable,disable}_asynccancel.
7554 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
7555 (lll_futex_wait_cancel): New macro.
7556
7557 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7558 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7559
7560 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7561 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7562
7563 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
7564 in backtrace analysis.
7565 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
7566 side-effects.
7567 (tf_send): Likewise.
7568
7569 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
7570 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
7571 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
7572 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
7573 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7574 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7575 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
7576 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
7577 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
7578 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
7579 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
7580 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
7581 Likewise.
7582 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
7583 tst-cancel-wrappers.sh.
7584 (generated): Remove tst-cancel-wrappers.out.
7585 (tst-cancel-wrappers.out): Remove rule.
7586 * nptl/tst-cancel-wrappers.sh: Remove file.
7587
7588 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7589
7590 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
7591 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7592 Update.
7593
7594 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7595
7596 [BZ #23640]
7597 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
7598 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
7599 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
7600 close-on-exec reset for adddup2 file action.
7601 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7602
7603 2019-01-03 Zack Weinberg <zackw@panix.com>
7604
7605 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
7606 parameter. Only use deprecated scanf when __USE_GNU is defined
7607 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
7608 than 201103L, whichever is relevant for the language being compiled.
7609
7610 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
7611 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
7612 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
7613 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
7614 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
7615
7616 * libio/iovsscanf.c
7617 * libio/fwscanf.c
7618 * libio/iovswscanf.c
7619 * libio/swscanf.c
7620 * libio/vscanf.c
7621 * libio/vwscanf.c
7622 * libio/wscanf.c
7623 * stdio-common/fscanf.c
7624 * stdio-common/scanf.c
7625 * stdio-common/vfscanf.c
7626 * stdio-common/vfwscanf.c
7627 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7628 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
7629 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
7630 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
7631 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
7632 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
7633 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
7634 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
7635 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
7636 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
7637 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
7638 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
7639 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
7640 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
7641 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
7642
7643 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
7644 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
7645 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
7646 not sscanf.
7647 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
7648 with a preprocessor macro.
7649
7650 * stdio-common/bug21.c, stdio-common/scanf14.c:
7651 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
7652 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7653 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
7654 to xscanf, xfscanf, xsscanf.
7655
7656 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
7657 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7658 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
7659 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
7660 xfscanf, xsscanf.
7661 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
7662 override feature selection macros or provide definitions of u_char etc.
7663 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
7664 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
7665 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
7666 with -std=gnu89.
7667
7668 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7669
7670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7671 bits/termios-misc.h.
7672 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
7673 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7674 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7675 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7676 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
7677 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
7678
7679 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
7680 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7681 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
7682 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
7683 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
7684 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
7685 termios-misc.h.
7686 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
7687 (sysdep_headers): Add termios-misc.h.
7688
7689 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
7690 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7691 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7692
7693 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7694 termios-tcflow.h.
7695 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
7696 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
7697 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
7698 TCSAFLUSH): Move to termios-tcflow.h.
7699 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7700 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7701 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7702 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7703
7704 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7705 termios-c_lflag.h.
7706 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
7707 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
7708 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
7709 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
7710 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
7711 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
7712 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
7713 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
7714 Likewise.
7715 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7716 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7717 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7718 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7719
7720 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7721 termios-c_cflag.h.
7722 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
7723 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
7724 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
7725 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
7726 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
7727 termios-c_cflag.h.
7728 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7729 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7730 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7731 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7732
7733 [BZ #23783]
7734 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7735 termios-baud.h.
7736 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
7737 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
7738 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
7739 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
7740 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
7741 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
7742 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
7743 __MAX_BAUD): Move to termios-baud.h.
7744 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
7745 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7746 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7747 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7748 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7749
7750 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7751 termios-c_oflag.h.
7752 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
7753 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
7754 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
7755 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
7756 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
7757 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
7758 termios-c_oflag.h.
7759 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
7760 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
7761 FFR1): Likewise.
7762 [USE_MISC] (XTABS): Likewise.
7763 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7764 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7765 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7766 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
7767
7768 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7769 termios-c_iflag.h.
7770 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
7771 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
7772 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
7773 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
7774 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
7775 IUTF8): Move to termios-c_iflag.h.
7776 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7777 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7778 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7779 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7780
7781 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7782 termios-cc.h.
7783 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
7784 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
7785 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
7786 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
7787 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
7788 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
7789 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
7790 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
7791 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7792 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7793 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7794 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7795
7796 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
7797 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
7798 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
7799 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
7800 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7801 termios-struct.h.
7802 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
7803 termios-struct.h.
7804 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
7805 Likewise.
7806 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
7807 Likewise.
7808 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
7809 Likewise.
7810 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
7811 Likewise.
7812 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
7813 _HAVE_C_OSPEED): Define.
7814 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
7815 _HAVE_C_OSPEED): Likewise.
7816 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
7817 _HAVE_C_OSPEED): Likewise.
7818 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
7819 (cfsetospeed): Check for define value instead of existence.
7820 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
7821 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7822 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
7823 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7824 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
7825
7826 [BZ #17783]
7827 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
7828 Define.
7829 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7830 (TIOCSER_TEMT): Likewise.
7831 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
7832 (TEOCSER_TEMT): Likewise.
7833
7834 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
7835
7836 [BZ #24011]
7837 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
7838
7839 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7840
7841 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7842
7843 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7844
7845 * sysdeps/htl/pt-barrierattr-setpshared.c
7846 (pthread_barrierattr_setpshared): Add stub warning.
7847 * sysdeps/htl/pt-condattr-setpshared.c
7848 (pthread_condattr_setpshared): Likewise.
7849 * sysdeps/htl/pt-mutexattr-setpshared.c
7850 (pthread_mutexattr_setpshared): Likewise.
7851 * sysdeps/htl/pt-rwlockattr-setpshared.c
7852 (pthread_rwlockattr_setpshared): Likewise.
7853 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
7854 (pthread_mutexattr_setpshared): Likewise.
7855
7856 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7857
7858 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
7859 constants to match with Linux 4.20.
7860
7861 * sysdeps/mips/mips32/libm-test-ulps: Update.
7862 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7863
7864 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
7865
7866 [BZ #24034]
7867 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
7868 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
7869 than __typeof (...) for the a_ptr variable.
7870
7871 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7872
7873 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
7874 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
7875 * libio/Makefile (tests): Add tst-sprintf-ub and
7876 tst-sprintf-chk-ub.
7877 (CFLAGS-tst-sprintf-ub.c): New variable.
7878 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
7879 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
7880 destination buffer and check for overflows in fortified mode.
7881 * libio/libioP.h (PRINTF_CHK): New macro.
7882 * libio/tst-sprintf-chk-ub.c: New file.
7883 * libio/tst-sprintf-ub.c: Likewise.
7884
7885 2019-01-02 Florian Weimer <fweimer@redhat.com>
7886
7887 [BZ #24018]
7888 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
7889 failure.
7890
7891 2019-01-02 Florian Weimer <fweimer@redhat.com>
7892
7893 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
7894
7895 2019-01-01 Joseph Myers <joseph@codesourcery.com>
7896
7897 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
7898 macro.
7899
7900 * sysdeps/unix/sysv/linux/netpacket/packet.h
7901 (PACKET_IGNORE_OUTGOING): New macro.
7902
7903 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
7904 macro.
7905
7906 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7907 version to 4.20.
7908 (riscv_flush_icache): New syscall.
7909
7910 * manual/texinfo.tex: Update to version 2018-12-28.17 with
7911 trailing whitespace removed.
7912 * scripts/config.guess: Update to version 2019-01-01.
7913 * scripts/config.sub: Update to version 2019-01-01.
7914 * scripts/move-if-change: Update from gnulib.
7915
7916 * NEWS: Update copyright dates.
7917 * catgets/gencat.c (print_version): Likewise.
7918 * csu/version.c (banner): Likewise.
7919 * debug/catchsegv.sh: Likewise.
7920 * debug/pcprofiledump.c (print_version): Likewise.
7921 * debug/xtrace.sh (do_version): Likewise.
7922 * elf/ldconfig.c (print_version): Likewise.
7923 * elf/ldd.bash.in: Likewise.
7924 * elf/pldd.c (print_version): Likewise.
7925 * elf/sotruss.sh: Likewise.
7926 * elf/sprof.c (print_version): Likewise.
7927 * iconv/iconv_prog.c (print_version): Likewise.
7928 * iconv/iconvconfig.c (print_version): Likewise.
7929 * locale/programs/locale.c (print_version): Likewise.
7930 * locale/programs/localedef.c (print_version): Likewise.
7931 * login/programs/pt_chown.c (print_version): Likewise.
7932 * malloc/memusage.sh (do_version): Likewise.
7933 * malloc/memusagestat.c (print_version): Likewise.
7934 * malloc/mtrace.pl: Likewise.
7935 * manual/libc.texinfo: Likewise.
7936 * nptl/version.c (banner): Likewise.
7937 * nscd/nscd.c (print_version): Likewise.
7938 * nss/getent.c (print_version): Likewise.
7939 * nss/makedb.c (print_version): Likewise.
7940 * posix/getconf.c (main): Likewise.
7941 * scripts/test-installation.pl: Likewise.
7942 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7943
7944 * All files with FSF copyright notices: Update copyright dates
7945 using scripts/update-copyrights.
7946 * locale/programs/charmap-kw.h: Regenerated.
7947 * locale/programs/locfile-kw.h: Likewise.
7948
7949 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7950
7951 * timezone/zdump.c: Update from tzcode 2018i.
7952 * timezone/zic.c: Likewise.
7953
7954 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
7955
7956 regex: improve Gnulib port to AIX
7957 From the glibc point of view, this removes duplicate macro
7958 definitions and is obviously safe.
7959 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
7960 * posix/regex_internal.h:
7961 (__attribute__, __attribute_warn_unused_result__):
7962 Remove; already defined elsewhere.
7963
7964 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
7965
7966 [BZ #24027]
7967 * malloc/malloc.c (_int_realloc): Always call memcpy for the
7968 copying operation. (ncopies had the wrong type, resulting in an
7969 integer wraparound and too few elements being copied.)
7970
7971 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
7972
7973 [BZ #24022]
7974 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
7975 <asm/syscalls.h> exists with __has_include__ before including it.
7976
7977 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7978
7979 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7980 version to 4.20.
7981
7982 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
7983
7984 * hurd/lookup-retry: Include <unistd.h>.
7985 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
7986 Release it on return. Handle "pid" magical lookup retry.
7987
7988 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
7989
7990 [BZ #10496]
7991 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
7992 (t_fmt_ampm): Likewise.
7993 * localedata/locales/aa_ER (t_fmt): Likewise.
7994 (t_fmt_ampm): Likewise.
7995 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
7996 (t_fmt_ampm): Likewise.
7997 * localedata/locales/aa_ET (t_fmt): Likewise.
7998 (t_fmt_ampm): Likewise.
7999 * localedata/locales/am_ET (t_fmt): Likewise.
8000 (t_fmt_ampm): Likewise.
8001 * localedata/locales/byn_ER (t_fmt): Likewise.
8002 (t_fmt_ampm): Likewise.
8003 * localedata/locales/om_ET (t_fmt): Likewise.
8004 (t_fmt_ampm): Likewise.
8005 * localedata/locales/sid_ET (t_fmt): Likewise.
8006 (t_fmt_ampm): Likewise.
8007 * localedata/locales/so_DJ (t_fmt): Likewise.
8008 (t_fmt_ampm): Likewise.
8009 * localedata/locales/so_ET (t_fmt): Likewise.
8010 (t_fmt_ampm): Likewise.
8011 * localedata/locales/so_SO (t_fmt): Likewise.
8012 (t_fmt_ampm): Likewise.
8013 * localedata/locales/ti_ER (t_fmt): Likewise.
8014 (t_fmt_ampm): Likewise.
8015 * localedata/locales/ti_ET (t_fmt): Likewise.
8016 (t_fmt_ampm): Likewise.
8017 * localedata/locales/tig_ER (t_fmt): Likewise.
8018 (t_fmt_ampm): Likewise.
8019 * localedata/locales/wal_ET (t_fmt): Likewise.
8020 (t_fmt_ampm): Likewise.
8021
8022 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
8023 * localedata/locales/ar_IN (t_fmt): Likewise.
8024 * localedata/locales/bhb_IN (t_fmt): Likewise.
8025 * localedata/locales/bho_IN (t_fmt): Likewise.
8026 * localedata/locales/bi_VU (t_fmt): Likewise.
8027 * localedata/locales/bn_BD (t_fmt): Likewise.
8028 * localedata/locales/bn_IN (t_fmt): Likewise.
8029 * localedata/locales/brx_IN (t_fmt): Likewise.
8030 * localedata/locales/doi_IN (t_fmt): Likewise.
8031 * localedata/locales/en_HK (t_fmt): Likewise.
8032 (t_fmt_ampm): Likewise.
8033 * localedata/locales/en_IN (t_fmt): Likewise.
8034 * localedata/locales/en_PH (t_fmt): Likewise.
8035 * localedata/locales/gu_IN (t_fmt): Likewise.
8036 * localedata/locales/hi_IN (t_fmt): Likewise.
8037 * localedata/locales/hif_FJ (t_fmt): Likewise.
8038 * localedata/locales/hne_IN (t_fmt): Likewise.
8039 * localedata/locales/kn_IN (t_fmt): Likewise.
8040 * localedata/locales/kok_IN (t_fmt): Likewise.
8041 * localedata/locales/ks_IN (t_fmt): Likewise.
8042 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
8043 * localedata/locales/mag_IN (t_fmt): Likewise.
8044 * localedata/locales/mai_IN (t_fmt): Likewise.
8045 * localedata/locales/mjw_IN (t_fmt): Likewise.
8046 * localedata/locales/ml_IN (t_fmt): Likewise.
8047 * localedata/locales/mni_IN (t_fmt): Likewise.
8048 * localedata/locales/mr_IN (t_fmt): Likewise.
8049 * localedata/locales/ms_MY (t_fmt): Likewise.
8050 * localedata/locales/pa_IN (t_fmt): Likewise.
8051 * localedata/locales/raj_IN (t_fmt): Likewise.
8052 * localedata/locales/sa_IN (t_fmt): Likewise.
8053 * localedata/locales/sat_IN (t_fmt): Likewise.
8054 * localedata/locales/sd_IN (t_fmt): Likewise.
8055 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
8056 * localedata/locales/tcy_IN (t_fmt): Likewise.
8057 * localedata/locales/the_NP (t_fmt): Likewise.
8058 * localedata/locales/to_TO (t_fmt): Likewise.
8059 * localedata/locales/ur_IN (t_fmt): Likewise.
8060
8061 * localedata/locales/hif_FJ (d_t_fmt): Set to
8062 "%A %d %b %Y %I:%M:%S %p".
8063 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
8064
8065 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
8066 * localedata/locales/ar_BH (t_fmt): Likewise.
8067 * localedata/locales/ar_DZ (t_fmt): Likewise.
8068 * localedata/locales/ar_EG (t_fmt): Likewise.
8069 * localedata/locales/ar_IQ (t_fmt): Likewise.
8070 * localedata/locales/ar_JO (t_fmt): Likewise.
8071 * localedata/locales/ar_KW (t_fmt): Likewise.
8072 * localedata/locales/ar_LB (t_fmt): Likewise.
8073 * localedata/locales/ar_LY (t_fmt): Likewise.
8074 * localedata/locales/ar_OM (t_fmt): Likewise.
8075 * localedata/locales/ar_QA (t_fmt): Likewise.
8076 * localedata/locales/ar_SD (t_fmt): Likewise.
8077 * localedata/locales/ar_SS (t_fmt): Likewise.
8078 * localedata/locales/ar_SY (t_fmt): Likewise.
8079 * localedata/locales/ar_TN (t_fmt): Likewise.
8080 * localedata/locales/ar_YE (t_fmt): Likewise.
8081
8082 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
8083 (t_fmt_ampm): Likewise.
8084 * localedata/locales/gez_ET (t_fmt): Likewise.
8085 (t_fmt_ampm): Likewise.
8086
8087 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
8088 (t_fmt_ampm): Likewise.
8089 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
8090
8091 * localedata/locales/zh_HK (t_fmt):
8092 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
8093
8094 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
8095 because this locale does not use the 12-hour clock.
8096 (t_fmt): Set to "%Z %H:%M:%S".
8097 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
8098
8099 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
8100 because this locale does not use the 12-hour clock.
8101 (t_fmt): Set to "%H:%M:%S %Z".
8102 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
8103
8104 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
8105 because this locale does not use the 12-hour clock.
8106 (t_fmt): Set to "%T".
8107 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
8108 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
8109
8110 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
8111 because this locale does not use the 12-hour clock.
8112 (t_fmt): Set to "%H:%M:%S %Z".
8113 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
8114
8115 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
8116 because this locale does not use the 12-hour clock.
8117 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
8118 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
8119
8120 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
8121
8122 [BZ #10496]
8123 [BZ #23724]
8124 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
8125 (t_fmt_ampm): Likewise.
8126 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
8127 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
8128 (d_fmt): Set to "%-d.%-m.%y".
8129
8130 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8131
8132 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
8133 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
8134 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
8135 Likewise.
8136 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
8137 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
8138 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
8139 function.
8140 * support/blob_repeat.c (check_mul_overflow_size_t,
8141 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
8142
8143 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
8144
8145 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
8146
8147 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
8148
8149 regex: simplify Gnulib port
8150 This simplifies the code, by removing stuff intended for porting
8151 to Gnulib but no longer needed there.
8152 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
8153 uses of libc_hidden_def, weak_alias.
8154 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
8155 _Restrict_ except for public-facing headers.
8156 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
8157 Remove; already defined elsewhere.
8158 * posix/regex.c, posix/regex_internal.h:
8159 Use __GNUC_PREREQ instead of rolling our own.
8160 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
8161
8162 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
8163
8164 * benchtests/bench-strlen.c (generic_strlen): New function.
8165 (memchr_strlen): New function.
8166
8167 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8168
8169 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
8170 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
8171 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
8172
8173 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8174
8175 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8176
8177 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
8178
8179 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
8180 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
8181 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
8182 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
8183 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
8184 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
8185 <sysdeps/ieee754/flt-32/s_sincosf.c>.
8186
8187 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8188
8189 [BZ #24023]
8190 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
8191 PLT reference in libc.so.
8192 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
8193 _Q_lltoq and _Q_qtod PLT references in libc.so.
8194
8195 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
8196
8197 * benchtests/bench-memchr.c: Cleanup defines.
8198 * benchtests/bench-memcmp.c: Likewise.
8199 * benchtests/bench-memset.c: Likewise.
8200 * benchtests/bench-memset-large.c: Likewise.
8201 * benchtests/bench-memset-walk.c: Likewise.
8202 * benchtests/bench-stpcpy.c: Likewise.
8203 * benchtests/bench-stpncpy.c: Likewise.
8204 * benchtests/bench-strcat.c: Likewise.
8205 * benchtests/bench-strchr.c: Likewise.
8206 * benchtests/bench-strcmp.c: Likewise.
8207 * benchtests/bench-strcpy.c: Likewise.
8208 * benchtests/bench-strcspn.c: Likewise.
8209 * benchtests/bench-string.h: Likewise.
8210 * benchtests/bench-strlen.c: Likewise.
8211 * benchtests/bench-strncat.c: Likewise.
8212 * benchtests/bench-strncmp.c: Likewise.
8213 * benchtests/bench-strncpy.c: Likewise.
8214 * benchtests/bench-strnlen.c: Likewise.
8215 * benchtests/bench-strpbrk.c: Likewise.
8216 * benchtests/bench-strrchr.c: Likewise.
8217 * benchtests/bench-strspn.c: Likewise.
8218
8219 2018-12-21 Joseph Myers <joseph@codesourcery.com>
8220
8221 * stdlib/longlong.h: Update from GCC.
8222
8223 [BZ #23993]
8224 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
8225 * configure: Regenerated.
8226 * manual/install.texi (Tools for Compilation): Update minimum GCC
8227 version.
8228 * INSTALL: Regenerated.
8229
8230 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
8231
8232 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
8233
8234 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
8235
8236 * malloc/malloc.c (mremap_chunk): Additional checks.
8237
8238 2018-12-21 Mao Han <han_mao@c-sky.com>
8239
8240 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
8241 * scripts/build-many-glibcs.py: Add C-SKY targets.
8242 * sysdeps/csky/Implies: New file.
8243 * sysdeps/csky/Makefile: Likewise.
8244 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
8245 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
8246 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
8247 * sysdeps/csky/abiv2/memcmp.S: Likewise.
8248 * sysdeps/csky/abiv2/memcpy.S: Likewise.
8249 * sysdeps/csky/abiv2/memmove.S: Likewise.
8250 * sysdeps/csky/abiv2/memset.S: Likewise.
8251 * sysdeps/csky/abiv2/setjmp.S: Likewise.
8252 * sysdeps/csky/abiv2/start.S: Likewise.
8253 * sysdeps/csky/abiv2/strcmp.S: Likewise.
8254 * sysdeps/csky/abiv2/strcpy.S: Likewise.
8255 * sysdeps/csky/abiv2/strlen.S: Likewise.
8256 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
8257 * sysdeps/csky/abort-instr.h: Likewise.
8258 * sysdeps/csky/atomic-machine.h: Likewise.
8259 * sysdeps/csky/bits/endian.h: Likewise.
8260 * sysdeps/csky/bits/fenv.h: Likewise.
8261 * sysdeps/csky/bits/link.h: Likewise.
8262 * sysdeps/csky/bits/setjmp.h: Likewise.
8263 * sysdeps/csky/bsd-_setjmp.S: Likewise.
8264 * sysdeps/csky/bsd-setjmp.S: Likewise.
8265 * sysdeps/csky/configure: Likewise.
8266 * sysdeps/csky/configure.ac: Likewise.
8267 * sysdeps/csky/dl-machine.h: Likewise.
8268 * sysdeps/csky/dl-procinfo.c: Likewise.
8269 * sysdeps/csky/dl-procinfo.h: Likewise.
8270 * sysdeps/csky/dl-sysdep.h: Likewise.
8271 * sysdeps/csky/dl-tls.h: Likewise.
8272 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
8273 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
8274 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
8275 * sysdeps/csky/fpu/fegetenv.c: Likewise.
8276 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
8277 * sysdeps/csky/fpu/fegetmode.c: Likewise.
8278 * sysdeps/csky/fpu/fegetround.c: Likewise.
8279 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
8280 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
8281 * sysdeps/csky/fpu/fenv_private.h: Likewise.
8282 * sysdeps/csky/fpu/fesetenv.c: Likewise.
8283 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
8284 * sysdeps/csky/fpu/fesetmode.c: Likewise.
8285 * sysdeps/csky/fpu/fesetround.c: Likewise.
8286 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
8287 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
8288 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
8289 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
8290 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
8291 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
8292 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
8293 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
8294 * sysdeps/csky/fpu_control.h: Likewise.
8295 * sysdeps/csky/gccframe.h: Likewise.
8296 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
8297 * sysdeps/csky/ldsodefs.h: Likewise.
8298 * sysdeps/csky/libc-tls.c: Likewise.
8299 * sysdeps/csky/linkmap.h: Likewise.
8300 * sysdeps/csky/machine-gmon.h: Likewise.
8301 * sysdeps/csky/memusage.h: Likewise.
8302 * sysdeps/csky/nofpu/Implies: Likewise.
8303 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
8304 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
8305 * sysdeps/csky/nptl/Makefile: Likewise.
8306 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
8307 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
8308 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
8309 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
8310 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
8311 * sysdeps/csky/nptl/tls.h: Likewise.
8312 * sysdeps/csky/preconfigure: Likewise.
8313 * sysdeps/csky/sfp-machine.h: Likewise.
8314 * sysdeps/csky/sotruss-lib.c: Likewise.
8315 * sysdeps/csky/stackinfo.h: Likewise.
8316 * sysdeps/csky/sysdep.h: Likewise.
8317 * sysdeps/csky/tininess.h: Likewise.
8318 * sysdeps/csky/tst-audit.h: Likewise.
8319 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
8320 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
8321 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
8322 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
8323 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
8324 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
8325 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
8326 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
8327 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
8328 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
8329 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
8330 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
8331 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
8332 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
8333 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
8334 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
8335 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
8336 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
8337 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
8338 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
8339 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
8340 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
8341 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
8342 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
8343 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
8344 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
8345 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
8346 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
8347 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
8348 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
8349 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
8350 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
8351 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
8352 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
8353 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
8354 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
8355 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
8356 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
8357 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
8358 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
8359 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
8360 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
8361 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
8362 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
8363
8364 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8365
8366 * include/time.h (__difftime64): Add.
8367 * time/difftime.c (subtract): convert to 64-bit time.
8368 * time/difftime.c (__difftime64): Add.
8369 * time/difftime.c (__difftime): Wrap around __difftime64.
8370
8371 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
8372
8373 * manual/examples/add.c: Remove redundant "if not".
8374 * manual/examples/argp-ex1.c: Likewise.
8375 * manual/examples/argp-ex2.c: Likewise.
8376 * manual/examples/argp-ex3.c: Likewise.
8377 * manual/examples/argp-ex4.c: Likewise.
8378 * manual/examples/atexit.c: Likewise.
8379 * manual/examples/db.c: Likewise.
8380 * manual/examples/dir.c: Likewise.
8381 * manual/examples/dir2.c: Likewise.
8382 * manual/examples/execinfo.c: Likewise.
8383 * manual/examples/filecli.c: Likewise.
8384 * manual/examples/filesrv.c: Likewise.
8385 * manual/examples/fmtmsgexpl.c: Likewise.
8386 * manual/examples/genpass.c: Likewise.
8387 * manual/examples/inetcli.c: Likewise.
8388 * manual/examples/inetsrv.c: Likewise.
8389 * manual/examples/isockad.c: Likewise.
8390 * manual/examples/longopt.c: Likewise.
8391 * manual/examples/memopen.c: Likewise.
8392 * manual/examples/memstrm.c: Likewise.
8393 * manual/examples/mkdirent.c: Likewise.
8394 * manual/examples/mkfsock.c: Likewise.
8395 * manual/examples/mkisock.c: Likewise.
8396 * manual/examples/mygetpass.c: Likewise.
8397 * manual/examples/pipe.c: Likewise.
8398 * manual/examples/popen.c: Likewise.
8399 * manual/examples/rprintf.c: Likewise.
8400 * manual/examples/search.c: Likewise.
8401 * manual/examples/select.c: Likewise.
8402 * manual/examples/setjmp.c: Likewise.
8403 * manual/examples/sigh1.c: Likewise.
8404 * manual/examples/sigusr.c: Likewise.
8405 * manual/examples/stpcpy.c: Likewise.
8406 * manual/examples/strdupa.c: Likewise.
8407 * manual/examples/strftim.c: Likewise.
8408 * manual/examples/subopt.c: Likewise.
8409 * manual/examples/swapcontext.c: Likewise.
8410 * manual/examples/termios.c: Likewise.
8411 * manual/examples/testopt.c: Likewise.
8412 * manual/examples/testpass.c: Likewise.
8413 * manual/examples/timeval_subtract.c: Likewise.
8414
8415 2018-12-19 Joseph Myers <joseph@codesourcery.com>
8416
8417 * sysdeps/x86/fpu/math_private.h: New file.
8418 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
8419
8420 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
8421 definition.
8422 (cosh): Likewise.
8423 (tanh): Likewise.
8424
8425 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8426
8427 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
8428 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
8429 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
8430 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
8431 fields.
8432 (_dl_show_auxv): Give a special treatment to
8433 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
8434 and AT_L3_CACHEGEOMETRY.
8435 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
8436 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
8437 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
8438 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
8439
8440 2018-12-19 Andreas Schwab <schwab@suse.de>
8441
8442 * nscd/connections.c (check_use): Don't abort on invalid len.
8443
8444 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8445
8446 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
8447 values in the 64bit value cases.
8448
8449 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8450
8451 * include/time.h
8452 (__ctime64_r): Add.
8453 * time/ctime_r.c
8454 (__ctime64_r): Add.
8455 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
8456
8457 * include/time.h
8458 (__ctime64): Add.
8459 * time/gmtime.c
8460 (__ctime64): Add.
8461 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
8462
8463 * include/time.h
8464 (__gmtime64_r): Add.
8465 * time/gmtime.c
8466 (__gmtime64_r): Add.
8467 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8468
8469 * include/time.h
8470 (__gmtime64): Add.
8471 * time/gmtime.c
8472 (__gmtime64): Add.
8473 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8474
8475 * include/time.h
8476 (__localtime64_r): Add.
8477 * time/localtime.c
8478 (__localtime64_r): Add.
8479 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
8480
8481 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8482
8483 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
8484 kernel_sigction definition.
8485
8486 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
8487
8488 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
8489
8490 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
8491 __syscall_rt_sigaction.
8492 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
8493 (kernel_sigaction): Use Linux generic defintion.
8494 (STUB): Define.
8495 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
8496 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
8497 (__syscall_rt_sigaction): Remove implementation.
8498 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
8499 hidden.
8500 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
8501 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
8502 INTERNAL_SYSCALL): Remove definitions.
8503 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
8504 action and signal set size.
8505 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
8506 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
8507
8508 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8509 James Clarke <jrtc27@jrtc27.com>
8510
8511 [BZ #23967]
8512 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
8513 Define if SA_RESTORER is defined.
8514 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
8515 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
8516 already defined.
8517 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
8518 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
8519 definitions.
8520 (HAS_SA_RESTORER): Define.
8521 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
8522 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
8523 (HAS_SA_RESTORER): Define.
8524 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
8525 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
8526 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
8527 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
8528 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8529
8530 2018-12-18 Joseph Myers <joseph@codesourcery.com>
8531
8532 * sysdeps/unix/sysv/linux/kernel-features.h
8533 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
8534 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8535 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
8536 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8537 (__ASSUME_ST_INO_64_BIT): Likewise.
8538 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8539 <kernel-features.h>.
8540 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8541 Remove conditional code.
8542 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8543 <kernel-features.h>.
8544 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8545 Remove conditional code.
8546 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
8547 <kernel-features.h>.
8548 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8549 Remove conditional code.
8550 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
8551 <kernel-features.h>.
8552 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
8553 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
8554
8555 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8556
8557 * sysdeps/s390/multiarch/ifunc-resolve.h
8558 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
8559 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
8560 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
8561 Delete macro definition.
8562 (s390_libc_ifunc_init): Rename to
8563 s390_libc_ifunc_expr_stfle_init.
8564 * sysdeps/s390/bzero: Use
8565 s390_libc_ifunc_expr_stfle_init instead of
8566 s390_libc_ifunc_init.
8567 * sysdeps/s390/memcmp.c: Likewise.
8568 * sysdeps/s390/memcpy.c: Likewise.
8569 * sysdeps/s390/mempcpy.c: Likewise.
8570 * sysdeps/s390/memset.c: Likewise.
8571
8572 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8573
8574 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
8575 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
8576
8577 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8578
8579 * sysdeps/s390/multiarch/Makefile
8580 (sysdep_routines): Remove wmemcmp variants.
8581 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
8582 * sysdeps/s390/multiarch/ifunc-impl-list.c
8583 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
8584 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
8585 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
8586 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
8587 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
8588 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
8589 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
8590 * sysdeps/s390/ifunc-wmemcmp.h: New file.
8591
8592 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8593
8594 * sysdeps/s390/multiarch/Makefile
8595 (sysdep_routines): Remove wmemset variants.
8596 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
8597 * sysdeps/s390/multiarch/ifunc-impl-list.c
8598 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
8599 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
8600 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
8601 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
8602 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
8603 * sysdeps/s390/multiarch/wmemset.c: Move to ...
8604 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
8605 * sysdeps/s390/ifunc-wmemset.h: New file.
8606
8607 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8608
8609 * sysdeps/s390/multiarch/Makefile
8610 (sysdep_routines): Remove wmemchr variants.
8611 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
8612 * sysdeps/s390/multiarch/ifunc-impl-list.c
8613 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
8614 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
8615 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
8616 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
8617 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
8618 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
8619 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
8620 * sysdeps/s390/ifunc-wmemchr.h: New file.
8621
8622 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8623
8624 * sysdeps/s390/multiarch/Makefile
8625 (sysdep_routines): Remove wcscspn variants.
8626 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
8627 * sysdeps/s390/multiarch/ifunc-impl-list.c
8628 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
8629 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
8630 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
8631 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
8632 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
8633 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
8634 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
8635 * sysdeps/s390/ifunc-wcscspn.h: New file.
8636
8637 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8638
8639 * sysdeps/s390/multiarch/Makefile
8640 (sysdep_routines): Remove wcspbrk variants.
8641 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
8642 * sysdeps/s390/multiarch/ifunc-impl-list.c
8643 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
8644 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
8645 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
8646 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
8647 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
8648 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
8649 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
8650 * sysdeps/s390/ifunc-wcspbrk.h: New file.
8651
8652 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8653
8654 * sysdeps/s390/multiarch/Makefile
8655 (sysdep_routines): Remove wcsspn variants.
8656 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
8657 * sysdeps/s390/multiarch/ifunc-impl-list.c
8658 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
8659 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
8660 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
8661 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
8662 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
8663 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
8664 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
8665 * sysdeps/s390/ifunc-wcsspn.h: New file.
8666
8667 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8668
8669 * sysdeps/s390/multiarch/Makefile
8670 (sysdep_routines): Remove wcsrchr variants.
8671 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
8672 * sysdeps/s390/multiarch/ifunc-impl-list.c
8673 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
8674 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
8675 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
8676 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
8677 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
8678 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
8679 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
8680 * sysdeps/s390/ifunc-wcsrchr.h: New file.
8681
8682 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8683
8684 * sysdeps/s390/multiarch/Makefile
8685 (sysdep_routines): Remove wcschrnul variants.
8686 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
8687 * sysdeps/s390/multiarch/ifunc-impl-list.c
8688 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
8689 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
8690 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
8691 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
8692 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
8693 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
8694 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
8695 * sysdeps/s390/ifunc-wcschrnul.h: New file.
8696
8697 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8698
8699 * sysdeps/s390/multiarch/Makefile
8700 (sysdep_routines): Remove wcschr variants.
8701 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
8702 * sysdeps/s390/multiarch/ifunc-impl-list.c
8703 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
8704 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
8705 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
8706 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
8707 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
8708 * sysdeps/s390/multiarch/wcschr.c: Move to ...
8709 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
8710 * sysdeps/s390/ifunc-wcschr.h: New file.
8711
8712 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8713
8714 * sysdeps/s390/multiarch/Makefile
8715 (sysdep_routines): Remove wcsncmp variants.
8716 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
8717 * sysdeps/s390/multiarch/ifunc-impl-list.c
8718 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
8719 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
8720 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
8721 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
8722 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
8723 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
8724 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
8725 * sysdeps/s390/ifunc-wcsncmp.h: New file.
8726
8727 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8728
8729 * sysdeps/s390/multiarch/Makefile
8730 (sysdep_routines): Remove wcscmp variants.
8731 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
8732 * sysdeps/s390/multiarch/ifunc-impl-list.c
8733 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
8734 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
8735 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
8736 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
8737 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
8738 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
8739 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
8740 * sysdeps/s390/ifunc-wcscmp.h: New file.
8741
8742 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8743
8744 * sysdeps/s390/multiarch/Makefile
8745 (sysdep_routines): Remove wcsncat variants.
8746 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
8747 * sysdeps/s390/multiarch/ifunc-impl-list.c
8748 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
8749 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
8750 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
8751 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
8752 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
8753 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
8754 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
8755 * sysdeps/s390/ifunc-wcsncat.h: New file.
8756
8757 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8758
8759 * sysdeps/s390/multiarch/Makefile
8760 (sysdep_routines): Remove wcscat variants.
8761 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
8762 * sysdeps/s390/multiarch/ifunc-impl-list.c
8763 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
8764 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
8765 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
8766 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
8767 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
8768 * sysdeps/s390/multiarch/wcscat.c: Move to ...
8769 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
8770 * sysdeps/s390/ifunc-wcscat.h: New file.
8771
8772 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8773
8774 * sysdeps/s390/multiarch/Makefile
8775 (sysdep_routines): Remove wcpncpy variants.
8776 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
8777 * sysdeps/s390/multiarch/ifunc-impl-list.c
8778 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
8779 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
8780 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
8781 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
8782 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
8783 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
8784 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
8785 * sysdeps/s390/ifunc-wcpncpy.h: New file.
8786
8787 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8788
8789 * sysdeps/s390/multiarch/Makefile
8790 (sysdep_routines): Remove wcsncpy variants.
8791 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
8792 * sysdeps/s390/multiarch/ifunc-impl-list.c
8793 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
8794 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
8795 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
8796 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
8797 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
8798 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
8799 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
8800 * sysdeps/s390/ifunc-wcsncpy.h: New file.
8801
8802 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8803
8804 * sysdeps/s390/multiarch/Makefile
8805 (sysdep_routines): Remove wcpcpy variants.
8806 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
8807 * sysdeps/s390/multiarch/ifunc-impl-list.c
8808 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
8809 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
8810 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
8811 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
8812 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
8813 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
8814 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
8815 * sysdeps/s390/ifunc-wcpcpy.h: New file.
8816
8817 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8818
8819 * sysdeps/s390/multiarch/Makefile
8820 (sysdep_routines): Remove wcscpy variants.
8821 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
8822 * sysdeps/s390/multiarch/ifunc-impl-list.c
8823 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
8824 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
8825 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
8826 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
8827 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
8828 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
8829 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
8830 * sysdeps/s390/ifunc-wcscpy.h: New file.
8831
8832 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8833
8834 * sysdeps/s390/multiarch/Makefile
8835 (sysdep_routines): Remove wcsnlen variants.
8836 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
8837 * sysdeps/s390/multiarch/ifunc-impl-list.c
8838 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
8839 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
8840 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
8841 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
8842 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
8843 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
8844 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
8845 * sysdeps/s390/ifunc-wcsnlen.h: New file.
8846
8847 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8848
8849 * sysdeps/s390/multiarch/Makefile
8850 (sysdep_routines): Remove wcslen variants.
8851 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
8852 * sysdeps/s390/multiarch/ifunc-impl-list.c
8853 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
8854 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
8855 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
8856 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
8857 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
8858 * sysdeps/s390/multiarch/wcslen.c: Move to ...
8859 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
8860 * sysdeps/s390/ifunc-wcslen.h: New file.
8861
8862 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8863
8864 * sysdeps/s390/multiarch/Makefile
8865 (sysdep_routines): Remove memrchr variants.
8866 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
8867 * sysdeps/s390/multiarch/ifunc-impl-list.c
8868 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
8869 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
8870 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
8871 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
8872 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
8873 * sysdeps/s390/multiarch/memrchr.c: Move to ...
8874 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
8875 * sysdeps/s390/ifunc-memrchr.h: New file.
8876
8877 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8878
8879 * sysdeps/s390/multiarch/Makefile
8880 (sysdep_routines): Remove memccpy variants.
8881 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
8882 * sysdeps/s390/multiarch/ifunc-impl-list.c
8883 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
8884 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
8885 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
8886 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
8887 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
8888 * sysdeps/s390/multiarch/memccpy.c: Move to ...
8889 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
8890 * sysdeps/s390/ifunc-memccpy.h: New file.
8891
8892 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8893
8894 * sysdeps/s390/multiarch/Makefile
8895 (sysdep_routines): Remove rawmemchr variants.
8896 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
8897 * sysdeps/s390/multiarch/ifunc-impl-list.c
8898 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
8899 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
8900 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
8901 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
8902 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
8903 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
8904 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
8905 * sysdeps/s390/ifunc-rawmemchr.h: New file.
8906
8907 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8908
8909 * sysdeps/s390/multiarch/Makefile
8910 (sysdep_routines): Remove memchr variants.
8911 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
8912 * sysdeps/s390/multiarch/ifunc-impl-list.c
8913 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
8914 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
8915 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
8916 * sysdeps/s390/multiarch/memchr.c: Move to ...
8917 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
8918 * sysdeps/s390/ifunc-memchr.h: New file.
8919 * sysdeps/s390/s390-64/memchr.S: Move to ...
8920 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
8921 for 31/64bit and ifunc handling.
8922 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
8923 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8924 * sysdeps/s390/s390-32/memchr.S: Likewise.
8925
8926 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8927
8928 * sysdeps/s390/multiarch/Makefile
8929 (sysdep_routines): Remove strcspn variants.
8930 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
8931 * sysdeps/s390/multiarch/ifunc-impl-list.c
8932 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
8933 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
8934 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
8935 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
8936 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
8937 * sysdeps/s390/multiarch/strcspn.c: Move to ...
8938 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
8939 * sysdeps/s390/ifunc-strcspn.h: New file.
8940
8941 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8942
8943 * sysdeps/s390/multiarch/Makefile
8944 (sysdep_routines): Remove strpbrk variants.
8945 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
8946 * sysdeps/s390/multiarch/ifunc-impl-list.c
8947 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
8948 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
8949 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
8950 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
8951 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
8952 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
8953 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
8954 * sysdeps/s390/ifunc-strpbrk.h: New file.
8955
8956 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8957
8958 * sysdeps/s390/multiarch/Makefile
8959 (sysdep_routines): Remove strspn variants.
8960 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
8961 * sysdeps/s390/multiarch/ifunc-impl-list.c
8962 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
8963 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
8964 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
8965 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
8966 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
8967 * sysdeps/s390/multiarch/strspn.c: Move to ...
8968 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
8969 * sysdeps/s390/ifunc-strspn.h: New file.
8970
8971 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8972
8973 * sysdeps/s390/multiarch/Makefile
8974 (sysdep_routines): Remove strrchr variants.
8975 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
8976 * sysdeps/s390/multiarch/ifunc-impl-list.c
8977 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
8978 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
8979 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
8980 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
8981 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
8982 * sysdeps/s390/multiarch/strrchr.c: Move to ...
8983 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
8984 * sysdeps/s390/ifunc-strrchr.h: New file.
8985
8986 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8987
8988 * sysdeps/s390/multiarch/Makefile
8989 (sysdep_routines): Remove strchrnul variants.
8990 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
8991 * sysdeps/s390/multiarch/ifunc-impl-list.c
8992 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
8993 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
8994 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
8995 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
8996 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
8997 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
8998 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
8999 * sysdeps/s390/ifunc-strchrnul.h: New file.
9000
9001 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9002
9003 * sysdeps/s390/multiarch/Makefile
9004 (sysdep_routines): Remove strchr variants.
9005 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
9006 * sysdeps/s390/multiarch/ifunc-impl-list.c
9007 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
9008 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
9009 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
9010 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
9011 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
9012 * sysdeps/s390/multiarch/strchr.c: Move to ...
9013 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
9014 * sysdeps/s390/ifunc-strchr.h: New file.
9015
9016 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9017
9018 * sysdeps/s390/multiarch/Makefile
9019 (sysdep_routines): Remove strncmp variants.
9020 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
9021 * sysdeps/s390/multiarch/ifunc-impl-list.c
9022 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
9023 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
9024 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
9025 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
9026 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
9027 * sysdeps/s390/multiarch/strncmp.c: Move to ...
9028 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
9029 * sysdeps/s390/ifunc-strncmp.h: New file.
9030
9031 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9032
9033 * sysdeps/s390/multiarch/Makefile
9034 (sysdep_routines): Remove strcmp variants.
9035 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
9036 * sysdeps/s390/multiarch/ifunc-impl-list.c
9037 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
9038 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
9039 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
9040 * sysdeps/s390/multiarch/strcmp.c: Move to ...
9041 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
9042 * sysdeps/s390/ifunc-strcmp.h: New file.
9043 * sysdeps/s390/s390-64/strcmp.S: Move to ...
9044 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
9045 for 31/64bit and ifunc handling.
9046 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
9047 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9048 * sysdeps/s390/s390-32/strcmp.S: Likewise.
9049
9050 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9051
9052 * sysdeps/s390/multiarch/Makefile
9053 (sysdep_routines): Remove strncat variants.
9054 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
9055 * sysdeps/s390/multiarch/ifunc-impl-list.c
9056 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
9057 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
9058 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
9059 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
9060 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
9061 * sysdeps/s390/multiarch/strncat.c: Move to ...
9062 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
9063 * sysdeps/s390/ifunc-strncat.h: New file.
9064
9065 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9066
9067 * sysdeps/s390/multiarch/Makefile
9068 (sysdep_routines): Remove strcat variants.
9069 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
9070 * sysdeps/s390/multiarch/ifunc-impl-list.c
9071 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
9072 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
9073 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
9074 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
9075 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
9076 * sysdeps/s390/multiarch/strcat.c: Move to ...
9077 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
9078 * sysdeps/s390/ifunc-strcat.h: New file.
9079
9080 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9081
9082 * sysdeps/s390/multiarch/Makefile
9083 (sysdep_routines): Remove stpncpy variants.
9084 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
9085 * sysdeps/s390/multiarch/ifunc-impl-list.c
9086 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
9087 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
9088 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
9089 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
9090 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
9091 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
9092 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
9093 * sysdeps/s390/ifunc-stpncpy.h: New file.
9094
9095 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9096
9097 * sysdeps/s390/multiarch/Makefile
9098 (sysdep_routines): Remove strncpy variants.
9099 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
9100 * sysdeps/s390/multiarch/ifunc-impl-list.c
9101 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
9102 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
9103 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
9104 * sysdeps/s390/multiarch/strncpy.c: Move to ...
9105 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
9106 * sysdeps/s390/ifunc-strncpy.h: New file.
9107 * sysdeps/s390/s390-64/strncpy.S: Move to ...
9108 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
9109 and adjust ifunc handling.
9110 * sysdeps/s390/s390-32/strncpy.S: Move to ...
9111 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
9112 and adjust ifunc handling.
9113 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
9114 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9115
9116 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9117
9118 * sysdeps/s390/multiarch/Makefile
9119 (sysdep_routines): Remove stpcpy variants.
9120 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
9121 * sysdeps/s390/multiarch/ifunc-impl-list.c
9122 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
9123 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
9124 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
9125 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
9126 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
9127 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
9128 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
9129 * sysdeps/s390/ifunc-stpcpy.h: New file.
9130
9131 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9132
9133 * sysdeps/s390/multiarch/Makefile
9134 (sysdep_routines): Remove strcpy variants.
9135 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
9136 * sysdeps/s390/multiarch/ifunc-impl-list.c
9137 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
9138 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
9139 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
9140 * sysdeps/s390/multiarch/strcpy.c: Move to ...
9141 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
9142 * sysdeps/s390/ifunc-strcpy.h: New file.
9143 * sysdeps/s390/s390-64/strcpy.S: Move to ...
9144 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
9145 for 31/64bit and ifunc handling.
9146 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
9147 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9148 * sysdeps/s390/s390-32/strcpy.S: Likewise.
9149
9150 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9151
9152 * sysdeps/s390/multiarch/Makefile
9153 (sysdep_routines): Remove strnlen variants.
9154 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
9155 * sysdeps/s390/multiarch/ifunc-impl-list.c
9156 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
9157 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
9158 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
9159 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
9160 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
9161 * sysdeps/s390/multiarch/strnlen.c: Move to ...
9162 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
9163 * sysdeps/s390/ifunc-strnlen.h: New file.
9164
9165 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9166
9167 * sysdeps/s390/multiarch/Makefile
9168 (sysdep_routines): Remove strlen variants.
9169 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
9170 * sysdeps/s390/multiarch/ifunc-impl-list.c
9171 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
9172 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
9173 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
9174 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
9175 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
9176 * sysdeps/s390/multiarch/strlen.c: Move to ...
9177 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
9178 * sysdeps/s390/ifunc-strlen.h: New file.
9179
9180 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9181
9182 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
9183 * sysdeps/s390/multiarch/ifunc-impl-list.c
9184 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
9185 * sysdeps/s390/ifunc-memmem.h: New file.
9186 * sysdeps/s390/memmem.c: Likewise.
9187 * sysdeps/s390/memmem-c.c: Likewise.
9188 * sysdeps/s390/memmem-vx.c: Likewise.
9189
9190 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9191
9192 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
9193 * sysdeps/s390/multiarch/ifunc-impl-list.c
9194 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
9195 * sysdeps/s390/ifunc-strstr.h: New file.
9196 * sysdeps/s390/strstr.c: Likewise.
9197 * sysdeps/s390/strstr-c.c: Likewise.
9198 * sysdeps/s390/strstr-vx.c: Likewise.
9199
9200 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9201
9202 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
9203 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
9204 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
9205 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
9206 New defines.
9207 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
9208 * sysdeps/s390/memmove-c.c: New file.
9209 * sysdeps/s390/memmove.c: Likewise.
9210 * sysdeps/s390/multiarch/ifunc-impl-list.c
9211 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
9212
9213 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9214
9215 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
9216 * sysdeps/s390/configure.ac: Add check for z13 support.
9217 * sysdeps/s390/configure: Regenerated.
9218
9219 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9220
9221 * sysdeps/s390/memcopy.h: New file.
9222
9223 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9224
9225 * sysdeps/s390/s390-32/bcopy.S: Remove.
9226 * sysdeps/s390/s390-64/bcopy.S: Likewise.
9227
9228 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9229
9230 * sysdeps/s390/ifunc-memcpy.h: New File.
9231 * sysdeps/s390/memcpy.S: Move to ...
9232 * sysdeps/s390/memcpy-z900.S ... here.
9233 Move implementations from memcpy-s390x.s to here.
9234 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
9235 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9236 Remove memcpy/mempcpy variants.
9237 * sysdeps/s390/Makefile (sysdep_routines):
9238 Add memcpy/mempcpy variants.
9239 * sysdeps/s390/multiarch/ifunc-impl-list.c
9240 (__libc_ifunc_impl_list): Adjust ifunc variants for
9241 memcpy and mempcpy.
9242 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
9243 to ...
9244 * sysdeps/s390/memcpy.c: ... here.
9245 Adjust ifunc variants for memcpy.
9246 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
9247 * sysdeps/s390/mempcpy.c: ... here.
9248 Adjust ifunc variants for mempcpy.
9249 * sysdeps/s390/mempcpy.S: Delete file.
9250
9251 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9252
9253 * sysdeps/s390/s390-64/memcpy.S: Move to ...
9254 * sysdeps/s390/memcpy.S: ... here.
9255 Adjust to be usable for 31/64bit.
9256 * sysdeps/s390/s390-32/memcpy.S: Delete File.
9257 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
9258 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
9259 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9260 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
9261 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
9262 Adjust to be usable for 31/64bit.
9263 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
9264 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
9265 * sysdeps/s390/multiarch/memcpy.c: ... here.
9266 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
9267
9268 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9269
9270 * sysdeps/s390/ifunc-memcmp.h: New File.
9271 * sysdeps/s390/memcmp.S: Move to ...
9272 * sysdeps/s390/memcmp-z900.S ... here.
9273 Move implementations from memcmp-s390x.s to here.
9274 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
9275 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9276 Remove memcmp variants.
9277 * sysdeps/s390/Makefile (sysdep_routines):
9278 Add memcmp variants.
9279 * sysdeps/s390/multiarch/ifunc-impl-list.c
9280 (__libc_ifunc_impl_list): Adjust ifunc variants for
9281 memcmp.
9282 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
9283 to ...
9284 * sysdeps/s390/memcmp.c: ... here.
9285 Adjust ifunc variants for memcmp.
9286
9287 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9288
9289 * sysdeps/s390/s390-64/memcmp.S: Move to ...
9290 * sysdeps/s390/memcmp.S: ... here.
9291 Adjust to be usable for 31/64bit.
9292 * sysdeps/s390/s390-32/memcmp.S: Delete File.
9293 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
9294 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9295 Remove memcmp.
9296 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9297 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
9298 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
9299 Adjust to be usable for 31/64bit.
9300 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
9301 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
9302 * sysdeps/s390/multiarch/memcmp.c: ... here.
9303 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
9304
9305 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9306
9307 * sysdeps/s390/s390-32/bzero.S: Delete file.
9308 * sysdeps/s390/s390-64/bzero.S: Likewise.
9309 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
9310 * sysdeps/s390/bzero.c: New file.
9311 * sysdeps/s390/memset-z900.S: Add bzero entry points.
9312 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
9313 * sysdeps/s390/multiarch/ifunc-impl-list.c
9314 (__libc_ifunc_impl_list): Add bzero ifunc variants.
9315
9316 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9317
9318 * sysdeps/s390/ifunc-memset.h: New File.
9319 * sysdeps/s390/memset.S: Move to ...
9320 * sysdeps/s390/memset-z900.S ... here.
9321 Move implementations from memset-s390x.s to here.
9322 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
9323 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9324 Remove memset variants.
9325 * sysdeps/s390/Makefile (sysdep_routines):
9326 Add memset variants.
9327 * sysdeps/s390/multiarch/ifunc-impl-list.c
9328 (__libc_ifunc_impl_list): Adjust ifunc variants for
9329 memset.
9330 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
9331 to ...
9332 * sysdeps/s390/memset.c: ... here.
9333 Adjust ifunc variants for memset.
9334
9335 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9336
9337 * sysdeps/s390/s390-64/memset.S: Move to ...
9338 * sysdeps/s390/memset.S: ... here.
9339 Adjust to be usable for 31/64bit.
9340 * sysdeps/s390/s390-32/memset.S: Delete File.
9341 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
9342 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9343 Remove memset.
9344 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9345 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
9346 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
9347 Adjust to be usable for 31/64bit.
9348 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
9349 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
9350 * sysdeps/s390/multiarch/memset.c: ... here.
9351 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
9352
9353 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9354
9355 * sysdeps/s390/multiarch/ifunc-resolve.h
9356 (s390_libc_ifunc_init, s390_libc_ifunc,
9357 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
9358
9359 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9360
9361 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
9362 * sysdeps/s390/configure.ac: Add check for z10 support.
9363 * sysdeps/s390/configure: Regenerated.
9364
9365 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
9366
9367 * sysdeps/i386/atomic-machine.h: Merged with ...
9368 * sysdeps/x86_64/atomic-machine.h: To ...
9369 * sysdeps/x86/atomic-machine.h: This. New file.
9370
9371 2018-12-18 Florian Weimer <fweimer@redhat.com>
9372
9373 Rewrite locale/gen-translit.pl in Python.
9374 * locale/Makefile (generated): Add C-translit.h.
9375 (before-compile): Add $(objpfx)C-translit.h.
9376 (C-translit.h): Move to $(objpfx). Create target directory.
9377 Build using Python script.
9378 * locale/gen-translit.py: New file.
9379 * locale/gen-translit.pl: Remove file.
9380 * locale/C-translit.h.in: Change comment character to '#' for
9381 easier parsing without a C preprocessor.
9382 * locale/C-translit.h: Remove generated file.
9383 * manual/install.texi (Tools for Compilation): Do not mention
9384 C-translit.h.
9385 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9386 Remove locale/C-translit.h.
9387 * scripts/update-copyrights: Likewise.
9388 * INSTALL: Regenerate.
9389
9390 2018-12-18 Florian Weimer <fweimer@redhat.com>
9391
9392 [BZ #23995]
9393 * localedata/locales/bi_VU: Remove executable bit from file.
9394
9395 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
9396
9397 * include/time.h
9398 (__localtime64): Add.
9399 * manual/maint.texi: Document Y2038 symbol handling.
9400 * time/localtime.c
9401 (__localtime64): Add.
9402 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
9403
9404 2018-12-17 Joseph Myers <joseph@codesourcery.com>
9405
9406 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
9407 Do not clobber r12.
9408
9409 * scripts/glibcextract.py (compare_macro_consts): Take parameters
9410 to allow extra macros from first or second sources.
9411 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
9412 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9413 (tests-special): Add $(objpfx)tst-mman-consts.out.
9414 ($(objpfx)tst-mman-consts.out): New makefile target.
9415
9416 2018-12-17 Mao Han <han_mao@c-sky.com>
9417
9418 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
9419 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
9420 without stat64 system call support.
9421 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
9422 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
9423 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9424 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
9425 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
9426 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
9427 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
9428 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
9429 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
9430 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
9431 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
9432
9433 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
9434
9435 regex: fix storage-exhaustion error
9436 [BZ #18040]
9437 * posix/regexec.c (get_subexp):
9438 Do not continue if storage is exhausted.
9439
9440 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
9441
9442 regex: fix heap-use-after-free error
9443 [BZ #18040]
9444 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
9445 https://debbugs.gnu.org/32592
9446 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
9447 call extend_buffers which reallocates the re_string_t internal buffer.
9448 Local variable 'buf' was not updated in such case, resulting in
9449 use-after-free.
9450 * posix/regexec.c (get_subexp): Update 'buf' after call to
9451 get_subexp_sub.
9452
9453 2018-12-15 Florian Weimer <fweimer@redhat.com>
9454
9455 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
9456 (minimum_stride_size): Use it.
9457 (support_blob_repeat_allocate): Likewise.
9458
9459 2018-12-14 Joseph Myers <joseph@codesourcery.com>
9460
9461 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
9462 definition.
9463 (acosh): Likewise.
9464 (atanh): Likewise.
9465
9466 2018-12-14 Florian Weimer <fweimer@redhat.com>
9467
9468 * manual/process.texi (Process Creation Concepts): Remove
9469 documentation of process (ID) lifetime. List more process
9470 creation functions. Reference Process Identification section.
9471 (Process Identification): Add information about process ID
9472 lifetime. Describe Linux thread/task IDs.
9473 * manual/signal.texi (Signaling Another Process): Mention that the
9474 signal is always sent to the process.
9475
9476 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9477
9478 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
9479 and tst-ldbl-efgcvt.
9480 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
9481 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
9482 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
9483 (fcvt_tests, output_error, output_r_error, do_test): Use the
9484 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
9485 select the type of floating-point variables and arguments; to
9486 produce extra tests for double and conversion specifiers for
9487 printf; and to set the names of called functions.
9488 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
9489 in tst-efgcvt-template.c.
9490 * misc/tst-ldbl-efgcvt.c: Likewise.
9491
9492 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
9493
9494 * nss/Makefile (tst-nss-test3.out): New rule.
9495
9496 2018-12-13 Joseph Myers <joseph@codesourcery.com>
9497
9498 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
9499 clobber sp.
9500
9501 2018-12-13 fanjinke <fanjinke@hygon.cn>
9502
9503 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
9504 "HygonGenuine".
9505
9506 2018-12-13 Andreas Schwab <schwab@suse.de>
9507
9508 [BZ #23861]
9509 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
9510 (__pthread_rwlock_rdlock_full): Update expected value for
9511 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
9512 * nptl/tst-rwlock-pwn.c: New file.
9513 * nptl/Makefile (tests): Add tst-rwlock-pwn.
9514
9515 2018-12-12 Joseph Myers <joseph@codesourcery.com>
9516
9517 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
9518 definition.
9519
9520 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9521
9522 * benchtests/scripts/compare_bench.py (do_compare): write to
9523 stderr in casestat is not present.
9524 * benchtests/scripts/compare_bench.py (plot_graphs): write to
9525 stderr in case timings field is not present. Also string showing
9526 the output filename goes into the stderr.
9527
9528 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9529
9530 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
9531 and ZeroDivisorError exceptions.
9532 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
9533 argument to loop through user provided statistics.
9534 * benchtests/scripts/compare_bench.py (main): Include the --stats
9535 argument.
9536
9537 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9538
9539 * benchtests/scripts/compare_bench.py (compare_runs): Continue
9540 instead of return.
9541
9542 2018-12-12 Florian Weimer <fweimer@redhat.com>
9543
9544 * sysdeps/posix/timespec_get.c: Add missing “any later version”
9545 clause to copyright header.
9546
9547 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9548
9549 [BZ #23614]
9550 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
9551 registers saved in the stack frame.
9552 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
9553 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
9554
9555 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9556
9557 * include/bits/monetary-ldbl.h: New file.
9558 * include/bits/printf-ldbl.h: Likewise.
9559 * include/bits/stdio-ldbl.h: Likewise.
9560 * include/bits/stdlib-ldbl.h: Likewise.
9561 * include/bits/syslog-ldbl.h: Likewise.
9562 * include/bits/wchar-ldbl.h: Likewise.
9563
9564 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9565
9566 * libio/libio.h: Remove redirection for _IO_vfprintf.
9567
9568 2018-12-11 Andreas Schwab <schwab@suse.de>
9569
9570 * Makerules: Remove all references to abilist-pattern.
9571 (update-all-abi): Simplify find expression.
9572
9573 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
9574
9575 [BZ #23961]
9576 * math/auto-libm-test-in: Add new test case.
9577 * math/auto-libm-test-out-pow: Regenerated.
9578 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
9579
9580 2018-12-10 DJ Delorie <dj@redhat.com>
9581
9582 [BZ #23948]
9583 * support/test-container.c: Move postclean step to before we
9584 change namespaces.
9585
9586 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9587
9588 * scripts/gen-as-const.py (main): Handle --python option.
9589 * scripts/gen-py-const.awk: Remove.
9590 * Makerules (py-const-script): Use gen-as-const.py.
9591 ($(py-const)): Likewise.
9592 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
9593 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
9594 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
9595 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
9596 ~PTHREAD_MUTEX_NO_ELISION_NP.
9597 * manual/README.pretty-printers: Update reference to
9598 gen-py-const.awk.
9599
9600 * scripts/glibcextract.py: New file.
9601 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
9602 or tempfile. Import glibcexctract.
9603 (compute_c_consts): Remove. Moved to glibcextract.py.
9604 (gen_test): Update reference to compute_c_consts.
9605 (main): Likewise.
9606 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
9607 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
9608 * sysdeps/unix/sysv/linux/Makefile
9609 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
9610 Redirect stderr as well as stdout.
9611
9612 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
9613
9614 [BZ #19767]
9615 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
9616 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
9617 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
9618 ALWAYS_USE_VSYSCALL.
9619 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
9620 ALWAYS_USE_VSYSCALL.
9621 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
9622 ALWAYS_USE_VSYSCALL.
9623
9624 2018-12-10 Florian Weimer <fweimer@redhat.com>
9625
9626 [BZ #23972]
9627 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
9628 offset instead of count for clarity. Fix typo in comment.
9629 (__old_getdents64): Keep track of previous offset. Use it to call
9630 handle_overflow.
9631 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
9632 that d_off is never zero.
9633
9634 2018-12-10 Andreas Schwab <schwab@suse.de>
9635
9636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
9637 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
9638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
9639 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
9640 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
9641
9642 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9643
9644 * timezone/private.h: Update from tzcode 2018g.
9645 * timezone/tzfile.h: Likewise.
9646 * timezone/tzselect.ksh: Likewise.
9647 * timezone/zdump.c: Likewise.
9648 * timezone/zic.c: Likewise.
9649
9650 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9651
9652 [BZ #23490]
9653 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
9654 (do_test): Adjust buffer size and fix format.
9655
9656 2018-12-07 DJ Delorie <dj@redhat.com>
9657
9658 [BZ #23907]
9659 * malloc/tst-tcfree3.c: New.
9660 * malloc/Makefile: Add it.
9661
9662 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9663
9664 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
9665
9666 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9667
9668 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
9669 used as a mask for the mode argument of __vfscanf_internal and
9670 __vfwscanf_internal.
9671 * stdio-common/vfscanf-internal.c
9672 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
9673 (__strtof128_internal): Define to __wcstof128_internal.
9674 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
9675 __strtof128_internal or __wcstof128_internal when the format of
9676 long double is the same as _Float128.
9677
9678 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9679
9680 * include/unistd.h (__confstr): Add prototype and hidden prototype.
9681 * posix/confstr.c (confstr): Rename to __confstr.
9682 (__confstr): Add hidden def.
9683 (confstr): Add weak alias for __confstr.
9684 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
9685 confstr.
9686
9687 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9688
9689 * NEWS: Mention getcpu.
9690 * include/sched.h (__getcpu): New libc_hidden_proto.
9691 * manual/resource.texi: Document getcpu.
9692 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
9693 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
9694 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
9695 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9696 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9697 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9698 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9699 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9700 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9701 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9702 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9703 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9704 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
9705 Likewise.
9706 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9707 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9708 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9710 Likewise.
9711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9712 Likewise.
9713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9714 Likewise.
9715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
9716 Likewise.
9717 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9718 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9719 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9720 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9721 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9722 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9723 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9724 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9725 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
9726 * sysdeps/unix/sysv/linux/getcpu.c: New file.
9727 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
9728 Also check getcpu.
9729
9730 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9731
9732 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
9733 functions.
9734 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
9735
9736 2018-12-07 Florian Weimer <fweimer@redhat.com>
9737
9738 [BZ #17405]
9739 * posix/Makefile (routines): Add spawn_faction_addfchdir.
9740 * posix/Versions (GLIBC_2.29): Export
9741 posix_spawn_file_actions_addfchdir_np.
9742 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
9743 * posix/spawn_faction_destroy.c
9744 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
9745 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
9746 and the field action.fchdir_action.
9747 * posix/tst-spawn-chdir.c (add_chdir): New function.
9748 (do_test): Add do_fchdir loop. Call add_chdir.
9749 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
9750 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9751 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9752 posix_spawn_file_actions_addfchdir_np.
9753 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9754 Likewise.
9755 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9756 Likewise.
9757 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9758 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9759 Likewise.
9760 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9761 Likewise.
9762 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9763 Likewise.
9764 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9765 Likewise.
9766 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9767 Likewise.
9768 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9769 Likewise.
9770 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9771 (GLIBC_2.29): Likewise.
9772 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9773 (GLIBC_2.29): Likewise.
9774 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9775 (GLIBC_2.29): Likewise.
9776 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9777 (GLIBC_2.29): Likewise.
9778 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9779 Likewise.
9780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9781 (GLIBC_2.29): Likewise.
9782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9783 (GLIBC_2.29): Likewise.
9784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9785 (GLIBC_2.29): Likewise.
9786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9787 (GLIBC_2.29): Likewise.
9788 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9789 Likewise.
9790 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9791 Likewise.
9792 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9793 Likewise.
9794 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9795 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9796 Likewise.
9797 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9798 Likewise.
9799 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9800 Likewise.
9801 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9802 Likewise.
9803
9804 2018-12-06 Joseph Myers <joseph@codesourcery.com>
9805
9806 * manual/texinfo.tex: Update to version 2018-09-21.20 with
9807 trailing whitespace removed.
9808 * scripts/config.guess: Update to version 2018-11-28.
9809 * scripts/config.sub: Update to version 2018-11-28.
9810 * scripts/install-sh: Update to version 2018-03-11.20.
9811 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
9812 * scripts/move-if-change: Update to version 2018-03-07 03:47.
9813
9814 2018-12-07 Florian Weimer <fweimer@redhat.com>
9815
9816 [BZ #23927]
9817 CVE-2018-19591
9818 * inet/tst-if_index-long.c: New file.
9819 * inet/Makefile (tests): Add tst-if_index-long.
9820
9821 2018-12-07 Florian Weimer <fweimer@redhat.com>
9822
9823 * support/check.h (support_record_failure_is_failed): Declare.
9824 * support/descriptors.h: New file.
9825 * support/support_descriptors.c: Likewise.
9826 * support/tst-support_descriptors.c: Likewise.
9827 * support/support_record_failure.c
9828 (support_record_failure_is_failed): New function.
9829 * support/Makefile (libsupport-routines): Add support_descriptors.
9830 (tests): Add tst-support_descriptors.
9831
9832 2018-12-05 Zack Weinberg <zackw@panix.com>
9833 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9834
9835 * stdio-common/vfprintf-internal.c
9836 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
9837 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
9838 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
9839 and __no_long_double.
9840 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
9841 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
9842 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
9843 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
9844 and __nldbl_*syslog* functions.
9845 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
9846 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
9847 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
9848 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
9849 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
9850 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
9851 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
9852 (__nldbl_vwprintf, __nldbl_wprintf):
9853 Directly call the appropriate __v*printf_internal routine, passing
9854 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
9855 variable names.
9856 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
9857 (__nldbl___printf_chk, __nldbl___snprintf_chk)
9858 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
9859 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
9860 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
9861 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9862 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
9863 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
9864 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
9865 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
9866 Likewise, and also pass PRINTF_FORTIFY when appropriate.
9867 (__nldbl_syslog, __nldbl_vsyslog):
9868 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
9869 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9870 appropriate.
9871 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9872 appropriate.
9873
9874 2018-12-05 Zack Weinberg <zackw@panix.com>
9875 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9876
9877 [BZ #11319]
9878 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
9879 Moved here from debug/vsprintf_chk.c.
9880 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
9881 and completion logic for the strfile to match exactly what
9882 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
9883 _IO_str_init_static_internal instead of maxlen-1.
9884 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9885 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
9886 __vsprintf_internal.
9887
9888 * debug/vsprintf_chk.c (__vsprintf_chk)
9889 * debug/sprintf_chk.c (__sprintf_chk):
9890 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
9891 'flags' argument is positive, and slen as maxlen. No need to lock
9892 the FILE and/or construct a temporary FILE. Minimize and normalize
9893 header inclusions and variable names. Do not libc_hidden_def anything.
9894
9895 * debug/asprintf_chk.c (__asprintf_chk)
9896 * debug/dprintf_chk.c (__dprintf_chk)
9897 * debug/fprintf_chk.c (__fprintf_chk)
9898 * debug/fwprintf_chk.c (__fwprintf_chk)
9899 * debug/printf_chk.c (__printf_chk)
9900 * debug/snprintf_chk.c (__snprintf_chk)
9901 * debug/swprintf_chk.c (__swprintf_chk)
9902 * debug/vasprintf_chk.c (__vasprintf_chk)
9903 * debug/vdprintf_chk.c (__vdprintf_chk)
9904 * debug/vfprintf_chk.c (__vfprintf_chk)
9905 * debug/vfwprintf_chk.c (__vfwprintf_chk)
9906 * debug/vprintf_chk.c (__vprintf_chk)
9907 * debug/vsnprintf_chk.c (__vsnprintf_chk)
9908 * debug/vswprintf_chk.c (__vswprintf_chk)
9909 * debug/vwprintf_chk.c (__vwprintf_chk)
9910 * debug/wprintf_chk.c (__wprintf_chk):
9911 Directly call the corresponding vxxprintf_internal function, passing
9912 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
9913 the FILE and/or construct a temporary FILE. Minimize and normalize
9914 header inclusions and variable names. Do not libc_hidden_def anything.
9915
9916 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
9917 __obstack_vprintf_internal.
9918 (__obstack_vprintf_chk): Convert into a wrapper that calls
9919 __obstack_vprintf_internal (these two functions already had the
9920 same code) and move to new file...
9921 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
9922 file.
9923 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
9924 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
9925 * debug/Makefile (routines): Add vobprintf_chk.
9926
9927 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9928 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9929 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
9930 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9931 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
9932 (__nldbl___obstack_vfprintf_chk):
9933 Directly call the corresponding vxxprintf_internal function,
9934 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
9935 duplicate comparison of slen with 0 or maxlen from the corresponding
9936 non-__nldbl function.
9937
9938 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
9939 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
9940 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
9941 Remove libc_hidden_proto.
9942
9943 * stdio-common/vfprintf-internal.c
9944 (__vfprintf_internal, __vfwprintf_internal):
9945 Do not check _IO_FLAGS2_FORTIFY.
9946 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
9947 * libio/libioP.h: Update prototype of __vsprintf_internal and add
9948 a comment explaining why it has the maxlen argument.
9949 (_IO_acquire_lock_clear_flags2_fct): Remove.
9950 (_IO_acquire_lock_clear_flags2): Remove.
9951 (_IO_release_lock): Remove conditional statement which will
9952 now never execute.
9953 (_IO_acquire_lock): Remove variable which is now unused.
9954 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9955 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9956
9957 * stdio-common/Makefile (tests): Add tst-bz11319 and
9958 tst-bz11319-fortify2.
9959 (CFLAGS-tst-bz11319-fortify2.c): New macro.
9960 * stdio-common/tst-bz11319-fortify2.c: New file.
9961 * stdio-common/tst-bz11319.c: Likewise.
9962
9963 2018-12-05 Zack Weinberg <zackw@panix.com>
9964 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9965
9966 * misc/syslog.c: Include libioP.h, not iolibio.h.
9967 (__vsyslog_internal): New function with the former body of
9968 __vsyslog_chk; takes mode_flags argument same as
9969 __v*printf_internal. Call __vfprintf_internal directly.
9970
9971 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
9972 Remove libc_hidden_def.
9973 (__syslog, __syslog_chk): Use __vsyslog_internal.
9974 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
9975
9976 * include/sys/syslog.h: Add multiple inclusion guard.
9977 Add prototype for __vsyslog_internal.
9978 Remove declaration and libc_hidden_proto for __vsyslog_chk.
9979
9980 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
9981 Use __vsyslog_internal.
9982
9983 2018-12-05 Zack Weinberg <zackw@panix.com>
9984 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9985
9986 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
9987 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
9988 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
9989 New functions.
9990 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
9991 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
9992
9993 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
9994 Include wctype.h here if COMPILE_WPRINTF is defined.
9995 Define __vfprintf_internal or __vfwprintf_internal, depending
9996 on COMPILE_WPRINTF.
9997 Temporarily, on entry to this function, update mode_flags
9998 according to the environmental settings corresponding to
9999 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
10000 Throughout, check mode_flags instead of __ldbl_is_dbl and
10001 _IO_FLAGS2_FORTIFY on the destination FILE.
10002 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
10003 Include vfprintf-internal.c. Don't include wctype.h.
10004 * stdio-common/vfprintf.c: New file. Just define __vfprintf
10005 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
10006 and vfprintf.
10007 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
10008 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
10009 and vfwprintf.
10010 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
10011
10012 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
10013 and add mode_flags argument; use __vfprintf_internal.
10014 (__vdprintf): New function. Alias vdprintf to this.
10015 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
10016 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
10017 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
10018 (__obstack_printf): Use __obstack_printf_internal.
10019 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
10020 public aliases __vsnprintf and vsnprintf.
10021 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
10022 called internally.
10023 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
10024 public aliases _IO_vsprintf and vsprintf.
10025 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
10026 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
10027 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
10028 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
10029 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
10030
10031 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
10032 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
10033 * stdio-common/fprintf.c, stdio-common/fxprintf.c
10034 * stdio-common/printf.c: Use __vfprintf_internal.
10035
10036 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
10037 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
10038 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
10039
10040 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
10041 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
10042 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
10043 __vfwprintf_internal.
10044
10045 * libio/libio.h: Remove libc_hidden_proto and declaration for
10046 _IO_vfprintf.
10047 Remove declaration of _IO_vfwprintf.
10048 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
10049 _IO_vsprintf.
10050 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
10051 _IO_obstack_printf.
10052 * include/stdio.h: Add prototype for __vasprintf.
10053 (__vsnprintf): Remove declaration, because there are no more
10054 internal calls.
10055 * include/wchar.h (__vfwprintf, __vswprintf): Remove
10056 declaration, because there are no more internal calls.
10057
10058 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
10059 __vsnprintf_internal, instead of _IO_vsnprintf.
10060 * argp/argp-help.c (__argp_error, __argp_failure): Use
10061 __vasprintf_internal, instead of _IO_vasprintf.
10062 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
10063 redefine, because there are no more internal calls.
10064
10065 2018-12-05 Zack Weinberg <zackw@panix.com>
10066 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10067
10068 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
10069 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
10070 Include libio/strfile.h instead of libioP.h.
10071 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
10072 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
10073 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
10074 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
10075 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
10076 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
10077 necessary. Do not set __no_long_double. Normalize variable names.
10078 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
10079 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
10080 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
10081 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
10082 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
10083 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
10084 Call __vfscanf_internal / __vfwscanf_internal directly, passing
10085 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
10086 Do not set __no_long_double. Normalize variable names.
10087
10088 2018-12-05 Zack Weinberg <zackw@panix.com>
10089 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10090
10091 * stdio-common/isoc99_scanf.c
10092 * stdio-common/isoc99_fscanf.c
10093 * stdio-common/isoc99_sscanf.c
10094 * stdio-common/isoc99_vscanf.c
10095 * stdio-common/isoc99_vfscanf.c
10096 * stdio-common/isoc99_vsscanf.c
10097 * wcsmbs/isoc99_wscanf.c
10098 * wcsmbs/isoc99_fwscanf.c
10099 * wcsmbs/isoc99_swscanf.c
10100 * wcsmbs/isoc99_vwscanf.c
10101 * wcsmbs/isoc99_vfwscanf.c
10102 * wcsmbs/isoc99_vswscanf.c:
10103 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
10104 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
10105 No need to lock and unlock the FILE passed to that function.
10106
10107 * stdio-common/vfscanf-internal.c
10108 (__vfscanf_internal, __vfwscanf_internal):
10109 Don't look at _IO_FLAGS2_SCANF_STD.
10110 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
10111 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
10112 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
10113
10114 2018-12-05 Zack Weinberg <zackw@panix.com>
10115 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10116
10117 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
10118 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
10119 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
10120 * libio/strfile.h: Add multiple inclusion guard.
10121 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
10122
10123 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
10124 consistency with the other version of this file.
10125 (ldbl_compat_symbol): New macro.
10126 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
10127 New macro.
10128
10129 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
10130 Define __vfscanf_internal or __vfwscanf_internal, depending on
10131 COMPILE_WSCANF; don't define any other public symbols.
10132 Remove errval and code to set errp.
10133 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
10134 as the mode_flags argument.
10135 (encode_error, conv_error, input_error): Don't set errval.
10136 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
10137 Include vfscanf-internal.c.
10138 * stdio-common/vfscanf.c: New file defining the public entry
10139 point vfscanf, which calls __vfscanf_internal.
10140 * stdio-common/vfwscanf.c: New file defining the public entry
10141 point vfwscanf, which calls __vfwscanf_internal.
10142
10143 * stdio-common/iovfscanf.c: New file.
10144 * stdio-common/iovfwscanf.c: Likewise.
10145
10146 * stdio-common/Makefile (routines): Add vfscanf-internal,
10147 vfwscanf-internal, iovfscanf, iovfwscanf.
10148 * stdio-common/Versions: Mention GLIBC_2.29, so that
10149 it can be used in SHLIB_COMPAT expressions.
10150 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
10151 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
10152 Call __vfscanf_internal, instead of _IO_vfscanf.
10153 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
10154 _IO_vfscanf.
10155 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
10156 _IO_vfwscanf.
10157
10158 * libio/iovsscanf.c: Clean up includes, when possible. Use
10159 _IO_strfile_read or _IO_strfile_readw, when needed. Call
10160 __vfscanf_internal or __vfwscanf_internal directly.
10161 * libio/iovswscanf.c: Likewise.
10162 * libio/swscanf.c: Likewise.
10163 * libio/vscanf.c: Likewise.
10164 * libio/vwscanf.c: Likewise.
10165 * libio/wscanf.c: Likewise.
10166 * stdio-common/isoc99_fscanf.c: Likewise.
10167 * stdio-common/isoc99_scanf.c: Likewise.
10168 * stdio-common/isoc99_sscanf.c: Likewise.
10169 * stdio-common/isoc99_vfscanf.c: Likewise.
10170 * stdio-common/isoc99_vscanf.c: Likewise.
10171 * stdio-common/isoc99_vsscanf.c: Likewise.
10172 * stdio-common/scanf.c: Likewise.
10173 * stdio-common/sscanf.c: Likewise.
10174 * wcsmbs/isoc99_fwscanf.c: Likewise.
10175 * wcsmbs/isoc99_swscanf.c: Likewise.
10176 * wcsmbs/isoc99_vfwscanf.c: Likewise.
10177 * wcsmbs/isoc99_vswscanf.c: Likewise.
10178 * wcsmbs/isoc99_vwscanf.c: Likewise.
10179 * wcsmbs/isoc99_wscanf.c: Likewise.
10180
10181 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
10182
10183 * include/time.h
10184 (__tz_compute): Replace time_t with __time64_t.
10185 (__tz_convert): Replace time_t* with __time64_t.
10186 (__offtime): Replace time_t* with __time64_t.
10187 * time/gmtime.c
10188 (__gmtime_r): Adjust call to __tz_convert.
10189 (gmtime): Likewise.
10190 * time/localtime.c
10191 (__localtime_r): Likewise.
10192 (localtime): Likewise.
10193 * time/offtime.c: Replace time_t with __time64_t.
10194 * time/tzset.c: Likewise.
10195
10196 2018-12-04 Joseph Myers <joseph@codesourcery.com>
10197
10198 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
10199 dynamic linker unless [$(run-built-tests) = yes].
10200
10201 2018-12-03 DJ Delorie <dj@delorie.com>
10202
10203 * support/test-container.c (check_for_unshare_hints): New.
10204 (main): Call it if unshare fails. Add support for "su" scriptlet
10205 command.
10206
10207 2018-12-03 Joseph Myers <joseph@codesourcery.com>
10208
10209 * scripts/gen-as-const.py (compute_c_consts): Take an argument
10210 'START' to indicate that start text should be output.
10211 (gen_test): Likewise.
10212 (main): Generate 'START' for first symbol or '--' line, or at end
10213 of input if not previously generated.
10214
10215 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
10216
10217 [BZ #19767]
10218 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
10219 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
10220 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
10221 ALWAYS_USE_VSYSCALL.
10222
10223 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10224
10225 [BZ #23913]
10226 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
10227 new_argv by one.
10228
10229 2018-12-03 Carlos O'Donell <carlos@redhat.com>
10230
10231 [BZ #23923]
10232 * locale/programs/localedef.c: Declare boolean hard_links default true.
10233 (options): Add --no-hard-links option.
10234 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
10235 * locale/programs/localedef.h: Declare prototype for hard_links.
10236 * locale/programs/locfile.c (write_locale_data): Don't use hard
10237 links if hard_links is false.
10238
10239 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
10240
10241 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
10242 cpu_features_basic.
10243 (__cache_sysconf): Likewise.
10244 (init_cacheinfo): Likewise.
10245 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
10246 populate COMMON_CPUID_INDEX_80000007 and
10247 COMMON_CPUID_INDEX_80000008.
10248 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
10249 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
10250 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
10251 (init_cpu_features): Use _Static_assert on
10252 index_arch_Fast_Unaligned_Load.
10253 __get_cpuid_registers and __get_arch_feature. Updated for
10254 cpu_features_basic. Set stepping in cpu_features.
10255 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
10256 (FEATURE_INDEX_2): New.
10257 (FEATURE_INDEX_MAX): Changed to enum.
10258 (COMMON_CPUID_INDEX_D_ECX_1): New.
10259 (COMMON_CPUID_INDEX_80000007): Likewise.
10260 (COMMON_CPUID_INDEX_80000008): Likewise.
10261 (cpuid_registers): Likewise.
10262 (cpu_features_basic): Likewise.
10263 (CPU_FEATURE_USABLE): Likewise.
10264 (bit_arch_XXX_Usable): Likewise.
10265 (cpu_features): Use cpuid_registers and cpu_features_basic.
10266 (bit_arch_XXX): Reweritten.
10267 (bit_cpu_XXX): Likewise.
10268 (index_cpu_XXX): Likewise.
10269 (reg_XXX): Likewise.
10270 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
10271 <support/check.h>.
10272 (CHECK_CPU_FEATURE): New.
10273 (CHECK_CPU_FEATURE_USABLE): Likewise.
10274 (cpu_kinds): Likewise.
10275 (do_test): Print vendor, family, model and stepping. Check
10276 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
10277 (TEST_FUNCTION): Removed.
10278 Include <support/test-driver.c> instead of
10279 "../../test-skeleton.c".
10280 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
10281 Check POPCNT instead of POPCOUNT.
10282 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
10283
10284 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10285
10286 * scripts/gen-as-const.py (main): Avoid emitting empty line when
10287 there is no element in `consts'.
10288
10289 2018-12-01 Florian Weimer <fweimer@redhat.com>
10290
10291 * support/support_capture_subprocess.c
10292 (support_capture_subprocess): Check that pipe descriptors have
10293 expected values. Close original pipe descriptors in subprocess.
10294
10295 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10296
10297 [BZ #23032]
10298 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
10299 attr with __pthread_default_barrierattr.
10300 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
10301 attr with __pthread_default_condattr.
10302 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
10303 attr with __pthread_default_mutexattr.
10304 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
10305 attr with __pthread_default_rwlockattr.
10306
10307 2018-12-01 Kemi Wang <kemi.wang@intel.com>
10308
10309 * manual/tunables.texi (POSIX Thread Tunables): New node.
10310 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
10311 * nptl/nptl-init.c: Include pthread_mutex_conf.h
10312 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
10313 __pthread_tunables_init.
10314 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
10315 (max_adaptive_count): Define.
10316 * nptl/pthread_mutex_conf.c: New file.
10317 * nptl/pthread_mutex_conf.h: New file.
10318 * sysdeps/generic/adaptive_spin_count.h: New file.
10319 * sysdeps/nptl/dl-tunables.list: New file.
10320 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10321 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
10322 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
10323 Likewise.
10324
10325 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10326
10327 [BZ #20544]
10328 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
10329 * stdlib/on_exit.c (__on_exit): Likewise.
10330 * stdlib/Makefile (tests): Add tst-bz20544.
10331 * stdlib/tst-bz20544.c: New test.
10332
10333 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
10334
10335 [BZ #19767]
10336 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
10337 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
10338 New.
10339
10340 2018-11-30 Florian Weimer <fweimer@redhat.com>
10341
10342 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
10343 Extend error logging.
10344 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
10345 symbol.
10346
10347 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10348
10349 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
10350 __sigismember instead of sigismember.
10351 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
10352 cancel_handler): New definitions.
10353 (do_system): Use posix_spawn instead of fork and execl and remove
10354 reentracy code.
10355 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
10356 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
10357 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
10358 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10359 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10360 * sysdeps/unix/sysv/linux/system.c: Likewise.
10361
10362 [BZ #22834]
10363 [BZ #17490]
10364 * NEWS: Add new semantic for atfork with popen and system.
10365 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
10366 fork and execl.
10367
10368 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10369
10370 [BZ #23690]
10371 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
10372 modification order when accessing reloc_result->addr.
10373 * include/link.h (reloc_result): Add field init.
10374 * nptl/Makefile (tests): Add tst-audit-threads.
10375 (modules-names): Add tst-audit-threads-mod1 and
10376 tst-audit-threads-mod2.
10377 Add rules to build tst-audit-threads.
10378 * nptl/tst-audit-threads-mod1.c: New file.
10379 * nptl/tst-audit-threads-mod2.c: Likewise.
10380 * nptl/tst-audit-threads.c: Likewise.
10381 * nptl/tst-audit-threads.h: Likewise.
10382
10383 2018-11-30 Joseph Myers <joseph@codesourcery.com>
10384
10385 * scripts/gen-as-const.py: New file.
10386 * scripts/gen-as-const.awk: Remove.
10387 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
10388 gen-as-const.py.
10389 ($(objpfx)test-as-const-%.c): Likewise.
10390
10391 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10392
10393 * elf/dl-exception.c: Include <_itoa.h>.
10394
10395 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10396
10397 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
10398 returned by __f_setlk.
10399
10400 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10401 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10402
10403 * elf/Makefile (tests-internal): Add tst-create_format1.
10404 * elf/dl-exception.c (_dl_exception_create_format): Support
10405 %x, %lx and %zx.
10406 * elf/tst-create_format1.c: New file.
10407
10408 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
10409
10410 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
10411 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
10412 gnulib.)
10413 * argp/argp-help.c (__argp_failure): Likewise.
10414
10415 2018-11-29 Mao Han <han_mao@c-sky.com>
10416
10417 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
10418 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
10419 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
10420 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
10421 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
10422 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
10423 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
10424 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
10425 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
10426 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
10427 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
10428 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
10429 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
10430 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
10431 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
10432 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
10433 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
10434 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
10435 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
10436 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
10437 (R_CKCORE_TLS_TPOFF32): New defines.
10438
10439 2018-11-29 Florian Weimer <fweimer@redhat.com>
10440
10441 * posix/Makefile (before-compile): Remove testcases.h and
10442 ptestcases.h.
10443 (generated): Add testcases.h and ptestcases.h.
10444 (testcases.h, ptestcases.h): Move to $(objpfx).
10445 (runtests.o): Add dependency on testcases.h.
10446 (runptests.o): Add dependency on ptestcases.h.
10447 * posix/testcases.h, posix/ptestcases.h: Remove files.
10448 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
10449 not touch posix/testcases.h and posix/ptestcases.h.
10450
10451 2018-11-28 Florian Weimer <fweimer@redhat.com>
10452
10453 support: Add signal support to support_capture_subprocess_check.
10454 * support/capture_subprocess.h (support_capture_subprocess_check):
10455 Adjust comment and rename parameter.
10456 * support/support_capture_subprocess_check.c
10457 (print_actual_status): New function.
10458 (support_capture_subprocess_check): Support negative
10459 status_or_signal. Call print_actual_status.
10460 * support/tst-support_capture_subprocess.c (do_test): Call
10461 support_capture_subprocess_check.
10462 * libio/tst-vtables-common.c (termination_status)
10463 (init_termination_status): Remove.
10464 (check_for_termination): Adjust support_capture_subprocess_check
10465 call.
10466 (do_test): Remove call to init_termination_status.
10467
10468 2018-11-28 Joseph Myers <joseph@codesourcery.com>
10469
10470 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
10471 source directory instead of a copy.
10472 (CommandList.create_copy_dir): Remove.
10473
10474 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
10475
10476 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10477
10478 2018-11-28 Florian Weimer <fweimer@redhat.com>
10479
10480 * support/support.h (support_quote_string): Do not use str
10481 parameter name.
10482
10483 2018-11-27 Joseph Myers <joseph@codesourcery.com>
10484
10485 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
10486 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
10487
10488 2018-11-27 Florian Weimer <fweimer@redhat.com>
10489
10490 * support/support.h (support_quote_string): Declare.
10491 * support/support_quote_string.c: New file.
10492 * support/tst-support_quote_string.c: Likewise.
10493 * support/Makefile (libsupport-routines): Add
10494 support_quote_string.
10495 (tests): Add tst-support_quote_string.
10496
10497 2018-11-27 Florian Weimer <fweimer@redhat.com>
10498
10499 [BZ #23927]
10500 CVE-2018-19591
10501 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
10502 descriptor leak in case of ENODEV error.
10503
10504 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
10505
10506 [BZ #19767]
10507 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
10508 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
10509 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
10510
10511 2018-11-26 Carlos O'Donell <carlos@redhat.com>
10512
10513 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
10514 Error for unknown lines.
10515
10516 2018-11-26 Joseph Myers <joseph@codesourcery.com>
10517
10518 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
10519 Touch additional files.
10520
10521 2018-11-26 Florian Weimer <fweimer@redhat.com>
10522
10523 [BZ #23907]
10524 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
10525 double-frees.
10526
10527 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
10528
10529 [BZ #19767]
10530 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
10531 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
10532 SHARED. Include sysdep.h.
10533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
10534 ALWAYS_USE_VSYSCALL.
10535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
10536 ALWAYS_USE_VSYSCALL.
10537
10538 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
10539
10540 [BZ #19767]
10541 * nptl/Makefile (tests-static): Add tst-cond11-static.
10542 (tests): Likewise.
10543 * nptl/tst-cond11-static.c: New File.
10544 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
10545 tst-affinity-static.
10546 (tests): Likewise.
10547 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
10548 instead of SHARED.
10549 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
10550 (USE_VSYSCALL): Likewise.
10551 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
10552 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
10553 instead of SHARED.
10554 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
10555 SHARED.
10556 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
10557 New.
10558
10559 2018-11-23 Joseph Myers <joseph@codesourcery.com>
10560
10561 [BZ #23915]
10562 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10563 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
10564 Undefine.
10565
10566 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
10567
10568 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
10569 (tst-cet-legacy-1a-ARGS): New.
10570 ($(objpfx)tst-cet-legacy-1a): New target.
10571 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
10572
10573 2018-11-22 Joseph Myers <joseph@codesourcery.com>
10574
10575 * conform/conformtest.py (CompileSubTest.__init__): Set
10576 self.run_early to False.
10577 (ExecuteSubTest.__init__): Likewise.
10578 (HeaderTests.run): Try running all non-optional, non-XFAILed
10579 compilation tests in a single execution of the compiler.
10580
10581 * conform/conformtest.py (CompileSubTest): New class.
10582 (ExecuteSubTest): Likewise.
10583 (ElementTest.run): Rename to gen_subtests. Append tests to
10584 self.subtests instead of running them.
10585 (ConstantTest.run): Likewise.
10586 (SymbolTest.run): Likewise.
10587 (TypeTest.run): Likewise.
10588 (TagTest.run): Likewise.
10589 (FunctionTest.run): Likewise.
10590 (VariableTest.run): Likewise.
10591 (MacroFunctionTest.run): Likewise.
10592 (MacroStrTest.run): Likewise.
10593 (HeaderTests.handle_test_line): Generate subtests for tests.
10594 (HeaderTests.run): Run subtests for tests.
10595
10596 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10597
10598 * math/Versions (GLIBC_2.29): Add pow.
10599 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
10600 symbol.
10601 * math/w_pow.c: New file.
10602 * sysdeps/i386/fpu/w_pow.c: New file.
10603 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
10604 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
10605 and add necessary aliases.
10606 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
10607 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
10608 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10609 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10610 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10611 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10612 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10613 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10614 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10615 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10616 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10617 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10618 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10619 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10620 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10625 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10626 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10627 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10628 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10629 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10630 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10631 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10632 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
10633 __pow.
10634 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
10635 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
10636 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
10637
10638 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10639
10640 * math/Versions (GLIBC_2.29): Add log2.
10641 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
10642 symbol.
10643 * math/w_log2.c: New file.
10644 * sysdeps/i386/fpu/w_log2.c: New file.
10645 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
10646 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
10647 and add necessary aliases.
10648 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
10649 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
10650 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10651 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10652 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10653 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10654 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10655 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10656 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10657 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10658 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10659 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10660 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10661 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10662 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10667 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10668 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10669 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10670 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10671 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10672 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10673 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10674
10675 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10676
10677 * math/Versions (GLIBC_2.29): Add log.
10678 * math/w_log_compat.c (__log_compat): Change to versioned compat
10679 symbol.
10680 * math/w_log.c: New file.
10681 * sysdeps/i386/fpu/w_log.c: New file.
10682 * sysdeps/ia64/fpu/e_log.S: Update.
10683 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
10684 and add necessary aliases.
10685 * sysdeps/ieee754/dbl-64/w_log.c: New file.
10686 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
10687 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10688 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10689 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10690 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10691 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10692 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10693 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10694 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10695 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10696 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10697 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10698 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10699 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10704 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10705 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10706 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10707 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10708 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10709 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10710 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10711 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
10712 __log.
10713 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
10714 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
10715 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
10716 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
10717
10718 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10719
10720 * math/Versions (GLIBC_2.29): Add exp and exp2.
10721 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
10722 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
10723 * math/w_exp_compat.c (__exp_compat): Likewise.
10724 * math/w_exp.c: New file.
10725 * math/w_exp2.c: New file.
10726 * sysdeps/i386/fpu/w_exp.c: New file.
10727 * sysdeps/i386/fpu/w_exp2.c: New file.
10728 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
10729 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
10730 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
10731 and add necessary aliases.
10732 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
10733 and add necessary aliases.
10734 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
10735 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
10736 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
10737 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
10738 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10739 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10740 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10741 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10742 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10743 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10744 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10745 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10746 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10747 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10748 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10749 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10750 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10755 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10756 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10757 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10758 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10759 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10760 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10761 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10762 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
10763 (__ieee754_exp): Rename to __exp.
10764 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
10765 (__ieee754_exp): Rename to __exp.
10766 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
10767 (__ieee754_exp): Rename to __exp.
10768 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
10769 __exp.
10770 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
10771
10772 2018-11-20 DJ Delorie <dj@redhat.com>
10773
10774 * malloc/malloc.c (tcache_entry): Add key field.
10775 (tcache_put): Set it.
10776 (tcache_get): Likewise.
10777 (_int_free): Check for double free in tcache.
10778 * malloc/tst-tcfree1.c: New.
10779 * malloc/tst-tcfree2.c: New.
10780 * malloc/Makefile: Run the new tests.
10781 * manual/probes.texi: Document memory_tcache_double_free probe.
10782
10783 * dlfcn/dlerror.c (check_free): Prevent double frees.
10784
10785 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
10786
10787 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
10788
10789 2018-11-20 Joseph Myers <joseph@codesourcery.com>
10790
10791 * conform/conformtest.py (ElementTest.run): Use unique identifiers
10792 in tests. Use names for format arguments.
10793 (ConstantTest.run): Likewise.
10794 (SymbolTest.run): Likewise.
10795 (TypeTest.run): Likewise.
10796 (TagTest.run): Likewise.
10797 (FunctionTest.run): Likewise.
10798 (VariableTest.run): Likewise.
10799 (MacroFunctionTest.run): Likewise.
10800 (MacroStrTest.run): Likewise.
10801 (HeaderTests.__init__): Set self.num_tests.
10802 (HeaderTests.handle_test_line): Set test.num. Increment
10803 self.num_tests.
10804
10805 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10806
10807 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
10808 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
10809 SEEK_SET.
10810
10811 2018-11-19 Mao Han <han_mao@c-sky.com>
10812
10813 * scripts/config.guess: Update to version 2018-08-29.
10814 * scripts/config.sub: Update to version 2018-08-29.
10815
10816 2018-11-19 Florian Weimer <fweimer@redhat.com>
10817
10818 support: Print timestamps in timeout handler.
10819 * support/support_test_main.c (print_timestamp): New function.
10820 (signal_handler): Use it to print the termination time and the
10821 time of the last write to standard output.
10822
10823 2018-11-16 Zack Weinberg <zackw@panix.com>
10824 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10825
10826 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
10827 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
10828 argument.
10829 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
10830 and add flags argument. Check flags instead of __ldbl_is_dbl when
10831 deciding whether to set is_long_double.
10832 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
10833 passing zero for flags argument.
10834 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
10835
10836 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10837 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
10838 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
10839 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
10840 variable names. Remove libc_hidden_def/libc_hidden_proto from
10841 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
10842 longer called from within the library.
10843 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
10844 for __nldbl___vstrfmon_l, declare it explicitly.
10845
10846 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
10847
10848 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10849
10850 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
10851 macros
10852 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
10853 F_SETLK64, F_SETLKW64, respectively.
10854 * sysdeps/mach/hurd/f_setlk.c: New file.
10855 * sysdeps/mach/hurd/f_setlk.h: New file.
10856 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
10857 f_setlk.
10858 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
10859 (__libc_fcntl): Move non-flock operations to...
10860 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
10861 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
10862
10863 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
10864
10865 mktime: DEBUG_MKTIME cleanup
10866 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
10867 And it’s no longer needed now that glibc and Gnulib both have
10868 their own testing mechanisms for mktime.
10869 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
10870
10871 mktime: fix non-EOVERFLOW errno handling
10872 [BZ#23789]
10873 mktime was not properly reporting failures when the underlying
10874 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
10875 them like EOVERFLOW failures, and set errno to EOVERFLOW.
10876 The problem could happen on non-glibc platforms, with Gnulib.
10877 * time/mktime.c (guess_time_tm): Remove, replacing with ...
10878 (tm_diff): ... this simpler function, which does not change errno.
10879 All callers changed to deal with errno themselves.
10880 (ranged_convert, __mktime_internal): Return failure immediately if
10881 the underlying function reports any failure other than EOVERFLOW.
10882 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
10883 gap code fails.
10884
10885 mktime: fix bug with Y2038 DST transition
10886 [BZ#23789]
10887 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
10888 mishandle a DST transition that jumps over the Y2038 boundary.
10889 No such DST transitions are known so this is only a theoretical
10890 bug, but we might as well do things right.
10891
10892 mktime: make more room for overflow
10893 [BZ#23789]
10894 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
10895 This is so that we can add tm_diff results to a previous guess,
10896 which will be useful in a later patch.
10897
10898 mktime: simplify offset guess
10899 [BZ#23789]
10900 * time/mktime.c (__mktime_internal): Omit excess precision.
10901
10902 mktime: new test for mktime failure
10903 [BZ#23789]
10904 Based on a test suggested by Albert Aribaud in:
10905 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
10906 * time/Makefile (tests): Add bug-mktime4.
10907 * time/bug-mktime4.c: New file.
10908
10909 mktime: fix EOVERFLOW bug
10910 [BZ#23789]
10911 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
10912 Include libc-config.h, not config.h, for __set_errno.
10913 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
10914
10915 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10916
10917 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
10918 __attribute_copy__ to copy attributes from name. Drop static qualifier
10919 to avoid warnings about leaf attribute not having effect on static
10920 functions.
10921
10922 2018-11-13 Florian Weimer <fweimer@redhat.com>
10923
10924 * malloc/malloc.c (fastbin_push_entry): New function.
10925 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
10926 (REMOVE_FB): Remove macro.
10927 (_int_malloc): Use fastbin_pop_entry and reindent.
10928 (_int_free): Use fastbin_push_entry.
10929 (malloc_consolidate): Use atomic_exchange_acquire.
10930
10931 2018-11-13 Joseph Myers <joseph@codesourcery.com>
10932
10933 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
10934 alias attribute, not with strong_alias.
10935
10936 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
10937 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
10938 with additional parameter thread.
10939 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
10940 in terms of __hidden_ver2.
10941 (hidden_tls_def): New macro.
10942 (libc_hidden_tls_def): Likewise.
10943 (rtld_hidden_tls_def): Likewise.
10944 (libm_hidden_tls_def): Likewise.
10945 (libmvec_hidden_tls_def): Likewise.
10946 (libresolv_hidden_tls_def): Likewise.
10947 (librt_hidden_tls_def): Likewise.
10948 (libdl_hidden_tls_def): Likewise.
10949 (libnss_files_hidden_tls_def): Likewise.
10950 (libnsl_hidden_tls_def): Likewise.
10951 (libnss_nisplus_hidden_tls_def): Likewise.
10952 (libutil_hidden_tls_def): Likewise.
10953 (libutil_hidden_tls_def): Likweise.
10954 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
10955 libc_hidden_tls_def.
10956 (__sim_disabled_exceptions_thread): Likewise.
10957 (__sim_round_mode_thread): Likewise.
10958
10959 * sysdeps/sparc/sparc-ifunc.h [SHARED]
10960 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
10961 copy attributes from name.
10962
10963 2018-11-12 Joseph Myers <joseph@codesourcery.com>
10964
10965 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
10966 Use __attribute_copy__ to copy attributes from name.
10967
10968 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
10969 with __hidden_ver1 call.
10970 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
10971 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
10972 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
10973 (__cosf): Do not declare here.
10974 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
10975 (__sincosf): Do not declare here.
10976 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
10977 (__sinf): Do not declare here.
10978
10979 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
10980 (__BIG_ENDIAN): Likewise.
10981 (__BYTE_ORDER): Likewise.
10982 (strong_alias): Likewise.
10983 (_strong_alias): Likewise.
10984
10985 2018-11-12 Florian Weimer <fweimer@redhat.com>
10986
10987 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
10988 function. Move after the definition of in_smallbin_range. Do not
10989 use __builtin_expect for paths that lead to a noreturn function.
10990 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
10991 because it is unclear whether this is in fact an unlikely
10992 condition.
10993 (_int_malloc, _int_free): Adjust.
10994 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
10995 variables.
10996 * malloc/arena.c (heap_trim): Likewise.
10997
10998 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10999
11000 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
11001 it, free it if needed.
11002 (reauthenticate): Test and use ccwdir.
11003 (child_init_port): In non-resetids case, test and use ccwdir.
11004 (child_chdir): New nested function to set ccwdir.
11005 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
11006 * hurd/hurd/port.h (_hurd_port_move): New function.
11007 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
11008 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
11009 * hurd/Versions (_hurd_port_move): Export function.
11010 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
11011 symbol.
11012 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
11013 of dtablesize for allocating dtable_cloexec.
11014
11015 2018-11-09 Martin Sebor <msebor@redhat.com>
11016
11017 * include/libc-symbols.h (__attribute_copy__): Define macro unless
11018 it's already defined.
11019 (_strong_alias): Use __attribute_copy__.
11020 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
11021 * misc/sys/cdefs.h (__attribute_copy__): New macro.
11022 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
11023 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
11024 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
11025 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
11026 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
11027 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
11028 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
11029 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
11030 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
11031 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
11032 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
11033 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
11034 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
11035 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
11036 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
11037 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
11038 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
11039
11040 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11041
11042 * misc/tst-efgcvt.c: Include support/check.h and
11043 support/test-driver.c. Do not include test-skeleton.c.
11044 (error_count): Remove.
11045 (output_error): Replace increments to error_count with calls to
11046 support_record_failure.
11047 (output_r_error): Likewise.
11048 (special): Likewise.
11049 (do_test): Unconditionally return zero.
11050 (TEST_FUNCTION): Remove.
11051
11052 2018-11-09 Joseph Myers <joseph@codesourcery.com>
11053
11054 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
11055 not $(@D)/scratch.
11056 ($(linknamespace-header-tests)): Likewise.
11057
11058 * conform/conformtest.py: New file.
11059 * conform/conformtest.pl: Remove.
11060 * conform/GlibcConform.pm: Likewise.
11061 * conform/glibcconform.py (KEYWORDS_C90): New constant.
11062 (KEYWORDS_C99): Likewise.
11063 (KEYWORDS): Likewise.
11064 * conform/Makefile ($(conformtest-header-tests)): Use
11065 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
11066 option. Use --header instead of --headers.
11067 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
11068 function entries.
11069 * conform/data/spawn.h-data: Likewise.
11070 * conform/data/fcntl.h-data (openat): Add space after function
11071 name.
11072 * conform/data/wchar.h-data (wcscasecmp): Likewise.
11073 (wcscasecmp_l): Likewise.
11074 * conform/data/termios.h-data (c_cc): Add space after element
11075 name.
11076
11077 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11078
11079 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
11080 instead of manually comparing and reporting mismatching strings.
11081 * misc/tst-ldbl-error.c (do_one_test): Likewise.
11082 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
11083
11084 2018-11-08 Joseph Myers <joseph@codesourcery.com>
11085
11086 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
11087 __ASSUME_SOCKETCALL.
11088 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11089 (__ASSUME_SOCKETCALL): Remove.
11090 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11091 (__ASSUME_SOCKETCALL): Likewise.
11092 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11093 (__ASSUME_SOCKETCALL): Likewise.
11094 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11095 (__ASSUME_SOCKETCALL): Likewise.
11096 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11097 (__ASSUME_SOCKETCALL): Likewise.
11098 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11099 (__ASSUME_SOCKETCALL): Likewise.
11100 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11101 (__ASSUME_SOCKETCALL): Likewise.
11102
11103 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
11104
11105 [BZ #23509]
11106 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
11107 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
11108 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
11109 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
11110 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
11111 lc_unknown.
11112
11113 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
11114
11115 [BZ #17630]
11116 * resolv/tst-resolv-network.c: Add test for getnetbyname.
11117
11118 2018-11-07 Joseph Myers <joseph@codesourcery.com>
11119
11120 [BZ #23867]
11121 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11122 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11123 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11124 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
11125
11126 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11127
11128 * support/support_test_compare_string.c
11129 (support_test_compare_string): Fix printf format.
11130
11131 2018-11-07 Florian Weimer <fweimer@redhat.com>
11132
11133 Implement TEST_COMPARE_STRING.
11134 * support/check.h (TEST_COMPARE_STRING): Define.
11135 (support_test_compare_string): Declare.
11136 * support/Makefile (libsupport-routines): Add
11137 support_test_compare_string.
11138 (tests): Add tst-test_compare_string.
11139 * support/support_test_compare_string.c: New file.
11140 * support/tst-test_compare_string.c: Likewise.
11141
11142 2018-11-07 Andreas Schwab <schwab@suse.de>
11143
11144 [BZ #23864]
11145 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
11146 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
11147 Undef.
11148
11149 2018-11-06 Joseph Myers <joseph@codesourcery.com>
11150
11151 [BZ #23862]
11152 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11153 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
11154 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
11155 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
11156 Likewise.
11157
11158 2018-11-06 Florian Weimer <fweimer@redhat.com>
11159
11160 [BZ #17405]
11161 * posix/Makefile (routines): Add spawn_faction_addchdir.
11162 (tests): Add tst-spawn-chdir.
11163 * posix/Versions (GLIBC_2.29): Add
11164 posix_spawn_file_actions_addchdir_np.
11165 * posix/spawn_faction_addchdir.c: New file.
11166 * posix/spawn_faction_destroy.c
11167 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
11168 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
11169 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
11170 chdir_action.
11171 * posix/tst-spawn-chdir.c: New file.
11172 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
11173 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
11174 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
11175 posix_spawn_file_actions_addchdir_np.
11176 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
11177 Likewise.
11178 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
11179 Likewise.
11180 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
11181 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
11182 Likewise.
11183 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
11184 Likewise.
11185 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
11186 Likewise.
11187 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
11188 Likewise.
11189 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
11190 Likewise.
11191 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
11192 Likewise.
11193 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11194 (GLIBC_2.29): Likewise.
11195 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11196 (GLIBC_2.29): Likewise.
11197 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11198 (GLIBC_2.29): Likewise.
11199 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11200 (GLIBC_2.29): Likewise.
11201 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
11202 Likewise.
11203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11204 (GLIBC_2.29): Likewise.
11205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11206 (GLIBC_2.29): Likewise.
11207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11208 (GLIBC_2.29): Likewise.
11209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11210 (GLIBC_2.29): Likewise.
11211 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
11212 Likewise.
11213 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
11214 Likewise.
11215 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
11216 Likewise.
11217 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
11218 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
11219 Likewise.
11220 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
11221 Likewise.
11222 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
11223 Likewise.
11224 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
11225 Likewise.
11226
11227 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11228
11229 * misc/Makefile (tests): Add tst-ldbl-error.
11230 * misc/tst-ldbl-error.c: New file.
11231
11232 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11233
11234 * misc/Makefile (tests): Add tst-ldbl-warn.
11235 * misc/tst-ldbl-warn.c: New file.
11236
11237 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11238
11239 * argp/Makefile (tests): Add tst-ldbl-argp.
11240 * argp/tst-ldbl-argp.c: New file.
11241
11242 2018-11-05 Arjun Shankar <arjun@redhat.com>
11243
11244 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
11245 __gconv_path_elem and call __gconv_get_path unconditionally.
11246
11247 2018-11-05 Andreas Schwab <schwab@suse.de>
11248
11249 [BZ #22927]
11250 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
11251 creating the first helper thread failed.
11252
11253 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11254
11255 * sysdeps/mach/hurd/msync.c: New file.
11256
11257 2018-11-02 Florian Weimer <fweimer@redhat.com>
11258
11259 * support/shell-container.c (copy_func): Call
11260 support_copy_file_range instead of copy_file_range to support
11261 cross-device copies.
11262
11263 2018-11-02 Florian Weimer <fweimer@redhat.com>
11264
11265 * support/test-container.c: Include <libc-pointer-arith.h> for
11266 ALIGN_UP.
11267
11268 2018-11-01 Zong Li <zong@andestech.com>
11269
11270 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
11271 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
11272 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
11273 (__FP_FRAC_SET_8): Add implementation for RV32 use.
11274
11275 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
11276 variable to avoid overlap arguments.
11277
11278 2018-11-01 Joseph Myers <joseph@codesourcery.com>
11279
11280 * posix/bug-regex22.c (main): Use puts with distinct error
11281 messages for unexpected success of re_compile_pattern, not printf
11282 with NULL argument to %s.
11283
11284 * stdio-common/bug22.c: Include <libc-diag.h>.
11285 (do_test): Disable -Wformat-overflow= warnings around fprintf
11286 calls outputting more than INT_MAX characters.
11287 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
11288 around printf call with NULL %s argument.
11289
11290 [BZ #23848]
11291 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
11292 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
11293 Undefine.
11294 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11295 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11296 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11297 (__ASSUME_SENDTO_SYSCALL): Likewise.
11298 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11299 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
11300 [!__arch64__].
11301 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11302 (__ASSUME_CONNECT_SYSCALL): Likewise.
11303 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11304 (__ASSUME_RECVFROM_SYSCALL): Likewise.
11305 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
11306 Define.
11307 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
11308 Likewise.
11309 [__LINUX_KERNEL_VERSION >= 0x040400]
11310 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11311 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
11312 Remove.
11313 (listen): Likewise.
11314 (setsockopt): Likewise.
11315
11316 2018-11-01 Fredrik Noring <noring@nocrew.org>
11317
11318 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
11319 with the ISA override.
11320
11321 2018-10-31 Rafael Ávila de Espíndola <rafael@espindo.la>
11322
11323 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
11324 #endif.
11325
11326 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11327
11328 * manual/errno.texi (EIEIO): Document how translators should
11329 translate the error message.
11330 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
11331 printing trailing whitespaces refused by git.
11332 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
11333 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11334 * hurd/Makefile (user-interfaces): Add pci.
11335
11336 2018-10-30 Joseph Myers <joseph@codesourcery.com>
11337
11338 * conform/linknamespace.py: New file.
11339 * conform/linknamespace.pl: Remove file.
11340 * conform/Makefile ($(linknamespace-header-tests)): Use
11341 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
11342 option.
11343
11344 2018-10-30 Florian Weimer <fweimer@redhat.com>
11345
11346 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
11347 memory leaks.
11348
11349 2018-10-30 Florian Weimer <fweimer@redhat.com>
11350
11351 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
11352
11353 2018-10-30 Florian Weimer <fweimer@redhat.com>
11354
11355 * stdlib/tst-strtod-overflow.c (do_test): Switch to
11356 support_blob_repeat.
11357
11358 2018-10-30 Florian Weimer <fweimer@redhat.com>
11359
11360 Avoid spurious test failures in stdlib/test-bz22786.
11361 * support/Makefile (libsupport-routines): Add blob_repeat.
11362 (tests): Add tst-support_blob_repeat.
11363 * support/blob_repeat.h: New file.
11364 * support/blob_repeat.c: Likewise.
11365 * support/tst-support_blob_repeat.c: Likewise.
11366 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
11367 support_blob_repeat_allocate.
11368
11369 2018-10-30 Andreas Schwab <schwab@suse.de>
11370
11371 [BZ #23125]
11372 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
11373 Don't use tail call.
11374 * elf/tst-unwind-main.c: New file.
11375 * elf/Makefile (tests): Add tst-unwind-main.
11376 (CFLAGS-tst-unwind-main.c): Define.
11377
11378 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
11379
11380 [BZ #23791]
11381 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
11382 n_cs_precedes to 0.
11383 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
11384
11385 2018-10-29 Joseph Myers <joseph@codesourcery.com>
11386
11387 * conform/glibcconform.py: Do not import shutil.
11388 (list_exported_functions): Use tempfile.TemporaryDirectory instead
11389 of mkdtemp.
11390
11391 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
11392 critic_missing for versions before 3.4.
11393 * configure: Regenerated.
11394 * manual/install.texi (Tools for Compilation): Document
11395 requirement for Python to build glibc.
11396 * INSTALL: Regenerated.
11397 * Rules [PYTHON]: Make code unconditional.
11398 * benchtests/Makefile [PYTHON]: Likewise.
11399 * conform/Makefile [PYTHON]: Likewise.
11400 * manual/Makefile [PYTHON]: Likewise.
11401 * math/Makefile [PYTHON]: Likewise.
11402
11403 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11404
11405 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
11406 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
11407 answer to interrupt_operation, return EIEIO instead of EINTR.
11408 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
11409 _hurd_intr_rpc_msg_about_to global point to start of controlled
11410 assembly snippet. Make it check canceled flag.
11411 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
11412 the _hurd_intr_rpc_msg_about_to point.
11413 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
11414 issue, remove cancel flag check.
11415
11416 2018-10-26 Joseph Myers <joseph@codesourcery.com>
11417
11418 * scripts/build-many-glibcs.py: Remove compatibility for missing
11419 os.cpu_count and re.fullmatch.
11420
11421 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
11422
11423 [BZ #23822]
11424 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
11425 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
11426 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
11427
11428 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11429
11430 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
11431 macro.
11432
11433 2018-10-25 Florian Weimer <fweimer@redhat.com>
11434
11435 [BZ #23562]
11436 [BZ #23821]
11437 XFAIL siginfo_t si_band conform test on sparc64.
11438 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
11439 (__SI_BAND_TYPE): Only override long int default type on sparc64.
11440 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11441 (conformtest-xfail-conds): Add sparc64-linux.
11442 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
11443 sparc64.
11444 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
11445
11446 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11447
11448 * elf/elf.h (NT_MIPS_DSP): New macro.
11449 (NT_MIPS_FP_MODE): Likewise.
11450
11451 2018-10-25 Zong Li <zong@andestech.com>
11452
11453 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
11454 name by adding the file extension (.so).
11455
11456 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11457
11458 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11459 (test-xfail-ISO11/threads.h/linknamespace,
11460 test-xfail-ISO11/threads.h/conform): Add.
11461
11462 2018-10-24 Joseph Myers <joseph@codesourcery.com>
11463
11464 * math/gen-libm-test.py: Import os.
11465 (ALL_FLOATS_MANUAL): New constant.
11466 (ALL_FLOATS_SUFFIX): Likewise.
11467 (Ulps.all_functions): New function.
11468 (real_all_ulps): Likewise.
11469 (generate_err_table_sub): Likewise.
11470 (generate_err_table): Likewise.
11471 (main): Handle -s and -m options.
11472 * manual/libm-err-tab.pl: Remove.
11473 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
11474 instead of libm-err-tab.pl.
11475 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
11476 != no].
11477 * manual/install.texi (Tools for Compilation): Document
11478 requirement for Python to build manual.
11479 * INSTALL: Regenerated.
11480
11481 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11482
11483 * bits/time64.h: New file.
11484 * include/time.h: Replace internal_time_t with __time64_t.
11485 * posix/bits/types (__time64_t): Add.
11486 * stdlib/Makefile: Add bits/time64.h to includes.
11487 * time/tzfile.c: Replace internal_time_t with __time64_t.
11488
11489 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11490
11491 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
11492 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
11493 __posix_spawn_file_actions_init, __posix_spawnattr_init,
11494 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
11495 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
11496 prototype.
11497 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
11498 * posix/spawn_faction_addclose.c
11499 (__posix_spawn_file_actions_addclose): Add hidden definition.
11500 * posix/spawn_faction_adddup2.c
11501 (__posix_spawn_file_actions_adddup2): Likewise.
11502 * posix/spawn_faction_destroy.c
11503 (__posix_spawn_file_actions_destroy): Likewise.
11504 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
11505 Likewise.
11506 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
11507 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
11508 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
11509 Likewise.
11510 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
11511 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
11512 Likewise.
11513
11514 2018-10-24 Andreas Schwab <schwab@suse.de>
11515
11516 [BZ #18093]
11517 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
11518 format cache.
11519 * elf/cache.c (print_cache): Likewise.
11520
11521 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11522
11523 * bits/timesize.h: New file.
11524 * stdlib/Makefile (headers): Add bits/timesize.h.
11525 * sysdeps/unix/sysv/linux/bits/msq-pad.h
11526 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
11527 * sysdeps/unix/sysv/linux/bits/sem-pad.h
11528 (__SEM_PAD_AFTER_TIME): Likewise.
11529 * sysdeps/unix/sysv/linux/bits/shm-pad.h
11530 (__SHM_PAD_AFTER_TIME): Likewise.
11531 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
11532 (__MSQ_PAD_BEFORE_TIME): Likewise.
11533 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
11534 (__SEM_PAD_BEFORE_TIME): Likewise.
11535 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
11536 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11537 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
11538 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
11539 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
11540 (__MSQ_PAD_BEFORE_TIME): Likewise.
11541 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
11542 (__SEM_PAD_BEFORE_TIME): Likewise.
11543 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
11544 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11545 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
11546 (__MSQ_PAD_BEFORE_TIME): Likewise.
11547 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
11548 (__SEM_PAD_BEFORE_TIME): Likewise.
11549 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
11550 (__SHM_PAD_BEFORE_TIME): Likewise.
11551 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
11552 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11553 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
11554
11555 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
11556
11557 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
11558 USE_RDTSCP is defined.
11559 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
11560 USE_RDTSCP is defined.
11561
11562 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11563
11564 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
11565 defined.
11566
11567 [BZ #23709]
11568 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
11569 independently of other flags.
11570
11571 2018-10-23 Florian Weimer <fweimer@redhat.com>
11572
11573 * time/tst-mktime2.c (N_STRINGS): Remove.
11574 (set_timezone): New function.
11575 (spring_forward_gap): Call it. Use FAIL_EXIT1.
11576 (mktime_test1): Report localtime failure and check errno value.
11577 Use TEST_COMPARE.
11578 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
11579 (do_test): Remove alarm call. Use set_timezone and array_length.
11580
11581 2018-10-23 Andreas Schwab <schwab@suse.de>
11582
11583 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
11584 (__start_context): Use END instead of PSEUDO_END.
11585
11586 2018-10-22 Joseph Myers <joseph@codesourcery.com>
11587
11588 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11589 version to 4.19.
11590
11591 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11592 version to 4.19.
11593
11594 [BZ #23793]
11595 * wcsmbs/c32rtomb.c: New file.
11596 * wcsmbs/mbrtoc32.c: Likewise.
11597 * wcsmbs/tst-c32-state.c: Likewise.
11598 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
11599 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
11600 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
11601 (tests): Add tst-c32-state.
11602 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
11603 $(gen-locales).
11604
11605 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
11606
11607 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
11608 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
11609
11610 2018-10-19 Joseph Myers <joseph@codesourcery.com>
11611
11612 [BZ #23794]
11613 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
11614 pair and return 0 in that case, and use saved character to
11615 interpret following character.
11616 * wcsmbs/tst-c16-surrogate.c: New file.
11617 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
11618 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
11619 Depend on $(gen-locales)
11620
11621 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
11622
11623 [BZ #23562]
11624 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
11625 (struct siginfo_t): Use correct type for si_band.
11626
11627 2018-10-19 Florian Weimer <fweimer@redhat.com>
11628
11629 [BZ #23689]
11630 * resource/bits/types/struct_rusage.h (struct rusage): Update
11631 comment on struct. Remove extraneous field comment.
11632
11633 2018-10-18 David S. Miller <davem@davemloft.net>
11634
11635 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
11636 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
11637 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
11638 sysdep_routines in subdir elf.
11639 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
11640 version for __vdso_clock_gettime.
11641 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
11642 Define.
11643 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11644 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11645
11646 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11647
11648 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
11649
11650 * sysdeps/i386/init-arch.h: Removed.
11651 * sysdeps/i386/i586/init-arch.h: Likewise.
11652 * sysdeps/i386/i686/init-arch.h: Likewise.
11653 * sysdeps/i386/i686/hp-timing.h: Likewise.
11654 * sysdeps/x86_64/hp-timing.h: Likewise.
11655 * sysdeps/i386/isa.h: New file.
11656 * sysdeps/i386/i586/isa.h: Likewise.
11657 * sysdeps/i386/i686/isa.h: Likewise.
11658 * sysdeps/x86_64/isa.h: Likewise.
11659 * sysdeps/x86/hp-timing.h: New file.
11660 * sysdeps/x86/init-arch.h: Include <isa.h>.
11661
11662 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11663
11664 * math/libm-test-pow.inc (pow_test_data): Do not allow
11665 divide-by-zero exception for pow(+/- 0, -Inf).
11666
11667 2018-10-17 Zack Weinberg <zackw@panix.com>
11668
11669 * manual/job.texi (Job Control is Optional): Remove node, as
11670 job control has not been optional in quite some time.
11671 (Job Control): Mention briefly that systems older than
11672 POSIX.1-2001 might not support job control.
11673 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
11674 defined on systems conforming to POSIX.1-2001.
11675
11676 2018-10-17 Arjun Shankar <arjun@redhat.com>
11677
11678 [BZ #22062]
11679 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
11680 indentation.
11681 * (__gconv_read_conf): Mark function static.
11682 * (once): New static variable.
11683 * (__gconv_load_conf): New function.
11684 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
11685 * iconv/gconv_db.c (once): Remove static variable.
11686 * (__gconv_compare_alias): Use __gconv_load_conf instead of
11687 __gconv_read_conf.
11688 * (__gconv_find_transform): Likewise.
11689 * iconv/tst-iconv-mt.c: New test.
11690 * iconv/Makefile: Add tst-iconv_mt.
11691
11692 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11693
11694 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11695 bits/shm-pad.h.
11696 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
11697 (shmatt_t): Define as __syscall_ulong_t.
11698 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
11699 and [__SHM_PAD_AFTER_TIME].
11700 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
11701 Define shm_segsz and associated padding based on
11702 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
11703 Use __syscall_ulong_t instead of unsigned long int.
11704 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
11705 unsigned long int.
11706 [__USE_MISC] (struct shm_info): Likewise.
11707 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
11708 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
11709 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
11710 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
11711 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
11712 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11713 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
11714 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11715 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11716 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11717 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11718
11719 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11720 bits/shmlba.h.
11721 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
11722 (SHMLBA): Remove macro.
11723 (__getpagesize): Remove function declaration.
11724 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
11725 <bits/shmlba.h>.
11726 (SHMLBA): Remove macro.
11727 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
11728 <bits/shmlba.h>.
11729 (SHMLBA): Remove macro.
11730 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
11731 <bits/shmlba.h>.
11732 (SHMLBA): Remove macro.
11733 (__getpagesize): Remove function declaration.
11734 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
11735 <bits/shmlba.h>.
11736 (SHMLBA): Remove macro.
11737 (__getshmlba): Remove function declaration.
11738 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
11739 (SHMLBA): Remove macro.
11740 (__getpagesize): Remove function declaration.
11741 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
11742 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
11743 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11744 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
11745 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
11746 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
11747 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
11748 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
11749 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
11750 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
11751
11752 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
11753
11754 [BZ #23275]
11755 * nptl/tst-mutex10.c: New File.
11756 * nptl/Makefile (tests): Add tst-mutex10.
11757 (tst-mutex10-ENV): New variable.
11758 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
11759 Ensure that elision path is used if elision is available.
11760 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
11761 Likewise.
11762 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
11763 Likewise.
11764 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
11765 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
11766 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
11767 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
11768 Likewise.
11769 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
11770 (__pthread_mutex_cond_lock_adjust): Likewise.
11771 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11772 Likewise.
11773 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
11774 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11775 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11776 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
11777 Add comments.
11778 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11779 Use atomic_load_relaxed and atomic_store_relaxed.
11780 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
11781 Use atomic_store_relaxed.
11782
11783 2018-10-17 Andreas Schwab <schwab@suse.de>
11784
11785 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
11786 * crypt/badsalttest.c (TIMEOUT): Likewise.
11787 * crypt/sha256c-test.c (TIMEOUT): Likewise.
11788 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
11789 * io/test-lfs.c (TIMEOUT): Likewise.
11790 * libio/tst-atime.c (TIMEOUT): Likewise.
11791 * localedata/tst-leaks.c (TIMEOUT): Likewise.
11792 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
11793 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
11794 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
11795 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
11796 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
11797 * nptl/tst-cond11.c (TIMEOUT): Likewise.
11798 * nptl/tst-cond14.c (TIMEOUT): Likewise.
11799 * nptl/tst-cond15.c (TIMEOUT): Likewise.
11800 * nptl/tst-cond24.c (TIMEOUT): Likewise.
11801 * nptl/tst-cond25.c (TIMEOUT): Likewise.
11802 * nptl/tst-kill2.c (TIMEOUT): Likewise.
11803 * nptl/tst-kill3.c (TIMEOUT): Likewise.
11804 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
11805 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
11806 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
11807 * nptl/tst-once2.c (TIMEOUT): Likewise.
11808 * nptl/tst-once3.c (TIMEOUT): Likewise.
11809 * nptl/tst-once4.c (TIMEOUT): Likewise.
11810 * nptl/tst-robust8.c (TIMEOUT): Likewise.
11811 * nptl/tst-robust9.c (TIMEOUT): Likewise.
11812 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
11813 * nptl/tst-sem14.c (TIMEOUT): Likewise.
11814 * nptl/tst-sem6.c (TIMEOUT): Likewise.
11815 * nptl/tst-signal3.c (TIMEOUT): Likewise.
11816 * nptl/tst-spin4.c (TIMEOUT): Likewise.
11817 * nptl/tst-tls3.c (TIMEOUT): Likewise.
11818 * nptl/tst-tls4.c (TIMEOUT): Likewise.
11819 * posix/tst-chmod.c (TIMEOUT): Likewise.
11820 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
11821 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
11822 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
11823 * posix/tst-regex2.c (TIMEOUT): Likewise.
11824 * posix/tst-waitid.c (TIMEOUT): Likewise.
11825 * rt/tst-aio.c (TIMEOUT): Likewise.
11826 * rt/tst-aio10.c (TIMEOUT): Likewise.
11827 * rt/tst-aio4.c (TIMEOUT): Likewise.
11828 * rt/tst-aio5.c (TIMEOUT): Likewise.
11829 * rt/tst-aio6.c (TIMEOUT): Likewise.
11830 * rt/tst-aio64.c (TIMEOUT): Likewise.
11831 * rt/tst-aio7.c (TIMEOUT): Likewise.
11832 * rt/tst-aio9.c (TIMEOUT): Likewise.
11833 * rt/tst-clock.c (TIMEOUT): Likewise.
11834 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
11835 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
11836 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
11837 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
11838 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
11839 * rt/tst-timer4.c (TIMEOUT): Likewise.
11840 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
11841 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
11842 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
11843 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
11844 * time/tst-ftime.c (TIMEOUT): Likewise.
11845 * timezone/tst-tzset.c (TIMEOUT): Likewise.
11846
11847 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
11848
11849 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
11850 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
11851 for thunderX2.
11852
11853 2018-10-15 Joseph Myers <joseph@codesourcery.com>
11854
11855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11856 bits/sem-pad.h.
11857 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
11858 instead of <bits/wordsize.h>.
11859 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
11860 and [__SEM_PAD_AFTER_TIME].
11861 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
11862 __syscall_ulong_t instead of unsigned long int.
11863 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
11864 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
11865 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
11866 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
11867 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
11868 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
11869 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
11870 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
11871 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11872 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11873 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11874
11875 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
11876
11877 regex: simplify by using intprops.h
11878 [BZ#23744]
11879 * posix/regex_internal.h [_LIBC]: Include intprops.h.
11880 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
11881 intprops.h defines them.
11882
11883 regex: __builtin_expect → __glibc_unlikely
11884 [BZ#23744]
11885 This refactoring was prompted by a problem when the regex code is
11886 used as part of Gnulib and when the builder’s compiler does not grok
11887 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
11888 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
11889 Although this refactoring does not fix the problem directly,
11890 we might as well have Gawk use the now-preferred glibc style for when
11891 __builtin_expect is unavailable.
11892 * posix/regex_internal.h (BE): Remove.
11893 All uses replaced by __glibc_unlikely or __glibc_likely.
11894
11895 2018-10-11 Joseph Myers <joseph@codesourcery.com>
11896
11897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11898 bits/msq-pad.h.
11899 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
11900 instead of <bits/wordsize.h>.
11901 (msgqnum_t): Define as __syscall_ulong_t.
11902 (msglen_t): Likewise.
11903 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
11904 and [__MSQ_PAD_AFTER_TIME].
11905 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
11906 __syscall_ulong_t instead of unsigned long int.
11907 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
11908 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
11909 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
11910 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
11911 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
11912 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
11913 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
11914 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
11915 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11916 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11917 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11918
11919 2018-10-10 Joseph Myers <joseph@codesourcery.com>
11920
11921 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
11922 (struct shmid_ds): Condition padding after time fields on
11923 [__WORDSIZE == 32].
11924 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
11925 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
11926 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11927
11928 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
11929 (struct semid_ds): Condition padding after time fields on
11930 [__WORDSIZE == 32].
11931 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
11932 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
11933 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
11934 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11935
11936 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
11937 (struct msqid_ds): Condition padding after time fields on
11938 [__WORDSIZE == 32].
11939 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
11940 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
11941 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
11942 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11943
11944 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11945
11946 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
11947
11948 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11949
11950 * libio/tst-readline.c (TIMEOUT): Define.
11951
11952 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
11953
11954 mktime fix for Gnulib + coreutils
11955 [BZ#23745]
11956 This fix affects only Gnulib. Problem discovered when
11957 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
11958 * time/mktime.c:
11959 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
11960 Do not define since it is not used. Defining an unused static
11961 function prompts a warning from GCC when Coreutils is configured
11962 with --enable-gcc-warnings.
11963
11964 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11965
11966 * benchtests/scripts/compare_bench.py (main): set float type on
11967 threshold argument.
11968
11969 2018-10-08 Rafał Lużyński <digitalfreak@lingonborough.com>
11970
11971 [BZ #23740]
11972 * localedata/locales/kl_GL (mon): Update, the relative case.
11973 (alt_mon): Add, fill with month names in the nominative case.
11974 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
11975 (d_fmt): Set to "%b %d %Y".
11976
11977 2018-10-04 Joseph Myers <joseph@codesourcery.com>
11978
11979 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
11980 <bits/mman-linux.h>.
11981 (PROT_READ): Don't define here.
11982 (PROT_WRITE): Likewise.
11983 (PROT_EXEC): Likewise.
11984 (PROT_NONE): Likewise.
11985 (PROT_GROWSDOWN): Likewise.
11986 (PROT_GROWSUP): Likewise.
11987 (MAP_SHARED): Likewise.
11988 (MAP_PRIVATE): Likewise.
11989 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
11990 [__USE_MISC] (MAP_FILE): Likewise.
11991 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
11992 [__USE_MISC] (MAP_ANON): Likewise.
11993 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
11994 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
11995 (MCL_CURRENT): Likewise.
11996 (MCL_FUTURE): Likewise.
11997 (MCL_ONFAULT): Likewise.
11998 [__USE_MISC] (MADV_NORMAL): Likewise.
11999 [__USE_MISC] (MADV_RANDOM): Likewise.
12000 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
12001 [__USE_MISC] (MADV_WILLNEED): Likewise.
12002 [__USE_MISC] (MADV_DONTNEED): Likewise.
12003 [__USE_MISC] (MADV_FREE): Likewise.
12004 [__USE_MISC] (MADV_REMOVE): Likewise.
12005 [__USE_MISC] (MADV_DONTFORK): Likewise.
12006 [__USE_MISC] (MADV_DOFORK): Likewise.
12007 [__USE_MISC] (MADV_HWPOISON): Likewise.
12008 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
12009 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
12010 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
12011 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
12012 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
12013 (__MAP_ANONYMOUS): New macro.
12014 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
12015 <bits/mman-linux.h> inclusion.
12016 (MAP_FIXED): Likewise.
12017 (MS_SYNC): Likewise.
12018 (MS_ASYNC): Likewise.
12019 (MS_INVALIDATE): Likewise.
12020 [__USE_MISC] (MADV_MERGEABLE): Likewise.
12021 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
12022 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
12023 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
12024 [__USE_MISC] (MADV_DONTDUMP): Likewise.
12025 [__USE_MISC] (MADV_DODUMP): Likewise.
12026 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
12027 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
12028
12029 [BZ #23735]
12030 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
12031 Define.
12032 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
12033 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
12034 Add test-nldbl-redirect.
12035 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
12036 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
12037 $(objpfx)libnldbl_nonshared.a.
12038
12039 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
12040
12041 * support/support.h (support_objdir_elf_ldso): New variable.
12042 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
12043 * support/Makefile (CFLAGS-support_paths.c): Add definition
12044 for OBJDIR_ELF_LDSO_PATH.
12045 * support/test-container.c (main): Search for the ld.so
12046 which is also used by the testsuite.
12047
12048 2018-10-02 Rafał Lużyński <digitalfreak@lingonborough.com>
12049
12050 [BZ #20209]
12051 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
12052 should be "sap" rather than "sab".
12053 (day): Fix spelling of Sunday, should be "sapaat" rather than
12054 "sabaat".
12055
12056 2018-10-02 Joseph Myers <joseph@codesourcery.com>
12057
12058 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12059
12060 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
12061
12062 [BZ #19444]
12063 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
12064 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
12065 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
12066
12067 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12068
12069 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
12070
12071 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
12072
12073 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
12074 Add -mrtm.
12075 (CFLAGS-elision-unlock.c): Likewise.
12076 (CFLAGS-elision-timed.c): Likewise.
12077 (CFLAGS-elision-trylock.c): Likewise.
12078 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
12079
12080 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12081
12082 [BZ #21037]
12083 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
12084 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
12085 new fd_to_filename interface.
12086 * libio/freopen64.c (freopen64): Likewise.
12087 * libio/tst-memstream.h: New file.
12088 * libio/tst-memstream4.c: Likewise.
12089 * libio/tst-wmemstream4.c: Likewise.
12090 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
12091 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
12092 and remove internal dynamic allocation.
12093
12094 2018-10-01 Joseph Myers <joseph@codesourcery.com>
12095
12096 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
12097 (MREMAP_MAYMOVE): Do not define here.
12098 [__USE_GNU] (MREMAP_FIXED): Likewise.
12099 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
12100 (MREMAP_MAYMOVE): Define here instead.
12101 [__USE_GNU] (MREMAP_FIXED): Likewise.
12102 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
12103 (MREMAP_MAYMOVE): Remove.
12104 [__USE_GNU] (MREMAP_FIXED): Likewise.
12105
12106 2018-09-28 Joseph Myers <joseph@codesourcery.com>
12107
12108 * math/fromfp.h: Do not include <math_private.h>.
12109 * math/s_cacosh_template.c: Likewise.
12110 * math/s_casin_template.c: Likewise.
12111 * math/s_casinh_template.c: Likewise.
12112 * math/s_ccos_template.c: Likewise.
12113 * math/s_cproj_template.c: Likewise.
12114 * math/s_fdim_template.c: Likewise.
12115 * math/s_fmaxmag_template.c: Likewise.
12116 * math/s_fminmag_template.c: Likewise.
12117 * math/s_iseqsig_template.c: Likewise.
12118 * math/s_ldexp_template.c: Likewise.
12119 * math/s_nextdown_template.c: Likewise.
12120 * math/w_log1p_template.c: Likewise.
12121 * math/w_scalbln_template.c: Likewise.
12122 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12123 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12124 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12125 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12126 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12127 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12128 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12129 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12130 * sysdeps/i386/fpu/s_atanl.c: Likewise.
12131 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12132 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12133 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12134 * sysdeps/i386/fpu/s_logbl.c: Likewise.
12135 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12136 * sysdeps/i386/fpu/s_significandl.c: Likewise.
12137 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
12138 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
12139 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12140 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12141 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12142 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12143 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12144 * sysdeps/ieee754/k_standardf.c: Likewise.
12145 * sysdeps/ieee754/k_standardl.c: Likewise.
12146 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12147 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12148 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
12149 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12150 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12151 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12152 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12153 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12154 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12155 * sysdeps/ieee754/s_signgam.c: Likewise.
12156 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12157 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
12158 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
12159 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12160 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12161 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12162 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12163 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12164 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12165 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12166 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12167 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12168 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12169 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12170 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12171 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12172 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12173 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12174 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12175 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12176 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12177 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12178 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12179 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12180 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12181 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12182 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12183 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12184 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12185 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12186 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12187 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12188 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12189 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12190 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12191 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12192 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
12193 <math_private.h>.
12194 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12195
12196 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
12197
12198 [BZ #23716]
12199 * sysdeps/i386/dl-cet.c: Removed.
12200 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
12201 prototype.
12202 (_dl_runtime_profile_shstk): Likewise.
12203 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
12204 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
12205
12206 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12207
12208 [BZ #23579]
12209 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
12210 do_test_with_invalid_iov): New tests.
12211 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
12212 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
12213 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
12214 errno is ENOSYS.
12215 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12216 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12217 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
12218
12219 2018-09-27 Joseph Myers <joseph@codesourcery.com>
12220
12221 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12222 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
12223 (MATH_REDIRECT_BINARY_ARGS): New macro.
12224 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12225 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
12226 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
12227 header inclusion.
12228 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
12229 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12230 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
12231 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12232 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12233 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12234 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12236 Likewise.
12237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
12238 Likewise.
12239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
12241 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
12242 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
12243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
12244 Likewise.
12245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
12246 Likewise.
12247 * sysdeps/generic/math_private_calls.h
12248 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
12249 Do not declare and define as an inline function.
12250 * math/divtc3.c (__divtc3): Use copysign functions instead of
12251 __copysign variants.
12252 * math/multc3.c (__multc3): Likewise.
12253 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
12254 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
12255 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12256 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12257 Likewise.
12258 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12259 (__ieee754_yn): Likewise.
12260 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12261 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
12262 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12263 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12264 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
12265 (__sin): Likewise.
12266 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12267 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12268 Likewise.
12269 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12270 Likewise.
12271 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12272 Likewise.
12273 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12274 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12275 Likewise.
12276 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12277 (__ieee754_ynf): Likewise.
12278 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12279 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12280 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12281 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12282 Likewise.
12283 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12284 (__ieee754_ynl): Likewise.
12285 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12286 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12287 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12288 Likewise.
12289 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12290 (__ieee754_ynl): Likewise.
12291 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
12292 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12293 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12294 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12295 Likewise.
12296 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12297 (__ieee754_ynl)
12298 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
12299 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12300 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
12301 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12302 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12303
12304 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12305 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
12306 using MATH_REDIRECT.
12307 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
12308 header inclusion.
12309 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
12310 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12311 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12312 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
12313 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12314 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12315 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
12317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
12318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
12319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
12320 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12321 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12322 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12323 (round): Redirect to __round.
12324 (__roundl): Call round instead of __round.
12325 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
12326 Remove macro.
12327 [_ARCH_PWR5X] (__roundf): Likewise.
12328 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
12329 functions instead of __round variants.
12330 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12331 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12332 Likewise.
12333 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12334 Likewise.
12335 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12336 Likewise.
12337 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
12338 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
12339 __lroundl.
12340 (__ieee754_expl): Call roundl instead of __roundl.
12341
12342 2018-09-27 Andreas Schwab <schwab@suse.de>
12343
12344 [BZ #23717]
12345 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
12346 (do_test): Make st1 static.
12347
12348 2018-09-26 Andreas Schwab <schwab@suse.de>
12349
12350 [BZ #23707]
12351 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
12352 * elf/Makefile (tests): Add tst-unwind-ctor.
12353 (modules-names): Add tst-unwind-ctor-lib.
12354 ($(objpfx)tst-unwind-ctor): Depend on
12355 $(objpfx)tst-unwind-ctor-lib.so.
12356
12357 2018-09-26 Joseph Myers <joseph@codesourcery.com>
12358
12359 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
12360 file. Most contents moved from ....
12361 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
12362 and include <bits/mman-map-flags-generic.h>.
12363 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12364 (sysdep_headers): Add bits/mman-map-flags-generic.h.
12365 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
12366 <bits/mman-map-flags-generic.h>.
12367 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
12368 macros defined in <bits/mman-map-flags-generic.h>.
12369 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
12370 <bits/mman-map-flags-generic.h>.
12371 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
12372 defined in <bits/mman-map-flags-generic.h>.
12373
12374 2018-09-26 Andreas Schwab <schwab@suse.de>
12375
12376 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
12377 output.
12378
12379 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
12380 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12381 Fangrui Song <maskray@google.com>
12382
12383 [BZ #20480]
12384 * config.make.in (have-textrel_ifunc): New define.
12385 * configure.ac: Add check if linker supports textrel relocation with
12386 ifunc.
12387 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
12388 tst-ifunc-textrel.
12389 (CFLAGS-tst-ifunc-textrel.c): New rule.
12390 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
12391 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
12392 * elf/tst-ifunc-textrel.c: New file.
12393
12394 2018-09-25 Joseph Myers <joseph@codesourcery.com>
12395
12396 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12397 <bits/procfs-prregset.h>.
12398 (prgregset_t): Define using __prgregset_t.
12399 (prfpregset_t): Define using __prfpregset_t.
12400 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12401 (sysdep_headers): Add bits/procfs-prregset.h.
12402 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
12403 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
12404 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
12405 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
12406
12407 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12408 <bits/procfs-id.h> and <bits/procfs-extra.h>.
12409 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
12410 pr_uid and pr_gid.
12411 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12412 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
12413 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
12414 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
12415 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
12416 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
12417 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
12418 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
12419 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
12420 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
12421 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
12422 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
12423 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
12424 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
12425 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
12426 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
12427 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
12428 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
12429 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
12430 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
12431 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
12432 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
12433 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12434 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
12435
12436 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
12437 AArch64 version. Include <bits/procfs.h>.
12438 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12439 (sysdep_headers): Add bits/procfs.h.
12440 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
12441 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
12442 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
12443 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
12444 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
12445 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
12446 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
12447 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
12448 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
12449 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
12450 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
12451 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
12452 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
12453 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
12454 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
12455 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12456 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12457
12458 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12459
12460 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
12461 Use libsupport.
12462
12463 2018-09-25 Arjun Shankar <arjun@redhat.com>
12464
12465 * iconv/gconv_int.h (__gconv_path_elem): Remove.
12466 (__gconv_max_path_elem_len): Likewise.
12467 (__gconv_nmodules): Likewise.
12468 (__gconv_get_path): Likewise.
12469 (path_elem): Move to ...
12470 * iconv/gconv_conf.c: ... here.
12471 (__gconv_get_path): Mark function static.
12472 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
12473 * iconv/gconv_open.c: ... here.
12474
12475 2018-09-24 Andreas Schwab <schwab@suse.de>
12476
12477 * scripts/haveversions.awk: New file.
12478 * Makerules ($(common-objpfx)Versions.def)
12479 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12480 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12481 Move rules ...
12482 * Makeconfig ($(common-objpfx)Versions.def)
12483 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12484 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12485 ... here.
12486 ($(common-objpfx)Versions.mk): New rule. Include it.
12487 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
12488 Emit error if build-obsolete-nsl = yes.
12489 * manual/install.texi (Configuring and compiling): Describe
12490 --enable-obsolete-nsl as unavaiable after version 2.28.
12491 * INSTALL: Regenerate.
12492
12493 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12494
12495 * NEWS: Add note about new TLE support on powerpc64le.
12496 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
12497 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
12498 __ununsed1.
12499 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
12500 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
12501 * sysdeps/powerpc/powerpc32/sysdep.h,
12502 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
12503 ABORT_TRANSACTION): Remove macros.
12504 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12505 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
12506 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
12507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
12508 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12509 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
12510 usage.
12511 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
12512
12513 2018-09-21 Rafał Lużyński <digitalfreak@lingonborough.com>
12514
12515 [BZ #10425]
12516 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
12517 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
12518 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
12519 which is the same as in it_IT.
12520 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
12521 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
12522
12523 2018-09-20 Joseph Myers <joseph@codesourcery.com>
12524
12525 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12526 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
12527 using MATH_REDIRECT.
12528 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
12529 header inclusion.
12530 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
12531 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12532 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
12533 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12534 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12535 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
12537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
12538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
12539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
12540 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12541 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12542 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12543 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12544 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
12545 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
12546 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
12547 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12548 (ceil): Redirect to __ceil.
12549 (floor): Redirect to __floor.
12550 (trunc): Redirect to __trunc.
12551 (__truncl): Call trunc instead of __trunc.
12552 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
12553 Remove macro.
12554 [_ARCH_PWR5X] (__truncf): Likewise.
12555 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
12556 trunc functions instead of __trunc variants.
12557 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12558 Likewise.
12559 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12560 Likewise.
12561 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12562 Likewise.
12563 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12564 Likewise.
12565
12566 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
12567 [__i586__ || __pentium__].
12568 [__i486__]: Handle explicitly.
12569 (HAS_CPUID): Define to 1 if above macros are undefined.
12570 (HAS_I586): Likewise.
12571 (HAS_I686): Likewise.
12572
12573 2018-09-20 Florian Weimer <fweimer@redhat.com>
12574
12575 * misc/tst-gethostid.c: New file.
12576 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
12577 (tst-gethostid): Link with -ldl.
12578
12579 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
12580
12581 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
12582 value from gethostbyname_r.
12583
12584 2018-09-19 Carlos O'Donell <carlos@redhat.com>
12585
12586 * stdlib/tst-setcontext9.c (f1): Rename to...
12587 (f1a): ... this.
12588 (f1b): New function implementing lower half of f1 in alternate stack.
12589
12590 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
12591
12592 Fix mktime localtime offset confusion
12593 [BZ #23603]
12594 * include/time.h (__mktime_internal): The localtime offset is now
12595 of type long int instead of time_t. This is the longstanding type
12596 in glibc, and it is more than enough to represent difference
12597 between localtime and gmtime even if it is 32 bits and time_t is
12598 64. Changing it now will let us avoid an unnecessary change when
12599 time_t is widened to 64 bits on 32-bit platforms.
12600 * time/mktime-internal.h (mktime_offset_t): Now long int.
12601
12602 Merge mktime, timegm from upstream Gnulib
12603 [BZ #23603][BZ #16346]
12604 This fixes some obscure problems with integer overflow.
12605 Although it looks scary, it is almost all a byte-for-byte copy
12606 from Gnulib, and the Gnulib code has been tested reasonably well.
12607 * include/intprops.h: New file, copied from Gnulib.
12608 * include/verify.h, time/mktime-internal.h:
12609 New tiny files, simplified from Gnulib.
12610 * time/mktime.c: Copy from Gnulib. This has the following changes:
12611 Do not include config.h if DEBUG_MKTIME is nonzero.
12612 Include stdbool.h, intprops.h, verify.h.
12613 Include string.h only if needed.
12614 Include stdlib.h on MS-Windows.
12615 Include mktime-internal.h.
12616 (DEBUG_MKTIME): Default to 0, and simplify later uses.
12617 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
12618 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
12619 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
12620 simplify later conditionals; default the others to zero. Use
12621 these conditionals to express only the code needed on the current
12622 platform. In uses of these conditionals, explicitly spell out how
12623 _LIBC affects things, so it’s easier to review from a glibc
12624 viewpoint.
12625 (WRAPV): Remove; no longer needed now that we have
12626 systematic overflow checking.
12627 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
12628 compartmentalize tzset issues. Move system-dependent tzsettish
12629 code here from mktime.
12630 (verify): Remove; now done by verify.h. All uses changed.
12631 (long_int): Use a more-conservative definition, to avoid
12632 integer overflow.
12633 (SHR): Remove, replacing with ...
12634 (shr): New function, which means we needn’t worry about side
12635 effects in args, and conversion analysis is simpler.
12636 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
12637 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
12638 (time_t_avg, time_t_add_ok): Remove.
12639 (mktime_min, mktime_max): New constants.
12640 (leapyear, isdst_differ): Use bool for booleans.
12641 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
12642 Use long_int, not time_t, for mktime differences.
12643 (long_int_avg): New function, replacing time_t_avg.
12644 INT_ADD_WRAPV replaces time_t_add_ok.
12645 (guess_time_tm): 6th arg is now long_int, not time_t const *.
12646 All uses changed.
12647 (convert_time): New function.
12648 (ranged_convert): Use it.
12649 (__mktime_internal): Last arg now points to mktime_offset_t, not
12650 time_t. All uses changed. This is a no-op on glibc, where
12651 mktime_offset_t is always time_t. Use int, not time_t, for UTC
12652 offset guess. Directly check for integer overflow instead of
12653 using a heuristic that works only 99.9...% of the time.
12654 Access *OFFSET only once, to avoid an unlikely race if the
12655 compiler delays a load and if this cascades into a signed integer
12656 overflow.
12657 (mktime): Move tzsettish code to my_tzset, and move
12658 localtime_offset to within mktime so that it doesn’t
12659 need a separate ifdef.
12660 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
12661 instead of localtime.
12662 * time/timegm.c: Copy from Gnulib. This has the following changes:
12663 Include mktime-internal.h.
12664 [!_LIBC]: Include config.h and time.h. Do not include
12665 timegm.h or time_r.h. Make __mktime_internal a macro,
12666 and include mktime-internal.h to get its declaration.
12667 (timegm): Temporary is now mktime_offset_t, not time_t.
12668 This affects only Gnulib.
12669
12670 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12671
12672 [BZ #23637]
12673 * string/test-strstr.c (pr23637): New function.
12674 (test_main): Add tests with longer needles.
12675 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
12676 * string/strstr.c (AVAILABLE): Likewise.
12677
12678 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12679
12680 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
12681
12682 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12683
12684 * NEWS: Mention pow improvements.
12685 * math/Makefile (type-double-routines): Add e_pow_log_data.
12686 * sysdeps/generic/math_private.h (__exp1): Remove.
12687 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
12688 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
12689 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
12690 contraction.
12691 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
12692 (exp_inline): Remove.
12693 (__ieee754_exp): Only single double input is handled.
12694 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
12695 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
12696 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
12697 (__pow_log_data): Define.
12698 * sysdeps/ieee754/dbl-64/upow.h: Remove.
12699 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
12700 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
12701 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
12702 contraction.
12703 (CFLAGS-e_pow-fma4.c): Likewise.
12704
12705 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
12706
12707 Simplify tzfile fstat failure code
12708 [BZ #21716]
12709 * time/tzfile.c (__tzfile_read): Simplify slightly.
12710
12711 Fix tzfile low-memory assertion failure
12712 [BZ #21716]
12713 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
12714 when registering time zone abbreviations.
12715
12716 2018-09-18 Joseph Myers <joseph@codesourcery.com>
12717
12718 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
12719 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
12720 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
12721 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
12722 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
12723 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
12724 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12725 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12726 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12727
12728 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
12729 __ceil.
12730 (__ceill): Call ceil instead of __ceil.
12731 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
12732 __floor.
12733 (__floorl): Call floor instead of __floor.
12734
12735 2018-09-17 Joseph Myers <joseph@codesourcery.com>
12736
12737 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12738 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
12739 using MATH_REDIRECT.
12740 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
12741 header inclusion.
12742 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
12743 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12744 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12745 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
12746 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12747 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12748 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12749 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
12750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
12751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
12752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
12753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
12754 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12755 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12756 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12757 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12758 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
12759 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
12760 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
12761 Remove macro.
12762 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
12763 functions instead of __ceil variants.
12764 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12765 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12766 Likewise.
12767 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12768 Likewise.
12769 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12770 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12771 Likewise.
12772 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12773 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12774
12775 [BZ #21286]
12776 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
12777 constant.
12778 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
12779 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
12780 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
12781 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
12782 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
12783 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
12784 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
12785 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
12786 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
12787 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
12788 (ILL_BADIADDR): Remove constant.
12789 (TRAP_BRANCH): Likewise.
12790 (TRAP_HWBKPT): Likewise.
12791
12792 2018-09-14 Joseph Myers <joseph@codesourcery.com>
12793
12794 [BZ #23656]
12795 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
12796 Remove [_MIPS_SIM = _ABIN32] conditional case.
12797 (struct elf_prpsinfo): Likewise.
12798
12799 [BZ #23649]
12800 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
12801 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
12802 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
12803 Likewise.
12804 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
12805 elf_prpsinfo): Likewise.
12806 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
12807 elf_prpsinfo): Likewise.
12808 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
12809 Likewise.
12810
12811 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12812 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
12813 using MATH_REDIRECT.
12814 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
12815 header inclusion.
12816 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
12817 * sysdeps/alpha/fpu/s_rint.c: Likewise.
12818 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
12819 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12820 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12821 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12822 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
12823 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12824 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12825 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12826 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
12827 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
12828 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
12829 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
12830 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
12831 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12832 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12833 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12834 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
12836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
12837 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
12838 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
12839 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
12840 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
12841 * sysdeps/x86_64/fpu/math_private.h: Remove file.
12842 * math/e_scalb.c (invalid_fn): Use rint functions instead of
12843 __rint variants.
12844 * math/e_scalbf.c (invalid_fn): Likewise.
12845 * math/e_scalbl.c (invalid_fn): Likewise.
12846 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12847 Likewise.
12848 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12849 Likewise.
12850 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12851 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
12852 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12853 Likewise.
12854 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12855 Likewise.
12856 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12857 Likewise.
12858 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
12859 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
12860
12861 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12862 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
12863 New macro.
12864 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12865 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
12866 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12867 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
12868 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12869 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
12870 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12871 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
12872 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12873 && !NO_MATH_REDIRECT] (floor): Likewise.
12874 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
12875 header inclusion.
12876 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
12877 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12878 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12879 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
12880 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12881 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12882 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12883 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
12884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
12885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
12886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
12887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
12888 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12889 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12890 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12891 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12892 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
12893 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
12894 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
12895 Remove macro.
12896 [_ARCH_PWR5X] (__floorf): Likewise.
12897 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
12898 inline function.
12899 [__SSE4_1__] (__floorf): Likewise.
12900 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
12901 instead of __floor variants.
12902 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
12903 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
12904 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
12905 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
12906 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
12907 * math/w_tgamma_compat.c (__tgamma): Likewise.
12908 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
12909 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
12910 * math/w_tgammal_compat.c (__tgammal): Likewise.
12911 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
12912 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12913 Likewise.
12914 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12915 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
12916 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12917 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12918 Likewise.
12919 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12920 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
12921 Likewise.
12922 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12923 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
12924 Likewise.
12925 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12926 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
12927 Likewise.
12928 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12929 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12930 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
12931 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
12932 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12933 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12934
12935 2018-09-12 Joseph Myers <joseph@codesourcery.com>
12936
12937 * elf/Makefile (modules-names-tests): New variable.
12938
12939 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12940
12941 * NEWS: Mention log2 improvements.
12942 * math/Makefile (type-double-routines): Add e_log2_data.
12943 * sysdeps/i386/fpu/e_log2_data.c: New file.
12944 * sysdeps/ia64/fpu/e_log2_data.c: New file.
12945 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
12946 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
12947 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
12948 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
12949 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
12950
12951 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12952
12953 * NEWS: Mention log improvement.
12954 * math/Makefile (type-double-routines): Add e_log_data.
12955 * sysdeps/i386/fpu/e_log_data.c: New file.
12956 * sysdeps/ia64/fpu/e_log_data.c: New file.
12957 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
12958 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
12959 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
12960 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
12961 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
12962 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
12963
12964 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
12965 Xuepeng Guo <xuepeng.guo@intel.com>
12966
12967 [BZ #23606]
12968 * sysdeps/i386/start.S: Include <sysdep.h>
12969 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
12970 enabled. Add cfi_undefined (eip).
12971
12972 2018-09-11 Joseph Myers <joseph@codesourcery.com>
12973
12974 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
12975 (MOVQ): Likewise.
12976 (EXTRACT_WORDS64): Likewise.
12977 (INSERT_WORDS64): Likewise.
12978 (GET_FLOAT_WORD): Likewise.
12979 (SET_FLOAT_WORD): Likewise.
12980
12981 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
12982 argument.
12983 (Config.build_gcc): Use --disable-libsanitizer for first GCC
12984 build, but not for second build if --full-gcc. Use
12985 --enable-languages=all for second build if --full-gcc.
12986 (get_parser): Add --full-gcc option.
12987 (main): Update call to Context.
12988
12989 2018-09-10 Rafał Lużyński <digitalfreak@lingonborough.com>
12990
12991 [BZ #10797]
12992 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
12993 Single Quotation Mark).
12994 (thousands_sep): Likewise.
12995 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
12996 * localedata/locales/it_IT (thousands_sep): Use ".".
12997 (grouping): Use "3;3".
12998
12999 2018-09-10 Joseph Myers <joseph@codesourcery.com>
13000
13001 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
13002 x86_64 and i686 configs using --enable-obsolete-rpc
13003 --enable-obsolete-nsl.
13004
13005 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
13006
13007 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13008
13009 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
13010
13011 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
13012 Increment size of new_argv by one.
13013
13014 2018-09-05 Rafał Lużyński <digitalfreak@lingonborough.com>
13015
13016 [BZ #17426]
13017 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
13018 * localedata/locales/ar_IN (d_fmt): Likewise.
13019 * localedata/locales/bhb_IN (d_fmt): Likewise.
13020 * localedata/locales/bho_IN (d_fmt): Likewise.
13021 * localedata/locales/bn_BD (d_fmt): Likewise.
13022 * localedata/locales/bn_IN (d_fmt): Likewise.
13023 * localedata/locales/doi_IN (d_fmt): Likewise.
13024 * localedata/locales/gu_IN (d_fmt): Likewise.
13025 * localedata/locales/hi_IN (d_fmt): Likewise.
13026 * localedata/locales/hne_IN (d_fmt): Likewise.
13027 * localedata/locales/kn_IN (d_fmt): Likewise.
13028 * localedata/locales/mag_IN (d_fmt): Likewise.
13029 * localedata/locales/mai_IN (d_fmt): Likewise.
13030 * localedata/locales/mjw_IN (d_fmt): Likewise.
13031 * localedata/locales/ml_IN (d_fmt): Likewise.
13032 * localedata/locales/mni_IN (d_fmt): Likewise.
13033 * localedata/locales/mr_IN (d_fmt): Likewise.
13034 * localedata/locales/pa_IN (d_fmt): Likewise.
13035 * localedata/locales/raj_IN (d_fmt): Likewise.
13036 * localedata/locales/sat_IN (d_fmt): Likewise.
13037 * localedata/locales/sd_IN (d_fmt): Likewise.
13038 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
13039 * localedata/locales/ta_IN (d_fmt): Likewise.
13040 * localedata/locales/ta_LK (d_fmt): Likewise.
13041 * localedata/locales/tcy_IN (d_fmt): Likewise.
13042 * localedata/locales/ur_IN (d_fmt): Likewise.
13043
13044 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
13045 * localedata/locales/ks_IN (d_fmt): Likewise.
13046 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
13047
13048 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
13049 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
13050 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
13051 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
13052
13053 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
13054
13055 * NEWS: Mention exp and exp2 improvements.
13056 * math/Makefile (libm-support): Remove t_exp.
13057 (type-double-routines): Add math_err and e_exp_data.
13058 * sysdeps/aarch64/libm-test-ulps: Update.
13059 * sysdeps/arm/libm-test-ulps: Update.
13060 * sysdeps/i386/fpu/e_exp_data.c: New file.
13061 * sysdeps/i386/fpu/math_err.c: New file.
13062 * sysdeps/i386/fpu/t_exp.c: Remove.
13063 * sysdeps/ia64/fpu/e_exp_data.c: New file.
13064 * sysdeps/ia64/fpu/math_err.c: New file.
13065 * sysdeps/ia64/fpu/t_exp.c: Remove.
13066 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
13067 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
13068 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
13069 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
13070 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
13071 * sysdeps/ieee754/dbl-64/math_config.h: New file.
13072 * sysdeps/ieee754/dbl-64/math_err.c: New file.
13073 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
13074 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
13075 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
13076 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
13077 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
13078 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
13079 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
13080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13081 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13082
13083 2018-09-05 Joseph Myers <joseph@codesourcery.com>
13084
13085 * sysdeps/alpha/fpu/math_private.h: Remove.
13086
13087 * sysdeps/generic/math_private.h
13088 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
13089 Move this inline function ....
13090 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
13091 * include/math.h [!_ISOMAC]: To here....
13092
13093 2018-09-04 Joseph Myers <joseph@codesourcery.com>
13094
13095 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
13096 code ....
13097 [!FE_HAVE_ROUNDING_MODES]: And this code ....
13098 * include/fenv.h [!_ISOMAC]: ... to here.
13099 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
13100 (feraiseexcept): Likewise.
13101 * math/fromfp.h: Do not include <fenv_private.h>.
13102 * math/s_cexp_template.c: Likewise.
13103 * math/s_csin_template.c: Likewise.
13104 * math/s_csinh_template.c: Likewise.
13105 * math/s_ctan_template.c: Likewise.
13106 * math/s_ctanh_template.c: Likewise.
13107 * math/s_iseqsig_template.c: Likewise.
13108 * math/w_acos_compat.c: Likewise.
13109 * math/w_acosf_compat.c: Likewise.
13110 * math/w_acosl_compat.c: Likewise.
13111 * math/w_asin_compat.c: Likewise.
13112 * math/w_asinf_compat.c: Likewise.
13113 * math/w_asinl_compat.c: Likewise.
13114 * math/w_j0_compat.c: Likewise.
13115 * math/w_j0f_compat.c: Likewise.
13116 * math/w_j0l_compat.c: Likewise.
13117 * math/w_j1_compat.c: Likewise.
13118 * math/w_j1f_compat.c: Likewise.
13119 * math/w_j1l_compat.c: Likewise.
13120 * math/w_jn_compat.c: Likewise.
13121 * math/w_jnf_compat.c: Likewise.
13122 * math/w_log10_compat.c: Likewise.
13123 * math/w_log10f_compat.c: Likewise.
13124 * math/w_log10l_compat.c: Likewise.
13125 * math/w_log2_compat.c: Likewise.
13126 * math/w_log2f_compat.c: Likewise.
13127 * math/w_log2l_compat.c: Likewise.
13128 * math/w_log_compat.c: Likewise.
13129 * math/w_logf_compat.c: Likewise.
13130 * math/w_logl_compat.c: Likewise.
13131 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13132 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13133 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13134 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13135 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13136 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13137 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13138 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13139 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13140 * sysdeps/ieee754/k_standardl.c: Likewise.
13141 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13142 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13143 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13144 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13145 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13146 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13147 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13148 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13149 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13150 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13151 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13152 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13153 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13154 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13155 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13156 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13157 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13158 * math/w_ilogb_template.c: Include <fenv.h> instead of
13159 <fenv_private.h>.
13160 * math/w_llogb_template.c: Likewise.
13161 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13162 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13163
13164 2018-09-03 Joseph Myers <joseph@codesourcery.com>
13165
13166 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
13167 * math/fromfp.h: Include <fenv_private.h>.
13168 * math/math-narrow.h: Likewise.
13169 * math/s_cexp_template.c: Likewise.
13170 * math/s_csin_template.c: Likewise.
13171 * math/s_csinh_template.c: Likewise.
13172 * math/s_ctan_template.c: Likewise.
13173 * math/s_ctanh_template.c: Likewise.
13174 * math/s_iseqsig_template.c: Likewise.
13175 * math/w_acos_compat.c: Likewise.
13176 * math/w_acosf_compat.c: Likewise.
13177 * math/w_acosl_compat.c: Likewise.
13178 * math/w_asin_compat.c: Likewise.
13179 * math/w_asinf_compat.c: Likewise.
13180 * math/w_asinl_compat.c: Likewise.
13181 * math/w_ilogb_template.c: Likewise.
13182 * math/w_j0_compat.c: Likewise.
13183 * math/w_j0f_compat.c: Likewise.
13184 * math/w_j0l_compat.c: Likewise.
13185 * math/w_j1_compat.c: Likewise.
13186 * math/w_j1f_compat.c: Likewise.
13187 * math/w_j1l_compat.c: Likewise.
13188 * math/w_jn_compat.c: Likewise.
13189 * math/w_jnf_compat.c: Likewise.
13190 * math/w_llogb_template.c: Likewise.
13191 * math/w_log10_compat.c: Likewise.
13192 * math/w_log10f_compat.c: Likewise.
13193 * math/w_log10l_compat.c: Likewise.
13194 * math/w_log2_compat.c: Likewise.
13195 * math/w_log2f_compat.c: Likewise.
13196 * math/w_log2l_compat.c: Likewise.
13197 * math/w_log_compat.c: Likewise.
13198 * math/w_logf_compat.c: Likewise.
13199 * math/w_logl_compat.c: Likewise.
13200 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
13201 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
13202 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
13203 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
13204 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13205 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13206 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13207 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13208 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13209 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13210 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13211 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13212 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
13213 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13214 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13215 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13216 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13217 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13218 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13219 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13220 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13221 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13222 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13223 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13224 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13225 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13226 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13227 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13228 * sysdeps/ieee754/float128/float128_private.h: Likewise.
13229 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13230 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13231 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13232 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13233 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13234 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13235 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13236 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13237 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13238 * sysdeps/ieee754/k_standardl.c: Likewise.
13239 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13240 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13241 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13242 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13243 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13244 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13245 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13246 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13247 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13248 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13249 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13250 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13251 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13252 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13253 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13254 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13255 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13256 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13257 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13258 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13259 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13260 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13261 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13262 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13263 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13264 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13265 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13266 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13267 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13268 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13269 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13270 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13271 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13272 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13273 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13274 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13275 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13276 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13277 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
13278 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13279 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
13280 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
13281 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
13282 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13283 * sysdeps/riscv/rvd/s_finite.c: Likewise.
13284 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
13285 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
13286 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
13287 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
13288 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
13289 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
13290 * sysdeps/riscv/rvf/fegetround.c: Likewise.
13291 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
13292 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
13293 * sysdeps/riscv/rvf/fesetround.c: Likewise.
13294 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
13295 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
13296 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
13297 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13298 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
13299 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13300 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
13301 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
13302 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
13303 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
13304 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
13305 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
13306 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
13307 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
13308 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
13309 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13310
13311 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13312
13313 [BZ #20271]
13314 * include/stdio.h (__libc_fatal): Mention newline in comment.
13315 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
13316 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
13317 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13318 * nss/nsswitch.c (__nss_next2): Likewise.
13319 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
13320 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
13321 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
13322 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13323 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
13324 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
13325 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
13326 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
13327 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
13328 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
13329 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
13330 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13331 (__netlink_assert_response): Likewise.
13332
13333 2018-08-31 Joseph Myers <joseph@codesourcery.com>
13334
13335 * conform/glibcconform.py: New file.
13336 * conform/list-header-symbols.py: Likewise.
13337 * conform/list-header-symbols.pl: Remove.
13338 * conform/Makefile (tests-special): Only add linknamespace tests
13339 if [PYTHON].
13340 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
13341
13342 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
13343
13344 [BZ #23597]
13345 * support/Makefile (libsupport-routines): Add
13346 support_copy_file_range and xcopy_file_range.
13347 * support/support.h: Include <sys/types.h>.
13348 (support_copy_file_range): New prototype.
13349 * support/support_copy_file_range.c: New file. Copied and
13350 modified from io/copy_file_range-compat.c.
13351 * support/test-container.c (copy_one_file): Call xcopy_file_rang
13352 instead of copy_file_range.
13353 * support/xcopy_file_range.c: New file.
13354 * support/xunistd.h (xcopy_file_range): New prototype.
13355
13356 2018-08-30 Carlos O'Donell <carlos@redhat.com>
13357
13358 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
13359 xpthread_create and xpthread_join.
13360
13361 2018-08-30 Florian Weimer <fweimer@redhat.com>
13362
13363 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
13364
13365 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
13366
13367 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
13368 if malloc fails.
13369
13370 2018-08-29 Joseph Myers <joseph@codesourcery.com>
13371
13372 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
13373 and minus_oflow as non-finite.
13374
13375 2018-08-28 Joseph Myers <joseph@codesourcery.com>
13376
13377 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
13378 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
13379 moved to fenv_private.h except for ...
13380 (TOINT_INTRINSICS): Kept in math_private.h.
13381 (roundtoint): Likewise.
13382 (converttoint): Likewise.
13383 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
13384 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13385 * sysdeps/arm/math_private.h: Remove.
13386 * sysdeps/generic/fenv_private.h: New file. Contents moved from
13387 ....
13388 * sysdeps/generic/math_private.h: ... this file. Include
13389 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
13390 Include <fenv_private.h>. Remove functions and macros moved to
13391 fenv_private.h.
13392 * sysdeps/i386/fpu/math_private.h: Remove.
13393 * sysdeps/mips/math_private.h: Move to ....
13394 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
13395 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
13396 [__mips_hard_float] conditional. Include next <fenv_private.h>.
13397 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
13398 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13399 * sysdeps/powerpc/fpu/math_private.h: Do not include
13400 <fenv_private.h>.
13401 * sysdeps/riscv/rvf/math_private.h: Move to ....
13402 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
13403 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
13404 <fenv_private.h>.
13405 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
13406 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13407 * sysdeps/sparc/fpu/math_private.h: Remove.
13408 * sysdeps/i386/fpu/fenv_private.h: Move to ....
13409 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
13410 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
13411 <fenv_private.h>.
13412 * sysdeps/x86_64/fpu/math_private.h: Do not include
13413 <sysdeps/i386/fpu/fenv_private.h>.
13414
13415 2018-08-28 Florian Weimer <fweimer@redhat.com>
13416
13417 [BZ #23578]
13418 * posix/tst-regcomp-truncated.c: New file.
13419 * posix/Makefile (tests): Add it.
13420 (tst-regcomp-truncated.out): Depend on generated locales.
13421
13422 2018-08-28 Florian Weimer <fweimer@redhat.com>
13423
13424 * support/test-container.c (main): Treat unshare failure with
13425 EPERM as an unsupported test.
13426
13427 2018-08-28 Florian Weimer <fweimer@redhat.com>
13428
13429 [BZ #23520]
13430 nscd: Fix use-after-free in addgetnetgrentX and its callers.
13431 * nscd/netgroupcache.c
13432 (addgetnetgrentX): Add tofreep parameter. Do not free
13433 heap-allocated buffer.
13434 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
13435 (addgetnetgrentX_ignore): New function.
13436 (addgetnetgrent): Call it.
13437 (readdgetnetgrent): Likewise.
13438
13439 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13440
13441 * string/memmem.c: Use memcmp for first match.
13442
13443 2018-08-28 Rafał Lużyński <digitalfreak@lingonborough.com>
13444
13445 [BZ #17426]
13446 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
13447
13448 2018-08-27 DJ Delorie <dj@redhat.com>
13449
13450 * support/Makefile (others): Don't list programs explicitly as a
13451 dependency of "others".
13452
13453 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13454
13455 * sysdeps/generic/math-tests-trap-force.h: New file.
13456 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
13457 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
13458 * sysdeps/powerpc/math-tests.h: Remove file.
13459 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
13460
13461 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
13462 Torvald Riegel <triegel@redhat.com>
13463
13464 [BZ #23538]
13465 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
13466 Update r to include the set wake-request flag if waiters are
13467 remaining after spinning.
13468
13469 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13470
13471 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
13472
13473 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
13474
13475 [BZ #23578]
13476 regex: fix uninitialized memory access
13477 I introduced this bug into gnulib in commit
13478 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
13479 eventually it was merged into glibc. The bug was found by
13480 project-repo <bugs@feusi.co> and reported here:
13481 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
13482 Diagnosis and draft fix reported by Assaf Gordon here:
13483 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
13484 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
13485 * posix/regex_internal.c (build_wcs_upper_buffer):
13486 Fix bug when mbrtowc returns 0.
13487
13488 2018-08-24 Carlos O'Donell <carlos@redhat.com>
13489
13490 * po/be.po: Update translation.
13491
13492 2018-08-24 DJ Delorie <dj@delorie.com>
13493
13494 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
13495 $(libunwind).
13496
13497 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13498
13499 [BZ #23400]
13500 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
13501 create temporary files in source tree.
13502
13503 2018-08-24 Joseph Myers <joseph@codesourcery.com>
13504
13505 * sysdeps/generic/math-tests-trap.h: New file.
13506 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
13507 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
13508 * sysdeps/aarch64/math-tests.h: Remove file.
13509 * sysdeps/arm/math-tests.h: Likewise.
13510 * sysdeps/riscv/math-tests.h: Likewise.
13511 * sysdeps/aarch64/math-tests-trap.h: New file.
13512 * sysdeps/arm/math-tests-trap.h: Likewise.
13513 * sysdeps/riscv/math-tests-trap.h: Likewise.
13514
13515 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13516
13517 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
13518 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
13519 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
13520 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
13521 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
13522 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
13523 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13524 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
13525 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
13526 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13527 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13528 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13529 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13530 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
13531 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
13532 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
13533 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13534 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13535
13536 2018-08-23 Joseph Myers <joseph@codesourcery.com>
13537
13538 * sysdeps/generic/math-tests-exceptions.h: New file.
13539 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
13540 (EXCEPTION_TESTS_float): Do not define here.
13541 (EXCEPTION_TESTS_double): Likewise.
13542 (EXCEPTION_TESTS_long_double): Likewise.
13543 (EXCEPTION_TESTS_float128): Likewise.
13544 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
13545 Likewise.
13546 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
13547 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
13548 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
13549 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
13550 * sysdeps/mips/math-tests.h: Likewise.
13551 * sysdeps/nios2/math-tests.h: Likewise.
13552 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13553 (EXCEPTION_TESTS_float): Do not define here.
13554 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
13555 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
13556 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
13557
13558 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13559
13560 * NEWS: Move optimized sinf entry to 2.29.
13561
13562 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13563
13564 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
13565
13566 2018-08-22 DJ Delorie <dj@redhat.com>
13567
13568 * Makefile (testroot.pristine): New rules to initialize the
13569 test-in-container "testroot".
13570 * Makerules (all-testsuite): Add tests-container.
13571 * Rules (tests-expected): Add tests-container.
13572 (binaries-all-tests): Likewise.
13573 (tests-container): New, run these tests in the testroot container.
13574 * support/Makefile (others): Add *-container, support_paths.c,
13575 xmkdirp, and links-dso-program.
13576 * support/links-dso-program-c.c: New.
13577 * support/links-dso-program.cc: New.
13578 * support/test-container.c: New.
13579 * support/shell-container.c: New.
13580 * support/echo-container.c: New.
13581 * support/true-container.c: New.
13582 * support/xmkdirp.c: New.
13583 * support/xsymlink.c: New.
13584 * support/support_paths.c: New.
13585 * support/support.h: Add support paths prototypes.
13586 * support/xunistd.h: Add xmkdirp () and xsymlink ().
13587
13588 * nss/tst-nss-test3.c: Convert to test-in-container.
13589 * nss/tst-nss-test3.root/: New.
13590
13591 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
13592
13593 regex: port Gnulib code to z/OS POSIX environment
13594 Problem reported by Arnold Robbins in:
13595 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
13596 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
13597 Undef.
13598
13599 2018-08-22 Joseph Myers <joseph@codesourcery.com>
13600
13601 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
13602 (ROUNDING_TESTS_double): Remove.
13603 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
13604 (ROUNDING_TESTS_double): Remove.
13605 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
13606 (ROUNDING_TESTS_double): Remove.
13607 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
13608 (ROUNDING_TESTS_float): Remove.
13609 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
13610 (ROUNDING_TESTS_float): Remove.
13611 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
13612 (ROUNDING_TESTS_float): Remove.
13613 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
13614 !TEST_MATHVEC here.
13615 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13616 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13617
13618 * sysdeps/generic/math-tests-rounding.h: New file.
13619 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
13620 (ROUNDING_TESTS_float): Do not define here.
13621 (ROUNDING_TESTS_double): Likewise.
13622 (ROUNDING_TESTS_long_double): Likewise.
13623 (ROUNDING_TESTS_float128): Likewise.
13624 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
13625 (ROUNDING_TESTS_double): Undefine before defining.
13626 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
13627 (ROUNDING_TESTS_double): Undefine before defining.
13628 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
13629 (ROUNDING_TESTS_double): Undefine before defining.
13630 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
13631 (ROUNDING_TESTS_float): Undefine before defining.
13632 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
13633 (ROUNDING_TESTS_float): Undefine before defining.
13634 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
13635 (ROUNDING_TESTS_float): Undefine before defining.
13636 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
13637 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
13638 not define here.
13639 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
13640 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
13641 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
13642 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13643 (ROUNDING_TESTS_float): Do not define here.
13644 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
13645 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
13646 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
13647 (ROUNDING_TESTS_float): Likewise.
13648 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
13649 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
13650 * sysdeps/mips/math-tests.h [__mips_soft_float]
13651 (ROUNDING_TESTS_float): Likewise.
13652 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
13653 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
13654 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
13655 (ROUNDING_TESTS_double): Likewise.
13656 (ROUNDING_TESTS_long_double): Likewise.
13657
13658 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
13659
13660 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
13661 (PF_XDP): New macro.
13662 (AF_XDP): New macro.
13663 (SOL_XDP): New macro.
13664
13665 2018-08-21 Joseph Myers <joseph@codesourcery.com>
13666
13667 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
13668 (TCP_INQ): Likewise.
13669 (TCP_CM_INQ): Likewise.
13670 (TCP_REPAIR_ON): Likewise.
13671 (TCP_REPAIR_OFF): Likewise.
13672 (TCP_REPAIR_OFF_NO_WP): Likewise.
13673 (struct tcp_zerocopy_receive): New type.
13674
13675 2018-08-21 Florian Weimer <fweimer@redhat.com>
13676
13677 * support/support.h (support_descriptor_supports_holes): Declare.
13678 * support/Makefile (libsupport-routines): Add
13679 support_descriptor_supports_holes.
13680 * support/support_descriptor_supports_holes.c: New file.
13681 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
13682 and stop testing if holes are not supported.
13683 * io/test-lfs.c (do_prepare): Likewise.
13684 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
13685 Likewise.
13686 * timezone/tst-tzset.c (create_tz_file): Likewise.
13687 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
13688 variable.
13689 (do_prepare): Set it.
13690 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
13691
13692 2018-08-21 Florian Weimer <fweimer@redhat.com>
13693
13694 [BZ #17248]
13695 * Makeconfig (+cflags): Do not sort (and deduplicate).
13696
13697 2018-08-21 Florian Weimer <fweimer@redhat.com>
13698
13699 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
13700 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
13701
13702 2018-08-20 Florian Weimer <fweimer@redhat.com>
13703
13704 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
13705 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
13706
13707 2018-08-20 Joseph Myers <joseph@codesourcery.com>
13708
13709 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
13710 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
13711 and ssi_arch members.
13712
13713 * elf/elf.c (NT_VMCOREDD): New macro.
13714 (AT_MINSIGSTKSZ): Likewise.
13715
13716 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13717
13718 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13719 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
13720 s_cosf-ppc64 and s_cosf-power8.
13721 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
13722 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13723 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13724 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
13726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
13727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
13728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
13729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13731 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
13732 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13733
13734 2018-08-17 Florian Weimer <fweimer@redhat.com>
13735
13736 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13737
13738 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
13739
13740 * malloc/malloc.c (_int_malloc): Additional binning code checks.
13741
13742 2018-08-16 Florian Weimer <fweimer@redhat.com>
13743
13744 * configure.ac: Add --with-nonshared-cflags option.
13745 * config.make.in (extra-nonshared-cflags): Set variable.
13746 * Makeconfig (CFLAGS-.oS): Use it.
13747 * manual/install.texi (Configuring and compiling): Document
13748 --with-nonshared-cflags.
13749 * configure: Regenerate.
13750 * INSTALL: Likewise.
13751
13752 2018-08-16 Florian Weimer <fweimer@redhat.com>
13753
13754 * Makeconfig (ASFLAGS): Always append required assembler flags.
13755
13756 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
13757
13758 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
13759 (malloc_consolidate): Likewise.
13760
13761 2018-08-16 Pochang Chen <johnchen902@gmail.com>
13762
13763 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
13764
13765 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
13766
13767 * benchtests/bench-strlen.c (do_test): Allocate buffers before
13768 every strlen call.
13769
13770 * benchtests/bench-strlen.c: Print performance numbers in json.
13771
13772 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13773
13774 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13775 (sysdep_routines): Build strcmp-power9 and strncmp-power9
13776 only for little endian.
13777 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13778 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
13779 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
13780 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
13781 Add check for little endian.
13782 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13783 (__strcmp_power9): Add check for little endian.
13784 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
13785 Add check for little endian.
13786 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13787 (__strncmp_power9): Add check for little endian.
13788 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
13789 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
13790 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
13791 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
13792 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
13793
13794 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13795
13796 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
13797 [!STRLEN](STRLEN): Set to __strlen.
13798 * sysdeps/aarch64/multiarch/strlen.c: New file.
13799 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
13800 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
13801 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
13802 (__libc_ifunc_impl_list): Add strlen.
13803 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13804 strlen_generic and strlen_asimd.
13805
13806 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13807
13808 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
13809 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
13810 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13811
13812 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13813
13814 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
13815
13816 2018-08-14 Florian Weimer <fweimer@redhat.com>
13817
13818 [BZ #23519]
13819 * include/stdio.h (__vfxprintf): Declare.
13820 * stdio-common/fxprintf.c (__vfxprintf): New function.
13821 (__fxprintf): Call it.
13822 * misc/err.c (convert_and_print): Remove function.
13823 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
13824 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
13825 * misc/Makefile (tests): Add tst-warn-wide.
13826 * misc/tst-warn-wide.c: New file.
13827
13828 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
13829 Szabolcs Nagy <szabolcs.nagy@arm.com>
13830
13831 * NEWS: Mention sinf, cosf, sincosf.
13832 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
13833 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
13834 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
13835 constants rather than including generic sincosf.h.
13836 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
13837 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
13838 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
13839 (reduced_cos): Remove.
13840 (sinf_poly): New function.
13841 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
13842
13843 2018-08-14 Florian Weimer <fweimer@redhat.com>
13844
13845 [BZ #23521]
13846 [BZ #23522]
13847 * nss/nss_files/files-alias.c (get_next_alias): During :include:
13848 processing, bail out if no room, and close the stream before
13849 returning ERANGE.
13850 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
13851 (tst-nss-files-alias-leak): Link with libdl.
13852 (tst-nss-files-alias-leak.out): Depend on nss_files.
13853
13854 * nss/tst-nss-files-alias-leak.c: New file.
13855
13856 2018-08-14 Florian Weimer <fweimer@redhat.com>
13857
13858 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
13859 server_user, stat_user.
13860
13861 2018-08-13 Joseph Myers <joseph@codesourcery.com>
13862
13863 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13864 version to 4.18.
13865 (io_pgetevents): New syscall.
13866 (rseq): Likewise.
13867
13868 * manual/install.texi (Configuring and compiling): Do not list
13869 tools used for testing pretty printers here.
13870 (Tools for Compilation): List Python, PExpect and GDB here.
13871 Update descriptions of uses of Perl and Python.
13872 * INSTALL: Regenerate.
13873
13874 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13875 version to 4.18.
13876
13877 2018-08-13 Florian Weimer <fweimer@redhat.com>
13878
13879 * misc/error.c (error): Add missing va_end call.
13880 (error_at_line): Likewise.
13881
13882 2018-08-13 Florian Weimer <fweimer@redhat.com>
13883
13884 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
13885
13886 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13887
13888 * benchtests/scripts/benchout.schema.json (properties): Add
13889 new properties.
13890
13891 * benchtests/bench-skeleton.c (main): Add duration and
13892 iterations attributes.
13893
13894 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
13895
13896 regex: Gnulib unibyte RRI uses bytes not chars
13897 Adjust the non-glibc code to agree with what Gawk needs for
13898 rational range interpretation (RRI) for regular expression ranges.
13899 In unibyte locales, Gawk wants ranges to use the underlying byte
13900 rather than the character code point. This change does not affect
13901 glibc proper.
13902 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
13903 In unibyte locales, use the byte value rather than
13904 running it through btowc.
13905
13906 2018-08-10 Joseph Myers <joseph@codesourcery.com>
13907
13908 * sysdeps/generic/math-tests-snan.h: New file.
13909 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
13910 (SNAN_TESTS_float): Do not define here.
13911 (SNAN_TESTS_double): Likewise.
13912 (SNAN_TESTS_long_double): Likewise.
13913 (SNAN_TESTS_float128): Likewise.
13914 * sysdeps/i386/fpu/math-tests-snan.h: New file.
13915 * sysdeps/i386/fpu/math-tests.h: Remove file.
13916 * sysdeps/ia64/math-tests-snan.h: New file.
13917 * sysdeps/ia64/math-tests.h: Remove file.
13918 * sysdeps/x86/math-tests.h: Likewise.
13919 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
13920
13921 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13922 Szabolcs Nagy <szabolcs.nagy@arm.com>
13923
13924 * math/Makefile: Add s_sincosf_data.c.
13925 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
13926 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
13927 (sincosf_poly): Likewise.
13928 (reduce_small): Likewise.
13929 (reduce_large): Likewise.
13930 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
13931 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
13932 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
13933 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
13934
13935 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13936 Szabolcs Nagy <szabolcs.nagy@arm.com>
13937
13938 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
13939 (converttoint): Use lround.
13940 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
13941 document the semantics when TOINT_INTRINSICS is set.
13942 (converttoint): Likewise.
13943 (TOINT_RINT): Remove.
13944 (TOINT_SHIFT): Remove.
13945 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
13946 path.
13947
13948 2018-08-10 Florian Weimer <fweimer@redhat.com>
13949
13950 [BZ #23497]
13951 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
13952 function.
13953 (__old_getdents64): Use getdents64. Convert entries without
13954 moving them.
13955 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
13956 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
13957 tst-readdir64-compat.
13958
13959 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13960
13961 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
13962 Fix unwind.
13963
13964 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13965
13966 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
13967 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
13968 code to s390x-mcount.h and #include it.
13969 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
13970 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13971 (__fentry__): Add.
13972
13973 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13974
13975 * stdlib/Versions: Remove __fentry__.
13976 * sysdeps/i386/Versions: Add __fentry__.
13977 * sysdeps/x86_64/Versions: Add __fentry__.
13978
13979 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13980
13981 * sysdeps/s390/Makefile: Register the new tests.
13982 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
13983 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
13984 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
13985 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
13986 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
13987 * sysdeps/s390/tst-dl-runtime.c: New file.
13988
13989 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13990
13991 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13992 Do not clobber R0.
13993
13994 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13995
13996 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13997 Do not clobber R0.
13998
13999 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14000
14001 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14002 Do not clobber R0.
14003
14004 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14005
14006 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14007 Do not clobber R0.
14008
14009 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14010
14011 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14012 Use symbolic offsets for stack variables.
14013
14014 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14015
14016 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
14017 Use symbolic offsets for stack variables.
14018
14019 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14020
14021 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14022 Use symbolic offsets for stack variables.
14023
14024 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
14025
14026 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14027 Use symbolic offsets for stack variables.
14028
14029 2018-08-09 Joseph Myers <joseph@codesourcery.com>
14030
14031 * math/gen-libm-test.py: New file.
14032 * math/gen-libm-test.pl: Remove.
14033 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
14034 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
14035 gen-libm-test.pl.
14036 ($(libm-test-c-noauto-obj)): Likewise.
14037 ($(libm-test-c-auto-obj)): Likewise.
14038 ($(libm-test-c-narrow-obj)): Likewise.
14039 (regen-ulps): Likewise.
14040 * math/README.libm-test: Update references to gen-libm-test.pl.
14041 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
14042 referencing gen-libm-test.pl.
14043 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
14044 * math/libm-test-support.c: Likewise.
14045 * math/libm-test-support.h: Likewise.
14046 * sysdeps/generic/libm-test-ulps: Likewise.
14047
14048 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
14049
14050 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
14051 Fix value.
14052
14053 2018-08-08 Joseph Myers <joseph@codesourcery.com>
14054
14055 * math/libm-test-nextdown.inc (do_test): Move comment to ....
14056 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
14057
14058 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
14059
14060 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
14061 symbols.
14062 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
14063 __pthread_setspecific): Add hidden proto.
14064 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
14065 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
14066
14067 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14068
14069 * benchtests/bench-string.h (buf1_size, buf2_size): New
14070 variables.
14071 (init_sizes): New function.
14072 (test_init): Use it.
14073 (alloc_buf, exit_error): New functions.
14074 (alloc_bufs): Use ALLOC_BUF.
14075 (realloc_bufs): Remove.
14076 * benchtests/bench-memcmp.c (do_test): Adjust.
14077 * benchtests/bench-memset-large.c (do_test): Likewise.
14078 * benchtests/bench-memset-walk.c (do_test): Likewise.
14079 * benchtests/bench-memset.c (do_test): Likewise.
14080 * benchtests/bench-strncmp.c (do_test): Likewise.
14081
14082 2018-08-06 Andreas Schwab <schwab@suse.de>
14083
14084 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
14085 of CONST_THREAD_AREA.
14086
14087 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
14088
14089 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
14090 (STATE_SAVE_MASK): Likewise.
14091 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
14092 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
14093 (STATE_SAVE_MASK): Likewise.
14094 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
14095 instead of <cpu-features.h>.
14096
14097 2018-08-03 DJ Delorie <dj@redhat.com>
14098
14099 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
14100 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
14101
14102 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
14103
14104 2018-08-03 Joseph Myers <joseph@codesourcery.com>
14105
14106 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
14107 after TEST_* calls.
14108 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
14109 * math/libm-test-logb.inc (logb_test_data): Likewise.
14110
14111 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
14112
14113 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
14114 * string/strstr.c (AVAILABLE): Likewise.
14115
14116 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14117
14118 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
14119 <init-arch.h>.
14120 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
14121 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
14122 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
14123
14124 2018-08-03 Carlos O'Donell <carlos@redhat.com>
14125
14126 * po/be.po: Update translation.
14127
14128 * po/be.po: Update translation.
14129
14130 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
14131
14132 * sysdeps/x86/cpu-features-offsets.sym
14133 (rtld_global_ro_offsetof): Removed.
14134 (CPU_FEATURES_SIZE): Likewise.
14135 (CPUID_OFFSET): Likewise.
14136 (CPUID_SIZE): Likewise.
14137 (CPUID_EAX_OFFSET): Likewise.
14138 (CPUID_EBX_OFFSET): Likewise.
14139 (CPUID_ECX_OFFSET): Likewise.
14140 (CPUID_EDX_OFFSET): Likewise.
14141 (FAMILY_OFFSET): Likewise.
14142 (MODEL_OFFSET): Likewise.
14143 (FEATURE_OFFSET): Likewise.
14144 (FEATURE_SIZ): Likewise.
14145 (COMMON_CPUID_INDEX_1): Likewise.
14146 (COMMON_CPUID_INDEX_7): Likewise.
14147 (FEATURE_INDEX_1): Likewise.
14148 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
14149
14150 2018-08-02 Carlos O'Donell <carlos@redhat.com>
14151
14152 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
14153 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
14154 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
14155 (install-locales): Depend on install-locale-archive.
14156 (install-locale-archive): Define.
14157 (install-locale-files): Define.
14158 (build-one-locale): Define macro.
14159 * manual/install.texi (Running make install): Document.
14160 * manual/INSTALL: Regenerate.
14161
14162 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14163
14164 * benchtests/scripts/compare_strings.py: Import traceback.
14165 (parse_file): Pretty-print error.
14166
14167 * NEWS: Mention the change.
14168 * elf/dl-tunables.list: Rename tune namespace to cpu.
14169 * sysdeps/powerpc/dl-tunables.list: Likewise.
14170 * sysdeps/x86/dl-tunables.list: Likewise.
14171 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
14172 cpu.name.
14173 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
14174 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
14175 * manual/README.tunables: Likewise.
14176 * manual/tunables.texi: Likewise.
14177 * sysdeps/powerpc/cpu-features.c: Likewise.
14178 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
14179 (init_cpu_features): Likewise.
14180 * sysdeps/x86/cpu-features.c: Likewise.
14181 * sysdeps/x86/cpu-features.h: Likewise.
14182 * sysdeps/x86/cpu-tunables.c: Likewise.
14183 * sysdeps/x86_64/Makefile: Likewise.
14184 * sysdeps/x86/dl-cet.c: Likewise.
14185
14186 2018-08-02 Joseph Myers <joseph@codesourcery.com>
14187
14188 [BZ #23479]
14189 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
14190 [__mips_hard_float].
14191 (FE_UNDERFLOW): Likewise.
14192 (FE_OVERFLOW): Likewise.
14193 (FE_DIVBYZERO): Likewise.
14194 (FE_INVALID): Likewise.
14195 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
14196 (FE_TOWARDZERO): Define only if [__mips_hard_float].
14197 (FE_UPWARD): Likewise.
14198 (FE_DOWNWARD): Likewise.
14199 (__FE_UNDEFINED): Define if [!__mips_hard_float]
14200 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
14201 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
14202 [__mips_hard_float].
14203 (FP_ROUNDMODE): Likewise.
14204 (FP_RND_NEAREST): Likewise.
14205 (FP_RND_ZERO): Likewise.
14206 (FP_RND_PINF): Likewise.
14207 (FP_RND_MINF): Likewise.
14208 (FP_EX_INVALID): Likewise.
14209 (FP_EX_OVERFLOW): Likewise.
14210 (FP_EX_UNDERFLOW): Likewise.
14211 (FP_EX_DIVZERO): Likewise.
14212 (FP_EX_INEXACT): Likewise.
14213 (FP_INIT_ROUNDMODE): Likewise.
14214 * sysdeps/mips/nofpu/fesetenv.c: New file.
14215 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
14216
14217 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14218
14219 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
14220 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
14221 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
14222 conditional on [FE_UPWARD].
14223
14224 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
14225
14226 regex: fix memory leak in Gnulib
14227 Problem and fix reported by Assaf Gordon in:
14228 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
14229 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
14230 range_ends members too, as they are defined in 'struct
14231 re_charset_t' even if not _LIBC. This affects only Gnulib.
14232
14233 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
14234
14235 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
14236 ...
14237 (get_common_indices): This.
14238 (init_cpu_features): Updated.
14239
14240 2018-08-01 Joseph Myers <joseph@codesourcery.com>
14241
14242 * sysdeps/generic/math-tests-snan-payload.h: New file.
14243 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
14244 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
14245 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
14246 * sysdeps/generic/math-tests.h: Include
14247 <math-tests-snan-payload.h>.
14248 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14249 * sysdeps/hppa/math-tests.h: Remove file.
14250 * sysdeps/mips/math-tests.h [!__mips_nan2008]
14251 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
14252 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
14253 Likewise.
14254
14255 * sysdeps/generic/math-tests-snan-cast.h: New file.
14256 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
14257 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
14258 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
14259 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
14260
14261 2018-08-01 Carlos O'Donell <carlos@redhat.com>
14262
14263 * version.h (RELEASE): Set to "development".
14264 (VERSION): Set to "2.28.9000".
14265 * NEWS (2.29): New section.
14266
14267 * version.h (RELEASE): Set to "stable".
14268 (VERSION): Set to "2.28".
14269 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
14270 * NEWS: Add the list of bugs fixed in 2.28.
14271
14272 * po/ca.po: Update to latest version.
14273 * po/cs.po: Likewise
14274 * po/da.po: Likewise
14275 * po/el.po: Likewise
14276 * po/eo.po: Likewise
14277 * po/es.po: Likewise
14278 * po/fi.po: Likewise
14279 * po/fr.po: Likewise
14280 * po/gl.po: Likewise
14281 * po/hu.po: Likewise
14282 * po/ia.po: Likewise
14283 * po/id.po: Likewise
14284 * po/it.po: Likewise
14285 * po/ja.po: Likewise
14286 * po/ko.po: Likewise
14287 * po/lt.po: Likewise
14288 * po/nb.po: Likewise
14289 * po/nl.po: Likewise
14290 * po/pt_BR.po: Likewise
14291 * po/ru.po: Likewise
14292 * po/rw.po: Likewise
14293 * po/sk.po: Likewise
14294 * po/sl.po: Likewise
14295 * po/tr.po: Likewise
14296 * po/zh_CN.po: Likewise
14297 * po/zh_TW.po: Likewise
14298
14299 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14300
14301 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
14302 initialization...
14303 (init): ... before initializing libpthread.
14304
14305 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
14306 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
14307 (__mach_setup_tls): ... new function.
14308 (mach_setup_tls): New alias.
14309 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
14310 __mach_setup_thread.
14311 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
14312 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
14313 * mach/Versions [libc] (mach_setup_tls): Add symbol.
14314 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
14315
14316 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14317
14318 * manual/install.texi: Update versions.
14319 * INSTALL: Regenerate.
14320
14321 * manual/contrib.texi (Contributors): Update contributions.
14322
14323 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14324
14325 * po/be.po: Update translations.
14326
14327 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14328
14329 * sysdeps/sh/libm-test-ulps: Update.
14330
14331 2018-07-30 Carlos O'Donell <carlos@redhat.com>
14332
14333 * po/bg.po: Update translations.
14334 * po/de.po: Likewise.
14335 * po/hr.po: Likewise.
14336 * po/pt_BR.po: Likewise.
14337 * po/sv.po: Likewise.
14338 * po/vi.po: Likewise.
14339
14340 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14341
14342 [BZ #23467]
14343 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14344 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
14345 (CFLAGS-tst-cet-property-1.o): New.
14346 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
14347 ($(objpfx)tst-cet-property-2): Likewise.
14348 ($(objpfx)tst-cet-property-2.out): Likewise.
14349 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
14350 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
14351 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
14352 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
14353 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
14354
14355 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14356
14357 [BZ #23458]
14358 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
14359
14360 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
14361
14362 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
14363 __sbrk): Do not set attribute_hidden.
14364 * sysdeps/mach/hurd/not-errno.h: New file.
14365 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14366 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
14367
14368 2018-07-27 Carlos O'Donell <carlos@redhat.com>
14369
14370 * po/uk.po: Update translations.
14371 * po/cs.po: Likewise.
14372 * po/pl.po: Likewise.
14373
14374 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
14375
14376 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
14377 parse beyond the note end.
14378
14379 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14380
14381 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
14382 kernel does not support OFD locks.
14383 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
14384
14385 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14386
14387 * sysdeps/mach/hurd/Versions (libc): Make __access and
14388 __access_noerrno external so they can override the ld symbols.
14389 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
14390 __writev, __open64, __access_noerrno extern so they can be overrided.
14391 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
14392 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14393
14394 2018-07-26 Carlos O'Donell <carlos@redhat.com>
14395
14396 * po/libc.pot: Regenerate.
14397
14398 2018-07-26 Joseph Myers <joseph@codesourcery.com>
14399
14400 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14401
14402 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14403
14404 [BZ #23459]
14405 * sysdeps/x86/cpu-features.c (get_extended_indices): New
14406 function.
14407 (init_cpu_features): Call get_extended_indices for both Intel
14408 and AMD CPUs.
14409 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
14410 Remove "for AMD" comment.
14411
14412 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14413
14414 [BZ # 23456]
14415 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
14416 COMMON_CPUID_INDEX_80000001.
14417
14418 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
14419
14420 * string/tst-xbzero-opt.c (use_test_buffer): New function.
14421 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
14422
14423 2018-07-26 Florian Weimer <fweimer@redhat.com>
14424
14425 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
14426 aliases for symbols not in the implementation namespace.
14427
14428 2018-07-25 Carlos O'Donell <carlos@redhat.com>
14429
14430 [BZ #23393]
14431 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
14432 lowercase in LATIN script.
14433 * localedata/Makefile (test-input): Add en_US.UTF-8.
14434 * localedata/en_US.UTF-8.in: New file.
14435 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
14436 and restore old tests.
14437 * posix/tst-regexloc.c (do_test): Add back range expression test.
14438
14439 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14440
14441 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
14442
14443 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14444
14445 * nptl/threads.h: Move to ...
14446 * sysdeps/nptl/threads.h: ... here.
14447 * sysdeps/hurd/stdc-predef.h: New file.
14448
14449 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14450
14451 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14452 tst-cet-setcontext-1 if CET is enabled.
14453 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
14454 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
14455
14456 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14457
14458 * include/threads.h: Move to ...
14459 * sysdeps/nptl/threads.h: ... here.
14460 * sysdeps/htl/threads.h: New file.
14461 * conform/Makefile (linknamespace-libs-ISO11): Use
14462 static-thread-library instead of linking libpthread.
14463 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
14464
14465 2018-07-25 Florian Weimer <fweimer@redhat.com>
14466
14467 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
14468 nanoseconds into seconds.
14469 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
14470 (do_test): Likewise.
14471 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
14472 (do_test): Likewise. Avoid nanosecond overflow and spurious
14473 timeouts due to system load.
14474 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
14475 (child_wait): Increment it.
14476 (do_test): Wait as long as necessary until all expected threads
14477 have arrived.
14478
14479 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
14480 H.J. Lu <hongjiu.lu@intel.com>
14481
14482 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
14483 __ssp.
14484 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
14485 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
14486 (__push___start_context): New.
14487 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
14488 <asm/prctl.h>.
14489 (__getcontext): Record the current shadow stack base. Save the
14490 caller's shadow stack pointer and base.
14491 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
14492 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
14493 (__push___start_context): New prototype.
14494 (__makecontext): Call __push___start_context to allocate a new
14495 shadow stack, push __start_context onto the new stack as well
14496 as the new shadow stack.
14497 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
14498 <asm/prctl.h>.
14499 (__setcontext): Restore the target shadow stack.
14500 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
14501 <asm/prctl.h>.
14502 (__swapcontext): Record the current shadow stack base. Save
14503 the caller's shadow stack pointer and base. Restore the target
14504 shadow stack.
14505 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14506 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
14507 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
14508
14509 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14510
14511 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
14512 tst-setcontext8 and tst-setcontext9.
14513 * stdlib/tst-setcontext6.c: New file.
14514 * stdlib/tst-setcontext7.c: Likewise.
14515 * stdlib/tst-setcontext8.c: Likewise.
14516 * stdlib/tst-setcontext9.c: Likewise.
14517
14518 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14519
14520 * stdlib/Makefile ((tests): Add tst-setcontext5.
14521 * stdlib/tst-setcontext5.c: New file.
14522
14523 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14524
14525 * stdlib/Makefile (tests): Add tst-setcontext4.
14526 * stdlib/tst-setcontext4.c: New file.
14527
14528 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14529
14530 * stdlib/Makefile (tests): Add tst-swapcontext1.
14531 * stdlib/tst-swapcontext1.c: New test.
14532
14533 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14534
14535 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
14536 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
14537 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
14538 and tst-cet-legacy-4c.
14539 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
14540 and tst-cet-legacy-mod-4.
14541 (CFLAGS-tst-cet-legacy-2.c): New.
14542 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
14543 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
14544 (CFLAGS-tst-cet-legacy-3.c): Likewise.
14545 (CFLAGS-tst-cet-legacy-4.c): Likewise.
14546 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
14547 ($(objpfx)tst-cet-legacy-1): Likewise.
14548 ($(objpfx)tst-cet-legacy-2): Likewise.
14549 ($(objpfx)tst-cet-legacy-2.out): Likewise.
14550 ($(objpfx)tst-cet-legacy-2a): Likewise.
14551 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
14552 ($(objpfx)tst-cet-legacy-4): Likewise.
14553 ($(objpfx)tst-cet-legacy-4.out): Likewise.
14554 ($(objpfx)tst-cet-legacy-4a): Likewise.
14555 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
14556 (tst-cet-legacy-4a-ENV): Likewise.
14557 ($(objpfx)tst-cet-legacy-4b): Likewise.
14558 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
14559 (tst-cet-legacy-4b-ENV): Likewise.
14560 ($(objpfx)tst-cet-legacy-4c): Likewise.
14561 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
14562 (tst-cet-legacy-4c-ENV): Likewise.
14563 * sysdeps/x86/tst-cet-legacy-1.c: New file.
14564 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
14565 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
14566 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
14567 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
14568 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
14569 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
14570 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
14571 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
14572 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
14573 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
14574
14575 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14576
14577 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14578 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14579 with ssp_base.
14580 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14581 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14582 with ssp_base.
14583
14584 2018-07-25 Andreas Schwab <schwab@suse.de>
14585
14586 [BZ #23442]
14587 * locale/weightwc.h (findidx): Handle the case where usrc is a
14588 prefix of cp but one character too short.
14589
14590 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14591
14592 * NEWS: Add ISO C threads addition.
14593
14594 2018-07-24 Florian Weimer <fweimer@redhat.com>
14595
14596 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14597 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
14598 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
14599 4.13.
14600
14601 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14602
14603 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
14604 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
14605 <sys/prctl.h> and <asm/prctl.h>.
14606 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
14607 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
14608 and <asm/prctl.h>.
14609 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
14610 ARCH_CET_LEGACY_BITMAP.
14611 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
14612 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
14613 * sysdeps/x86/libc-start.c: Include <startup.h>.
14614
14615 2018-07-24 Florian Weimer <fweimer@redhat.com>
14616
14617 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
14618 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
14619
14620 2018-07-24 Rical Jasan <rj@2c3t.io>
14621 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14622 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14623
14624 [BZ #14092]
14625 * manual/debug.texi: Update adjacent chapter name.
14626 * manual/probes.texi: Likewise.
14627 * manual/threads.texi (ISO C Threads): New section.
14628 (POSIX Threads): Convert to a section.
14629
14630 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14631 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14632
14633 [BZ# 14092]
14634 * nptl/Makefile (tests): Add new test files.
14635 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
14636 * nptl/tst-cnd-basic.c: Likewise.
14637 * nptl/tst-cnd-broadcast.c: Likewise.
14638 * nptl/tst-cnd-timedwait.c: Likewise.
14639 * nptl/tst-mtx-basic.c: Likewise.
14640 * nptl/tst-mtx-recursive.c: Likewise.
14641 * nptl/tst-mtx-timedlock.c: Likewise.
14642 * nptl/tst-mtx-trylock.c: Likewise.
14643 * nptl/tst-thrd-basic.c: Likewise.
14644 * nptl/tst-thrd-detach.c: Likewise.
14645 * nptl/tst-thrd-sleep.c: Likewise.
14646 * nptl/tst-tss-basic.c: Likewise.
14647
14648 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14649
14650 [BZ #14092]
14651 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14652 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
14653 symbols.
14654 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14655 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14656 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14657 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14658 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14659 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14660 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14661 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14662 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14663 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14664 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14665 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14667 Likewise.
14668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14669 Likewise.
14670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
14671 Likewise.
14672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14673 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14674 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14675 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14676 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14677 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14678 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14679 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14680 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14681 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
14682 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
14683 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
14684 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
14685 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
14686 Likewise.
14687 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14688 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14689 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14690 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14691 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14692 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14693 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14694 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14695 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14696 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14697 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14698 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14699 ikewise.
14700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14702 Likewise.
14703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14704 Likewise.
14705 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14706 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14707 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14708 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14709 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14710 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14711 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14712 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14713
14714 [BZ #14092]
14715 * conform/data/threads.h-data (thread_local): New macro.
14716 (TSS_DTOR_ITERATIONS): Likewise.
14717 (tss_t): New type.
14718 (tss_dtor_t): Likewise.
14719 (tss_create): New function.
14720 (tss_get): Likewise.
14721 (tss_set): Likewise.
14722 (tss_delete): Likewise.
14723 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
14724 tss_get, and tss_set objects.
14725 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14726 * nptl/tss_create.c: New file.
14727 * nptl/tss_delete.c: Likewise.
14728 * nptl/tss_get.c: Likewise.
14729 * nptl/tss_set.c: Likewise.
14730 * sysdeps/nptl/threads.h (thread_local): New define.
14731 (TSS_DTOR_ITERATIONS): Likewise.
14732 (tss_t): New typedef.
14733 (tss_dtor_t): Likewise.
14734 (tss_create): New prototype.
14735 (tss_get): Likewise.
14736 (tss_set): Likewise.
14737 (tss_delete): Likewise.
14738
14739 [BZ #14092]
14740 * conform/data/threads.h-data (cnd_t): New type.
14741 (cnd_init): New function.
14742 (cnd_signal): Likewise.
14743 (cnd_broadcast): Likewise.
14744 (cnd_wait): Likewise.
14745 (cnd_timedwait): Likewise.
14746 (cnd_destroy): Likewise.
14747 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
14748 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
14749 object.
14750 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14751 * nptl/cnd_broadcast.c: New file.
14752 * nptl/cnd_destroy.c: Likewise.
14753 * nptl/cnd_init.c: Likewise.
14754 * nptl/cnd_signal.c: Likewise.
14755 * nptl/cnd_timedwait.c: Likewise.
14756 * nptl/cnd_wait.c: Likewise.
14757 * sysdeps/nptl/threads.h (cnd_t): New type.
14758 (cnd_init): New prototype.
14759 (cnd_signa): Likewise.
14760 (cnd_broadcast): Likewise.
14761 (cnd_wait): Likewise.
14762 (cnd_timedwait): Likewise.
14763 (cnd_destroy): Likewise.
14764
14765 [BZ #14092]
14766 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
14767 (once_flag): New type.
14768 (call_once): New function.
14769 * nptl/Makefile (libpthread-routines): Add call_once object.
14770 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
14771 * nptl/call_once.c: New file.
14772 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
14773 (once_flag): New type.
14774 (call_once): New prototype.
14775
14776 [BZ #14092]
14777 * conform/data/threads.h-data (mtx_plain): New constant.
14778 (mtx_recursive): Likewise.
14779 (mtx_timed): Likewise.
14780 (mtx_t): New type.
14781 (mtx_init): New function.
14782 (mtx_lock): Likewise.
14783 (mtx_timedlock): Likewise.
14784 (mtx_trylock): Likewise.
14785 (mtx_unlock): Likewise.
14786 (mtx_destroy): Likewise.
14787 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
14788 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
14789 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
14790 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
14791 * nptl/mtx_destroy.c: New file.
14792 * nptl/mtx_init.c: Likewise.
14793 * nptl/mtx_lock.c: Likewise.
14794 * nptl/mtx_timedlock.c: Likewise.
14795 * nptl/mtx_trylock.c: Likewise.
14796 * nptl/mtx_unlock.c: Likewise.
14797 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
14798 (mtx_recursive): Likewise.
14799 (mtx_timed): Likewise.
14800 (mtx_t): New type.
14801 (mtx_init): New prototype.
14802 (mtx_lock): Likewise.
14803 (mtx_timedlock): Likewise.
14804 (mtx_trylock): Likewise.
14805 (mtx_unlock): Likewise.
14806 (mtx_destroy): Likewise.
14807
14808 [BZ #14092]
14809 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
14810 (linknamespace-libs-ISO11): Add libpthread.a.
14811 * conform/data/threads.h-data: New file: add C11 thrd_* types and
14812 functions.
14813 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
14814 * nptl/Makefile (headers): Add threads.h.
14815 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
14816 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
14817 thrd_yield.
14818 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
14819 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
14820 thrd_join, thrd_sleep, and thrd_yield symbols.
14821 * nptl/descr.h (struct pthread): Add c11 field.
14822 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
14823 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
14824 routine with expected function prototype.
14825 (__pthread_create_2_1): Add C11 threads check based on attribute
14826 value.
14827 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
14828 * nptl/thrd_create.c: New file.
14829 * nptl/thrd_current.c: Likewise.
14830 * nptl/thrd_detach.c: Likewise.
14831 * nptl/thrd_equal.c: Likewise.
14832 * nptl/thrd_exit.c: Likewise.
14833 * nptl/thrd_join.c: Likewise.
14834 * nptl/thrd_priv.h: Likewise.
14835 * nptl/thrd_sleep.c: Likewise.
14836 * nptl/thrd_yield.c: Likewise.
14837 * include/threads.h: Likewise.
14838
14839 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14840
14841 * bits/indirect-return.h: New file.
14842 * misc/sys/cdefs.h (__glibc_has_attribute): New.
14843 * sysdeps/x86/bits/indirect-return.h: Likewise.
14844 * stdlib/Makefile (headers): Add bits/indirect-return.h.
14845 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
14846 (swapcontext): Add __INDIRECT_RETURN.
14847 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
14848 (prepare_test_buffer): Use it.
14849
14850 2018-07-24 Andreas Schwab <schwab@suse.de>
14851
14852 [BZ #23448]
14853 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
14854 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
14855
14856 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14857
14858 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
14859 Redefine if shadow stack is enabled.
14860 (SYSCALL_ERROR_LABEL): Likewise.
14861 (__vfork): Pop shadow stack and jump back to to caller directly
14862 when shadow stack is in use.
14863 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
14864 Redefine if shadow stack is enabled.
14865 (SYSCALL_ERROR_LABEL): Likewise.
14866 (__vfork): Pop shadow stack and jump back to to caller directly
14867 when shadow stack is in use.
14868
14869 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14870
14871 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
14872 enabled.
14873 (foo): Likewise.
14874 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
14875 (foo): Likewise.
14876
14877 2018-07-20 Joseph Myers <joseph@codesourcery.com>
14878
14879 * scripts/build-many-glibcs.py (Context.checkout): Default
14880 binutils version to 2.31 branch.
14881
14882 2018-07-20 Zong Li <zong@andestech.com>
14883
14884 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
14885 URL of gcc's tarball.
14886
14887 2018-07-20 Florian Weimer <fweimer@redhat.com>
14888
14889 [BZ #23396]
14890 * posix/regcomp.c (build_equiv_class): When comparing weights, do
14891 not compare an extra byte after the end of the weights.
14892
14893 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14894
14895 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
14896 to 1.
14897 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
14898 hidden prototypes.
14899 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
14900 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
14901 * scripts/check-execstack.awk: Consider `xfail' variable containing a
14902 list of libraries whose stack executability is expected.
14903 * elf/Makefile ($(objpfx)check-execstack.out): Pass
14904 $(check-execstack-xfail) to check-execstack.awk through `xfail'
14905 variable.
14906 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
14907 libc.so libpthread.so.
14908
14909 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
14910
14911 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
14912 SOCK_NONBLOCK.
14913 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
14914 and SOCK_NONBLOCK.
14915 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
14916 implement __pipe2.
14917 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
14918
14919 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14920
14921 * benchtests/scripts/compare_bench.py (__main__): use the argparse
14922 library to improve command line parsing.
14923 (__main__): make schema file as optional parameter (--schema),
14924 defaulting to benchtests/scripts/benchout.schema.json.
14925 (main): move out of the parsing stuff to __main_  and leave it
14926 only as caller of main comparison functions.
14927
14928 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
14929
14930 * NEWS: Add a note for Intel CET status.
14931 * manual/install.texi: Likewise.
14932 * INSTALL: Regenerated.
14933
14934 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
14935
14936 [BZ #23140]
14937 * localedata/locales/oc_FR (mon): Rename to...
14938 (alt_mon): This, then update October (typo fix).
14939 (mon): New content (genitive case, month names preceded by
14940 "de" or "d’").
14941
14942 [BZ #23422]
14943 * localedata/locales/oc_FR (abday): Update all items.
14944 (day): Update Wednesday and Saturday (typo fixes).
14945 (abmon): Update all items, except May.
14946 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
14947 (LC_IDENTIFICATION): Bump the revision number and date.
14948 Keep the "category" entries in alphabetic order.
14949 (LC_ADDRESS): Remove no longer needed comment.
14950 (LC_COLLATE): Use “copy "ca_ES"”.
14951 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
14952 "name_mrs".
14953
14954 2018-07-18 Joseph Myers <joseph@codesourcery.com>
14955
14956 * grp/tst_fgetgrent.c: Include <unistd.h>.
14957 (main): Use mkstemp instead of tmpnam.
14958 * io/test-utime.c (main): Likewise.
14959 * posix/annexc.c (macrofile): Change to modifiable array.
14960 (main): Remove macrofile here.
14961 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14962 macrofile here.
14963 (check_header): Do not remove macrofile here.
14964 * posix/bug-getopt1.c: Include <stdlib.h>.
14965 (do_test): Use mkstemp instead of tmpnam.
14966 * posix/bug-getopt2.c: Include <stdlib.h>.
14967 (do_test): Use mkstemp instead of tmpnam.
14968 * posix/bug-getopt3.c: Include <stdlib.h>.
14969 (do_test): Use mkstemp instead of tmpnam.
14970 * posix/bug-getopt4.c: Include <stdlib.h>.
14971 (do_test): Use mkstemp instead of tmpnam.
14972 * posix/bug-getopt5.c: Include <stdlib.h>.
14973 (do_test): Use mkstemp instead of tmpnam.
14974 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
14975 (main): Use mkstemp instead of tmpnam.
14976 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
14977 (main): Use mkstemp instead of tmpnam.
14978 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
14979 (main): use mkstemp instead of tmpnam.
14980 * stdlib/isomac.c (macrofile): Change to modifiable array.
14981 (main): Remove macrofile here.
14982 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14983 macrofile here.
14984 (check_header): Do not remove macrofile here.
14985
14986 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14987
14988 * manual/tunables.texi: Document glibc.tune.x86_ibt and
14989 glibc.tune.x86_shstk.
14990
14991 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14992
14993 * NEWS: Mention --enable-cet.
14994 * manual/install.texi: Document --enable-cet.
14995 * INSTALL: Regenerated.
14996
14997 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14998
14999 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
15000 Add _CET_NOTRACK before indirect jump to jump table.
15001
15002 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15003
15004 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
15005 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15006 to jump table.
15007
15008 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15009
15010 * sysdeps/i386/i686/multiarch/strcat-sse2.S
15011 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15012 to jump table.
15013
15014 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15015
15016 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
15017 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15018 to jump table.
15019
15020 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15021
15022 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
15023 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15024 to jump table.
15025
15026 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15027
15028 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
15029 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15030 to jump table.
15031 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
15032
15033 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15034
15035 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
15036 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15037 to jump table.
15038
15039 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15040
15041 * sysdeps/i386/i686/multiarch/memset-sse2.S
15042 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15043 to jump table.
15044
15045 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15046
15047 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
15048 indirect jump to jump table.
15049
15050 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15051
15052 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
15053 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15054 to jump table.
15055 (MEMCPY): Likewise.
15056
15057 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15058
15059 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
15060 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15061 to jump table.
15062 (MEMCPY): Likewise.
15063
15064 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15065
15066 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15067 _CET_NOTRACK before indirect jump to jump table.
15068
15069 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15070
15071 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
15072 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
15073 to jump table.
15074
15075 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
15076
15077 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
15078 indirect jump to jump table.
15079
15080 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
15081
15082 [BZ #22241]
15083 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
15084 (LOCALES): Likewise.
15085 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
15086 * localedata/locales/sah_RU: New file.
15087 * localedata/sah_RU.UTF-8.in: New file.
15088
15089 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15090
15091 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
15092 "sysdep.h".
15093 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15094 _CET_ENDBR to indirect jump targets and adjust jump destination
15095 for _CET_ENDBR.
15096 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
15097 "sysdep.h".
15098 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
15099 _CET_ENDBR to indirect jump targets and adjust jump destination
15100 for _CET_ENDBR.
15101 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
15102 "sysdep.h".
15103 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
15104 _CET_ENDBR to indirect jump targets and adjust jump destination
15105 for _CET_ENDBR.
15106
15107 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15108
15109 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
15110 _CET_ENDBR.
15111
15112 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15113
15114 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
15115 _CET_ENDBR.
15116 (_dl_tlsdesc_undefweak): Likewise.
15117 (_dl_tlsdesc_dynamic): Likewise.
15118 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
15119 (_dl_tlsdesc_resolve_rel): Likewise.
15120 (_dl_tlsdesc_resolve_rela): Likewise.
15121 (_dl_tlsdesc_resolve_hold): Likewise.
15122 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
15123 (_dl_tlsdesc_undefweak): Likewise.
15124 (_dl_tlsdesc_dynamic): Likewise.
15125 (_dl_tlsdesc_resolve_rela): Likewise.
15126 (_dl_tlsdesc_resolve_hold): Likewise.
15127
15128 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15129
15130 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
15131 (_fini): Likewise.
15132 * sysdeps/x86_64/crti.S (_init): Likewise.
15133 (_fini): Likewise.
15134
15135 2018-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
15136
15137 [BZ #23140]
15138 * localedata/locales/os_RU (mon): Rename to...
15139 (alt_mon): This.
15140 (mon): Import from CLDR (genitive case).
15141
15142 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
15143
15144 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
15145 cet-tunables.h> when CET is enabled.
15146
15147 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
15148
15149 [BZ #21598]
15150 * configure.ac: Add --enable-cet.
15151 * configure: Regenerated.
15152 * elf/Makefille (all-built-dso): Add a comment.
15153 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
15154 Include <dl-prop.h>.
15155 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
15156 segment.
15157 * elf/dl-open.c: Include <dl-prop.h>.
15158 (dl_open_worker): Call _dl_open_check.
15159 * elf/rtld.c: Include <dl-prop.h>.
15160 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
15161 _rtld_main_check.
15162 * sysdeps/generic/dl-prop.h: New file.
15163 * sysdeps/i386/dl-cet.c: Likewise.
15164 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
15165 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
15166 * sysdeps/x86/cet-tunables.h: Likewise.
15167 * sysdeps/x86/check-cet.awk: Likewise.
15168 * sysdeps/x86/configure: Likewise.
15169 * sysdeps/x86/configure.ac: Likewise.
15170 * sysdeps/x86/dl-cet.c: Likewise.
15171 * sysdeps/x86/dl-procruntime.c: Likewise.
15172 * sysdeps/x86/dl-prop.h: Likewise.
15173 * sysdeps/x86/libc-start.h: Likewise.
15174 * sysdeps/x86/link_map.h: Likewise.
15175 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
15176 _CET_ENDBR.
15177 (_dl_runtime_profile): Likewise.
15178 (_dl_runtime_resolve_shstk): New.
15179 (_dl_runtime_profile_shstk): Likewise.
15180 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
15181 if CET is enabled.
15182 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
15183 (CFLAGS-.os): Likewise.
15184 (CFLAGS-.op): Likewise.
15185 (CFLAGS-.oS): Likewise.
15186 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
15187 is enabled.
15188 (tests-special): Add $(objpfx)check-cet.out.
15189 (cet-built-dso): New.
15190 (+$(cet-built-dso:=.note)): Likewise.
15191 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
15192 ($(objpfx)check-cet.out): New.
15193 (generated): Add check-cet.out.
15194 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
15195 <cet-tunables.h>.
15196 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
15197 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15198 (init_cpu_features): Call get_cet_status to check CET status
15199 and update dl_x86_feature_1 with CET status. Call
15200 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
15201 (set_x86_shstk). Disable and lock CET in libc.a.
15202 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
15203 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
15204 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
15205 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
15206 (_CET_ENDBR): Define if not defined.
15207 (ENTRY): Add _CET_ENDBR.
15208 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
15209 x86_shstk.
15210 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
15211 _CET_ENDBR.
15212 (_dl_runtime_profile): Likewise.
15213
15214 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
15215
15216 [BZ #21895]
15217 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
15218 restore r2 on longjmp.
15219 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
15220 test list.
15221 Added rules to build test tst-setjmp-bug21895-static.
15222 Added module setjmp-bug21895 and rules to build a shared object from it.
15223 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
15224 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
15225
15226 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
15227
15228 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
15229 * benchtests/bench-strstr.c: Likewise.
15230 * string/memmem.c (FASTSEARCH): Define.
15231 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
15232 Add support for FASTSEARCH.
15233 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
15234 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
15235 (FASTSEARCH): Define.
15236 * string/test-strcasestr.c: Rename __strnlen to strnlen.
15237 * string/test-strstr.c: Likewise.
15238
15239 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
15240
15241 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
15242 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
15243
15244 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
15245 H.J. Lu <hongjiu.lu@intel.com>
15246
15247 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
15248 (__longjmp): Restore shadow stack pointer if shadow stack is
15249 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15250 isn't defined for __longjmp_cancel.
15251 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
15252 (_setjmp): Save shadow stack pointer if shadow stack is enabled
15253 and SHADOW_STACK_POINTER_OFFSET is defined.
15254 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
15255 (setjmp): Save shadow stack pointer if shadow stack is enabled
15256 and SHADOW_STACK_POINTER_OFFSET is defined.
15257 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
15258 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15259 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15260 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
15261 <jmp_buf-ssp.h>.
15262 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15263 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15264 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
15265 Remove jmp_buf-ssp.sym.
15266 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
15267 <jmp_buf-ssp.h>.
15268 (____longjmp_chk): Restore shadow stack pointer if shadow stack
15269 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15270 * sysdeps/x86/Makefile (gen-as-const-headers): Add
15271 jmp_buf-ssp.sym.
15272 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
15273 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
15274 (__longjmp): Restore shadow stack pointer if shadow stack is
15275 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
15276 isn't defined for __longjmp_cancel.
15277 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
15278 (__sigsetjmp): Save shadow stack pointer if shadow stack is
15279 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
15280
15281 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
15282
15283 [BZ #22563]
15284 * nptl/pthread_create.c: Include <tls-setup.h>.
15285 (__pthread_create_2_1): Call tls_setup_tcbhead.
15286 * sysdeps/generic/tls-setup.h: New file.
15287 * sysdeps/x86/nptl/tls-setup.h: Likewise.
15288 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15289 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
15290 Likewise.
15291 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
15292 to feature_1.
15293 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15294 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
15295 (X86_FEATURE_1_SHSTK): Likewise.
15296 (CET_ENABLED): Likewise.
15297 (IBT_ENABLED): Likewise.
15298 (SHSTK_ENABLED): Likewise.
15299
15300 2018-07-13 Rafał Lużyński <digitalfreak@lingonborough.com>
15301
15302 [BZ #23208]
15303 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
15304 (LOCALES): Likewise.
15305 * localedata/dsb_DE.UTF-8.in: New file.
15306 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
15307
15308 2018-07-12 Florian Weimer <fweimer@redhat.com>
15309
15310 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
15311 __mprotect, not mprotect.
15312
15313 2018-07-11 Florian Weimer <fweimer@redhat.com>
15314
15315 * io/Makefile (headers): Add bits/statx.h.
15316
15317 2018-07-10 Mike FABIAN <mfabian@redhat.com>
15318
15319 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
15320 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
15321 and headers.
15322 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
15323 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
15324 for utf8_gen.py
15325
15326 2018-07-10 Florian Weimer <fweimer@redhat.com>
15327
15328 * io/Makefile (routines): Add statx.
15329 (tests-internal): Add tst-statx.
15330 * io/Versions (GLIBC_2.28): Export statx.
15331 * io/bits/statx.h: New file.
15332 * io/sys/stat.h [__USE_GNU]: Include it.
15333 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
15334 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
15335 Define.
15336 * io/statx.c: New file.
15337 * io/statx_generic.: Likewise.
15338 * io/tst-statx.: Likewise.
15339 * include/bits/statx.h: Likewise.
15340 * sysdeps/unix/sysv/linux/kernel-features.h
15341 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
15342 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15343 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
15344 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
15345 Undefine.
15346 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15347 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
15348 * sysdeps/unix/sysv/linux/statx.c: New file.
15349 * manual/filesys.texi: Note that statx is undocumented.
15350 * sysdeps/**/libc*.abilist: Update.
15351
15352 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15353
15354 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
15355 a kernel issue which lead to test failure in some cases.
15356
15357 2018-07-10 Florian Weimer <fweimer@redhat.com>
15358
15359 [BZ #23036]
15360 * posix/regexec.c (check_node_accept_bytes): When comparing
15361 weights, do not compare an extra byte after the end of the
15362 weights.
15363
15364 2018-07-10 Florian Weimer <fweimer@redhat.com>
15365
15366 * libio/readline.c: Fix copyright year.
15367 * libio/tst-readline.c Likewise.
15368 * nss/tst-nss-files-hosts-getent.c: Likewise.
15369
15370 2018-07-06 Florian Weimer <fweimer@redhat.com>
15371
15372 [BZ #18991]
15373 * nss/nss_files/files-XXX.c (internal_getent): Use
15374 __libc_readline_unlocked. Seek back to the start of the line if
15375 parsing failes with ERANGE.
15376 (get_contents_ret, get_contents): Remove.
15377 * nss/tst-nss-files-hosts-getent.c: New file.
15378 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
15379 (tst-nss-files-hosts-getent): Link with -ldl.
15380
15381 2018-07-06 Florian Weimer <fweimer@redhat.com>
15382
15383 * include/stdio.h (__libc_readline_unlocked): Declare.
15384 (__ftello64, __fseeko64): Declare aliases.
15385 * libio/readline.c: New file.
15386 * libio/tst-readline.c: Likewise.
15387 (routines): Add readline.
15388 (tests-internal): Add tst-readlime.
15389 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
15390 __libc_readline_unlocked.
15391 * libio/fseeko.c (__fseeko): Rename from fseeko.
15392 (fseeko): Add alias.
15393 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
15394 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
15395 (fseeko64): Add alias.
15396 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
15397 * libio/ftello64.c (__ftello64): Rename from ftello64.
15398 (ftello64): Add alias.
15399
15400 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15401
15402 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
15403 HWCAP_ATOMICS.
15404
15405 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15406
15407 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
15408 Use dl_hwcap without masking.
15409 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
15410 Remove HWCAP_CPUID.
15411
15412 2018-07-06 Florian Weimer <fweimer@redhat.com>
15413
15414 * conform/conformtest.pl (checknamespace): Escape literal braces
15415 in regular expressions.
15416
15417 2018-07-06 Amit Pawar <amit.pawar@amd.com>
15418
15419 * sysdeps/x86/cpu-features.c (get_common_indeces):
15420 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
15421 * sysdeps/x86/cpu-features.c (init_cpu_features):
15422 AVX_Fast_Unaligned_Load is disabled for Excavator core.
15423
15424 2018-07-05 Florian Weimer <fweimer@redhat.com>
15425
15426 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
15427 protector.
15428 (CFLAGS-elf-init.oS): Likewise.
15429
15430 2018-07-05 Florian Weimer <fweimer@redhat.com>
15431 Carlos O'Donell <carlos@redhat.com>
15432
15433 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
15434 $(no-stack-protector). stack_chk_fail_local.c can be compiled
15435 with stack protector enabled because there is no risk of infinite
15436 recursion.
15437
15438 2018-07-05 Maciej W. Rozycki <macro@mips.com>
15439
15440 [BZ #19818]
15441 [BZ #23307]
15442 * libc-abis (ABSOLUTE): New ABI.
15443 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
15444 * NEWS: Mention the new ABI.
15445
15446 2018-07-05 Florian Weimer <fweimer@redhat.com>
15447
15448 [BZ # 17662]
15449 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
15450 (RENAME_WHITEOUT): Define.
15451 [__USE_GNU] (renameat2): Declare.
15452 * stdio-common/Makefile (routines): Add renameat2.
15453 (tests): Add tst-renameat2.
15454 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
15455 * stdio-common/renameat2.c: New file.
15456 * stdio-common/tst-renameat2.c: Likewise.
15457 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
15458 * manual/filesys.texi (Temporary Files): Note that renameat2 is
15459 undocumented.
15460 * sysdeps/unix/sysv/linux/kernel-features.h
15461 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
15462 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15463 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15464 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15465 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15466 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15467 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
15468 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15469 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
15470 * include/stdio.h (__renameat): Add alias for renameat.
15471 * stdio-common/renameat.c (__renameat): Rename from renameat.
15472 Add hidden definition and alias.
15473 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15474 * sysdeps/mach/hurd/renameat.c: Likewise.
15475 * sysdeps/**/libc*.abilist: Add renameat2.
15476
15477 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15478
15479 * posix/bug-regex33.c: Fix build after regex sync.
15480
15481 2018-07-04 Carlos O'Donell <carlos@redhat.com>
15482
15483 [BZ #23164]
15484 * localedata/tst-langinfo-setlocale.c: New file.
15485 * localedata/tst-langinfo-setlocale-static.c: New file.
15486 * localedata/tst-langinfo-newlocale.c: New file.
15487 * localedata/tst-langinfo-newlocale-static.c: New file.
15488 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
15489 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
15490 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
15491 (tests-static): Remove tst-langinfo-static. Add
15492 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
15493 (tests-special): Remove $(objpfx)tst-langinfo.out,
15494 $(objpfx)tst-langinfo-static.out. Add
15495 $(objpfx)tst-langinfo-setlocale.out,
15496 $(objpfx)tst-langinfo-newlocale.out,
15497 $(objpfx)tst-langinfo-setlocale-static.out,
15498 $(objpfx)tst-langinfo-newlocale-static.out.
15499 ($(objpfx)tst-langinfo.out): Remove.
15500 ($(objpfx)tst-langinfo-static.out): Remove.
15501 ($(objpfx)tst-langinfo-newlocale.out): New target.
15502 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
15503 (test-xfail-tst-langinfo-newlocale-static): Add.
15504 ($(objpfx)tst-langinfo-setlocale.out): New target.
15505 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
15506 * localedata/tst-langinfo.c: Call test_locale.
15507 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
15508 data.
15509
15510 2018-07-04 Florian Weimer <fweimer@redhat.com>
15511
15512 testrun.sh: Implement --tool=strace, --tool=valgrind
15513 * Makefile (testrun-script): Define variable.
15514 (testrun.sh): Use variable.
15515 * manual/install.texi (Tools for Compilation): make 4.0 or later
15516 is required.
15517 * configure.ac: Check for make 4.0 or later.
15518 * INSTALL: Regenerate.
15519 * configure: Likewise.
15520
15521 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15522
15523 [BZ #23233]
15524 [BZ #21163]
15525 [BZ #18986]
15526 [BZ #13762]
15527 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
15528 * posix/PCRE.tests: Remove invalid test.
15529 * posix/bug-regex28.c: Fix expected values for used syntax.
15530 * posix/bug-regex37.c: New file.
15531 * posix/bug-regex38.c: Likewise.
15532 * posix/regcomp.c: Sync with gnulib.
15533 * posix/regex.c: Likewise.
15534 * posix/regex.h: Likewise.
15535 * posix/regex_internal.c: Likewise.
15536 * posix/regex_internal.h: Likewise.
15537 * posix/regexec.c: Likewise.
15538
15539 2018-06-26 Mike FABIAN <mfabian@redhat.com>
15540
15541 [BZ #23308]
15542 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
15543 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
15544 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
15545 * localedata/unicode-gen/PropList.txt: likewise.
15546 * localedata/unicode-gen/UnicodeData.txt: likewise.
15547 * localedata/charmaps/UTF-8: Regenerate.
15548 * localedata/locales/i18n_ctype: likewise.
15549 * localedata/locales/tr_TR: likewise.
15550 * localedata/locales/translit_circle: likewise.
15551 * localedata/locales/translit_cjk_compat: likewise.
15552 * localedata/locales/translit_combining: likewise.
15553 * localedata/locales/translit_compat: likewise.
15554 * localedata/locales/translit_font: likewise.
15555 * localedata/locales/translit_fraction: likewise.
15556
15557 2018-07-03 Florian Weimer <fweimer@redhat.com>
15558
15559 [BZ #23363]
15560 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
15561 * stdio-common/tst-printf.sh: Adjust expected output.
15562 * LICENSES: Update.
15563
15564 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15565
15566 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
15567 symbol.
15568
15569 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15570
15571 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
15572 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
15573 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
15574 * stdio-common/tst-printfsz-islongdouble.c: New file.
15575 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
15576 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
15577 [subdir == stdio-common] (routines): Add ieee128-printf_size.
15578 [subdir == stdio-common] (tests-internal): Add
15579 test-printf-size-ieee128, and test-printf-size-ibm128.
15580 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
15581 (CFLAGS-test-printf-size-ibm128.c): New variables.
15582 [subdir == stdio-common] (tests-special): Add
15583 $(objpfx)test-printf-size-ieee128.out and
15584 $(objpfx)test-printf-size-ibm128.out.
15585 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
15586 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
15587 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
15588 __printf_sizeieee128.
15589 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
15590 New file.
15591 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
15592 Likewise.
15593 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
15594 Likewise.
15595
15596 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
15597
15598 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
15599 (exp2f_inline): Likewise.
15600 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
15601 (__math_uflowf): Likewise.
15602 (__math_may_uflowf): Likewise.
15603 (__math_divzerof): Likewise.
15604 (__math_invalidf): Likewise.
15605 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
15606 (__math_oflowf): Likewise.
15607 (__math_uflowf): Likewise.
15608 (__math_may_uflowf): Likewise.
15609 (__math_divzerof): Likewise.
15610 (__math_invalidf): Likewise.
15611
15612 2018-06-29 DJ Delorie <dj@redhat.com>
15613 Carlos O'Donell <carlos@redhat.com>
15614
15615 [BZ #23329]
15616 * include/libc-symbols.h: Comment the freeres framework.
15617 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
15618 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
15619 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
15620 * dlfcn/dlerror.c: Include libc-symbols.h
15621 (__dlerror_main_freeres): New function.
15622 * dlfcn/dlfreeres.c: New file.
15623 * dlfcn/sdlfreeres.c: New file.
15624 * include/dlfcn.h: Declare __dlerror_main_freeres.
15625 * malloc/set-freeres.c: Declare __libdl_freeres, and
15626 __libpthread_freeres.
15627 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
15628 the releavant libraries are loaded.
15629 * malloc/thread-freeres.c: Add comments.
15630 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
15631 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
15632 * nptl/allocatestack.c (__nptl_free_stacks): New function.
15633 (__free_stacks): Rename to...
15634 (free_stacks): ...this. Mark static.
15635 (queue_stack): Call free_stacks.
15636 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
15637 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
15638 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
15639 ptr_freeres element from struct.
15640 (pthread_functions): Remove .ptr_freeres from struct initializer.
15641 [SHARED] (nptl_freeres): Remove.
15642 * nptl/nptlfreeres.c: New file.
15643 * nptl/pthreadP.h
15644 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
15645 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
15646 attribute_hidden.
15647 (__free_stacks): Rename to...
15648 (__nptl_stacks_freeres): ...this.
15649 (__shm_directory_freeres): Declare.
15650 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
15651 (__nptl_unwind_freeres): ...this.
15652 * resolv/res-close.c: Add comment.
15653 * resolv/resolv_conf.c: Include libc-symbols.h.
15654 * string/strerror_l.c: Include libc-symbols.h.
15655 * sunrpc/rpc_thread.c: Include libc-symbols.h.
15656 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
15657 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
15658 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
15659
15660 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15661
15662 * stdlib/tst-strfmon_l.c: Add tests for long double.
15663
15664 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
15665
15666 [BZ #23208]
15667 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
15668 * localedata/locales/dsb_DE: New file.
15669
15670 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15671
15672 [BZ #23140]
15673 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
15674 genitive case).
15675 (alt_mon): New entry, import from CLDR (nominative case).
15676
15677 2018-06-29 Sylvain Lesage <severo@rednegra.net>
15678
15679 [BZ #22996]
15680 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
15681
15682 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
15683
15684 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15685 Use vector registers.
15686
15687 * sysdeps/aarch64/multiarch/memmove_falkor.S
15688 (__memcpy_falkor): Use vector registers.
15689
15690 2018-06-29 Martin Sebor <msebor@redhat.com>
15691
15692 * manual/stdio.texi (Customizing Printf): Mention interaction
15693 with GCC built-ins.
15694
15695 2018-06-29 Maciej W. Rozycki <macro@mips.com>
15696
15697 [BZ #23307]
15698 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
15699 `st_value' is 0 if `st_shndx' is SHN_ABS.
15700 * elf/tst-absolute-zero.c: New file.
15701 * elf/tst-absolute-zero-lib.c: New file.
15702 * elf/tst-absolute-zero-lib.lds: New file.
15703 * elf/Makefile (tests): Add `tst-absolute-zero'.
15704 (modules-names): Add `tst-absolute-zero-lib'.
15705 (LDLIBS-tst-absolute-zero-lib.so): New variable.
15706 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
15707 ($(objpfx)tst-absolute-zero: New dependency.
15708
15709 2018-06-29 Zack Weinberg <zackw@panix.com>
15710
15711 * configure.ac: New command-line option --disable-crypt.
15712 Force --disable-nss-crypt when --disable-crypt is given, with a
15713 warning if it was explicitly enabled.
15714 * configure: Regenerate.
15715 * config.make.in: New boolean substitution variable $(build-crypt).
15716 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
15717 when $(build-crypt).
15718 * manual/install.texi: Document --disable-crypt.
15719 * INSTALL: Regenerate.
15720
15721 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
15722 which is never set.
15723 * conform/Makefile: Only include libcrypt.a in
15724 linknamespace-libs-xsi and linknamespace-libs-XPG4
15725 when $(build-crypt).
15726 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
15727 USE_CRYPT to 1 when $(build-crypt).
15728 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
15729 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
15730 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
15731
15732 2018-06-29 Zack Weinberg <zackw@panix.com>
15733
15734 * crypt/crypt.h, posix/unistd.h: Update comments and
15735 prototypes for crypt and crypt_r.
15736
15737 * manual/crypt.texi (Cryptographic Functions): New initial
15738 exposition.
15739 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
15740 (Unpredictable Bytes): Improve initial exposition. Clarify error
15741 behavior of getentropy and getrandom.
15742 * manual/examples/genpass.c: Generate a salt using getentropy
15743 instead of the current time. Use hash $5$ (SHA-2-256).
15744 * manual/examples/testpass.c: Demonstrate validation against
15745 hashes generated with three different one-way functions.
15746
15747 * manual/intro.texi: crypt.texi does not need an overview
15748 anymore.
15749
15750 * manual/nss.texi, manual/memory.texi, manual/socket.texi
15751 * manual/terminal.texi: Consistently refer to "passphrases"
15752 * instead of "passwords", and to the "user database" instead
15753 * of the "password database".
15754 * manual/users.texi: Similarly. Add notes about how actual
15755 passphrase hashes are now stored in the shadow database.
15756 Remove 20-year-old junk todo note.
15757
15758 2018-06-29 Zack Weinberg <zackw@panix.com>
15759
15760 * manual/crypt.texi: Use a normal top-level @node declaration.
15761 Move most of the introductory text to the 'crypt' section.
15762 Move the example programs below the @deftypefun for 'crypt_r'.
15763 Move the 'getpass' section...
15764 * manual/terminal.texi: ...here.
15765
15766 2018-06-29 Zack Weinberg <zackw@panix.com>
15767 Florian Weimer <fweimer@redhat.com>
15768
15769 * posix/unistd.h: Do not declare encrypt.
15770 (_XOPEN_CRYPT): Remove macro definition.
15771 (crypt): Declare only for _USE_MISC.
15772 * stdlib/stdlib.h: Do not declare setkey.
15773 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
15774 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
15775
15776 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
15777 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
15778 into compat symbols. Don't define initial_perm if it's not
15779 going to be used.
15780 * crypt/cert.c: Link explicitly with the expected versions for
15781 setkey and encrypt. If they are not available at all, mark
15782 the test as unsupported.
15783
15784 * sunrpc/des_crypt.c: Unconditionally block linkage with
15785 cbc_crypt and ecb_crypt for new binaries.
15786 * sunrpc/des_soft.c: Unconditionally block linkage with
15787 des_setparity for new binaries.
15788
15789 * manual/crypt.texi: Remove the entire "DES Encryption"
15790 section. Also remove the paragraph talking about FIPS 140-2
15791 from the introduction.
15792 * manual/string.texi (strfry, memfrob): Revise. Recommend use
15793 of libgcrypt for "real" encryption, not DES.
15794 * manual/conf.texi (Constants for Sysconf): Mention that
15795 _XOPEN_CRYPT is no longer impelemented.
15796
15797 * conform/data/unistd.h-data: Remove crypt function declaration.
15798
15799 2018-06-29 Florian Weimer <fweimer@redhat.com>
15800
15801 [BZ #23351]
15802 * malloc/hooks.c: Update comments on restoring of dumped heaps.
15803 (disallow_malloc_check): Remove variable.
15804 (__malloc_check_init): Adjust.
15805 (malloc_set_state): Update comment.
15806 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
15807 declarations.
15808
15809 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15810
15811 [BZ #23140]
15812 * localedata/locales/ast_ES (mon): Rename to...
15813 (alt_mon): This.
15814 (mon): Import from CLDR (genitive case).
15815
15816 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
15817 Jakub Sitnicki <jkbs@redhat.com>
15818
15819 [BZ #21812]
15820 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
15821 on NLM_F_DUMP_INTR.
15822
15823 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
15824
15825 * manual/llio.texi: Remove spurious space.
15826
15827 2018-06-28 Florian Weimer <fweimer@redhat.com>
15828
15829 [BZ #23349]
15830 * time/bits/types/struct_timespec.h: Change header inclusion guard to
15831 _STRUCT_TIMESPEC.
15832
15833 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15834
15835 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
15836 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
15837 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
15838 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
15839 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
15840 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
15841 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
15842
15843 2018-06-27 Maciej W. Rozycki <macro@mips.com>
15844
15845 [BZ #23266]
15846 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
15847 Copy and null-terminate entries that are not terminated, in
15848 addition to empty ones.
15849
15850 2018-06-27 Florian Weimer <fweimer@redhat.com>
15851
15852 [BZ #18023]
15853 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
15854 (extend_alloca_account): Remove.
15855 * manual/stdio.texi (Variable Arguments Output): Update comment.
15856
15857 2018-06-27 Joseph Myers <joseph@codesourcery.com>
15858
15859 * nptl/sockperf.c: Remove file.
15860
15861 2018-06-27 Florian Weimer <fweimer@redhat.com>
15862
15863 [BZ #18023]
15864 * elf/dl-deps.c (_dl_map_object_deps): Use struct
15865 scratch_buffer instead of extend_alloca.
15866
15867 2018-06-27 Florian Weimer <fweimer@redhat.com>
15868
15869 [BZ #18023]
15870 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
15871 scratch_buffer instead of extend_alloca. Update comments.
15872
15873 2018-06-27 Florian Weimer <fweimer@redhat.com>
15874
15875 [BZ #18023]
15876 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
15877 instead of extend_alloca.
15878
15879 2018-06-26 Joseph Myers <joseph@codesourcery.com>
15880
15881 [BZ #13888]
15882 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
15883 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
15884 /tmp.
15885 * scripts/test-installation.pl: Put temporary files in build
15886 directory, not /tmp.
15887 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
15888 (CFLAGS-bug4.c): Likewise.
15889 (CFLAGS-bug5.c): Likewise.
15890 (CFLAGS-test-fseek.c): Likewise.
15891 (CFLAGS-test-popen.c): Likewise.
15892 (CFLAGS-test_rdwr.c): Likewise.
15893 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
15894 /tmp.
15895 * stdio-common/bug4.c (main): Likewise.
15896 * stdio-common/bug5.c (main): Likewise.
15897 * stdio-common/test-fseek.c (TESTFILE): Likewise.
15898 * stdio-common/test-popen.c (do_test): Likewise.
15899 * stdio-common/test_rdwr.c (main): Likewise.
15900
15901 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
15902
15903 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
15904 (sem_open): Set sem.newsem.pad to zero for valgrind.
15905
15906 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15907
15908 [BZ #20251]
15909 * NEWS: Mention fcntl64 addition.
15910 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
15911 * login/utmp_file.c: Likewise.
15912 * sysdeps/posix/fdopendir.c: Likewise.
15913 * sysdeps/posix/opendir.c: Likewise.
15914 * sysdeps/unix/pt-fcntl.c: Likewise.
15915 * include/fcntl.h (__libc_fcntl64, __fcntl64,
15916 __fcntl64_nocancel_adjusted): New prototype.
15917 (__fcntl_nocancel_adjusted): Remove prototype.
15918 * io/Makefile (routines): Add fcntl64.
15919 (CFLAGS-fcntl64.c): New rule.
15920 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
15921 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
15922 * io/fcntl.h (fcntl64): Add prototype and redirect if
15923 __USE_FILE_OFFSET64 is defined.
15924 * io/fcntl64.c: New file.
15925 * manual/llio.text: Add a note for which commands fcntl acts a
15926 cancellation point.
15927 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
15928 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
15929 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
15930 New symbols.
15931 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
15932 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
15933 non-LFS case.
15934 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
15935 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
15936 to __fcntl64_nocancel.
15937 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
15938 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
15939 to __fcntl64_nocancel.
15940 * sysdeps/generic/not-cancel.h: Likewise.
15941 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
15942 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
15943 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15944 (fcntl64): New symbol.
15945 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15946 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15947 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15950 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15951 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15952 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15953 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15954 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15955 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
15956 fcntl64): Likewise.
15957 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15958 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
15959 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15960 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15961 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15962 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15963 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15964 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15965 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15967 Likewise.
15968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15969 Likewise.
15970 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15971 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15972 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15973
15974 2018-06-26 Florian Weimer <fweimer@redhat.com>
15975
15976 Run thread shutdown functions in an explicit order.
15977 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
15978 definition.
15979 (__libc_thread_freeres): Call thread shutdown functions
15980 explicitly.
15981 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
15982 * include/string.h (__strerror_thread_freeres): Declare.
15983 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
15984 arena_thread_freeres. No longer static. Remove thread shutdown
15985 hook registration.
15986 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
15987 Declare.
15988 * resolv/res-close.c (__res_thread_freeres): Renamed from
15989 res_thread_freeres. No longer static. Remove thread shutdown
15990 hook registration.
15991 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
15992 * resolv/resolv_conf.c (freeres): Remove incorrect section
15993 attribute and use libc_freeres_fn.
15994 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
15995 strerror_thread_freeres. No longer static. Remove thread
15996 shutdown hook registration.
15997 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
15998 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
15999 shutdown hook registration.
16000 * Makerules (shlib.lds): Do not provide section boundary symbols
16001 for __libc_thread_subfreeres.
16002 * manual/memory.texi (Basic Allocation): Update comment.
16003
16004 2018-06-26 Florian Weimer <fweimer@redhat.com>
16005
16006 Remove always-defined _RPC_THREAD_SAFE_ macro.
16007 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
16008 Do not define _RPC_THREAD_SAFE_.
16009 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
16010 conditional.
16011 * sunrpc/clnt_perr.c: Likewise.
16012 * sunrpc/clnt_raw.c: Likewise.
16013 * sunrpc/clnt_simp.c: Likewise.
16014 * sunrpc/key_call.c: Likewise.
16015 * sunrpc/rpc_common.c: Likewise.
16016 * sunrpc/rpc_main.c: Likewise.
16017 * sunrpc/rpc_thread.c: Likewise.
16018 * sunrpc/svc.c: Likewise.
16019 * sunrpc/svc_raw.c: Likewise.
16020 * sunrpc/svc_simple.c: Likewise.
16021 * sumrpc/svcauth_des.c: Likewise.
16022
16023 2018-06-26 Florian Weimer <fweimer@redhat.com>
16024
16025 * libio/Makefile (tests-internal): Add tst-vtables,
16026 tst-vtables-interposed.
16027 * libio/tst-vtables.c: New file.
16028 * libio/tst-vtables-common.c: Likewise.
16029 * libio/tst-vtables-interposed.c: Likewise.
16030
16031 2018-06-26 Florian Weimer <fweimer@redhat.com>
16032
16033 * support/support_test_main.c (support_test_main): Only call
16034 setvbuf if not disables.
16035 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
16036 * support/test-driver.h (struct test_config): Add no_setvbuf member.
16037
16038 2018-06-26 Florian Weimer <fweimer@redhat.com>
16039
16040 [BZ #23313]
16041 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
16042
16043 2018-06-25 Florian Weimer <fweimer@redhat.com>
16044
16045 [BZ #18023]
16046 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16047 Use struct scratch_buffer instead of extend_alloca.
16048
16049 2018-06-25 Florian Weimer <fweimer@redhat.com>
16050
16051 [BZ #18023]
16052 * nss/getent.c (initgroups_keys): Use dynarray instead of
16053 extend_alloca.
16054
16055 2018-06-25 Florian Weimer <fweimer@redhat.com>
16056
16057 [BZ #18023]
16058 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
16059 Use struct scratch_buffer instead of extend_alloca.
16060
16061 2018-06-25 Florian Weimer <fweimer@redhat.com>
16062
16063 [BZ #18023]
16064 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
16065 back to malloc directly, without stack allocations.
16066
16067 2018-06-25 Florian Weimer <fweimer@redhat.com>
16068
16069 [BZ #18023]
16070 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
16071 of extend_alloca.
16072
16073 2018-06-25 Florian Weimer <fweimer@redhat.com>
16074
16075 [BZ #18023]
16076 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
16077 of extend_alloca.
16078 * nscd/hstcache.c (addhstbyX): Likewise.
16079 * nscd/pwdcache.c (addpwbyX): Likewise.
16080 * nscd/servicescache.c (addservbyX): Likewise.
16081
16082 2018-06-25 Florian Weimer <fweimer@redhat.com>
16083
16084 [BZ #18023]
16085 * nscd/connections.c (read_cmdline): New function.
16086 (restart): Use it. Update comment.
16087
16088 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
16089
16090 [BZ #23140]
16091 * localedata/locales/csb_PL (mon): Rename to...
16092 (alt_mon): This.
16093 (abmon): Rename to...
16094 (ab_alt_mon): This.
16095 (mon): Add with proper genitive forms, copy from Wikipedia.
16096 (abmon): Likewise.
16097
16098 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
16099
16100 [BZ #19485]
16101 * localedata/locales/csb_PL (mon): Fix typos:
16102 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
16103 (yesstr): Add, value is "jo".
16104 (nostr): Add, value is "nié".
16105
16106 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16107
16108 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
16109 all log1p and significand functions on m680x0.
16110 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
16111 of s_significand.c..
16112 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16113 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
16114 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
16115 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
16116 s_log1p.c and include it..
16117
16118 2018-06-21 Vincent Chen <vincentc@andestech.com>
16119
16120 * elf/elf.h (R_NDS32_NONE): New define.
16121 (R_NDS32_32_RELA): Likewise.
16122 (R_NDS32_COPY): Likewise.
16123 (R_NDS32_GLOB_DAT): Likewise.
16124 (R_NDS32_JUMP_SLOT): Likewise.
16125 (R_NDS32_RELATIVE): Likewise.
16126 (R_NDS32_TLS_TPOFF): Likewise.
16127 (R_NDS32_TLS_DESC): Likewise.
16128
16129 2018-06-21 Mark Wielaard <mark@klomp.org>
16130
16131 * elf/elf.h (R_BPF_MAP_FD): Removed.
16132 (R_BPF_64_64, R_BPF_64_32): New.
16133
16134 2018-06-21 Florian Weimer <fweimer@redhat.com>
16135
16136 [BZ #23253]
16137 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
16138 Renamed from libc_feholdsetround_ctx.
16139 (default_libc_feresetround_ctx): Renamed from
16140 libc_feresetround_ctx.
16141 (default_libc_feholdsetround_noex_ctx): Renamed from
16142 libc_feholdsetround_noex_ctx.
16143 (default_libc_feresetround_noex_ctx): Renamed from
16144 libc_feresetround_noex_ctx.
16145 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
16146 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
16147 forwardning to the old implementations under the new names.
16148 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
16149 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
16150 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
16151 (libc_feresetround_ctx): Forward to default implements for i386
16152 and MATH_SET_BOTH_ROUNDING_MODES.
16153 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
16154 Add -DMATH_SET_BOTH_ROUNDING_MODES.
16155
16156 2018-06-20 Joseph Myers <joseph@codesourcery.com>
16157
16158 * string/tst-cmp.c: Include <libc-diag.h>.
16159 (strncmp_max): Disable -Wstringop-overflow= around call to
16160 strncmp.
16161 (strncasecmp_max): Disable -Wstringop-overflow= around call to
16162 strncasecmp.
16163
16164 * string/bug-strpbrk1.c: Include <libc-diag.h>.
16165 (main): Disable -Wunused-value around call to strpbrk.
16166 * string/bug-strspn1.c: Include <libc-diag.h>.
16167 (main): Disable -Wunused-value around call to strspn.
16168
16169 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16170 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16171
16172 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
16173 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
16174
16175 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16176
16177 * math/Makefile (libm-calls): Move s_significandF to...
16178 (gen-libm-calls): ... here.
16179 * math/s_significand_template.c: New file.
16180 * math/s_significand.c: Removed.
16181 * math/s_significandf.c: Removed.
16182 * math/s_significandl.c: Removed.
16183 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
16184 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
16185
16186 * math/e_exp2_template.c (declare_mgen_finite_alias,
16187 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
16188 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
16189 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
16190
16191 2018-06-20 Florian Weimer <fweimer@redhat.com>
16192
16193 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
16194
16195 2018-06-19 Joseph Myers <joseph@codesourcery.com>
16196
16197 [BZ #23280]
16198 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
16199 floating-point number to strtod functions rather than possibly
16200 negating result of those functions.
16201 * stdio-common/tst-scanf-round.c: New file.
16202 * stdio-common/Makefile (tests): Add tst-scanf-round.
16203 ($(objpfx)tst-scanf-round): Depend on $(libm).
16204
16205 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16206
16207 * sysdeps/mach/hurd/localplt.data: Move to...
16208 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
16209 R_386_GLOB_DAT like on Linux i386.
16210
16211 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16212
16213 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
16214 (SHM_STAT_ANY): New macro.
16215 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
16216 (SHM_STAT_ANY): Likewise.
16217 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
16218 (SHM_STAT_ANY): Likewise.
16219 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
16220 (SHM_STAT_ANY): Likewise.
16221 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
16222 (SHM_STAT_ANY): Likewise.
16223 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
16224 (SHM_STAT_ANY): Likewise.
16225 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
16226 (SHM_STAT_ANY): Likewise.
16227 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
16228 (SHM_STAT_ANY): Likewise.
16229 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
16230 (SHM_STAT_ANY): Likewise.
16231 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
16232 (SHM_STAT_ANY): Likewise.
16233 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
16234 (SHM_STAT_ANY): Likewise.
16235 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
16236 (SHM_STAT_ANY): Likewise.
16237
16238 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
16239 (SEM_STAT_ANY): New macro.
16240 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
16241 (SEM_STAT_ANY): Likewise.
16242 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
16243 (SEM_STAT_ANY): Likewise.
16244 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
16245 (SEM_STAT_ANY): Likewise.
16246 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
16247 (SEM_STAT_ANY): Likewise.
16248 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
16249 (SEM_STAT_ANY): Likewise.
16250 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
16251 (SEM_STAT_ANY): Likewise.
16252 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
16253 (SEM_STAT_ANY): Likewise.
16254 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
16255 (SEM_STAT_ANY): Likewise.
16256 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
16257 (SEM_STAT_ANY): Likewise.
16258
16259 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
16260 (MSG_STAT_ANY): New macro.
16261 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
16262 (MSG_STAT_ANY): Likewise.
16263 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
16264 (MSG_STAT_ANY): Likewise.
16265 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
16266 (MSG_STAT_ANY): Likewise.
16267 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
16268 (MSG_STAT_ANY): Likewise.
16269 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
16270 (MSG_STAT_ANY): Likewise.
16271 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
16272 (MSG_STAT_ANY): Likewise.
16273 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
16274 (MSG_STAT_ANY): Likewise.
16275 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
16276 (MSG_STAT_ANY): Likewise.
16277 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
16278 (MSG_STAT_ANY): Likewise.
16279
16280 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16281 (MAP_TYPE): Change value to 0x2b.
16282
16283 2018-06-18 Florian Weimer <fweimer@redhat.com>
16284
16285 [BZ #15722]
16286 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
16287 socket with SOCK_CLOEXEC.
16288
16289 2018-06-18 Joseph Myers <joseph@codesourcery.com>
16290
16291 [BZ #23303]
16292 * sysdeps/powerpc/powerpc64/le/Makefile
16293 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
16294 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
16295 (gnulib-tests): Also add $(f128-loader-link) for
16296 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
16297
16298 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
16299
16300 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
16301 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
16302 of sendfile.
16303 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
16304 (sendfile64): New strong alias.
16305 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
16306 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
16307 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
16308 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
16309 attribute.
16310 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
16311 ___pthread_get_cleanup_stack.
16312 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
16313 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
16314 * mach/shortcut.awk: Make syscall stubs include
16315 <mach-shortcuts-hidden.h> and add hidden definition.
16316 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
16317 (__mach_msg): Add hidden prototype.
16318 * mach/msg.c: Include <mach.h>.
16319 (__mach_msg): Add hidden definition.
16320 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
16321 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
16322 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
16323 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
16324 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
16325 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
16326 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
16327 prototype and definition.
16328 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
16329 hidden target for _hurd_self_sigstate.
16330
16331 2018-06-15 Joseph Myers <joseph@codesourcery.com>
16332
16333 [BZ #23007]
16334 * stdlib/tst-strtod-nan-sign-main.c: New file.
16335 * stdlib/tst-strtod-nan-sign.c: Likewise.
16336 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
16337 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
16338 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
16339 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
16340 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
16341
16342 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
16343
16344 [BZ #23007]
16345 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
16346 appropriate sign.
16347
16348 2018-06-14 Florian Weimer <fweimer@redhat.com>
16349
16350 [BZ #23290]
16351 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
16352 that the result stays within the ISO-8859-1 range.
16353 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
16354 characters are defined in IBM273.
16355
16356 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
16357
16358 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
16359 __mach_task_self): Remove attribute_hidden.
16360
16361 2018-06-14 Joseph Myers <joseph@codesourcery.com>
16362
16363 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
16364 ignore -Wrestrict for one test.
16365
16366 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
16367 Szabolcs Nagy <szabolcs.nagy@arm.com>
16368
16369 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
16370
16371 2018-06-14 Florian Weimer <fweimer@redhat.com>
16372
16373 * scripts/update-abilist.sh: Accept empty list of files to patch.
16374
16375 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
16376
16377 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
16378 test-xfail-check-abi-libmachuser): Add.
16379 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
16380 __libc_read and __libc_write to __read and __write.
16381 * sysdeps/hurd/include/hurd/port.h: New file.
16382 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
16383 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
16384 __thread_switch, __evc_wait): Move declarations to...
16385 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
16386 attribute_hidden.
16387 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
16388 use PLT to call _hurd_self_sigstate.
16389
16390 2018-06-13 Joseph Myers <joseph@codesourcery.com>
16391
16392 [BZ #23279]
16393 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
16394 MAX_EXP as overflowing.
16395 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
16396 overflow flag.
16397 (round_str): Output also whether result overflows in each rounding
16398 mode.
16399 * stdlib/tst-strtod-round-data: Add more tests.
16400 * stdlib/tst-strtod-round-data.h: Regenerated.
16401 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
16402 (TEST): Handle extra arguments for overflow flags.
16403 (struct test_overflow): New type.
16404 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
16405 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
16406 (test_in_one_mode): Take argument with overflow information.
16407 (do_test): Update calls to test_in_one_mode.
16408
16409 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16410
16411 * elf/dl-load (_dl_dst_substitute): Correct comment.
16412 (_dl_dst_count): Likewise.
16413
16414 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
16415 lll_futex_timed_wait.
16416
16417 2018-06-12 Joseph Myers <joseph@codesourcery.com>
16418
16419 [BZ #23277]
16420 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
16421 attribute.
16422 * math/test-nan-const.c: New file.
16423 * math/Makefile (tests): Add test-nan-const.
16424 (CFLAGS-test-nan-const.c): New variable.
16425
16426 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16427
16428 * benchtests/scripts/compare_strings.py (process_results): Add
16429 funcs argument. Compare only functions which are selected.
16430 (main): Check if base function is among selected functions.
16431 Pass selected functions to process_results.
16432 (__main__): Add -f/--functions argument.
16433
16434 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
16435 Hongbo Zhang <hongbo.zhang@linaro.org>
16436
16437 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
16438 __memcpy_falkor for phecda core.
16439 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
16440 __memmove_falkor for phecda core.
16441 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
16442 __memset_falkor for phecda core.
16443 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
16444 for phecda core.
16445 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
16446 macro to identify phecda core.
16447
16448 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16449 Andreas Schwab <schwab@suse.de>
16450 Dmitry V. Levin <ldv@altlinux.org>
16451 Florian Weimer <fweimer@redhat.com>
16452
16453 [BZ #23102]
16454 [BZ #21942]
16455 [BZ #18018]
16456 [BZ #23259]
16457 CVE-2011-0536
16458 * elf/dl-dst.h: Remove DL_DST_COUNT.
16459 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
16460 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
16461 (is_dst): Comment. Support ELF gABI.
16462 (_dl_dst_count): Comment. Simplify and count DSTs.
16463 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
16464 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
16465 locals.
16466
16467 2018-06-12 Zack Weinberg <zackw@panix.com>
16468
16469 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
16470 * sysdeps/unix/sysv/linux/dl-sysdep.c
16471 Include not-cancel.h. Use __close_nocancel instead of __close,
16472 __open64_nocancel instead of __open, __read_nocancel instead of
16473 __libc_read, and __write_nocancel instead of __libc_write.
16474
16475 * csu/check_fds.c (check_one_fd)
16476 * sysdeps/posix/fdopendir.c (__fdopendir)
16477 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
16478 instead of __fcntl and/or __libc_fcntl.
16479
16480 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
16481 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
16482 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
16483 Use __open64_nocancel instead of __open_nocancel.
16484
16485 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
16486 hidden_proto declarations to the end and issue them if either
16487 IS_IN(libc) or IS_IN(rtld).
16488 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
16489 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
16490 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
16491 read_nocancel, waitpid_nocancel, write_nocancel.
16492
16493 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
16494 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
16495 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
16496
16497 * nptl/pt-fcntl.c: New file.
16498 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
16499 (libpthread-routines): Add pt-fcntl.
16500 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
16501 (__libc_fcntl): Remove attribute_hidden.
16502 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
16503 __fcntl_nocancel_adjusted, not fcntl_common.
16504 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
16505 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
16506 to fcntl_nocancel.c.
16507 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
16508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
16509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16510 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
16511
16512 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
16513 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
16514 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
16515 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
16516 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
16517 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
16518 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
16519 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
16520 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
16521 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
16522 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
16523 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
16524 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
16525 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
16526 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
16527 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
16528 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
16529 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
16530 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
16531 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
16532
16533 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
16534 libpthread-routines.
16535 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
16536 defines nothing.
16537
16538 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
16539 __libc_read, and __write instead of __libc_write. Define
16540 __open64 in addition to __open.
16541
16542 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16543
16544 [BZ #23250]
16545 [BZ #10686]
16546 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
16547 to _private_tm[3] and add __glibc_reserved2.
16548 Add _Static_assert of offset of __private_ss == 0x30.
16549 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
16550 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
16551
16552 2018-06-12 Florian Weimer <fweimer@redhat.com>
16553
16554 x86: Make strncmp usable from rtld.
16555 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
16556 __strncmp_ia32 if in libc (and not in rtld).
16557 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
16558 strncmp if not in libc (and not to __strncmp_sse2).
16559
16560 2018-06-12 Rafał Lużyński <digitalfreak@lingonborough.com>
16561
16562 [BZ #23140]
16563 * localedata/locales/gd_GB (mon): Rename to...
16564 (alt_mon): This.
16565 (mon): Import from CLDR (genitive case).
16566 * localedata/locales/hsb_DE (mon): Rename to...
16567 (alt_mon): This.
16568 (mon): Import from CLDR (genitive case).
16569 * localedata/locales/wa_BE (mon): Rename to...
16570 (alt_mon): This.
16571 (mon): Add, fill with the proper genitive forms, but CLDR data
16572 is incomplete; completed according to the comments in this file.
16573 (d_t_fmt): Do not use "di" before the month name, no longer needed.
16574
16575 * localedata/locales/wa_BE (country_name): Reword
16576 "Beljike" -> "Beldjike".
16577
16578 2018-06-11 Joseph Myers <joseph@codesourcery.com>
16579
16580 [BZ #23272]
16581 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
16582 cases of non-finite arguments.
16583 * math/libm-test-fma.inc (fma_test_data): Add more tests.
16584
16585 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
16586
16587 [BZ #23174]
16588 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
16589
16590 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16591
16592 [BZ #23264]
16593 * include/unistd.h (__execvpex): New prototype.
16594 * posix/Makefile (tests): Add tst-spawn4.
16595 (tests-internal): Add tst-spawn4-compat.
16596 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
16597 * posix/tst-spawn4-compat.c: New file.
16598 * posix/tst-spawn4.c: Likewise.
16599 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
16600 binaries as shell scripts.
16601 * sysdeps/posix/spawni.c (__spawni): Likewise.
16602
16603 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
16604
16605 [BZ #23145]
16606 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
16607 ($(all-built-dso:=.dynsym): New target.
16608 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
16609 ($(objpfx)check-initfini.out): New target.
16610 (generated): Add check-initfini.out.
16611 * scripts/check-initfini.awk: New file.
16612 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
16613 (_fini): Likewise.
16614 * sysdeps/alpha/crti.S (_init): Mark as hidden.
16615 (_fini): Likewise.
16616 * sysdeps/arm/crti.S (_init): Mark as hidden.
16617 (_fini): Likewise.
16618 * sysdeps/hppa/crti.S (_init): Mark as hidden.
16619 (_fini): Likewise.
16620 * sysdeps/i386/crti.S (_init): Mark as hidden.
16621 (_fini): Likewise.
16622 * sysdeps/ia64/crti.S (_init): Mark as hidden.
16623 (_fini): Likewise.
16624 * sysdeps/m68k/crti.S (_init): Mark as hidden.
16625 (_fini): Likewise.
16626 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
16627 (_fini): Likewise.
16628 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
16629 (_fini): Likewise.
16630 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
16631 (_fini): Likewise.
16632 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
16633 (_fini): Likewise.
16634 * sysdeps/nios2/crti.S (_init): Mark as hidden.
16635 (_fini): Likewise.
16636 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
16637 (_fini): Likewise.
16638 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
16639 (_fini): Likewise.
16640 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
16641 (_fini): Likewise.
16642 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
16643 (_fini): Likewise.
16644 * sysdeps/sh/crti.S (_init): Mark as hidden.
16645 (_fini): Likewise.
16646 * sysdeps/sparc/crti.S (_init): Mark as hidden.
16647 (_fini): Likewise.
16648 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
16649 (_fini): Likewise.
16650
16651 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16652
16653 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
16654 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
16655 and TF redirection to KFtype and KF only when the default
16656 long double type is not the IEEE 128-bit floating point type.
16657
16658 2018-06-05 Joseph Myers <joseph@codesourcery.com>
16659
16660 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
16661 macro.
16662 (HWCAP_USCAT): Likewise.
16663 (HWCAP_ILRCPC): Likewise.
16664 (HWCAP_FLAGM): Likewise.
16665 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16666 Increase to 28.
16667 (_dl_aarch64_cap_flags): Add new flag names.
16668
16669 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16670 (MAP_FIXED_NOREPLACE): New macro.
16671 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
16672 (MAP_FIXED_NOREPLACE): Likewise.
16673 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
16674 (MAP_FIXED_NOREPLACE): Likewise.
16675 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16676 (MAP_FIXED_NOREPLACE): Likewise.
16677 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16678 (MAP_FIXED_NOREPLACE): Likewise.
16679 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16680 (MAP_FIXED_NOREPLACE): Likewise.
16681 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16682 (MAP_FIXED_NOREPLACE): Likewise.
16683 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
16684 (MAP_FIXED_NOREPLACE): Likewise.
16685 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16686 (MAP_FIXED_NOREPLACE): Likewise.
16687 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
16688 (MAP_FIXED_NOREPLACE): Likewise.
16689 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16690 (MAP_FIXED_NOREPLACE): Likewise.
16691 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16692 (MAP_FIXED_NOREPLACE): Likewise.
16693 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
16694 (MAP_FIXED_NOREPLACE): Likewise.
16695 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
16696 (MAP_FIXED_NOREPLACE): Likewise.
16697 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
16698 (MAP_FIXED_NOREPLACE): Likewise.
16699
16700 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16701 version to 4.17.
16702
16703 2018-06-04 Joseph Myers <joseph@codesourcery.com>
16704
16705 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16706 version to 4.17
16707
16708 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16709
16710 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
16711 int.
16712 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
16713
16714 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16715
16716 * benchtests/scripts/compare_string.py: (process_results) Catch
16717 exception in non-existent base_func and catch exception in
16718 non-existent attribute.
16719 (parse_file) Catch exception if input file does not exist.
16720
16721 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16722
16723 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
16724 options to avoid diff calculation and omit header, respectively.
16725 (main): process --no-diff and --no-header
16726
16727 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16728 H.J. Lu <hongjiu.lu@intel.com>
16729
16730 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16731 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
16732 wcsncmp-sse2.
16733 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16734 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
16735 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
16736 and __wcsncmp_sse2.
16737 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
16738 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
16739 AVX unaligned load is fast and vzeroupper is preferred.
16740 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
16741 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
16742 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
16743 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
16744 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
16745 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
16746 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
16747 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
16748 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
16749 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
16750 is undefined.
16751
16752 2018-06-01 Florian Weimer <fweimer@redhat.com>
16753
16754 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
16755 configuring with --disable-multi-arch, building with
16756 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
16757 Haswell-era CPU.
16758
16759 2018-06-01 Florian Weimer <fweimer@redhat.com>
16760
16761 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
16762 results from building with “-march=x86-64 -mtune=generic
16763 -mfpmath=sse” and running on a Haswell-era CPU.
16764
16765 2018-06-01 Joseph Myers <joseph@codesourcery.com>
16766
16767 [BZ #18473]
16768 * soft-fp/sqrttf2.c: Remove file.
16769 * soft-fp/sqrtdf2.c: Move to ....
16770 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
16771 <shlib-compat.h>.
16772 (__sqrtdf2): Make conditional on
16773 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16774 symbol.
16775 * soft-fp/sqrtsf2.c: Move to ....
16776 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
16777 <shlib-compat.h>.
16778 (__sqrtsf2): Make conditional on
16779 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16780 symbol.
16781 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
16782 (gcc-double-routines): Remove sqrtdf2.
16783 (gcc-quad-routines): Remove sqrttf2.
16784 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16785 Do not filter out sqrtsf2 and sqrtdf2.
16786 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16787 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
16788
16789 2018-06-01 Florian Weimer <fweimer@redhat.com>
16790
16791 * sysdeps/generic/libcidn.abilist: Remove file.
16792
16793 2018-06-01 Florian Weimer <fweimer@redhat.com>
16794
16795 [BZ #23236]
16796 * libio/strfile.h (struct _IO_str_fields): Rename members to
16797 discourage their use and add comment.
16798 (_IO_STR_DYNAMIC): Remove unused macro.
16799 * libio/strops.c (_IO_str_init_static_internal): Do not use
16800 callback pointers. Call malloc and free.
16801 (_IO_str_overflow): Do not use callback pointers. Call malloc
16802 and free.
16803 (enlarge_userbuf): Likewise.
16804 (_IO_str_finish): Call free.
16805 * libio/wstrops.c (_IO_wstr_init_static): Initialize
16806 _allocate_buffer_unused.
16807 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
16808 and free.
16809 (enlarge_userbuf): Likewise.
16810 (_IO_wstr_finish): Call free.
16811 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
16812 _allocate_buffer_unused, _free_buffer_unused.
16813 * libio/memstream.c (__open_memstream): Likewise.
16814 * libio/vasprintf.c (_IO_vasprintf): Likewise.
16815 * libio/wmemstream.c (open_wmemstream): Likewise.
16816
16817 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
16818
16819 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
16820 AMD Ryzen 7 1800X.
16821
16822 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16823
16824 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
16825 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
16826 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
16827 New file.
16828 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
16829 Likewise.
16830 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
16831
16832 2018-05-29 Florian Weimer <fweimer@redhat.com>
16833
16834 * support/Makefile (libsupport-routines): Add
16835 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
16836 xpthread_barrierattr_setpshared.
16837 * support/xpthread_barrierattr_destroy.c: New file.
16838 * support/xpthread_barrierattr_init.c: Likewise.
16839 * support/xpthread_barrierattr_setpshared.c: Likewise.
16840
16841 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
16842
16843 [BZ #23206]
16844 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
16845 _r_debug and update DT_DEBUG for debugger.
16846
16847 2018-05-29 Florian Weimer <fweimer@redhat.com>
16848
16849 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
16850 (tst-strtod5i.out): Likewise.
16851
16852 2018-05-25 Joseph Myers <joseph@codesourcery.com>
16853
16854 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
16855 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
16856 (sparc64-quad-routines): New variable. Moved from ....
16857 [$(subdir) = soft-fp] (sysdep_routines): Add
16858 $(sparc64-quad-routines). Moved from ....
16859 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
16860 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
16861 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
16862 moved from ....
16863 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
16864 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
16865 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
16866 * sysdeps/sparc/sparc64/qp_add.c: ... here.
16867 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
16868 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
16869 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
16870 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
16871 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
16872 * sysdeps/sparc/sparc64/qp_div.c: ... here.
16873 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
16874 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
16875 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
16876 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
16877 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
16878 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
16879 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
16880 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
16881 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
16882 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
16883 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
16884 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
16885 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
16886 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
16887 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
16888 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
16889 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
16890 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
16891 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
16892 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
16893 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
16894 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
16895 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
16896 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
16897 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
16898 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
16899 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
16900 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
16901 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
16902 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
16903 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
16904 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
16905 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
16906 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
16907 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
16908 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
16909 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
16910 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
16911 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
16912 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
16913 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
16914 * sysdeps/sparc/sparc64/qp_util.c: ... here.
16915 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
16916 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
16917 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
16918 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
16919 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
16920 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
16921
16922 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
16923 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
16924 (sparc32-quad-routines): New variable. Moved from ....
16925 [$(subdir) = soft-fp] (sysdep_routines): Add
16926 $(sparc32-quad-routines). Moved from ....
16927 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
16928 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
16929 moved from ....
16930 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
16931 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
16932 * sysdeps/sparc/sparc32/q_add.c: ... here.
16933 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
16934 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
16935 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
16936 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
16937 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
16938 * sysdeps/sparc/sparc32/q_div.c: ... here.
16939 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
16940 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
16941 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
16942 * sysdeps/sparc/sparc32/q_feq.c: ... here.
16943 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
16944 * sysdeps/sparc/sparc32/q_fge.c: ... here.
16945 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
16946 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
16947 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
16948 * sysdeps/sparc/sparc32/q_fle.c: ... here.
16949 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
16950 * sysdeps/sparc/sparc32/q_flt.c: ... here.
16951 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
16952 * sysdeps/sparc/sparc32/q_fne.c: ... here.
16953 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
16954 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
16955 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
16956 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
16957 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
16958 * sysdeps/sparc/sparc32/q_mul.c: ... here.
16959 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
16960 * sysdeps/sparc/sparc32/q_neg.c: ... here.
16961 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
16962 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
16963 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
16964 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
16965 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
16966 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
16967 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
16968 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
16969 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
16970 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
16971 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
16972 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
16973 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
16974 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
16975 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
16976 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
16977 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
16978 * sysdeps/sparc/sparc32/q_sub.c: ... here.
16979 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
16980 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
16981 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
16982 * sysdeps/sparc/sparc32/q_util.c: ... here.
16983 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
16984 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
16985 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
16986 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
16987
16988 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16989 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16990
16991 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
16992 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
16993 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
16994 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
16995
16996 2018-05-24 Joseph Myers <joseph@codesourcery.com>
16997
16998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
16999 powerpc/soft-fp.
17000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17001 Likewise.
17002 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
17003 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
17004
17005 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17006
17007 [BZ #23171]
17008 * math/math.h [C++] (iseqsig): Fix parameter type for the long
17009 double version.
17010
17011 2018-05-23 Joseph Myers <joseph@codesourcery.com>
17012
17013 * sysdeps/sh/Implies: Remove sh/soft-fp.
17014 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
17015 * sysdeps/sh/sfp-machine.h: ... here.
17016
17017 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17018
17019 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17020 (__mempcpy_erms): Skip zero length.
17021 (__memmove_erms): Likewise.
17022 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17023 (__memset_erms): Likewise.
17024
17025 2018-05-23 Joseph Myers <joseph@codesourcery.com>
17026
17027 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
17028 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
17029 Add functions moved from ....
17030 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
17031 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
17032 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
17033 from ....
17034 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
17035 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
17036 * sysdeps/alpha/e_sqrtl.c: ... here.
17037 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
17038 * sysdeps/alpha/local-soft-fp.h: ... here.
17039 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
17040 * sysdeps/alpha/ots_add.c: ... here.
17041 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
17042 * sysdeps/alpha/ots_cmp.c: ... here.
17043 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
17044 * sysdeps/alpha/ots_cmpe.c: ... here.
17045 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
17046 * sysdeps/alpha/ots_cvtqux.c: ... here.
17047 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
17048 * sysdeps/alpha/ots_cvtqx.c: ... here.
17049 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
17050 * sysdeps/alpha/ots_cvttx.c: ... here.
17051 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
17052 * sysdeps/alpha/ots_cvtxq.c: ... here.
17053 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
17054 * sysdeps/alpha/ots_cvtxt.c: ... here.
17055 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
17056 * sysdeps/alpha/ots_div.c: ... here.
17057 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
17058 * sysdeps/alpha/ots_mul.c: ... here.
17059 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
17060 * sysdeps/alpha/ots_nintxq.c: ... here.
17061 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
17062 * sysdeps/alpha/ots_sub.c: ... here.
17063 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
17064 * sysdeps/alpha/sfp-machine.h: ... here.
17065
17066 2018-05-23 Florian Weimer <fweimer@redhat.com>
17067
17068 [BZ #19728]
17069 [BZ #19729]
17070 [BZ #22247]
17071 CVE-2016-6261
17072 CVE-2016-6263
17073 CVE-2017-14062
17074 Switch to extern IDNA implementation (libidn2).
17075 * libidn: Remove subdirectory.
17076 * LICENSES: Do not mention licensing conditions for the removed
17077 libidn code.
17078 * config.h.in (HAVE_LIBIDN): Remove.
17079 * include/dlfcn.h (__libc_dlopen): Update comment.
17080 * include/idna.h: Remove file.
17081 * inet/Makefile (routines): Add idna.
17082 (tests-static, tests-internal): Add tst-idna_name_classify.
17083 (LOCALES): Generate locales for tests.
17084 (tst-idna_name_classify.out): Depend on generated locales.
17085 * inet/idna_name_classify.c: New file.
17086 * inet/tst-idna_name_classify.c: Likewise.
17087 * inet/net-internal.h (__idna_to_dns_encoding)
17088 (__idna_from_dns_encoding): Declare.
17089 * inet/net-internal.h (enum idna_name_classification): Define.
17090 (__idna_name_classify): Declare.
17091 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
17092 __idna_from_dns_encoding.
17093 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
17094 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
17095 name as a fallback in case of encoding errors.
17096 (getnameinfo): Use DEPRECATED_NI_IDN.
17097 * inet/idna.c: New file.
17098 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
17099 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
17100 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
17101 (modules-names): Add tst-no-libidn2.
17102 (extra-test-objs): Add tst-no-libidn2.os.
17103 (LDFLAGS-tst-no-libidn2.so): Set soname.
17104 (LOCALES): Set, and generate locales.
17105 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
17106 (tst-resolv-ai_idn-latin1): Likewise.
17107 (tst-resolv-ai_idn-nolibidn2): Likewise.
17108 (tst-resolv-ai_idn.out): Depend on locales.
17109 (tst-resolv-ai_idn-latin1.out): Depend on locales.
17110 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
17111 tst-no-libidn2.so.
17112 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
17113 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
17114 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
17115 * resolv/tst-resolv-ai_idn.c: New file.
17116 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
17117 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
17118 * resolv/tst-no-libidn2.c: Likewise.
17119 * support/support_format_addrinfo.c (format_ai_flags): Do not
17120 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
17121 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
17122 (gaih_inet): Call __idna_to_dns_encoding and
17123 __idna_from_dns_encoding, and use the original (punycode) name if
17124 __idna_from_dns_encoding fails due to an encoding error.
17125 (getaddrinfo): Use DEPRECATED_AI_IDN.
17126 * sysdeps/unix/inet/Subdirs (libidn): Remove.
17127 * sysdeps/unix/inet/configure: Remove file.
17128 * sysdeps/unix/inet/configure.ac: Likewise.
17129
17130 2018-05-23 Florian Weimer <fweimer@redhat.com>
17131
17132 Implement allocate_once.
17133 * include/allocate_once.h: New file.
17134 * misc/allocate_once.c: Likewise.
17135 * misc/tst-allocate_once.c: Likewise.
17136 * misc/Makefile (routines): Add allocate_once.
17137 (tests-internal): Add tst-allocate_once.
17138 (generated): Add tst-allocate_once.mtrace,
17139 tst-allocate_once-mem.out.
17140 (tests-special): Add tst-allocate_once-mem.out.
17141 (tst-allocate_once-ENV): Set MALLOC_TRACE.
17142 (tst-allocate_once-mem.out): Call mtrace.
17143 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
17144
17145 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
17146
17147 [BZ #23196]
17148 * string/test-memcpy.c (do_test1): New function.
17149 (test_main): Call it.
17150
17151 2018-05-23 Andreas Schwab <schwab@suse.de>
17152
17153 [BZ #23196]
17154 CVE-2018-11237
17155 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
17156 (L(preloop_large)): Save initial destination pointer in %r11 and
17157 use it instead of %rax after the loop.
17158 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
17159
17160 2018-05-22 Joseph Myers <joseph@codesourcery.com>
17161
17162 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
17163 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
17164 -I../soft-fp. Moved from ....
17165 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
17166 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
17167 * sysdeps/aarch64/e_sqrtl.c: ... here.
17168 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
17169 * sysdeps/aarch64/sfp-machine.h: ... here.
17170
17171 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
17172 -Wmaybe-uninitialized around access to fq[0].
17173 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17174 Likewise.
17175
17176 [BZ #18471]
17177 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
17178 aliases for non-libc case of versioned symbols.
17179 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
17180 (llseek): Define as compat symbol if
17181 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
17182 with link warning.
17183 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
17184 Make into a compat symbol, disabled for minimum symbol version
17185 GLIBC_2.28 and later.
17186 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
17187
17188 2018-05-22 Florian Weimer <fweimer@redhat.com>
17189
17190 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
17191 not add -mpreferred-stack-boundary=4.
17192 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
17193 (stack-align-test-flags): Likewise.
17194 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
17195 Likewise.
17196 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
17197 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
17198 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
17199 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
17200 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
17201 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
17202 (CFLAGS-tst-align2.c): Likewise.
17203
17204 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17205
17206 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
17207 (index_arch_Prefer_FSRM): Likewise.
17208 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
17209 Also check Prefer_FSRM.
17210 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
17211 Also return OPTIMIZE (erms) for Prefer_FSRM.
17212
17213 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
17214
17215 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
17216 (index_cpu_FSRM): Likewise.
17217 (reg_FSRM): Likewise.
17218
17219 2018-05-18 Joseph Myers <joseph@codesourcery.com>
17220
17221 * math/gen-tgmath-tests.py: Import sys.
17222 (Tests.__init__): Initialize macros_seen.
17223 (Tests.add_tests): Add macro to macros_seen. Only generate tests
17224 if requested to do so for this macro.
17225 (Tests.add_all_tests): Take argument for macro for which to
17226 generate tests.
17227 (Tests.check_macro_list): New function.
17228 (main): Handle check-list argument and argument specifying macro
17229 for which to generate tests.
17230 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
17231 [PYTHON] (tgmath3-macro-tests): Likewise.
17232 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
17233 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
17234 not test-tgmath3.c.
17235 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
17236 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
17237 to CFLAGS.
17238 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
17239 [PYTHON] ($(foreach
17240 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
17241 rule.
17242 [PYTHON] (tests-special): Add
17243 $(objpfx)test-tgmath3-macro-list.out.
17244 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
17245
17246 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
17247 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
17248 later.
17249
17250 [BZ #22639]
17251 * time/tzset.c (SECSPERDAY): Cast to time_t.
17252 * time/tst-y2039.c: New file.
17253 * time/Makefile (tests): Add tst-y2039.
17254
17255 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
17256
17257 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17258 (PREFETCH_ONE_SET): Remove duplicate line.
17259
17260 2018-05-17 Florian Weimer <fweimer@redhat.com>
17261
17262 * sysdeps/generic/math-type-macros-double.h: Include
17263 <math-nan-payload-double.h> after <libm-alias-double.h>.
17264 * sysdeps/generic/math-type-macros-float.h: Include
17265 <math-nan-payload-float.h> after <libm-alias-float.h>.
17266 * sysdeps/generic/math-type-macros-float128.h: Include
17267 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
17268 * sysdeps/generic/math-type-macros-ldouble.h: Include
17269 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
17270
17271 2018-05-17 Andreas Schwab <schwab@suse.de>
17272
17273 * resolv/res_send.c (__res_context_send): Don't set errno when
17274 returing error after malloc failure.
17275
17276 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
17277
17278 * nptl/allocatestack.c (allocate_stack): Remove the
17279 !__ASSUME_PRIVATE_FUTEX paths.
17280 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
17281 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17282 Likewise.
17283 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
17284 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17285 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17286 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
17287 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
17288 !__ASSUME_PRIVATE_FUTEX path.
17289 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
17290 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
17291 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
17292 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
17293 !__ASSUME_PRIVATE_FUTEX macros.
17294 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17295 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17296 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17297 * sysdeps/unix/sysv/linux/kernel-features.h
17298 (__ASSUME_PRIVATE_FUTEX): Removed.
17299
17300 2018-05-17 Joseph Myers <joseph@codesourcery.com>
17301
17302 * math/Makefile (libm-narrow-fns): Add div.
17303 (libm-test-funcs-narrow): Likewise.
17304 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
17305 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
17306 * math/gen-auto-libm-tests.c (test_functions): Add div.
17307 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
17308 (NARROW_DIV_ROUND_TO_ODD): Likewise.
17309 (NARROW_DIV_TRIVIAL): Likewise.
17310 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
17311 macro.
17312 (__ddivl): Likewise.
17313 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
17314 ddiv.
17315 (CFLAGS-nldbl-ddiv.c): New variable.
17316 (CFLAGS-nldbl-fdiv.c): Likewise.
17317 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17318 __nldbl_ddivl.
17319 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
17320 prototype.
17321 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
17322 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
17323 * math/auto-libm-test-in: Add tests of div.
17324 * math/auto-libm-test-out-narrow-div: New generated file.
17325 * math/libm-test-narrow-div.inc: New file.
17326 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
17327 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
17328 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
17329 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
17330 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
17331 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
17332 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
17333 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
17334 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
17335 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
17336 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
17337 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
17338 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
17339 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
17340 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
17341 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
17342 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
17343 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
17344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17345 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17346 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17347 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17348 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17349 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17350 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17351 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17352 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17353 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17354 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17355 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17356 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17357 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17362 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17363 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17364 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17365 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17366 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17367 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17368 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17369 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17370
17371 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17372
17373 [BZ #23178]
17374 * nscd/nscd-client.h (sendfileall): Remove prototype.
17375 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
17376 (handle_request): Use writeall instead of sendfileall.
17377 * nscd/aicache.c (addhstaiX): Likewise.
17378 * nscd/grpcache.c (cache_addgr): Likewise.
17379 * nscd/hstcache.c (cache_addhst): Likewise.
17380 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17381 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
17382 * nscd/pwdcache.c (cache_addpw): Likewise.
17383 * nscd/servicescache.c (cache_addserv): Likewise.
17384 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
17385 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
17386 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
17387 Remove define.
17388
17389 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
17390
17391 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
17392 Include <string/strncat.c>.
17393 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
17394 alias.
17395 (__GI___strncat): New hidden alias.
17396
17397 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17398
17399 * sysdeps/mips/mips32/libm-test-ulps: Update.
17400 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17401
17402 2018-05-16 Florian Weimer <fweimer@redhat.com>
17403
17404 * support/Makefile (libsupport-routines): Add support_quote_blob,
17405 support_test_compare_blob.
17406 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
17407 * support/check.h (TEST_COMPARE_BLOB): Define.
17408 (support_test_compare_blob): Declare.
17409 * support/support.h (support_quote_blob): Declare.
17410 * support/support_quote_blob.c: New file.
17411 * support/support_test_compare_blob.c: Likewise.
17412 * support/tst-support_quote_blob.c: Likewise.
17413 * support/tst-test_compare_blob.c: Likewise.
17414
17415 2018-05-16 Florian Weimer <fweimer@redhat.com>
17416
17417 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
17418 of <strtod_nan_double.h>.
17419 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
17420 instead of SET_MANTISSA.
17421 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
17422 of include <strtod_nan_float.h>.
17423 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
17424 instead of <strtod_nan_ldouble.h>.
17425 * stdlib/strtod_nan_double.h: Move to ...
17426 * sysdeps/generic/math-nan-payload-double.h: ... here.
17427 (FLOAT): Remove definition.
17428 (SET_MANTISSA): Rename to ...
17429 (SET_NAN_PAYLOAD): ... this.
17430 * stdlib/strtod_nan_float.h: Move to ...
17431 * sysdeps/generic/math-nan-payload-float.h: ... here.
17432 (FLOAT): Remove definition.
17433 (SET_MANTISSA): Rename to ...
17434 (SET_NAN_PAYLOAD): ... this.
17435 * sysdeps/generic/math-type-macros-double.h: Include
17436 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
17437 instead of <math-svid-compat.h>.
17438 * sysdeps/generic/math-type-macros-float.h: Include
17439 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
17440 instead of <math-svid-compat.h>.
17441 * sysdeps/generic/math-type-macros-float128.h: Include
17442 <math-nan-payload-float128.h>.
17443 * sysdeps/generic/math-type-macros-ldouble.h: Include
17444 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
17445 instead of <math-svid-compat.h>.
17446 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
17447 check for definition.
17448 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
17449 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
17450 Include <ieee754_float128.h>.
17451 (FLOAT): Remove definition.
17452 (SET_MANTISSA): Rename to ...
17453 (SET_NAN_PAYLOAD): ... this.
17454 * sysdeps/ieee754/float128/strtof128_nan.c: Include
17455 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
17456 Do not include <float128_private.h>.
17457 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
17458 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
17459 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
17460 (FLOAT): Remove definition.
17461 (SET_MANTISSA): Rename to ...
17462 (SET_NAN_PAYLOAD): ... this.
17463 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
17464 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
17465 (FLOAT): Remove definition.
17466 (SET_MANTISSA): Rename to ...
17467 (SET_NAN_PAYLOAD): ... this.
17468 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
17469 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
17470 (FLOAT): Remove definition.
17471 (SET_MANTISSA): Rename to ...
17472 (SET_NAN_PAYLOAD): ... this.
17473 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
17474 of "../stdlib/strtod_nan_double.h".
17475 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
17476 of "../stdlib/strtod_nan_float.h".
17477 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
17478 instead of "../stdlib/strtod_nan_ldouble.h".
17479 * manual/arith.texi (Parsing of Floats): Adjust comment.
17480
17481 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17482
17483 * math/Makefile (libm-narrow-fns): Add mul.
17484 (libm-test-funcs-narrow): Likewise.
17485 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
17486 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
17487 * math/gen-auto-libm-tests.c (test_functions): Add mul.
17488 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
17489 (NARROW_MUL_ROUND_TO_ODD): Likewise.
17490 (NARROW_MUL_TRIVIAL): Likewise.
17491 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
17492 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
17493 macro.
17494 (__dmull): Likewise.
17495 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
17496 dmul.
17497 (CFLAGS-nldbl-dmul.c): New variable.
17498 (CFLAGS-nldbl-fmul.c): Likewise.
17499 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17500 __nldbl_dmull.
17501 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
17502 prototype.
17503 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
17504 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
17505 * math/auto-libm-test-in: Add tests of mul.
17506 * math/auto-libm-test-out-narrow-mul: New generated file.
17507 * math/libm-test-narrow-mul.inc: New file.
17508 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
17509 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
17510 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
17511 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
17512 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
17513 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
17514 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
17515 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
17516 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
17517 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
17518 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
17519 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
17520 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
17521 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
17522 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
17523 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
17524 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
17525 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
17526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17527 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17528 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17529 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17530 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17531 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17532 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17533 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17534 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17535 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17536 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17537 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17538 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17539 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17544 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17545 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17546 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17547 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17548 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17549 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17550 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17551 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17552
17553 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17554
17555 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17556 with *%eax in call.
17557
17558 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17559
17560 * sysdeps/i386/ldsodefs.h: Removed.
17561 * sysdeps/x86_64/ldsodefs.h: Moved to ...
17562 * sysdeps/x86/ldsodefs.h: This.
17563 (La_i86_regs): New.
17564 (La_i86_retval): Likewise.
17565 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
17566 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
17567
17568 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17569
17570 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
17571 unnecessary testl.
17572
17573 2018-05-13 Alan Modra <amodra@gmail.com>
17574
17575 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
17576 R_PARISC_TLS_DTPOFF32 reloc addend.
17577
17578 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17579
17580 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
17581 * math/math.h: Restrict the prototype definition for the functions
17582 issignaling(_Float128) and iszero(_Float128); and template
17583 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
17584 __HAVE_FLOAT128_UNLIKE_LDBL.
17585 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
17586 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17587 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
17588 __f128() constants; define the type _Float128 as long double;
17589 and reuse long double in __CFLOAT128.
17590
17591 2018-05-11 Joseph Myers <joseph@codesourcery.com>
17592
17593 * sysdeps/generic/math_private.h: Do not include
17594 <math-barriers.h>.
17595 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
17596 <math_private.h>.
17597 * math/fromfp.h: Include <math-barriers.h>.
17598 * math/math-narrow.h: Likewise.
17599 * math/s_nextafter.c: Likewise.
17600 * math/s_nexttowardf.c: Likewise.
17601 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
17602 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
17603 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
17604 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
17605 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17606 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17607 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17608 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17609 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17610 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17611 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17612 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17613 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17614 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17615 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
17616 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17617 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17618 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17619 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17620 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17621 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17622 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17623 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17624 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17625 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17626 * sysdeps/ieee754/k_standardl.c: Likewise.
17627 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17628 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17629 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17630 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17631 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17632 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17633 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17634 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17635 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17636 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17637 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17638 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17639 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17640 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17641 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17642 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17643 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
17644 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
17645 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17646 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17647 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
17648 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
17649
17650 2018-05-11 Florian Weimer <fweimer@redhat.com>
17651
17652 Use 64-bit epoch values in the time zone file parser.
17653 * include/time.h (internal_time_t): Define.
17654 (__tzfile_compute): Use it.
17655 * time/tzfile.c (struct leap): Use internal_time_t for epoch
17656 member.
17657 (transitions): Switch to internal_time_t.
17658 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
17659 types.
17660 (__tzfile_compute): Use internal_time_t for timer argument. Check
17661 for truncation before calling __offtime.
17662
17663 2018-05-11 Florian Weimer <fweimer@redhat.com>
17664
17665 [BZ #23166]
17666 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
17667 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
17668 Likewise.
17669 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
17670 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
17671 export without --enable-obsolete-rpc.
17672 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
17673 symbol. This should not have been exported, ever.
17674
17675 2018-05-11 Rafał Lużyński <digitalfreak@lingonborough.com>
17676
17677 [BZ #23152]
17678 * localedata/locales/gd_GB (abmon): Fix typo in May:
17679 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
17680
17681 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17682
17683 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
17684 Use multiple registers to copy data in loop tail.
17685
17686 * sysdeps/aarch64/multiarch/memmove_falkor.S
17687 (__memmove_falkor): Use multiple registers to move data in
17688 loop tail.
17689
17690 2018-05-10 Joseph Myers <joseph@codesourcery.com>
17691
17692 * math/math-underflow.h: New file.
17693 * sysdeps/generic/math_private.h: Do not include <float.h>.
17694 (fabs_tg): Remove macro. Moved to math-underflow.h.
17695 (min_of_type_f): Likewise.
17696 (min_of_type_): Likewise.
17697 (min_of_type_l): Likewise.
17698 (min_of_type_f128): Likewise.
17699 (min_of_type): Likewise.
17700 (math_check_force_underflow): Likewise.
17701 (math_check_force_underflow_nonneg): Likewise.
17702 (math_check_force_underflow_complex): Likewise.
17703 * math/e_exp2_template.c: Include <math-underflow.h>.
17704 * math/k_casinh_template.c: Likewise.
17705 * math/s_catan_template.c: Likewise.
17706 * math/s_catanh_template.c: Likewise.
17707 * math/s_ccosh_template.c: Likewise.
17708 * math/s_cexp_template.c: Likewise.
17709 * math/s_clog10_template.c: Likewise.
17710 * math/s_clog_template.c: Likewise.
17711 * math/s_csin_template.c: Likewise.
17712 * math/s_csinh_template.c: Likewise.
17713 * math/s_csqrt_template.c: Likewise.
17714 * math/s_ctan_template.c: Likewise.
17715 * math/s_ctanh_template.c: Likewise.
17716 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17717 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17718 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17719 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17720 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17721 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17722 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17723 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17724 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17725 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17726 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17727 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17728 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17729 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17730 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17731 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17732 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17733 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17734 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17735 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17736 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17737 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17738 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17739 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17740 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17741 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17742 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17743 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17744 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17745 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17746 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17747 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17748 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17749 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17750 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17751 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17752 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17753 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17754 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17755 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17756 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17757 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17758 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17759 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17760 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17761 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17762 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17763 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17764 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17765 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17766 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17767 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17768 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17769 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17770 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17771 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17772 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17773 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17774 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17775 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17776 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17777 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17778 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17779 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17780 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17781 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17782 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17783 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17784 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17785 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17786 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17787 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17788 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17789 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
17790 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17791 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17792 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17793 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17794 * sysdeps/x86/fpu/powl_helper.c: Likewise.
17795 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
17796 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
17797 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17798 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17799 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17800
17801 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17802
17803 * sysdeps/generic/math-barriers.h: New file.
17804 * sysdeps/generic/math_private.h [!math_opt_barrier]
17805 (math_opt_barrier): Move to math-barriers.h.
17806 [!math_opt_barrier] (math_force_eval): Likewise.
17807 * sysdeps/aarch64/fpu/math-barriers.h: New file.
17808 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
17809 math-barriers.h.
17810 (math_force_eval): Likewise.
17811 * sysdeps/alpha/fpu/math-barriers.h: New file.
17812 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
17813 math-barriers.h.
17814 (math_force_eval): Likewise.
17815 * sysdeps/x86/fpu/math-barriers.h: New file.
17816 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
17817 math-barriers.h.
17818 (math_force_eval): Likewise.
17819 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
17820 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
17821 multiple-include guard for rename.
17822 * sysdeps/powerpc/fpu/math-barriers.h: New file.
17823 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
17824 math-barriers.h.
17825 (math_force_eval): Likewise.
17826
17827 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17828
17829 [BZ #22786]
17830 CVE-2018-11236
17831 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
17832 computation.
17833 * stdlib/Makefile (test-bz22786): New test.
17834 * stdlib/test-bz22786.c: New test.
17835
17836 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17837
17838 * include/math-narrow-eval.h: New file. Contents moved from ....
17839 * sysdeps/generic/math_private.h: ... here.
17840 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
17841 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17842 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
17843 * stdlib/strtod_l.c: Likewise.
17844 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17845 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17846 * sysdeps/i386/fpu/s_fdim.c: Likewise.
17847 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17848 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17849 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17850 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17851 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17852 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17853 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17854 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17855 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
17856 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17857 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17858 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17859 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17860 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17861 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17862 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17863 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17864 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17865 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17866 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17867 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17868 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17869 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17870 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17871 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17872 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17873
17874 2018-05-08 Andreas Schwab <schwab@suse.de>
17875
17876 * sysdeps/nptl/internaltypes.h: Fix comment.
17877
17878 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
17879
17880 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17881 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
17882 hidden.
17883
17884 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
17885
17886 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
17887 of I into loop header.
17888 * benchtests/bench-memmove-walk.c
17889 (test_main): Likewise.
17890
17891 2018-05-07 Alexandre Oliva <oliva@gnu.org>
17892
17893 Revert:
17894 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17895 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17896
17897 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17898
17899 [BZ #20419]
17900 * elf/dl-load.c (open_verify): Fix stack overflow.
17901 * elf/Makefile (tst-big-note): New test.
17902 * elf/tst-big-note-lib.S: New.
17903 * elf/tst-big-note.c: New.
17904
17905 2018-05-04 Joseph Myers <joseph@codesourcery.com>
17906
17907 * scripts/abilist.awk: Ignore absolute symbols.
17908 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
17909 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
17910 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
17911 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
17912 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
17913 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
17914 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17915 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
17916 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
17917 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
17918 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
17919 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
17920 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
17921 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
17922 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
17923 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
17924 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
17925 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
17926 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17927 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
17928 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
17929 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
17930 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
17931 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
17932 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
17933 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
17934 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
17935 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
17936 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17937 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
17938 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
17939 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17940 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
17941 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
17942 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
17943 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
17944 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
17945 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
17946 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
17947 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
17948 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
17949 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17950 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
17951 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
17952 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17953 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
17954 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
17955 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
17956 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
17957 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
17958 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
17959 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
17960 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
17961 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
17962 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17963 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
17964 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
17965 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17966 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
17967 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
17968 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
17969 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
17970 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
17971 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
17972 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
17973 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
17974 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
17975 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17976 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
17977 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
17978 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17979 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
17980 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
17981 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
17982 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
17983 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
17984 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
17985 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
17986 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
17987 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
17988 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17989 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
17990 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
17991 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17992 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
17993 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
17994 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
17995 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
17996 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
17997 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
17998 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
17999 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18000 Likewise.
18001 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
18002 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18003 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
18004 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
18005 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18006 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
18007 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
18008 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
18009 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
18010 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
18011 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
18012 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
18013 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18014 Likewise.
18015 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
18016 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18017 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
18018 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
18019 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18020 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
18021 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
18022 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
18023 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
18024 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
18025 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
18026 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
18027 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
18028 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
18029 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18030 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
18031 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
18032 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18033 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
18034 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
18035 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
18036 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
18037 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
18038 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
18039 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18040 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
18041 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18042 Likewise.
18043 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
18044 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
18045 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
18046 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
18047 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18048 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
18049 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
18050 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
18051 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
18052 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
18053 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
18054 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
18055 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
18056 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
18057 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
18058 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
18059 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
18060 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
18061 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18062 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18063 Likewise.
18064 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
18065 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
18066 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
18067 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18068 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
18069 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
18070 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
18071 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
18072 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
18073 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
18074 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18075 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
18076 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
18077 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18078 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
18079 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
18080 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
18081 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
18082 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18083 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
18084 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
18085 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18086 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
18087 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
18088 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
18089 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
18090 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
18091 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
18092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
18093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
18095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18096 Likewise.
18097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
18098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
18099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
18100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
18101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
18102 Likewise.
18103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
18104 Likewise.
18105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
18106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18107 Likewise.
18108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
18109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18110 Likewise.
18111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18112 Likewise.
18113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18116 Likewise.
18117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18118 Likewise.
18119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
18120 Likewise.
18121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
18122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18125 Likewise.
18126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
18127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
18128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
18129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
18132 Likewise.
18133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
18134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18135 Likewise.
18136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18137 Likewise.
18138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18139 Likewise.
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
18141 Likewise.
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
18143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
18144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18145 Likewise.
18146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18147 Likewise.
18148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18149 Likewise.
18150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
18151 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18152 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
18153 Likewise.
18154 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18155 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18156 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
18157 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18158 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18159 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18160 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
18161 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
18162 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18163 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
18164 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18165 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
18166 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
18167 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18168 Likewise.
18169 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18170 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
18171 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
18172 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18173 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
18174 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
18175 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
18176 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
18177 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
18178 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
18179 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
18180 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18181 Likewise.
18182 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18183 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
18184 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
18185 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18186 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
18187 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
18188 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
18189 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
18190 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
18191 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
18192 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
18193 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
18194 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
18195 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18196 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
18197 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
18198 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18199 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
18200 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
18201 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
18202 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
18203 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
18204 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
18205 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
18206 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18207 Likewise.
18208 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
18209 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18210 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
18211 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
18212 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18213 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
18214 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
18215 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
18216 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
18217 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
18218 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
18219 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
18220 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18221 Likewise.
18222 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
18223 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18224 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
18225 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
18226 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18227 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
18228 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
18229 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
18230 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
18231 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
18232 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
18233 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
18234 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
18235 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
18236 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18237 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
18238 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
18239 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18240 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
18241 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
18242 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
18243 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
18244 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
18245 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
18246 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18247 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
18248 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
18249 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
18250 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18251 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
18252 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
18253 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18254 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
18255 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
18256 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
18257 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
18258 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
18259 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
18260
18261 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18262
18263 [BZ #23137]
18264 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
18265 Use atomic_load_acquire to load __tid.
18266
18267 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18268
18269 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
18270 Restore the pointer into %rdx, after syscall and use %rdx,
18271 instead of %rsi, to restore context.
18272
18273 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18274
18275 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
18276 Pop the pointer into %rdx after syscall and use %rdx, instead
18277 of %rsi, to restore context.
18278
18279 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
18280
18281 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
18282 handlers after setjmp.
18283 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
18284 defined.
18285 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
18286 <libc-pointer-arith.h>.
18287 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
18288 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
18289 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
18290 _JUMP_BUF_SIGSET_BITS_PER_WORD.
18291 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
18292 * sysdeps/x86/__longjmp_cancel.S: New file.
18293 * sysdeps/x86/longjmp.c: Likewise.
18294 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
18295
18296 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18297
18298 * NEWS: Add ustat.h deprecation entry.
18299 * bits/ustat.h: Remove file.
18300 * misc/sys/ustat.h: Likewise.
18301 * misc/ustat.h: Likewise.
18302 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
18303 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
18304 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
18305 compatibility mode.
18306 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
18307 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
18308 generic Linux implementation.
18309
18310 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18311
18312 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
18313 * math/w_expl_compat.c: Likewise.
18314 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
18315
18316 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
18317
18318 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18319
18320 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18321
18322 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
18323 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
18324 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
18325 Remove.
18326 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
18327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18328 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18329 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
18330 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
18331 and SYSCALL_LL64.
18332
18333 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18334
18335 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
18336
18337 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
18338 * math/w_asin_template.c: Likewise.
18339 * math/w_atanh_template.c: Likewise.
18340
18341 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18342
18343 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
18344 to powerpc/powerpc64/be for big-endian.
18345 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
18346 little-endian.
18347
18348 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
18349 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
18350 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
18351 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
18352 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18353 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
18354 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
18355 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
18356 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
18357 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18358 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
18359 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
18360 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
18361 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
18362 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
18363 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
18364 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
18365 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
18366 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
18367 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
18368 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
18369 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18370 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
18371 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
18372 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
18373 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18374 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
18375 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
18376 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
18377 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18378 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18379 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18380
18381 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
18382 adjusted to imply powerpc64 and older processors on powerpc64/be.
18383 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
18384 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
18385 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
18386 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
18387 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
18388 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
18389 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
18390 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
18391 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
18392 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
18393 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
18394 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
18395 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
18396 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
18397 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
18398 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
18399 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
18400 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
18401 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
18402 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
18403 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
18404 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
18405 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
18406 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
18407 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
18408 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
18409 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
18410 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
18411 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
18412 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
18413 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
18414
18415 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
18416 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
18417 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
18418 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
18419
18420 * sysdeps/powerpc/powerpc64/be/Implies: New file.
18421 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
18422 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
18423 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
18424
18425 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
18426 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
18427 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
18428 * sysdeps/powerpc/powerpc64le/configure: Likewise.
18429 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
18430 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
18431 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
18432 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
18433 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
18434 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
18435 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
18436
18437 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
18438 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
18439 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
18440 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
18441 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
18442 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
18443 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
18444 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
18445 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
18446 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
18447 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
18448
18449 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
18450 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
18451 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
18452 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
18453 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
18454 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
18455 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
18456 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
18457 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
18458 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
18459 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
18460 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
18461
18462 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
18463 and adjusted to imply olders processors.
18464 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
18465 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
18466 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
18467 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
18468 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
18469 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
18470 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
18471 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
18472 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
18473 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
18474 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
18475
18476 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
18477 powerpc64/le.
18478 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
18479 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
18480
18481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
18482 powerpc64le.
18483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
18484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
18485
18486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
18487 powerpc64/be.
18488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
18490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
18491
18492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
18493 powerpc64 and adjusted.
18494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
18495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
18496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
18497 Likewise.
18498
18499 2018-04-27 Joseph Myers <joseph@codesourcery.com>
18500
18501 * sysdeps/tile: Remove.
18502 * sysdeps/unix/sysv/linux/tile: Likewise.
18503 * README (tilegx-*-linux-gnu): Remove from list of supported
18504 configurations.
18505 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
18506 contribution of support for generic Linux kernel syscall
18507 interface.
18508 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
18509 tilegx configurations.
18510 (Config.install_linux_headers): Do not handle tile.
18511 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
18512 in comment.
18513 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
18514 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
18515 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18516 conditional undefine and redefine.
18517 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
18518 in comment.
18519 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18520 conditional undefine and redefine.
18521
18522 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
18523
18524 * signal/tst-sigaction.c: New file to test BZ #23069.
18525 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
18526
18527 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18528
18529 [BZ #22766]
18530 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
18531 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
18532 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
18533 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18534
18535 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18536
18537 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
18538 _DIRENT_MATCHES_DIRENT64 is not defined.
18539 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
18540 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
18541 is defined.
18542 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
18543 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
18544
18545 2018-04-25 Joseph Myers <joseph@codesourcery.com>
18546
18547 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
18548 version to GCC 8 branch.
18549
18550 2018-04-24 Joseph Myers <joseph@codesourcery.com>
18551
18552 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
18553 (check_no_hidden): Use type of original function when declaring
18554 alias.
18555
18556 * sysdeps/unix/sysv/linux/sys/ptrace.h
18557 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
18558 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
18559 (struct __ptrace_seccomp_metadata): New type.
18560 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18561 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18562 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
18563 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18564 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
18565 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18566 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18567 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18568 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18569 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18570 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18571 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18572 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
18573 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18574 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
18575 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18576
18577 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18578
18579 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
18580 defined.
18581 * dirent/versionsort.c (versionsort): Likewise.
18582 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
18583 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
18584 * dirent/versionsort64.c (versionsort64): Likewise.
18585 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
18586 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
18587 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
18588 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
18589 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
18590 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
18591 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
18592 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
18593 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
18594 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
18595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
18596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
18597 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
18598 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
18599
18600 2018-04-23 Joseph Myers <joseph@codesourcery.com>
18601
18602 * elf/elf.h (NT_PPC_PKEY): New macro.
18603
18604 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
18605
18606 [BZ #23094]
18607 * localedata/locales/hr_HR: fix thousands_sep and
18608 mon_thousands_sep
18609
18610 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18611
18612 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
18613 (XTABS): Define to TAB3.
18614
18615 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18616
18617 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18618
18619 * dirent/scandir-tail-common.c: New file.
18620 * dirent/scandir-tail.c: Use scandir-tail-common.c.
18621 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
18622 * dirent/scandir.c: Use scandir-tail-common.c.
18623 * dirent/scandirat.c: Likewise.
18624 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
18625 * dirent/scandir64.c (scandir64): Always build and alias to scandir
18626 if _DIRENT_MATCHES_DIRENT64 is defined.
18627 * dirent/scandirat64.c (scandirat64): Likewise.
18628 * include/dirent.h (__scandir_tail): Only define iff
18629 _DIRENT_MATCHES_DIRENT64 is not defined.
18630 (__scandir64_tail): Define regardless.
18631 (__scandirat, scandirat64): Remove libc_hidden_proto.
18632 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
18633 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
18634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
18635 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
18636 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18637 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
18638 * sysdeps/unix/sysv/linux/scandir64.c: New file.
18639
18640 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18641
18642 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
18643 New macro.
18644 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
18645 Increase to 24.
18646 (_dl_aarch64_cap_flags): Add asimdfhm.
18647
18648 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
18649
18650 * sysdeps/nios2/libm-test-ulps: Update.
18651
18652 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18653
18654 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
18655 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
18656
18657 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
18658 requirements.
18659 (_DIRENT_MATCHES_DIRENT64): Undef
18660 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
18661 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
18662 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
18663 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
18664 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
18665 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
18666 use getdents64 syscalls as base.
18667 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
18668 symbol if required.
18669 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
18670 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
18671 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
18672 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
18673 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
18674 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
18675 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
18676 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
18677 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18678 (__get_clockfreq_via_proc_openprom): Use __getdents64.
18679 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
18680
18681 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18682
18683 * scripts/test_printers_common.py (init_test): Disable lock elision.
18684
18685 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18686
18687 * math/test-tgmath.c (count_double, count_float,
18688 count_ldouble, count_cdouble, count_cfloat,
18689 count_cldouble): Use volatile int.
18690
18691 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18692
18693 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
18694 (conformtest-xfail-conds): Add i386-gnu.
18695 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
18696 i386-gnu.
18697 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
18698 ipc_perm.cuid, ipc_perm.cgid): Likewise.
18699 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
18700 msqid_ds.msg_lrpid): Likewise.
18701 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
18702 Likewise.
18703 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
18704 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
18705 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
18706 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
18707 unsigned int.
18708 (struct statvfs64): Likewise.
18709 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
18710 Likewise.
18711 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
18712 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
18713 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
18714 instead of wait_queue.
18715 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
18716 instead of vm_area_struct.
18717 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
18718 struct sched_param definition to it.
18719 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18720 * bits/types/struct_sched_param.h: New file.
18721 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
18722 <bits/types/struct_sched_param.h> instead of <sched.h>.
18723 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
18724 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
18725 generic version but include <bits/pthreadtypes.h> to make struct
18726 sigevent's sigev_notify_attributes field a pthread_attr_t*.
18727 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
18728 non-compliant.
18729 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
18730 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
18731 [__USE_XOPEN] (OFDEL): New macro.
18732 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
18733 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
18734 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
18735 prototypes.
18736 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
18737 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
18738 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
18739 non-compliant.
18740 * sysdeps/i386/sys/ucontext.h: Likewise.
18741 * sysdeps/m68k/sys/ucontext.h: Likewise.
18742 * sysdeps/mips/sys/ucontext.h: Likewise.
18743 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
18744 * sysdeps/mach/hurd/i386/Makefile
18745 (test-xfail-POSIX/fcntl.h/conform): Add.
18746 (test-xfail-POSIX/signal.h/conform): Add.
18747 (test-xfail-POSIX/semaphore.h/conform): Add.
18748 (test-xfail-POSIX/regex.h/conform): Add.
18749 (test-xfail-POSIX/aio.h/conform): Add.
18750 (test-xfail-POSIX/mqueue.h/conform): Add.
18751 (test-xfail-POSIX/sys/types.h/conform): Add.
18752 (test-xfail-UNIX98/fcntl.h/conform): Add.
18753 (test-xfail-UNIX98/netdb.h/conform): Add.
18754 (test-xfail-UNIX98/signal.h/conform): Add.
18755 (test-xfail-UNIX98/semaphore.h/conform): Add.
18756 (test-xfail-UNIX98/regex.h/conform): Add.
18757 (test-xfail-UNIX98/aio.h/conform): Add.
18758 (test-xfail-UNIX98/ftw.h/conform): Add.
18759 (test-xfail-UNIX98/mqueue.h/conform): Add.
18760 (test-xfail-UNIX98/netinet/in.h/conform): Add.
18761 (test-xfail-UNIX98/sys/wait.h/conform): Add.
18762 (test-xfail-UNIX98/sys/sem.h/conform): Add.
18763 (test-xfail-UNIX98/sys/uio.h/conform): Add.
18764 (test-xfail-UNIX98/sys/socket.h/conform): Add.
18765 (test-xfail-UNIX98/sys/types.h/conform): Add.
18766 (test-xfail-UNIX98/stdlib.h/conform): Add.
18767 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
18768 (test-xfail-POSIX2008/fcntl.h/conform): Add.
18769 (test-xfail-POSIX2008/netdb.h/conform): Add.
18770 (test-xfail-POSIX2008/signal.h/conform): Add.
18771 (test-xfail-POSIX2008/semaphore.h/conform): Add.
18772 (test-xfail-POSIX2008/regex.h/conform): Add.
18773 (test-xfail-POSIX2008/aio.h/conform): Add.
18774 (test-xfail-POSIX2008/mqueue.h/conform): Add.
18775 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
18776 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
18777 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
18778 (test-xfail-POSIX2008/sys/types.h/conform): Add.
18779 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
18780 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
18781 (test-xfail-XOPEN2K/netdb.h/conform): Add.
18782 (test-xfail-XOPEN2K/signal.h/conform): Add.
18783 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
18784 (test-xfail-XOPEN2K/regex.h/conform): Add.
18785 (test-xfail-XOPEN2K/aio.h/conform): Add.
18786 (test-xfail-XOPEN2K/ftw.h/conform): Add.
18787 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
18788 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
18789 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
18790 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
18791 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
18792 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
18793 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
18794 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
18795 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
18796 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
18797 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
18798 (test-xfail-XOPEN2K8/signal.h/conform): Add.
18799 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
18800 (test-xfail-XOPEN2K8/regex.h/conform): Add.
18801 (test-xfail-XOPEN2K8/aio.h/conform): Add.
18802 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
18803 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
18804 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
18805 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
18806 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
18807 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
18808 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
18809 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
18810 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
18811 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
18812 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
18813 i386-gnu.
18814 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
18815 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
18816
18817 2018-04-18 Joseph Myers <joseph@codesourcery.com>
18818
18819 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18820 --enable-obsolete for powerpc-linux-gnuspe.
18821
18822 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18823
18824 * conform/data/sys/un.h-data: Allow sun_ prefix.
18825 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
18826 prototypes.
18827 * sysdeps/mach/include/mach.h: Likewise.
18828 * sysdeps/mach/include/mach/mig_support.h: Likewise.
18829 * sysdeps/mach/include/mach_error.h: Likewise.
18830
18831 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18832
18833 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
18834 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
18835 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
18836 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
18837
18838 2018-04-16 Andreas Schwab <schwab@suse.de>
18839
18840 [BZ #19527]
18841 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
18842
18843 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18844
18845 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
18846 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
18847
18848 2018-04-12 DJ Delorie <dj@redhat.com>
18849
18850 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18851 version to 4.16.
18852
18853 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18854
18855 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
18856 (struct kernel_sigaction): Use the same definition on 31bit as is used
18857 on 64bit.
18858
18859 2018-04-09 Florian Weimer <fweimer@redhat.com>
18860
18861 [BZ #23037]
18862 * resolv/res_send.c (send_dg): Use designated initializers instead
18863 of assignment to zero-initialize other fields of struct mmsghdr.
18864
18865 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18866
18867 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
18868 __READDIR_ALIAS): Undefine after usage.
18869 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
18870 __READDIR_R_ALIAS): Likewise.
18871 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
18872 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
18873 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
18874 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
18875 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
18876 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
18877 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18878 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18879 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
18880 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
18881 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
18882 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
18883 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18884 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
18885 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
18886 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
18887 * sysdeps/unix/sysv/linux/readdir.c: New file.
18888 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
18889 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
18890 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
18891
18892 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18893
18894 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
18895
18896 * manual/charset.texi (Converting a Character): Fix typo.
18897
18898 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18899
18900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18901
18902 * sysdeps/arm/libm-test-ulps: Update.
18903
18904 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
18905 as base implementation.
18906 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18907 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18908 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18909 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18910 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18911 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
18912 remove unrequired definitions and update comments.
18913 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
18914 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
18915 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
18916 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
18917 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
18918 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
18919 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
18920 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
18921 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
18922 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
18923 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
18924 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18925 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18926 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
18927 and RESET_SA_RESTORER hooks.
18928
18929 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
18930
18931 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18932
18933 2018-04-05 Florian Weimer <fweimer@redhat.com>
18934
18935 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
18936 integer overflow, memory leak on error, and indeterminate errno
18937 value. Add a null wide character to terminate the result string.
18938 * manual/charset.texi (Converting a Character): Mention embedded
18939 null bytes in the mbrtowc input string. Explain what happens in
18940 the -2 result case. Do not claim that mbrtowc is simple or
18941 obvious to use. Adjust the description of the code example. Use
18942 @code, not @var, for concrete variables.
18943
18944 2018-04-05 Florian Weimer <fweimer@redhat.com>
18945
18946 * manual/examples/mbstouwcs.c: New file.
18947 * manual/charset.texi (Converting a Character): Include it.
18948
18949 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18950
18951 * include/dirent.h (dirfd): Add hidden proto.
18952 * dirent/dirfd.c (dirfd): Add hidden def.
18953 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
18954 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
18955
18956 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18957
18958 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
18959 sin, cos and sincos to 1 ULP.
18960
18961 2018-04-04 Maciej W. Rozycki <macro@mips.com>
18962
18963 [BZ #19818]
18964 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
18965 symbols.
18966 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
18967 * elf/tst-absolute-sym.c: New file.
18968 * elf/tst-absolute-sym-lib.c: New file.
18969 * elf/tst-absolute-sym-lib.lds: New file.
18970 * elf/Makefile (tests): Add `tst-absolute-sym'.
18971 (modules-names): Add `tst-absolute-sym-lib'.
18972 (LDLIBS-tst-absolute-sym-lib.so): New variable.
18973 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
18974 ($(objpfx)tst-absolute-sym): New dependency.
18975
18976 [BZ #19818]
18977 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
18978 parameter.
18979 (SYMBOL_ADDRESS): New macro.
18980 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
18981 SYMBOL_ADDRESS for symbol address calculation.
18982 * elf/dl-runtime.c (_dl_fixup): Likewise.
18983 (_dl_profile_fixup): Likewise.
18984 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
18985 * elf/rtld.c (dl_main): Likewise.
18986 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
18987 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
18988 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
18989 (elf_machine_rela): Likewise.
18990 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
18991 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
18992 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18993 (elf_machine_rela): Likewise.
18994 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18995 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
18996 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
18997 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
18998 Likewise.
18999 (elf_machine_reloc): Likewise.
19000 (elf_machine_got_rel): Likewise.
19001 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
19002 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
19003 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19004 Likewise.
19005 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19006 Likewise.
19007 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
19008 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19009 Likewise.
19010 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19011 Likewise.
19012 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19013 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19014 Likewise.
19015 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19016 Likewise.
19017 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
19018 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19019
19020 2018-04-04 Zack Weinberg <zackw@panix.com>
19021
19022 * sysdeps/generic/internal-signals.h: Include signal.h,
19023 sigsetops.h, and stdbool.h.
19024 (__libc_signal_block_all): Actually block all signals.
19025 (__libc_signal_block_app): Likewise.
19026 (__libc_signal_restore_set): Actually restore the signal mask.
19027
19028 2018-04-04 Florian Weimer <fweimer@redhat.com>
19029
19030 inet: Actually build and run tst-deadline.
19031 * inet/Makefile (tests-internal): Add tst-deadline and do not
19032 overwrite the variable.
19033 (tests-static-internal): Remove variable.
19034
19035 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
19036
19037 [BZ #22947]
19038 * bits/uio-ext.h (RWF_APPEND): New.
19039 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
19040 * manual/llio.texi: Document RWF_APPEND.
19041 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
19042 (RWF_SUPPORTED): Add RWF_APPEND.
19043
19044 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19045
19046 [BZ #22391]
19047 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
19048 check for internal nptl signals.
19049 * nptl/sigaction.c (__sigaction): Likewise.
19050 * signal/sigaddset.c (sigaddset): Likewise.
19051 * signal/sigdelset.c (sigdelset): Likewise.
19052 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
19053 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
19054 value.
19055 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
19056 to filter out internal nptl signals.
19057 * signal/tst-sigset.c (do_test): Check ech signal indidually and
19058 also check realtime signals using standard macros.
19059 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
19060 __is_internal_signal, __libc_signal_block_all,
19061 __libc_signal_block_app, __libc_signal_restore_set): New functions.
19062 * sysdeps/nptl/sigfillset.c: Remove file.
19063 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
19064 Change return to bool.
19065 (__clear_internal_signals): Remove SIGTIMER clean since it is
19066 equal to SIGCANEL on Linux.
19067 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
19068 signal set was constructed using standard functions.
19069
19070 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19071
19072 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
19073 ifname is too long.
19074 * hurd/hurdsig.c (interrupted_reply_port_location): Use
19075 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
19076 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
19077 hidden def.
19078 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
19079 * signal/sigaddset.c: Include <sigsetopts.h>.
19080 * signal/sigdelset.c: Likewise.
19081
19082 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19083
19084 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
19085 (__cos): Likewise.
19086 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
19087 logic as sin and cos.
19088
19089 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19090
19091 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
19092 inputs. Return correct sign.
19093 (do_sincos): Remove small input check before do_sin, let do_sin set
19094 the sign.
19095 (__sin): Likewise.
19096 (__cos): Likewise.
19097
19098 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19099
19100 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
19101 (do_cos_slow): Likewise.
19102 (do_sin_slow): Likewise.
19103 (reduce_and_compute): Likewise.
19104 (slow): Likewise.
19105 (slow1): Likewise.
19106 (slow2): Likewise.
19107 (sloww): Likewise.
19108 (sloww1): Likewise.
19109 (sloww2): Likewise.
19110 (bslow): Likewise.
19111 (bslow1): Likewise.
19112 (bslow2): Likewise.
19113 (cslow2): Likewise.
19114
19115 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19116
19117 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
19118 (do_cos): Remove corp parameter and calculations.
19119 (do_sin): Likewise.
19120 (do_sincos): Remove cor variable.
19121 (__sin): Use do_sincos for huge inputs.
19122 (__cos): Likewise.
19123 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19124 (reduce_and_compute_sincos): Remove unused function.
19125
19126 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19127
19128 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
19129 reduce_sincos, improve accuracy to 136 bits.
19130 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
19131 (__sin): Use improved reduction and simplified do_sincos calculation.
19132 (__cos): Likewise.
19133 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
19134
19135 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19136
19137 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
19138 (do_sincos_2): Likewise.
19139 (__sin): Remove middle range reduction case.
19140 (__cos): Likewise.
19141 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
19142 reduction case.
19143
19144 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
19145
19146 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
19147 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
19148 inputs.
19149 (__cos): Likewise.
19150 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
19151
19152 2018-04-03 Joseph Myers <joseph@codesourcery.com>
19153
19154 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19155 version to 4.16
19156
19157 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19158
19159 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
19160 Remove definitions.
19161 (opendir_oflags): Use O_DIRECTORY regardless.
19162 (__opendir, __opendirat): Remove need_isdir_precheck usage.
19163 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
19164
19165 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19166
19167 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
19168 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
19169 macros.
19170 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
19171 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
19172 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
19173 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
19174 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
19175 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
19176
19177 * htl/Makefile: Bump licence to LGPL 2.1+.
19178 * htl/alloca_cutoff.c: Likewise.
19179 * htl/cthreads-compat.c: Likewise.
19180 * htl/lockfile.c: Likewise.
19181 * htl/pt-alloc.c: Likewise.
19182 * htl/pt-cancel.c: Likewise.
19183 * htl/pt-cleanup.c: Likewise.
19184 * htl/pt-create.c: Likewise.
19185 * htl/pt-dealloc.c: Likewise.
19186 * htl/pt-detach.c: Likewise.
19187 * htl/pt-exit.c: Likewise.
19188 * htl/pt-getattr.c: Likewise.
19189 * htl/pt-initialize.c: Likewise.
19190 * htl/pt-internal.h: Likewise.
19191 * htl/pt-join.c: Likewise.
19192 * htl/pt-self.c: Likewise.
19193 * htl/pt-setcancelstate.c: Likewise.
19194 * htl/pt-setcanceltype.c: Likewise.
19195 * htl/pt-sigmask.c: Likewise.
19196 * htl/pt-spin-inlines.c: Likewise.
19197 * htl/pt-testcancel.c: Likewise.
19198 * htl/pt-yield.c: Likewise.
19199 * htl/tests/test-1.c: Likewise.
19200 * htl/tests/test-10.c: Likewise.
19201 * htl/tests/test-11.c: Likewise.
19202 * htl/tests/test-12.c: Likewise.
19203 * htl/tests/test-13.c: Likewise.
19204 * htl/tests/test-14.c: Likewise.
19205 * htl/tests/test-15.c: Likewise.
19206 * htl/tests/test-16.c: Likewise.
19207 * htl/tests/test-17.c: Likewise.
19208 * htl/tests/test-2.c: Likewise.
19209 * htl/tests/test-3.c: Likewise.
19210 * htl/tests/test-4.c: Likewise.
19211 * htl/tests/test-5.c: Likewise.
19212 * htl/tests/test-6.c: Likewise.
19213 * htl/tests/test-7.c: Likewise.
19214 * htl/tests/test-8.c: Likewise.
19215 * htl/tests/test-9.c: Likewise.
19216 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
19217 * sysdeps/htl/bits/cancelation.h: Likewise.
19218 * sysdeps/htl/bits/pthread-np.h: Likewise.
19219 * sysdeps/htl/bits/pthread.h: Likewise.
19220 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
19221 * sysdeps/htl/bits/semaphore.h: Likewise.
19222 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
19223 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
19224 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
19225 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
19226 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
19227 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
19228 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
19229 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
19230 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
19231 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
19232 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
19233 * sysdeps/htl/old_pt-atfork.c: Likewise.
19234 * sysdeps/htl/pt-atfork.c: Likewise.
19235 * sysdeps/htl/pt-attr-destroy.c: Likewise.
19236 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
19237 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
19238 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
19239 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
19240 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
19241 * sysdeps/htl/pt-attr-getscope.c: Likewise.
19242 * sysdeps/htl/pt-attr-getstack.c: Likewise.
19243 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
19244 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
19245 * sysdeps/htl/pt-attr-init.c: Likewise.
19246 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
19247 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
19248 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
19249 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
19250 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
19251 * sysdeps/htl/pt-attr-setscope.c: Likewise.
19252 * sysdeps/htl/pt-attr-setstack.c: Likewise.
19253 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
19254 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
19255 * sysdeps/htl/pt-attr.c: Likewise.
19256 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
19257 * sysdeps/htl/pt-barrier-init.c: Likewise.
19258 * sysdeps/htl/pt-barrier-wait.c: Likewise.
19259 * sysdeps/htl/pt-barrier.c: Likewise.
19260 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
19261 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
19262 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
19263 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
19264 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
19265 * sysdeps/htl/pt-cond-destroy.c: Likewise.
19266 * sysdeps/htl/pt-cond-init.c: Likewise.
19267 * sysdeps/htl/pt-cond-signal.c: Likewise.
19268 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
19269 * sysdeps/htl/pt-cond-wait.c: Likewise.
19270 * sysdeps/htl/pt-cond.c: Likewise.
19271 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
19272 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
19273 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
19274 * sysdeps/htl/pt-condattr-init.c: Likewise.
19275 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
19276 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
19277 * sysdeps/htl/pt-destroy-specific.c: Likewise.
19278 * sysdeps/htl/pt-equal.c: Likewise.
19279 * sysdeps/htl/pt-getconcurrency.c: Likewise.
19280 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
19281 * sysdeps/htl/pt-getschedparam.c: Likewise.
19282 * sysdeps/htl/pt-getspecific.c: Likewise.
19283 * sysdeps/htl/pt-init-specific.c: Likewise.
19284 * sysdeps/htl/pt-key-create.c: Likewise.
19285 * sysdeps/htl/pt-key-delete.c: Likewise.
19286 * sysdeps/htl/pt-key.h: Likewise.
19287 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
19288 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
19289 * sysdeps/htl/pt-mutex-init.c: Likewise.
19290 * sysdeps/htl/pt-mutex-lock.c: Likewise.
19291 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
19292 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
19293 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
19294 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
19295 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
19296 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
19297 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
19298 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
19299 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
19300 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
19301 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
19302 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
19303 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
19304 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
19305 * sysdeps/htl/pt-mutexattr.c: Likewise.
19306 * sysdeps/htl/pt-once.c: Likewise.
19307 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
19308 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
19309 * sysdeps/htl/pt-rwlock-init.c: Likewise.
19310 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
19311 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
19312 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
19313 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
19314 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
19315 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
19316 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
19317 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
19318 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
19319 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
19320 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
19321 * sysdeps/htl/pt-setconcurrency.c: Likewise.
19322 * sysdeps/htl/pt-setschedparam.c: Likewise.
19323 * sysdeps/htl/pt-setschedprio.c: Likewise.
19324 * sysdeps/htl/pt-setspecific.c: Likewise.
19325 * sysdeps/htl/pt-spin.c: Likewise.
19326 * sysdeps/htl/pt-startup.c: Likewise.
19327 * sysdeps/htl/pthread.h: Likewise.
19328 * sysdeps/htl/sem-close.c: Likewise.
19329 * sysdeps/htl/sem-destroy.c: Likewise.
19330 * sysdeps/htl/sem-getvalue.c: Likewise.
19331 * sysdeps/htl/sem-init.c: Likewise.
19332 * sysdeps/htl/sem-open.c: Likewise.
19333 * sysdeps/htl/sem-post.c: Likewise.
19334 * sysdeps/htl/sem-timedwait.c: Likewise.
19335 * sysdeps/htl/sem-trywait.c: Likewise.
19336 * sysdeps/htl/sem-unlink.c: Likewise.
19337 * sysdeps/htl/sem-wait.c: Likewise.
19338 * sysdeps/hurd/htl/pt-kill.c: Likewise.
19339 * sysdeps/i386/htl/pt-machdep.h: Likewise.
19340 * sysdeps/mach/htl/pt-block.c: Likewise.
19341 * sysdeps/mach/htl/pt-spin.c: Likewise.
19342 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
19343 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
19344 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
19345 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
19346 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
19347 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
19348 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
19349 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
19350 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
19351 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
19352 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
19353 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
19354 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
19355 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
19356 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
19357 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
19358 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
19359 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
19360 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
19361 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
19362 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
19363 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
19364 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
19365 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
19366 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
19367 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
19368 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
19369 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
19370 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
19371 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
19372 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
19373 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
19374 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
19375 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
19376 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
19377 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
19378 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
19379 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
19380 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
19381 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
19382 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
19383 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
19384 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
19385
19386 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
19387 * README: Remove the mention of out-of-tree patches needed for
19388 GNU/Hurd.
19389
19390 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
19391 (UTIME_NOW, UTIME_OMIT): Define macros.
19392
19393 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
19394 instead of pthread_detach.
19395 (__cthread_fork): Call __pthread_create instead of pthread_create.
19396 (__cthread_keycreate): Call __pthread_key_create instead of
19397 pthread_key_create.
19398 (__cthread_getspecific): Call __pthread_getspecific instead of
19399 pthread_getspecific.
19400 (__cthread_setspecific): Call __pthread_setspecific instead of
19401 pthread_setspecific.
19402 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
19403 __pthread_mutex_unlock instead of pthread_mutex_lock and
19404 pthread_mutex_unlock.
19405 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
19406 ___pthread_get_cleanup_stack.
19407 (__pthread_get_cleanup_stack): New strong alias.
19408 * htl/pt-create.c: Include <pthreadP.h>.
19409 (entry_point): Call __pthread_exit instead of pthread_exit.
19410 (pthread_create): Rename to __pthread_create.
19411 (pthread_create): New strong alias.
19412 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
19413 (pthread_detach): New strong alias.
19414 (__pthread_detach): Call __pthread_cond_broadcast instead of
19415 pthread_cond_broadcast.
19416 * htl/pt-exit.c: Include <pthreadP.h>.
19417 (__pthread_exit): Call __pthread_setcancelstate and
19418 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
19419 __pthread_get_cleanup_stack.
19420 * htl/pt-testcancel.c: Include <pthreadP.h>.
19421 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
19422 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
19423 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
19424 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
19425 pthread_attr_getstacksize.
19426 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
19427 Rename to __pthread_attr_getstackaddr.
19428 (pthread_attr_getstackaddr): New strong alias.
19429 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
19430 Rename to __pthread_attr_getstacksize.
19431 (pthread_attr_getstacksize): New strong alias.
19432 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
19433 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
19434 (pthread_attr_setstack): New strong alias.
19435 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
19436 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
19437 pthread_attr_getstacksize, pthread_attr_setstacksize and
19438 pthread_attr_setstackaddr.
19439 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
19440 Rename to __pthread_attr_setstackaddr.
19441 (pthread_attr_setstackaddr): New strong alias.
19442 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
19443 Rename to __pthread_attr_setstacksize.
19444 (pthread_attr_setstacksize): New strong alias.
19445 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
19446 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
19447 pthread_exit.
19448 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
19449 (__pthread_key_create): New hidden def.
19450 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
19451 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
19452 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
19453 __pthread_exit, __pthread_key_create, __pthread_getspecific,
19454 __pthread_setspecific, __pthread_setcancelstate,
19455 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
19456 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
19457 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
19458 declarations.
19459 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
19460 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
19461 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
19462 (pthread_attr_setstackaddr): New strong alias.
19463 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
19464 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
19465 (pthread_attr_setstacksize): New strong alias.
19466 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
19467 (call_exit): Call __pthread_exit instead of pthread_exit.
19468 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
19469 (_pthread_mutex_init): New hidden definition.
19470 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
19471 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
19472 instead of pthread_attr_init and pthread_attr_setstack.
19473
19474 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
19475 __vm_deallocate instead of vm_allocate and vm_deallocate.
19476 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
19477 setenv.
19478 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
19479 of geteuid.
19480 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
19481 strdup.
19482 * hurd/siginfo.c: Include <libioP.h>.
19483 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
19484 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
19485 munmap.
19486 * mach/devstream.c: Include <libioP.h>.
19487 (dealloc_ref): Call __mach_port_deallocate instead of
19488 mach_port_deallocate.
19489 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
19490 Call __mach_port_deallocate instead of mach_port_deallocate.
19491 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
19492 pathconf.
19493 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
19494 munmap.
19495 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
19496 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
19497 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
19498 of munmap.
19499 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
19500 of close.
19501 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
19502 instead of sysconf.
19503 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
19504 __clock_gettime instead of clock_gettime.
19505 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
19506 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19507 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
19508 * sysdeps/unix/bsd/stty.c (stty): Likewise.
19509 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
19510 tcgetattr.
19511 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
19512 __clock_gettime and __nanosleep instead of clock_gettime and
19513 nanosleep.
19514 * hurd/catch-signal.c (hurd_catch_signal): Rename to
19515 __hurd_catch_signal.
19516 (hurd_catch_signal): New strong alias.
19517 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
19518 __hurd_catch_signal instead of hurd_catch_signal.
19519 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
19520 * hurd/hurdexec.c (_hurd_init): Add hidden def.
19521 * hurd/hurdinit.c (_hurd_init): Add hidden def.
19522 * hurd/hurdsig.c: Include <mach/mig_support.h>.
19523 (_hurd_thread_sigstate): Add hidden def.
19524 (_hurd_internal_post_signal): Use __mutex_unlock instead of
19525 mutex_unlock.
19526 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
19527 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
19528 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
19529 __hurd_file_name_path_lookup.
19530 (hurd_file_name_path_lookup): New strong alias.
19531 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
19532 hurd_file_name_path_lookup.
19533 * mach/errstring.c (mach_error_type): Add hidden def.
19534 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
19535 * mach/mutex-init.c (__mutex_init): Add hidden def.
19536 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
19537 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
19538 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
19539 * sysdeps/mach/hurd/getcwd.c
19540 (_hurd_canonicalize_directory_name_internal): Rename to
19541 __hurd_canonicalize_directory_name_internal.
19542 (_hurd_canonicalize_directory_name_internal): New strong alias.
19543 (__canonicalize_directory_name_internal, __getcwd): Call
19544 __hurd_canonicalize_directory_name_internal instead of
19545 _hurd_canonicalize_directory_name_internal.
19546 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
19547 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
19548 hidden defs.
19549 * sysdeps/hurd/include/hurd.h: New file.
19550 * sysdeps/hurd/include/hurd/fd.h: New file.
19551 * sysdeps/hurd/include/hurd/signal.h: New file.
19552 * sysdeps/mach/include/lock-intern.h: New file.
19553 * sysdeps/mach/include/mach.h: New file.
19554 * sysdeps/mach/include/mach/mig_support.h: New file.
19555 * sysdeps/mach/include/mach_error.h: New file.
19556 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
19557 prototype.
19558 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
19559 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
19560 _HEADER_H_HIDDEN_DEF macro.
19561 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
19562 _hurd_fd_error_signal): Add hidden prototype.
19563 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
19564 hidden def.
19565 * libio/iolibio.h (_IO_puts): New hidden prototype.
19566 * libio/ioputs.c (_IO_puts): New hidden def.
19567 * sysdeps/mach/hurd/localplt.data: New file.
19568
19569 2018-04-02 Agustina Arzille <avarzille@riseup.net>
19570 Amos Jeffries <squid3@treenet.co.nz>
19571 David Michael <fedora.dm0@gmail.com>
19572 Marco Gerards <marco@gnu.org>
19573 Marcus Brinkmann <marcus@gnu.org>
19574 Neal H. Walfield <neal@gnu.org>
19575 Pino Toscano <toscano.pino@tiscali.it>
19576 Richard Braun <rbraun@sceen.net>
19577 Roland McGrath <roland@gnu.org>
19578 Samuel Thibault <samuel.thibault@ens-lyon.org>
19579 Thomas DiModica <ricinwich@yahoo.com>
19580 Thomas Schwinge <tschwinge@gnu.org>
19581
19582 * htl: New directory.
19583 * sysdeps/htl: New directory.
19584 * sysdeps/hurd/htl: New directory.
19585 * sysdeps/i386/htl: New directory.
19586 * sysdeps/mach/htl: New directory.
19587 * sysdeps/mach/hurd/htl: New directory.
19588 * sysdeps/mach/hurd/i386/htl: New directory.
19589 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
19590 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
19591 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
19592
19593 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19594
19595 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
19596 signals in thread created for runing timers.
19597
19598 2018-04-01 Florian Weimer <fweimer@redhat.com>
19599
19600 * support/support_format_addrinfo.c (support_format_addrinfo):
19601 Include unknown error number in formatted result.
19602
19603 2018-03-29 Florian Weimer <fweimer@redhat.com>
19604
19605 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
19606 capture SIGBUS.
19607
19608 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19609
19610 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
19611 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
19612 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19613 (__ASSUME_CLONE_BACKWARDS): Define.
19614
19615 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
19616
19617 [BZ #23024]
19618 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
19619 early when linux sentinel value is set.
19620
19621 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19622
19623 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
19624
19625 2018-03-27 Andreas Schwab <schwab@suse.de>
19626
19627 [BZ #23005]
19628 * resolv/res_send.c (__res_context_send): Return ENOMEM if
19629 allocation of private copy of nsaddr_list fails.
19630
19631 2018-03-26 Joseph Myers <joseph@codesourcery.com>
19632
19633 [BZ #16552]
19634 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
19635 * sysdeps/unix/sysv/linux/umount.c: ... here.
19636 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
19637 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
19638 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
19639 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
19640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
19641 * sysdeps/unix/sysv/linux/umount.S: Likewise.
19642 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
19643
19644 2018-03-26 Andreas Schwab <schwab@suse.de>
19645
19646 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
19647 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
19648 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
19649 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
19650 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
19651 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
19652 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
19653 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
19654 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
19655 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
19656 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
19657 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
19658 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
19659 (R_RISCV_NUM): Define.
19660
19661 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19662
19663 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
19664 TLS declaration of errno.
19665 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
19666 __libc_setup_tls.
19667 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
19668 (ARCH_SETUP_TLS): Likewise.
19669 * sysdeps/mach/hurd/libc-start.h: New file copied from
19670 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
19671 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
19672 instead of __libc_setup_tls.
19673 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
19674 __libc_setup_tls before initializing libpthread and running _hurd_init
19675 which starts the signal thread.
19676 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
19677 Declare function.
19678 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19679
19680 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
19681
19682 [BZ #22998]
19683 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
19684 after it is defined.
19685
19686 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
19687 Max Horn <max@quendi.de>
19688
19689 [BZ #22644]
19690 CVE-2017-18269
19691 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
19692 branch conditions.
19693 * string/test-memmove.c (do_test2): New testcase.
19694
19695 2018-03-22 Joseph Myers <joseph@codesourcery.com>
19696
19697 * sysdeps/generic/frame.h: Remove file.
19698 * sysdeps/arm/frame.h: Likewise.
19699 * sysdeps/hppa/frame.h: Likewise.
19700 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
19701 macro.
19702 (GET_FRAME): Likewise.
19703 (GET_STACK): Likewise.
19704 (CALL_SIGHANDLER): Likewise.
19705 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
19706 Likewise.
19707 (GET_FRAME): Likewise.
19708 (GET_STACK): Likewise.
19709 (CALL_SIGHANDLER): Likewise.
19710 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
19711 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19712 (GET_FRAME): Likewise.
19713 (GET_STACK): Likewise.
19714 (CALL_SIGHANDLER): Likewise.
19715 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
19716 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19717 (GET_FRAME): Likewise.
19718 (GET_STACK): Likewise.
19719 (ADVANCE_STACK_FRAME): Likewise.
19720 (CALL_SIGHANDLER): Likewise.
19721 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
19722 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19723 (GET_FRAME): Likewise.
19724 (GET_STACK): Likewise.
19725 (CALL_SIGHANDLER): Likewise.
19726 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
19727 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19728 (GET_FRAME): Likewise.
19729 (GET_STACK): Likewise.
19730 (CALL_SIGHANDLER): Likewise.
19731 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
19732 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19733 (GET_FRAME): Likewise.
19734 (GET_STACK): Likewise.
19735 (CALL_SIGHANDLER): Likewise.
19736 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
19737 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19738 (GET_FRAME): Likewise.
19739 (GET_STACK): Likewise.
19740 (CALL_SIGHANDLER): Likewise.
19741 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
19742 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19743 (GET_FRAME): Likewise.
19744 (GET_STACK): Likewise.
19745 (CALL_SIGHANDLER): Likewise.
19746 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
19747 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19748 (GET_FRAME): Likewise.
19749 (GET_STACK): Likewise.
19750 (CALL_SIGHANDLER): Likewise.
19751 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
19752 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19753 (GET_FRAME): Likewise.
19754 (GET_STACK): Likewise.
19755 (CALL_SIGHANDLER): Likewise.
19756 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
19757 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19758 (GET_FRAME): Likewise.
19759 (GET_STACK): Likewise.
19760 (CALL_SIGHANDLER): Likewise.
19761 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
19762 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19763 (GET_FRAME): Likewise.
19764 (GET_STACK): Likewise.
19765 (CALL_SIGHANDLER): Likewise.
19766 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
19767 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19768 (FIRST_FRAME_POINTER): Likewise.
19769 (ADVANCE_STACK_FRAME): Likewise.
19770 (GET_STACK): Likewise.
19771 (GET_FRAME): Likewise.
19772 (CALL_SIGHANDLER): Likewise.
19773 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
19774 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19775 (ADVANCE_STACK_FRAME): Likewise.
19776 (GET_STACK): Likewise.
19777 (GET_FRAME): Likewise.
19778 (CALL_SIGHANDLER): Likewise.
19779 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
19780 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19781 (GET_FRAME): Likewise.
19782 (GET_STACK): Likewise.
19783 (CALL_SIGHANDLER): Likewise.
19784 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
19785 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19786 (GET_FRAME): Likewise.
19787 (GET_STACK): Likewise.
19788 (CALL_SIGHANDLER): Likewise.
19789
19790 2018-03-21 Joseph Myers <joseph@codesourcery.com>
19791
19792 * sysdeps/x86_64/backtrace.c: Move to ....
19793 * debug/backtrace.c: ... here.
19794 * sysdeps/aarch64/backtrace.c: Remove file.
19795 * sysdeps/alpha/backtrace.c: Likewise.
19796 * sysdeps/hppa/backtrace.c: Likewise.
19797 * sysdeps/ia64/backtrace.c: Likewise.
19798 * sysdeps/mips/backtrace.c: Likewise.
19799 * sysdeps/nios2/backtrace.c: Likewise.
19800 * sysdeps/riscv/backtrace.c: Likewise.
19801 * sysdeps/sh/backtrace.c: Likewise.
19802 * sysdeps/tile/backtrace.c: Likewise.
19803
19804 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19805
19806 [BZ #22987]
19807 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
19808 function.
19809 (fdimf): Likewise.
19810 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
19811
19812 [BZ #17343]
19813 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
19814 possibly overflowing computations.
19815
19816 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
19817
19818 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
19819 values from Linux-specific section now that it is in the GNU section.
19820 * sysdeps/gnu/errlist.c: Regenerate.
19821
19822 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19823
19824 * math/Makefile (libm-narrow-fns): Add sub.
19825 (libm-test-funcs-narrow): Likewise.
19826 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
19827 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
19828 * math/gen-auto-libm-tests.c (test_functions): Add sub.
19829 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
19830 (NARROW_SUB_ROUND_TO_ODD): Likewise.
19831 (NARROW_SUB_TRIVIAL): Likewise.
19832 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
19833 macro.
19834 (__dsubl): Likewise.
19835 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
19836 dsub.
19837 (CFLAGS-nldbl-dsub.c): New variable.
19838 (CFLAGS-nldbl-fsub.c): Likewise.
19839 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19840 __nldbl_dsubl.
19841 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
19842 prototype.
19843 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
19844 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
19845 * math/auto-libm-test-in: Add tests of sub.
19846 * math/auto-libm-test-out-narrow-sub: New generated file.
19847 * math/libm-test-narrow-sub.inc: New file.
19848 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
19849 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
19850 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
19851 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
19852 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
19853 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
19854 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
19855 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
19856 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
19857 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
19858 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
19859 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
19860 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
19861 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
19862 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
19863 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
19864 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
19865 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
19866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19867 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19868 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19869 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19870 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19871 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19872 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19873 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19874 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19875 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19876 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19877 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19878 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19879 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19884 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19885 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19886 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19887 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19888 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19889 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19890 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19891 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19892 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19893 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19894
19895 2018-03-19 Joseph Myers <joseph@codesourcery.com>
19896
19897 [BZ #20079]
19898 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
19899
19900 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
19901
19902 * benchtests/bench-timing.h (attribute_hidden): Undefine.
19903
19904 2018-03-18 Richard Braun <rbraun@sceen.net>
19905
19906 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
19907 thread reference.
19908
19909 2018-03-18 Agustina Arzille <avarzille@riseup.net>
19910
19911 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
19912 (__libc_cleanup_fct): Define function.
19913 (__libc_cleanup_region_start, __libc_cleanup_region_end,
19914 __libc_cleanup_end): Rewrite implementation using
19915 __attribute__ ((__cleanup__)).
19916 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
19917 * hurd/Makefile (routines): Add hurdlock.
19918 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
19919 interface.
19920 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
19921 * hurd/hurdpid.c: Include <lowlevellock.h>
19922 (_S_msg_proc_newids): Use lll_wait to synchronize.
19923 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
19924 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
19925 * mach/Makefile (lock-headers): Remove machine-lock.h.
19926 * mach/lock-intern.h: Include <lowlevellock.h> instead of
19927 <machine-lock.h>.
19928 (__spin_lock_t): New type.
19929 (__SPIN_LOCK_INITIALIZER): New macro.
19930 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
19931 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
19932 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
19933 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
19934 (__mutex_init): Initialize with lll.
19935 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
19936 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
19937 needing lll.
19938 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19939 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
19940 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
19941 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
19942 (__setpgid): Use lll for synchronization.
19943 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
19944 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
19945 instead of <cthreads.h>.
19946 (_IO_lock_inexpensive): New macro
19947 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
19948 (__libc_lock_self0): New declaration.
19949 (__libc_lock_owner_self): New macro.
19950 (__libc_key_t): Remove type.
19951 (_LIBC_LOCK_INITIALIZER): New macro.
19952 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
19953 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
19954 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
19955 __libc_lock_define_initialized_recursive,
19956 __rtld_lock_define_initialized_recursive,
19957 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
19958 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
19959 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
19960 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
19961 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
19962 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
19963 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
19964 New macros.
19965 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
19966 * hurd/hurdlock.c: New file.
19967 * hurd/hurdlock.h: New file.
19968 * mach/lowlevellock.h: New file
19969
19970 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19971
19972 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
19973 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
19974 when opening a symlink with O_NOFOLLOW.
19975 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
19976 path when flags contains O_NOFOLLOW.
19977 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
19978 if flags contains O_DIRECTORY and the result is a directory.
19979 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
19980 oneself when the pointer given in D is nul (as set by ext2fs).
19981 * sysdeps/mach/hurd/mlockall.c: New file.
19982 * sysdeps/mach/hurd/munlockall.c: New file.
19983
19984 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19985
19986 * hurd/hurdsig.c: Include <pthread.h>.
19987 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
19988 get the signal thread stack layout.
19989 * hurd/Makefile (headers): Remove threadvar.h.
19990 (inline-headers): Remove threadvar.h.
19991 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
19992 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
19993 __hurd_threadvar_max, __hurd_errno_location.
19994 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
19995 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
19996 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
19997 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
19998 unless TLS is not initialized yet, in which case we do not need a
19999 critical section yet anyway.
20000 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
20001 <machine-sp.h>.
20002 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
20003 declarations.
20004 (__hurd_threadvar_index): Remove enum.
20005 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
20006 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
20007 inlines.
20008 (__hurd_reply_port0): New variable declaration.
20009 (__hurd_local_reply_port): New macro.
20010 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
20011 (interrupted_reply_port_location): Add thread_t parameter. Use it
20012 with THREAD_TCB to access thread-local variables.
20013 (_hurdsig_abort_rpcs): Pass ss->thread to
20014 interrupted_reply_port_location.
20015 (_hurd_internal_post_signal): Likewise.
20016 (_hurdsig_init): Use presence of cthread_fork instead of
20017 __hurd_threadvar_stack_mask to start signal thread by hand.
20018 Remove signal thread threadvar initialization.
20019 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
20020 * hurd/sigunwind.c: Include <hurd/threadvar.h>
20021 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
20022 of threadvar.
20023 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
20024 __libc_lock_self0.
20025 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
20026 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
20027 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
20028 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
20029 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
20030 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
20031 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
20032 define variables.
20033 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
20034 <hurd/threadvar.h>.
20035 [IS_IN(rtld)] (rtld_errno): New variable.
20036 [IS_IN(rtld)] (__errno_location): New weak function.
20037 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
20038 * sysdeps/mach/hurd/errno.c: Remove file.
20039 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
20040 (__fork): Remove THREADVAR_SPACE macro and its use.
20041 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
20042 variable.
20043 (init): Do not initialize threadvar.
20044 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
20045 symbol.
20046 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
20047 __hurd_local_reply_port instead of threadvar.
20048 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
20049 _hurd_sigstate fields.
20050 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
20051 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
20052 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
20053 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
20054 instead of threadvar.
20055 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
20056 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
20057 (use_threadvar, global_reply_port): Remove variables.
20058 (__hurd_reply_port0): New variable.
20059 (__mig_get_reply_port): Use __hurd_local_reply_port and
20060 __hurd_reply_port0 instead of threadvar.
20061 (__mig_dealloc_reply_port): Likewise.
20062 (__mig_init): Do not initialize threadvar.
20063 * sysdeps/mach/hurd/profil.c: Fix comment.
20064 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
20065 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
20066 cthread_keycreate, cthread_getspecific, cthread_setspecific to
20067 __cthread_fork, __cthread_detach, __pthread_getattr_np,
20068 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
20069 __cthread_setspecific.
20070 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
20071 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
20072 __cthread_t instead of cthread_fork, cthread_detach,
20073 pthread_getattr_np, pthread_attr_getstack.
20074 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
20075 __cthread_keycreate.
20076 (cthread_getspecific): Rename to __cthread_getspecific.
20077 (cthread_setspecific): Rename to __cthread_setspecific.
20078 (__libc_getspecific): Use __cthread_getspecific instead of
20079 cthread_getspecific.
20080 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
20081 __cthread_keycreate instead of cthread_keycreate.
20082 (__libc_setspecific): Use __cthread_setspecific instead of
20083 cthread_setspecific.
20084 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
20085 Likewise.
20086 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
20087 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
20088 testing whether it is defined.
20089
20090 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20091
20092 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
20093 Define macro.
20094 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
20095 * sysdeps/mach/i386/thread_state.h
20096 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
20097 i386_THREAD_STATE.
20098 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
20099 i386_THREAD_STATE.
20100 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
20101
20102 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
20103 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
20104
20105 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
20106 macros.
20107 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
20108 descriptor instead of creating a new one.
20109 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
20110
20111 * mach/setup-thread.c: Include <ldsodefs.h>.
20112 (__mach_setup_thread): Call _dl_allocate_tls, pass
20113 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
20114 MACHINE_THREAD_STATE_FLAVOR, before getting
20115 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
20116 MACHINE_THREAD_STATE_FLAVOR with the result.
20117 * hurd/hurdfault.c (_hurdsig_fault_init): Call
20118 MACHINE_THREAD_STATE_FIX_NEW.
20119 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
20120 too. Add original thread parameter.
20121
20122 2018-03-16 Joseph Myers <joseph@codesourcery.com>
20123
20124 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
20125 Remove inline function.
20126
20127 * sysdeps/i386/fpu/libm-test-ulps: Update.
20128 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20129
20130 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
20131
20132 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
20133 commit.
20134
20135 2018-03-15 Joseph Myers <joseph@codesourcery.com>
20136
20137 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
20138 (__sincos_code): Remove define and undefine.
20139 [__FAST_MATH__] (__sincos): Remove inline function.
20140 [__FAST_MATH__] (__sincosf): Remove inline function.
20141 [__FAST_MATH__] (__sincosl): Remove inline function.
20142 (__atan2l): Remove inline functions.
20143 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
20144 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
20145 function.
20146 (floor): Remove inline function.
20147 (ceil): Likewise.
20148 [__FAST_MATH__] (__ldexp_code): Remove macro.
20149 [__FAST_MATH__] (ldexp): Remove inline function.
20150 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
20151 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
20152 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
20153 [__USE_ISOC99] (__lrint_code): Remove macro.
20154 [__USE_ISOC99] (__llrint_code): Likewise.
20155 [__USE_ISOC99] (lrintf): Remove inline function.
20156 [__USE_ISOC99] (lrint): Likewise.
20157 [__USE_ISOC99] (lrintl): Likewise.
20158 [__USE_ISOC99] (llrint): Likewise.
20159 [__USE_ISOC99] (llrintf): Likewise.
20160 [__USE_ISOC99] (llrintl): Likewise.
20161
20162 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20163
20164 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
20165 (__ieee754_sqrtf): Remove.
20166 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
20167 (__ieee754_sqrtf): Remove.
20168 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
20169 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20170 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
20171 (__ieee754_sqrtf): Remove.
20172 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
20173 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
20174 (sqrtf): Remove.
20175 (sqrtl): Remove.
20176 (__ieee754_sqrt): Remove.
20177 (__ieee754_sqrtf): Remove.
20178 (__ieee754_sqrtl): Remove.
20179 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
20180 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
20181 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
20182 (__ieee754_sqrtf): Remove.
20183 (__ieee754_sqrtl): Remove.
20184
20185 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20186
20187 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
20188 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20189 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20190 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
20191 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
20192 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20193 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20194 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20195 Likewise.
20196 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
20197 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
20198 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20199 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20200 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
20201 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
20202 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20203 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
20204 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20205 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20206 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
20207 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20208 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
20209 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
20210 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
20211 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20212 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20213 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20214 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
20215 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
20216 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20217 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20218 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
20219 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
20220 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
20221 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
20222 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20223 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20224 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
20225 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
20226 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20227 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
20228 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20229 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
20230 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20231 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20232 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
20233 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
20234 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20235 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
20236
20237 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20238
20239 * include/math.h (sqrt): Declare with asm redirect.
20240 (sqrtf): Likewise.
20241 (sqrtl): Likewise.
20242 (sqrtf128): Likewise.
20243 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
20244 nonlib and libnldbl with -fmath-errno.
20245 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
20246 * math/w_sqrt_template.c: Likewise.
20247 * math/w_sqrtf_compat.c: Likewise.
20248 * math/w_sqrtl_compat.c: Likewise.
20249 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
20250 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
20251 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
20252 complex.h.
20253
20254 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
20255
20256 * benchtests/Makefile: Define _ISOMAC.
20257 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
20258 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
20259 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
20260 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
20261 * benchtests/bench-timing.h: Define attribute_hidden.
20262
20263 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
20264
20265 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
20266 mov + lsr.
20267
20268 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20269
20270 [BZ #22963]
20271 * localedata/locales/cs_CZ (mon): Rename to...
20272 (alt_mon): This.
20273 (mon): Import from CLDR (genitive case).
20274
20275 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20276
20277 [BZ #22937]
20278 * localedata/locales/el_CY (abmon): Rename to...
20279 (ab_alt_mon): This.
20280 (abmon): Import from CLDR (abbreviated genitive case).
20281 * localedata/locales/el_GR (abmon): Rename to...
20282 (ab_alt_mon): This.
20283 (abmon): Import from CLDR (abbreviated genitive case).
20284
20285 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
20286
20287 [BZ #22932]
20288 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
20289
20290 2018-03-15 Robert Buj <robert.buj@gmail.com>
20291
20292 [BZ #22848]
20293 * localedata/locales/ca_ES (abmon): Rename to...
20294 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20295 (mon): Rename to...
20296 (alt_mon): This.
20297 (abmon): Import from CLDR (genitive case, month names preceded by
20298 "de" or "d’").
20299 (mon): Likewise.
20300 (abday): Synchronize with CLDR.
20301 (d_t_fmt): Likewise.
20302 (d_fmt): Likewise.
20303 (am_pm): Likewise.
20304
20305 (LC_TIME): Improve indentation.
20306 (LC_TELEPHONE): Likewise.
20307 (LC_NAME): Likewise.
20308 (LC_ADDRESS): Likewise.
20309
20310 2018-03-14 Joseph Myers <joseph@codesourcery.com>
20311
20312 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
20313 (lrintf): Remove definitions used only with old GCC.
20314 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
20315 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
20316 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
20317 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
20318 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
20319 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
20320 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
20321 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
20322 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
20323 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
20324 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
20325 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
20326 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
20327 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
20328 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
20329 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
20330 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
20331 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
20332 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
20333 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
20334 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
20335 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
20336 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
20337 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
20338 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
20339 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
20340 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
20341 [__FAST_MATH__] (__M_SQRT2): Remove macro.
20342
20343 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20344
20345 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
20346 instruction to unbreak builds with binutils 2.26 and older.
20347
20348 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20349
20350 * sysdeps/aarch64/strncmp.S (count): New macro.
20351 (strncmp): Store misaligned length in SRC1 in COUNT.
20352 (mutual_align): Adjust.
20353 (misaligned8): Load dword at a time when it is safe.
20354
20355 2018-03-12 Zack Weinberg <zackw@panix.com>
20356
20357 [BZ #1190]
20358 [BZ #19476]
20359 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
20360 if the _IO_EOF_SEEN bit is already set; update commentary.
20361 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
20362 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20363
20364 * support/support_openpty.c, support/tty.h: New files.
20365 * support/Makefile (libsupport-routines): Add support_openpty.
20366
20367 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
20368 New test cases.
20369 * libio/Makefile (tests): Add tst-fgetc-after-eof.
20370 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
20371
20372 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
20373
20374 * po/pt_BR.po: Update translations.
20375
20376 2018-03-12 David Michael <fedora.dm0@gmail.com>
20377
20378 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
20379 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
20380 get a port to the startup server.
20381
20382 2018-03-11 Zack Weinberg <zackw@panix.com>
20383
20384 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
20385 before nldbl-compat.h.
20386
20387 2018-03-10 Zack Weinberg <zackw@panix.com>
20388
20389 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
20390 math.h or math_private.h.
20391
20392 * sysdeps/alpha/fpu/s_isnan.c
20393 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
20394 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
20395 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
20396 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
20397 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
20398 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
20399 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
20400 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
20401 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
20402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
20403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
20404 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
20405 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
20406 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
20407 Include math_private.h.
20408
20409 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
20410 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
20411 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
20412 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
20413 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
20414 * sysdeps/powerpc/power7/fpu/s_logb.c:
20415 Include math.h and math_private.h.
20416
20417 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
20418 uses of $at in .set noat / .set at.
20419
20420 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
20421
20422 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
20423 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
20424 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
20425 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
20426 Likewise.
20427
20428 2018-03-09 Florian Weimer <fweimer@redhat.com>
20429
20430 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
20431 in comment.
20432
20433 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
20434
20435 [BZ #22919]
20436 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
20437 Add nop before __startcontext, add explaining comments.
20438
20439 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20440
20441 [BZ #22926]
20442 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
20443 empty for __SPE__.
20444 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
20445 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
20446 Do not build hardware transactional code for __SPE__.
20447 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20448 (__lll_trylock_elision): Likewise.
20449 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20450 (__lll_unlock_elision): Likewise.
20451
20452 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
20453 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
20454 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20455 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
20456 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
20457 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
20458 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
20459 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
20460 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
20461 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
20462 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
20463 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
20464 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
20465 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
20466 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
20467 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
20468 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
20469 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
20470 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
20471 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
20472 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
20473 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20474 (__ASSUME_CLONE_BACKWARDS): Define.
20475 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
20476 __clone2 if __NR_clone2 is defined.
20477 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20478 (__ASSUME_CLONE_BACKWARDS): Likewise.
20479 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20480 (__ASSUME_CLONE_BACKWARDS): Likewise.
20481 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20482 (__ASSUME_CLONE2): Likewise.
20483 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20484 (__ASSUME_CLONE_BACKWARDS3): Likewise.
20485 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
20486 variants and the define architecture can use.
20487 (__ASSUME_CLONE_DEFAULT): Define as default.
20488 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20489 (__ASSUME_CLONE_BACKWARDS): Likewise.
20490 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20491 (__ASSUME_CLONE_BACKWARDS): Likewise.
20492 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20493 (__ASSUME_CLONE_BACKWARDS2): Likewise.
20494
20495 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
20496
20497 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
20498
20499 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
20500 time.
20501
20502 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
20503 (do_test_limit): Likewise.
20504
20505 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
20506 for every implementation.
20507 (do_test): Likewise.
20508
20509 * benchtests/bench-strncmp.c: Convert output to json.
20510
20511 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20512
20513 * io/futimens.c: Add missing start-of-file descriptive comment.
20514 * io/utime.c: Likewise.
20515 * misc/futimesat.c: Likewise.
20516 * misc/utimes.c: Likewise.
20517 * sysdeps/mach/hurd/futimesat.c: Likewise.
20518 * sysdeps/mach/hurd/utimes.c: Likewise.
20519 * sysdeps/posix/utime.c: Likewise.
20520 * sysdeps/posix/utimes.c: Likewise.
20521 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
20522 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20523 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
20524 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
20525
20526 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20527
20528 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
20529 hurd_futimes.
20530 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
20531 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
20532 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
20533 (__futimens): Move implementation to...
20534 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
20535 utime_tvalue_from_tspec): ... new helper functions.
20536 (hurd_futimens): New function.
20537 * sysdeps/mach/hurd/futimesat.c: New file.
20538 * sysdeps/mach/hurd/utimensat.c: New file.
20539
20540 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
20541
20542 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
20543 UTIME_OMIT): New macros.
20544 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
20545 before reverting to converting time spec to time value and calling
20546 __file_utimes.
20547 * sysdeps/mach/hurd/utime-helper.c: New file.
20548 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
20549 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
20550 reverting to utime_tvalue_from_tval and __file_utimes.
20551 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
20552 (__lutimes): Just call hurd_futimens after lookup.
20553 * sysdeps/mach/hurd/utimes.c: Likewise.
20554
20555 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20556
20557 * bits/sigaction.h: Add include guard.
20558 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
20559 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
20560 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
20561 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
20562 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
20563 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
20564 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
20565 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
20566 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
20567
20568 2018-03-05 Joseph Myers <joseph@codesourcery.com>
20569
20570 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
20571 -Wmaybe-uninitialized for -Os.
20572 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
20573 this disabling.
20574
20575 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20576
20577 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
20578 __INO_T_MATCHES_INO64_T is defined.
20579 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
20580 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
20581 of definition.
20582 * dirent/alphasort64.c: Likewise.
20583 * dirent/scandir.c: Likewise.
20584 * dirent/scandir64-tail.c: Likewise.
20585 * dirent/scandir64.c: Likewise.
20586 * dirent/scandirat.c: Likewise.
20587 * dirent/scandirat64.c: Likewise.
20588 * dirent/versionsort.c: Likewise.
20589 * dirent/versionsort64.c: Likewise.
20590 * include/dirent.h: Likewise.
20591
20592 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
20593 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
20594 for socketpair endpoint.
20595 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
20596 WRITE_BUFFER_SIZE as buffer size for sending socket.
20597 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
20598 issue on system where send is implemented with sendto syscall.
20599 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
20600 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
20601 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
20602 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
20603
20604 [BZ #21269]
20605 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
20606 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
20607 sa_restorer for vDSO case.
20608 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
20609
20610 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20611
20612 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
20613 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
20614 * hurd/hurd/ioctl.h: Include <mach/port.h>
20615 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
20616 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
20617 <mach/mach_types.h> and <mach/message.h>.
20618 (headers): Move mach/param.h to bits/mach/param.h.
20619 * sysdeps/mach/i386/mach/param.h: Move file to ...
20620 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
20621 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
20622 of <mach/param.h>.
20623 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
20624 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
20625 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
20626 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
20627 trivial, for C++ conformity.
20628 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
20629 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
20630 Process mig output through $(migheadersed).
20631 * hurd/Makefile (migheadersed): Define variable.
20632 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
20633 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
20634 headers.
20635 * hurd/hurd.h: Include <bits/types/sigset_t.h>
20636 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
20637 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
20638 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
20639 <bits/types/sigset_t.h>.
20640 [!defined __USE_GNU]: Do not #error out.
20641 (struct hurd_sigstate): Use _NSIG instead of NSIG.
20642 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
20643 Include <stddef.h> and <bits/types/sigset_t.h>
20644 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
20645 instead of sighandler_t.
20646 * stdlib/errno.h (error_t): Move definition to...
20647 * bits/types/error_t.h: ... new header.
20648 * stdlib/Makefile (headers): Add bits/types/error_t.h.
20649 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
20650 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
20651 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
20652 * hurd/hurd.h: Include <bits/types/error_t.h>
20653 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
20654 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
20655 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
20656 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
20657 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
20658 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
20659 * sysdeps/mach/hurd/futimens.c: New file.
20660
20661 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
20662
20663 [BZ #22918]
20664 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
20665 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
20666 * nscd/gai.c (__nss_hosts_database): Readd definition.
20667 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
20668 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
20669 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
20670
20671 2018-03-02 Joseph Myers <joseph@codesourcery.com>
20672
20673 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
20674 (ifunc_one): Likewise.
20675
20676 2018-03-01 DJ Delorie <dj@delorie.com>
20677
20678 [BZ #22342]
20679 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
20680 key value.
20681
20682 2018-03-01 Maciej W. Rozycki <macro@mips.com>
20683
20684 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
20685 `match_pid' parameter.
20686 (td_ta_thr_iter): Update accordingly.
20687
20688 2018-03-01 Florian Weimer <fweimer@redhat.com>
20689
20690 * nptl/Makefile (install-lib-ldscripts): Remove.
20691 (install): Remove rule.
20692 ($(inst_libdir)/libpthread.so): Likewise.
20693
20694 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20695
20696 [BZ #22896]
20697 * localedata/locales/an_ES: update month and day names,
20698 improve d_fmt, improve postal_fmt, add country_post,
20699 add country_isbn
20700
20701 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20702
20703 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
20704 Ukrainian instead of Bulgarian.
20705
20706 2018-03-01 Florian Weimer <fweimer@redhat.com>
20707
20708 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
20709 reference.
20710
20711 2018-03-01 Florian Weimer <fweimer@redhat.com>
20712
20713 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
20714 * nptl/Makefile (routines): Add pthread_atfork.
20715 (static-only-routines): Set to pthread_atfork.
20716 (libpthread-routines): Remove pthread_atfork.
20717 (libpthread-static-only-routines): Remove.
20718 (install): Update comment.
20719 (libpthread.so): Do not install libpthread_nonshared.a.
20720 (tests): Do not link with libpthread_nonshared.a.
20721 (generated): Remove libpthread_nonshared.a.
20722 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
20723 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
20724 with libpthread_nonshared.a.
20725
20726 2018-02-28 Joseph Myers <joseph@codesourcery.com>
20727
20728 [BZ #22902]
20729 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
20730 (libc_feholdexcept_setroundf128): New macro.
20731 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
20732
20733 [BZ #15105]
20734 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
20735 libc_hidden_def.
20736 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
20737 * include/inttypes.h: New file.
20738
20739 2018-02-27 Joseph Myers <joseph@codesourcery.com>
20740
20741 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
20742 -Os in two more places.
20743
20744 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20745
20746 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
20747 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
20748 be sorted correctly at the moment because of a bug.
20749
20750 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20751
20752 [BZ #22550] - es_ES locale (and other es_* locales): collation should
20753 treat ñ as a primary different character, sync the collation
20754 for Spanish with CLDR.
20755 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
20756 * localedata/Makefile: Add new test files.
20757 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
20758 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
20759 collation order.
20760 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
20761 * localedata/am_ET.UTF-8.in: New test file.
20762 * localedata/az_AZ.UTF-8.in: Likewise.
20763 * localedata/be_BY.UTF-8.in: Likewise.
20764 * localedata/ber_DZ.UTF-8.in: Likewise.
20765 * localedata/ber_MA.UTF-8.in: Likewise.
20766 * localedata/bg_BG.UTF-8.in: Likewise.
20767 * localedata/br_FR.UTF-8.in: Likewise.
20768 * localedata/cmn_TW.UTF-8.in: Likewise.
20769 * localedata/crh_UA.UTF-8.in: Likewise.
20770 * localedata/csb_PL.UTF-8.in: Likewise.
20771 * localedata/cv_RU.UTF-8.in: Likewise.
20772 * localedata/cy_GB.UTF-8.in: Likewise.
20773 * localedata/dz_BT.UTF-8.in: Likewise.
20774 * localedata/eo.UTF-8.in: Likewise.
20775 * localedata/es_ES.UTF-8.in: Likewise.
20776 * localedata/fa_IR.UTF-8.in: Likewise.
20777 * localedata/fi_FI.UTF-8.in: Likewise.
20778 * localedata/fil_PH.UTF-8.in: Likewise.
20779 * localedata/fur_IT.UTF-8.in: Likewise.
20780 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
20781 * localedata/ha_NG.UTF-8.in: Likewise.
20782 * localedata/ig_NG.UTF-8.in: Likewise.
20783 * localedata/ik_CA.UTF-8.in: Likewise.
20784 * localedata/kk_KZ.UTF-8.in: Likewise.
20785 * localedata/ku_TR.UTF-8.in: Likewise.
20786 * localedata/ky_KG.UTF-8.in: Likewise.
20787 * localedata/ln_CD.UTF-8.in: Likewise.
20788 * localedata/mi_NZ.UTF-8.in: Likewise.
20789 * localedata/ml_IN.UTF-8.in: Likewise.
20790 * localedata/mn_MN.UTF-8.in: Likewise.
20791 * localedata/mr_IN.UTF-8.in: Likewise.
20792 * localedata/mt_MT.UTF-8.in: Likewise.
20793 * localedata/nb_NO.UTF-8.in: Likewise.
20794 * localedata/om_KE.UTF-8.in: Likewise.
20795 * localedata/os_RU.UTF-8.in: Likewise.
20796 * localedata/ps_AF.UTF-8.in: Likewise.
20797 * localedata/ro_RO.UTF-8.in: Likewise.
20798 * localedata/ru_RU.UTF-8.in: Likewise.
20799 * localedata/sc_IT.UTF-8.in: Likewise.
20800 * localedata/se_NO.UTF-8.in: Likewise.
20801 * localedata/sq_AL.UTF-8.in: Likewise.
20802 * localedata/sv_SE.UTF-8.in: Likewise.
20803 * localedata/szl_PL.UTF-8.in: Likewise.
20804 * localedata/tg_TJ.UTF-8.in: Likewise.
20805 * localedata/tk_TM.UTF-8.in: Likewise.
20806 * localedata/tt_RU.UTF-8.in: Likewise.
20807 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
20808 * localedata/ug_CN.UTF-8.in: Likewise.
20809 * localedata/uz_UZ.UTF-8.in: Likewise.
20810 * localedata/vi_VN.UTF-8.in: Likewise.
20811 * localedata/yi_US.UTF-8.in: Likewise.
20812 * localedata/yo_NG.UTF-8.in: Likewise.
20813 * localedata/zh_CN.UTF-8.in: Likewise.
20814 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
20815 file and fix bugs in the collation.
20816 * localedata/locales/az_AZ: Likewise.
20817 * localedata/locales/be_BY: Likewise.
20818 * localedata/locales/ber_DZ: Likewise.
20819 * localedata/locales/ber_MA: Likewise.
20820 * localedata/locales/bg_BG: Likewise.
20821 * localedata/locales/br_FR: Likewise.
20822 * localedata/locales/br_FR@euro: Likewise.
20823 * localedata/locales/ca_ES: Likewise.
20824 * localedata/locales/cns11643_stroke: Likewise.
20825 * localedata/locales/crh_UA: Likewise.
20826 * localedata/locales/cs_CZ: Likewise.
20827 * localedata/locales/csb_PL: Likewise.
20828 * localedata/locales/cv_RU: Likewise.
20829 * localedata/locales/cy_GB: Likewise.
20830 * localedata/locales/da_DK: Likewise.
20831 * localedata/locales/dz_BT: Likewise.
20832 * localedata/locales/en_CA: Likewise.
20833 * localedata/locales/eo: Likewise.
20834 * localedata/locales/es_CU: Likewise.
20835 * localedata/locales/es_EC: Likewise.
20836 * localedata/locales/es_ES: Likewise.
20837 * localedata/locales/es_US: Likewise.
20838 * localedata/locales/et_EE: Likewise.
20839 * localedata/locales/fa_IR: Likewise.
20840 * localedata/locales/fi_FI: Likewise.
20841 * localedata/locales/fil_PH: Likewise.
20842 * localedata/locales/fur_IT: Likewise.
20843 * localedata/locales/gez_ER@abegede: Likewise.
20844 * localedata/locales/ha_NG: Likewise.
20845 * localedata/locales/hr_HR: Likewise.
20846 * localedata/locales/hsb_DE: Likewise.
20847 * localedata/locales/hu_HU: Likewise.
20848 * localedata/locales/ig_NG: Likewise.
20849 * localedata/locales/ik_CA: Likewise.
20850 * localedata/locales/is_IS: Likewise.
20851 * localedata/locales/iso14651_t1_pinyin: Likewise.
20852 * localedata/locales/kk_KZ: Likewise.
20853 * localedata/locales/ku_TR: Likewise.
20854 * localedata/locales/ky_KG: Likewise.
20855 * localedata/locales/ln_CD: Likewise.
20856 * localedata/locales/lt_LT: Likewise.
20857 * localedata/locales/lv_LV: Likewise.
20858 * localedata/locales/mi_NZ: Likewise.
20859 * localedata/locales/ml_IN: Likewise.
20860 * localedata/locales/mn_MN: Likewise.
20861 * localedata/locales/mr_IN: Likewise.
20862 * localedata/locales/mt_MT: Likewise.
20863 * localedata/locales/nb_NO: Likewise.
20864 * localedata/locales/om_KE: Likewise.
20865 * localedata/locales/os_RU: Likewise.
20866 * localedata/locales/pl_PL: Likewise.
20867 * localedata/locales/ps_AF: Likewise.
20868 * localedata/locales/ro_RO: Likewise.
20869 * localedata/locales/ru_RU: Likewise.
20870 * localedata/locales/ru_UA: Likewise.
20871 * localedata/locales/sc_IT: Likewise.
20872 * localedata/locales/se_NO: Likewise.
20873 * localedata/locales/si_LK: Likewise.
20874 * localedata/locales/sq_AL: Likewise.
20875 * localedata/locales/sv_FI: Likewise.
20876 * localedata/locales/sv_FI@euro: Likewise.
20877 * localedata/locales/sv_SE: Likewise.
20878 * localedata/locales/szl_PL: Likewise.
20879 * localedata/locales/tg_TJ: Likewise.
20880 * localedata/locales/ti_ER: Likewise.
20881 * localedata/locales/tk_TM: Likewise.
20882 * localedata/locales/tl_PH: Likewise.
20883 * localedata/locales/tr_TR: Likewise.
20884 * localedata/locales/tt_RU: Likewise.
20885 * localedata/locales/tt_RU@iqtelif: Likewise.
20886 * localedata/locales/ug_CN: Likewise.
20887 * localedata/locales/uk_UA: Likewise.
20888 * localedata/locales/uz_UZ: Likewise.
20889 * localedata/locales/uz_UZ@cyrillic: Likewise.
20890 * localedata/locales/vi_VN: Likewise.
20891 * localedata/locales/yi_US: Likewise.
20892 * localedata/locales/yo_NG: Likewise.
20893
20894 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20895
20896 * gen-locales.mk: Make test files which contain @ modifiers in their
20897 name work.
20898 * localedata/gen-locale.sh: Likewise.
20899
20900 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20901
20902 * posix/tst-fnmatch.input: Fix results for range expressions
20903 for non C locales.
20904 * posix/tst-regexloc.c: Do not use a range expression for
20905 de_DE.ISO-8859-1 locale.
20906
20907 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20908
20909 * posix/bug-regex5.c: Fix test case because with the new
20910 iso14651_t1_common file, the da_DK locale now has 6 collating elements
20911 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
20912 file.
20913
20914 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20915
20916 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
20917 downloaded from ISO, the collation order of @-. and space has changed.
20918 Therefore, this test file needed to be adapted.
20919 * localedata/fr_CA.UTF-8.in: Likewise.
20920 * localedata/fr_FR.UTF-8.in: Likewise.
20921 * localedata/uk_UA.UTF-8.in: Likewise.
20922
20923 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20924
20925 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
20926 order of ȥ in the new iso14651_t1_common file.
20927 * localedata/pl_PL.UTF-8.in: Likewise.
20928
20929 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20930
20931 * localedata/locales/iso14651_t1_common: Add sections for various
20932 scripts to the iso14651_t1_common file.
20933
20934 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20935
20936 * localedata/locales/iso14651_t1_common: Use the code point of a
20937 character in the fourth collation level instead of IGNORE for all
20938 entries which have IGNORE on all 4 levels.
20939
20940 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20941
20942 * localedata/locales/iso14651_t1_common: Add some convenient collation
20943 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
20944 rules similar to those in CLDR.
20945
20946 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20947
20948 * localedata/locales/iso14651_t1_common: The new version of this
20949 file downloaded from ISO contained several syntax errors which
20950 are fixed by this patch.
20951
20952 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20953
20954 * localedata/locales/iso14651_t1_common: replace all <U.....>
20955 with <U000.....> because glibc understands only 4 digit or 8 digit
20956
20957 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20958
20959 * localedata/locales/iso14651_t1_common: Necessary changes
20960 to make the file downloaded from ISO usable by glibc.
20961
20962 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20963
20964 [BZ #14095]
20965 * localedata/locales/iso14651_t1_common: Update file to
20966 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
20967
20968 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20969
20970 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
20971 of <nptl/pthreadP.h>
20972 (thread_attr_compare): Move function to...
20973 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
20974 * sysdeps/nptl/timer_routines.h: ... new header.
20975 * sysdeps/mach/hurd/gai_misc.h: New file.
20976
20977 2018-02-26 Joseph Myers <joseph@codesourcery.com>
20978
20979 * string/strcoll_l.c: Include <libc-diag.h>.
20980 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
20981 declarations of seq1 and seq2.
20982
20983 [BZ #15105]
20984 * stdlib/atoi.c (atoi): Use libc_hidden_def.
20985 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
20986
20987 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
20988
20989 [BZ #22433]
20990 [BZ #22807]
20991 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
20992 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
20993 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
20994 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
20995 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
20996 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
20997
20998 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20999
21000 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
21001 macros used in __ptrace_request.
21002
21003 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
21004
21005 [BZ #22792]
21006 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
21007 to $(CC).
21008 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
21009 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
21010 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
21011 <tcb-offsets.h>.
21012
21013 2018-02-23 Joseph Myers <joseph@codesourcery.com>
21014
21015 [BZ #15105]
21016 * ctype/ctype.c (tolower): Use libc_hidden_def.
21017 (toupper): Likewise.
21018 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
21019 [!_ISOMAC] (toupper): Likewise.
21020
21021 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21022
21023 * localedata/Makefile: Remove --quiet argument when
21024 installing locales
21025
21026 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21027
21028 [BZ #17438]
21029 * localedata/locales/pt_BR (LC_TIME): use / instead of -
21030 in d_fmt.
21031 * localedata/locales/pt_PT (LC_TIME): likewise
21032
21033 2018-02-23 Mike FABIAN <mfabian@redhat.com>
21034
21035 [BZ #22646]
21036 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
21037 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
21038 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
21039
21040 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21041
21042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21043
21044 * nptl/Makefile (routines): Remove unregister-atfork.
21045 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
21046 (fork_handler_alloc): Remove function.
21047 (fork_handlers, fork_handler_init): New variables.
21048 (__fork_lock): Rename to atfork_lock.
21049 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
21050 to use a dynamic array to add/remove atfork handlers.
21051 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21052 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
21053 Remove declaration.
21054 (fork_handler): Remove next, refcntr, and need_signal member.
21055 (__run_fork_handler_type): New enum.
21056 (__run_fork_handlers): New prototype.
21057 * nptl/register-atfork.c: Remove file.
21058 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
21059
21060 * sysdeps/nptl/nptl-signals.h: Move to ...
21061 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
21062 comments.
21063 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
21064 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
21065 unnecessary check for SIGTIMER.
21066 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
21067 remove unnecessary removal of SIGTIMER.
21068 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
21069 include-signals.h rename.
21070 * nptl/pthreadP.h: Likewise.
21071 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
21072 __is_internal_signal instead of __nptl_is_internal_signal.
21073
21074 2018-02-22 Andrew Waterman <andrew@sifive.com>
21075
21076 [BZ # 22884]
21077 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
21078 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
21079 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
21080 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
21081
21082 2018-02-22 DJ Delorie <dj@delorie.com>
21083
21084 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
21085
21086 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
21087
21088 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
21089 do_misaligned, not misaligned8.
21090
21091 2018-02-22 Steve Ellcey <sellcey@cavium.com>
21092
21093 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21094 Add memcpy_thunderx2.
21095 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
21096 Increment to 4.
21097 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
21098 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
21099 and IS_THUNDERX2PA checks.
21100 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
21101 Use macro to set name appropriately.
21102 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
21103 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
21104 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
21105 New macro.
21106 (IS_THUNDERX2): New macro.
21107
21108 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
21109
21110 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21111
21112 2018-02-21 Zack Weinberg <zackw@panix.com>
21113
21114 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
21115 Define here, unconditionally.
21116 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
21117 * libio/libioP.h: Remove #if 0 blocks.
21118 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
21119 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
21120 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
21121
21122 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
21123 Assume weak_alias is always defined.
21124
21125 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
21126 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
21127 Remove #if 0 and #ifdef TODO blocks.
21128 Assume text_set_element is always defined.
21129
21130 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
21131 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
21132 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
21133
21134 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
21135 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
21136 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
21137 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
21138 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
21139 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
21140 Reformat bit flags for _flags field to make occupancy clearer.
21141 Update commentary.
21142 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
21143 Keep definitions consistent with those in libio/libio.h.
21144
21145 * libio/libio.h (_IO_file_flags): Remove macro.
21146 All uses changed to _flags.
21147
21148 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
21149 (__HAVE_COLUMN, _IO_BE): Don't define.
21150 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
21151 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
21152 * libio/libioP.h (EOF): Don't define.
21153 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
21154 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
21155 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
21156 testing _IO_UNIFIED_JUMPTABLES.
21157
21158 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
21159 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
21160 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
21161 (_IO_size_t): Delete; all uses changed to size_t.
21162 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
21163 (_IO_off_t): Delete; all uses changed to off_t.
21164 (_IO_off64_t): Delete; all uses changed to off64_t.
21165 (_IO_pid_t): Delete; all uses changed to pid_t.
21166 (_IO_uid_t): Delete; all uses changed to uid_t.
21167 (_IO_wint_t): Delete; all uses changed to wint_t.
21168 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
21169 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
21170 (_IO_cookie_io_functions_t): Delete; all uses changed to
21171 cookie_io_functions_t.
21172 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
21173 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
21174 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
21175 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
21176
21177 * libio/iofopncook.c: Remove unnecessary forward declarations.
21178 * libio/iolibio.h: Correct outdated commentary.
21179 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
21180 * stdio-common/fxprintf.c (__fxprintf_nocancel):
21181 Remove unnecessary casts.
21182 * stdio-common/getline.c: Use _IO_getdelim directly.
21183 Don't redefine ssize_t.
21184 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
21185 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
21186 Remove outdated comments.
21187 * stdio-common/vfscanf.c: Don't redefine va_list.
21188
21189 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
21190 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
21191 Remove preprocessor conditionals on _LIBC and __USE_GNU,
21192 which are always true, and __cplusplus, which is always false.
21193
21194 2018-02-21 Joseph Myers <joseph@codesourcery.com>
21195
21196 [BZ #15105]
21197 [BZ #19463]
21198 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
21199 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
21200 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
21201 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
21202 libc_hidden_proto.
21203 [!_ISOMAC] (putc_unlocked): Likewise.
21204 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
21205 define inline if [__USE_EXTERN_INLINES].
21206 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
21207 putc_unlocked.
21208
21209 [BZ #15105]
21210 [BZ #19463]
21211 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
21212 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
21213 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
21214 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
21215 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
21216 getc_unlocked.
21217 * time/tzfile.c (__tzfile_read): Likewise.
21218
21219 2018-02-21 Mike FABIAN <mfabian@redhat.com>
21220
21221 [BZ #22517]
21222 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
21223
21224 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21225
21226 * io/fcntl.h: Fix a typo in a comment.
21227
21228 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
21229
21230 [BZ #22862]
21231 * include/features.h: Add _ISOC11_SOURCE to test for whether to
21232 define _DEFAULT_SOURCE.
21233 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
21234
21235 2018-02-21 Florian Weimer <fweimer@redhat.com>
21236
21237 [BZ #20890]
21238 * elf/cache.c (save_cache): Call fsync on temporary file before
21239 renaming it.
21240 (save_aux_cache): Call fdatasync on temporary file before renaming
21241 it.
21242
21243 2018-02-21 Florian Weimer <fweimer@redhat.com>
21244
21245 [BZ #22787]
21246 * include/caller.h: Remove file.
21247 * elf/dl-caller.c: Likewise.
21248 * elf/Makefile (dl-routines): Remove dl-caller.
21249 (shared-only-routines): Do not add dl-caller.
21250 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
21251 __check_caller.
21252 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
21253 member.
21254 (dl_open_worker): Do not call __check_caller.
21255 (_dl_open): Do not set caller_dl_open member.
21256 * elf/rtld.c (_rtld_global_ro): Do not initialize
21257 _dl_check_caller member.
21258 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
21259 _dl_check_caller member.
21260 (_dl_check_caller): Remove declaration.
21261 * sysdeps/unix/sysv/linux/dl-execstack.c
21262 (_dl_make_stack_executable): Do not call __check_caller.
21263
21264 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
21265
21266 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
21267 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
21268
21269 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21270
21271 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
21272 description.
21273
21274 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
21275
21276 [BZ #16335]
21277 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
21278 of 199606L, 200112L, and 200809L.
21279 (_XOPEN_SOURCE): Document special values of 600 and 700.
21280 (_ISOC11_SOURCE): Document macro.
21281 (_ATFILE_SOURCE): Likewise.
21282 (_FORTIFY_SOURCE): Likewise.
21283
21284 2018-02-19 Joseph Myers <joseph@codesourcery.com>
21285
21286 [BZ #15105]
21287 [BZ #19463]
21288 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
21289 and define as weak alias of __ferror_unlocked. Use
21290 libc_hidden_weak.
21291 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
21292 libc_hidden_proto.
21293 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
21294 function if [__USE_EXTERN_INLINES].
21295 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
21296 ferror_unlocked.
21297
21298 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
21299
21300 [BZ #6889]
21301 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
21302
21303 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21304
21305 [BZ #22818]
21306 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
21307 the GLIBC_2.1 version.
21308
21309 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21310
21311 [BZ #21508]
21312 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
21313 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
21314 intl/tst-gettext-de.po from po/de.po by removing the
21315 POT-Creation-Date line.
21316 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
21317 ../po/de.po.
21318 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
21319 ../po/de.po.
21320
21321 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
21322
21323 * mach/Makefile (headers): Add mach/param.h.
21324 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
21325 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
21326 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
21327 (__ptsname_r): Move implementation to...
21328 (__ptsname_internal): ... new function. Add filling the STP
21329 structure.
21330
21331 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
21332
21333 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
21334 idouble to 1 ULP.
21335
21336 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
21337
21338 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
21339 syntax.
21340
21341 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21342
21343 * nptl/Makefile (tst-mutex8-ENV): Delete.
21344 * nptl/tst-mutex8.c (check_type):
21345 Add runtime check if mutex will be elided.
21346
21347 2018-02-15 Joseph Myers <joseph@codesourcery.com>
21348
21349 [BZ #20980]
21350 [BZ #21234]
21351 * manual/install.texi (Configuring and compiling): Describe
21352 passing CC and CFLAGS on configure command line, not as
21353 environment variables. Use @code markup on those variables.
21354 Specify what options go in CC and what go in CFLAGS. Note the
21355 requirement to compile with optimization.
21356 * INSTALL: Regenerated.
21357
21358 [BZ #18124]
21359 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
21360 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
21361 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
21362 __sigprocmask instead of sigprocmask.
21363 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
21364 Likewise.
21365 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
21366 __sigsetjmp and sigprocmask.
21367
21368 [BZ #15105]
21369 * include/argz.h (argz_next): Use libc_hidden_proto.
21370 (__argz_next): Likewise.
21371 * string-argz-next.c (__argz_next): Use libc_hidden_def.
21372 (argz_next): Use libc_hidden_weak.
21373
21374 [BZ #15105]
21375 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
21376 libc_hidden_proto.
21377 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
21378 libc_hidden_def.
21379
21380 [BZ #15105]
21381 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
21382 libc_hidden_proto.
21383 * libio/iofputs.c (fputs): Use libc_hidden_weak.
21384
21385 [BZ #15105]
21386 [BZ #19463]
21387 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
21388 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
21389 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
21390 (__feof_unlocked): New declaration, and inline function if
21391 [__USE_EXTERN_INLINES].
21392 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
21393 instead of feof_unlocked.
21394 * intl/localealias.c [_LIBC] (FEOF): Likewise.
21395 * nss/nsswitch.c (nss_parse_file): Likewise.
21396 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
21397 Likewise.
21398 * time/getdate.c (__getdate_r): Likewise.
21399 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
21400 Define as macro to call __feof_unlocked.
21401
21402 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21403
21404 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
21405
21406 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21407
21408 * math/Makefile: Remove mpexp.c and mplog.c
21409 * sysdeps/i386/fpu/mpexp.c: Delete file.
21410 * sysdeps/i386/fpu/mplog.c: Likewise.
21411 * sysdeps/ia64/fpu/mpexp.c: Likewise.
21412 * sysdeps/ia64/fpu/mplog.c: Likewise.
21413 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
21414 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
21415 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
21416 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21417 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
21418 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
21419 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
21420 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
21421 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
21422 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21423 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
21424 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
21425 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21426 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
21427 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
21428 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21429
21430 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21431
21432 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21433
21434 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21435
21436 * sysdeps/sh/libm-test-ulps: Update.
21437
21438 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21439
21440 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
21441 idouble to 1 ULP.
21442
21443 2018-02-12 Zack Weinberg <zackw@panix.com>
21444
21445 [BZ #19239]
21446 * posix/sys/types.h: Don't include sys/sysmacros.h.
21447 * misc/sys/sysmacros.h: Remove the conditional deprecation
21448 warnings for the macros defined by this header.
21449
21450 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21451
21452 * manual/probes.texi: Remove slowexp probes.
21453 * math/Makefile: Remove slowexp.
21454 * sysdeps/generic/math_private.h (__slowexp): Remove.
21455 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
21456 document error bounds.
21457 * sysdeps/i386/fpu/slowexp.c: Remove.
21458 * sysdeps/ia64/fpu/slowexp.c: Remove.
21459 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
21460 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
21461 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
21462 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
21463 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
21464 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
21465 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
21466 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
21467 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
21468 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
21469 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
21470
21471 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
21472
21473 [BZ #13932]
21474 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
21475 * benchtests/pow-inputs: Update comment for slow path cases.
21476 * manual/probes.texi (slowpow_p10): Delete removed probe.
21477 (slowpow_p10): Likewise.
21478 * math/Makefile: Remove halfulp.c and slowpow.c.
21479 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
21480 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
21481 (__halfulp): Remove.
21482 (__slowpow): Remove.
21483 * sysdeps/i386/fpu/halfulp.c: Delete file.
21484 * sysdeps/i386/fpu/slowpow.c: Likewise.
21485 * sysdeps/ia64/fpu/halfulp.c: Likewise.
21486 * sysdeps/ia64/fpu/slowpow.c: Likewise.
21487 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
21488 improve comments and add error analysis.
21489 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
21490 (power1): Remove function:
21491 (log1): Remove error argument, add error analysis.
21492 (my_log2): Remove function.
21493 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
21494 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21495 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
21496 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
21497 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
21498 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
21499 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
21500 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
21501 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
21502 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
21503 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
21504 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21505 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
21506 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21507
21508 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21509
21510 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
21511 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
21512
21513 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
21514
21515 [BZ #22433]
21516 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
21517 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
21518 and PTRACE_SETHBPREGS.
21519
21520 2018-02-10 Zack Weinberg <zackw@panix.com>
21521
21522 [BZ #22830]
21523 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
21524 correctly.
21525 * malloc/tst-malloc-stats-cancellation.c: New test case.
21526 * malloc/Makefile: Add new test case.
21527
21528 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
21529
21530 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
21531
21532 2018-02-10 Joseph Myers <joseph@codesourcery.com>
21533
21534 * math/Makefile (libm-narrow-fns): Add add.
21535 (libm-test-funcs-narrow): Likewise.
21536 * math/Versions (GLIBC_2.28): Add narrowing add functions.
21537 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
21538 * math/gen-auto-libm-tests.c (test_functions): Add add.
21539 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
21540 (NARROW_ADD_ROUND_TO_ODD): Likewise.
21541 (NARROW_ADD_TRIVIAL): Likewise.
21542 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
21543 macro.
21544 (__daddl): Likewise.
21545 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
21546 dadd.
21547 (CFLAGS-nldbl-dadd.c): New variable.
21548 (CFLAGS-nldbl-fadd.c): Likewise.
21549 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
21550 __nldbl_daddl.
21551 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
21552 prototype.
21553 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
21554 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
21555 * math/auto-libm-test-in: Add tests of add.
21556 * math/auto-libm-test-out-narrow-add: New generated file.
21557 * math/libm-test-narrow-add.inc: New file.
21558 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
21559 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
21560 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
21561 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
21562 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
21563 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
21564 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
21565 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
21566 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
21567 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
21568 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
21569 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
21570 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
21571 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
21572 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
21573 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
21574 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
21575 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
21576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21577 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
21578 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21579 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21580 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21581 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21582 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21583 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21584 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21585 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21586 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21587 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21588 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21589 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
21591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
21592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
21593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
21594 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21595 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21596 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21597 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21598 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21599 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21600 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
21601 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
21602 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21603 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21604
21605 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
21606 (f128-pairs): New variable.
21607 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
21608 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
21609 to CFLAGS.
21610 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
21611 Also make tests add $(f128-loader-link) to gnulib-tests.
21612
21613 2018-02-09 DJ Delorie <dj@redhat.com>
21614
21615 [BZ #22827]
21616 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
21617 64-bit ELF type for 64-bit ELF objects.
21618
21619 2018-02-09 Joseph Myers <joseph@codesourcery.com>
21620
21621 * math/libm-test-driver.c (snan_tests_arg): New variable.
21622 * math/libm-test-support.h (snan_tests_arg): New declaration.
21623 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
21624
21625 * math/Makefile (test-type-pairs): New variable.
21626 (test-type-pairs-f64xf128-yes): Likewise.
21627 (tests): Add test-narrow-macros.
21628 (libm-test-funcs-narrow): New variable.
21629 (libm-test-c-narrow): Likewise.
21630 (generated): Add $(libm-test-c-narrow).
21631 (libm-tests-base-narrow): New variable.
21632 (libm-tests-narrow): Likewise.
21633 (libm-tests): Add $(libm-tests-narrow).
21634 (libm-tests-for-type): Handle $(libm-tests-narrow).
21635 (libm-test-c-narrow-obj): New variable.
21636 ($(libm-test-c-narrow-obj)): New rule.
21637 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
21638 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
21639 $(o-iterator) to set dependencies and CFLAGS.
21640 * math/gen-auto-libm-tests.c: Document use for narrowing
21641 functions.
21642 (output_for_one_input_case): Take argument NARROW.
21643 (generate_output): Likewise. Update call to
21644 output_for_one_input_case.
21645 (main): Take --narrow option. Update call to generate_output.
21646 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
21647 (apply_lit): Update call to _apply_lit.
21648 (apply_arglit): New function.
21649 (parse_args): Handle "a" arguments.
21650 (parse_auto_input): Handle format names using ":".
21651 * math/README.libm-test: Document "a" parameter type.
21652 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
21653 (ARG_TYPE_TRUE_MIN): Likewise.
21654 (ARG_TYPE_MAX): Likwise.
21655 (ARG_MIN_EXP): Likewise.
21656 (ARG_MAX_EXP): Likewise.
21657 (ARG_MANT_DIG): Likewise.
21658 (TEST_COND_arg_ibm128): Likewise.
21659 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
21660 (TEST_COND_arg_fmt): New macro.
21661 (init_max_error): Update prototype.
21662 * math/libm-test-support.c (test_ibm128): New variable.
21663 (init_max_error): Take argument testing_ibm128 and set test_ibm128
21664 instead of using [TEST_COND_ibm128] conditional.
21665 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
21666 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
21667 [TEST_NARROW] (TEST_MSG): New definition.
21668 (arg_plus_zero): New macro.
21669 (arg_minus_zero): Likewise.
21670 (arg_plus_infty): Likewise.
21671 (arg_minus_infty): Likewise.
21672 (arg_qnan_value_pl): Likewise.
21673 (arg_qnan_value): Likewise.
21674 (arg_snan_value_pl): Likewise.
21675 (arg_snan_value): Likewise.
21676 (arg_max_value): Likewise.
21677 (arg_min_value): Likewise.
21678 (arg_min_subnorm_value): Likewise.
21679 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
21680 (RUN_TEST_LOOP_aa_f): New macro.
21681 (TEST_SUFF): New macro.
21682 (TEST_SUFF_STR): Likewise.
21683 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
21684 (TEST_COND_any_ibm128): New macro.
21685 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
21686 this_func. Update call to init_max_error.
21687 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
21688 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
21689 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
21690 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
21691 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
21692 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
21693 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
21694 * math/test-math-scalar.h (TEST_NARROW): Likewise.
21695 * math/test-math-vector.h (TEST_NARROW): Likewise.
21696 * math/test-arg-double.h: New file.
21697 * math/test-arg-float128.h: Likewise.
21698 * math/test-arg-float32x.h: Likewise.
21699 * math/test-arg-float64.h: Likewise.
21700 * math/test-arg-float64x.h: Likewise.
21701 * math/test-arg-ldouble.h: Likewise.
21702 * math/test-math-narrow.h: Likewise.
21703 * math/test-narrow-macros.c: Likewise.
21704 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
21705 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
21706 test-narrow-macros-ldbl-64.
21707 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
21708
21709 * math/bits/mathcalls-narrow.h: New file.
21710 * include/bits/mathcalls-narrow.h: Likewise.
21711 * math/math-narrow.h: Likewise.
21712 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
21713 (__MATHCALL_NARROW_ARGS_2): Likewise.
21714 (__MATHCALL_NARROW_ARGS_3): Likewise.
21715 (__MATHCALL_NARROW_NORMAL): Likewise.
21716 (__MATHCALL_NARROW_REDIR): Likewise.
21717 (__MATHCALL_NARROW): Likewise.
21718 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
21719 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
21720 defined.
21721 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21722 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
21723 (libm-narrow-fns): New variable.
21724 (libm-narrow-types-basic): Likewise.
21725 (libm-narrow-types-ldouble-yes): Likewise.
21726 (libm-narrow-types-float128-yes): Likewise.
21727 (libm-narrow-types-float128-alias-yes): Likewise.
21728 (libm-narrow-types): Likewise.
21729 (libm-routines): Add narrowing functions.
21730 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
21731 (libc_feholdexcept_setroundf128): New macro.
21732 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
21733 * sysdeps/ieee754/float128/float128_private.h: Include
21734 <math/math-narrow.h>.
21735 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
21736 Undefine and redefine.
21737 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
21738 (libm_alias_float_ldouble): Undefine and redefine.
21739 (libm_alias_double_ldouble): Likewise.
21740
21741 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
21742
21743 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
21744
21745 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
21746 FPCR/FPSR.
21747
21748 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
21749
21750 * manual/creature.texi: Convert references to gcc.info to gcc.
21751 * manual/stdio.texi: Likewise.
21752 * manual/string.texi: Likewise.
21753
21754 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21755
21756 [BZ #17979]
21757 * posix/bits/types.h (__int_least8_t): New typedef.
21758 (__uint_least8_t): Likewise.
21759 (__int_least16_t): Likewise.
21760 (__uint_least16_t): Likewise.
21761 (__int_least32_t): Likewise.
21762 (__uint_least32_t): Likewise.
21763 (__int_least64_t): Likewise.
21764 (__uint_least64_t): Likewise.
21765 * sysdeps/generic/stdint.h (int_least8_t): Define using
21766 __int_least8_t.
21767 (int_least16_t): Define using __int_least16_t.
21768 (int_least32_t): Define using __int_least32_t.
21769 (int_least64_t): Define using __int_least64_t.
21770 (uint_least8_t): Define using __uint_least8_t.
21771 (uint_least16_t): Define using __uint_least16_t.
21772 (uint_least32_t): Define using __uint_least32_t.
21773 (uint_least64_t): Define using __uint_least64_t.
21774 * wcsmbs/uchar.h: Include <bits/types.h>.
21775 (char16_t): Define using __uint_least16_t conditional only on
21776 [!__USE_ISOCXX11].
21777 (char32_t): Define using __uint_least32_t conditional only on
21778 [!__USE_ISOCXX11].
21779 * wcsmbs/test-char-types.c: New file.
21780 * wcsmbs/Makefile (tests): Add test-char-types.
21781
21782 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
21783 version to 4.0.1.
21784
21785 2018-02-07 Zack Weinberg <zackw@panix.com>
21786
21787 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
21788 Delete all contents except for definitions of _G_HAVE_MMAP and
21789 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
21790 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
21791 sysdeps/unix/sysv/linux/_G_config.h. Make same content
21792 change as above.
21793
21794 * libio/libio.h: Don't include bits/_G_config.h here.
21795 Include stddef.h with __need_wchar_t defined. Include
21796 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
21797 Define _IO_iconv_t here, directly.
21798 Don't define _IO_HAVE_ST_BLKSIZE.
21799 * libio/libioP.h: Include _G_config.h here. Move include of
21800 shlib-compat.h up with rest of includes. Simplify conditionals
21801 controlling definition of _IO_JUMPS_OFFSET.
21802
21803 * csu/init.c: Remove always-true #if around entire file.
21804 Don't include stdio.h. Set _IO_stdin_used to hardwired
21805 constant 0x20001, and update commentary.
21806 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
21807 Replace all uses of _G_va_list with __gnuc_va_list.
21808 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
21809 instead of #if _IO_HAVE_ST_BLKSIZE.
21810 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
21811 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
21812 not #ifdef.
21813
21814 * libio/bits/libio.h: Move back to libio/libio.h and adjust
21815 multiple-include guard to match.
21816 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
21817 into this file.
21818 Remove preprocessor conditionals that are always true and/or
21819 redundant to other preprocessor conditionals in the same nest.
21820 Include shlib-compat.h unconditionally.
21821 Error out if _LIBC is not defined, or if _ISOMAC is defined,
21822 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
21823 defined after including stdio.h.
21824 Use __BEGIN_DECLS/__END_DECLS.
21825
21826 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
21827 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
21828 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
21829
21830 2018-02-07 Zack Weinberg <zackw@panix.com>
21831
21832 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
21833 New single-type headers split from _G_config.h.
21834 * libio/bits/types/cookie_io_functions_t.h
21835 * libio/bits/types/struct_FILE.h
21836 New single-type headers split from libio.h.
21837
21838 * libio/Makefile: Install the above new headers. Don't install
21839 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
21840 bits/libio-ldbl.h.
21841 * libio/_G_config.h, libio/libio.h: Delete file.
21842
21843 * libio/bits/libio.h: Remove improper-inclusion guard.
21844 Include stdio.h and don't repeat anything that it does.
21845 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
21846 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
21847 __io_read_fn as cookie_read_function_t,
21848 __io_write_fn as cookie_write_function_t,
21849 __io_seek_fn as cookie_seek_function_t,
21850 __io_close_fn as cookie_close_function_t,
21851 and _IO_cookie_io_functions_t as cookie_io_functions_t.
21852 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
21853 here, in the "compatibility defines" section. Remove an #if 0
21854 block. Use the "body" macros from bits/types/struct_FILE.h to
21855 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
21856 and _IO_ferror_unlocked.
21857 Move prototypes of __uflow and __overflow...
21858
21859 * libio/stdio.h: ...here. Don't include bits/libio.h.
21860 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
21861 directly from stdarg.h. Include bits/types/__fpos_t.h,
21862 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
21863 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
21864 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
21865 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
21866 cookie_io_functions_t, not _IO_cookie_io_functions_t;
21867 __ssize_t, not _IO_ssize_t. Unconditionally define
21868 BUFSIZ as 8192 and EOF as (-1).
21869
21870 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
21871 macros from bits/types/struct_FILE.h instead of _IO_* macros
21872 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
21873 instead of _IO_ssize_t.
21874 * libio/bits/stdio2.h: Similarly.
21875
21876 * libio/iolibio.h: Add multiple-include guard.
21877 Include bits/libio.h after stdio.h.
21878 * libio/libioP.h: Add multiple-include guard.
21879 Include stdio.h and bits/libio.h before iolibio.h.
21880
21881 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
21882 * include/bits/types/cookie_io_functions_t.h
21883 * include/bits/types/struct_FILE.h: New wrappers.
21884
21885 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
21886 Get definitions of _G_fpos_t and _G_fpos64_t from
21887 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
21888 respectively. Remove improper-inclusion guards.
21889
21890 * conform/data/stdio.h-data: Update expectations of va_list.
21891 * scripts/check-installed-headers.sh: Remove special case for
21892 libio.h and _G_config.h.
21893
21894 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21895
21896 [BZ #15105]
21897 [BZ #19463]
21898 * include/sys/sysmacros.h [!_ISOMAC]
21899 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
21900 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
21901 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
21902 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
21903 libc_hidden_proto.
21904 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
21905 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
21906 Likewise.
21907 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
21908 Undefine and redefine to add use __gnu_dev_ prefix.
21909 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
21910 Likewise.
21911 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
21912 and define as hidden inline function.
21913 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
21914 Likewise.
21915 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
21916 Likewise.
21917 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
21918 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
21919 (gnu_dev_minor): Likewise.
21920 (gnu_dev_makedev): Likewise.
21921 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
21922 makedev.
21923 * posix/wordexp.c (exec_comm_child): Likewise.
21924 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
21925 instead of minor and __gnu_dev_major instead of major.
21926 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
21927 __gnu_dev_major instead of major.
21928 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
21929 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
21930 instead of gnu_dev_minor.
21931 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
21932 (SLAVE_P): Likewise.
21933 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
21934 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
21935 instead of major.
21936
21937 [BZ #21313]
21938 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
21939 in another place.
21940 * locale/weightwc.h (findidx): Likewise.
21941
21942 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
21943
21944 * manual/probes.texi (slowlog): Delete documentation of removed probe.
21945 (slowlog_inexact): Likewise
21946 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
21947 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
21948
21949 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
21950
21951 [BZ #22797]
21952 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
21953 missing second underscore to parameter name.
21954
21955 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21956
21957 [BZ #14508]
21958 [BZ #15512]
21959 [BZ #17082]
21960 [BZ #20530]
21961 * bits/byteswap.h: Update file comment. Do not include
21962 <bits/byteswap-16.h>.
21963 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
21964 constant.
21965 (__bswap_16): Define as inline function.
21966 (__bswap_constant_32): Reformat definition.
21967 (__bswap_32): Always define as inline function, not macro, using
21968 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
21969 otherwise __bswap_constant_32.
21970 (__bswap_constant_64): Reformat definition. Do not use
21971 __extension__ here.
21972 (__bswap_64): Always define as inline function, not macro. Use
21973 __extension__ on function definition. Use __builtin_bswap64 if
21974 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
21975 * string/test-endian-file-scope.c: New file.
21976 * string/test-endian-sign-conversion.c: Likewise.
21977 * string/Makefile (headers): Remove bits/byteswap-16.h.
21978 (tests): Add test-endian-file-scope and
21979 test-endian-sign-conversion.
21980 (CFLAGS-test-endian-sign-conversion.c): New variable.
21981 * bits/byteswap-16.h: Remove file.
21982 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
21983 * sysdeps/ia64/bits/byteswap.h: Likewise.
21984 * sysdeps/m68k/bits/byteswap.h: Likewise.
21985 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21986 * sysdeps/s390/bits/byteswap.h: Likewise.
21987 * sysdeps/tile/bits/byteswap.h: Likewise.
21988 * sysdeps/x86/bits/byteswap-16.h: Likewise.
21989 * sysdeps/x86/bits/byteswap.h: Likewise.
21990
21991 [BZ #17721]
21992 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
21993 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
21994 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
21995 199901L] (__restrict): Define to restrict.
21996
21997 [BZ #19667]
21998 * string/testcopy.c: Include <support/support.h>. Do not include
21999 <malloc.h>. Use <support/test-driver.c>.
22000 (main): Rename to do_test. Make static. Use xmalloc instead of
22001 malloc.
22002
22003 [BZ #13575]
22004 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
22005 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
22006 (SSIZE_MAX): Define to INT_MAX.
22007 * posix/test-ssize-max.c: New file.
22008 * posix/Makefile (tests): Add test-ssize-max.
22009
22010 [BZ #19668]
22011 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
22012 <support/support.h>. Do not include <malloc.h>.
22013 (query_auxv): Use xmalloc instead of malloc.
22014
22015 [BZ #14553]
22016 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
22017 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
22018 instead of loff_t.
22019
22020 2018-02-06 Florian Weimer <fweimer@redhat.com>
22021
22022 [BZ #18023]
22023 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22024 Use scratch_buffer instead of extend_alloca.
22025
22026 2018-02-06 Zack Weinberg <zackw@panix.com>
22027
22028 * libio/stdio.h: Don't define getc or putc as macros.
22029 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
22030 not _IO_getc and _IO_putc.
22031
22032 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
22033 * stdio-common/tstgetln.c: Don't redefine ssize_t.
22034
22035 2018-02-06 Joseph Myers <joseph@codesourcery.com>
22036
22037 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
22038 (TCP_FASTOPEN_NO_COOKIE): Likewise.
22039
22040 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
22041
22042 [BZ #14890]
22043 * elf/elf.h (NT_PRFPREG): New macro.
22044 (NT_S390_VXRS_LOW): Likewise.
22045 (NT_S390_VXRS_HIGH): Likewise.
22046 (NT_S390_GS_CB): Likewise.
22047 (NT_S390_GS_BC): Likewise.
22048 (NT_S390_RI_CB): Likewise.
22049
22050 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
22051 (MAP_SYNC): New macro.
22052 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
22053 Likewise.
22054 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
22055 (MAP_SYNC): Likewise.
22056 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
22057 (MAP_SYNC): Likewise.
22058 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
22059 (MAP_SYNC): Likewise.
22060 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
22061 (MAP_SYNC): Likewise.
22062 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
22063 (MAP_SYNC): Likewise.
22064 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
22065 (MAP_SYNC): Likewise.
22066 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
22067 Likewise.
22068 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
22069 Likewise.
22070
22071 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
22072 (MAP_SHARED_VALIDATE): New macro.
22073 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22074 (MAP_SHARED_VALIDATE): Likewise.
22075
22076 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22077
22078 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
22079 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
22080 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22081
22082 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22083
22084 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
22085 (DT_NUM): Updated to 35.
22086
22087 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22088
22089 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
22090 __builtin_expect with __glibc_likely and __glibc_unlikely.
22091 (elf_machine_rela): Likewise.
22092 (elf_machine_lazy_rel): Likewise.
22093
22094 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22095
22096 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
22097 __builtin_expect with __glibc_likely and __glibc_unlikely.
22098 (elf_machine_lazy_rel): Likewise.
22099
22100 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
22101
22102 [BZ #22638]
22103 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
22104 SHARED.
22105 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
22106
22107 2018-02-05 Andreas Schwab <schwab@suse.de>
22108
22109 [BZ #22761]
22110 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
22111 string.
22112
22113 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22114
22115 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
22116 not check against PTHREAD_STACK_MIN.
22117
22118 2018-02-02 Sean McKean <smckean83@gmail.com>
22119
22120 [BZ #22735]
22121 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
22122
22123 2018-02-02 Florian Weimer <fweimer@redhat.com>
22124
22125 [BZ #22753]
22126 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
22127 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
22128 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
22129 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
22130 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
22131 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
22132 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
22133 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
22134 * manual/llio.texi (Scatter-Gather): Mention offset -1.
22135 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
22136 * misc/tst-preadvwritev2.c (do_test): Call it.
22137 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
22138
22139 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
22140
22141 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
22142
22143 * benchtests/bench-memcmp.c: Print json instead of plain text.
22144
22145 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
22146 every test run.
22147
22148 2018-02-01 Joseph Myers <joseph@codesourcery.com>
22149
22150 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22151 version to 4.15.
22152 (s390_sthyi): New syscall.
22153
22154 * sysdeps/generic/ldbl-classify-compat.h: New file.
22155 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
22156 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
22157 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
22158 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
22159 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
22160 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
22161 * sysdeps/ieee754/dbl-64/s_finite.c: Include
22162 <ldbl-classify-compat.h>.
22163 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22164 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
22165 <ldbl-classify-compat.h>.
22166 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22167 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
22168 <ldbl-classify-compat.h>.
22169 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22170 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
22171 <ldbl-classify-compat.h>.
22172 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22173 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
22174 <ldbl-classify-compat.h>.
22175 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22176 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
22177 <ldbl-classify-compat.h>.
22178 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
22179 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
22180 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22181 * sysdeps/m68k/coldfire/math_private.h: Remove file.
22182 * sysdeps/microblaze/math_private.h: Likewise.
22183 * sysdeps/nios2/math_private.h: Likewise.
22184 * sysdeps/sh/math_private.h: Likewise.
22185
22186 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
22187 * sysdeps/m68k/coldfire/math_private.h: ... here.
22188 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
22189 * sysdeps/tile/math_private.h: Likewise.
22190 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
22191 Remove macro.
22192 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
22193 Likewise.
22194
22195 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
22196 Remove macro.
22197 (libc_fetestexcept): Likewise.
22198 (libc_feupdateenv_test): Likewise.
22199 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
22200 (libc_fetestexcept): Likewise.
22201 (libc_feupdateenv_test): Likewise.
22202 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
22203 (libc_fetestexcept): Likewise.
22204 (libc_feupdateenv_test): Likewise.
22205 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
22206 (libc_fetestexcept): Likewise.
22207 (libc_feupdateenv_test): Likewise.
22208
22209 * sysdeps/generic/math_private.h
22210 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
22211 New inline function.
22212 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
22213 Likewise.
22214
22215 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
22216 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
22217 * sysdeps/generic/math_private.h
22218 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
22219 inline function.
22220 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
22221 Likewise.
22222 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
22223 Likewise.
22224 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
22225 Likewise.
22226 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
22227 Likewise.
22228 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
22229 Likewise.
22230 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
22231 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
22232 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
22233 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
22234 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
22235 (__fegetenv): Likewise.
22236 (fesetenv): Likewise.
22237 (__fesetenv): Likewise.
22238 (feupdateenv): Likewise.
22239 (__feupdateenv): Likewise.
22240 (fegetround): Likewise.
22241 (__fegetround): Likewise.
22242 (fesetround): Likewise.
22243 (__fesetround): Likewise.
22244
22245 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
22246 (feraiseexcept): New macro.
22247 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
22248 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
22249 Remove macro.
22250 (__feraiseexcept): Likewise.
22251 (feclearexcept): Likewise.
22252 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
22253 (__feraiseexcept): Likewise.
22254 (feclearexcept): Likewise.
22255 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
22256 (__feraiseexcept): Likewise.
22257 (feclearexcept): Likewise.
22258 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
22259 (__feraiseexcept): Likewise.
22260 (feclearexcept): Likewise.
22261 (fetestexcept): Likewise.
22262
22263 * sysdeps/m68k/coldfire/math-tests.h: New file.
22264
22265 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
22266 * sysdeps/m68k/bits/fenv.h: ... here.
22267 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
22268 not define.
22269 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
22270 Likewise.
22271 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
22272 Likewise.
22273 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
22274 Likewise.
22275 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
22276 Likewise.
22277 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
22278 Define to 0.
22279 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
22280 (__FE_UNDEFINED): New enum constant.
22281 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
22282 Do not define.
22283 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
22284 Likewise.
22285 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
22286 Likewise.
22287 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
22288 to match generic bits/fenv.h.
22289 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
22290 Do not define.
22291
22292 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
22293 packed on bits.
22294 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
22295 * soft-fp/half.h (union _FP_UNION_H): Likewise.
22296 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
22297 * soft-fp/single.h (union _FP_UNION_S): Likewise.
22298
22299 2018-02-01 Carlos O'Donell <carlos@redhat.com>
22300 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
22301 Joseph Myers <joseph@codesourcery.com>
22302
22303 [BZ #21314]
22304 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
22305 (__log1p): Disable -Wmaybe-uninitialized for -Os around
22306 computation using c.
22307 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
22308 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
22309 computation using c.
22310
22311 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22312
22313 * version.h (RELEASE): Set to "development".
22314 (VERSION): Set to "2.27.9000".
22315 * NEWS (2.28): New section.
22316
22317 * version.h (RELEASE): Set to "stable".
22318 (VERSION): Set to "2.27".
22319 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
22320
22321 * NEWS: Add the list of bugs fixed in 2.27.
22322
22323 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22324
22325 * stdlib/test-atexit-race-common.c (do_test): Check stack size
22326 against PTHREAD_STACK_MIN.
22327
22328 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22329
22330 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
22331 New entries.
22332 (Rafał Lużyński, Andreas Schwab): Update.
22333
22334 2018-02-01 Rafał Lużyński <digitalfreak@lingonborough.com>
22335
22336 [BZ #10871]
22337 * NEWS: List the languages which actually use the alternative
22338 months feature in this release. Also explain that "alt_mon" and
22339 "ab_alt_mon" are optional.
22340
22341 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
22342
22343 [BZ #22765]
22344 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
22345
22346 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
22347
22348 * manual/install.texi (Tools for Compilation): Update the newest
22349 versions of gcc, binutils, texinfo, gawk, bison, and sed.
22350 * INSTALL: Regenerated.
22351
22352 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22353
22354 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
22355 instead of __builtin_expect.
22356
22357 2018-01-30 Florian Weimer <fweimer@redhat.com>
22358
22359 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
22360 data.
22361 * nss/tst-nss-getpwent.c (do_test): Likewise.
22362
22363 2018-01-30 Rafał Lużyński <digitalfreak@lingonborough.com>
22364
22365 [BZ #10871]
22366 * localedata/locales/hr_HR (mon): Rename to...
22367 (alt_mon): This.
22368 (mon): Import from CLDR (genitive case).
22369 (d_t_fmt): Update the comment.
22370
22371 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
22372
22373 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
22374 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
22375 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
22376
22377 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22378
22379 * mach/Versions: Fix version when __mach_host_self_ was added.
22380 * hurd/Versions: Fix version when _hurd_exec_paths was added.
22381 * sysdeps/mach/hurd/i386/ld.abilist: New file.
22382 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
22383 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
22384 * sysdeps/mach/hurd/i386/libc.abilist: New file.
22385 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
22386 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
22387 * sysdeps/mach/hurd/i386/libm.abilist: New file.
22388 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
22389 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
22390 * sysdeps/mach/hurd/i386/librt.abilist: New file.
22391 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
22392 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
22393 || to respect codestyle.
22394 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
22395 (do_test_bz20181): Rename accordingly.
22396 * malloc/malloc.c: Include <assert.h>.
22397 (assert): Do not define.
22398 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
22399 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
22400 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
22401 * sysdeps/mach/hurd/hp-timing.h: New file.
22402 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
22403
22404 2018-01-29 Darius Rad <darius@bluespec.com>
22405
22406 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
22407
22408 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
22409
22410 * sysdeps/init_array/crti.S (.section .init_array): Add
22411 PREINIT_FUNCTION when defined.
22412 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
22413 * config.h.in: Regenerate.
22414 * manual/platform.texi: Add RISC-V documenation for
22415 __riscv_flush_icache.
22416 * sysdeps/riscv/__longjmp.S: New file.
22417 * sysdeps/riscv/backtrace.c: Likewise.
22418 * sysdeps/riscv/bits/endian.h: Likewise.
22419 * sysdeps/riscv/bits/setjmp.h: Likewise.
22420 * sysdeps/riscv/bits/wordsize.h: Likewise.
22421 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
22422 * sysdeps/riscv/bsd-setjmp.c: Likewise.
22423 * sysdeps/riscv/dl-trampoline.S: Likewise.
22424 * sysdeps/riscv/gccframe.h: Likewise.
22425 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
22426 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
22427 * sysdeps/riscv/machine-gmon.h: Likewise.
22428 * sysdeps/riscv/memusage.h: Likewise.
22429 * sysdeps/riscv/setjmp.S: Likewise.
22430 * sysdeps/riscv/sys/asm.h: Likewise.
22431 * sysdeps/riscv/tls-macros.h: Likewise.
22432 * sysdeps/riscv/dl-tls.h: New file.
22433 * sysdeps/riscv/libc-tls.c: Likewise.
22434 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
22435 * sysdeps/riscv/nptl/tls.h: Likewise.
22436 * sysdeps/riscv/stackinfo.h: Likewise.
22437 * sysdeps/riscv/bits/fenv.h: New file.
22438 * sysdeps/riscv/e_sqrtl.c: Likewise.
22439 * sysdeps/riscv/fpu_control.h: Likewise.
22440 * sysdeps/riscv/math-tests.h: Likewise.
22441 * sysdeps/riscv/nofpu/Implies: Likewise.
22442 * sysdeps/riscv/sfp-machine.h: Likewise.
22443 * sysdeps/riscv/tininess.h: Likewise.
22444 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
22445 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
22446 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
22447 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
22448 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
22449 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
22450 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
22451 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
22452 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
22453 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
22454 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
22455 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
22456 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
22457 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
22458 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
22459 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
22460 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
22461 * sysdeps/riscv/rvd/s_finite.c: Likewise.
22462 * sysdeps/riscv/rvd/s_fma.c: Likewise.
22463 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
22464 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
22465 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
22466 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
22467 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
22468 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
22469 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
22470 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
22471 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
22472 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
22473 * sysdeps/riscv/rvf/fegetround.c: Likewise.
22474 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
22475 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
22476 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
22477 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
22478 * sysdeps/riscv/rvf/fesetround.c: Likewise.
22479 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
22480 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
22481 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
22482 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
22483 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
22484 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
22485 * sysdeps/riscv/rvf/math_private.h: Likewise.
22486 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
22487 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
22488 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
22489 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
22490 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
22491 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
22492 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
22493 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
22494 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
22495 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
22496 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
22497 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
22498 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
22499 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
22500 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
22501 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
22502 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
22503 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
22504 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
22505 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
22506 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
22507 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
22508 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
22509 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
22510 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
22511 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
22512 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
22513 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
22514 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
22515 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
22516 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
22517 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
22518 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
22519 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
22520 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
22521 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
22522 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
22523 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
22524 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
22525 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
22526 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
22527 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
22528 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
22529 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
22530 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
22531 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
22532 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
22533 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
22534 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
22535 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
22536 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
22537 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
22538 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
22539 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
22540 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
22541 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
22542 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
22543 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
22544 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
22545 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
22546 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
22547 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
22548 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
22549 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
22550 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
22551 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
22552 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
22553 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
22554 * sysdeps/riscv/Implies: New file.
22555 * sysdeps/riscv/Makefile: Likewise.
22556 * sysdeps/riscv/configure: Likewise.
22557 * sysdeps/riscv/configure.ac: Likewise.
22558 * sysdeps/riscv/nptl/Makefile: Likewise.
22559 * sysdeps/riscv/preconfigure: Likewise.
22560 * sysdeps/riscv/rv64/Implies-after: Likewise.
22561 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
22562 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
22563 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
22564 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
22565 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
22566 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
22567 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
22568 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
22569 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
22570 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
22571 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
22572 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
22573 (Config): Likewise.
22574
22575 2018-01-29 Florian Weimer <fweimer@redhat.com>
22576
22577 [BZ #22701]
22578 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
22579 libnsl_hidden_proto.
22580 * include/rpcsvc/yp.h (yp_xdrall): Declare with
22581 libnsl_hidden_proto.
22582 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
22583 * nis/Makefile (libnsl-routines): Add nss-default only for
22584 build-obsolete-nsl.
22585 * nis/nis_defaults.c (__nis_default_ttl): Add
22586 libnsl_hidden_nolink_def.
22587 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
22588 declaration.
22589 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
22590 * nis/ypclnt.c (yp_maplist): Likewise.
22591
22592 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
22593
22594 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22595 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
22596
22597 2018-01-29 Joseph Myers <joseph@codesourcery.com>
22598
22599 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
22600 clean -dxfq for git updates when replacing sources.
22601
22602 * scripts/build-many-glibcs.py (Config.build_gcc): Use
22603 --disable-libcilkrts unconditionally, not just for the final GCC
22604 build for Hurd.
22605
22606 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22607 version to 4.15.
22608
22609 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22610
22611 [BZ #10871]
22612 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
22613 case).
22614
22615 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22616
22617 [BZ #10871]
22618 * localedata/locales/be_BY (mon): Rename to...
22619 (alt_mon): This, then synchronize with CLDR (nominative case).
22620 (abmon): Rename to...
22621 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
22622 (mon): Import from CLDR (genitive case).
22623 (abmon): Likewise.
22624 * localedata/locales/be_BY@latin (mon): Rename to...
22625 (alt_mon): This.
22626 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
22627
22628 * localedata/locales/be_BY@latin (lang_name): Reworded to
22629 "biełaruskaja mova".
22630
22631 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22632
22633 [BZ #10871]
22634 * localedata/locales/el_CY (mon): Renamed to...
22635 (alt_mon): This.
22636 (mon): Import from CLDR (genitive case).
22637 * localedata/locales/el_GR: Likewise.
22638
22639 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22640
22641 [BZ #10871]
22642 * localedata/locales/ru_RU (mon): Rename to...
22643 (alt_mon): This.
22644 (abmon): Rename to...
22645 (ab_alt_mon): This.
22646 (mon): Import from CLDR (genitive case).
22647 (abmon): Copy from the old content except the 5th month which is
22648 now in the genitive case, even when abbreviated.
22649 * localedata/locales/ru_UA: Likewise.
22650 * time/tst-strptime.c (day_tests): Add an actual example of
22651 a difference between %b and %Ob in Russian.
22652
22653 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22654
22655 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
22656 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
22657 a `c' variable.
22658 * resolv/res-close.c: Include <stdlib.h>.
22659 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
22660 <sys/wait.h>, <time.h>, <sys/uio.h>.
22661 (NOT_CANCEL_H): Add inclusion guard.
22662 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
22663 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
22664 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
22665 return 0.
22666 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
22667 vm_address_t * to ElfW(Addr) * for dl_main parameter.
22668 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
22669 instead of void *.
22670 * sysdeps/pthread/timer_create.c (timer_create): Do not use
22671 timer_ptr2id to cast struct timer_node * to void *.
22672 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
22673 --disable-libcilkrts to gcc configure.
22674 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
22675 and make them the default for now.
22676 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
22677 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
22678 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
22679 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
22680 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
22681 MACH_IPC_COMPAT.
22682 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
22683 __task_terminate would ever return successfully.
22684 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
22685 to global scope.
22686 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
22687 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
22688 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
22689 critical section to make code simpler and avoid warning.
22690 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
22691 critical section to make code simpler and avoid warning.
22692 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
22693 const char * instead of char *.
22694 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
22695 __hurd_file_name_split, hurd_file_name_split,
22696 __hurd_directory_name_split, hurd_directory_name_split,
22697 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
22698 hurd_file_name_path_lookup): Make lookup function parameter take a
22699 const char *name instead of char *name.
22700 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
22701 __hurd_directory_name_split): Likewise.
22702 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
22703 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
22704 * sysdeps/mach/hurd/check_native.c: New file.
22705 * sysdeps/mach/hurd/check_pf.c: New file.
22706 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
22707 (__freeifaddrs): Define macro to freeifaddrs.
22708 * sysdeps/mach/hurd/libhurduser.abilist: New file.
22709 * sysdeps/mach/libmachuser.abilist: New file.
22710 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
22711 (do_test_bz20181): Rename accordingly.
22712 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
22713 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
22714 <sys/mount.h>.
22715 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
22716 version only if __USE_EXTERN_INLINES is defined.
22717 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
22718 __hurd_sockfail): Likewise.
22719 (_hurd_fd_get): Always declare functions, and provide inline versions
22720 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
22721 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
22722 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
22723 _hurd_port_set): Always declare functions, and provide inline versions
22724 only if __USE_EXTERN_INLINES and _LIBC are defined and
22725 IS_IN(libc).
22726 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
22727 _hurd_critical_section_unlock): Likewise.
22728 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
22729 * __hurd_threadvar_location): Likewise.
22730 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
22731 _hurd_userlink_clear): Likewise.
22732 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
22733 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
22734 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
22735 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
22736 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
22737 __spin_lock_locked): Likewise.
22738 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
22739 __spin_lock_locked): Likewise.
22740 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
22741 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
22742 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
22743 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
22744 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
22745 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
22746 _POSIX_NO_TRUNC): Define to 0.
22747 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
22748 check size against PTHREAD_STACK_MIN.
22749 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
22750 IS_IN(libpthread)]: Include <sigsetops.h>.
22751 * mach/Makefile (user-interfaces): Add mach/gnumach.
22752 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
22753 * sysdeps/mach/configure (mach_interface_list): Regenerate.
22754 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
22755 instead of invalid -1.
22756 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
22757 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
22758 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
22759 <net/ppp_defs.h>.
22760
22761 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
22762
22763 * hurd/fcntl-internal.h: New file.
22764
22765 2018-01-27 James Clarke <jrtc27@jrtc27.com>
22766
22767 * sysdeps/hppa/fpu/libm-test-ulps: Update.
22768
22769 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22770
22771 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
22772
22773 [BZ #22701]
22774 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
22775 Build only shared objects.
22776
22777 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22778
22779 * README: Update for hppa.
22780
22781 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22782
22783 * sysdeps/sparc/fpu/libm-test-ulps: Update
22784 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
22785
22786 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22787
22788 Revert:
22789
22790 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22791
22792 [BZ #22563]
22793 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22794 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22795 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22796 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22797 to feature_1.
22798
22799 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22800
22801 [BZ #22563]
22802 * bits/types/__cancel_jmp_buf_tag.h: New file.
22803 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22804 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22805 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22806 * nptl/Makefile (headers): Add
22807 bits/types/__cancel_jmp_buf_tag.h.
22808 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22809 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22810 * sysdeps/nptl/pthread.h: Include
22811 <bits/types/__cancel_jmp_buf_tag.h>.
22812 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22813 __cancel_jmp_buf.
22814 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22815
22816 2018-01-25 Rafał Lużyński <digitalfreak@lingonborough.com>
22817
22818 [BZ #10871]
22819 * localedata/locales/uk_UA (mon): Renamed to...
22820 (alt_mon): This.
22821 (alt_digits): "0" removed and then renamed to...
22822 (mon): This.
22823 (date_fmt): Definition changed not to use the alternative
22824 digits hack.
22825
22826 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
22827
22828 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
22829 FLAG_RISCV_FLOAT_ABI_DOUBLE.
22830 * elf/elf.h (EF_RISCV_RVC): New define.
22831 (EF_RISCV_FLOAT_ABI): Likewise.
22832 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
22833 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
22834 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22835 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
22836 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
22837 define.
22838 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22839
22840 2018-01-25 Andreas Schwab <schwab@suse.de>
22841
22842 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
22843 single quotes.
22844 * sysdeps/gnu/configure: Regenerate.
22845 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22846 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22848 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22849 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22850 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
22851 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22852 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22853
22854 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
22855
22856 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
22857 URL, and run autoconf, make it the default for now.
22858
22859 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22860
22861 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22862 soft-float ColdFire configuration.
22863
22864 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
22865 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
22866 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
22867
22868 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
22869 MicroBlaze file.
22870
22871 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
22872 ....
22873 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
22874 ... here.
22875 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
22876 New file.
22877
22878 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
22879 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
22880 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
22881 file.
22882
22883 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22884
22885 [BZ #22742]
22886 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
22887 Rename to __reserved and add comment.
22888 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
22889 Rename to __reserved.
22890
22891 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22892
22893 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22894 i686-gnu configurations.
22895 (Context.run_builds): Include mig, gnumach and hurd in components
22896 considered.
22897 (Context.checkout): Add mig, gnumach and hurd to components.
22898 (Context.checkout_tar): Add URL mappings for mig, gnumach and
22899 hurd.
22900 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
22901 (Config.build): Install gnumach headers, build mig and install
22902 hurd headers for 'gnu' OS.
22903 (Config.install_gnumach_headers): New function.
22904 (Config.install_hurd_headers): Likewise.
22905 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
22906 when building for 'gnu' OS.
22907
22908 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
22909
22910 * manual/tunables.texi (Hardware Capability Tunables): Fix
22911 spelling.
22912
22913 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
22914
22915 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
22916 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
22917 (ALTMON_11, ALTMON_12): Improve documentation.
22918 * manual/time.texi (strftime): Likewise.
22919
22920 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22921
22922 [BZ #10871]
22923 * localedata/locales/pl_PL: Alternative month names added,
22924 primary month names are genitive now.
22925 * time/tst-strptime.c (day_tests): Actually use a genitive case
22926 of a month name in Polish language.
22927
22928 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22929
22930 [BZ #10871]
22931 * manual/locale.texi: Document ALTMON_1..12 constants for
22932 nl_langinfo. Specify when to use ALTMON instead of MON.
22933 * manual/time.texi (strftime, strptime): Document GNU extension
22934 permitting O modifier with %B and %b. Specify when to use
22935 %OB instead of %B.
22936
22937 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22938
22939 [BZ #10871]
22940 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
22941 names, define them as the same as abbreviated month names explicitly.
22942 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
22943 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
22944 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
22945 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
22946 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
22947 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
22948 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
22949 _NL_WABALTMON_12): New enum constants.
22950 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
22951 wab_alt_mon, and ab_alt_mon_defined members.
22952 (time_output): Output ab_alt_mon and wab_alt_mon members.
22953 (time_read): Read them, initialize them as copies of abmon and wabmon
22954 respectively if they are missing, initialize ab_alt_mon_defined.
22955 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
22956 * locale/programs/locfile-kw.h: Regenerate.
22957 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
22958 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
22959 and ru_RU.UTF-8.
22960 * time/strftime_l.c (a_altmonth, aam_len): New macros.
22961 [!COMPILE_WIDE] (ABALTMON_1): New macro.
22962 (__strftime_internal): Handle %Ob and %Oh formats.
22963 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
22964 (__strptime_internal): Handle %Ob and %Oh formats.
22965 * time/tst-strptime.c (day_tests): Add more tests to parse different
22966 forms of month names including the new %Ob format specifier.
22967
22968 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22969
22970 [BZ #10871]
22971 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
22972 define them as the same as primary full month names explicitly.
22973 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
22974 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
22975 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
22976 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
22977 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
22978 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
22979 _NL_WALTMON_12): New enum constants.
22980 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
22981 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
22982 macros.
22983 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
22984 walt_mon, and alt_mon_defined members.
22985 (time_output): Output alt_mon and walt_mon members.
22986 (time_read): Read them, initialize them as copies of mon and wmon
22987 respectively if they are missing, initialize alt_mon_defined.
22988 * locale/programs/locfile-kw.gperf (alt_mon): Define.
22989 * locale/programs/locfile-kw.h: Regenerate.
22990 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
22991 * localedata/tst-langinfo.c (map): Add tests for the new constants
22992 ALTMON_1 .. ALTMON_12.
22993 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
22994 and pl_PL.UTF-8.
22995 * time/strftime_l.c (f_altmonth): New macro.
22996 (__strftime_internal): Handle %OB format.
22997 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
22998 (__strptime_internal): Handle %OB format.
22999 * time/tst-strptime.c (day_tests): Add tests to parse different forms
23000 of month names including the new %OB format specifier.
23001
23002 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23003
23004 [BZ #22685]
23005 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
23006 from ABORT_TRANSACTION.
23007 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
23008 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
23009 ABORT_TRANSACTION_IMPL): Likewise.
23010 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
23011 Linux code, but remove the code that aborts transactions.
23012
23013 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
23014
23015 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
23016
23017 2018-01-19 Rafał Lużyński <digitalfreak@lingonborough.com>
23018
23019 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
23020 in date: "2004-14-09" should be "2004-09-14".
23021 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
23022 "2003-15-09" should be "2003-09-15".
23023
23024 2018-01-18 Arjun Shankar <arjun@redhat.com>
23025
23026 [BZ #22343]
23027 [BZ #22774]
23028 CVE-2018-6485
23029 CVE-2018-6551
23030 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
23031 after padding.
23032 (_int_memalign): check for integer overflow before calling
23033 _int_malloc.
23034 * malloc/tst-malloc-too-large.c: New test.
23035 * malloc/Makefile: Add tst-malloc-too-large.
23036
23037 2018-01-18 Rafał Lużyński <digitalfreak@lingonborough.com>
23038
23039 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
23040 in date: "2017-24-07" should be "2017-07-24".
23041 * localedata/locales/mai_IN: Likewise.
23042 * localedata/locales/mai_NP: Likewise.
23043
23044 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
23045
23046 * po/ru.po: Update translations.
23047
23048 2018-01-17 Joseph Myers <joseph@codesourcery.com>
23049
23050 [BZ #22719]
23051 * sysdeps/hppa/backtrace.c: New file.
23052
23053 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
23054
23055 [BZ #22715]
23056 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
23057 align La_x86_64_retval to VEC_SIZE.
23058
23059 2018-01-16 Joseph Myers <joseph@codesourcery.com>
23060
23061 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
23062 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
23063
23064 2018-01-16 Florian Weimer <fweimer@redhat.com>
23065
23066 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
23067 Move tst-thread-exit-clobber ...
23068 [$(CXX)] (tests-unsupported): ... to here.
23069
23070 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23071
23072 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
23073 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
23074 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23075 (_dl_aarch64_cap_flags): Update.
23076 (_DL_HWCAP_COUNT): Update.
23077
23078 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
23079
23080 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
23081 (_DL_HWCAP_LAST): Remove.
23082 (_DL_HWCAP_COUNT): Move to ...
23083 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
23084 (_DL_HWCAP_COUNT): ... here.
23085
23086 2018-01-16 Florian Weimer <fweimer@redhat.com>
23087
23088 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
23089 mode with GNU extensions.
23090
23091 2018-01-15 Alan Hayward <alan.hayward@arm.com>
23092
23093 * elf/elf.h (NT_ARM_SVE): Define.
23094
23095 2018-01-15 Florian Weimer <fweimer@redhat.com>
23096
23097 [BZ #22636]
23098 * nptl/tst-minstack-throw.cc: New file.
23099 * nptl/Makefile (tests): Add tst-minstack-throw.
23100 (LDLIBS-tst-minstack-throw): Link with libstdc++.
23101 [!CXX] (tests-unsupported): Add tst-minstack-throw.
23102
23103 2018-01-15 Joseph Myers <joseph@codesourcery.com>
23104
23105 * scripts/build-many-glibcs.py (Context.checkout): Default
23106 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
23107 version to 1.1.0.
23108
23109 2018-01-13 Carlos O'Donell <carlos@redhat.com>
23110
23111 [BZ #22707]
23112 * elf/elf.h (DF_1_STUB): Define.
23113 (DF_1_PIE): Define.
23114
23115 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23116
23117 [BZ #22697]
23118 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
23119 Do not add 0.5 to integer or out-of-range arguments.
23120
23121 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23122
23123 * po/bg.po: Update translations.
23124 * po/cs.po: Likewise.
23125 * po/de.po: Likewise.
23126 * po/ko.po: Likewise.
23127 * po/pl.po: Likewise.
23128 * po/sv.po: Likewise.
23129 * po/uk.po: Likewise.
23130 * po/vi.po: Likewise.
23131
23132 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23133
23134 * aarch64/start.S (_start): Use __wrap_main.
23135 (__wrap_main): New local symbol.
23136
23137 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
23138
23139 [BZ #22679]
23140 CVE-2018-1000001
23141 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
23142 generic_getcwd if the path returned by getcwd syscall is not absolute.
23143 * io/tst-getcwd-abspath.c: New test.
23144 * io/Makefile (tests): Add tst-getcwd-abspath.
23145
23146 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
23147
23148 * malloc/malloc.c (malloc_consolidate): Add size check.
23149
23150 2018-01-12 Florian Weimer <fweimer@redhat.com>
23151
23152 * support/write_message.c (write_message): Preserve errno.
23153 * support/check.c (print_failure): Likewise.
23154 * support/support_test_verify_impl.c (support_test_verify_impl):
23155 Likewise.
23156 * support/support_test_compare_failure.c
23157 (support_test_compare_failure): Likewise.
23158
23159 2018-01-12 Florian Weimer <fweimer@redhat.com>
23160
23161 [BZ #22701]
23162 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
23163 Prevent installation of libnsl.so.
23164 (libnsl-inhibit-o): Do not build (or install) static libraries.
23165
23166 2018-01-12 Egmont Koblinger <egmont@gmail.com>
23167
23168 [BZ #22657]
23169 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
23170 before the day number which may produce a double space.
23171 (date_fmt): Likewise.
23172
23173 2018-01-12 Joseph Myers <joseph@codesourcery.com>
23174
23175 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
23176 instead of fegetenv.
23177
23178 2018-01-11 Joseph Myers <joseph@codesourcery.com>
23179
23180 [BZ #22702]
23181 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
23182 comment to say exceptions are discarded.
23183 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
23184 __fegetenv.
23185 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
23186 be enabled.
23187
23188 2018-01-11 Florian Weimer <fweimer@redhat.com>
23189
23190 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
23191 and error message.
23192
23193 2018-01-11 Florian Weimer <fweimer@redhat.com>
23194
23195 [BZ #22636]
23196 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
23197 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
23198
23199 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23200
23201 [BZ #22693]
23202 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
23203 negative arguments in test for NaN or infinity argument.
23204
23205 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
23206
23207 * po/libc.pot: Regenerate.
23208
23209 2018-01-10 Florian Weimer <fweimer@redhat.com>
23210
23211 [BZ #22636]
23212 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
23213 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
23214
23215 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23216
23217 * hurd/hurd/fd.h: Include <fcntl.h>
23218 (__hurd_at_flags): New function.
23219 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
23220 with call to __hurd_at_flags.
23221 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
23222 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
23223 __faccessat
23224 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
23225 (__access_noerrno): Use __faccessat_common instead of access_common.
23226 (__access): Likewise.
23227 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
23228 with a call to __faccessat.
23229 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
23230 (__faccessat_common): ... this. Move implementation of __access into it when
23231 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
23232 reauthenticate_cwdir_at helper to implement AT mechanism.
23233 (__faccessat_noerrno): New function, just calls __faccessat_common.
23234 (__faccessat): New function, just calls __faccessat_common.
23235 (faccessat): Define weak alias.
23236
23237 2018-01-10 Joseph Myers <joseph@codesourcery.com>
23238
23239 [BZ #22691]
23240 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23241 (CFLAGS-s_fmaxmagl.c): New variable.
23242 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
23243
23244 [BZ #22690]
23245 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
23246 long int for arguments of possibly overflowing addition or
23247 subtraction.
23248 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23249
23250 2018-01-09 Joseph Myers <joseph@codesourcery.com>
23251
23252 [BZ #22688]
23253 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23254 (CFLAGS-e_remainderl.c): New variable.
23255
23256 [BZ #22687]
23257 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
23258 variable.
23259 (CFLAGS-s_cacoshl.c): Likewise.
23260 (CFLAGS-s_casinhl.c): Likewise.
23261 (CFLAGS-s_catanl.c): Likewise.
23262 (CFLAGS-s_catanhl.c): Likewise.
23263 (CFLAGS-s_cexpl.c): Likewise.
23264 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
23265 (CFLAGS-s_csinhl.c): Likewise.
23266 (CFLAGS-s_clogl.c): Likewise.
23267 (CFLAGS-s_clog10l.c): Likewise.
23268 (CFLAGS-s_csinl.c): Likewise.
23269 (CFLAGS-s_csqrtl.c): Likewise.
23270
23271 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
23272 2017-01-09 Svante Signell <svante.signell@gmail.com>
23273
23274 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
23275 (_hurd_exec_paths): New function.
23276 * hurd/hurd.h (_hurd_exec): Deprecate function.
23277 (_hurd_exec_paths): Declare function.
23278 * hurd/Versions: Export _hurd_exec_paths.
23279 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
23280 (__execve): Use __getcwd to build absolute path, and use
23281 _hurd_exec_paths instead of _hurd_exec.
23282 * sysdeps/mach/hurd/spawni.c: Likewise.
23283 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
23284 _hurd_exec.
23285
23286 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
23287
23288 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
23289 test instead of failing in case of ENOENT returned by posix_openpt.
23290
23291 2018-01-08 Florian Weimer <fweimer@redhat.com>
23292
23293 resolv: Support binary labels in test framework.
23294 * support/resolv_test.c (struct to_be_freed): Remove.
23295 (struct compressed_name): New.
23296 (allocate_compressed_name, ascii_tolower)
23297 (compare_compressed_name): New functions.
23298 (struct resolv_response_builder): Update type of
23299 compression_offsets for use with tsearch. Rempve to_be_freed.
23300 (response_push_pointer_to_free): Remove function.
23301 (resolv_response_add_name): Rewrite using struct compressed_name
23302 and tsearch instead of hsearch_r.
23303 (response_builder_allocate): Remove initialization of
23304 compression_offsets.
23305 (response_builder_free): Update for removal of to_be_freed. Use
23306 tdestroy instead of hdestroy_r.
23307 * resolv/Makefile (tests): Add tst-resolv-binary.
23308 (tst-resolv-binary): Link with -lresolv -lpthread.
23309
23310 2018-01-08 Florian Weimer <fweimer@redhat.com>
23311
23312 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
23313 time. Pass positive flag instead of negative flag to
23314 support_test_compare_failure.
23315 (support_test_compare_failure): Change negative parameter to
23316 positive.
23317 * support/support_test_compare_failure.c (report)
23318 (support_test_compare_failure): Likewise.
23319 * support/tst-test_compare.c (return_ssize_t, return_int): New.
23320 (do_test): Check int/size_t, ssize_t/size_t comparisons.
23321
23322 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
23323
23324 [BZ #22637]
23325 * nptl/descr.h (stackblock, stackblock_size): Update comments.
23326 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
23327 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
23328 stacksize.
23329 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23330
23331 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
23332
23333 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23334 Add s_sincosf-sse2 and s_sincosf-fma.
23335 (CFLAGS-s_sincosf-fma.c): New.
23336 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
23337 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
23338 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
23339 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
23340 __sincosf is defined.
23341
23342 2018-01-08 Florian Weimer <fweimer@redhat.com>
23343
23344 * nptl/tst-thread-exit-clobber.cc: New file.
23345 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
23346 C++11 mode.
23347 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
23348 (tests): Add tst-thread-exit-clobber.
23349 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
23350
23351 2018-01-08 Florian Weimer <fweimer@redhat.com>
23352
23353 * support/check.h (support_static_assert): Define.
23354 (TEST_COMPARE): Use it.
23355
23356 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
23357
23358 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
23359 [!__RLIM_T_MATCHES_RLIM64_T]
23360 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
23361 __getrlimit64. Add libc_hidden_weak.
23362
23363 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
23364
23365 * elf/elf.h (R_RISCV_NONE): New define.
23366 (R_RISCV_32): Likewise.
23367 (R_RISCV_64): Likewise.
23368 (R_RISCV_RELATIVE): Likewise.
23369 (R_RISCV_COPY): Likewise.
23370 (R_RISCV_JUMP_SLOT): Likewise.
23371 (R_RISCV_TLS_DTPMOD32): Likewise.
23372 (R_RISCV_TLS_DTPMOD64): Likewise.
23373 (R_RISCV_TLS_DTPREL32): Likewise.
23374 (R_RISCV_TLS_DTPREL64): Likewise.
23375 (R_RISCV_TLS_TPREL32): Likewise.
23376 (R_RISCV_TLS_TPREL64): Likewise.
23377 * Makerules (make-link-multidir): Make directories before linking into
23378 them.
23379 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
23380 define.
23381 (VDSO_HASH_LINUX_4_15): Likewise.
23382 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
23383 in subdirectories of lib.
23384 * nptl/Makefile (/librt.so): Always depend on
23385 "$(shared-thread-library)".
23386
23387 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23388
23389 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
23390 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
23391 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
23392 (___tls_get_addr).
23393 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
23394 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23395 "-O2 -march=i686".
23396 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
23397 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
23398 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
23399 * sysdeps/gnu/glob-lstat-compat.c: New file.
23400 * sysdeps/gnu/glob64-lstat-compat.c: New file.
23401 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
23402
23403 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23404
23405 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
23406 Reserve 16 chars to reloc_addr before calling _itoa_word.
23407
23408 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23409
23410 [BZ #22678]
23411 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
23412 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
23413
23414 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
23415 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
23416
23417 * resource/tst-getrlimit.c: Add copyright header.
23418
23419 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23420 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23421
23422 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23423 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
23424 Define __GI_getrlimit64 as weak alias of __getrlimit64.
23425 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
23426 instead.
23427 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23428 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
23429 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
23430 RLIM64_INFINITY): Fix values to match the kernel ones.
23431 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
23432 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
23433 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
23434 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
23435 getrlimit64@@GLIBC_2_27.
23436 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
23437 and setrlimit64.
23438 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
23439 getrlimit, setrlimit, getrlimit64 and setrlimit64.
23440 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
23441 setrlimit, getrlimit64 and setrlimit64.
23442
23443 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23444
23445 [BZ #22648]
23446 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
23447 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
23448
23449 2018-01-04 Joseph Myers <joseph@codesourcery.com>
23450
23451 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
23452 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
23453 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
23454
23455 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23456
23457 [BZ #15479]
23458 [BZ #22666]
23459 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
23460 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
23461
23462 [BZ #15479]
23463 [BZ #22665]
23464 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
23465 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
23466 * sysdeps/alpha/fpu/s_floor.c: Likewise.
23467 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
23468
23469 2018-01-04 Florian Weimer <fweimer@redhat.com>
23470
23471 [BZ #22667]
23472 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23473 Align the stack before calling exit.
23474 * stdlib/tst-makecontext-align.c: New file.
23475 * stdlib/Makefile (tests): Add tst-makecontext-align.
23476
23477 2018-01-04 Florian Weimer <fweimer@redhat.com>
23478
23479 Add support for calling dlvsym from libc.so.
23480 * include/dlfcn.h (__libc_dlvsym): Declare.
23481 * elf/Makefile (tests-static-internal): Add
23482 tst-libc_dlvsym-static.
23483 (tests-internal): Add tst-libc_dlvsym.
23484 (modules-names): Add tst-libc_dlvsym-dso.
23485 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
23486 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
23487 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
23488 object tst-libc_dlvsym-dso.so needs to be built before running
23489 these tests.
23490 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
23491 * elf/Versions: Export __libc_dlvsym.
23492 * elf/dl-libc.c (struct do_dlvsym_args): New.
23493 (do_dlvsym, __libc_dlvsym): New functions.
23494 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
23495 (_dl_open_hook2): New variable.
23496 (__libc_register_dl_open_hook): Set it.
23497 * elf/tst-libc_dlvsym-dso.c: New file.
23498 * elf/tst-libc_dlvsym-static.c: Likewise.
23499 * elf/tst-libc_dlvsym.c: Likewise.
23500 * elf/tst-libc_dlvsym.h: Likewise.
23501
23502 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23503
23504 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
23505 include <sys/mount.h>.
23506
23507 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
23508
23509 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
23510 Add __NO_MATH_ERRNO__ check.
23511
23512 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23513
23514 * sysdeps/mips/mips32/libm-test-ulps: Update.
23515 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23516
23517 2018-01-02 Florian Weimer <fweimer@redhat.com>
23518
23519 * misc/tst-pselect.c: Add copyright header.
23520
23521 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23522
23523 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
23524 comment.
23525 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
23526 comment.
23527 (settrlimit): Rename into setrlimit.
23528 (__sttrlimit): Rename into __setrlimit.
23529
23530 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
23531 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
23532 never defined in that case.
23533
23534 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23535
23536 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
23537
23538 * sysdeps/arm/libm-test-ulps: Update.
23539
23540 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
23541 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
23542
23543 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23544
23545 * NEWS: Add cosf and sincosf to list of optimized functions.
23546
23547 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23548
23549 [BZ #22660]
23550 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
23551 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
23552 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
23553 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
23554
23555 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
23556
23557 [BZ #22433]
23558 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
23559
23560 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
23561 making a copy of it.
23562
23563 2018-01-01 Joseph Myers <joseph@codesourcery.com>
23564
23565 * manual/texinfo.tex: Update to version 2017-12-26.21 with
23566 trailing whitespace removed.
23567 * scripts/config.guess: Update to version 2018-01-01.
23568 * scripts/config.sub: Update to version 2018-01-01.
23569 * scripts/move-if-change: Update from gnulib.
23570
23571 * NEWS: Update copyright dates.
23572 * catgets/gencat.c (print_version): Likewise.
23573 * csu/version.c (banner): Likewise.
23574 * debug/catchsegv.sh: Likewise.
23575 * debug/pcprofiledump.c (print_version): Likewise.
23576 * debug/xtrace.sh (do_version): Likewise.
23577 * elf/ldconfig.c (print_version): Likewise.
23578 * elf/ldd.bash.in: Likewise.
23579 * elf/pldd.c (print_version): Likewise.
23580 * elf/sotruss.sh: Likewise.
23581 * elf/sprof.c (print_version): Likewise.
23582 * iconv/iconv_prog.c (print_version): Likewise.
23583 * iconv/iconvconfig.c (print_version): Likewise.
23584 * locale/programs/locale.c (print_version): Likewise.
23585 * locale/programs/localedef.c (print_version): Likewise.
23586 * login/programs/pt_chown.c (print_version): Likewise.
23587 * malloc/memusage.sh (do_version): Likewise.
23588 * malloc/memusagestat.c (print_version): Likewise.
23589 * malloc/mtrace.pl: Likewise.
23590 * manual/libc.texinfo: Likewise.
23591 * nptl/version.c (banner): Likewise.
23592 * nscd/nscd.c (print_version): Likewise.
23593 * nss/getent.c (print_version): Likewise.
23594 * nss/makedb.c (print_version): Likewise.
23595 * posix/getconf.c (main): Likewise.
23596 * scripts/test-installation.pl: Likewise.
23597 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23598
23599 * All files with FSF copyright notices: Update copyright dates
23600 using scripts/update-copyrights.
23601 * locale/programs/charmap-kw.h: Regenerated.
23602 * locale/programs/locfile-kw.h: Likewise.
23603
23604 2017-12-31 Zack Weinberg <zackw@panix.com>
23605
23606 * libio/bits/libio-ldbl.h: Correct check for improper
23607 inclusion. Add own multiple include guard.
23608
23609 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
23610 Dmitry V. Levin <ldv@altlinux.org>
23611
23612 [BZ #22625]
23613 CVE-2017-16997
23614 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
23615 string token expansion. Check for NULL pointer or empty string possibly
23616 returned by expand_dynamic_string_token.
23617 (decompose_rpath): Check for empty path after dynamic string
23618 token expansion.
23619
23620 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
23621
23622 [BZ #22433]
23623 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
23624
23625 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
23626 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
23627 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
23628 and PTRACE_SYSCALL.
23629 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
23630 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23631 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23632 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23633 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23634 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23635
23636 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
23637 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23638 __ptrace_peeksiginfo_flags, ptrace): Move to ...
23639 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
23640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23641 bits/ptrace-shared.h.
23642 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
23643 <bits/ptrace-shared.h>.
23644 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23645 __ptrace_peeksiginfo_flags, ptrace): Remove.
23646 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23647 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23648 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23649 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23650 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23651
23652 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23653
23654 [BZ #17804]
23655 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
23656 end of the loop. Improve comments.
23657
23658 2017-12-29 Zack Weinberg <zackw@panix.com>
23659
23660 [BZ #22615]
23661 * manual/errno.texi (Checking for Errors): Explicitly say that errno
23662 might be set on success.
23663
23664 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23665
23666 [BZ #22611]
23667 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
23668 is unchanged on success.
23669
23670 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
23671
23672 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
23673 updated.
23674 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
23675 expand_dynamic_string_token): Likewise.
23676 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
23677 is_path argument.
23678
23679 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
23680 contains ':'.
23681
23682 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
23683 is set and name contains ':', and all code depending on these checks.
23684
23685 2017-12-24 Zack Weinberg <zackw@panix.com>
23686
23687 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
23688 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
23689 respectively.
23690 * libio/libio.h: Rename the original version of this file to
23691 libio/bits/libio.h. Error out if not included by stdio.h or the
23692 stub libio.h.
23693 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
23694 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
23695 if not included by bits/libio.h or the stub _G_config.h.
23696 * sysdeps/unix/sysv/linux/_G_config.h: Move to
23697 sysdeps/unix/sysv/linux/bits. Error out if not included by
23698 bits/libio.h or the stub _G_config.h.
23699 * libio/stdio.h: Include bits/libio.h, not libio.h.
23700 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
23701 well as libio.h and _G_config.h.
23702
23703 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
23704 * libio/strfile.h, stdio-common/vfscanf.c
23705 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
23706 Include stdio.h, not _G_config.h nor libio.h.
23707 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
23708 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
23709
23710 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
23711
23712 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
23713
23714 [BZ #22347]
23715 * stdlib/getrandom.c (getrandom): Fix comment.
23716 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
23717
23718 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
23719
23720 [BZ #21161]
23721 * manual/arith.texi (strtoul): Fix a typo.
23722
23723 [BZ #22596]
23724 * manual/arith.texi (finite): Fix the description of the return
23725 value.
23726
23727 2017-12-22 Eric Blake <ebb9@byu.net>
23728
23729 Avoid gcc warnings on cygwin
23730 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
23731 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
23732 Avoid unused variable.
23733
23734 2017-12-22 Florian Weimer <fweimer@redhat.com>
23735
23736 * io/Makefile (routines): Add copy_file_range.
23737 (tests): Add tst-copy_file_range.
23738 (tests-static, tests-internal): Add tst-copy_file_range-compat.
23739 * io/Versions (GLIBC_2.27): Export copy_file_range.
23740 * io/copy_file_range-compat.c: New file.
23741 * io/copy_file_range.c: Likewise.
23742 * io/tst-copy_file_range-compat.c: Likewise.
23743 * io/tst-copy_file_range.c: Likewise.
23744 * manual/llio.texi (Copying File Data): New section.
23745 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
23746 * support/Makefile (libsupport-routines): Add support-xfstat,
23747 xftruncate, xlseek.
23748 * support/support-xfstat.c: New file.
23749 * support/xftruncate.c: Likewise.
23750 * support/xlseek.c: Likewise.
23751 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
23752 * sysdeps/unix/sysv/linux/**.abilist: Update.
23753 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
23754
23755 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
23756
23757 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23758 disable-multi-arch variant to aarch64-linux-gnu.
23759
23760 2017-12-20 Joseph Myers <joseph@codesourcery.com>
23761
23762 * manual/texinfo.tex: Update to version 2017-12-18.20 with
23763 trailing whitespace removed.
23764 * scripts/config.guess: Update to version 2017-12-17.
23765 * scripts/config.sub: Update to version 2017-11-23.
23766 * scripts/install-sh: Update to version 2017-09-23.17.
23767 * scripts/move-if-change: Update to version 2017-09-13 06:45.
23768
23769 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23770
23771 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
23772 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23773 * sysdeps/tile/_mcount.S (__mcount): Likewise.
23774 * sysdeps/tile/crti.S (_init, _fini): Likewise.
23775 * sysdeps/tile/crtn.S: Likewise.
23776 * sysdeps/tile/dl-start.S (_start): Likewise.
23777 * sysdeps/tile/dl-trampoline.S: Likewise.
23778 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
23779 * sysdeps/tile/start.S (_start): Likewise.
23780 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
23781 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
23782 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
23783 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
23784 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
23785 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
23786 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
23787
23788 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
23789 comment.
23790 * sysdeps/tile/preconfigure: Remove tilegx folder.
23791 * sysdeps/tile/tilegx/Implies: Move definitions to ...
23792 * sysdeps/tile/Implies: ... here.
23793 * sysdeps/tile/tilegx/Makefile: Move rules to ...
23794 * sysdeps/tile/Makefile: ... here.
23795 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
23796 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
23797 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
23798 * sysdeps/tile/bits/wordsize.h: ... here.
23799 * sysdeps/tile/tilegx/*: Move to ...
23800 * sysdeps/tile/*: ... here.
23801 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
23802 * sysdeps/tile/tilegx32/Implies: ... here.
23803 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
23804 * sysdeps/tile/tilegx64/Implies: ... here.
23805 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
23806 to ...
23807 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23808 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
23809 * sysdeps/unix/sysv/linux/tile/*: ... here.
23810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
23811 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
23812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
23813 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
23814
23815 * README: Remove tilepro-*-linux-gnu from supported architecture.
23816 * scripts/build-many-glibcs.py: Likewise.
23817 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23818 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
23819 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
23820 elf_machine_matches_host, elf_machine_dynamic,
23821 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
23822 howto, elf_machine_rela): Likewise.
23823 * sysdeps/tile/dl-start.S (_start): Likewise.
23824 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
23825 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
23826 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
23827 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
23828 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
23829 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23830 Likewise.
23831 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
23832 * sysdeps/tile/preconfigure: Likewise.
23833 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
23834 POINTER_CHK_GUARD): Likewise.
23835 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
23836 * sysdeps/tile/start.S (_start): Likewise.
23837 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
23838 Likewise.
23839 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
23840 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
23841 CMOVNEZ): Remove.
23842 * sysdeps/unix/sysv/linux/tile/bits/environments.h
23843 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
23844 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
23845 Likewise.
23846 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
23847 * sysdeps/tile/tilepro/Implies: Remove file.
23848 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
23849 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
23850 * sysdeps/tile/tilepro/memchr.c: Likewise.
23851 * sysdeps/tile/tilepro/memcpy.S: Likewise.
23852 * sysdeps/tile/tilepro/memset.c: Likewise.
23853 * sysdeps/tile/tilepro/memusage.h: Likewise.
23854 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
23855 * sysdeps/tile/tilepro/strchr.c: Likewise.
23856 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
23857 * sysdeps/tile/tilepro/strlen.c: Likewise.
23858 * sysdeps/tile/tilepro/strrchr.c: Likewise.
23859 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
23860 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
23861 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23862 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
23863 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
23864 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23865 Likewise.
23866 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
23867 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23868 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
23869 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
23870 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23871 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
23872 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
23873 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
23874 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
23875 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
23876 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
23877 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
23878 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
23879 tilepro mention in comment.
23880
23881 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
23882 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
23883 * nptl/pthread_join_common.c: New file: common function used on
23884 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
23885 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
23886 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
23887 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23888 (cleanup): Move definition to pthread_join_common.c.
23889 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
23890 Remove superflous checks.
23891 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
23892 Likewise.
23893
23894 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23895
23896 * sysdeps/aarch64/libm-test-ulps: Update.
23897
23898 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23899
23900 * sysdeps/aarch64/memset.S (MEMSET): Define.
23901
23902 2017-12-20 Florian Weimer <fweimer@redhat.com>
23903
23904 [BZ #22635]
23905 nptl: Provide full implementation of pthread_self in libc.so.
23906 * nptl/Makefile (routines): Add pthread_self.
23907 (libpthread-routines): Replace pthread_self with
23908 compat-pthread_self.
23909 * nptl/forward.c (pthread_self): Remove.
23910 * nptl/nptl-init.c (pthread_functions): Do not initialize
23911 ptr_pthread_self.
23912 * nptl/pthread_self.c (pthread_self): Remove weak alias.
23913 * nptl/compat-pthread_self.c: New file.
23914 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
23915 Remove ptr_pthread_self.
23916
23917 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
23918
23919 * posix/regcomp.c: Fix spelling in comments.
23920 * posix/regex.h: Likewise.
23921 * posix/regex_internal.c: Likewise.
23922 * posix/regexec.c: Likewise.
23923
23924 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23925
23926 [BZ #22377]
23927 * math/Makefile [C++] (tests): Add test for iseqsig.
23928 * math/math.h [C++] (iseqsig): New implementation, which does
23929 not rely on __MATH_TG/__builtin_types_compatible_p.
23930 * math/test-math-iseqsig.cc: New file.
23931 * sysdeps/powerpc/powerpc64le/Makefile
23932 (CFLAGS-test-math-iseqsig.cc): New variable.
23933
23934 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
23935
23936 * elf/dl-load.c (is_trusted_path): Remove.
23937 (fillin_rpath): Remove check_trusted argument and its use,
23938 all callers changed.
23939
23940 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23941
23942 [BZ #22630]
23943 * Makeconfig (link-pie-before-libc): Replace -pie with
23944 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
23945 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
23946 (tst-dlopen-aout-no-pie): New.
23947 (LDFLAGS-tst-prelink): Removed.
23948 (tst-prelink-no-pie): New.
23949 (LDFLAGS-tst-main1): Removed.
23950 (tst-main1-no-pie): New.
23951 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
23952 (tst-gmon-no-pie): New.
23953
23954 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23955
23956 * manual/install.texi: Document that --enable-static-pie
23957 implies PIE.
23958 * INSTALL: Regenerated.
23959
23960 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
23961
23962 [BZ #21309]
23963 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
23964 unsigned.
23965
23966 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23967
23968 Revert:
23969
23970 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23971
23972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23973
23974 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23975
23976 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23977 <errno.h>. Include "eexp.tbl".
23978 (half): New constant.
23979 (one): Likewise.
23980 (__ieee754_exp): Rewrite.
23981 (__slowexp): Remove prototype.
23982 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23983 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23984 * sysdeps/i386/fpu/slowexp.c: Likewise.
23985 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23986 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23987 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23988 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23989 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23990 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23991 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23992 comment.
23993 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23994 (CPPFLAGS-slowexp.c): Remove variable.
23995 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23996 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23997 (CFLAGS-slowexp-fma.c): Remove variable.
23998 (CFLAGS-slowexp-fma4.c): Likewise.
23999 (CFLAGS-slowexp-avx.c): Likewise.
24000 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24001 define as macro.
24002 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24003 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24004 * math/Makefile (type-double-routines): Remove slowexp.
24005 * manual/probes.texi (slowexp_p6): Remove.
24006 (slowexp_p32): Likewise.
24007
24008 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24009
24010 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
24011 arithmetic.
24012
24013 * lib/glob.c (glob): Do not pass NULL to mempcpy.
24014
24015 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24016
24017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24018
24019 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24020
24021 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
24022 <errno.h>. Include "eexp.tbl".
24023 (half): New constant.
24024 (one): Likewise.
24025 (__ieee754_exp): Rewrite.
24026 (__slowexp): Remove prototype.
24027 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
24028 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
24029 * sysdeps/i386/fpu/slowexp.c: Likewise.
24030 * sysdeps/ia64/fpu/slowexp.c: Likewise.
24031 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
24032 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
24033 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
24034 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24035 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
24036 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
24037 comment.
24038 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
24039 (CPPFLAGS-slowexp.c): Remove variable.
24040 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24041 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
24042 (CFLAGS-slowexp-fma.c): Remove variable.
24043 (CFLAGS-slowexp-fma4.c): Likewise.
24044 (CFLAGS-slowexp-avx.c): Likewise.
24045 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
24046 define as macro.
24047 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
24048 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
24049 * math/Makefile (type-double-routines): Remove slowexp.
24050 * manual/probes.texi (slowexp_p6): Remove.
24051 (slowexp_p32): Likewise.
24052
24053 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24054 James Clarke <jrtc27@jrtc27.com>
24055
24056 [BZ #22603]
24057 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
24058 addition.
24059
24060 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24061
24062 [BZ #22605]
24063 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
24064 code.
24065
24066 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24067
24068 [BZ #22563]
24069 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24070 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
24071 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
24072 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
24073 to feature_1.
24074
24075 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
24076
24077 [BZ #22563]
24078 * bits/types/__cancel_jmp_buf_tag.h: New file.
24079 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
24080 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
24081 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
24082 * nptl/Makefile (headers): Add
24083 bits/types/__cancel_jmp_buf_tag.h.
24084 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
24085 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
24086 * sysdeps/nptl/pthread.h: Include
24087 <bits/types/__cancel_jmp_buf_tag.h>.
24088 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
24089 __cancel_jmp_buf.
24090 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
24091
24092 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24093
24094 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24095 --enable-static-pie variants to x86_64, x32 and i686.
24096
24097 2017-12-19 Joseph Myers <joseph@codesourcery.com>
24098
24099 [BZ #22631]
24100 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
24101 argument for attrubutes. All callers changed.
24102 (__inline_mathop1): Likewise. All callers changed.
24103 (__inline_mathop): Likewise. All callers changed.
24104 [__USE_MISC] (scalbn): Use __inline_forward instead of
24105 __inline_forward_c.
24106 [__USE_ISOC99] (scalbln): Likewise.
24107 [__USE_ISOC99] (nearbyint): Likewise.
24108 [__USE_ISOC99] (lrint): Likewise.
24109 [__USE_MISC] (scalbnf): Likewise.
24110 [__USE_ISOC99] (scalblnf): Likewise.
24111 [__USE_ISOC99] (nearbyintf): Likewise.
24112 [__USE_ISOC99] (lrintf): Likewise.
24113 [__USE_MISC] (scalbnl): Likewise.
24114 [__USE_ISOC99] (scalblnl): Likewise.
24115 [__USE_ISOC99] (nearbyintl): Likewise.
24116 [__USE_ISOC99] (lrintl): Likewise.
24117 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
24118 __inline_mathop and __m81_defun changed.
24119
24120 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
24121 CPU or FPU for ARM hard-float configurations.
24122
24123 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24124
24125 * nptl/tst-attr3.c: Include <libc-diag.h>.
24126 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
24127
24128 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
24129
24130 * string/tester.c (test_strncat): Also disable -Warray-bounds
24131 warnings for two tests.
24132
24133 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
24134
24135 [BZ #22614]
24136 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
24137 $(cc-pie-default) == yes.
24138 * config.make.in (cc-pie-default): New.
24139 * configure.ac (libc_cv_pie_default): Renamed to ...
24140 (libc_cv_cc_pie_default): This.
24141 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
24142 * configure: Regenerated.
24143
24144 2017-12-18 Florian Weimer <fweimer@redhat.com>
24145
24146 [BZ #20204]
24147 ld.so: Harden dl-libc/libdl hooks.
24148 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
24149 (rtld_active): New function.
24150 * dlfcn/dladdr.c (__dladdr): Call it.
24151 * dlfcn/dladdr1.c (__dladdr1): Likewise.
24152 * dlfcn/dlclose.c (__dlcose): Likewise.
24153 * dlfcn/dlerror.c (__dlerror): Likewise.
24154 * dlfcn/dlinfo.c (__dlinfo): Likewise.
24155 * dlfcn/dlmopen.c (__dlmopen): Likewise.
24156 * dlfcn/dlopen.c (__dlopen): Likewise.
24157 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24158 * dlfcn/dlsym.c (__dlsym): Likewise.
24159 * dlfcn/dlvsym.c (__dlvsym): Likewise.
24160 * libio/vtables.c (_IO_vtable_check): Likewise.
24161 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
24162 (__libc_dlclose): Likewise.
24163 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
24164 assignment.
24165
24166 2017-12-18 Joseph Myers <joseph@codesourcery.com>
24167
24168 [BZ #22446]
24169 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
24170 buffers for readlink input and output.
24171
24172 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
24173
24174 [BZ #22624]
24175 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
24176 inhibit_stack_protector.
24177
24178 [BZ #22624]
24179 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
24180 inhibit_stack_protector.
24181
24182 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
24183
24184 [BZ #22627]
24185 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
24186 code and invocation.
24187
24188 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
24189
24190 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
24191
24192 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
24193
24194 [BZ #22505]
24195 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
24196
24197 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24198
24199 * sysdeps/s390/fpu/libm-test-ulps: Update.
24200
24201 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24202
24203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24204
24205 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24206
24207 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
24208 constants to s_sincosf.h file.
24209 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24210 * sysdeps/ieee754/flt-32/s_sincosf.c: New
24211 implementation.
24212 * sysdeps/ieee754/flt-32/s_sincosf.h:
24213 New file.
24214
24215 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24216
24217 [BZ #14681]
24218 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
24219 before mtrace.
24220
24221 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
24222
24223 [BZ #19574]
24224 * INSTALL: Regenerated.
24225 * Makeconfig (real-static-start-installed-name): New.
24226 (pic-default): Updated for --enable-static-pie.
24227 (pie-default): New for --enable-static-pie.
24228 (default-pie-ldflag): Likewise.
24229 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
24230 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
24231 Replace $(static-start-installed-name) with
24232 $(real-static-start-installed-name).
24233 (+prectorT): Updated for --enable-static-pie.
24234 (+postctorT): Likewise.
24235 (CFLAGS-.o): Add $(pie-default).
24236 (CFLAGS-.op): Likewise.
24237 * NEWS: Mention --enable-static-pie.
24238 * config.h.in (ENABLE_STATIC_PIE): New.
24239 * configure.ac (--enable-static-pie): New configure option.
24240 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
24241 (have-static-pie): Likewise.
24242 Enable static PIE if linker supports --no-dynamic-linker.
24243 (ENABLE_STATIC_PIE): New AC_DEFINE.
24244 (enable-static-pie): New LIBC_CONFIG_VAR.
24245 * configure: Regenerated.
24246 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
24247 gr$(start-installed-name) for --enable-static-pie.
24248 (extra-objs): Likewise.
24249 (install-lib): Likewise.
24250 (extra-objs): Add static-reloc.o and static-reloc.os
24251 ($(objpfx)$(start-installed-name)): Also depend on
24252 $(objpfx)static-reloc.o.
24253 ($(objpfx)r$(start-installed-name)): New.
24254 ($(objpfx)g$(start-installed-name)): Also depend on
24255 $(objpfx)static-reloc.os.
24256 ($(objpfx)gr$(start-installed-name)): New.
24257 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
24258 in libc.a.
24259 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
24260 initimage.
24261 * csu/static-reloc.c: New file.
24262 * elf/Makefile (routines): Add dl-reloc-static-pie.
24263 (elide-routines.os): Likewise.
24264 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
24265 (tst-tls1-static-non-pie-no-pie): New.
24266 * elf/dl-reloc-static-pie.c: New file.
24267 * elf/dl-support.c (_dl_get_dl_main_map): New function.
24268 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
24269 STATIC_PIE_BOOTSTRAP.
24270 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
24271 * gmon/Makefile (tests): Add tst-gmon-static-pie.
24272 (tests-static): Likewise.
24273 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
24274 (tst-gmon-static-no-pie): New.
24275 (CFLAGS-tst-gmon-static-pie.c): Likewise.
24276 (CRT-tst-gmon-static-pie): Likewise.
24277 (tst-gmon-static-pie-ENV): Likewise.
24278 (tests-special): Likewise.
24279 ($(objpfx)tst-gmon-static-pie.out): Likewise.
24280 (clean-tst-gmon-static-pie-data): Likewise.
24281 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
24282 * gmon/tst-gmon-static-pie.c: New file.
24283 * manual/install.texi: Document --enable-static-pie.
24284 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
24285 (_dl_get_dl_main_map): Likewise.
24286 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
24287 * sysdeps/x86_64/configure.ac: Likewise.
24288 * sysdeps/i386/configure: Regenerated.
24289 * sysdeps/x86_64/configure: Likewise.
24290 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
24291 (ASFLAGS-.op): Likewise.
24292
24293 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24294
24295 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
24296 * posix/tst-mmap-offset.c (fname): Use /tmp.
24297 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
24298
24299 2017-12-15 Steve Ellcey <sellcey@cavium.com>
24300
24301 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
24302
24303 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
24304
24305 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
24306 errno.
24307
24308 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24309
24310 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
24311 --with-float=hard for arm-linux-gnueabihf configurations.
24312
24313 [BZ #14121]
24314 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
24315 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
24316 ($(mo-installed)): Use $(objpfx)%.mo.
24317 (realclean): Remove rule.
24318
24319 * po/Makefile (linguas): Remove rule and dependencies.
24320 (linguas.mo): Likewise.
24321 (.PHONY): Do not depend on linguas and linguas.mo.
24322 (podir): Remove variable.
24323 (pofiles): Likewise.
24324 [$(pofiles)] (%.po): Remove rule.
24325
24326 * sysdeps/sparc/sparc32/Makefile
24327 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
24328 start-of-line whitespace in argument of echo.
24329 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
24330 with whitespace. Generate __wrap_.udiv alias.
24331 * sysdeps/sparc/sparc32/rem.S: Regenerated.
24332 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24333 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24334 * sysdeps/sparc/sparc32/urem.S: Likewise.
24335
24336 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24337
24338 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
24339 for aligned inputs.
24340
24341 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24342
24343 * benchtests/bench-strcmp.c: Print output in JSON format.
24344
24345 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
24346
24347 2017-12-14 Florian Weimer <fweimer@redhat.com>
24348
24349 [BZ #22607]
24350 CVE-2017-1000409
24351 * elf/dl-load.c (_dl_init_paths): Compute number of components in
24352 the expanded path string.
24353
24354 2017-12-14 Florian Weimer <fweimer@redhat.com>
24355
24356 [BZ #22606]
24357 CVE-2017-1000408
24358 * elf/dl-load.c (system_dirs): Update comment.
24359 (nsystem_dirs_len): Use array_length.
24360 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
24361
24362 2017-12-14 Florian Weimer <fweimer@redhat.com>
24363
24364 Simplify compiling most of support/ outside of glibc.
24365 * support/check_addrinfo.c: Include <string.h>.
24366 * support/check_dns_packet.c: Likewise.
24367 * support/check_hostent.c: Likewise.
24368 * support/support_can_chroot.c: Include <support/xunistd.h>.
24369 * support/support_format_addrinfo.c: Include <stdlib.h>
24370 * support/support_format_dns_packet.c: Include <stdbool.h>.
24371 * support/support_format_hostent.c: Include <stdlib.h>.
24372 * support/support_format_netent.c: Likewise.
24373 * support/support_write_string.c: Include <support/xunistd.h>.
24374 * support/xdlfcn.c: Include <stddef.h>.
24375
24376 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
24377
24378 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
24379
24380 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24381 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24382
24383 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24384 (sysdeps_routines): Add memset-niagara7.
24385 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
24386 Likewise.
24387 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
24388 file.
24389 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
24390 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24391 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
24392 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
24393 Add niagara7 option.
24394 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
24395 memset.
24396
24397 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24398 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
24399 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
24400 Likewise.
24401 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
24402 New file.
24403 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
24404 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
24405 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24406 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
24407 and __memmove_niagara7.
24408 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
24409 Add niagara7 option.
24410 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
24411 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
24412 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
24413 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
24414 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
24415
24416 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
24417
24418 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
24419 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
24420 * sysdeps/sparc/sparc64/memmove.S: Likewise.
24421 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
24422
24423 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
24424 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
24425 _dl_sparc_cap_flags array.
24426 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
24427
24428 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
24429
24430 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
24431 time whenever possible.
24432
24433 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24434
24435 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
24436 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
24437
24438 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24439
24440 * soft-fp/fmadf4.c: Move to ....
24441 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
24442 * soft-fp/fmasf4.c: Move to ....
24443 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
24444 * soft-fp/fmatf4.c: Move to ....
24445 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
24446 * sysdeps/ieee754/soft-fp/Makefile: New file.
24447 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
24448 * sysdeps/arm/preconfigure: Regenerated.
24449 * sysdeps/arm/nofpu/Implies: New file.
24450 * sysdeps/arm/s_fma.c: Remove file.
24451 * sysdeps/arm/s_fmaf.c: Likewise.
24452 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
24453 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
24454 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24455 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
24456 * sysdeps/microblaze/s_fma.c: Remove file.
24457 * sysdeps/microblaze/s_fmaf.c: Likewise.
24458 * sysdeps/mips/mips32/nofpu/Implies: New file.
24459 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
24460 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
24461 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
24462 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
24463 * sysdeps/mips/ieee754/s_fma.c: Remove file.
24464 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
24465 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
24466 implementation.
24467 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
24468 * sysdeps/nios2/s_fma.c: Remove file.
24469 * sysdeps/nios2/s_fmaf.c: Likewise.
24470 * sysdeps/sh/nofpu/Implies: New file.
24471 * sysdeps/sh/s_fma.c: Remove file.
24472 * sysdeps/sh/s_fmaf.c: Likewise.
24473 * sysdeps/tile/Implies: Add ieee754/soft-fp.
24474 * sysdeps/tile/s_fma.c: Remove file.
24475 * sysdeps/tile/s_fmaf.c: Likewise.
24476
24477 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
24478
24479 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24480 Add s_cosf-sse2 and s_cosf-fma.
24481 (CFLAGS-s_cosf-fma.c): New.
24482 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
24483 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
24484 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
24485
24486 2017-12-12 Steve Ellcey <sellcey@cavium.com>
24487
24488 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
24489
24490 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24491
24492 * libio/Makefile (tests): Add tst-bz22415.
24493 (tst-bz22415-ENV): New rule.
24494 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
24495 (tests-special): Add tst-bz22415-mem.out.
24496 ($(objpfx)tst-bz22415-mem.out): New rule.
24497 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
24498 in case of a successful seek operation.
24499 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24500 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
24501 buffer is required.
24502 * libio/tst-bz22415.c: New test.
24503
24504 * sysdeps/ia64/fpu/libm-test-ulps: Update.
24505
24506 2017-12-12 James Clarke <jrtc27@jrtc27.com>
24507
24508 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
24509 __IPC_64 to 0 to avoid IPC_64 being set.
24510
24511 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24512
24513 [BZ #22593]
24514 * math/bits/mathcalls.h (nextafter): Remove const.
24515 (nexttoward): Likewise.
24516
24517 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24518
24519 * configure.ac (--with-fp): Remove configure option.
24520 (with_fp_cond): New variable.
24521 (libc_cv_with_fp): New configure test. Use this variable instead
24522 of with_fp.
24523 * configure: Regenerated.
24524 * config.make.in (with-fp): Use @libc_cv_with_fp@.
24525 * manual/install.texi (Configuring and compiling): Remove
24526 --without-fp.
24527 * INSTALL: Regenerated.
24528 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
24529 * sysdeps/mips/preconfigure (with_fp_cond): Define.
24530 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
24531 * sysdeps/sh/preconfigure (with_fp_cond): Define.
24532 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
24533 use --without-fp to configure glibc.
24534
24535 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
24536
24537 * manual/locale.texi (nl_langinfo): Fix a typo.
24538
24539 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
24540
24541 [BZ #22588]
24542 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
24543
24544 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24545
24546 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
24547 (CFLAGS-argp-parse.c): Likewise.
24548 (CFLAGS-argp-fmtstream.c): Likewise.
24549 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
24550 (CPPFLAGS-sha512-crypt.c): Likewise.
24551 (CPPFLAGS-md5-crypt.c): Likewise.
24552 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
24553 (CFLAGS-stack_chk_fail_local.c): Likewise.
24554 (CFLAGS-backtrace.c): Likewise.
24555 (CFLAGS-sprintf_chk.c): Likewise.
24556 (CFLAGS-snprintf_chk.c): Likewise.
24557 (CFLAGS-vsprintf_chk.c): Likewise.
24558 (CFLAGS-vsnprintf_chk.c): Likewise.
24559 (CFLAGS-asprintf_chk.c): Likewise.
24560 (CFLAGS-vasprintf_chk.c): Likewise.
24561 (CFLAGS-obprintf_chk.c): Likewise.
24562 (CFLAGS-dprintf_chk.c): Likewise.
24563 (CFLAGS-vdprintf_chk.c): Likewise.
24564 (CFLAGS-printf_chk.c): Likewise.
24565 (CFLAGS-fprintf_chk.c): Likewise.
24566 (CFLAGS-vprintf_chk.c): Likewise.
24567 (CFLAGS-vfprintf_chk.c): Likewise.
24568 (CFLAGS-gets_chk.c): Likewise.
24569 (CFLAGS-fgets_chk.c): Likewise.
24570 (CFLAGS-fgets_u_chk.c): Likewise.
24571 (CFLAGS-fread_chk.c): Likewise.
24572 (CFLAGS-fread_u_chk.c): Likewise.
24573 (CFLAGS-swprintf_chk.c): Likewise.
24574 (CFLAGS-vswprintf_chk.c): Likewise.
24575 (CFLAGS-wprintf_chk.c): Likewise.
24576 (CFLAGS-fwprintf_chk.c): Likewise.
24577 (CFLAGS-vwprintf_chk.c): Likewise.
24578 (CFLAGS-vfwprintf_chk.c): Likewise.
24579 (CFLAGS-fgetws_chk.c): Likewise.
24580 (CFLAGS-fgetws_u_chk.c): Likewise.
24581 (CFLAGS-read_chk.c): Likewise.
24582 (CFLAGS-pread_chk.c): Likewise.
24583 (CFLAGS-pread64_chk.c): Likewise.
24584 (CFLAGS-recv_chk.c): Likewise.
24585 (CFLAGS-recvfrom_chk.c): Likewise.
24586 (CFLAGS-tst-longjmp_chk.c): Likewise.
24587 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
24588 (CFLAGS-tst-longjmp_chk2.c): Likewise.
24589 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
24590 (CFLAGS-tst-longjmp_chk3.c): Likewise.
24591 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24592 (CFLAGS-tst-chk1.c): Likewise.
24593 (CFLAGS-tst-chk2.c): Likewise.
24594 (CFLAGS-tst-chk3.c): Likewise.
24595 (CFLAGS-tst-chk4.cc): Likewise.
24596 (CFLAGS-tst-chk5.cc): Likewise.
24597 (CFLAGS-tst-chk6.cc): Likewise.
24598 (CFLAGS-tst-lfschk1.c): Likewise.
24599 (CFLAGS-tst-lfschk2.c): Likewise.
24600 (CFLAGS-tst-lfschk3.c): Likewise.
24601 (CFLAGS-tst-lfschk4.cc): Likewise.
24602 (CFLAGS-tst-lfschk5.cc): Likewise.
24603 (CFLAGS-tst-lfschk6.cc): Likewise.
24604 (CFLAGS-tst-ssp-1.c): Likewise.
24605 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
24606 (CFLAGS-scandir64.c): Likewise.
24607 (CFLAGS-scandir-tail.c): Likewise.
24608 (CFLAGS-scandir64-tail.c): Likewise.
24609 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
24610 (CFLAGS-dl-tunables.c): Likewise.
24611 (CFLAGS-dl-runtime.c): Likewise.
24612 (CFLAGS-dl-lookup.c): Likewise.
24613 (CFLAGS-dl-iterate-phdr.c): Likewise.
24614 (CFLAGS-vismain.c): Likewise.
24615 (CFLAGS-tst-linkall-static.c): Likewise.
24616 (CFLAGS-tst-linkall-static.c): Likewise.
24617 (CPPFLAGS-dl-load.c): Likewise.
24618 (CFLAGS-ldconfig.c): Likewise.
24619 (CFLAGS-dl-cache.c): Likewise.
24620 (CFLAGS-cache.c): Likewise.
24621 (CFLAGS-rtld.c): Likewise.
24622 (CFLAGS-multiload.c): Likewise.
24623 (CFLAGS-filtmod1.c): Likewise.
24624 (CFLAGS-tst-align.c): Likewise.
24625 (CFLAGS-tst-align2.c): Likewise.
24626 (CFLAGS-tst-alignmod.c): Likewise.
24627 (CFLAGS-tst-alignmod2.c): Likewise.
24628 (CPPFLAGS-tst-execstack.c): Likewise.
24629 (CFLAGS-tst-ptrguard1-static.c): Likewise.
24630 (CFLAGS-tst-latepthreadmod.c): Likewise.
24631 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
24632 (CFLAGS-getgrnam_r.c): Likewise.
24633 (CFLAGS-getgrent_r.c): Likewise.
24634 (CFLAGS-getgrent.c): Likewise.
24635 (CFLAGS-fgetgrent.c): Likewise.
24636 (CFLAGS-fgetgrent_r.c): Likewise.
24637 (CFLAGS-putgrent.c): Likewise.
24638 (CFLAGS-initgroups.c): Likewise.
24639 (CFLAGS-getgrgid.c): Likewise.
24640 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
24641 (CFLAGS-getsgent.c): Likewise.
24642 (CFLAGS-fgetsgent.c): Likewise.
24643 (CFLAGS-fgetsgent_r.c): Likewise.
24644 (CFLAGS-putsgent.c): Likewise.
24645 (CFLAGS-getsgnam.c): Likewise.
24646 (CFLAGS-getsgnam_r.c): Likewise.
24647 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
24648 (CFLAGS-iconv_charmap.c): Likewise.
24649 (CFLAGS-dummy-repertoire.c): Likewise.
24650 (CFLAGS-charmap.c): Likewise.
24651 (CFLAGS-linereader.c): Likewise.
24652 (CFLAGS-simple-hash.c): Likewise.
24653 (CFLAGS-gconv_conf.c): Likewise.
24654 (CFLAGS-iconvconfig.c): Likewise.
24655 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24656 (CFLAGS-gethstbyad.c): Likewise.
24657 (CFLAGS-gethstbynm_r.c): Likewise.
24658 (CFLAGS-gethstbynm.c): Likewise.
24659 (CFLAGS-gethstbynm2_r.c): Likewise.
24660 (CFLAGS-gethstbynm2.c): Likewise.
24661 (CFLAGS-gethstent_r.c): Likewise.
24662 (CFLAGS-gethstent.c): Likewise.
24663 (CFLAGS-rcmd.c): Likewise.
24664 (CFLAGS-getnetbynm_r.c): Likewise.
24665 (CFLAGS-getnetbynm.c): Likewise.
24666 (CFLAGS-getnetbyad_r.c): Likewise.
24667 (CFLAGS-getnetbyad.c): Likewise.
24668 (CFLAGS-getnetent_r.c): Likewise.
24669 (CFLAGS-getnetent.c): Likewise.
24670 (CFLAGS-getaliasent_r.c): Likewise.
24671 (CFLAGS-getaliasent.c): Likewise.
24672 (CFLAGS-getrpcent_r.c): Likewise.
24673 (CFLAGS-getrpcent.c): Likewise.
24674 (CFLAGS-getservent_r.c): Likewise.
24675 (CFLAGS-getservent.c): Likewise.
24676 (CFLAGS-getprtent_r.c): Likewise.
24677 (CFLAGS-getprtent.c): Likewise.
24678 (CFLAGS-either_ntoh.c): Likewise.
24679 (CFLAGS-either_hton.c): Likewise.
24680 (CFLAGS-getnetgrent.c): Likewise.
24681 (CFLAGS-getnetgrent_r.c): Likewise.
24682 (CFLAGS-tst-checks-posix.c): Likewise.
24683 (CFLAGS-tst-sockaddr.c): Likewise.
24684 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
24685 (CFLAGS-tst-translit.c): Likewise.
24686 (CFLAGS-tst-gettext2.c): Likewise.
24687 (CFLAGS-tst-codeset.c): Likewise.
24688 (CFLAGS-tst-gettext3.c): Likewise.
24689 (CFLAGS-tst-gettext4.c): Likewise.
24690 (CFLAGS-tst-gettext5.c): Likewise.
24691 (CFLAGS-tst-gettext6.c): Likewise.
24692 * io/Makefile (CFLAGS-open.c): Likewise.
24693 (CFLAGS-open64.c): Likewise.
24694 (CFLAGS-creat.c): Likewise.
24695 (CFLAGS-creat64.c): Likewise.
24696 (CFLAGS-fcntl.c): Likewise.
24697 (CFLAGS-poll.c): Likewise.
24698 (CFLAGS-ppoll.c): Likewise.
24699 (CFLAGS-lockf.c): Likewise.
24700 (CFLAGS-statfs.c): Likewise.
24701 (CFLAGS-fstatfs.c): Likewise.
24702 (CFLAGS-statvfs.c): Likewise.
24703 (CFLAGS-fstatvfs.c): Likewise.
24704 (CFLAGS-fts.c): Likewise.
24705 (CFLAGS-fts64.c): Likewise.
24706 (CFLAGS-ftw.c): Likewise.
24707 (CFLAGS-ftw64.c): Likewise.
24708 (CFLAGS-lockf.c): Likewise.
24709 (CFLAGS-posix_fallocate.c): Likewise.
24710 (CFLAGS-posix_fallocate64.c): Likewise.
24711 (CFLAGS-fallocate.c): Likewise.
24712 (CFLAGS-fallocate64.c): Likewise.
24713 (CFLAGS-read.c): Likewise.
24714 (CFLAGS-write.c): Likewise.
24715 (CFLAGS-test-stat.c): Likewise.
24716 (CFLAGS-test-lfs.c): Likewise.
24717 * libio/Makefile (CFLAGS-fileops.c): Likewise.
24718 (CFLAGS-fputc.c): Likewise.
24719 (CFLAGS-fputwc.c): Likewise.
24720 (CFLAGS-freopen64.c): Likewise.
24721 (CFLAGS-freopen.c): Likewise.
24722 (CFLAGS-fseek.c): Likewise.
24723 (CFLAGS-fseeko64.c): Likewise.
24724 (CFLAGS-fseeko.c): Likewise.
24725 (CFLAGS-ftello64.c): Likewise.
24726 (CFLAGS-ftello.c): Likewise.
24727 (CFLAGS-fwide.c): Likewise.
24728 (CFLAGS-genops.c): Likewise.
24729 (CFLAGS-getc.c): Likewise.
24730 (CFLAGS-getchar.c): Likewise.
24731 (CFLAGS-getwc.c): Likewise.
24732 (CFLAGS-getwchar.c): Likewise.
24733 (CFLAGS-iofclose.c): Likewise.
24734 (CFLAGS-iofflush.c): Likewise.
24735 (CFLAGS-iofgetpos64.c): Likewise.
24736 (CFLAGS-iofgetpos.c): Likewise.
24737 (CFLAGS-iofgets.c): Likewise.
24738 (CFLAGS-iofgetws.c): Likewise.
24739 (CFLAGS-iofputs.c): Likewise.
24740 (CFLAGS-iofputws.c): Likewise.
24741 (CFLAGS-iofread.c): Likewise.
24742 (CFLAGS-iofsetpos64.c): Likewise.
24743 (CFLAGS-iofsetpos.c): Likewise.
24744 (CFLAGS-ioftell.c): Likewise.
24745 (CFLAGS-iofwrite.c): Likewise.
24746 (CFLAGS-iogetdelim.c): Likewise.
24747 (CFLAGS-iogetline.c): Likewise.
24748 (CFLAGS-iogets.c): Likewise.
24749 (CFLAGS-iogetwline.c): Likewise.
24750 (CFLAGS-ioputs.c): Likewise.
24751 (CFLAGS-ioseekoff.c): Likewise.
24752 (CFLAGS-ioseekpos.c): Likewise.
24753 (CFLAGS-iosetbuffer.c): Likewise.
24754 (CFLAGS-iosetvbuf.c): Likewise.
24755 (CFLAGS-ioungetc.c): Likewise.
24756 (CFLAGS-ioungetwc.c): Likewise.
24757 (CFLAGS-oldfileops.c): Likewise.
24758 (CFLAGS-oldiofclose.c): Likewise.
24759 (CFLAGS-oldiofgetpos64.c): Likewise.
24760 (CFLAGS-oldiofgetpos.c): Likewise.
24761 (CFLAGS-oldiofsetpos64.c): Likewise.
24762 (CFLAGS-oldiofsetpos.c): Likewise.
24763 (CFLAGS-peekc.c): Likewise.
24764 (CFLAGS-putc.c): Likewise.
24765 (CFLAGS-putchar.c): Likewise.
24766 (CFLAGS-putwc.c): Likewise.
24767 (CFLAGS-putwchar.c): Likewise.
24768 (CFLAGS-rewind.c): Likewise.
24769 (CFLAGS-wfileops.c): Likewise.
24770 (CFLAGS-wgenops.c): Likewise.
24771 (CFLAGS-oldiofopen.c): Likewise.
24772 (CFLAGS-iofopen.c): Likewise.
24773 (CFLAGS-iofopen64.c): Likewise.
24774 (CFLAGS-oldtmpfile.c): Likewise.
24775 (CFLAGS-tst_putwc.c): Likewise.
24776 * locale/Makefile (CFLAGS-md5.c): Likewise.
24777 (CFLAGS-charmap.c): Likewise.
24778 (CFLAGS-locfile.c): Likewise.
24779 (CFLAGS-charmap-dir.c): Likewise.
24780 * login/Makefile (CFLAGS-grantpt.c): Likewise.
24781 (CFLAGS-getpt.c): Likewise.
24782 (CFLAGS-pt_chown.c): Likewise.
24783 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
24784 (CFLAGS-obstack.c): Likewise.
24785 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
24786 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
24787 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
24788 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
24789 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
24790 (CFLAGS-test-tgmath.c): Likewise.
24791 (CFLAGS-test-tgmath2.c): Likewise.
24792 (CFLAGS-test-tgmath-ret.c): Likewise.
24793 (CFLAGS-test-powl.c): Likewise.
24794 (CFLAGS-test-snan.c): Likewise.
24795 (CFLAGS-test-signgam-finite.c): Likewise.
24796 (CFLAGS-test-signgam-finite-c99.c): Likewise.
24797 (CFLAGS-test-signgam-finite-c11.c): Likewise.
24798 (CFLAGS-test-signgam-uchar.c): Likewise.
24799 (CFLAGS-test-signgam-uchar-init.c): Likewise.
24800 (CFLAGS-test-signgam-uchar-static.c): Likewise.
24801 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24802 (CFLAGS-test-signgam-uint.c): Likewise.
24803 (CFLAGS-test-signgam-uint-init.c): Likewise.
24804 (CFLAGS-test-signgam-uint-static.c): Likewise.
24805 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24806 (CFLAGS-test-signgam-ullong.c): Likewise.
24807 (CFLAGS-test-signgam-ullong-init.c): Likewise.
24808 (CFLAGS-test-signgam-ullong-static.c): Likewise.
24809 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24810 (CFLAGS-test-math-cxx11.cc): Likewise.
24811 (CFLAGS-test-math-isinff.cc): Likewise.
24812 (CFLAGS-test-math-iszero.cc): Likewise.
24813 (CFLAGS-test-math-issignaling.cc): Likewise.
24814 (CFLAGS-test-math-iscanonical.cc): Likewise.
24815 (CFLAGS-test-iszero-excess-precision.c): Likewise.
24816 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
24817 (CFLAGS-test-flt-eval-method.c): Likewise.
24818 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
24819 (CFLAGS-test-finite-macros.c): Likewise.
24820 * misc/Makefile (CFLAGS-select.c): Likewise.
24821 (CFLAGS-tsearch.c): Likewise.
24822 (CFLAGS-lsearch.c): Likewise.
24823 (CFLAGS-pselect.c): Likewise.
24824 (CFLAGS-readv.c): Likewise.
24825 (CFLAGS-writev.c): Likewise.
24826 (CFLAGS-preadv.c): Likewise.
24827 (CFLAGS-preadv64.c): Likewise.
24828 (CFLAGS-pwritev.c): Likewise.
24829 (CFLAGS-pwritev64.c): Likewise.
24830 (CFLAGS-preadv2.c): Likewise.
24831 (CFLAGS-preadv64v2.c): Likewise.
24832 (CFLAGS-pwritev2.c): Likewise.
24833 (CFLAGS-pwritev64v2.c): Likewise.
24834 (CFLAGS-usleep.c): Likewise.
24835 (CFLAGS-syslog.c): Likewise.
24836 (CFLAGS-error.c): Likewise.
24837 (CFLAGS-getpass.c): Likewise.
24838 (CFLAGS-mkstemp.c): Likewise.
24839 (CFLAGS-mkstemp64.c): Likewise.
24840 (CFLAGS-getsysstats.c): Likewise.
24841 (CFLAGS-getusershell.c): Likewise.
24842 (CFLAGS-err.c): Likewise.
24843 (CFLAGS-tst-tsearch.c): Likewise.
24844 (CFLAGS-msync.c): Likewise.
24845 (CFLAGS-fdatasync.c): Likewise.
24846 (CFLAGS-fsync.c): Likewise.
24847 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
24848 (CFLAGS-unwind.c): Likewise.
24849 (CFLAGS-unwind-forcedunwind.c): Likewise.
24850 (CFLAGS-pthread_cancel.c): Likewise.
24851 (CFLAGS-pthread_setcancelstate.c): Likewise.
24852 (CFLAGS-pthread_setcanceltype.c): Likewise.
24853 (CFLAGS-cancellation.c): Likewise.
24854 (CFLAGS-libc-cancellation.c): Likewise.
24855 (CFLAGS-pthread_exit.c): Likewise.
24856 (CFLAGS-forward.c): Likewise.
24857 (CFLAGS-pthread_testcancel.c): Likewise.
24858 (CFLAGS-pthread_join.c): Likewise.
24859 (CFLAGS-pthread_timedjoin.c): Likewise.
24860 (CFLAGS-pthread_once.c): Likewise.
24861 (CFLAGS-pthread_cond_wait.c): Likewise.
24862 (CFLAGS-sem_wait.c): Likewise.
24863 (CFLAGS-sem_timedwait.c): Likewise.
24864 (CFLAGS-fcntl.c): Likewise.
24865 (CFLAGS-lockf.c): Likewise.
24866 (CFLAGS-pread.c): Likewise.
24867 (CFLAGS-pread64.c): Likewise.
24868 (CFLAGS-pwrite.c): Likewise.
24869 (CFLAGS-pwrite64.c): Likewise.
24870 (CFLAGS-wait.c): Likewise.
24871 (CFLAGS-waitpid.c): Likewise.
24872 (CFLAGS-sigwait.c): Likewise.
24873 (CFLAGS-msgrcv.c): Likewise.
24874 (CFLAGS-msgsnd.c): Likewise.
24875 (CFLAGS-tcdrain.c): Likewise.
24876 (CFLAGS-open.c): Likewise.
24877 (CFLAGS-open64.c): Likewise.
24878 (CFLAGS-pause.c): Likewise.
24879 (CFLAGS-recv.c): Likewise.
24880 (CFLAGS-send.c): Likewise.
24881 (CFLAGS-accept.c): Likewise.
24882 (CFLAGS-sendto.c): Likewise.
24883 (CFLAGS-connect.c): Likewise.
24884 (CFLAGS-recvfrom.c): Likewise.
24885 (CFLAGS-recvmsg.c): Likewise.
24886 (CFLAGS-sendmsg.c): Likewise.
24887 (CFLAGS-close.c): Likewise.
24888 (CFLAGS-read.c): Likewise.
24889 (CFLAGS-write.c): Likewise.
24890 (CFLAGS-nanosleep.c): Likewise.
24891 (CFLAGS-sigsuspend.c): Likewise.
24892 (CFLAGS-msync.c): Likewise.
24893 (CFLAGS-fdatasync.c): Likewise.
24894 (CFLAGS-fsync.c): Likewise.
24895 (CFLAGS-pt-system.c): Likewise.
24896 (CFLAGS-tst-cleanup2.c): Likewise.
24897 (CFLAGS-tst-cleanupx2.c): Likewise.
24898 (CFLAGS-flockfile.c): Likewise.
24899 (CFLAGS-ftrylockfile.c): Likewise.
24900 (CFLAGS-funlockfile.c): Likewise.
24901 (CFLAGS-tst-initializers1.c): Likewise.
24902 (CFLAGS-tst-initializers1-c89.c): Likewise.
24903 (CFLAGS-tst-initializers1-c99.c): Likewise.
24904 (CFLAGS-tst-initializers1-c11.c): Likewise.
24905 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
24906 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
24907 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24908 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
24909 (CFLAGS-nscd_getgr_r.c): Likewise.
24910 (CFLAGS-nscd_gethst_r.c): Likewise.
24911 (CFLAGS-nscd_getai.c): Likewise.
24912 (CFLAGS-nscd_initgroups.c): Likewise.
24913 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
24914 (CFLAGS-pause.c): Likewise.
24915 (CFLAGS-pread.c): Likewise.
24916 (CFLAGS-pread64.c): Likewise.
24917 (CFLAGS-pwrite.c): Likewise.
24918 (CFLAGS-pwrite64.c): Likewise.
24919 (CFLAGS-sleep.c): Likewise.
24920 (CFLAGS-wait.c): Likewise.
24921 (CFLAGS-waitid.c): Likewise.
24922 (CFLAGS-waitpid.c): Likewise.
24923 (CFLAGS-getopt.c): Likewise.
24924 (CFLAGS-wordexp.c): Likewise.
24925 (CFLAGS-sysconf.c): Likewise.
24926 (CFLAGS-pathconf.c): Likewise.
24927 (CFLAGS-fpathconf.c): Likewise.
24928 (CFLAGS-spawn.c): Likewise.
24929 (CFLAGS-spawnp.c): Likewise.
24930 (CFLAGS-spawni.c): Likewise.
24931 (CFLAGS-glob.c): Likewise.
24932 (CFLAGS-glob64.c): Likewise.
24933 (CFLAGS-getconf.c): Likewise.
24934 (CFLAGS-nanosleep.c): Likewise.
24935 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
24936 (CFLAGS-getpwent.c): Likewise.
24937 (CFLAGS-getpw.c): Likewise.
24938 (CFLAGS-fgetpwent_r.c): Likewise.
24939 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
24940 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
24941 (CFLAGS-mq_timedreceive.c): Likewise.
24942 (CFLAGS-mq_timedsend.c): Likewise.
24943 (CFLAGS-clock_nanosleep.c): Likewise.
24944 (CFLAGS-librt-cancellation.c): Likewise.
24945 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
24946 (CFLAGS-getspent.c): Likewise.
24947 (CFLAGS-fgetspent.c): Likewise.
24948 (CFLAGS-fgetspent_r.c): Likewise.
24949 (CFLAGS-putspent.c): Likewise.
24950 (CFLAGS-getspnam.c): Likewise.
24951 (CFLAGS-getspnam_r.c): Likewise.
24952 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
24953 (CFLAGS-sigsuspend.c): Likewise.
24954 (CFLAGS-sigtimedwait.c): Likewise.
24955 (CFLAGS-sigwait.c): Likewise.
24956 (CFLAGS-sigwaitinfo.c): Likewise.
24957 (CFLAGS-sigreturn.c): Likewise.
24958 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24959 (CFLAGS-vfwprintf.c): Likewise.
24960 (CFLAGS-tmpfile.c): Likewise.
24961 (CFLAGS-tmpfile64.c): Likewise.
24962 (CFLAGS-tempname.c): Likewise.
24963 (CFLAGS-psignal.c): Likewise.
24964 (CFLAGS-vprintf.c): Likewise.
24965 (CFLAGS-cuserid.c): Likewise.
24966 (CFLAGS-errlist.c): Likewise.
24967 (CFLAGS-siglist.c): Likewise.
24968 (CFLAGS-scanf15.c): Likewise.
24969 (CFLAGS-scanf17.c): Likewise.
24970 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
24971 (CFLAGS-msort.c): Likewise.
24972 (CFLAGS-qsort.c): Likewise.
24973 (CFLAGS-system.c): Likewise.
24974 (CFLAGS-fmtmsg.c): Likewise.
24975 (CFLAGS-strfmon.c): Likewise.
24976 (CFLAGS-strfmon_l.c): Likewise.
24977 (CFLAGS-strfromd.c): Likewise.
24978 (CFLAGS-strfromf.c): Likewise.
24979 (CFLAGS-strfroml.c): Likewise.
24980 (CFLAGS-tst-bsearch.c): Likewise.
24981 (CFLAGS-tst-qsort.c): Likewise.
24982 (CFLAGS-tst-makecontext2.c): Likewise.
24983 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
24984 (CFLAGS-xnlm_prot.c): Likewise.
24985 (CFLAGS-xrstat.c): Likewise.
24986 (CFLAGS-xyppasswd.c): Likewise.
24987 (CFLAGS-xklm_prot.c): Likewise.
24988 (CFLAGS-xrex.c): Likewise.
24989 (CFLAGS-xsm_inter.c): Likewise.
24990 (CFLAGS-xmount.c): Likewise.
24991 (CFLAGS-xrusers.c): Likewise.
24992 (CFLAGS-xspray.c): Likewise.
24993 (CFLAGS-xnfs_prot.c): Likewise.
24994 (CFLAGS-xrquota.c): Likewise.
24995 (CFLAGS-xkey_prot.c): Likewise.
24996 (CFLAGS-auth_unix.c): Likewise.
24997 (CFLAGS-key_call.c): Likewise.
24998 (CFLAGS-pmap_rmt.c): Likewise.
24999 (CFLAGS-clnt_perr.c): Likewise.
25000 (CFLAGS-openchild.c): Likewise.
25001 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
25002 (CFLAGS-msgsnd.c): Likewise.
25003 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
25004 * time/Makefile (CFLAGS-tzfile.c): Likewise.
25005 (CFLAGS-tzset.c): Likewise.
25006 (CFLAGS-getdate.c): Likewise.
25007 (CFLAGS-test_time.c): Likewise.
25008 (CPPFLAGS-tst-tzname.c): Likewise.
25009 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
25010 (CFLAGS-zic.c): Likewise.
25011 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
25012 (CFLAGS-wcswidth.c): Likewise.
25013 (CFLAGS-wcstol.c): Likewise.
25014 (CFLAGS-wcstoul.c): Likewise.
25015 (CFLAGS-wcstoll.c): Likewise.
25016 (CFLAGS-wcstoull.c): Likewise.
25017 (CFLAGS-wcstod.c): Likewise.
25018 (CFLAGS-wcstold.c): Likewise.
25019 (CFLAGS-wcstof128.c): Likewise.
25020 (CFLAGS-wcstof.c): Likewise.
25021 (CFLAGS-wcstol_l.c): Likewise.
25022 (CFLAGS-wcstoul_l.c): Likewise.
25023 (CFLAGS-wcstoll_l.c): Likewise.
25024 (CFLAGS-wcstoull_l.c): Likewise.
25025 (CFLAGS-wcstod_l.c): Likewise.
25026 (CFLAGS-wcstold_l.c): Likewise.
25027 (CFLAGS-wcstof128_l.c): Likewise.
25028 (CFLAGS-wcstof_l.c): Likewise.
25029 (CPPFLAGS-tst-wchar-h.c): Likewise.
25030 (CPPFLAGS-wcstold_l.c): Likewise.
25031
25032 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
25033
25034 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
25035
25036 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25037 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25038
25039 * manual/tunables.texi (Hardware Capability Tunables): Document
25040 glibc.tune.cached_memopt.
25041 * sysdeps/powerpc/cpu-features.c: New file.
25042 * sysdeps/powerpc/cpu-features.h: New file.
25043 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
25044 _dl_powerpc_cpu_features.
25045 * sysdeps/powerpc/dl-tunables.list: New file.
25046 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
25047 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25048 (INIT_ARCH): Initialize use_aligned_memopt.
25049 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
25050 IS_IN(rtld))]: Restrict dl_platform_init availability and
25051 initialize CPU features used by tunables.
25052 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
25053 Add memcpy-power8-cached.
25054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
25055 __memcpy_power8_cached.
25056 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25057 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
25058 New file.
25059
25060 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
25061
25062 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
25063 (CFLAGS-noinl-tester.c): Likewise.
25064 (CFLAGS-tst-strlen.c): Likewise.
25065 (CFLAGS-stratcliff.c): Likewise.
25066 (CFLAGS-test-ffs.c): Likewise.
25067 (CFLAGS-tst-inlcall.c): Likewise.
25068 (CFLAGS-tst-xbzero-opt.c): Likewise.
25069 (CFLAGS-memcpy.c): Likewise.
25070 (CFLAGS-wordcopy.c): Likewise.
25071
25072 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25073
25074 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
25075 Store r15 on stack and add cfi rule.
25076 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
25077 Likewise.
25078
25079 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
25080
25081 [BZ #22577]
25082 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
25083 call.
25084
25085 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25086
25087 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25088 Add s_sinf-sse2 and s_sinf-fma.
25089 (CFLAGS-s_sinf-fma.c): New.
25090 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
25091 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
25092 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
25093
25094 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
25095
25096 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
25097
25098 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25099
25100 [BZ #22568]
25101 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
25102 part of result to imaginary part of argument if it is zero and the
25103 real part of the argument is not finite.
25104 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
25105 of result to real part of argument if it is zero and the imaginary
25106 part of the argument is not finite.
25107
25108 2017-12-07 Mike FABIAN <mfabian@redhat.com>
25109
25110 [BZ #22524]
25111 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
25112 and to the list of locales to be built for testing.
25113 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
25114 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
25115 and build the collation rules upon that.
25116
25117 2017-12-07 Joseph Myers <joseph@codesourcery.com>
25118
25119 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
25120 * manual/math.texi (Mathematics): Document support for _Float32.
25121 * math/Makefile (test-types): Add float32.
25122 * math/Versions (GLIBC_2.27): Add _Float32 functions.
25123 * stdlib/Versions (GLIBC_2.27): Likewise.
25124 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25125 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25126 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25127 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25128 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25129 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25130 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25131 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25132 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25133 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25134 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25135 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25136 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25137 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25138 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25139 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25140 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25141 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25142 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25143 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25144 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25145 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25146 Likewise.
25147 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25148 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25149 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25150 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25151 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25153 Likewise.
25154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25155 Likewise.
25156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25157 Likewise.
25158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25159 Likewise.
25160
25161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25162 Likewise.
25163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25164 Likewise.
25165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25166 Likewise.
25167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25168 Likewise.
25169 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25170 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25171 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25172 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25173 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25174 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25175 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25176 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25177 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25178 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25179 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25180 Likewise.
25181 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25182 Likewise.
25183 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25184 Likewise.
25185 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25186 Likewise.
25187 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25188 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25189 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25190 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25191 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25192 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25193 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25194 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25195
25196 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25197
25198 * stdlib/strtof.c: Include <bits/floatn.h>
25199 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
25200 and later undefine as macro. Define as weak alias if
25201 [!USE_WIDE_CHAR].
25202 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
25203 and later undefine as macro. Define as weak alias if
25204 [USE_WIDE_CHAR].
25205 * stdlib/strtof_l.c: Include <bits/floatn.h>
25206 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
25207 and later undefine as macro. Define as weak alias if
25208 [!USE_WIDE_CHAR].
25209 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
25210 and later undefine as macro. Define as weak alias if
25211 [USE_WIDE_CHAR].
25212
25213 * stdlib/strfromf.c: Include <bits/floatn.h>.
25214 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
25215 and later undefine as macro and define as weak alias.
25216
25217 * math/test-float32.h: New file.
25218
25219 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
25220 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
25221 (libm_alias_float_other_r): Create f32 alias.
25222 (libm_alias_float_r): Use semicolon before call to
25223 libm_alias_float_other_r.
25224
25225 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
25226 second argument to libm_alias_float_other.
25227 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
25228 second argument to libm_alias_float_other.
25229 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
25230 argument to libm_alias_float_other.
25231
25232 [BZ #22561]
25233 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
25234 real part of result for argument 0 + i * NaN.
25235 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
25236 results for tests of 0 + i * NaN.
25237
25238 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25239
25240 * sysdeps/alpha/fpu/libm-test-ulps: Update.
25241
25242 2017-12-06 David S. Miller <davem@davemloft.net>
25243
25244 * sysdeps/sparc/fpu/libm-test-ulps: Update
25245 exp_{downward,towardzero,upward} ulps.
25246
25247 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25248
25249 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
25250 variables static.
25251
25252 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
25253 (Y0_2D): Likewise.
25254 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
25255 (Y0_2D): Likewise.
25256 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
25257 (Y0_2D): Likewise.
25258 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
25259 (Y0_2D): Likewise.
25260
25261 2017-12-06 Mike FABIAN <mfabian@redhat.com>
25262
25263 [BZ #22515]
25264 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
25265 and to the list of locales to be built for testing.
25266 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
25267 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
25268 and build the collation rules upon that.
25269
25270 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25271
25272 * NEWS: Add sinf to list of optimized functions.
25273
25274 2017-12-06 Joseph Myers <joseph@codesourcery.com>
25275
25276 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
25277 (__HAVE_FLOAT32X): Likewise.
25278 * manual/math.texi (Mathematics): Document support for _Float64
25279 and _Float32x.
25280 * math/Makefile (test-types): Add float64 and float32x.
25281 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
25282 functions.
25283 * stdlib/Versions (GLIBC_2.27): Likewise.
25284 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25285 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25286 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25287 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25288 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25289 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25290 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25291 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25292 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25293 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25294 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25295 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25296 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25297 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25298 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25299 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25300 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25301 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25302 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25303 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25304 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25305 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25306 Likewise.
25307 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25308 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25309 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25310 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25311 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25313 Likewise.
25314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25315 Likewise.
25316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25317 Likewise.
25318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25319 Likewise.
25320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25321 Likewise.
25322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25323 Likewise.
25324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25325 Likewise.
25326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25327 Likewise.
25328 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25329 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25330 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25331 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25332 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25333 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25334 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25335 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25336 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25337 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25339 Likewise.
25340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25341 Likewise.
25342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25343 Likewise.
25344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25345 Likewise.
25346 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25347 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25348 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25349 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25350 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25351 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25352 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25353 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25354
25355 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25356
25357 * bits/floatn-common.h: Include <bits/long-double.h>.
25358 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25359 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
25360 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25361 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
25362 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25363 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
25364 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25365 (__builtin_huge_valf64): Use __builtin_huge_vall.
25366 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25367 (__builtin_inff64): Use __builtin_infl.
25368 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25369 (__builtin_nanf64): Use __builtin_nanl.
25370 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25371 (__builtin_nansf64): Use __builtin_nansl.
25372
25373 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
25374 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25375 Carlos O'Donell <carlos@redhat.com>
25376
25377 * elf/dl-tunables.list: Add elision parameters.
25378 * manual/tunables.texi: Add entries about elision tunable.
25379 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
25380 Add callback functions to dynamically enable/disable elision.
25381 Add multiple callbacks functions to set elision parameters.
25382 Deleted __libc_enable_secure check.
25383 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
25384 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
25385 * configure: Regenerated.
25386 * configure.ac: Option enable_lock_elision was deleted.
25387 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
25388 * config.make.in: Remove references to enable_lock_elision.
25389 * manual/install.texi: Elision configure option was removed.
25390 * INSTALL: Regenerated to remove enable_lock_elision.
25391 * nptl/Makefile:
25392 Disable elision so it can verify error case for destroying a mutex.
25393 * sysdeps/powerpc/nptl/elide.h:
25394 Cleanup ENABLE_LOCK_ELISION check.
25395 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
25396 * sysdeps/s390/configure: Regenerated.
25397 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
25398 * nptl/tst-mutex8.c:
25399 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
25400 * sysdeps/powerpc/powerpc32/sysdep.h:
25401 Deleted all ENABLE_LOCK_ELISION checks.
25402 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25403 * sysdeps/powerpc/sysdep.h: Likewise.
25404 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
25405 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
25406 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25407 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25408 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25409 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
25410 enable-lock-elision.
25411
25412 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25413
25414 * stdlib/strtod.c: Include <bits/floatn.h>.
25415 (BUILD_DOUBLE): New macro.
25416 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25417 (strtof64): Define and later undefine as macro. Define as weak
25418 alias if [!USE_WIDE_CHAR].
25419 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25420 (wcstof64): Define and later undefine as macro. Define as weak
25421 alias if [USE_WIDE_CHAR].
25422 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25423 (strtof32x): Define and later undefine as macro. Define as weak
25424 alias if [!USE_WIDE_CHAR].
25425 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25426 (wcstof32x): Define and later undefine as macro. Define as weak
25427 alias if [USE_WIDE_CHAR].
25428 * stdlib/strtod_l.c: Include <bits/floatn.h>.
25429 (BUILD_DOUBLE): New macro.
25430 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25431 (strtof64_l): Define and later undefine as macro. Define as weak
25432 alias if [!USE_WIDE_CHAR].
25433 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25434 (wcstof64_l): Define and later undefine as macro. Define as weak
25435 alias if [USE_WIDE_CHAR].
25436 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25437 (strtof32x_l): Define and later undefine as macro. Define as weak
25438 alias if [!USE_WIDE_CHAR].
25439 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25440 (wcstof32x_l): Define and later undefine as macro. Define as weak
25441 alias if [USE_WIDE_CHAR].
25442
25443 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25444
25445 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
25446 (reduced): Use ones as double instead of integer.
25447
25448 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
25449
25450 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
25451
25452 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25453
25454 * stdlib/strfromd.c: Include <bits/floatn.h>.
25455 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
25456 and later undefine as macro and define as weak alias.
25457 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
25458 Likewise.
25459
25460 * math/test-float32x.h: New file.
25461 * math/test-float64.h: Likewise.
25462
25463 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
25464 (libm_alias_double_other_r_f64): New macro.
25465 (libm_alias_double_other_r_f32x): Likewise.
25466 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25467 libm_alias_double_other_r_f32x.
25468 (libm_alias_double_r): Use semicolon before call to
25469 libm_alias_double_other_r.
25470 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
25471 <bits/floatn.h>.
25472 (libm_alias_double_other_r_f64): New macro.
25473 (libm_alias_double_other_r_f32x): Likewise.
25474 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25475 libm_alias_double_other_r_f32x.
25476
25477 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
25478
25479 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
25480 int.
25481 (SINF_FUNC): Likewise. Replace floor with simple casts.
25482
25483 2017-12-05 Mike FABIAN <mfabian@redhat.com>
25484
25485 [BZ #22517]
25486 * localedata/Makefile: Add et_EE.UTF-8 to test-input
25487 and to the list of locales to be built for testing.
25488 * localedata/et_EE.UTF-8.in: New file for testing the collation.
25489 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
25490 and build the collation rules upon that.
25491
25492 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
25493
25494 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
25495 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
25496 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
25497 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
25498 instead of __insn__xxx.
25499 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
25500 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
25501 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
25502 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
25503 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
25504 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
25505
25506 2017-12-05 Florian Weimer <fweimer@redhat.com>
25507
25508 Linux: Implement interfaces for memory protection keys
25509 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
25510 xsignal, xsysconf.
25511 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
25512 * support/xunistd.h (xsysconf): Declare.
25513 * support/xraise.c: New file.
25514 * support/xsigaction.c: Likewise.
25515 * support/xsignal.c: Likewise.
25516 * support/xsysconf.c: Likewise.
25517 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
25518 pkey_set, pkey_get, pkey_mprotect.
25519 [misc] (tests): Add tst-pkey.
25520 (tst-pkey): Link with -lpthread.
25521 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
25522 pkey_free, pkey_set, pkey_get, pkey_mprotect.
25523 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
25524 (PKEY_DISABLE_WRITE): Define.
25525 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
25526 Declare.
25527 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
25528 (SEGV_PKUERR): Add.
25529 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
25530 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
25531 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
25532 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
25533 Add.
25534 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
25535 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
25536 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
25537 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
25538 * sysdeps/unix/sysv/linux/**.abilist: Update.
25539
25540 2017-12-05 Florian Weimer <fweimer@redhat.com>
25541
25542 * support/tst-test_compare.c (subprocess): Use long long instead
25543 of long argument for consistent type width across 32-bit and
25544 64-bit architectures.
25545 (do_test): Adjust expected output.
25546
25547 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25548
25549 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
25550 (cosf): Define using libm_alias_float.
25551 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
25552 (fabsf): Define using libm_alias_float.
25553 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
25554 (fmaf): Define using libm_alias_float.
25555 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
25556 (rintf): Define using libm_alias_float.
25557 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
25558 (sinf): Define using libm_alias_float.
25559 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
25560 <libm-alias-float.h>.
25561 (modff): Define using libm_alias_float.
25562 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
25563 <libm-alias-float.h>.
25564 (logbf): Define using libm_alias_float.
25565 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
25566 <libm-alias-float.h>.
25567 (ceilf): Define using libm_alias_float.
25568 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25569 <libm-alias-float.h>.
25570 (copysignf): Define using libm_alias_float.
25571 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
25572 <libm-alias-float.h>.
25573 (floorf): Define using libm_alias_float.
25574 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25575 <libm-alias-float.h>.
25576 (llrintf): Define using libm_alias_float.
25577 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25578 <libm-alias-float.h>.
25579 (llroundf): Define using libm_alias_float.
25580 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25581 <libm-alias-float.h>.
25582 (lrintf): Define using libm_alias_float.
25583 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25584 <libm-alias-float.h>.
25585 (lroundf): Define using libm_alias_float.
25586 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
25587 <libm-alias-float.h>.
25588 (nearbyintf): Define using libm_alias_float.
25589 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
25590 <libm-alias-float.h>.
25591 (rintf): Define using libm_alias_float.
25592 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
25593 <libm-alias-float.h>.
25594 (roundf): Define using libm_alias_float.
25595 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
25596 <libm-alias-float.h>.
25597 (truncf): Define using libm_alias_float.
25598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
25599 Include <libm-alias-float.h>.
25600 (ceilf): Define using libm_alias_float.
25601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
25602 Include <libm-alias-float.h>.
25603 (copysignf): Define using libm_alias_float.
25604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
25605 Include <libm-alias-float.h>.
25606 (floorf): Define using libm_alias_float.
25607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
25608 Include <libm-alias-float.h>.
25609 (llrintf): Define using libm_alias_float.
25610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
25611 Include <libm-alias-float.h>.
25612 (llroundf): Define using libm_alias_float.
25613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
25614 Include <libm-alias-float.h>.
25615 (logbf): Define using libm_alias_float.
25616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
25617 Include <libm-alias-float.h>.
25618 (lrintf): Define using libm_alias_float.
25619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
25620 Include <libm-alias-float.h>.
25621 (lroundf): Define using libm_alias_float.
25622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
25623 Include <libm-alias-float.h>.
25624 (modff): Define using libm_alias_float.
25625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
25626 Include <libm-alias-float.h>.
25627 (roundf): Define using libm_alias_float.
25628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
25629 Include <libm-alias-float.h>.
25630 (truncf): Define using libm_alias_float.
25631 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
25632 <libm-alias-float.h>.
25633 (llrintf): Define using libm_alias_float.
25634 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25635 <libm-alias-float.h>.
25636 (llroundf): Define using libm_alias_float.
25637 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
25638 <libm-alias-float.h>.
25639 (ceilf): Define using libm_alias_float.
25640 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
25641 <libm-alias-float.h>.
25642 (floorf): Define using libm_alias_float.
25643 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25644 <libm-alias-float.h>.
25645 (llroundf): Define using libm_alias_float.
25646 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25647 <libm-alias-float.h>.
25648 (lroundf): Define using libm_alias_float.
25649 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
25650 <libm-alias-float.h>.
25651 (roundf): Define using libm_alias_float.
25652 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
25653 <libm-alias-float.h>.
25654 (truncf): Define using libm_alias_float.
25655 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25656 <libm-alias-float.h>.
25657 (copysignf): Define using libm_alias_float.
25658 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
25659 <libm-alias-float.h>.
25660 (llrintf): Define using libm_alias_float.
25661 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25662 <libm-alias-float.h>.
25663 (llroundf): Define using libm_alias_float.
25664 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25665 <libm-alias-float.h>.
25666 (lrintf): Define using libm_alias_float.
25667 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25668 <libm-alias-float.h>.
25669 (lroundf): Define using libm_alias_float.
25670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
25671 <libm-alias-float.h>.
25672 (ceilf): Define using libm_alias_float.
25673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
25674 <libm-alias-float.h>.
25675 (copysignf): Define using libm_alias_float.
25676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
25677 <libm-alias-float.h>.
25678 (cosf): Define using libm_alias_float.
25679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
25680 <libm-alias-float.h>.
25681 (floorf): Define using libm_alias_float.
25682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
25683 <libm-alias-float.h>.
25684 (llrintf): Define using libm_alias_float.
25685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
25686 <libm-alias-float.h>.
25687 (llroundf): Define using libm_alias_float.
25688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
25689 <libm-alias-float.h>.
25690 (logbf): Define using libm_alias_float.
25691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
25692 <libm-alias-float.h>.
25693 (modff): Define using libm_alias_float.
25694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
25695 <libm-alias-float.h>.
25696 (roundf): Define using libm_alias_float.
25697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
25698 <libm-alias-float.h>.
25699 (sinf): Define using libm_alias_float.
25700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
25701 <libm-alias-float.h>.
25702 (truncf): Define using libm_alias_float.
25703 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
25704 <libm-alias-float.h>.
25705 (ceilf): Define using libm_alias_float.
25706 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25707 <libm-alias-float.h>.
25708 (copysignf): Define using libm_alias_float.
25709 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
25710 <libm-alias-float.h>.
25711 (floorf): Define using libm_alias_float.
25712 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25713 <libm-alias-float.h>.
25714 (llrintf): Define using libm_alias_float.
25715 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
25716 <libm-alias-float.h>.
25717 (llroundf): Define using libm_alias_float.
25718 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
25719 <libm-alias-float.h>.
25720 (nearbyintf): Define using libm_alias_float.
25721 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
25722 <libm-alias-float.h>.
25723 (rintf): Define using libm_alias_float.
25724 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
25725 <libm-alias-float.h>.
25726 (roundf): Define using libm_alias_float.
25727 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
25728 <libm-alias-float.h>.
25729 (truncf): Define using libm_alias_float.
25730 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
25731 <libm-alias-float.h>.
25732 (ceilf): Define using libm_alias_float.
25733 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
25734 <libm-alias-float.h>.
25735 (floorf): Define using libm_alias_float.
25736 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25737 <libm-alias-float.h>.
25738 (llroundf): Define using libm_alias_float.
25739 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
25740 <libm-alias-float.h>.
25741 (roundf): Define using libm_alias_float.
25742 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
25743 <libm-alias-float.h>.
25744 (truncf): Define using libm_alias_float.
25745 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25746 <libm-alias-float.h>.
25747 (copysignf): Define using libm_alias_float.
25748 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25749 <libm-alias-float.h>.
25750 (llrintf): Define using libm_alias_float.
25751 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25752 <libm-alias-float.h>.
25753 (llroundf): Define using libm_alias_float.
25754 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
25755 <libm-alias-float.h>.
25756 (cosf): Define using libm_alias_float.
25757 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25758 <libm-alias-float.h>.
25759 (llrintf): Define using libm_alias_float.
25760 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25761 <libm-alias-float.h>.
25762 (llroundf): Define using libm_alias_float.
25763 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
25764 <libm-alias-float.h>.
25765 (sinf): Define using libm_alias_float.
25766
25767 2017-12-04 Florian Weimer <fweimer@redhat.com>
25768
25769 * support/check.h (TEST_COMPARE): Define.
25770 (support_test_compare_failure): Declare.
25771 * support/Makefile (libsupport-routines): Add
25772 support_test_compare_failure.
25773 (tests): Add tst-test_compare.
25774 * support /support_test_compare_failure.c: New file.
25775 * support/tst-test_compare.c: Likewise.
25776
25777 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25778
25779 [BZ #22527]
25780 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
25781 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
25782 available, this rewrite of the collation rules does reproduce
25783 the test file in the same order.
25784
25785 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25786
25787 [BZ #10580]
25788 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
25789 digraphs in the month and day names. Using single code points for
25790 digraphs is deprecated. While there are dedicated Unicode
25791 codepoints, for the digraphs, these are included for backwards
25792 compatibility and modern texts use a sequence of Basic Latin
25793 characters. See: https://www.unicode.org/faq/ligature_digraph.html
25794 This makes the month and day names agree exactly with CLDR now,
25795 CLDR does not use the single code points for the digraphs either.
25796
25797 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
25798
25799 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
25800
25801 2017-12-04 Joseph Myers <joseph@codesourcery.com>
25802
25803 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
25804 of floor.
25805
25806 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
25807
25808 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
25809 Define only for libc.so.
25810
25811 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
25812
25813 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25814 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
25815 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
25816 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
25817 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25818
25819 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25820
25821 [BZ #5997]
25822 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
25823
25824 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
25825
25826 [BZ libc/19170]
25827 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
25828 PREINIT_FUNCTION_WEAK is nonzero.
25829 (gmon_initializer): New function. Put procedure label for it in
25830 .init_array section.
25831 (_init): Don't call PREINIT_FUNCTION.
25832 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
25833 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
25834 value when map argument is null.
25835
25836 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
25837 depi instruction from PIC pc-relative sequence.
25838 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
25839 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
25840 (elf_machine_load_address): Likewise.
25841 (elf_machine_runtime_setup): Likewise.
25842
25843 2017-12-02 Joseph Myers <joseph@codesourcery.com>
25844
25845 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
25846 <libm-alias-double.h>.
25847 (logb): Define using libm_alias_double.
25848 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25849 <libm-alias-double.h>.
25850 (copysign): Define using libm_alias_double.
25851 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
25852 <libm-alias-double.h>.
25853 (llrint): Define using libm_alias_double.
25854 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
25855 <libm-alias-double.h>.
25856 (llround): Define using libm_alias_double.
25857 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25858 <libm-alias-double.h>.
25859 (lrint): Define using libm_alias_double.
25860 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25861 <libm-alias-double.h>.
25862 (lround): Define using libm_alias_double.
25863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25864 Include <libm-alias-double.h>.
25865 (copysign): Define using libm_alias_double.
25866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
25867 Include <libm-alias-double.h>.
25868 (llrint): Define using libm_alias_double.
25869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
25870 Include <libm-alias-double.h>.
25871 (llround): Define using libm_alias_double.
25872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
25873 <libm-alias-double.h>.
25874 (logb): Define using libm_alias_double.
25875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
25876 Include <libm-alias-double.h>.
25877 (lrint): Define using libm_alias_double.
25878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
25879 Include <libm-alias-double.h>.
25880 (lround): Define using libm_alias_double.
25881 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
25882 <libm-alias-double.h>.
25883 (llrint): Define using libm_alias_double.
25884 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25885 <libm-alias-double.h>.
25886 (llround): Define using libm_alias_double.
25887 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25888 <libm-alias-double.h>.
25889 (llround): Define using libm_alias_double.
25890 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25891 <libm-alias-double.h>.
25892 (lround): Define using libm_alias_double.
25893 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25894 <libm-alias-double.h>.
25895 (copysign): Define using libm_alias_double.
25896 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
25897 <libm-alias-double.h>.
25898 (llrint): Define using libm_alias_double.
25899 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25900 <libm-alias-double.h>.
25901 (llround): Define using libm_alias_double.
25902 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25903 <libm-alias-double.h>.
25904 (lrint): Define using libm_alias_double.
25905 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25906 <libm-alias-double.h>.
25907 (lround): Define using libm_alias_double.
25908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
25909 <libm-alias-double.h>.
25910 (copysign): Define using libm_alias_double.
25911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
25912 <libm-alias-double.h>.
25913 (llrint): Define using libm_alias_double.
25914 (lrint): Likewise.
25915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
25916 <libm-alias-double.h>.
25917 (llround): Define using libm_alias_double.
25918 (lround): Likewise.
25919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
25920 <libm-alias-double.h>.
25921 (logb): Define using libm_alias_double.
25922 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25923 <libm-alias-double.h>.
25924 (copysign): Define using libm_alias_double.
25925 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25926 <libm-alias-double.h>.
25927 (llrint): Define using libm_alias_double.
25928 (lrint): Likewise.
25929 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
25930 <libm-alias-double.h>.
25931 (llround): Define using libm_alias_double.
25932 (lround): Likewise.
25933 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25934 <libm-alias-double.h>.
25935 (llround): Define using libm_alias_double.
25936 (lround): Likewise.
25937 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25938 <libm-alias-double.h>.
25939 (copysign): Define using libm_alias_double.
25940 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25941 <libm-alias-double.h>.
25942 (llrint): Define using libm_alias_double.
25943 (lrint): Likewise.
25944 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25945 <libm-alias-double.h>.
25946 (llround): Define using libm_alias_double.
25947 (lround): Likewise.
25948 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25949 <libm-alias-double.h>.
25950 (llrint): Define using libm_alias_double.
25951 (lrint): Likewise.
25952 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25953 <libm-alias-double.h>.
25954 (llround): Define using libm_alias_double.
25955 (lround): Likewise.
25956
25957 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25958
25959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25960 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
25961 compat symbol based on llround.
25962
25963 * sysdeps/powerpc/power7/fpu/s_logb.c
25964 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
25965 symbol based on __logb, not on logb.
25966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
25967 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
25969 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25970
25971 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
25972 (rint): Define using libm_alias_double.
25973 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
25974 <libm-alias-double.h>.
25975 (modf): Define using libm_alias_double.
25976 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
25977 <libm-alias-double.h>.
25978 (ceil): Define using libm_alias_double.
25979 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
25980 <libm-alias-double.h>.
25981 (floor): Define using libm_alias_double.
25982 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
25983 <libm-alias-double.h>.
25984 (nearbyint): Define using libm_alias_double.
25985 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
25986 <libm-alias-double.h>.
25987 (rint): Define using libm_alias_double.
25988 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
25989 <libm-alias-double.h>.
25990 (round): Define using libm_alias_double.
25991 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
25992 <libm-alias-double.h>.
25993 (trunc): Define using libm_alias_double.
25994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
25995 <libm-alias-double.h>.
25996 (ceil): Define using libm_alias_double.
25997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
25998 Include <libm-alias-double.h>.
25999 (floor): Define using libm_alias_double.
26000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
26001 <libm-alias-double.h>.
26002 (modf): Define using libm_alias_double.
26003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
26004 Include <libm-alias-double.h>.
26005 (round): Define using libm_alias_double.
26006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
26007 Include <libm-alias-double.h>.
26008 (trunc): Define using libm_alias_double.
26009 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
26010 <libm-alias-double.h>.
26011 (ceil): Define using libm_alias_double.
26012 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
26013 <libm-alias-double.h>.
26014 (floor): Define using libm_alias_double.
26015 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
26016 <libm-alias-double.h>.
26017 (round): Define using libm_alias_double.
26018 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
26019 <libm-alias-double.h>.
26020 (trunc): Define using libm_alias_double.
26021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
26022 <libm-alias-double.h>.
26023 (ceil): Define using libm_alias_double.
26024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
26025 <libm-alias-double.h>.
26026 (floor): Define using libm_alias_double.
26027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
26028 <libm-alias-double.h>.
26029 (modf): Define using libm_alias_double.
26030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
26031 <libm-alias-double.h>.
26032 (round): Define using libm_alias_double.
26033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
26034 <libm-alias-double.h>.
26035 (trunc): Define using libm_alias_double.
26036 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
26037 <libm-alias-double.h>.
26038 (ceil): Define using libm_alias_double.
26039 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
26040 <libm-alias-double.h>.
26041 (floor): Define using libm_alias_double.
26042 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
26043 <libm-alias-double.h>.
26044 (nearbyint): Define using libm_alias_double.
26045 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
26046 <libm-alias-double.h>.
26047 (rint): Define using libm_alias_double.
26048 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
26049 <libm-alias-double.h>.
26050 (round): Define using libm_alias_double.
26051 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
26052 <libm-alias-double.h>.
26053 (trunc): Define using libm_alias_double.
26054 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
26055 <libm-alias-double.h>.
26056 (ceil): Define using libm_alias_double.
26057 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
26058 <libm-alias-double.h>.
26059 (floor): Define using libm_alias_double.
26060 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
26061 <libm-alias-double.h>.
26062 (round): Define using libm_alias_double.
26063 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
26064 <libm-alias-double.h>.
26065 (trunc): Define using libm_alias_double.
26066
26067 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
26068 (fabs): Define using libm_alias_double.
26069 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
26070 (fma): Define using libm_alias_double.
26071 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
26072 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
26073 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
26074 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
26075
26076 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26077
26078 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
26079
26080 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
26081 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
26082 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26083
26084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
26085 due redirect macro.
26086
26087 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
26088
26089 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
26090
26091 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26092
26093 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
26094 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
26095 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
26096 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
26097
26098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26099 (libm-sysdep_routines): Add s_nearbyintf-generic and
26100 s_nearbyint-generic.
26101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
26102 New file.
26103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
26104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
26105 Likewise.
26106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
26107 Likewise.
26108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
26109 file.
26110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26111 Likewise.
26112
26113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26114 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
26115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
26116 file.
26117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
26118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
26119 Likewise.
26120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
26121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
26122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26123
26124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26125 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
26126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
26127 file.
26128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
26129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
26130 Likewise.
26131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
26132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
26133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
26134
26135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26136 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
26137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
26138 file.
26139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
26140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
26141 Likewise.
26142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
26143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
26144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26145
26146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26147 (sysdep_calls): New rule.
26148 (sysdep_routines): Use sysdep_calls as base.
26149 (libm-sysdep_routines): Add generic rule for symbols shared with
26150 libc. Add s_copysign-generic and s_copysign-generic objects.
26151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
26152 New file.
26153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
26154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
26155 Likewise.
26156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
26157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
26158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
26159
26160 2017-12-01 Mike FABIAN <mfabian@redhat.com>
26161
26162 [BZ #22519]
26163 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
26164 the list of locales to be built for testing.
26165 * localedata/is_IS.UTF-8.in: New file.
26166 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
26167 on iso14651_t1.
26168
26169 2017-12-01 Joseph Myers <joseph@codesourcery.com>
26170
26171 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
26172 <libm-alias-float.h>.
26173 (fabsf): Define using libm_alias_float.
26174
26175 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26176
26177 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
26178
26179 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26180
26181 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
26182 <libm-alias-float.h>.
26183 (fabsf): Define using libm_alias_float.
26184 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
26185 <libm-alias-float.h>.
26186 (lrintf): Define using libm_alias_float.
26187 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
26188 <libm-alias-float.h>.
26189 (rintf): Define using libm_alias_float.
26190
26191 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
26192 <libm-alias-double.h>.
26193 (fabs): Define using libm_alias_double.
26194 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
26195 <libm-alias-double.h>.
26196 (lrint): Define using libm_alias_double.
26197 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
26198 <libm-alias-double.h>.
26199 (rint): Define using libm_alias_double.
26200
26201 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
26202 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
26203 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
26204 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
26205 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
26206 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
26207 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
26208 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
26209 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
26210 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
26211 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
26212 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
26213 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
26214 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
26215 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
26216 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
26217 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
26218 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
26219 s_atan_template.c.
26220 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
26221 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
26222 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
26223 s_ceil_template.c.
26224 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
26225 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
26226 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
26227 s_cos_template.c.
26228 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
26229 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
26230 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
26231 s_expm1_template.c.
26232 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
26233 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
26234 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
26235 s_fabs_template.c.
26236 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
26237 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
26238 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
26239 s_floor_template.c.
26240 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
26241 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
26242 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
26243 s_frexp_template.c.
26244 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
26245 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
26246 s_lrint_template.c.
26247 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
26248 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
26249 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
26250 s_modf_template.c.
26251 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
26252 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
26253 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
26254 s_nearbyint_template.c.
26255 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
26256 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
26257 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
26258 s_remquo_template.c.
26259 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
26260 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
26261 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
26262 s_rint_template.c.
26263 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
26264 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
26265 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
26266 s_sin_template.c.
26267 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
26268 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
26269 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
26270 s_sincos_template.c.
26271 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
26272 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
26273 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
26274 s_tan_template.c.
26275 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
26276 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
26277 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
26278 s_tanh_template.c.
26279 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
26280 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
26281 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
26282 s_trunc_template.c.
26283 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
26284 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
26285 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
26286 s_atan.c instead of including s_atan.c.
26287 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
26288 s_atanf.c instead of including s_atanf.c.
26289 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
26290 s_atanl.c instead of including s_atanl.c.
26291 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
26292 instead of s_atan.c.
26293 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
26294 instead of s_atanf.c.
26295 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
26296 instead of s_atanl.c.
26297
26298 * scripts/update-copyrights: Do not handle intl/plural.c
26299 specially.
26300
26301 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
26302
26303 [BZ #22432]
26304 * configure.ac (BISON): Require to be present.
26305 * configure: Regenerated.
26306 * intl/Makefile (generated): Add plural.c.
26307 [$(BISON) != no]: Make code unconditional.
26308 (plural.c): Change rule to $(objpfx)plural.c.
26309 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
26310 * intl/plural.c: Remove.
26311 * manual/install.texi (Tools for Compilation): Document bison as
26312 required.
26313 * INSTALL: Regenerated.
26314
26315 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26316
26317 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
26318 <libm-alias-double.h>.
26319 (llrint): Define using libm_alias_double.
26320 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
26321 <libm-alias-float.h>.
26322 (llrintf): Define using libm_alias_float.
26323 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
26324 <libm-alias-ldouble.h>.
26325 (llrintl): Define using libm_alias_ldouble.
26326
26327 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
26328 declare_mgen_alias instead of weak_alias.
26329 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
26330 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
26331 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
26332
26333 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26334
26335 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26336 Add add_n-generic.
26337 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
26338 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
26339 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
26340
26341 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26342 Add submul_1-generic.
26343 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
26344 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
26345 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
26346
26347 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26348 Add addmul_1-generic.
26349 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
26350 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
26351 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
26352
26353 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26354 Add sub_n-generic.
26355 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
26356 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
26357 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
26358
26359 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26360 Add mul_1-generic.
26361 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
26362 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
26363 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
26364
26365 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26366
26367 According to CLDR, collation rules for Serbian and Bosnian
26368 should be the same as for Croatian.
26369
26370 [BZ #22534]
26371 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
26372 and to the list of locales to be built for testing.
26373 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26374 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26375 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
26376 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
26377
26378 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26379
26380 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
26381 to make test case pass.
26382 * localedata/hr_HR.UTF-8.in: Add more test strings.
26383
26384 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26385
26386 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
26387
26388 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26389
26390 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
26391 the list of locales to built for testing.
26392 * localedata/hr_HR.UTF-8.in: New file.
26393
26394 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26395
26396 [BZ #10580]
26397 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
26398 iso14651_t1.
26399 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
26400 CLDR (except use ligatures for the digraphs, CLDR does not use
26401 the ligatures), add first_workday, some fixes in the date and time
26402 formats.
26403 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
26404 for Đ and đ.
26405 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
26406 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
26407 Add int_p_cs_precedes and int_n_cs_precedes.
26408 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
26409 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
26410 LC_MONETARY now).
26411 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
26412 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
26413 name_miss.
26414 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
26415 and lang_lib. Change postal_fmt.
26416
26417 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26418
26419 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
26420 <setjmp.h>.
26421 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26422 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
26423 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26424 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
26425 * sysdeps/generic/setjmpP.h: New file.
26426 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
26427 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
26428 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
26429 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
26430 Add jmp_buf-ssp.sym.
26431 (tests): Add tst-saved_mask-1.
26432
26433 2017-11-30 Arjun Shankar <arjun@redhat.com>
26434
26435 [BZ #22375]
26436 CVE-2017-17426
26437 * malloc/malloc.c (__libc_malloc): Use checked_request2size
26438 instead of request2size.
26439
26440 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26441
26442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
26443 (__lllrint): Remove alias.
26444 (lllrint): Likewise.
26445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
26446 (__lllrintf): Likewise.
26447 (lllrintf): Likewise.
26448
26449 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
26450 <libm-alias-float.h>.
26451 (copysignf): Define using libm_alias_float.
26452 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
26453 <libm-alias-float.h>.
26454 (fabsf): Define using libm_alias_float.
26455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26456 Include <libm-alias-float.h>.
26457 (copysignf): Define using libm_alias_float.
26458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
26459 <libm-alias-float.h>.
26460 (fabsf): Define using libm_alias_float.
26461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
26462 <libm-alias-float.h>.
26463 (fdimf): Define using libm_alias_float.
26464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
26465 <libm-alias-float.h>.
26466 (fmaf): Define using libm_alias_float.
26467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
26468 <libm-alias-float.h>.
26469 (llrintf): Define using libm_alias_float.
26470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26471 Include <libm-alias-float.h>.
26472 (nearbyintf): Define using libm_alias_float.
26473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
26474 <libm-alias-float.h>.
26475 (rintf): Define using libm_alias_float.
26476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
26477 <libm-alias-float.h>.
26478 (llrintf): Define using libm_alias_float.
26479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
26480 <libm-alias-float.h>.
26481 (lrintf): Define using libm_alias_float.
26482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
26483 <libm-alias-float.h>.
26484 (nearbyintf): Define using libm_alias_float.
26485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
26486 <libm-alias-float.h>.
26487 (rintf): Define using libm_alias_float.
26488 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
26489 <libm-alias-float.h>.
26490 (ceilf): Define using libm_alias_float.
26491 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
26492 <libm-alias-float.h>.
26493 (floorf): Define using libm_alias_float.
26494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
26495 <libm-alias-float.h>.
26496 (fmaf): Define using libm_alias_float.
26497 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
26498 <libm-alias-float.h>.
26499 (lrintf): Define using libm_alias_float.
26500 (llrintf): Likewise.
26501 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
26502 <libm-alias-float.h>.
26503 (nearbyintf): Define using libm_alias_float.
26504 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
26505 <libm-alias-float.h>.
26506 (rintf): Define using libm_alias_float.
26507 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
26508 <libm-alias-float.h>.
26509 (truncf): Define using libm_alias_float.
26510 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
26511 <libm-alias-float.h>.
26512 (copysignf): Define using libm_alias_float.
26513 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
26514 <libm-alias-float.h>.
26515 (fabsf): Define using libm_alias_float.
26516 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
26517 <libm-alias-float.h>.
26518 (lrintf): Define using libm_alias_float.
26519 (llrintf): Likewise.
26520 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
26521 <libm-alias-float.h>.
26522 (nearbyintf): Define using libm_alias_float.
26523 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
26524 <libm-alias-float.h>.
26525 (rintf): Define using libm_alias_float.
26526
26527 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26528
26529 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26530 <libm-alias-double.h>.
26531 (copysign): Define using libm_alias_double.
26532 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
26533 <libm-alias-double.h>.
26534 (fabs): Define using libm_alias_double.
26535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26536 Include <libm-alias-double.h>.
26537 (copysign): Define using libm_alias_double.
26538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26539 <libm-alias-double.h>.
26540 (fabs): Define using libm_alias_double.
26541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
26542 <libm-alias-double.h>.
26543 (fdim): Define using libm_alias_double.
26544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
26545 <libm-alias-double.h>.
26546 (fma): Define using libm_alias_double.
26547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
26548 <libm-alias-double.h>.
26549 (llrint): Define using libm_alias_double.
26550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
26551 Include <libm-alias-double.h>.
26552 (nearbyint): Define using libm_alias_double.
26553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
26554 <libm-alias-double.h>.
26555 (rint): Define using libm_alias_double.
26556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26557 <libm-alias-double.h>.
26558 (fabs): Define using libm_alias_double.
26559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
26560 <libm-alias-double.h>.
26561 (llrint): Define using libm_alias_double.
26562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
26563 <libm-alias-double.h>.
26564 (nearbyint): Define using libm_alias_double.
26565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
26566 <libm-alias-double.h>.
26567 (rint): Define using libm_alias_double.
26568 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
26569 <libm-alias-double.h>.
26570 (ceil): Define using libm_alias_double.
26571 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
26572 <libm-alias-double.h>.
26573 (floor): Define using libm_alias_double.
26574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
26575 <libm-alias-double.h>.
26576 (fma): Define using libm_alias_double.
26577 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
26578 <libm-alias-double.h>.
26579 (lrint): Define using libm_alias_double.
26580 (llrint): Likewise.
26581 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
26582 <libm-alias-double.h>.
26583 (nearbyint): Define using libm_alias_double.
26584 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
26585 <libm-alias-double.h>.
26586 (rint): Define using libm_alias_double.
26587 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
26588 <libm-alias-double.h>.
26589 (trunc): Define using libm_alias_double.
26590 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
26591 <libm-alias-double.h>.
26592 (copysign): Define using libm_alias_double.
26593 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
26594 <libm-alias-double.h>.
26595 (fabs): Define using libm_alias_double.
26596 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
26597 <libm-alias-double.h>.
26598 (lrint): Define using libm_alias_double.
26599 (llrint): Likewise.
26600 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
26601 <libm-alias-double.h>.
26602 (nearbyint): Define using libm_alias_double.
26603 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
26604 <libm-alias-double.h>.
26605 (rint): Define using libm_alias_double.
26606
26607 [BZ #22229]
26608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26609 <math_ldbl_opt.h>.
26610 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26611
26612 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
26613 SPARC --disable-multi-arch glibc variants.
26614
26615 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
26616 <libm-alias-float.h>.
26617 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26618 if [SHARED].
26619 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
26620 <libm-alias-float.h>.
26621 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26622 if [SHARED].
26623 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
26624 <libm-alias-float.h>.
26625 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26626 if [SHARED].
26627 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
26628 <libm-alias-float.h>.
26629 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26630 if [SHARED].
26631 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
26632 <libm-alias-float.h>.
26633 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26634 if [SHARED].
26635 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
26636 <libm-alias-float.h>.
26637 (ceilf): Define using libm_alias_float.
26638 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
26639 <libm-alias-float.h>.
26640 (floorf): Define using libm_alias_float.
26641 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
26642 <libm-alias-float.h>.
26643 (fmaf): Define using libm_alias_float.
26644 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
26645 <libm-alias-float.h>.
26646 (nearbyintf): Define using libm_alias_float.
26647 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
26648 <libm-alias-float.h>.
26649 (rintf): Define using libm_alias_float.
26650 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
26651 <libm-alias-float.h>.
26652 (truncf): Define using libm_alias_float.
26653 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26654 (copysignf): Define using libm_alias_float.
26655 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
26656 (cosf): Define using libm_alias_float.
26657 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26658 (fabsf): Define using libm_alias_float.
26659 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26660 (fmaxf): Define using libm_alias_float.
26661 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
26662 (fminf): Define using libm_alias_float.
26663 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26664 (llrintf): Define using libm_alias_float.
26665 [!__ILP32__] (lrintf): Likewise.
26666 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
26667 (sincosf): Define using libm_alias_float.
26668 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
26669 (sinf): Define using libm_alias_float.
26670 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26671 (lrintf): Define using libm_alias_float.
26672
26673 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
26674 <libm-alias-double.h>.
26675 (atan): Define using libm_alias_double.
26676 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
26677 <libm-alias-double.h>.
26678 (ceil): Define using libm_alias_double.
26679 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
26680 <libm-alias-double.h>.
26681 (floor): Define using libm_alias_double.
26682 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
26683 <libm-alias-double.h>.
26684 (fma): Define using libm_alias_double.
26685 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
26686 <libm-alias-double.h>.
26687 (nearbyint): Define using libm_alias_double.
26688 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
26689 <libm-alias-double.h>.
26690 (rint): Define using libm_alias_double.
26691 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
26692 <libm-alias-double.h>.
26693 (sin): Define using libm_alias_double.
26694 (cos): Likewise.
26695 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
26696 <libm-alias-double.h>.
26697 (tan): Define using libm_alias_double.
26698 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
26699 <libm-alias-double.h>.
26700 (trunc): Define using libm_alias_double.
26701 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
26702 (copysign): Define using libm_alias_double.
26703 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
26704 (fabs): Define using libm_alias_double.
26705 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
26706 (fmax): Define using libm_alias_double.
26707 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
26708 (fmin): Define using libm_alias_double.
26709 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
26710 (llrint): Define using libm_alias_double.
26711 [!__ILP32__] (lrint): Likewise.
26712 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
26713 (lrint): Define using libm_alias_double.
26714
26715 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26716
26717 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26718 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
26719 objects.
26720 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
26721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
26722 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
26723 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
26724 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
26725 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26726
26727 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26728 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
26729 objects.
26730 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
26731 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
26732 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
26733 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
26734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
26735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26736
26737 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26738 (libm-sysdep_routines): Add s_nearbyint-generic and
26739 s_nearbyintf-generic objects.
26740 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
26741 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
26742 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
26743 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
26744 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
26745 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
26746
26747 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26748 Add s_finitef-generic and s_finite-generic objects.
26749 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
26750 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
26751 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
26752 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
26753 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
26754 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
26755
26756 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26757 Add s_isinff-generic and s_isinf-generic objects.
26758 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
26759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
26760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
26761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
26762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
26763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26764
26765 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26766 Add s_isnanf-generic and s_isnan-generic objects.
26767 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
26768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
26769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
26770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
26771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
26772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26773
26774 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
26775 macro.
26776 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
26777 rule.
26778 (sysdep_routines): Use sysdep_calls as base.
26779 (libm-sysdep_routines): Add generic rule for symbols shared with
26780 libc. Add s_signbit-generic and s_signbitf-generic objects.
26781 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
26782 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
26783 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
26784 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
26785 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
26786 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26787
26788 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26789
26790 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
26791 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
26792 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
26793 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
26794 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
26795 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
26796 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
26797 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
26798 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
26799 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
26800 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
26801 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
26802 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
26803 libm_alias_float_r.
26804 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
26805 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
26806 (logf): Likewise.
26807 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
26808 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
26809 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
26810 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
26811 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
26812 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
26813 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
26814 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
26815 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
26816 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
26817 libm_alias_float.
26818 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
26819 (cosf): Likewise.
26820 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
26821 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
26822 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
26823 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
26824 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
26825 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
26826 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
26827 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
26828 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
26829 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
26830 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
26831 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
26832 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
26833 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
26834 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
26835 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
26836 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
26837 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
26838 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
26839 libm_alias_float.
26840 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
26841 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
26842 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
26843 * sysdeps/ia64/fpu/w_lgammaf_main.c
26844 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
26845 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
26846
26847 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26848 Alexandre Oliva <aoliva@redhat.com>
26849
26850 [BZ #17750]
26851 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
26852 * localedata/fr_CA.UTF-8.in: New file with test data for backward
26853 accents sorting.
26854 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
26855 sorting.
26856 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
26857 * localedata/locales/de_DE (LC_COLLATE): Likewise.
26858 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
26859 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
26860 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
26861 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
26862 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
26863 instead of “ifdef DIACRIT_BACKWARD”.
26864
26865 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26866
26867 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
26868 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
26869 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
26870 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
26871 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
26872 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
26873 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
26874 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
26875 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
26876 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
26877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
26878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
26879 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
26880 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
26881 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
26882 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26883 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
26884 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
26885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26886 ($(have-as-vis3) == yes): Remove conditional.
26887 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
26888 Likewise.
26889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
26890 file.
26891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
26892 file.
26893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
26894 file.
26895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
26896 file.
26897 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
26898 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
26899 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
26900 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
26901 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
26902 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
26903 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
26904 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
26905
26906 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26907
26908 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
26909 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
26910 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
26911 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
26912 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
26913 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
26914 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
26915 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
26916 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
26917 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
26918 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
26919 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
26920 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
26921 libm_alias_double_r.
26922 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
26923 (log): Likewise.
26924 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
26925 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
26926 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
26927 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
26928 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
26929 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
26930 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
26931 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
26932 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
26933 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
26934 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
26935 libm_alias_double.
26936 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
26937 (cos): Likewise.
26938 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
26939 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
26940 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
26941 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
26942 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
26943 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
26944 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
26945 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
26946 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
26947 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
26948 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
26949 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
26950 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
26951 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
26952 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
26953 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
26954 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
26955 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
26956 libm_alias_double.
26957 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
26958 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
26959 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
26960 * sysdeps/ia64/fpu/w_lgamma_main.c
26961 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
26962 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
26963
26964 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
26965
26966 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
26967 address of $global$ into %dp register earlier. Use pc-relative
26968 instruction sequence for PIC case.
26969
26970 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26971
26972 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
26973 (asinhf): Define using libm_alias_float.
26974 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
26975 (atanf): Define using libm_alias_float.
26976 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
26977 (cbrtf): Define using libm_alias_float.
26978 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
26979 (ceilf): Define using libm_alias_float.
26980 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26981 (copysignf): Define using libm_alias_float.
26982 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
26983 (expm1f): Define using libm_alias_float.
26984 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
26985 (fabsf): Define using libm_alias_float.
26986 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
26987 (floorf): Define using libm_alias_float.
26988 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26989 (fmaxf): Define using libm_alias_float.
26990 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
26991 (fminf): Define using libm_alias_float.
26992 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
26993 (frexpf): Define using libm_alias_float.
26994 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26995 (llrintf): Define using libm_alias_float.
26996 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
26997 (logbf): Define using libm_alias_float.
26998 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26999 (lrintf): Define using libm_alias_float.
27000 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
27001 (nearbyintf): Define using libm_alias_float.
27002 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
27003 (remquof): Define using libm_alias_float.
27004 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
27005 (rintf): Define using libm_alias_float.
27006 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
27007 (truncf): Define using libm_alias_float.
27008 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
27009 <libm-alias-float.h>.
27010 (exp2f): Define using libm_alias_float, or libm_alias_float_other
27011 if [SHARED].
27012 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
27013 <libm-alias-float.h>.
27014 (expf): Define using libm_alias_float, or libm_alias_float_other
27015 if [SHARED].
27016 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
27017 <libm-alias-float.h>.
27018 (log2f): Define using libm_alias_float, or libm_alias_float_other
27019 if [SHARED].
27020 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
27021 <libm-alias-float.h>.
27022 (logf): Define using libm_alias_float, or libm_alias_float_other
27023 if [SHARED].
27024 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
27025 <libm-alias-float.h>.
27026 (powf): Define using libm_alias_float, or libm_alias_float_other
27027 if [SHARED].
27028 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
27029 <libm-alias-float.h>.
27030 (cosf): Define using libm_alias_float.
27031 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
27032 <libm-alias-float.h>.
27033 (sincosf): Define using libm_alias_float.
27034 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
27035 <libm-alias-float.h>.
27036 (sinf): Define using libm_alias_float.
27037 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
27038 (fmaxf): Define using libm_alias_float.
27039 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
27040 (fminf): Define using libm_alias_float.
27041 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27042 <libm-alias-float.h>.
27043 (fmaf): Define using libm_alias_float.
27044
27045 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
27046 (asinh): Define using libm_alias_double.
27047 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
27048 (atan): Define using libm_alias_double.
27049 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
27050 (cbrt): Define using libm_alias_double.
27051 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
27052 (ceil): Define using libm_alias_double.
27053 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
27054 (copysign): Define using libm_alias_double.
27055 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
27056 (expm1): Define using libm_alias_double.
27057 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
27058 (fabs): Define using libm_alias_double.
27059 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
27060 (fdim): Define using libm_alias_double.
27061 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
27062 (floor): Define using libm_alias_double.
27063 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
27064 (fmax): Define using libm_alias_double.
27065 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
27066 (fmin): Define using libm_alias_double.
27067 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
27068 (frexp): Define using libm_alias_double.
27069 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
27070 (llrint): Define using libm_alias_double.
27071 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
27072 (logb): Define using libm_alias_double.
27073 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
27074 (lrint): Define using libm_alias_double.
27075 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
27076 (nearbyint): Define using libm_alias_double.
27077 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
27078 (remquo): Define using libm_alias_double.
27079 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
27080 (rint): Define using libm_alias_double.
27081 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
27082 (trunc): Define using libm_alias_double.
27083 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
27084 (fmax): Define using libm_alias_double.
27085 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
27086 (fmin): Define using libm_alias_double.
27087 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
27088 (fma): Define using libm_alias_double.
27089
27090 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
27091
27092 [BZ #22370]
27093 * elf/dl-hwcaps.c (ROUND): Removed.
27094 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
27095 and ELF_NOTE_NEXT_OFFSET.
27096 * elf/dl-load.c (ROUND): Removed.
27097 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27098 * elf/readelflib.c (ROUND): Removed.
27099 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
27100 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
27101 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
27102 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
27103
27104 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27105
27106 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27107 [!__fmaf] (fmaf): Define using libm_alias_float.
27108
27109 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
27110 [!__fma] (fma): Define using libm_alias_double.
27111 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
27112
27113 2017-11-28 Mike FABIAN <mfabian@redhat.com>
27114
27115 [BZ #22336]
27116 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
27117 and implement the collation rules for cs from CLDR on top of that.
27118 * Makefile: Add cs_CZ.UTF-8 to test-input.
27119 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
27120
27121 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
27122
27123 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
27124
27125 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27126 Icarus Sparry <icarus.w.sparry@intel.com>
27127
27128 * benchtests/Makefile:Add BENCHSET to allow subsets of
27129 benchmarks to be run.
27130 * benchtests/README: Add documentation for: Running subsets of
27131 benchmarks.
27132
27133 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
27134
27135 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
27136 range of tests names.
27137
27138 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
27139 result from property and remove "max", min" and "mean" from
27140 required properties based on benchtests/bench-skeleton.c.
27141
27142 2017-11-28 Florian Weimer <fweimer@redhat.com>
27143
27144 [BZ #20826]
27145 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
27146 due to Internet requirement.
27147 * posix/Makefile (tests): Remove tst-getaddrinfo4,
27148 tst-getaddrinfo5.
27149 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
27150
27151 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27152
27153 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27154 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
27155 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27156 (sysdep_routines): Add memset-ultra1.
27157 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
27158 file.
27159 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
27160 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
27161 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
27162 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
27163 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
27164 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
27165 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
27166 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27167
27168 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
27169 file.
27170 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
27171 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
27172 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
27173 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
27174 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
27175 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
27176 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
27177 macro.
27178 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
27179 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
27180 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
27181 (sysdep_routines): Add memcpy-ultra1.
27182 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
27183 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
27184
27185 2017-11-28 Joseph Myers <joseph@codesourcery.com>
27186
27187 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
27188 (cfloat_versions): Take function argument without trailing 'f'.
27189 Call libm_alias_float_other.
27190 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
27191 * sysdeps/alpha/fpu/cargf.c: Likewise.
27192 * sysdeps/alpha/fpu/cimagf.c: Likewise.
27193 * sysdeps/alpha/fpu/conjf.c: Likewise.
27194 * sysdeps/alpha/fpu/crealf.c: Likewise.
27195 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
27196 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
27197 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
27198 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
27199 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
27200 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
27201 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
27202 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
27203 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
27204 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
27205 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
27206 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
27207 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
27208 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
27209 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
27210 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
27211 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
27212 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
27213 (clog10f): Use libm_alias_float_other.
27214 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27215 (ceilf): Define using libm_alias_float.
27216 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
27217 (copysignf): Define using libm_alias_float.
27218 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
27219 (fabsf): Define using libm_alias_float.
27220 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
27221 (floorf): Define using libm_alias_float.
27222 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
27223 (fmaxf): Define using libm_alias_float.
27224 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
27225 (fminf): Define using libm_alias_float.
27226 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27227 (lrintf): Define using libm_alias_float.
27228 (llrintf): Likewise.
27229 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27230 (lroundf): Define using libm_alias_float.
27231 (llroundf): Likewise.
27232 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
27233 (rintf): Define using libm_alias_float.
27234 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
27235 (truncf): Define using libm_alias_float.
27236
27237 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
27238 (ceilf): Define using libm_alias_float.
27239 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
27240 (floorf): Define using libm_alias_float.
27241 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
27242 (fmaf): Define using libm_alias_float.
27243 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
27244 (fmaxf): Define using libm_alias_float.
27245 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
27246 (fminf): Define using libm_alias_float.
27247 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
27248 (llrintf): Define using libm_alias_float.
27249 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
27250 (llroundf): Define using libm_alias_float.
27251 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
27252 (lrintf): Define using libm_alias_float.
27253 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
27254 (lroundf): Define using libm_alias_float.
27255 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
27256 <libm-alias-float.h>.
27257 (nearbyintf): Define using libm_alias_float.
27258 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
27259 (rintf): Define using libm_alias_float.
27260 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
27261 (roundf): Define using libm_alias_float.
27262 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
27263 (truncf): Define using libm_alias_float.
27264
27265 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
27266 (ceil): Define using libm_alias_double.
27267 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
27268 (copysign): Define using libm_alias_double.
27269 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
27270 (fabs): Define using libm_alias_double.
27271 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
27272 (floor): Define using libm_alias_double.
27273 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
27274 (fmax): Define using libm_alias_double.
27275 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
27276 (fmin): Define using libm_alias_double.
27277 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
27278 (lrint): Define using libm_alias_double.
27279 (llrint): Likewise.
27280 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
27281 (lround): Define using libm_alias_double.
27282 (llround): Likewise.
27283 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
27284 (rint): Define using libm_alias_double.
27285 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
27286 (trunc): Define using libm_alias_double.
27287
27288 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27289 (libm_alias_double_r): Add semicolon after weak_alias call.
27290
27291 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27292
27293 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
27294 (ceil): Define using libm_alias_double.
27295 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
27296 (floor): Define using libm_alias_double.
27297 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
27298 (fma): Define using libm_alias_double.
27299 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
27300 (fmax): Define using libm_alias_double.
27301 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
27302 (fmin): Define using libm_alias_double.
27303 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
27304 (llrint): Define using libm_alias_double.
27305 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
27306 (llround): Define using libm_alias_double.
27307 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
27308 (lrint): Define using libm_alias_double.
27309 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
27310 (lround): Define using libm_alias_double.
27311 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
27312 (nearbyint): Define using libm_alias_double.
27313 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
27314 (rint): Define using libm_alias_double.
27315 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
27316 (round): Define using libm_alias_double.
27317 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
27318 (trunc): Define using libm_alias_double.
27319
27320 2017-11-27 Florian Weimer <fweimer@redhat.com>
27321
27322 * sysdeps/unix/sysv/linux/mlock2.c: New file.
27323 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
27324 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
27325 (tests): Add tst-mlock2.
27326 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
27327 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
27328 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
27329 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
27330 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
27331 for mlock. Document mlock2.
27332
27333 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27334
27335 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
27336 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
27337 Likewise.
27338 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
27339 Likewise.
27340 * sysdeps/x86/Makeconfig: New file.
27341 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
27342 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27343 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
27344 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27345 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27346 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27347 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
27348 Likewise.
27349 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27350 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27351 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27352 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27353 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27354 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27355 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27356 * manual/math.texi (Mathematics): Document support for _Float64x.
27357 * math/Versions (GLIBC_2.27): Add _Float64x functions.
27358 * stdlib/Versions (GLIBC_2.27): Likewise.
27359 * wcsmbs/Versions (GLIBC_2.27): Likewise.
27360 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27361 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27362 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27363 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27364 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27365 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27366 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27367 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27368 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27369 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27370 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
27372 Likewise.
27373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27374 Likewise.
27375 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27376 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27377 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27378 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27379 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27380 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27381 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27382 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27383 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27384 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27385 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27386 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27387 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27388 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27389
27390 2017-11-27 Andreas Schwab <schwab@suse.de>
27391
27392 * elf/Makefile (dl-routines): Add dl-sort-maps.
27393 * elf/dl-sort-maps.c: New file.
27394 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
27395 (_dl_sort_maps): Declare.
27396 * elf/dl-fini.c (_dl_sort_fini): Remove.
27397 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
27398 * elf/dl-close.c (_dl_close_worker): Likewise.
27399 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
27400 open-coding it.
27401 * elf/dl-open.c (dl_open_worker): Likewise.
27402
27403 2017-11-24 Joseph Myers <joseph@codesourcery.com>
27404
27405 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
27406 using libm_alias_float128.
27407 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
27408 Likewise.
27409 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
27410 Likewise.
27411 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
27412 (setpayloadsigf128): Likewise.
27413 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
27414 Likewise.
27415 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
27416 Likewise.
27417
27418 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
27419 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
27420 -mfloat128 to CFLAGS.
27421 ($(foreach
27422 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
27423 Likewise.
27424 (CFLAGS-libm-test-support-float64x.c): New variable.
27425 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
27426 $(f128-loader-link) to gnulib-tests.
27427
27428 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
27429 (libm_alias_float128_other_r): If
27430 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
27431 alias.
27432 (libm_alias_float128_r): Add semicolon after weak_alias call.
27433 * sysdeps/generic/libm-alias-ldouble.h
27434 (libm_alias_ldouble_other_r_f128): New macro.
27435 (libm_alias_ldouble_other_r_f64x): Likewise.
27436 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27437 and libm_alias_ldouble_other_r_f64x.
27438 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
27439 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27440 (libm_alias_ldouble_other_r_f128): New macro.
27441 (libm_alias_ldouble_other_r_f64x): Likewise.
27442 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27443 and libm_alias_ldouble_other_r_f64x.
27444
27445 * stdlib/strfroml.c: Always include <stdlib.h>.
27446 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
27447 undefine as macro and define as weak alias.
27448 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
27449 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
27450 <stdlib.h>.
27451 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
27452 Define and later undefine as macro and define as weak alias.
27453
27454 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27455 Define and later undefine as macro. Define as weak alias if
27456 [!USE_WIDE_CHAR].
27457 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
27458 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27459 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
27460 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27461 Define and later undefine as macro. Define as weak alias if
27462 [!USE_WIDE_CHAR].
27463 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
27464 Define and later undefine as macro. Define as weak alias if
27465 [USE_WIDE_CHAR].
27466 * sysdeps/ieee754/float128/strtof128_l.c
27467 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
27468 Define and later undefine as macro. Define as weak alias if
27469 [!USE_WIDE_CHAR].
27470 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
27471 Define and later undefine as macro. Define as weak alias if
27472 [USE_WIDE_CHAR].
27473 * sysdeps/ieee754/ldbl-128/strtold_l.c
27474 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27475 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27476 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27477 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27478 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
27479 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27480 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27481 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27482 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27483 * sysdeps/ieee754/ldbl-96/strtold_l.c
27484 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27485 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27486 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27487 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27488
27489 * math/test-float64x.h: New file.
27490 * math/Makefile (type-float64x-yes): New variable.
27491 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
27492
27493 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
27494 function-like macro.
27495 (min_of_type_): Likewise.
27496 (min_of_type_l): Likewise.
27497 (min_of_type_f128): Likewise.
27498 (min_of_type): Pass () as last argument of __MATH_TG.
27499
27500 * stdlib/tst-strtod-round-skeleton.c
27501 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
27502 headers.
27503
27504 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
27505 for combinations of long double with _Float64 and _Float64x.
27506
27507 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
27508 (__DECL_SIMD_cosf32): Likewise.
27509 (__DECL_SIMD_cosf64): Likewise.
27510 (__DECL_SIMD_cosf32x): Likewise.
27511 (__DECL_SIMD_cosf64x): Likewise.
27512 (__DECL_SIMD_cosf128x): Likewise.
27513 (__DECL_SIMD_sinf16): Likewise.
27514 (__DECL_SIMD_sinf32): Likewise.
27515 (__DECL_SIMD_sinf64): Likewise.
27516 (__DECL_SIMD_sinf32x): Likewise.
27517 (__DECL_SIMD_sinf64x): Likewise.
27518 (__DECL_SIMD_sinf128x): Likewise.
27519 (__DECL_SIMD_sincosf16): Likewise.
27520 (__DECL_SIMD_sincosf32): Likewise.
27521 (__DECL_SIMD_sincosf64): Likewise.
27522 (__DECL_SIMD_sincosf32x): Likewise.
27523 (__DECL_SIMD_sincosf64x): Likewise.
27524 (__DECL_SIMD_sincosf128x): Likewise.
27525 (__DECL_SIMD_logf16): Likewise.
27526 (__DECL_SIMD_logf32): Likewise.
27527 (__DECL_SIMD_logf64): Likewise.
27528 (__DECL_SIMD_logf32x): Likewise.
27529 (__DECL_SIMD_logf64x): Likewise.
27530 (__DECL_SIMD_logf128x): Likewise.
27531 (__DECL_SIMD_expf16): Likewise.
27532 (__DECL_SIMD_expf32): Likewise.
27533 (__DECL_SIMD_expf64): Likewise.
27534 (__DECL_SIMD_expf32x): Likewise.
27535 (__DECL_SIMD_expf64x): Likewise.
27536 (__DECL_SIMD_expf128x): Likewise.
27537 (__DECL_SIMD_powf16): Likewise.
27538 (__DECL_SIMD_powf32): Likewise.
27539 (__DECL_SIMD_powf64): Likewise.
27540 (__DECL_SIMD_powf32x): Likewise.
27541 (__DECL_SIMD_powf64x): Likewise.
27542 (__DECL_SIMD_powf128x): Likewise.
27543
27544 * stdlib/Versions (libc): Move entries for wcstof128 and
27545 wcstof128_l to ....
27546 * wcsmbs/Versions (libc): ... here.
27547 Include <float128-abi.h>.
27548
27549 2017-11-24 Florian Weimer <fweimer@redhat.com>
27550
27551 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27552 bits/mman-shared.h.
27553 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
27554 <bits/mman-shared.h>.
27555 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
27556 to ...
27557 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
27558 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
27559 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
27560 <bits/mman-shared.h>.
27561
27562 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27563
27564 [BZ #22457]
27565 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
27566 posix_memalign/free.
27567 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
27568
27569 2017-11-22 Mike FABIAN <mfabian@redhat.com>
27570
27571 [BZ #22469]
27572 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
27573 and implement the collation rules for pl from CLDR on top of that.
27574 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
27575 of locales to be built for testing.
27576 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
27577
27578 2017-11-23 Joseph Myers <joseph@codesourcery.com>
27579
27580 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
27581 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
27582 libm_alias_ldouble_other.
27583 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
27584 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
27585 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
27586 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
27587 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
27588 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
27589 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
27590 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
27591 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
27592 libm_alias_ldouble_r.
27593 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
27594 libm_alias_ldouble_other.
27595 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
27596 (log10l): Likewise.
27597 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
27598 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
27599 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
27600 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
27601 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
27602 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
27603 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
27604 (atan2l): Likewise.
27605 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
27606 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
27607 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
27608 libm_alias_ldouble.
27609 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
27610 (cosl): Likewise.
27611 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
27612 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
27613 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
27614 (expl): Likewise.
27615 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
27616 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
27617 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
27618 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
27619 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
27620 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
27621 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
27622 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
27623 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
27624 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
27625 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
27626 libm_alias_ldouble.
27627 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
27628 libm_alias_ldouble_other.
27629 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
27630 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
27631 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
27632 libm_alias_ldouble.
27633 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
27634 libm_alias_ldouble_other.
27635 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
27636 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
27637 * sysdeps/ia64/fpu/w_lgammal_main.c
27638 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
27639 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
27640
27641 2017-11-23 Florian Weimer <fweimer@redhat.com>
27642
27643 * malloc/malloc.c (tcache_thread_shutdown): Rename from
27644 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
27645 alike. Remove freeres marker.
27646 * malloc/arena.c (arena_thread_freeres): Call
27647 tcache_thread_shutdown.
27648
27649 2017-11-23 Florian Weimer <fweimer@redhat.com>
27650
27651 [BZ #22459]
27652 Export nscd hash function as __nss_hash.
27653 * include/nss.h (__nss_hash): Declare.
27654 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
27655 symbol.
27656 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
27657 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
27658 of __nscd_hash.
27659 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
27660 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
27661 * nss/Makefiles (routines): Add nss_hash.
27662 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
27663 * nss/nss_hash.c: Rename from nis/nis_hash.c.
27664 (__nss_hash): Rename from __nis_hash. Define hidden alias.
27665 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
27666
27667 2017-11-23 Florian Weimer <fweimer@redhat.com>
27668
27669 [BZ #22478]
27670 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
27671 Return error code, not -1.
27672 * signal/tst-sigwait-eintr.c: New file.
27673 * signal/Makefile (tests): Add tst-sigwait-eintr.
27674
27675 2017-11-23 Florian Weimer <fweimer@redhat.com>
27676
27677 Linux: Add memfd_create system call wrapper
27678 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
27679 tst-memfd_create.
27680 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
27681 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
27682 [__USE_GNU] (memfd_create): Declare.
27683 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
27684 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
27685 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
27686 * sysdeps/unix/sysv/linux/**.abilist: Update.
27687 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
27688
27689 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27690
27691 * localedata/gen-locale.sh: Fix typo in variable name.
27692
27693 * resolv/res_debug.c (p_secstodate): Condition definition on
27694 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
27695 directly as __p_secstodate, and as a compat symbol. Do not use
27696 libresolv_hidden_def.
27697 * resolv/resolv.h (p_secstodate): Remove macro and function
27698 declaration.
27699 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
27700 using p_secstodate.
27701 * include/resolv.h (__p_secstodate): Do not use
27702 libresolv_hidden_proto.
27703 * resolv/Makefile (tests): Move tst-p_secstodate to ....
27704 (tests-internal): ... here.
27705 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
27706 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
27707 and declare and use __p_secstodate and use compat_symbol_reference
27708 in that case.
27709 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
27710 implementation returning 77.
27711
27712 [BZ #22463]
27713 * resolv/res_debug.c: Include <libc-diag.h>.
27714 (p_secstodate): Assert time_t at least as wide as u_long. On
27715 overflow, use integer seconds since the epoch as output, or use
27716 "<overflow>" as output and set errno to EOVERFLOW if integer
27717 seconds since the epoch would be 14 or more characters.
27718 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
27719 for sprintf call.
27720 * resolv/tst-p_secstodate.c: New file.
27721 * resolv/Makefile (tests): Add tst-p_secstodate.
27722 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
27723
27724 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
27725 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27726 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
27727
27728 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
27729
27730 * posix/regcomp.c (init_word_char): Add comments.
27731
27732 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27733
27734 [BZ #22447]
27735 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
27736 strlen to compute length of ut_user and set trailing NUL byte of
27737 result explicitly.
27738
27739 2017-11-21 Mike FABIAN <mfabian@redhat.com>
27740
27741 [BZ #15537]
27742 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
27743 using “copy "iso14651_t1"” and then implementing the
27744 collation rules for lv from CLDR on top of that.
27745 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
27746 of locales to be built for testing.
27747 * lv_LV.UTF-8.in: New file with test data to test the Latvian
27748 sorting.
27749
27750 2017-11-21 Joseph Myers <joseph@codesourcery.com>
27751
27752 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27753 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
27754 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
27755 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
27756 [__USE_MISC] (MADV_HWPOISON): New macro.
27757 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
27758
27759 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27760
27761 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
27762 -Wmissing-braces on GCC 4.9.
27763
27764 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27765
27766 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
27767 * sysdeps/s390/s390-32/start.S (_start): Likewise
27768 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
27769 (thread_start): Likewise.
27770 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
27771 (thread_start): Likewise.
27772 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
27773 (__makecontext_ret): Likewise.
27774 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
27775 (__makecontext_ret): Likewise.
27776
27777 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27778
27779 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
27780 __wcschrnul): Remove attribute_hidden.
27781
27782 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
27783
27784 regex: don't assume uint64_t or uint32_t
27785 This avoids -Werror=overflow errors for 32-bit systems in
27786 the 64-bit case. Problem reported by Joseph Myers in:
27787 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
27788 Also, when this code is used in Gnulib it ports to platforms
27789 that lack uint64_t and uint32_t. The C standard doesn't guarantee
27790 them, and on some 32-bit compilers there is no uint64_t.
27791 Problem reported by Gianluigi Tiesi in:
27792 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
27793 * posix/regcomp.c (init_word_char): Don't assume that the types
27794 uint64_t and uint32_t exist. Adapted from Gnulib patch
27795 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
27796 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
27797
27798 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
27799
27800 * sysdeps/aarch64/memset-reg.h: New file.
27801 * sysdeps/aarch64/memset.S: Use it.
27802 (__memset): Rename to MEMSET macro.
27803 [ZVA_MACRO]: Use zva_macro.
27804 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
27805 Add memset_generic and memset_falkor.
27806 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27807 (__libc_ifunc_impl_list): Add memset ifuncs.
27808 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
27809 local variable zva_size.
27810 * sysdeps/aarch64/multiarch/memset.c: New file.
27811 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
27812 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
27813 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
27814 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
27815 (DCZID_DZP_MASK): New macro.
27816 (DCZID_BS_MASK): Likewise.
27817 (init_cpu_features): Read and set zva_size.
27818 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
27819 (struct cpu_features): New member zva_size.
27820
27821 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
27822 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
27823 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
27824
27825 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
27826 backwards. Fix timing computation.
27827 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
27828 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
27829 on memset by N at a time. Fix timing computation.
27830
27831 2017-11-20 Florian Weimer <fweimer@redhat.com>
27832
27833 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
27834 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
27835
27836 2017-11-19 Florian Weimer <fweimer@redhat.com>
27837
27838 manual: Document mprotect
27839 * manual/memory.texi (Memory Protection): New section.
27840 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
27841 documentation of PROT_* flags and reference the Memory Protection
27842 section instead.
27843
27844 2017-11-19 Florian Weimer <fweimer@redhat.com>
27845
27846 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
27847 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
27848 (Scatter-Gather): ... to here. Remove misleading comment.
27849
27850 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
27851
27852 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
27853 style.
27854
27855 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
27856 when /proc/<pid>/setgroups does not exist.
27857
27858 2017-11-18 Florian Weimer <fweimer@redhat.com>
27859
27860 * sysdeps/unix/sysv/linux/tst-ttyname.c
27861 (become_root_in_mount_ns): Remove.
27862 (do_in_chroot_1): Call support_enter_mount_namespace.
27863 (do_in_chroot_2): Likewise.
27864 (do_test): Call support_become_root early.
27865
27866 2017-11-18 Florian Weimer <fweimer@redhat.com>
27867
27868 * support/namespace.h (support_enter_mount_namespace): Declare.
27869 * support/support_enter_mount_namespace.c: New file.
27870 * support/Makefile (libsupport-routines): Add
27871 support_enter_mount_namespace.
27872
27873 2017-11-18 Florian Weimer <fweimer@redhat.com>
27874
27875 * support/temp_file.c (support_create_temp_directory): Use
27876 test_dir and do not rely on the presence of the XXXXXX suffix.
27877 * support/temp_file.h (support_create_temp_directory): Update
27878 comment.
27879 * support/tst-xreadlink.c (do_test): Adjust.
27880 * support/support_chroot.c (support_chroot_create): Likewise.
27881
27882 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27883
27884 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
27885 macro.
27886 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
27887 htm-no-suspend.
27888
27889 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27890
27891 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27892 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27893 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27894 (ceill): Define using libm_alias_ldouble.
27895 * sysdeps/x86_64/fpu/s_copysignl.S: Include
27896 <libm-alias-ldouble.h>.
27897 (copysignl): Define using libm_alias_ldouble.
27898 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27899 (fabsl): Define using libm_alias_ldouble.
27900 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27901 (floorl): Define using libm_alias_ldouble.
27902 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27903 (fmaxl): Define using libm_alias_ldouble.
27904 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27905 (fminl): Define using libm_alias_ldouble.
27906 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27907 (llrintl): Define using libm_alias_ldouble.
27908 (lrintl): Likewise.
27909 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
27910 <libm-alias-ldouble.h>.
27911 (nearbyintl): Define using libm_alias_ldouble.
27912 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27913 (truncl): Define using libm_alias_ldouble.
27914 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
27915 <libm-alias-ldouble.h>.
27916 (lrintl): Define using libm_alias_ldouble.
27917
27918 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27919 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27920 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
27921 (asinhl): Define using libm_alias_ldouble.
27922 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
27923 (atanl): Define using libm_alias_ldouble.
27924 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
27925 (cbrtl): Define using libm_alias_ldouble.
27926 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27927 (ceill): Define using libm_alias_ldouble.
27928 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
27929 (copysignl): Define using libm_alias_ldouble.
27930 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27931 (fabsl): Define using libm_alias_ldouble.
27932 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27933 (floorl): Define using libm_alias_ldouble.
27934 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27935 (fmaxl): Define using libm_alias_ldouble.
27936 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27937 (fminl): Define using libm_alias_ldouble.
27938 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
27939 (frexpl): Define using libm_alias_ldouble.
27940 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27941 (llrintl): Define using libm_alias_ldouble.
27942 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
27943 (logbl): Define using libm_alias_ldouble.
27944 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
27945 (lrintl): Define using libm_alias_ldouble.
27946 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
27947 (nearbyintl): Define using libm_alias_ldouble.
27948 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
27949 (nextafterl): Define using libm_alias_ldouble.
27950 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
27951 (remquol): Define using libm_alias_ldouble.
27952 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
27953 (rintl): Define using libm_alias_ldouble.
27954 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27955 (truncl): Define using libm_alias_ldouble.
27956 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27957 (fmaxl): Define using libm_alias_ldouble.
27958 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27959 (fminl): Define using libm_alias_ldouble.
27960
27961 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
27962 to C syntax instead of availability and properties of types.
27963 * bits/floatn.h [!__ASSEMBLER]: Likewise.
27964 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
27965 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
27966 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
27967 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
27968 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
27969
27970 2017-11-17 Florian Weimer <fweimer@redhat.com>
27971
27972 support_become_root: Enable file creation in namespaces.
27973 * support/support_become_root.c (setup_mapping): New function.
27974 (support_become_root): Call it.
27975
27976 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27977
27978 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
27979 macro.
27980
27981 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27982
27983 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
27984 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
27985
27986 2017-11-16 Joseph Myers <joseph@codesourcery.com>
27987
27988 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
27989
27990 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27991 version to 4.14.
27992
27993 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27994
27995 * INSTALL: Fix botched up regeneration.
27996
27997 * NEWS: Update sourceare link to https.
27998 * configure.ac: Likewise.
27999 * crypt/md5test-giant.c: Likewise.
28000 * dlfcn/bug-atexit1.c: Likewise.
28001 * dlfcn/bug-atexit2.c: Likewise.
28002 * localedata/README: Likewise.
28003 * malloc/tst-mallocfork.c: Likewise.
28004 * manual/install.texi: Likewise.
28005 * nptl/tst-pthread-getattr.c: Likewise.
28006 * stdio-common/tst-fgets.c: Likewise.
28007 * stdio-common/tst-fwrite.c: Likewise.
28008 * sunrpc/Makefile: Likewise.
28009 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
28010 * wcsmbs/tst-mbrtowc2.c: Likewise.
28011 * configure: Regenerate.
28012 * INSTALL: Regenerate.
28013
28014 2017-11-15 Martin Sebor <msebor@redhat.com>
28015
28016 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
28017 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
28018 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
28019
28020 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28021
28022 [BZ #22145]
28023 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
28024 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
28025
28026 [BZ #22145]
28027 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
28028 Defer is_pty check until end of the function.
28029 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28030
28031 [BZ #22145]
28032 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
28033 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
28034 (ttyname): Likewise.
28035 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28036 (__ttyname_r): Likewise.
28037
28038 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
28039 int to bool.
28040
28041 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
28042
28043 * manual/terminal.texi (Is It a Terminal):
28044 Mention ENODEV for ttyname and ttyname_r.
28045
28046 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28047
28048 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
28049 constant and macro.
28050
28051 * sysdeps/unix/sysv/linux/bits/mman-linux.h
28052 [__USE_MISC] (MADV_WIPEONFORK): New macro.
28053 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28054 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
28055 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
28056 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
28057
28058 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28059
28060 * signal/sigrelse.c (sigrelse): Optimize implementation.
28061
28062 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
28063 (__sigpause): Rely on __sigsuspend to implement single thread
28064 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
28065
28066 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28067
28068 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28069 kernel version to 4.14.
28070
28071 2017-11-15 Steve Ellcey <sellcey@cavium.com>
28072
28073 [BZ #22442]
28074 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
28075 Check if ifname is too long.
28076
28077 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
28078
28079 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
28080
28081 2017-11-15 Mike FABIAN <mfabian@redhat.com>
28082
28083 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
28084 was accidentally lost.
28085
28086 2017-11-15 Mike FABIAN <mfabian@redhat.com>
28087
28088 * localedata/locales/az_IR: Add standard copyright header.
28089
28090 2017-11-15 Florian Weimer <fweimer@redhat.com>
28091
28092 [BZ #22439]
28093 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
28094 not just the top one. Output a new "subheaps" statistic.
28095
28096 2017-11-15 Florian Weimer <fweimer@redhat.com>
28097
28098 [BZ #22408]
28099 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
28100 under the per-arena lock.
28101 * malloc/Makefile (tests): Add tst-malloc_info.
28102 (tst-malloc_info): Link with libpthread.
28103 * malloc/tst-malloc_info.c: New file.
28104
28105 2017-11-15 Joseph Myers <joseph@codesourcery.com>
28106
28107 [BZ #21660]
28108 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
28109 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
28110 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
28111 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
28112 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
28113 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
28114 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
28115 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
28116 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
28117 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
28118 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
28119 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
28120 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
28121 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
28122 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
28123 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
28124 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
28125 (__floating_type): Likewise.
28126 (__real_integer_type): Likewise.
28127 (__complex_integer_type): Likewise.
28128 (__expr_is_real): Likewise.
28129 (__tgmath_real_type_sub): Likewise.
28130 (__tgmath_real_type): Likewise.
28131 (__tgmath_complex_type_sub): Likewise.
28132 (__tgmath_complex_type): Likewise.
28133 (__TGMATH_F128): Likewise.
28134 (__TGMATH_CF128): Likewise.
28135 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
28136 new macros.
28137 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
28138 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
28139 Likewise.
28140 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
28141 Likewise.
28142 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
28143 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
28144 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
28145 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
28146 Likewise.
28147 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
28148 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
28149 Likewise.
28150 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
28151 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
28152 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
28153 Likewise.
28154 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
28155 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
28156 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
28157 (cimag): Likewise.
28158 (creal): Likewise.
28159
28160 2017-11-14 Joseph Myers <joseph@codesourcery.com>
28161
28162 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
28163 for stpncpy calls for GCC 8.
28164 (test_strncat): Disable -Wstringop-truncation warning for strncat
28165 calls for GCC 8. Disable -Wstringop-overflow= warning for one
28166 strncat call for GCC 7.
28167 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
28168 calls for GCC 8.
28169 (test_memcmp): Use memcpy instead of strncpy for calls not copying
28170 trailing NUL.
28171
28172 * string/bug-strncat1.c: Include <libc-diag.h>.
28173 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
28174
28175 2017-11-13 Claude Paroz <claude@2xlibre.net>
28176
28177 [BZ #22387]
28178 * localedata/locales/aa_DJ: Improved readibility by replacing
28179 <Uxxxx> sequences in the ASCII printable range by their ASCII
28180 character equivalents.
28181 * localedata/locales/aa_ER: Likewise.
28182 * localedata/locales/aa_ER@saaho: Likewise.
28183 * localedata/locales/aa_ET: Likewise.
28184 * localedata/locales/af_ZA: Likewise.
28185 * localedata/locales/agr_PE: Likewise.
28186 * localedata/locales/ak_GH: Likewise.
28187 * localedata/locales/am_ET: Likewise.
28188 * localedata/locales/anp_IN: Likewise.
28189 * localedata/locales/ar_AE: Likewise.
28190 * localedata/locales/ar_BH: Likewise.
28191 * localedata/locales/ar_DZ: Likewise.
28192 * localedata/locales/ar_EG: Likewise.
28193 * localedata/locales/ar_IN: Likewise.
28194 * localedata/locales/ar_IQ: Likewise.
28195 * localedata/locales/ar_JO: Likewise.
28196 * localedata/locales/ar_KW: Likewise.
28197 * localedata/locales/ar_LB: Likewise.
28198 * localedata/locales/ar_LY: Likewise.
28199 * localedata/locales/ar_MA: Likewise.
28200 * localedata/locales/ar_OM: Likewise.
28201 * localedata/locales/ar_QA: Likewise.
28202 * localedata/locales/ar_SA: Likewise.
28203 * localedata/locales/ar_SD: Likewise.
28204 * localedata/locales/ar_SS: Likewise.
28205 * localedata/locales/ar_SY: Likewise.
28206 * localedata/locales/ar_TN: Likewise.
28207 * localedata/locales/ar_YE: Likewise.
28208 * localedata/locales/as_IN: Likewise.
28209 * localedata/locales/ast_ES: Likewise.
28210 * localedata/locales/ayc_PE: Likewise.
28211 * localedata/locales/az_AZ: Likewise.
28212 * localedata/locales/az_IR: Likewise.
28213 * localedata/locales/be_BY: Likewise.
28214 * localedata/locales/be_BY@latin: Likewise.
28215 * localedata/locales/bem_ZM: Likewise.
28216 * localedata/locales/ber_DZ: Likewise.
28217 * localedata/locales/ber_MA: Likewise.
28218 * localedata/locales/bg_BG: Likewise.
28219 * localedata/locales/bhb_IN: Likewise.
28220 * localedata/locales/bho_IN: Likewise.
28221 * localedata/locales/bi_VU: Likewise.
28222 * localedata/locales/bn_BD: Likewise.
28223 * localedata/locales/bn_IN: Likewise.
28224 * localedata/locales/bo_CN: Likewise.
28225 * localedata/locales/bo_IN: Likewise.
28226 * localedata/locales/br_FR: Likewise.
28227 * localedata/locales/brx_IN: Likewise.
28228 * localedata/locales/bs_BA: Likewise.
28229 * localedata/locales/byn_ER: Likewise.
28230 * localedata/locales/ca_AD: Likewise.
28231 * localedata/locales/ca_ES: Likewise.
28232 * localedata/locales/ca_FR: Likewise.
28233 * localedata/locales/ca_IT: Likewise.
28234 * localedata/locales/ce_RU: Likewise.
28235 * localedata/locales/chr_US: Likewise.
28236 * localedata/locales/cmn_TW: Likewise.
28237 * localedata/locales/crh_UA: Likewise.
28238 * localedata/locales/cs_CZ: Likewise.
28239 * localedata/locales/csb_PL: Likewise.
28240 * localedata/locales/cv_RU: Likewise.
28241 * localedata/locales/cy_GB: Likewise.
28242 * localedata/locales/da_DK: Likewise.
28243 * localedata/locales/de_AT: Likewise.
28244 * localedata/locales/de_BE: Likewise.
28245 * localedata/locales/de_CH: Likewise.
28246 * localedata/locales/de_DE: Likewise.
28247 * localedata/locales/de_IT: Likewise.
28248 * localedata/locales/de_LI: Likewise.
28249 * localedata/locales/de_LU: Likewise.
28250 * localedata/locales/doi_IN: Likewise.
28251 * localedata/locales/dv_MV: Likewise.
28252 * localedata/locales/dz_BT: Likewise.
28253 * localedata/locales/el_CY: Likewise.
28254 * localedata/locales/el_GR: Likewise.
28255 * localedata/locales/en_AG: Likewise.
28256 * localedata/locales/en_AU: Likewise.
28257 * localedata/locales/en_BW: Likewise.
28258 * localedata/locales/en_CA: Likewise.
28259 * localedata/locales/en_DK: Likewise.
28260 * localedata/locales/en_GB: Likewise.
28261 * localedata/locales/en_HK: Likewise.
28262 * localedata/locales/en_IE: Likewise.
28263 * localedata/locales/en_IL: Likewise.
28264 * localedata/locales/en_IN: Likewise.
28265 * localedata/locales/en_NG: Likewise.
28266 * localedata/locales/en_NZ: Likewise.
28267 * localedata/locales/en_PH: Likewise.
28268 * localedata/locales/en_SG: Likewise.
28269 * localedata/locales/en_US: Likewise.
28270 * localedata/locales/en_ZA: Likewise.
28271 * localedata/locales/en_ZM: Likewise.
28272 * localedata/locales/en_ZW: Likewise.
28273 * localedata/locales/eo: Likewise.
28274 * localedata/locales/es_AR: Likewise.
28275 * localedata/locales/es_BO: Likewise.
28276 * localedata/locales/es_CL: Likewise.
28277 * localedata/locales/es_CO: Likewise.
28278 * localedata/locales/es_CR: Likewise.
28279 * localedata/locales/es_CU: Likewise.
28280 * localedata/locales/es_DO: Likewise.
28281 * localedata/locales/es_EC: Likewise.
28282 * localedata/locales/es_ES: Likewise.
28283 * localedata/locales/es_GT: Likewise.
28284 * localedata/locales/es_HN: Likewise.
28285 * localedata/locales/es_MX: Likewise.
28286 * localedata/locales/es_NI: Likewise.
28287 * localedata/locales/es_PA: Likewise.
28288 * localedata/locales/es_PE: Likewise.
28289 * localedata/locales/es_PR: Likewise.
28290 * localedata/locales/es_PY: Likewise.
28291 * localedata/locales/es_SV: Likewise.
28292 * localedata/locales/es_US: Likewise.
28293 * localedata/locales/es_UY: Likewise.
28294 * localedata/locales/es_VE: Likewise.
28295 * localedata/locales/et_EE: Likewise.
28296 * localedata/locales/eu_ES: Likewise.
28297 * localedata/locales/eu_ES@euro: Likewise.
28298 * localedata/locales/fa_IR: Likewise.
28299 * localedata/locales/ff_SN: Likewise.
28300 * localedata/locales/fi_FI: Likewise.
28301 * localedata/locales/fil_PH: Likewise.
28302 * localedata/locales/fo_FO: Likewise.
28303 * localedata/locales/fr_BE: Likewise.
28304 * localedata/locales/fr_CA: Likewise.
28305 * localedata/locales/fr_CH: Likewise.
28306 * localedata/locales/fr_FR: Likewise.
28307 * localedata/locales/fr_LU: Likewise.
28308 * localedata/locales/fur_IT: Likewise.
28309 * localedata/locales/fy_DE: Likewise.
28310 * localedata/locales/fy_NL: Likewise.
28311 * localedata/locales/ga_IE: Likewise.
28312 * localedata/locales/gd_GB: Likewise.
28313 * localedata/locales/gez_ER: Likewise.
28314 * localedata/locales/gez_ET: Likewise.
28315 * localedata/locales/gl_ES: Likewise.
28316 * localedata/locales/gu_IN: Likewise.
28317 * localedata/locales/gv_GB: Likewise.
28318 * localedata/locales/ha_NG: Likewise.
28319 * localedata/locales/hak_TW: Likewise.
28320 * localedata/locales/he_IL: Likewise.
28321 * localedata/locales/hi_IN: Likewise.
28322 * localedata/locales/hif_FJ: Likewise.
28323 * localedata/locales/hne_IN: Likewise.
28324 * localedata/locales/hr_HR: Likewise.
28325 * localedata/locales/hsb_DE: Likewise.
28326 * localedata/locales/ht_HT: Likewise.
28327 * localedata/locales/hu_HU: Likewise.
28328 * localedata/locales/hy_AM: Likewise.
28329 * localedata/locales/i18n: Likewise.
28330 * localedata/locales/ia_FR: Likewise.
28331 * localedata/locales/id_ID: Likewise.
28332 * localedata/locales/ig_NG: Likewise.
28333 * localedata/locales/ik_CA: Likewise.
28334 * localedata/locales/is_IS: Likewise.
28335 * localedata/locales/it_CH: Likewise.
28336 * localedata/locales/it_IT: Likewise.
28337 * localedata/locales/iu_CA: Likewise.
28338 * localedata/locales/ja_JP: Likewise.
28339 * localedata/locales/ka_GE: Likewise.
28340 * localedata/locales/kk_KZ: Likewise.
28341 * localedata/locales/kl_GL: Likewise.
28342 * localedata/locales/kn_IN: Likewise.
28343 * localedata/locales/ko_KR: Likewise.
28344 * localedata/locales/kok_IN: Likewise.
28345 * localedata/locales/ks_IN: Likewise.
28346 * localedata/locales/ks_IN@devanagari: Likewise.
28347 * localedata/locales/ku_TR: Likewise.
28348 * localedata/locales/kw_GB: Likewise.
28349 * localedata/locales/ky_KG: Likewise.
28350 * localedata/locales/lb_LU: Likewise.
28351 * localedata/locales/lg_UG: Likewise.
28352 * localedata/locales/li_BE: Likewise.
28353 * localedata/locales/li_NL: Likewise.
28354 * localedata/locales/lij_IT: Likewise.
28355 * localedata/locales/ln_CD: Likewise.
28356 * localedata/locales/lo_LA: Likewise.
28357 * localedata/locales/lt_LT: Likewise.
28358 * localedata/locales/lv_LV: Likewise.
28359 * localedata/locales/lzh_TW: Likewise.
28360 * localedata/locales/mag_IN: Likewise.
28361 * localedata/locales/mai_IN: Likewise.
28362 * localedata/locales/mg_MG: Likewise.
28363 * localedata/locales/mhr_RU: Likewise.
28364 * localedata/locales/mi_NZ: Likewise.
28365 * localedata/locales/mk_MK: Likewise.
28366 * localedata/locales/ml_IN: Likewise.
28367 * localedata/locales/mn_MN: Likewise.
28368 * localedata/locales/mni_IN: Likewise.
28369 * localedata/locales/mr_IN: Likewise.
28370 * localedata/locales/ms_MY: Likewise.
28371 * localedata/locales/mt_MT: Likewise.
28372 * localedata/locales/my_MM: Likewise.
28373 * localedata/locales/nan_TW: Likewise.
28374 * localedata/locales/nan_TW@latin: Likewise.
28375 * localedata/locales/nb_NO: Likewise.
28376 * localedata/locales/nds_DE: Likewise.
28377 * localedata/locales/nds_NL: Likewise.
28378 * localedata/locales/ne_NP: Likewise.
28379 * localedata/locales/nhn_MX: Likewise.
28380 * localedata/locales/niu_NU: Likewise.
28381 * localedata/locales/niu_NZ: Likewise.
28382 * localedata/locales/nl_AW: Likewise.
28383 * localedata/locales/nl_BE: Likewise.
28384 * localedata/locales/nl_NL: Likewise.
28385 * localedata/locales/nn_NO: Likewise.
28386 * localedata/locales/nr_ZA: Likewise.
28387 * localedata/locales/nso_ZA: Likewise.
28388 * localedata/locales/oc_FR: Likewise.
28389 * localedata/locales/om_ET: Likewise.
28390 * localedata/locales/om_KE: Likewise.
28391 * localedata/locales/or_IN: Likewise.
28392 * localedata/locales/os_RU: Likewise.
28393 * localedata/locales/pa_IN: Likewise.
28394 * localedata/locales/pa_PK: Likewise.
28395 * localedata/locales/pap_AW: Likewise.
28396 * localedata/locales/pap_CW: Likewise.
28397 * localedata/locales/pl_PL: Likewise.
28398 * localedata/locales/ps_AF: Likewise.
28399 * localedata/locales/pt_BR: Likewise.
28400 * localedata/locales/pt_PT: Likewise.
28401 * localedata/locales/quz_PE: Likewise.
28402 * localedata/locales/raj_IN: Likewise.
28403 * localedata/locales/ro_RO: Likewise.
28404 * localedata/locales/ru_RU: Likewise.
28405 * localedata/locales/ru_UA: Likewise.
28406 * localedata/locales/rw_RW: Likewise.
28407 * localedata/locales/sa_IN: Likewise.
28408 * localedata/locales/sat_IN: Likewise.
28409 * localedata/locales/sc_IT: Likewise.
28410 * localedata/locales/sd_IN: Likewise.
28411 * localedata/locales/sd_IN@devanagari: Likewise.
28412 * localedata/locales/se_NO: Likewise.
28413 * localedata/locales/sgs_LT: Likewise.
28414 * localedata/locales/shs_CA: Likewise.
28415 * localedata/locales/si_LK: Likewise.
28416 * localedata/locales/sid_ET: Likewise.
28417 * localedata/locales/sk_SK: Likewise.
28418 * localedata/locales/sl_SI: Likewise.
28419 * localedata/locales/sm_WS: Likewise.
28420 * localedata/locales/so_DJ: Likewise.
28421 * localedata/locales/so_ET: Likewise.
28422 * localedata/locales/so_KE: Likewise.
28423 * localedata/locales/so_SO: Likewise.
28424 * localedata/locales/sq_AL: Likewise.
28425 * localedata/locales/sq_MK: Likewise.
28426 * localedata/locales/sr_ME: Likewise.
28427 * localedata/locales/sr_RS: Likewise.
28428 * localedata/locales/sr_RS@latin: Likewise.
28429 * localedata/locales/ss_ZA: Likewise.
28430 * localedata/locales/st_ZA: Likewise.
28431 * localedata/locales/sv_FI: Likewise.
28432 * localedata/locales/sv_SE: Likewise.
28433 * localedata/locales/sw_KE: Likewise.
28434 * localedata/locales/sw_TZ: Likewise.
28435 * localedata/locales/szl_PL: Likewise.
28436 * localedata/locales/ta_IN: Likewise.
28437 * localedata/locales/ta_LK: Likewise.
28438 * localedata/locales/tcy_IN: Likewise.
28439 * localedata/locales/te_IN: Likewise.
28440 * localedata/locales/tg_TJ: Likewise.
28441 * localedata/locales/th_TH: Likewise.
28442 * localedata/locales/the_NP: Likewise.
28443 * localedata/locales/ti_ER: Likewise.
28444 * localedata/locales/ti_ET: Likewise.
28445 * localedata/locales/tig_ER: Likewise.
28446 * localedata/locales/tk_TM: Likewise.
28447 * localedata/locales/tl_PH: Likewise.
28448 * localedata/locales/tn_ZA: Likewise.
28449 * localedata/locales/to_TO: Likewise.
28450 * localedata/locales/tpi_PG: Likewise.
28451 * localedata/locales/tr_CY: Likewise.
28452 * localedata/locales/tr_TR: Likewise.
28453 * localedata/locales/ts_ZA: Likewise.
28454 * localedata/locales/tt_RU: Likewise.
28455 * localedata/locales/tt_RU@iqtelif: Likewise.
28456 * localedata/locales/ug_CN: Likewise.
28457 * localedata/locales/uk_UA: Likewise.
28458 * localedata/locales/unm_US: Likewise.
28459 * localedata/locales/ur_IN: Likewise.
28460 * localedata/locales/ur_PK: Likewise.
28461 * localedata/locales/uz_UZ: Likewise.
28462 * localedata/locales/uz_UZ@cyrillic: Likewise.
28463 * localedata/locales/ve_ZA: Likewise.
28464 * localedata/locales/vi_VN: Likewise.
28465 * localedata/locales/wa_BE: Likewise.
28466 * localedata/locales/wae_CH: Likewise.
28467 * localedata/locales/wal_ET: Likewise.
28468 * localedata/locales/wo_SN: Likewise.
28469 * localedata/locales/xh_ZA: Likewise.
28470 * localedata/locales/yi_US: Likewise.
28471 * localedata/locales/yo_NG: Likewise.
28472 * localedata/locales/yue_HK: Likewise.
28473 * localedata/locales/yuw_PG: Likewise.
28474 * localedata/locales/zh_CN: Likewise.
28475 * localedata/locales/zh_HK: Likewise.
28476 * localedata/locales/zh_SG: Likewise.
28477 * localedata/locales/zh_TW: Likewise.
28478 * localedata/locales/zu_ZA: Likewise.
28479
28480 2017-11-13 Florian Weimer <fweimer@redhat.com>
28481
28482 * support/next_to_fault.h, support/next_to_fault.c: New files.
28483 * support/Makefile (libsupport-routines): Add next_to_fault.
28484 * resolv/tst-inet_pton.c (struct next_to_fault)
28485 (next_to_fault_allocate, next_to_fault_free): Remove.
28486 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
28487
28488 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
28489
28490 * elf/dl-support.c: Include <dl-procruntime.c>.
28491 * include/link.h: Include <link_map.h>.
28492 * sysdeps/generic/dl-procruntime.c: New file.
28493 * sysdeps/generic/link_map.h: Likewise.
28494 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
28495 the writable ld.so namespace.
28496
28497 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
28498
28499 timezone: pacify GCC -Wstringop-truncation
28500 Problem reported by Martin Sebor in:
28501 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
28502 * timezone/zic.c (writezone): Use memcpy, not strncpy.
28503
28504 2017-11-12 Florian Weimer <fweimer@redhat.com>
28505
28506 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
28507 tst-xreadlink.
28508 (tests): Add tst-xreadlink.
28509 * support/support.h (xstrndup): Declare.
28510 * support/xunistd.h (xunlink, xreadlink): Declare.
28511 * support/temp_file.h (support_create_temp_directory): Declare.
28512 * support/temp_file.c (support_create_temp_directory): New function.
28513 * support/support_chroot.c (support_chroot_create): Use it.
28514 * support/xreadlink.c: New file.
28515 * support/xstrndup.c: Likewise.
28516 * support/xunlink.c: Likewise.
28517 * support/tst-xreadlink.c: Likewise.
28518
28519 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
28520
28521 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
28522
28523 2017-11-11 Florian Weimer <fweimer@redhat.com>
28524
28525 [BZ #22409]
28526 [BZ #22412]
28527 * resolv/res_comp.c (printable_string, binary_hnok)
28528 (binary_leading_dash): New functions.
28529 (res_hnok): Reimplement using these functions and ns_name_pton.
28530 (res_ownok): Likewise.
28531 (res_mailok): Reimplement using printable_string, ns_name_pton and
28532 binary_hnok.
28533 (res_dnok): Reimplement using printable_string and ns_name_pton.
28534 * resolv/tst-res_hnok.c (tests): Add additional tests.
28535 (LETTERDIGITS, PRINTABLE): Define.
28536 (do_test): Adjust one_char results.
28537
28538 2017-11-11 Florian Weimer <fweimer@redhat.com>
28539
28540 [BZ #22413]
28541 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
28542 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
28543
28544 2017-11-11 Florian Weimer <fweimer@redhat.com>
28545
28546 * resolv/tst-ns_name_pton.c: New file.
28547 * resolv/Makefile (tests): Add tst-ns_name_pton.
28548 (tst-ns_name_pton): Link against libresolv.
28549
28550 2017-11-11 Florian Weimer <fweimer@redhat.com>
28551
28552 * resolv/tst-res_hnok.c: New file.
28553 * resolv/Makefile (tests): Add tst-res_hnok.
28554 (tst-res_hnok): Link against libresolv.
28555
28556 2017-11-11 Florian Weimer <fweimer@redhat.com>
28557
28558 * resolv/tst-resolv-network.c: Use test framework instead explicit
28559 main function.
28560
28561 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
28562
28563 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
28564 <jmp_buf-macros.h>.
28565 [!_ISOMAC] (STR_HELPER): New.
28566 [!_ISOMAC] (STR): Likewise.
28567 [!_ISOMAC] (TEST_SIZE): Likewise.
28568 [!_ISOMAC] (TEST_ALIGN): Likewise.
28569 [!_ISOMAC] (TEST_OFFSET): Likewise.
28570 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
28571 field offsets of jmp_buf as well as sigjmp_buf.
28572 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
28573 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
28574 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
28575 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
28576 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
28577 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
28578 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
28579 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
28580 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
28581 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
28582 Likewise.
28583 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
28584 Likewise.
28585 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
28586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
28587 Likewise.
28588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
28589 Likewise.
28590 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
28591 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
28592 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
28593 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
28594 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
28595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
28596 Likewise.
28597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
28598 Likewise.
28599 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
28600 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
28601 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
28602
28603 2017-11-07 Joseph Myers <joseph@codesourcery.com>
28604
28605 * include/float.h
28606 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28607 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
28608 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28609 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
28610 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28611 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
28612 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28613 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
28614 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28615 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
28616 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28617 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
28618 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28619 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
28620 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28621 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
28622 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28623 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
28624 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28625 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
28626 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28627 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
28628 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28629 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
28630 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28631 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
28632 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28633 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
28634 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28635 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
28636 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28637 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
28638 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28639 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
28640 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28641 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
28642 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28643 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
28644 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28645 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
28646 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28647 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
28648 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28649 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
28650 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28651 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
28652 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28653 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
28654 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28655 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
28656 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28657 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
28658 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28659 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
28660 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28661 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
28662 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28663 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
28664 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28665 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
28666 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28667 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
28668 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28669 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
28670 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28671 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
28672 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28673 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
28674 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28675 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
28676 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28677 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
28678 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28679 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
28680 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28681 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
28682 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28683 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
28684 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28685 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
28686 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28687 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
28688 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28689 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
28690 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28691 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
28692 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28693 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
28694
28695 * stdlib/tst-strtod.h (F16): New macro.
28696 (F32): Likewise.
28697 (F64): Likewise.
28698 (F32X): Likewise.
28699 (F64X): Likewise.
28700 (F128X): Likewise.
28701 (IF_FLOAT16): Likewise.
28702 (IF_FLOAT32): Likewise.
28703 (IF_FLOAT64): Likewise.
28704 (IF_FLOAT32X): Likewise.
28705 (IF_FLOAT64X): Likewise.
28706 (IF_FLOAT128X): Likewise.
28707 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
28708 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
28709 (STRTOD_TEST_FOREACH): Likewise.
28710 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
28711 (CHOOSE_f64): Likewise.
28712 (CHOOSE_f32x): Likewise.
28713 (CHOOSE_f64x): Likewise.
28714
28715 2017-11-07 Andreas Schwab <schwab@suse.de>
28716
28717 * nptl/Makefile (tests-internal): Remove tst-typesizes.
28718
28719 2017-11-07 Mike FABIAN <mfabian@redhat.com>
28720
28721 [BZ #22403]
28722 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
28723 to be escaped.
28724 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
28725 to be escaped.
28726
28727 2017-11-07 Claude Paroz <claude@2xlibre.net>
28728
28729 [BZ #22403]
28730 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
28731 to be escaped.
28732 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
28733 to be escaped.
28734 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
28735 to be escaped.
28736
28737 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28738
28739 [BZ #22298]
28740 * nptl/allocatestack.c (allocate_stack): Check if
28741 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
28742 __PTHREAD_MUTEX_HAVE_PREV is defined.
28743 * nptl/descr.h (pthread): Likewise.
28744 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28745 Likewise.
28746 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28747 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28748 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
28749 * sysdeps/nptl/bits/thread-shared-types.h
28750 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28751 defines.
28752 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
28753 of __WORDSIZE for internal layout.
28754 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
28755 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
28756 instead of __WORDSIZE whether to use an union for __spins and __list
28757 fields.
28758 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
28759 case.
28760 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
28761 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28762 defines.
28763 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
28764 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28765 Likewise.
28766 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
28767 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28768 Likewise.
28769 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
28770 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28771 Likewise.
28772 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
28773 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28774 Likewise.
28775 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
28776 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28777 Likewise.
28778 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
28779 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28780 Likewise.
28781 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
28782 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28783 Likewise.
28784 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
28785 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28786 Likewise.
28787 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
28788 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28789 Likewise.
28790 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
28791 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28792 Likewise.
28793 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
28794 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28795 Likewise.
28796 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
28797 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28798 Likewise.
28799 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
28800 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28801 Likewise.
28802 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
28803 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28804 Likewise.
28805
28806 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
28807 New macros.
28808 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
28809 checks for expected input type size.
28810 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28811 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28812 Likewise.
28813 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28814 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
28815 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28816 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
28817 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28818 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
28819 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
28820 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
28821 superflous runtime assert check.
28822 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
28823 Likewise.
28824 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
28825 Likewise.
28826 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
28827 Likewise.
28828 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
28829 Likewise.
28830 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
28831 Likewise.
28832 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
28833 Likewise.
28834 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
28835 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
28836 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
28837 Likewise.
28838 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
28839 Likewise.
28840 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
28841 Likewise.
28842 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
28843 Likewise.
28844 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
28845 Likewise.
28846 * nptl/pthread_attr_setinheritsched.c
28847 (__pthread_attr_setinheritsched): Likewise.
28848 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
28849 Likewise.
28850 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
28851 Likewise.
28852 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
28853 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
28854 __old_pthread_attr_setstack): Likewise.
28855 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
28856 Likewise.
28857 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
28858 Likewise.
28859 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
28860 Likewise.
28861 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
28862 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
28863 Likewise.
28864 * nptl/tst-typesizes.c: Remove file.
28865
28866 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
28867 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
28868 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
28869 checks for internal pthread_mutex_t offsets.
28870 * sysdeps/aarch64/nptl/pthread-offsets.h
28871 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
28872 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
28873 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
28874 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
28875 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
28876 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
28877 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
28878 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
28879 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
28880 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
28881 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
28882 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
28883 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
28884 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
28885 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
28886 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
28887 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
28888 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
28889
28890 2017-11-07 Florian Weimer <fweimer@redhat.com>
28891
28892 * bits/mman-linux.h: Move ...
28893 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
28894 comment.
28895 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
28896 outdated comment.
28897
28898 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28899
28900 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
28901 Redefine STRNLEN as __strnlen_power8.
28902
28903 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28904
28905 * signal/sighold.c (sighold): Optimize implementation.
28906
28907 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
28908 __NR_rt_sigqueueinfo.
28909
28910 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28911 __sigtimedwait.
28912 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
28913 assume __NR_rt_sigtimedwait.
28914 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
28915 and add LIBC_CANCEL_HANDLED for cancellation marking.
28916 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28917
28918 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28919 (sysdeps_routines): Add memchr_noneon.
28920 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
28921 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
28922 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
28923 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
28924 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
28925 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
28926 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
28927
28928 * sysdeps/arm/arm-ifunc.h: New file.
28929 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
28930 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
28931 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
28932 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
28933 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
28934 (__memcpy_neon): Avoid create hidden alias.
28935 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
28936 (__memcpy_vfp): Likewise.
28937 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28938 (sysdep_routines): Add memcpy_arm.
28939 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
28940
28941 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
28942
28943 [BZ #22362]
28944 * Makerules (make-link-multidir): New.
28945 * config.make.in (multidir): New.
28946 * configure.ac (libc_cv_multidir): New. AC_SUBST.
28947 * configure: Regenerated.
28948 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
28949 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
28950 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
28951 New target.
28952
28953 2017-11-06 Joseph Myers <joseph@codesourcery.com>
28954
28955 [BZ #22402]
28956 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
28957 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
28958
28959 2017-11-04 Mike FABIAN <mfabian@redhat.com>
28960
28961 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
28962 to be escaped.
28963
28964 2017-11-04 Florian Weimer <fweimer@redhat.com>
28965
28966 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
28967
28968 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28969
28970 * math/math.h [__HAVE_DISTINCT_FLOAT16
28971 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28972 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28973 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28974 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
28975 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
28976 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
28977 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28978 (__MATH_TG_F32): New macro.
28979 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28980 (__MATH_TG_F64X): Likewise.
28981 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28982 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
28983
28984 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
28985
28986 * po/de.po: Update translations.
28987 * po/ru.po: Likewise.
28988
28989 2017-11-03 Florian Weimer <fweimer@redhat.com>
28990
28991 * manual/filesys.texi (Hard Links): Document linkat.
28992
28993 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28994
28995 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
28996 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28997 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28998 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28999 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29000 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29001 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
29002 the same as _Float128.
29003 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
29004 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
29005 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
29006
29007 * stdlib/stdlib.h
29008 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
29009 Declare.
29010 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
29011 Likewise.
29012 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
29013 Likewise.
29014 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29015 (strtof32x): Likewise.
29016 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29017 (strtof64x): Likewise.
29018 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29019 (strtof128x): Likewise.
29020 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29021 (strfromf16): Likewise.
29022 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29023 (strfromf32): Likewise.
29024 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29025 (strfromf64): Likewise.
29026 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29027 (strfromf32x): Likewise.
29028 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29029 (strfromf64x): Likewise.
29030 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29031 (strfromf128x): Likewise.
29032 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
29033 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
29034 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
29035 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
29036 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
29037 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
29038
29039 2017-11-03 Richard Henderson <rth@twiddle.net>
29040
29041 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
29042
29043 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29044
29045 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
29046
29047 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29048
29049 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
29050 DT_TLSDESC_GOT initialization.
29051 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
29052 (_dl_tlsdesc_resolve_hold): Likewise.
29053 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
29054 (_dl_tlsdesc_resolve_hold): Likewise.
29055 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
29056 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29057
29058 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29059
29060 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
29061
29062 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29063
29064 [BZ #18572]
29065 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
29066 non-lazily for R_ARM_TLS_DESC.
29067
29068 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29069
29070 [BZ #17078]
29071 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
29072 R_ARM_TLS_DESC case.
29073 (elf_machine_lazy_rel): Remove the prelink check.
29074
29075 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29076
29077 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
29078 DT_TLSDESC_GOT initialization.
29079 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
29080 (_dl_tlsdesc_resolve_rela): Likewise.
29081 (_dl_tlsdesc_resolve_hold): Likewise.
29082 (_dl_tlsdesc_undefweak): Remove ldar.
29083 (_dl_tlsdesc_dynamic): Likewise.
29084 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
29085 (_dl_tlsdesc_resolve_rela): Likewise.
29086 (_dl_tlsdesc_resolve_hold): Likewise.
29087 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
29088 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
29089 (_dl_tlsdesc_resolve_rela): Likewise.
29090 (_dl_tlsdesc_resolve_hold): Likewise.
29091
29092 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29093
29094 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
29095 binding and initialization non-lazily for R_AARCH64_TLSDESC.
29096
29097 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29098
29099 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
29100 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29101
29102 2017-11-02 Joseph Myers <joseph@codesourcery.com>
29103
29104 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
29105 Declare.
29106 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
29107 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
29108 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
29109 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
29110 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
29111 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
29112 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
29113 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
29114 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
29115 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
29116 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
29117
29118 2017-11-02 Mike FABIAN <mfabian@redhat.com>
29119
29120 [BZ #22382]
29121 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
29122 * localedata/locales/tpi_PG: Add standard header.
29123
29124 2017-11-02 Florian Weimer <fweimer@redhat.com>
29125
29126 test-errno-linux: quotactl can fail with EPERM in containers.
29127 * sysdeps/unix/sysv/linux/test-errno-linux.c
29128 (LIST, LIST_FORWARD): New macros.
29129 (check_error_in_list): New function.
29130 (test_wrp_rv): Accept list of permitted error codes.
29131 (test_wrp_rv2): Remove.
29132 (test_wrp): Call test_wrp_rv with list of error codes.
29133 (test_wrp2): Accept list of error codes.
29134 (do_test): Adjust. Allow EPERM for quotactl.
29135
29136 2017-11-02 Florian Weimer <fweimer@redhat.com>
29137
29138 * stdio-common/bug16.c (do_test): Use array_length.
29139 * stdio-common/errlist.c (_sys_nerr): Likewise.
29140 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
29141 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
29142 * stdio-common/psiginfo.c (psiginfo): Use array_length.
29143 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
29144 (do_test): Use array_length.
29145 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
29146 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
29147 * stdio-common/tst-printf-round.c (do_test): Likewise.
29148 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
29149 (CHECK): Use array_length.
29150 * stdio-common/tstdiomisc.c (t3, F): Likewise.
29151 * stdio-common/tstscanf.c (main): Likewise.
29152 * stdio-common/vfprintf.c (process_string_arg): Likewise.
29153
29154 2017-11-02 Florian Weimer <fweimer@redhat.com>
29155
29156 Add array_length and array_end macros.
29157 * include/array_length.h: New file.
29158
29159 2017-11-02 Florian Weimer <fweimer@redhat.com>
29160
29161 [BZ #22332]
29162 * posix/tst-glob-tilde.c (do_noescape): New variable.
29163 (one_test): Process it.
29164 (do_test): Set do_noescape. Add unescaping test case.
29165
29166 2017-11-01 Joseph Myers <joseph@codesourcery.com>
29167
29168 * math/complex.h
29169 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
29170 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
29171 with appropriate macros defined and undefined.
29172 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
29173 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29174 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
29175 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29176 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
29177 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29178 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
29179 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29180 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
29181 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
29182
29183 * math/complex.h
29184 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
29185 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
29186 that for long double. Do not condition define and undefine of
29187 _Mdouble_complex_ on [__CFLOAT128].
29188
29189 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
29190
29191 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29192 of <sysdeps/generic/sysdep.h>.
29193 (ALIGNARG): Removed.
29194 (ASM_SIZE_DIRECTIVE): Likewise.
29195 (ENTRY): Likewise.
29196 (END): Likewise.
29197 (ENTRY_CHK): Likewise.
29198 (END_CHK): Likewise.
29199 (syscall_error): Likewise.
29200 (mcount): Likewise.
29201 (PSEUDO_END): Likewise.
29202 (L): Likewise.
29203 (atom_text_section): Likewise.
29204 * sysdeps/x86/sysdep.h: New file.
29205 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
29206 of <sysdeps/generic/sysdep.h>.
29207 (ALIGNARG): Removed.
29208 (ASM_SIZE_DIRECTIVE): Likewise.
29209 (ENTRY): Likewise.
29210 (END): Likewise.
29211 (ENTRY_CHK): Likewise.
29212 (END_CHK): Likewise.
29213 (syscall_error): Likewise.
29214 (mcount): Likewise.
29215 (PSEUDO_END): Likewise.
29216 (L): Likewise.
29217 (atom_text_section): Likewise.
29218
29219 2017-10-31 Rafał Lużyński <digitalfreak@lingonborough.com>
29220
29221 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
29222 category of LC_CTYPE set to "i18n:2012".
29223 * localedata/locales/i18n_ctype: Regenerate.
29224
29225 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
29226
29227 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
29228 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
29229 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29230 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29231
29232 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
29233 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
29234 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
29235 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
29236
29237 2017-10-31 Joseph Myers <joseph@codesourcery.com>
29238
29239 * math/complex.h
29240 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
29241 New macro.
29242 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
29243 Likewise.
29244 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
29245 Likewise.
29246 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29247 (CMPLXF32X): Likewise.
29248 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29249 (CMPLXF64X): Likewise.
29250 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29251 (CMPLXF128X): Likewise.
29252
29253 * math/math.h
29254 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
29255 (__MATH_EVAL_FMT2): Define to add 0.0f.
29256
29257 2017-10-31 Alan Modra <amodra@gmail.com>
29258
29259 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
29260 include sysdep.h.
29261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
29262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
29263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
29264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
29265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
29266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
29267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
29268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
29269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
29270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
29271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
29272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
29273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
29274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
29275 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
29276 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
29277 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
29278 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
29279 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
29280 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
29281 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
29282 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
29283 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
29284 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
29285 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29286 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
29287 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
29288 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
29289 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
29290 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
29291 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29292 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29293 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
29294 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
29295 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
29296 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
29297 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
29298 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
29299 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
29300 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
29301 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
29302 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
29303 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
29304 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
29305 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
29306 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
29307 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
29308 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
29309 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29310 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29311 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
29312 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
29313 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
29314 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
29315 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29316 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
29317 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
29318 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
29319 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29320 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29321 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29322 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
29323 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
29324 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
29325 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
29326 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
29327 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
29328 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
29329 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
29330
29331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
29332 include sysdep.h and math_ldbl_opt.h.
29333
29334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
29335 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
29336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
29337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
29338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
29339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
29340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
29341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
29342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
29343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
29344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
29345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
29346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
29347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
29348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
29349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
29350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
29351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
29352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
29353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
29354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
29355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
29356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
29357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
29358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
29359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
29360
29361 2017-10-31 Alan Modra <amodra@gmail.com>
29362
29363 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
29364 string/strncase_l.c, not string/strncase.c.
29365 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
29366 (libc_hidden_def): Redefine.
29367
29368 2017-10-31 Alan Modra <amodra@gmail.com>
29369
29370 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
29371 (__STRCMP, STRCMP, __strcasecmp_l): Define.
29372 (__strcasecmp): Don't define.
29373
29374 2017-10-31 Alan Modra <amodra@gmail.com>
29375
29376 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
29377 IS_IN (libc).
29378 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29379 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29380 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29381
29382 2017-10-31 Alan Modra <amodra@gmail.com>
29383
29384 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
29385 USE_AS_STPNCPY.
29386
29387 2017-10-31 Alan Modra <amodra@gmail.com>
29388
29389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
29390 Redefine only when SHARED.
29391
29392 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29393
29394 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29395 Include <bits/math-finite.h> with appropriate macros defined and
29396 undefined.
29397 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29398 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29399 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29400 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29401 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29402
29403 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
29404 [!_Mlong_double_] (_Mlong_double_): Likewise.
29405 [!_Mfloat16_] (_Mfloat16_): Likewise.
29406 [!_Mfloat32_] (_Mfloat32_): Likewise.
29407 [!_Mfloat64_] (_Mfloat64_): Likewise.
29408 [!_Mfloat128_] (_Mfloat128_): Likewise.
29409 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
29410 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
29411 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
29412 (_Mdouble_): Define without indirection through those macros.
29413 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
29414 [!_Mfloat128_] (_Mfloat128_): Likewise.
29415 [_Mlong_double_] (_Mlong_double_): Likewise.
29416 (_Mdouble_): Define without indirection through those macros.
29417 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
29418 not add -D_Mlong_double_=double.
29419 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
29420 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
29421
29422 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29423
29424 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
29425
29426 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29427
29428 * sysdeps/x86/libc-start.c: Reformat.
29429
29430 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29431
29432 [BZ #22353]
29433 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
29434 (1): Renamed to ...
29435 (L(Src0)): This.
29436 (L(Src1)): New.
29437 (L(Src2)): Likewise.
29438 (L(1)): Renamed to ...
29439 (L(Src3)): This.
29440
29441 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29442
29443 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
29444 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
29445 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
29446 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
29447 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
29448 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
29449 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
29450 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
29451 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
29452 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
29453 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
29454 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
29455 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
29456 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
29457 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
29458 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
29459 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
29460 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
29461 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
29462 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
29463 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
29464 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
29465 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
29466 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
29467 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
29468 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
29469 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
29470 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
29471 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
29472 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
29473 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
29474 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
29475 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
29476 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
29477 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
29478 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
29479 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
29480 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
29481 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
29482 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
29483 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
29484 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
29485 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
29486 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
29487 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
29488 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
29489 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
29490 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
29491 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
29492 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
29493 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
29494 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
29495 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
29496 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
29497 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
29498 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
29499 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
29500 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
29501 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
29502 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
29503 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
29504 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
29505 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
29506 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
29507 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
29508 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
29509
29510 2017-10-30 Florian Weimer <fweimer@redhat.com>
29511
29512 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
29513 always defined.
29514 * io/tst-mkdirat.c (do_test): Likewise.
29515 * io/tst-mkfifoat.c (do_test): Likewise.
29516 * io/tst-mknodat.c (do_test): Likewise.
29517 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
29518 * locale/programs/locale.c (select_dirs): Likewise.
29519 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
29520 * posix/bug-glob2.c (my_readdir): Likewise.
29521 * posix/tst-dir.c (main): Likewise.
29522 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
29523 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
29524
29525 2017-10-30 Florian Weimer <fweimer@redhat.com>
29526
29527 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
29528 just __USE_GNU.
29529
29530 2017-10-30 Florian Weimer <fweimer@redhat.com>
29531
29532 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
29533 Convert to support/test-driver.c.
29534 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
29535 New macro parameters.
29536 (PRINTF): Remove macro. Use test_verbose conditionals instead.
29537 * posix/tst-gnuglob.c: New file.
29538 * posix/tst-gnuglob64.c: Likewise.
29539 * posix/Makefile (tests): Add tst-gnuglob64.
29540
29541 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
29542
29543 [BZ #19485]
29544 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
29545 and use a better translation for March in “mon”.
29546 * localedata/locales/csb_PL: Use more ASCII to improve the
29547 readability of the source.
29548
29549 2017-10-30 Mike FABIAN <mfabian@redhat.com>
29550
29551 [BZ #13953]
29552 * localedata/locales/km_KH: Use ASCII as much
29553 as possible for better readability of the source and
29554 remove useless comments.
29555 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
29556 was commented out and apparently wrong anyway because it was
29557 using Lao characters. If Buddhist era should be used
29558 for km_KH, a native speaker should write the correct formaat
29559 for Khmer.
29560 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
29561 (According to CLDR, the first weekday for Cambodia is Sunday).
29562 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
29563 (These were using Lao characters which must be wrong. If we get
29564 the correct data from a native speaker, we could add it back, until
29565 then it is better not to have name_mr and name_mrs at all than
29566 having it wrong).
29567
29568 2017-10-27 Rafał Lużyński <digitalfreak@lingonborough.com>
29569
29570 * locale/loadlocale.c: Correct size of
29571 _nl_value_type_LC_<category> arrays.
29572
29573 2017-10-27 Joseph Myers <joseph@codesourcery.com>
29574
29575 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29576 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
29577 with appropriate macros defined and undefined.
29578 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29579 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29580 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29581 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29582 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29583
29584 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
29585
29586 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
29587 "-O2 -march=i586".
29588
29589 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29590
29591 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
29592 with lowercase letters to make it agree with CLDR.
29593
29594 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29595
29596 [BZ #15260]
29597 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
29598 first letters of yesstr and nostr in yesexpr and noexpr,
29599 not for the full words.
29600 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29601 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
29602 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
29603 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
29604 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
29605 first letters of yesstr and nostr in yesexpr and noexpr,
29606 until now only English was matched in yesexpr and noexpr.
29607 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
29608 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
29609 fil but not for tl. As tl and fil are very similar, using fil
29610 is probably better than using English.
29611
29612 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
29613
29614 [BZ #21706]
29615 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
29616 in yesstr and nostr.
29617
29618 2017-10-26 Joseph Myers <joseph@codesourcery.com>
29619
29620 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29621 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
29622 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
29623 Likewise.
29624 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
29625 Likewise.
29626 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
29627 Likewise.
29628 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
29629 Likewise.
29630 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29631 (SNANF128X): Likewise.
29632
29633 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29634 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
29635 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29636 (HUGE_VAL_F32): Likewise.
29637 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29638 (HUGE_VAL_F64): Likewise.
29639 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29640 (HUGE_VAL_F32X): Likewise.
29641 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29642 (HUGE_VAL_F64X): Likewise.
29643 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29644 (HUGE_VAL_F128X): Likewise.
29645
29646 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29647
29648 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
29649 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
29650 for the br_FR locale.
29651
29652 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29653
29654 [BZ #21706]
29655 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
29656
29657 2017-10-25 Carlos O'Donell <carlos@redhat.com>
29658
29659 * locale/programs/record-status.h: Define globals, and function
29660 prototypes. Move function bodies...
29661 * locale/programs/record-status.c: ... to here. New file.
29662 * iconv/Makefile (iconv_prog-modules): Add record-status.
29663 * locale/Makefile (lib-modules): Likewise.
29664 * iconv/iconv_prog.c: Remove verbose.
29665 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
29666 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
29667 record a warning about ASCII compatibility.
29668 * locale/programs/ld-monetary.c (monetary_finish): If
29669 warn_int_curr_symbol is true then record a warning about the symbol
29670 not being in our ISO 4217 list.
29671 * locale/programs/locale.c: Include record-status.h. Remove verbose.
29672 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
29673 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
29674 (OPT_NO_WARN): Define.
29675 (OPT_WARN): Define.
29676 (options): Add entry for --no-warnings, and --warnings.
29677 (set_warnings): New function to enable/disable warnings.
29678 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
29679 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
29680 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
29681 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
29682 Pass flags to generate_locale.
29683 (generate_locale): Accept new flag argument and pass it to localedef
29684 invocation.
29685 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
29686 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
29687
29688 * localedata/Makefile (test-input-data): Use full file name.
29689 * localedata/da_DK.in: Rename to...
29690 * localedata/da_DK.ISO-8859-1.in: ...this.
29691 * localedata/de_DE.in: Rename to...
29692 * localedata/de_DE.ISO-8859-1.in: ...this.
29693 * localedata/en_US.in: Rename to...
29694 * localedata/en_US.ISO-8859-1.in: ...this.
29695 * localedata/fr_FR.in: Rename to...
29696 * localedata/fr_FR.UTF-8.in: ... this.
29697 * localedata/hr_HR.in: Rename to...
29698 * localedata/hr_HR.ISO-8859-2.in: ...this.
29699 * localedata/hu_HU.in: Rename to...
29700 * localedata/hu_HU.UTF-8.in: ...this.
29701 * localedata/si_LK.in: Rename to...
29702 * localedata/si_LK.UTF-8.in: ...this.
29703 * localedata/sv_SE.in: Rename to...
29704 * localedata/sv_SE.ISO-8859-1.in: ...this.
29705 * localedata/tr_TR.in: Rename to...
29706 * localedata/tr_TR.UTF-8.in: ...this.
29707 * localedata/uk_UA.in: Rename to...
29708 * localedata/uk_UA.UTF-8.in: ...this.
29709 * localedata/sort-test.sh: Test file is locale name with the
29710 suffix.
29711
29712 * localedata/unicode-gen/Makefile (check_i18n): Rename to
29713 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
29714 file.
29715 * localedata/locales/i18n_ctype: Regenerate.
29716 * localedata/locales/tr_TR: Likewise.
29717 * localedata/locales/translit_circle: Likewise.
29718 * localedata/locales/translit_cjk_compat: Likewise.
29719 * localedata/locales/translit_combining: Likewise.
29720 * localedata/locales/translit_compat: Likewise.
29721 * localedata/locales/translit_font: Likewise.
29722 * localedata/locales/translit_fraction: Likewise.
29723
29724 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29725
29726 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
29727 lxvd2x/stxvd2x with lvx/stvx.
29728 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
29729
29730 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
29731
29732 * include/alloc_buffer.h: Replace "if if " with "if " in
29733 comments.
29734 * sysdeps/mips/memcpy.S: Likkewise.
29735 * sysdeps/mips/memset.S: Likewise.
29736 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29737 Likewise.
29738 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
29739 Likewise.
29740 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
29741 Likewise.
29742
29743 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29744
29745 [BZ #15261]
29746 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
29747 yesexpr and noexpr.
29748 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29749 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29750 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29751 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29752 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29753 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29754 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29755
29756 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29757
29758 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
29759 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29760 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29761 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29762 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29763 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
29764 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29765 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29766 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29767 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29768 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29769 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29770
29771 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29772
29773 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
29774 as possible for better readability of the source.
29775 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
29776 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
29777 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
29778 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
29779 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
29780 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
29781 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
29782 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
29783 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29784 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
29785 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
29786 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
29787 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
29788 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
29789 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
29790 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
29791 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
29792 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
29793 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
29794 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
29795 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
29796 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
29797 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
29798 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
29799 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
29800 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
29801 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
29802 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
29803 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
29804 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
29805 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
29806 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29807 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
29808 * localedata/locales/en_US (LC_MESSAGES): Likewise.
29809 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
29810 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
29811 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
29812 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
29813 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
29814 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
29815 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
29816 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
29817 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
29818 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
29819 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
29820 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
29821 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
29822 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
29823 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
29824 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
29825 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
29826 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
29827 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
29828 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29829 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29830 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
29831 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
29832 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29833 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
29834 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
29835 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
29836 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
29837 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
29838 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
29839 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
29840 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
29841 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
29842 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
29843 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
29844 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
29845 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
29846 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
29847 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
29848 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
29849 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29850 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
29851 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
29852 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
29853 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
29854 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
29855 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
29856 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
29857 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
29858 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29859 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
29860 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
29861 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
29862 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29863 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
29864 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
29865 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
29866 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
29867 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29868 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
29869 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
29870 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29871 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
29872 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29873 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
29874 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
29875 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
29876 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
29877 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
29878 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
29879 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
29880 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
29881 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
29882 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
29883 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
29884 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
29885 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
29886 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
29887 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29888 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
29889 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
29890 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
29891 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
29892 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
29893 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
29894 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
29895 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
29896 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
29897 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
29898 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
29899 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
29900 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
29901 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
29902 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
29903 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
29904 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
29905 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
29906 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
29907 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
29908 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
29909 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
29910 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
29911 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
29912 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
29913 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
29914 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
29915 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
29916 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
29917 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
29918 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
29919 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
29920 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29921 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
29922 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
29923 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
29924 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
29925 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
29926 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
29927 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
29928 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
29929 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29930 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
29931 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
29932 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
29933 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
29934 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
29935 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
29936 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
29937 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
29938 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
29939 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
29940 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29941 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
29942 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
29943 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
29944 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
29945 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29946 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29947 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29948 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
29949
29950 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29951
29952 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
29953 (Use first letters of yesstr and nostr correctly instead of using
29954 full words).
29955
29956 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29957
29958 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
29959 (Use first letters of yesstr and nostr correctly).
29960
29961 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29962
29963 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
29964 also check for the first characters of yesstr and nostr.
29965 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
29966 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
29967
29968 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29969
29970 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
29971 also check for Chinese characters.
29972
29973 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29974
29975 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
29976 match also for the contents of yesstr and nostr. As the first letter
29977 of yesstr and nostr is equal, checking only for the first letter
29978 is not enough.
29979
29980 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29981
29982 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
29983 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
29984
29985 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29986
29987 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
29988 of main contributor.
29989
29990 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29991
29992 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
29993 instead of using English.
29994
29995 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29996
29997 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
29998 by including the first letters of nostr and yesexpr in the regexp.
29999 Also make it more readable by using ASCII where possible.
30000
30001 2017-10-25 Mike FABIAN <mfabian@redhat.com>
30002
30003 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
30004 the first letter of nostr in the regexp. It agrees with CLDR now.
30005 Also make it more readable by using ASCII where possible.
30006
30007 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30008
30009 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
30010 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
30011 these strings contain a U+17D6 (which somewhat looks like a colon)
30012 instead of a real colon to separate the full words for “yes”
30013 and “no” from the single letter responses.
30014
30015 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30016
30017 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
30018 it agree with CLDR (include the first letter of yesstr).
30019 Also make it more readable by using ASCII where possible.
30020
30021 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30022
30023 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
30024 and improve yesexpr and noexpr. The yesstr and nostr apparently
30025 came from CLDR. And CLDR has a bug there: these strings contain
30026 a U+0903 (which looks like a colon) instead of a real colon
30027 to separate the full words for “yes” and “no” from the single
30028 letter responses.
30029
30030 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30031
30032 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
30033 letters of the full yesstr and nostr in yesexpr and noexpr.
30034
30035 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30036
30037 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
30038 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
30039 * localedata/locales/an_ES: Make source more readable by using ASCII
30040 where possible.
30041
30042 2017-10-24 Mike FABIAN <mfabian@redhat.com>
30043
30044 [BZ #20952]
30045 * localedata/locales/yuw_PG: New file.
30046 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
30047 * locale/iso-639.def: Add Yau (Uruwa).
30048
30049 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30050
30051 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
30052
30053 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30054
30055 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
30056 (__libc_realloc): Likewise.
30057 (_mid_memalign): Likewise.
30058 (__libc_calloc): Likewise.
30059
30060 2017-10-23 Mike FABIAN <mfabian@redhat.com>
30061
30062 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
30063 by adding the generic +1 and -0 as in all other locales.
30064 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
30065 day names and make it more readable by using ASCII where possible.
30066
30067 2017-10-24 Joseph Myers <joseph@codesourcery.com>
30068
30069 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
30070 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
30071
30072 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30073
30074 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
30075 WNOHANG in waitpid call.
30076
30077 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
30078
30079 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
30080 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
30081
30082 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
30083 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
30084 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
30085 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
30086 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
30087 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
30088 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
30089 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
30090 variables.
30091
30092 2017-10-23 Michael Collison <michael.collison@arm.com>
30093
30094 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
30095 with __builtin_sqrt.
30096 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
30097 with __builtin_sqrtf.
30098 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
30099 with __builtin_ceil.
30100 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
30101 with __builtin_ceilf.
30102 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
30103 with __builtin_floor.
30104 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
30105 with __builtin_floorf.
30106 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
30107 with __builtin_fma.
30108 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
30109 with __builtin_fmaf.
30110 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
30111 with __builtin_fmax.
30112 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
30113 with __builtin_fmaxf.
30114 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
30115 with __builtin_fmin.
30116 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
30117 with __builtin_fminf.
30118 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
30119 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
30120 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
30121 with builtin_rint and conversion to int.
30122 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
30123 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
30124 with builtin_llround.
30125 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
30126 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
30127 with builtin_rint and conversion to long int.
30128 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
30129 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
30130 with builtin_lround.
30131 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
30132 with builtin_lroundf.
30133 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
30134 statements with __builtin_nearbyint.
30135 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
30136 statements with __builtin_nearbyintf.
30137 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
30138 with __builtin_rint.
30139 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
30140 with __builtin_rintf.
30141 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
30142 with __builtin_round.
30143 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
30144 with __builtin_roundf.
30145 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
30146 with __builtin_trunc.
30147 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
30148 with __builtin_truncf.
30149 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
30150 and s_l[l]round[f].c too.
30151
30152 2017-10-23 Alan Modra <amodra@gmail.com>
30153
30154 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
30155 Adjust stack after restoring regs. Add missing LR cfi_restore.
30156
30157 2017-10-23 Alan Modra <amodra@gmail.com>
30158
30159 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
30160 Move LR save and frame setup/teardown and LR restore to
30161 immediately around memset call. Provide cfi.
30162
30163 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30164
30165 * sysdeps/i386/fpu/e_powf.S: Removed.
30166 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
30167 * sysdeps/i386/fpu/w_powf.c: Likewise.
30168 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
30169 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30170 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30171 Add e_powf-sse2.
30172 (CFLAGS-e_powf-sse2.c): New.
30173 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
30174 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
30175
30176 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30177
30178 * sysdeps/i386/fpu/e_log2f.S: Removed.
30179 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
30180 * sysdeps/i386/fpu/w_log2f.c: Likewise.
30181 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
30182 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30183 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30184 Add e_log2f-sse2.
30185 (CFLAGS-e_log2f-sse2.c): New.
30186 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
30187 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
30188
30189 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30190
30191 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30192 Add e_powf-fma.
30193 (CFLAGS-e_powf-fma.c): New.
30194 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
30195 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
30196
30197 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30198
30199 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30200 Add e_log2f-fma.
30201 (CFLAGS-e_log2f-fma.c): New.
30202 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
30203 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
30204
30205 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30206
30207 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30208 Add e_logf-fma.
30209 (CFLAGS-e_logf-fma.c): New.
30210 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
30211 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
30212
30213 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30214
30215 * sysdeps/i386/fpu/e_logf.S: Removed.
30216 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
30217 * sysdeps/i386/fpu/w_logf.c: Likewise.
30218 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
30219 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
30220 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30221 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30222 Add e_logf-sse2.
30223 (CFLAGS-e_logf-sse2.c): New.
30224 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
30225 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
30226
30227 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30228
30229 * sysdeps/i386/fpu/e_exp2f.S: Removed.
30230 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
30231 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
30232 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30233 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30234 Add e_exp2f-sse2.
30235 (CFLAGS-e_exp2f-sse2.c): New.
30236 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
30237 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
30238
30239 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30240
30241 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30242 Add e_exp2f-fma.
30243 (CFLAGS-e_exp2f-fma.c): New.
30244 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
30245 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
30246
30247 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30248
30249 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
30250 * sysdeps/i386/fpu/e_expf.S: Likewise.
30251 * sysdeps/i386/fpu/math_errf.c: Likewise.
30252 * sysdeps/i386/fpu/w_expf.c: Likewise.
30253 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
30254 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30255 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
30256 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
30257 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30258 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
30259 Remove e_expf-ia32.
30260 (CFLAGS-e_expf-sse2.c): New.
30261 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
30262 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
30263
30264 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
30265
30266 * sysdeps/x86_64/fpu/e_expf.S: Removed.
30267 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
30268 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
30269 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
30270 e_expf.c.
30271 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
30272 New.
30273 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
30274 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30275 Renamed to ...
30276 (__redirect_expf): This.
30277 (SYMBOL_NAME): Changed to expf.
30278 (__ieee754_expf): Renamed to ...
30279 (__expf): This.
30280 (__GI___expf): This.
30281 (__ieee754_expf): Add strong_alias.
30282 (__expf_finite): Likewise.
30283 (__expf): New.
30284 Include <sysdeps/ieee754/flt-32/e_expf.c>.
30285
30286 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
30287
30288 [BZ #22332]
30289 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
30290 unescaping.
30291
30292 2017-10-21 Florian Weimer <fweimer@redhat.com>
30293
30294 * posix/Makefile (tests): Add tst-glob-tilde.
30295 (tests-special): Add tst-glob-tilde-mem.out
30296 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
30297 (tst-glob-tilde-mem.out): Add mtrace check.
30298 * posix/tst-glob-tilde.c: New file.
30299
30300 2017-10-20 Joseph Myers <joseph@codesourcery.com>
30301
30302 * bits/floatn-common.h: New file.
30303 * math/Makefile (headers): Add bits/floatn-common.h.
30304 * bits/floatn.h: Include <bits/floatn-common.h>.
30305 * sysdeps/ia64/bits/floatn.h: Likewise.
30306 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30307 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
30308 * sysdeps/powerpc/bits/floatn.h: Likewise.
30309 * sysdeps/x86/bits/floatn.h: Likewise.
30310
30311 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30312
30313 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
30314 indicates whether compiler emits an warning for alias for
30315 functions with incompatible types.
30316
30317 [BZ #22273]
30318 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
30319 the auxiliary process is terminated by a signal before calling _exit
30320 or execve.
30321
30322 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30323
30324 [BZ #21265]
30325 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
30326 New.
30327 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
30328 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
30329 and bit_arch_XSAVEC_Usable if needed.
30330 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
30331 and bit_arch_Use_dl_runtime_resolve_opt.
30332 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
30333 Removed.
30334 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
30335 (bit_arch_Prefer_No_AVX512): Updated.
30336 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
30337 (bit_arch_XSAVEC_Usable): New.
30338 (STATE_SAVE_OFFSET): Likewise.
30339 (STATE_SAVE_MASK): Likewise.
30340 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
30341 (cpu_features): Add xsave_state_size and xsave_state_full_size.
30342 (index_arch_Use_dl_runtime_resolve_opt): Removed.
30343 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
30344 (index_arch_XSAVEC_Usable): New.
30345 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30346 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
30347 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
30348 is enabled.
30349 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
30350 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
30351 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
30352 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
30353 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
30354 _dl_runtime_resolve_xsavec.
30355 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
30356 Removed.
30357 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
30358 instead of VEC_SIZE.
30359 (REGISTER_SAVE_BND0): Removed.
30360 (REGISTER_SAVE_BND1): Likewise.
30361 (REGISTER_SAVE_BND3): Likewise.
30362 (REGISTER_SAVE_RAX): Always defined to 0.
30363 (VMOV): Removed.
30364 (_dl_runtime_resolve_avx): Likewise.
30365 (_dl_runtime_resolve_avx_slow): Likewise.
30366 (_dl_runtime_resolve_avx_opt): Likewise.
30367 (_dl_runtime_resolve_avx512): Likewise.
30368 (_dl_runtime_resolve_avx512_opt): Likewise.
30369 (_dl_runtime_resolve_sse): Likewise.
30370 (_dl_runtime_resolve_sse_vex): Likewise.
30371 (USE_FXSAVE): New.
30372 (_dl_runtime_resolve_fxsave): Likewise.
30373 (USE_XSAVE): Likewise.
30374 (_dl_runtime_resolve_xsave): Likewise.
30375 (USE_XSAVEC): Likewise.
30376 (_dl_runtime_resolve_xsavec): Likewise.
30377 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
30378 Removed.
30379 (_dl_runtime_resolve_avx512_opt): Likewise.
30380 (_dl_runtime_resolve_avx): Likewise.
30381 (_dl_runtime_resolve_avx_opt): Likewise.
30382 (_dl_runtime_resolve_sse): Likewise.
30383 (_dl_runtime_resolve_sse_vex): Likewise.
30384 (_dl_runtime_resolve_fxsave): New.
30385 (_dl_runtime_resolve_xsave): Likewise.
30386 (_dl_runtime_resolve_xsavec): Likewise.
30387
30388 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
30389
30390 [BZ #22320]
30391 CVE-2017-15670
30392 * posix/glob.c (__glob): Fix one-byte overflow.
30393
30394 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30395
30396 * malloc/malloc.c (sysdep-cancel.h): Add include.
30397
30398 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30399
30400 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
30401
30402 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
30403
30404 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
30405 (tests): Remove $(objpfx)ga_test depdendency.
30406 * resolv/ga_test.c: Remove file.
30407
30408 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30409
30410 [BZ #18812]
30411 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
30412 * localedata/locales/kab_DZ: New file.
30413
30414 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30415
30416 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
30417 _dl_relocate_static_pie instead of _dl_start to compute load
30418 address in static PIE.
30419
30420 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30421
30422 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
30423
30424 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30425
30426 [BZ #13605]
30427 * localedata/SUPPORTED: Add shn_MM/UTF-8.
30428 * localedata/locales/shn_MM: New file.
30429
30430 2017-10-20 Florian Weimer <fweimer@redhat.com>
30431
30432 [BZ #22321]
30433 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
30434 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
30435 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
30436 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
30437 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
30438 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
30439
30440 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
30441
30442 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30443
30444 2017-10-19 Joseph Myers <joseph@codesourcery.com>
30445
30446 * sysdeps/mips/ieee754/bits/floatn.h: New file.
30447
30448 [BZ #22322]
30449 * sysdeps/mips/bits/long-double.h: Move to ....
30450 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
30451
30452 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
30453
30454 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
30455
30456 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
30457 H.J. Lu <hongjiu.lu@intel.com>
30458
30459 [BZ #22299]
30460 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
30461 GLRO(dl_platform) to NULL.
30462 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
30463 (modules-names): Add tst-platformmod-1 and
30464 x86_64/tst-platformmod-2.
30465 (CFLAGS-tst-platform-1.c): New.
30466 (CFLAGS-tst-platformmod-1.c): Likewise.
30467 (CFLAGS-tst-platformmod-2.c): Likewise.
30468 (LDFLAGS-tst-platformmod-2.so): Likewise.
30469 ($(objpfx)tst-platform-1): Likewise.
30470 ($(objpfx)tst-platform-1.out): Likewise.
30471 (tst-platform-1-ENV): Likewise.
30472 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
30473 * sysdeps/x86_64/tst-platform-1.c: New file.
30474 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
30475 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
30476
30477 2017-10-19 Mike FABIAN <mfabian@redhat.com>
30478
30479 [BZ #13994]
30480 * locale/iso-639.def: Add Karbi.
30481 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
30482 * localedata/locales/mjw_IN: New file.
30483
30484 2017-10-18 Joseph Myers <joseph@codesourcery.com>
30485
30486 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
30487 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30488 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
30489 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
30490 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30491 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30492 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
30493 <bits/floatn.h>.
30494 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30495 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30496 * manual/math.texi (Mathematics): Document additional architecture
30497 support for _Float128.
30498 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
30499 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
30500 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30501 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30502 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30503 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30504 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30505 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30506 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30507 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30508 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30509 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30510 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30511 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30512 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30513
30514 2017-10-18 Renlin Li <renlin.li@arm.com>
30515
30516 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
30517 _DYNAMIC symbol to calculate load address.
30518
30519 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
30520
30521 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
30522 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
30523 summary bits.
30524 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
30525 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
30526
30527 2017-10-18 Mike FABIAN <mfabian@redhat.com>
30528
30529 [BZ #16777]
30530 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
30531 and improve readability by using more ASCII.
30532 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
30533 and improve readability by using more ASCII.
30534
30535 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
30536
30537 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
30538 not all targets support atomics on bool.
30539
30540 2017-10-17 Joseph Myers <joseph@codesourcery.com>
30541
30542 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
30543 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
30544 __f128.
30545 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30546 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
30547 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30548 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
30549 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30550 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
30551
30552 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30553
30554 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
30555 defines.
30556
30557 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30558
30559 [BZ #22159]
30560 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
30561 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
30562 (do_check_remalloced_chunk): Fix build bug.
30563 (do_check_malloc_state): Add assert that checks arena->top.
30564 (malloc_consolidate): Remove initialization.
30565 (int_mallinfo): Remove call to malloc_consolidate.
30566 (__libc_mallopt): Clarify why malloc_consolidate is needed.
30567
30568 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30569
30570 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
30571 (have_fastchunks): Remove.
30572 (clear_fastchunks): Remove.
30573 (set_fastchunks): Remove.
30574 (malloc_state): Add have_fastchunks.
30575 (malloc_init_state): Use have_fastchunks.
30576 (do_check_malloc_state): Remove incorrect invariant checks.
30577 (_int_malloc): Use have_fastchunks.
30578 (_int_free): Likewise.
30579 (malloc_consolidate): Likewise.
30580
30581 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30582
30583 * malloc/malloc.c (tcache_put): Inline.
30584 (tcache_get): Inline.
30585
30586 2017-10-17 Jordi Mallach <jordi@gnu.org>
30587
30588 Aurelien Jarno <aurelien@aurel32.net>
30589 [BZ #2522]
30590 * localedata/locales/ca_ES@valencia: New file.
30591 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
30592
30593 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
30594
30595 [BZ #22296]
30596 * math/math.h: Let signbit use the builtin in C++ mode with gcc
30597 < 6.x
30598
30599 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30600
30601 * scripts/build-many-glibcs.py (Context.add_all_configs):
30602 Add arm-linux-gnueabihf multiarch extra_glibcs.
30603
30604 * sysdeps/generic/ifunc-init.h: New file.
30605 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
30606
30607 2017-10-17 Mike FABIAN <mfabian@redhat.com>
30608
30609 [BZ #22019]
30610 * localedata/locales/el_GR: Set n_cs_precedes to 0.
30611 * localedata/locales/el_CY: copy "el_GR" because it is identical.
30612 * stdlib/tst-strfmon_l.c: adapt test case.
30613
30614 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30615
30616 * sysdeps/generic/float128-abi.h: New file.
30617 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
30618 non-__prefixed symbols to ....
30619 * math/Versions: ... here. Include <float128-abi.h>.
30620 * stdlib/Versions ... and here. Include <float128-abi.h>
30621
30622 2017-10-16 Florian Weimer <fweimer@redhat.com>
30623
30624 * version.h (VERSION): Switch to ".9000" as the development
30625 version suffix.
30626
30627 2017-10-16 Florian Weimer <fweimer@redhat.com>
30628
30629 [BZ #22050]
30630 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
30631 compat_symbol_reference to access non-default version.
30632
30633 2017-10-16 Florian Weimer <fweimer@redhat.com>
30634
30635 * malloc/Makefile (others-extras): Set to mcheck-init.o.
30636
30637 2017-10-16 Carlos O'Donell <carlos@redhat.com>
30638
30639 * include/shlib-compat.h (compat_symbol_reference): Update
30640 comment.
30641
30642 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30643
30644 * math/Makefile (test-types): Add
30645 $(type-float128-$(float128-alias-fcts)).
30646 * math/test-float128.h (TYPE_STR): Define conditional on
30647 [FLT128_MANT_DIG == LDBL_MANT_DIG].
30648 (ULP_IDX): Likewise.
30649 (ULP_I_IDX): Likewise.
30650
30651 * stdlib/strtold.c: Include <bits/floatn.h>
30652 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
30653 and later undefine as macro. Define as weak alias if
30654 [!USE_WIDE_CHAR].
30655 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
30656 and later undefine as macro. Define as weak alias if
30657 [USE_WIDE_CHAR].
30658 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
30659 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
30660 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
30661 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30662 Define and later undefine as macro. Define as weak alias if
30663 [USE_WIDE_CHAR].
30664 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
30665 <bits/floatn.h>.
30666 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
30667 Define and later undefine as macro. Define as weak alias if
30668 [!USE_WIDE_CHAR].
30669 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30670 Define and later undefine as macro. Define as weak alias if
30671 [USE_WIDE_CHAR].
30672
30673 2017-10-15 Carlos O'Donell <carlos@redhat.com>
30674
30675 * localedata/collate-test.c (allocate_arrays): Don't use \n in
30676 record_verbose messages.
30677
30678 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
30679
30680 [BZ #22052]
30681 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
30682 to silence -O3 -Wall warning with GCC 7.
30683
30684 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
30685
30686 * Makeconfig (+link-static-before-libc): Use the first of
30687 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
30688 * gmon/Makefile (tests): Add tst-gmon-static.
30689 (tests-static): Likewise.
30690 (CFLAGS-tst-gmon-static.c): New.
30691 (CRT-tst-gmon-static): Likewise.
30692 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
30693 (tst-gmon-static-ENV): Likewise.
30694 (tests-special): Likewise.
30695 ($(objpfx)tst-gmon-static.out): Likewise.
30696 (clean-tst-gmon-static-data): Likewise.
30697 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
30698 * gmon/tst-gmon-static-gprof.sh: New file.
30699 * gmon/tst-gmon-static.c: Likewise.
30700
30701 2017-10-13 Carlos O'Donell <carlos@redhat.com>
30702
30703 [BZ #22295]
30704 * locale/programs/linereader.c (get_string): Don't warn on
30705 non-symbolic character.
30706
30707 [BZ #22294]
30708 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
30709 int_curr_symbol.
30710
30711 [BZ #22292]
30712 * locale/programs/record-status.h: New file
30713 * locale/programs/locale.c: Add comment.
30714 * locale/programs/charmap-dir.c: Don't include error.h.
30715 (charmap_opendir): Use record_error.
30716 * locale/programs/charmap.c: Don't include error.h.
30717 (charmap_read): Use record_error, and record_warning.
30718 (parse_charmap): Likewise.
30719 * locale/programs/ld-address.c: Don't include error.h.
30720 (address_finish): Use record_error, and record_warning.
30721 * locale/programs/ld-collate.c: Don't include error.h.
30722 (collate_finish): Use record_error, and record_error_at_line.
30723 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
30724 (ctype_class_new): Likewise.
30725 (ctype_map_new): Likewise.
30726 (set_one_default): Likewise.
30727 (set_class_defaults): Likewise.
30728 (translit_flatten): Likewise.
30729 (allocate_arrays): Use record_error, and record_verbose.
30730 * locale/programs/ld-identification.c: Don't include error.h.
30731 (indentation_finish): Use record_error and record_warning.
30732 * locale/programs/ld-measurement.c: Don't include error.h.
30733 (measurement_finish): Use record_error.
30734 * locale/programs/ld-messages.c
30735 (message_finish): Likewise.
30736 * locale/programs/ld-monetary.c
30737 (monetary_finish): Likewise.
30738 * locale/programs/ld-name.c (name_finish): Use record_error
30739 and record_warning.
30740 * locale/programs/ld-numeric.c
30741 (numeric_finish): Use record_error.
30742 * locale/programs/ld-paper.c: Don't include error.h.
30743 (paper_finish): Use record_error.
30744 * locale/programs/ld-telephone.c: Don't include error.h.
30745 (telephone_finish): Use record_error.
30746 * locale/programs/ld-time.c (time_finish): Likewise.
30747 * locale/programs/linereader.h (lr_error): Make inline func.
30748 * locale/programs/localedef.c: Define recorded_warning_count,
30749 and recorded_error_count.
30750 (main): Use record_error. Use recorded_error_count and
30751 recorded_warning_count to issue correct error returns.
30752 (add_to_readlist): Use record_error.
30753 (find_locale): Likewise.
30754 (load_locale): Likewise.
30755 * locale/programs/localedef.h: Remove be_quiet
30756 and WITH_CUR_LOCALE.
30757 * locale/programs/locarchive.c (compare_from_file): Use
30758 record_error.
30759 * locale/programs/locfile.c (write_locale_data): Use
30760 record_error.
30761 * locale/programs/repertoire.c: Dont include error.h.
30762 (repertoire_complain): Use record_error.
30763 * localedata/tst-fmon.sh: Expect failures from localedef.
30764 * localedata/tst-locale.sh: Likewise.
30765 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
30766
30767 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
30768 (REPORTS): Likewise.
30769 (check): Likewise.
30770 (i18n): Rename to...
30771 (i18n_ctype): ...this.
30772 (i18n-report): Rename to...
30773 (i18n_ctype-report): ...this.
30774 * localedata/locales/i18n_ctype: Regenerate.
30775 * localedata/locales/i18n: copy i18n_ctype.
30776
30777 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30778
30779 * stdlib/strfroml.c: Include <bits/floatn.h>.
30780 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
30781 Define before include of <stdlib.h> and undefine afterwards, then
30782 define as weak alias.
30783
30784 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
30785 Undefine and restore default definition. Use
30786 libm_alias_ldouble_other.
30787
30788 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
30789
30790 [BZ #22153]
30791 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
30792 in coredumps.
30793
30794 2017-10-13 James Clarke <jrtc27@jrtc27.com>
30795
30796 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30797 Assign sym_map to be map for local symbols, as TLS relocations
30798 use sym_map to determine whether the symbol is defined and to
30799 extract the TLS information.
30800 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30801 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30802
30803 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30804
30805 [BZ #22189]
30806 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
30807 (math_force_eval): Add powerpc version.
30808
30809 [BZ #22142]
30810 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
30811 -DBL_MAX.
30812 (do_test): Likewise.
30813 * stdio-common/tst-printf.sh: Likewise.
30814 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
30815 ifdef clause in order to set the carry bit right. Replace r0 by
30816 0 without changing the behavior.
30817
30818 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30819
30820 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
30821 <libm-alias-ldouble.h>.
30822 (fabsl): Define using libm_alias_ldouble.
30823 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
30824 <libm-alias-ldouble.h>.
30825 (fabsl): Define using libm_alias_ldouble.
30826
30827 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
30828 Remove conditional code.
30829
30830 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
30831 Rename to __clog10_internal_l.
30832 (__clog10_internal_l): Define aliases using
30833 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
30834 with __clog10.
30835
30836 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30837
30838 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
30839 * benchtests/sincosf-inputs: New file.
30840 * benchtests/cosf-inputs: New file.
30841 * benchtests/sinf-inputs: New file.
30842
30843 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
30844
30845 * posix/tst-spawn.c (do_test): Wait for both children.
30846
30847 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
30848
30849 [BZ #22284]
30850 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
30851 tests-pie): Add tst-gmon-pie.
30852 (CFLAGS-tst-gmon-pie.c): New.
30853 (CRT-tst-gmon-pie): Likewise.
30854 (tst-gmon-pie-ENV): Likewise.
30855 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
30856 ($(objpfx)tst-gmon-pie.out): Likewise.
30857 (clean-tst-gmon-pie-data): Likewise.
30858 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
30859 * gmon/gmon.c [PIC]: Include <link.h>.
30860 [PIC] (callback): New function.
30861 (write_hist): Add an argument for load address. Subtract load
30862 address from PCs.
30863 (write_call_graph): Likewise.
30864 (write_gmon): Call __dl_iterate_phdr to get load address, pass
30865 it to write_hist and write_call_graph.
30866 * gmon/tst-gmon-pie.c: New file.
30867
30868 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30869
30870 * math/Makefile (test-types-basic): New variable.
30871 (test-types): Likewise.
30872 (libm-test-support): Use $(test-types) instead of $(types).
30873 (libm-tests-base-normal): Likewise.
30874 (libm-tests-base-finite): Likewise.
30875 (libm-tests-base-inline): Likewise.
30876 (generated): Likewise.
30877 ($(objpfx)libm-test-support-$(t).c): Likewise.
30878 (libm-tests-for-type iterator): Likewise.
30879 (libm-test-support iterator): Likewise.
30880 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
30881 (ulp_idx): Use ULP_IDX.
30882 * math/test-ldouble.h: Include <float.h>.
30883 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
30884 (ULP_IDX): New macro.
30885 (ULP_I_IDX): Likewise.
30886 * math/test-double.h (ULP_IDX): Likewise.
30887 (ULP_I_IDX): Likewise.
30888 * math/test-float.h (ULP_IDX): Likewise.
30889 (ULP_I_IDX): Likewise.
30890 * math/test-float128.h (ULP_IDX): Likewise.
30891 (ULP_I_IDX): Likewise.
30892
30893 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30894
30895 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
30896 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30897 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30898 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
30899 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30900 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
30901 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
30902 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30903 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30904 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30905 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
30906 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30907 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30908 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30909 (SINGLE_THREAD_BY_GLOBAL): Define.
30910 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30911 Likewise.
30912 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30913 Likewise.
30914 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30915 Likewise.
30916 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30917 Likewise.
30918 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
30919 (SINGLE_THREAD_BY_GLOBAL): Likewise.
30920 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30921 Likewise.
30922
30923 2017-10-11 Andreas Schwab <schwab@suse.de>
30924
30925 * nis/Makefile (aux): Remove.
30926 * nscd/Makefile (aux): Add nscd_hash.
30927 (nscd-modules): Likewise.
30928 ($(objpfx)nscd): Don't depend on libnsl.
30929 * nscd/nscd_hash.c: New file.
30930 * nscd/nscd_hash.h: Likewise.
30931 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
30932 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
30933 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
30934 instead of <nis/rpcsvc/nis.h>.
30935 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
30936
30937 2017-10-11 Florian Weimer <fweimer@redhat.com>
30938
30939 [BZ #22078]
30940 Avoid large NSS buffers with many addresses, aliases.
30941 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
30942 using dynarrays and struct alloc_buffer.
30943 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
30944 (tst-nss-files-hosts-multi): Link with -ldl.
30945 * nss/tst-nss-files-hosts-multi.c: New file.
30946
30947 2017-10-11 Florian Weimer <fweimer@redhat.com>
30948
30949 [BZ #18023]
30950 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
30951 scratch_buffer. Eliminate gotos.
30952
30953 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30954
30955 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
30956 libm_alias_ldouble_other.
30957 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
30958 undefine and redefine.
30959 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30960 (exp10l): Do not define here.
30961 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
30962 (weak_alias): Undefine and redefine.
30963 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
30964 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30965 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
30966 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
30967
30968 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
30969 [!__fma] (fma): Define using libm_alias_double.
30970 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
30971 [!__fmaf] (fmaf): Define using libm_alias_float.
30972 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
30973 (fmal): Define using libm_alias_ldouble.
30974
30975 2017-10-10 Joseph Myers <joseph@codesourcery.com>
30976
30977 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
30978 New macro.
30979 (libm_alias_double_other): Likewise.
30980 (libm_alias_double_r): Use libm_alias_double_other_r.
30981 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
30982 New macro.
30983 (libm_alias_float_other): Likewise.
30984 (libm_alias_float_r): Use libm_alias_float_other_r.
30985 * sysdeps/generic/libm-alias-float128.h
30986 (libm_alias_float128_other_r): New macro.
30987 (libm_alias_float128_other): Likewise.
30988 (libm_alias_float128_r): Use libm_alias_float128_other_r.
30989 * sysdeps/generic/libm-alias-ldouble.h
30990 (libm_alias_ldouble_other_r): New macro.
30991 (libm_alias_ldouble_other): Likewise.
30992 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30993 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
30994 (libm_alias_double_other_r): New macro.
30995 (libm_alias_double_other): Likewise.
30996 (libm_alias_double_r): Use libm_alias_double_other_r.
30997 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
30998 (libm_alias_ldouble_other_r): New macro.
30999 (libm_alias_ldouble_other): Likewise.
31000 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
31001 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
31002 [!USE_AS_COMPAT]: Use libm_alias_double_other.
31003 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
31004 [!USE_AS_COMPAT]: Use libm_alias_float_other.
31005 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
31006 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
31007 * math/w_exp2f.c: Use libm_alias_float_other.
31008 * math/w_expf.c: Likewise.
31009 * math/w_log2f.c: Likewise.
31010 * math/w_logf.c: Likewise.
31011 * math/w_powf.c: Likewise.
31012 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
31013 [!__exp2f]: Use libm_alias_float_other.
31014 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
31015 [!__expf]: Use libm_alias_float_other.
31016 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
31017 [!__log2f]: Use libm_alias_float_other.
31018 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
31019 [!__logf]: Use libm_alias_float_other.
31020 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
31021 [!__powf]: Use libm_alias_float_other.
31022
31023 2017-10-10 Florian Weimer <fweimer@redhat.com>
31024
31025 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
31026 function.
31027 (_nss_files_gethostbyname3_r): Call it.
31028
31029 2017-10-09 Joseph Myers <joseph@codesourcery.com>
31030
31031 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
31032 error. Remove default definition of declare_mgen_alias.
31033 [!declare_mgen_alias_r]: Likewise.
31034 * sysdeps/generic/math-type-macros-double.h
31035 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
31036 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
31037 (declare_mgen_alias_r): Likewise.
31038 * sysdeps/generic/math-type-macros-float128.h
31039 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31040 * sysdeps/generic/math-type-macros-ldouble.h
31041 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
31042 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
31043 macro.
31044 (declare_mgen_alias_r_s): Likewise.
31045 (declare_mgen_alias_r): Likewise.
31046 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
31047 (lgamma_r): Define using libm_alias_double_r.
31048 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
31049 (lgammaf_r): Define using libm_alias_float_r.
31050 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
31051 (lgammal_r): Define using libm_alias_ldouble_r.
31052 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
31053 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31054
31055 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31056
31057 * lib/glob.c (__glob_pattern_type): Remove now-spurious
31058 extern declaration.
31059
31060 2017-10-09 Joseph Myers <joseph@codesourcery.com>
31061
31062 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
31063
31064 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
31065
31066 [BZ #21326]
31067 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
31068 [__cplusplus >= 201103] (__USE_ISOC99): Define.
31069 * math/Makefile (test-math-cxx11): New test.
31070 * math/test-math-cxx11.cc: New file.
31071
31072 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
31073
31074 * login/openpty.c (openpty): Close slave pty file descriptor on error.
31075
31076 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
31077 call to allocate the slave pty file descriptor.
31078
31079 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31080
31081 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
31082 [!__fma] (fma): Define using libm_alias_double.
31083 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
31084 [!__fma] (fma): Define using libm_alias_double.
31085
31086 * sysdeps/ieee754/float128/float128_private.h: Include
31087 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
31088 (libm_alias_ldouble_r): Undefine and redefine.
31089 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
31090 <libm-alias-ldouble.h>.
31091 (asinhl): Define using libm_alias_ldouble.
31092 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
31093 <libm-alias-ldouble.h>.
31094 (atanl): Define using libm_alias_ldouble.
31095 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
31096 <libm-alias-ldouble.h>.
31097 (cbrtl): Define using libm_alias_ldouble.
31098 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
31099 <libm-alias-ldouble.h>.
31100 (ceill): Define using libm_alias_ldouble.
31101 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
31102 <libm-alias-ldouble.h>.
31103 (copysignl): Define using libm_alias_ldouble.
31104 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
31105 <libm-alias-ldouble.h>.
31106 (cosl): Define using libm_alias_ldouble.
31107 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
31108 <libm-alias-ldouble.h>.
31109 (erfl): Define using libm_alias_ldouble.
31110 (erfcl): Likewise.
31111 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
31112 <libm-alias-ldouble.h>.
31113 (expm1l): Define using libm_alias_ldouble.
31114 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
31115 <libm-alias-ldouble.h>.
31116 (fabsl): Define using libm_alias_ldouble.
31117 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
31118 <libm-alias-ldouble.h>.
31119 (floorl): Define using libm_alias_ldouble.
31120 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
31121 <libm-alias-ldouble.h>.
31122 (fmal): Define using libm_alias_ldouble.
31123 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
31124 <libm-alias-ldouble.h>.
31125 (frexpl): Define using libm_alias_ldouble.
31126 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
31127 libm_alias_ldouble.
31128 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
31129 <libm-alias-ldouble.h>.
31130 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
31131 libm_alias_ldouble.
31132 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
31133 <libm-alias-ldouble.h>.
31134 (getpayloadl): Define using libm_alias_ldouble.
31135 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
31136 <libm-alias-ldouble.h>.
31137 (llrintl): Define using libm_alias_ldouble.
31138 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
31139 <libm-alias-ldouble.h>.
31140 (llroundl): Define using libm_alias_ldouble.
31141 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
31142 <libm-alias-ldouble.h>.
31143 (logbl): Define using libm_alias_ldouble.
31144 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
31145 <libm-alias-ldouble.h>.
31146 (lrintl): Define using libm_alias_ldouble.
31147 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
31148 <libm-alias-ldouble.h>.
31149 (lroundl): Define using libm_alias_ldouble.
31150 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
31151 <libm-alias-ldouble.h>.
31152 (modfl): Define using libm_alias_ldouble.
31153 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
31154 <libm-alias-ldouble.h>.
31155 (nearbyintl): Define using libm_alias_ldouble.
31156 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
31157 <libm-alias-ldouble.h>.
31158 (nextafterl): Define using libm_alias_ldouble.
31159 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
31160 <libm-alias-ldouble.h>.
31161 (nextupl): Define using libm_alias_ldouble.
31162 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
31163 <libm-alias-ldouble.h>.
31164 (remquol): Define using libm_alias_ldouble.
31165 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
31166 <libm-alias-ldouble.h>.
31167 (rintl): Define using libm_alias_ldouble.
31168 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
31169 <libm-alias-ldouble.h>.
31170 (roundevenl): Define using libm_alias_ldouble.
31171 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
31172 <libm-alias-ldouble.h>.
31173 (roundl): Define using libm_alias_ldouble.
31174 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
31175 using libm_alias_ldouble.
31176 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
31177 <libm-alias-ldouble.h>.
31178 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
31179 Define using libm_alias_ldouble.
31180 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
31181 <libm-alias-ldouble.h>.
31182 (sincosl): Define using libm_alias_ldouble.
31183 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
31184 <libm-alias-ldouble.h>.
31185 (sinl): Define using libm_alias_ldouble.
31186 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
31187 <libm-alias-ldouble.h>.
31188 (tanhl): Define using libm_alias_ldouble.
31189 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
31190 <libm-alias-ldouble.h>.
31191 (tanl): Define using libm_alias_ldouble.
31192 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
31193 <libm-alias-ldouble.h>.
31194 (totalorderl): Define using libm_alias_ldouble.
31195 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
31196 <libm-alias-ldouble.h>.
31197 (totalordermagl): Define using libm_alias_ldouble.
31198 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
31199 <libm-alias-ldouble.h>.
31200 (truncl): Define using libm_alias_ldouble.
31201 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
31202 libm_alias_ldouble.
31203 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
31204 libm_alias_ldouble.
31205 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
31206 <libm-alias-ldouble.h>.
31207 (weak_alias): Do not undefine and redefine.
31208 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31209 (copysignl): Define with long_double_symbol only if [IS_IN
31210 (libc)].
31211 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
31212 <libm-alias-ldouble.h>.
31213 (weak_alias): Do not undefine and redefine.
31214 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31215 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
31216 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
31217 <libm-alias-ldouble.h>.
31218 (weak_alias): Do not undefine and redefine.
31219 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
31220 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
31221 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
31222 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
31223 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
31224 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
31225 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
31226 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
31227 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
31228 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
31229 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
31230 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
31231 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
31232 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
31233 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
31234 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
31235 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
31236 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
31237 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
31238 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
31239 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
31240 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
31241 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
31242 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
31243 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
31244 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
31245
31246 2017-10-06 Carlos O'Donell <carlos@redhat.com>
31247
31248 [BZ #22111]
31249 * malloc/malloc.c (tcache_shutting_down): Use bool type.
31250 (tcache_thread_freeres): Set tcache_shutting_down before
31251 freeing the tcache.
31252 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
31253 * malloc/tst-malloc-tcache-leak.c: New file.
31254
31255 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31256
31257 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
31258 back to powerpc32 file.
31259 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31260 (memrchr): Add __memrchr_power8 to ifunc list.
31261 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
31262 extra bytes for unaligned inputs.
31263
31264 2017-10-06 Joseph Myers <joseph@codesourcery.com>
31265
31266 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
31267 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
31268 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
31269 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
31270 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
31271
31272 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31273
31274 * sysdeps/arm/libm-test-ulps: Update.
31275
31276 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
31277 <libm-alias-ldouble.h>.
31278 (asinhl): Define using libm_alias_ldouble.
31279 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
31280 <libm-alias-ldouble.h>.
31281 (cbrtl): Define using libm_alias_ldouble.
31282 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
31283 <libm-alias-ldouble.h>.
31284 (copysignl): Define using libm_alias_ldouble.
31285 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
31286 <libm-alias-ldouble.h>.
31287 (cosl): Define using libm_alias_ldouble.
31288 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
31289 <libm-alias-ldouble.h>.
31290 (erfl): Define using libm_alias_ldouble.
31291 (erfcl): Likewise.
31292 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
31293 <libm-alias-ldouble.h>.
31294 (fmal): Define using libm_alias_ldouble.
31295 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
31296 <libm-alias-ldouble.h>.
31297 (frexpl): Define using libm_alias_ldouble.
31298 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
31299 libm_alias_ldouble.
31300 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
31301 <libm-alias-ldouble.h>.
31302 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
31303 libm_alias_ldouble.
31304 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
31305 <libm-alias-ldouble.h>.
31306 (getpayloadl): Define using libm_alias_ldouble.
31307 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
31308 <libm-alias-ldouble.h>.
31309 (llrintl): Define using libm_alias_ldouble.
31310 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
31311 <libm-alias-ldouble.h>.
31312 (llroundl): Define using libm_alias_ldouble.
31313 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
31314 <libm-alias-ldouble.h>.
31315 (lrintl): Define using libm_alias_ldouble.
31316 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
31317 <libm-alias-ldouble.h>.
31318 (lroundl): Define using libm_alias_ldouble.
31319 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
31320 <libm-alias-ldouble.h>.
31321 (modfl): Define using libm_alias_ldouble.
31322 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
31323 <libm-alias-ldouble.h>.
31324 (nextupl): Define using libm_alias_ldouble.
31325 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
31326 <libm-alias-ldouble.h>.
31327 (remquol): Define using libm_alias_ldouble.
31328 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
31329 <libm-alias-ldouble.h>.
31330 (roundevenl): Define using libm_alias_ldouble.
31331 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
31332 <libm-alias-ldouble.h>.
31333 (roundl): Define using libm_alias_ldouble.
31334 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
31335 using libm_alias_ldouble.
31336 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
31337 <libm-alias-ldouble.h>.
31338 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
31339 <libm-alias-ldouble.h>.
31340 (setpayloadsigl): Define using libm_alias_ldouble.
31341 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
31342 <libm-alias-ldouble.h>.
31343 (sincosl): Define using libm_alias_ldouble.
31344 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
31345 <libm-alias-ldouble.h>.
31346 (sinl): Define using libm_alias_ldouble.
31347 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
31348 <libm-alias-ldouble.h>.
31349 (tanhl): Define using libm_alias_ldouble.
31350 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
31351 <libm-alias-ldouble.h>.
31352 (tanl): Define using libm_alias_ldouble.
31353 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
31354 <libm-alias-ldouble.h>.
31355 (totalorderl): Define using libm_alias_ldouble.
31356 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
31357 <libm-alias-ldouble.h>.
31358 (totalordermagl): Define using libm_alias_ldouble.
31359 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
31360 libm_alias_ldouble.
31361 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
31362 libm_alias_ldouble.
31363
31364 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
31365
31366 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31367 memmove_falkor.
31368 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
31369 (__libc_ifunc_impl_list): Likewise.
31370 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
31371 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
31372
31373 * benchtests/bench-memmove-walk.c: New file.
31374 * benchtests/Makefile (string-benchset): Add it.
31375
31376 * benchtests/bench-memset-walk.c: New file.
31377 * benchtests/Makefile (string-benchset): Add it.
31378
31379 * benchtests/bench-memcpy-walk.c: New file.
31380 * benchtests/Makefile (string-benchset): Add it.
31381
31382 2017-10-05 Florian Weimer <fweimer@redhat.com>
31383
31384 nscd: Eliminate compilation time dependency in the build output.
31385 * nscd/nscd_stat.c (STATDATA_VERSION)
31386 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
31387 (STATDATA_VERSION_FULL): New macro definitions.
31388 (compilation): Remove.
31389 (struct statdata): Adjust version member.
31390 (send_stats): Set version from STATDATA_VERSION_FULL.
31391 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
31392
31393 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31394
31395 * configure.ac (--enable-add-ons): Remove option.
31396 (machine): Do not mention add-ons in comment.
31397 (LIBC_PRECONFIGURE): Likewise.
31398 (add_ons): Remove variable and sanity checks and logic to locate
31399 add-ons.
31400 (add_ons_automatic): Remove variable.
31401 (configured_add_ons): Likewise.
31402 (add_ons_sfx): Likewise.
31403 (add_ons_pfx): Likewise.
31404 (add_on_subdirs): Likewise.
31405 (sysnames_add_ons): Likewise. Remove loop over add-ons and
31406 consideration of add-ons in Implies handling.
31407 (sysdeps_add_ons): Likewise.
31408 * configure: Regenerated.
31409 * libidn/configure.ac: Remove.
31410 * libidn/configure: Likewise.
31411 * sysdeps/unix/inet/configure.ac: New file.
31412 * sysdeps/unix/inet/configure: New generated file.
31413 * sysdeps/unix/inet/Subdirs: Add libidn.
31414 * Makeconfig (sysdeps-srcdirs): Remove variable.
31415 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
31416 ($(common-objpfx)config.status): Do not depend on add-on files.
31417 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
31418 comment.
31419 (all-subdirs): Do not include $(add-on-subdirs).
31420 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
31421 * config.make.in (add-ons): Remove variable.
31422 (add-on-subdirs): Likewise.
31423 (sysdeps-add-ons): Likewise.
31424 * manual/Makefile (add-chapters): Remove.
31425 ($(objpfx)texis): Do not depend on $(add-chapters).
31426 (nonexamples): Do not handle $(add-chapters).
31427 (examples): Do not handle $(add-ons).
31428 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
31429 libc-texinfo.sh.
31430 * manual/install.texi (Installation): Do not mention add-ons.
31431 (--enable-add-ons): Do not document configure option.
31432 * INSTALL: Regenerated.
31433 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
31434 * manual/maint.texi (Hierarchy Conventions): Do not mention
31435 add-ons.
31436 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
31437 --enable-add-ons.
31438 * scripts/gen-sorted.awk: Do not handle Subdirs files from
31439 add-ons.
31440 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
31441 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
31442
31443 2017-10-05 Andreas Schwab <schwab@suse.de>
31444
31445 [BZ #15142]
31446 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
31447 (_IO_flush_all_lockp): Always lock list_all_lock.
31448 (_IO_flush_all_linebuffered): Likewise.
31449 (_IO_unbuffer_all): Likewise.
31450
31451 2017-10-05 Florian Weimer <fweimer@redhat.com>
31452
31453 [BZ #15436]
31454 Do not flush stdio streams on abort.
31455 * stdlib/abort.c (fflush): Remove macro definition.
31456 (abort): Remove stages related to stdio flushing.
31457
31458 2017-10-05 Florian Weimer <fweimer@redhat.com>
31459
31460 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
31461
31462 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
31463
31464 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31465
31466 2017-10-05 Florian Weimer <fweimer@redhat.com>
31467
31468 * support/support_format_hostent.c (support_format_hostent): Add
31469 more error information for NETDB_INTERNAL.
31470
31471 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31472
31473 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
31474 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
31475 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
31476 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
31477 AC_DEFINE if multi-arch is enabled.
31478 * sysdeps/i386/configure: Regenerated.
31479
31480 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31481
31482 * Makeconfig (+link-static-before-libc): Use
31483 $(DEFAULT-LDFLAGS-$(@F)).
31484 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
31485 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
31486 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
31487
31488 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31489
31490 * elf/Makefile (tests): Add tst-main1.
31491 (modules-names): Add tst-main1mod.
31492 ($(objpfx)tst-main1): New.
31493 (CRT-tst-main1): Likewise.
31494 (LDFLAGS-tst-main1): Likewise.
31495 (LDLIBS-tst-main1): Likewise.
31496 (tst-main1mod.so-no-z-defs): Likewise.
31497 * elf/tst-main1.c: New file.
31498 * elf/tst-main1mod.c: Likewise.
31499
31500 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31501
31502 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
31503
31504 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31505
31506 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
31507 (fma): Define using libm_alias_double.
31508 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
31509 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
31510 <math_ldbl_opt.h>.
31511 (fmal): Do not define as compat symbol here.
31512 * sysdeps/alpha/fpu/s_fma.c: New file.
31513
31514 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31515
31516 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
31517
31518 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31519
31520 [BZ #22229]
31521 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
31522 <math_ldbl_opt.h>
31523 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31524 and libc.
31525 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
31526 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31527 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
31528 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
31529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31530 Include <math_ldbl_opt.h>
31531 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31532 and libc.
31533 (compat_symbol): Undefine and redefine.
31534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
31535 <math_ldbl_opt.h>
31536 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31537 (compat_symbol): Undefine and redefine.
31538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
31539 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
31540 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
31541 GLIBC_2_1 for libm.
31542 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
31543 GLIBC_2.0 copysignl symbol.
31544 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31545 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
31546
31547 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
31548
31549 2017-10-04 Florian Weimer <fweimer@redhat.com>
31550
31551 * scripts/check-local-headers.sh: Ignore nspr4 header file
31552 directory in addition to nspr.
31553
31554 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
31555
31556 [BZ #17956]
31557 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
31558 * configure: Regenerate.
31559 * crypt/Makefile (nss-cpp-flags): New variable.
31560 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
31561 (CPPFLAGS-md5-crypt.c): Use it.
31562 * scripts/check-local-headers.sh: Ignore nspr header file
31563 directory.
31564
31565 2017-10-04 Andreas Schwab <schwab@suse.de>
31566
31567 * nis/Makefile (services): Remove compat.
31568 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
31569 ($(objpfx)libnss_compat.so): Remove rule.
31570 * nis/Versions (libnss_compat): Remove.
31571 * nss/Makefile (services): Add compat.
31572 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
31573 * nss/Versions (libnss_compat): Define.
31574 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
31575 Don't include <rpc/types.h>. Replace bool_t by bool.
31576 * nss/nss_compat/compat-initgroups.c: Likewise.
31577 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
31578 instead of <rpcsrv/ypclnt.h>.
31579 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
31580 yp_get_default_domain.
31581 * nss/nss_compat/compat-pwd.c: Likewise.
31582 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
31583 yp_get_default_domain.
31584 * nss/nss_compat/nisdomain.c: New file.
31585 * nss/nss_compat/nisdomain.h: Likewise.
31586
31587 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31588
31589 [BZ #22244]
31590 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
31591 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31592
31593 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31594
31595 [BZ #22243]
31596 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
31597 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
31598
31599 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31600
31601 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
31602 "movl main@GOTOFF(%ebx), %eax".
31603
31604 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31605
31606 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
31607 allow undefined _DYNAMIC in PIE libc.a.
31608 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31609 Likewse.
31610
31611 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31612
31613 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
31614 check _DYNAMIC.
31615
31616 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31617
31618 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
31619 check _DYNAMIC.
31620
31621 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31622
31623 * math/test-math-iscanonical.cc (error): Replace bool with int.
31624
31625 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31626
31627 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
31628 (modf): Define using libm_alias_double, only if [!__modf].
31629 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
31630 <libm-alias-double.h>.
31631 (modf): Define using libm_alias_double, only if [!__modf].
31632 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
31633 compat symbol here.
31634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
31635 (weak_alias): Do not undefine and redefine.
31636 (strong_alias): Likewise.
31637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
31638 (weak_alias): Likewise.
31639 (strong_alias): Likewise.
31640
31641 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
31642 (logb): Define using libm_alias_double, only if [!__logb].
31643 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
31644 <libm-alias-double.h>.
31645 (logb): Define using libm_alias_double, only if [!__logb].
31646 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
31647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
31648 (weak_alias): Do not undefine and redefine.
31649 (strong_alias): Likewise.
31650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
31651 (weak_alias): Likewise.
31652 (strong_alias): Likewise.
31653
31654 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31655
31656 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
31657 Check SHARED instead PIC.
31658
31659 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31660
31661 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
31662 [!__fmaf] (fmaf): Define using libm_alias_float.
31663
31664 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
31665 (frexp): Define using libm_alias_double.
31666 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
31667 <libm-alias-double.h>.
31668 (frexp): Define using libm_alias_double.
31669 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
31670 compat symbol here.
31671
31672 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31673
31674 [BZ #22235]
31675 * math/math.h: Trivial fix for unbalanced parentheses in comment.
31676 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
31677 (CFLAGS-test-math-iscanonical.cc): New variable.
31678 * math/test-math-iscanonical.cc: New file.
31679 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
31680 Provide a C++ implementation based on function overloading,
31681 rather than using __MATH_TG, which uses C-only builtins.
31682 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
31683 Likewise.
31684 * sysdeps/powerpc/powerpc64le/Makefile
31685 (CFLAGS-test-math-iscanonical.cc): New variable.
31686
31687 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31688
31689 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
31690 (ceil): Define using libm_alias_double.
31691 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
31692 (floor): Define using libm_alias_double.
31693 * sysdeps/ieee754/dbl-64/s_llround.c: Include
31694 <libm-alias-double.h>.
31695 (llround): Define using libm_alias_double.
31696 * sysdeps/ieee754/dbl-64/s_lround.c: Include
31697 <libm-alias-double.h>.
31698 (lround): Define using libm_alias_double.
31699 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
31700 <libm-alias-double.h>.
31701 (nearbyint): Define using libm_alias_double.
31702 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
31703 <libm-alias-double.h>.
31704 (remquo): Define using libm_alias_double.
31705 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
31706 (rint): Define using libm_alias_double.
31707 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
31708 (round): Define using libm_alias_double.
31709 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
31710 (trunc): Define using libm_alias_double.
31711 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
31712 <libm-alias-double.h>.
31713 (ceil): Define using libm_alias_double.
31714 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
31715 <libm-alias-double.h>.
31716 (floor): Define using libm_alias_double.
31717 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
31718 <libm-alias-double.h>.
31719 (llround): Define using libm_alias_double.
31720 [_LP64] (lround): Likewise.
31721 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
31722 <libm-alias-double.h>.
31723 [!_LP64] (lround): Define using libm_alias_double.
31724 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
31725 <libm-alias-double.h>.
31726 (nearbyint): Define using libm_alias_double.
31727 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
31728 <libm-alias-double.h>.
31729 (remquo): Define using libm_alias_double.
31730 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
31731 <libm-alias-double.h>.
31732 (rint): Define using libm_alias_double.
31733 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
31734 <libm-alias-double.h>.
31735 (round): Define using libm_alias_double.
31736 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
31737 <libm-alias-double.h>.
31738 (trunc): Define using libm_alias_double.
31739 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
31740 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
31741 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
31742 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
31743 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
31744 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
31745 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
31746 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
31747 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
31748
31749 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
31750
31751 * math/w_remainder.c: New file.
31752 * math/w_remainderf.c: New file.
31753 * math/w_remainderl.c: New file.
31754
31755 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31756
31757 * elf/rtld.c (BOOTSTRAP_MAP): New.
31758 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
31759 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31760 Likewise.
31761 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31762 Likewise.
31763 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31764 Likewise.
31765
31766 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31767
31768 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
31769 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
31770 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
31771 rtld_hidden_data_ver): Define to empty.
31772 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
31773 __assert_perror_fail): Likewise.
31774 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31775 (__rewinddir): Likewise.
31776 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31777 (__profile_frequency): Likewise.
31778 * include/setjmp.h (__sigsetjmp): Likewise.
31779 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
31780 __libc_sigaction): Likewise.
31781 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
31782 not set hidden attribute.
31783 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
31784 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
31785 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
31786 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
31787 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
31788 __fxstatat64): Likewise.
31789 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31790 (__uname): Likewise.
31791 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31792 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
31793 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
31794 (NO_RTLD_HIDDEN): Set.
31795 * sysdeps/mach/hurd/configure: Refresh.
31796 * config.h.in: Refresh.
31797
31798 2017-10-02 Joseph Myers <joseph@codesourcery.com>
31799
31800 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
31801 (atan): Define using libm_alias_double.
31802 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
31803 (tan): Define using libm_alias_double.
31804 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
31805 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
31806
31807 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
31808 define as weak alias of __atan. Do not define any aliases if
31809 [__atan].
31810 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
31811 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
31812 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
31813 as weak alias of __tan. Do not define any aliases if [__tan].
31814 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
31815 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
31816 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
31817 __atan.
31818 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
31819 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
31820 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
31821 and define as weak alias of __atan.
31822 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
31823 __atan.
31824 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
31825 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
31826 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
31827 define as weak alias of __tan.
31828
31829 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31830
31831 * math/w_lgamma.c: New file.
31832 * math/w_lgammaf.c: New file.
31833 * math/w_lgammal.c: New file.
31834
31835 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31836
31837 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
31838 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
31839 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
31840 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
31841 * sysdeps/ieee754/flt-32/w_logf.c: New file.
31842 * sysdeps/ieee754/flt-32/w_powf.c: New file.
31843 * sysdeps/i386/fpu/w_log2f.c: New file.
31844 * sysdeps/i386/fpu/w_logf.c: New file.
31845 * sysdeps/i386/fpu/w_powf.c: New file.
31846 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
31847 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
31848 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
31849
31850 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31851 H.J. Lu <hongjiu.lu@intel.com>
31852
31853 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
31854 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
31855 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
31856 * sysdeps/ieee754/flt-32/w_expf.c: New file.
31857 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
31858 the new expf code.
31859 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
31860 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
31861 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
31862 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
31863 * sysdeps/i386/fpu/w_exp2f.c: New file.
31864 * sysdeps/i386/fpu/w_expf.c: New file.
31865 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
31866 * sysdeps/x86_64/fpu/w_expf.c: New file.
31867
31868 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31869
31870 * math/Versions (logf): New libm symbol at GLIBC_2.27.
31871 (log2f): Likewise.
31872 (powf): Likewise.
31873 * math/w_log2f.c: New file.
31874 * math/w_logf.c: New file.
31875 * math/w_powf.c: New file.
31876 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
31877 * math/w_logf_compat.c (__logf_compat): Likewise.
31878 * math/w_powf_compat.c (__powf_compat): Likewise.
31879 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
31880 * sysdeps/ia64/fpu/e_logf.S: Likewise.
31881 * sysdeps/ia64/fpu/e_powf.S: Likewise.
31882 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31883 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31884 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31885 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31886 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31887 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31888 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31889 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31890 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31891 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31892 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31893 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31895 Likewise.
31896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31897 Likewise.
31898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31899 Likewise.
31900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31901 Likewise.
31902 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31903 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31904 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31905 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31906 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31908 Likewise.
31909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31910 Likewise.
31911 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31912 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31913 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31914
31915 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31916
31917 * sysdeps/powerpc/powerpc64/multiarch/Makefile
31918 (sysdep_routines): Add memrchr_power8.
31919 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31920 (memrchr): Add __memrchr_power8 to list of memrchr functions.
31921 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
31922 New file.
31923 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31924 (memrchr): Add __memrchr_power8 to ifunc list.
31925 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
31926
31927 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31928
31929 [BZ #18822]
31930 * sysdeps/unix/sysv/linux/posix_fadvise64.c
31931 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
31932 libc_hidden_def.
31933 * sysdeps/unix/sysv/linux/posix_fallocate64.c
31934 (__posix_fallocate64_l64): Likewise.
31935
31936 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31937
31938 [BZ #18822]
31939 * sysdeps/unix/sysv/linux/sched_setaffinity.c
31940 (__sched_setaffinity_new): Add libc_hidden_proto and
31941 libc_hidden_def.
31942
31943 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31944
31945 [BZ #18822]
31946 * include/glob.h (__glob64): Add libc_hidden_proto.
31947 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
31948 libc_hidden_def.
31949
31950 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31951
31952 [BZ #18822]
31953 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
31954 attribute_hidden.
31955
31956 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31957
31958 [BZ #18822]
31959 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
31960
31961 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31962
31963 [BZ #18822]
31964 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
31965 libc_hidden_def.
31966
31967 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31968
31969 [BZ #18822]
31970 * csu/version.c (__libc_print_version): Add attribute_hidden.
31971
31972 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31973
31974 [BZ #18822]
31975 * include/libc-internal.h (__init_misc): Add attribute_hidden.
31976
31977 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31978
31979 [BZ #18822]
31980 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
31981
31982 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31983
31984 [BZ #18822]
31985 * nscd/nscd_helper.c (__nis_hash): New prototype.
31986
31987 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31988
31989 [BZ #18822]
31990 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
31991 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
31992 libc_hidden_def.
31993 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31994 * termios/tcgetattr.c (__tcgetattr): Likewise.
31995
31996 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31997
31998 [BZ #18822]
31999 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
32000 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
32001 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
32002 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
32003 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
32004
32005 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32006
32007 [BZ #18822]
32008 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
32009
32010 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32011
32012 [BZ #18822]
32013 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
32014 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
32015
32016 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32017
32018 [BZ #18822]
32019 * intl/hash-string.h (__hash_string): Add attribute_hidden.
32020
32021 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32022
32023 [BZ #18822]
32024 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
32025 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
32026
32027 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32028
32029 [BZ #18822]
32030 * include/ifreq.h: New file.
32031 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
32032 (__ifreq): Likewise.
32033 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
32034 (__ifreq): Likewise.
32035
32036 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32037
32038 [BZ #18822]
32039 * include/idna.h: New file.
32040 * inet/getnameinfo.c: Include <idna.h> instead of
32041 <libidn/idna.h>.
32042 (__idna_to_unicode_lzlz): Removed.
32043 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
32044 <libidn/idna.h>.
32045 (__idna_to_ascii_lz): Removed.
32046 (__idna_to_unicode_lzlz): Likewise.
32047
32048 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32049
32050 [BZ #18822]
32051 * include/plural-exp.h: New file.
32052 * intl/plural-exp.c: Include <plural-exp.h> instead of
32053 "plural-exp.h".
32054
32055 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32056
32057 [BZ #18822]
32058 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
32059 "getsourcefilter.h".
32060 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
32061 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
32062 "getsourcefilter.h".
32063 (__get_sol): Removed.
32064
32065 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32066
32067 [BZ #18822]
32068 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
32069 to ...
32070 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
32071
32072 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32073
32074 [BZ #18822]
32075 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
32076 attribute_hidden.
32077
32078 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32079
32080 [BZ #18822]
32081 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
32082
32083 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32084
32085 [BZ #18822]
32086 * include/search.h (__tdestroy): Add libc_hidden_proto.
32087 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
32088
32089 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32090
32091 [BZ #18822]
32092 * include/assert.h (__assert_fail_base): Add attribute_hidden.
32093
32094 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32095
32096 [BZ #18822]
32097 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
32098 attribute_hidden.
32099
32100 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32101
32102 [BZ #18822]
32103 * include/signal.h (__kill): Add libc_hidden_proto.
32104 (__sigblock): Likewise.
32105 (__sigprocmask): Likewise.
32106 (__sigaltstack): Likewise.
32107 * signal/kill.c (__kill): Add libc_hidden_def.
32108 * signal/sigblock.c (__sigblock): Likewise.
32109 * signal/sigprocmask.c (__sigprocmask): Likewise.
32110 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
32111 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
32112 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
32113 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
32114 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
32115 Likewise.
32116 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
32117 Likewise.
32118 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
32119 (__sigprocmask): Likewise.
32120 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
32121 Likewise.
32122 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
32123 (__sigprocmask): Likewise.
32124 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
32125 Likewise.
32126
32127 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32128
32129 [BZ #18822]
32130 * include/string.h (__strsep): Add libc_hidden_proto.
32131 * string/strsep.c (__strsep): Add libc_hidden_def.
32132
32133 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32134
32135 [BZ #18822]
32136 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
32137 attribute_hidden.
32138 (__spawni): Likewise.
32139
32140 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32141
32142 [BZ #18822]
32143 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
32144 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
32145 libc_hidden_def.
32146
32147 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32148
32149 [BZ #18822]
32150 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
32151
32152 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32153
32154 [BZ #18822]
32155 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
32156 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
32157 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
32158 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
32159 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
32160 Likewise.
32161 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
32162 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
32163
32164 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32165
32166 [BZ #18822]
32167 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
32168 (__dcigettext): Likewise.
32169
32170 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32171
32172 [BZ #18822]
32173 * include/sys/sysinfo.h (__get_nprocs_conf): Add
32174 libc_hidden_proto.
32175 (__get_nprocs): Likewise.
32176 (__get_phys_pages): Likewise.
32177 (__get_avphys_pages): Likewise.
32178 (__get_child_max): Add attribute_hidden.
32179 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
32180 (__get_nprocs): Likewise.
32181 (__get_phys_pages): Likewise.
32182 (__get_avphys_pages): Likewise.
32183 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
32184 libc_hidden_def.
32185 (__get_nprocs): Likewise.
32186 (__get_phys_pages): Likewise.
32187 (__get_avphys_pages): Likewise.
32188 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
32189 libc_hidden_def.
32190 (__get_nprocs_conf): Likewise.
32191 (__get_phys_pages): Likewise.
32192 (__get_avphys_pages): Likewise.
32193
32194 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32195
32196 [BZ #18822]
32197 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
32198 attribute_hidden.
32199 (__netlink_close): Likewise.
32200 (__netlink_free_handle): Likewise.
32201 (__netlink_request): Likewise.
32202
32203 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32204
32205 [BZ #18822]
32206 * include/rpc/rpc.h (__rpc_thread_variables): Add
32207 attribute_hidden.
32208 (__rpc_thread_svc_cleanup): Likewise.
32209 (__rpc_thread_clnt_cleanup): Likewise.
32210 (__rpc_thread_key_cleanup): Likewise.
32211
32212 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32213
32214 [BZ #18822]
32215 * include/sys/uio.h (__readv): Add libc_hidden_proto.
32216 (__writev): Likewise.
32217 * misc/readv.c (__readv): Add libc_hidden_def.
32218 * misc/writev.c (__writev): Likewise.
32219 * sysdeps/posix/readv.c (__readv): Likewise.
32220 * sysdeps/posix/writev.c (__writev): Likewise.
32221 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
32222 (__readv): Likewise.
32223 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
32224 (__writev): Likewise.
32225
32226 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32227
32228 [BZ #18822]
32229 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
32230 (__regcomp): Add libc_hidden_proto.
32231 (__regexec): Likewise.
32232 (__regfree): Likewise.
32233 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
32234 (__regfree): Likewise.
32235 * posix/regexec.c (__regexec): Likewise.
32236
32237 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32238
32239 [BZ #18822]
32240 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
32241 (__getutent): Likewise.
32242 (__getutid): Likewise.
32243 (__getutline): Likewise.
32244 (__pututline): Likewise.
32245 (__getutent_r): Likewise.
32246 (__getutid_r): Likewise.
32247 (__getutline_r): Likewise.
32248 (__utmpname): Add attribute_hidden.
32249 (__setutent): Likewise.
32250 (__endutent): Likewise.
32251 * login/getutent.c (__getutent): Add libc_hidden_def.
32252 * login/getutent_r.c (__getutent_r): Likewise.
32253 (__pututline): Likewise.
32254 * login/getutid.c (__getutid): Likewise.
32255 * login/getutid_r.c (__getutid_r): Likewise.
32256 * login/getutline.c (__getutline): Likewise.
32257 * login/getutline_r.c (__getutline_r): Likewise.
32258 * login/updwtmp.c (__updwtmp): Likewise.
32259
32260 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32261
32262 [BZ #18822]
32263 * include/dirent.h (__opendir): Always add attribute_hidden.
32264 (__fdopendir): Likewise.
32265 (__closedir): Likewise.
32266 (__readdir): Likewise.
32267 (__readdir64): Add libc_hidden_proto.
32268 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
32269 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
32270 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
32271 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
32272 New alias.
32273
32274 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32275
32276 [BZ #18822]
32277 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
32278 * include/netdb.h (__gethostbyaddr_r): Likewise.
32279 (__gethostbyname_r): Likewise.
32280 (__gethostbyname2_r): Likewise.
32281 (__getnetbyaddr_r): Likewise.
32282 (__getnetbyname_r): Likewise.
32283 (__getservbyname_r): Likewise.
32284 (__getservbyport_r): Likewise.
32285 (__getprotobyname_r): Likewise.
32286 (__getprotobynumber_r): Likewise.
32287 (__getnetgrent_r): Likewise.
32288 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
32289 (__getrpcbynumber_r): Likewise.
32290 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
32291
32292 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32293
32294 [BZ #18822]
32295 * include/stdio.h (__fcloseall): Add attribute_hidden.
32296 (__getline): Likewise.
32297 (__path_search): Likewise.
32298 (__gen_tempname): Likewise.
32299 (__libc_message): Likewise.
32300 (__flockfile): Likewise.
32301 (__funlockfile): Likewise.
32302 (__fxprintf): Likewise.
32303 (__fxprintf_nocancel): Likewise.
32304
32305 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32306
32307 [BZ #18822]
32308 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
32309 (__sgetsgent_r): Likewise.
32310
32311 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32312
32313 [BZ #18822]
32314 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
32315 (__statfs64): Likewise.
32316 (__fstatfs64): Likewise.
32317 * include/sys/statvfs.h (__statvfs64): Likewise.
32318 (__fstatvfs64): Likewise.
32319 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
32320 (__statfs_filesize_max): Likewise.
32321 (__statfs_symlinks): Likewise.
32322 (__statfs_chown_restricted): Likewise.
32323
32324 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32325
32326 [BZ #18822]
32327 * include/time.h (__tzstring): Add attribute_hidden.
32328 (__tzfile_read): Likewise.
32329 (__tzfile_compute): Likewise.
32330 (__tzfile_default): Likewise.
32331 (__tzset_parse_tz): Likewise.
32332 (__offtime): Likewise.
32333 (__asctime_r): Likewise.
32334 (__tzset): Likewise.
32335 (__tz_convert): Likewise.
32336 (__getdate_r): Likewise.
32337 (__getclktck): Likewise.
32338
32339 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32340
32341 [BZ #18822]
32342 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
32343 (__nscd_unmap): Likewise.
32344 (__nscd_cache_search): Likewise.
32345 (__nscd_get_nl_timestamp): Likewise.
32346 (__nscd_getpwnam_r): Likewise.
32347 (__nscd_getpwuid_r): Likewise.
32348 (__nscd_getgrnam_r): Likewise.
32349 (__nscd_getgrgid_r): Likewise.
32350 (__nscd_gethostbyname_r): Likewise.
32351 (__nscd_gethostbyname2_r): Likewise.
32352 (__nscd_gethostbyaddr_r): Likewise.
32353 (__nscd_getai): Likewise.
32354 (__nscd_getgrouplist): Likewise.
32355 (__nscd_getservbyname_r): Likewise.
32356 (__nscd_getservbyport_r): Likewise.
32357 (__nscd_innetgr): Likewise.
32358 (__nscd_setnetgrent): Likewise.
32359
32360 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32361
32362 [BZ #18822]
32363 * include/gmp.h: Declare internal functions only if _ISOMAC is
32364 undefined.
32365 (__mpn_extract_double): Add attribute_hidden.
32366 (__mpn_extract_long_double): Likewise.
32367 (__mpn_extract_float128): Likewise.
32368 (__mpn_construct_float): Likewise.
32369 (__mpn_construct_double): Likewise.
32370 (__mpn_construct_long_double): Likewise.
32371 (__mpn_construct_float128): Likewise.
32372 (mpn_add_1): Likewise.
32373 (mpn_addmul_1): Likewise.
32374 (mpn_add_n): Likewise.
32375 (mpn_cmp): Likewise.
32376 (mpn_divrem): Likewise.
32377 (mpn_lshift): Likewise.
32378 (mpn_mul): Likewise.
32379 (mpn_mul_1): Likewise.
32380 (mpn_rshift): Likewise.
32381 (mpn_sub_1): Likewise.
32382 (mpn_submul_1): Likewise.
32383 (mpn_sub_n): Likewise.
32384
32385 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32386
32387 [BZ #18822]
32388 * include/wchar.h (__wcsnlen): Add attribute_hidden.
32389 (__wcscat): Likewise.
32390 (__btowc): Likewise.
32391 (__wcrtomb): Likewise.
32392 (__mbsrtowcs): Likewise.
32393 (__wcsrtombs): Likewise.
32394 (__mbsnrtowcs): Likewise.
32395 (__wcsnrtombs): Likewise.
32396 (__wcsncpy): Likewise.
32397 (__wcpncpy): Likewise.
32398 (__wmemcpy): Likewise.
32399 (__wmempcpy): Likewise.
32400 (__wmemmove): Likewise.
32401 (__wcschrnul): Likewise.
32402 (__vfwscanf): Likewise.
32403 (__vswprintf): Likewise.
32404 (__fwprintf): Likewise.
32405 (__vfwprintf): Likewise.
32406
32407 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32408
32409 [BZ #18822]
32410 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
32411 (__getgrgid_r): Likewise.
32412 (__getgrnam_r): Likewise.
32413 * include/pwd.h (__getpwuid_r): Likewise.
32414 (__getpwnam_r): Likewise.
32415 (__fgetpwent_r): Likewise.
32416 * include/shadow.h (__getspnam_r): Likewise.
32417 (__sgetspent_r): Likewise.
32418 (__fgetspent_r): Likewise.
32419
32420 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32421
32422 [BZ #18822]
32423 * include/unistd.h (__access): Add attribute_hidden.
32424 (__lseek64): Likewise.
32425 (__libc_pread64): Likewise.
32426 (__pipe2): Likewise.
32427 (__sleep): Likewise.
32428 (__chdir): Likewise.
32429 (__fchdir): Likewise.
32430 (__getcwd): Likewise.
32431 (__rmdir): Likewise.
32432 (__execvpe): Likewise.
32433 (__execve): Likewise.
32434 (__setsid): Likewise.
32435 (__getuid): Likewise.
32436 (__geteuid): Likewise.
32437 (__getgid): Likewise.
32438 (__getegid): Likewise.
32439 (__getgroups): Likewise.
32440 (__group_member): Likewise.
32441 (__ttyname_r): Likewise.
32442 (__isatty): Likewise.
32443 (__readlink): Likewise.
32444 (__unlink): Likewise.
32445 (__gethostname): Likewise.
32446 (__profil): Likewise.
32447 (__getdtablesize): Likewise.
32448 (__brk): Likewise.
32449 (__ftruncate): Likewise.
32450 (__ftruncate64): Likewise.
32451
32452 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32453
32454 [BZ #18822]
32455 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
32456 * argp/argp-fs-xinl.c: Likewise.
32457 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
32458 * argp/argp-parse.c: Include <argp.h>.
32459 * argp/argp-xinl.c: Likewise.
32460 * include/argp-fmtstream.h: New file.
32461 * include/argp.h (__argp_error): Add attribute_hidden.
32462 (__argp_failure): Likewise.
32463 (__argp_input): Likewise.
32464 (__argp_state_help): Likewise.
32465
32466 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32467
32468 [BZ #18822]
32469 * include/wchar.h (____wcstof_l_internal): New prototype.
32470 (____wcstod_l_internal): Likewise.
32471 (____wcstold_l_internal): Likewise.
32472 (____wcstol_l_internal): Likewise.
32473 (____wcstoul_l_internal): Likewise.
32474 (____wcstoll_l_internal): Likewise.
32475 (____wcstoull_l_internal): Likewise.
32476 (____wcstof128_l_internal): Likewise.
32477 * sysdeps/ieee754/float128/wcstof128.c
32478 (____wcstof128_l_internal): Removed.
32479 * sysdeps/ieee754/float128/wcstof128_l.c
32480 (____wcstof128_l_internal): Likewise.
32481 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
32482 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
32483 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
32484 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
32485 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
32486 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
32487 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
32488 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
32489 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
32490 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
32491
32492 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32493
32494 [BZ #18822]
32495 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
32496 instead of <sys/statvfs.h>.
32497 (__internal_statvfs): Removed.
32498 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
32499 instead of <sys/statvfs.h>.
32500 (__internal_statvfs64): Removed.
32501 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
32502 "internal_statvfs.h" instead of <sys/statvfs.h>.
32503 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
32504 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
32505 instead of <sys/statvfs.h>.
32506 (__internal_statvfs): Removed.
32507 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
32508 instead of <sys/statvfs.h>.
32509 (__internal_statvfs64): Removed.
32510
32511 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32512
32513 [BZ #18822]
32514 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
32515 (__gconv_close): Likewise.
32516 (__gconv): Likewise.
32517 (__gconv_find_transform): Likewise.
32518 (__gconv_lookup_cache): Likewise.
32519 (__gconv_compare_alias_cache): Likewise.
32520 (__gconv_load_cache): Likewise.
32521 (__gconv_get_path): Likewise.
32522 (__gconv_close_transform): Likewise.
32523 (__gconv_release_cache): Likewise.
32524 (__gconv_find_shlib): Likewise.
32525 (__gconv_release_shlib): Likewise.
32526 (__gconv_get_builtin_trans): Likewise.
32527 (__gconv_compare_alias): Likewise.
32528 * include/dlfcn.h (_dlerror_run): Likewise.
32529 * include/stdio.h (__fortify_fail_abort): Likewise.
32530 * include/time.h (__tz_compute): Likewise.
32531 (__strptime_internal): Likewise.
32532 * intl/gettextP.h (_nl_find_domain): Likewise.
32533 (_nl_load_domain): Likewise.
32534 (_nl_find_msg): Likewise.
32535 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
32536 (EXTRACT_PLURAL_EXPRESSION): Likewise.
32537 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
32538 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
32539 (__gai_find_request): Likewise.
32540 (__gai_remove_request): Likewise.
32541 (__gai_notify): Likewise.
32542 (__gai_notify_only): Likewise.
32543 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32544 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32545 (_dl_non_dynamic_init): Likewise.
32546 (_dl_aux_init): Likewise.
32547 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
32548 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32549 Likewise.
32550 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
32551 (__wcsmbs_clone_conv): Likewise.
32552 (__wcsmbs_named_conv): Likewise.
32553
32554 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32555
32556 [BZ #18822]
32557 * include/stdlib.h (__random): Add attribute_hidden.
32558 (__random_r): Likewise.
32559 (__srandom_r): Likewise.
32560 (__initstate_r): Likewise.
32561 (__setstate_r): Likewise.
32562 (__erand48_r): Likewise.
32563 (__nrand48_r): Likewise.
32564 (__jrand48_r): Likewise.
32565 (__srand48_r): Likewise.
32566 (__seed48_r): Likewise.
32567 (__lcong48_r): Likewise.
32568 (__drand48_iterate): Likewise.
32569 (__setenv): Likewise.
32570 (__unsetenv): Likewise.
32571 (__clearenv): Likewise.
32572 (__ptsname_r): Likewise.
32573 (__posix_openpt): Likewise.
32574 (__add_to_environ): Likewise.
32575 (__realpath): Add libc_hidden_proto.
32576 (__ecvt_r): Likewise.
32577 (__fcvt_r): Likewise.
32578 (__qecvt_r): Likewise.
32579 (__qfcvt_r): Likewise.
32580 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
32581 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
32582
32583 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32584
32585 [BZ #18822]
32586 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
32587 * include/time.h (__mktime_internal): Likewise.
32588 * libio/iolibio.h (__fopen_internal): Likewise.
32589
32590 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
32591
32592 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
32593 pointer in frame.
32594 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
32595 Correct offset used to restore PIC register.
32596
32597 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
32598
32599 [BZ libc/22165]
32600 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
32601 code to load address of __getcontext_ret when generating PIC code.
32602
32603 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
32604
32605 * elf/Makefile (tests-static-internal): Add
32606 tst-tls1-static-non-pie.
32607 (LDFLAGS-tst-tls1-static-non-pie): New.
32608 * elf/tst-tls1-static-non-pie.c: New file.
32609
32610 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32611
32612 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
32613 (asinh): Define using libm_alias_double.
32614 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
32615 (cbrt): Define using libm_alias_double.
32616 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
32617 <libm-alias-double.h>.
32618 (copysign): Define using libm_alias_double.
32619 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
32620 (erf): Define using libm_alias_double.
32621 (erfc): Likewise.
32622 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
32623 (expm1): Define using libm_alias_double.
32624 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
32625 (fabs): Define using libm_alias_double.
32626 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
32627 libm_alias_double.
32628 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
32629 <libm-alias-double.h>.
32630 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
32631 libm_alias_double.
32632 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
32633 <libm-alias-double.h>.
32634 (getpayload): Define using libm_alias_double.
32635 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
32636 <libm-alias-double.h>.
32637 (llrint): Define using libm_alias_double.
32638 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
32639 (lrint): Define using libm_alias_double.
32640 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
32641 <libm-alias-double.h>.
32642 (nextup): Define using libm_alias_double.
32643 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
32644 <libm-alias-double.h>.
32645 (roundeven): Define using libm_alias_double.
32646 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
32647 libm_alias_double.
32648 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
32649 <libm-alias-double.h>.
32650 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
32651 using libm_alias_double.
32652 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
32653 (cos): Define using libm_alias_double.
32654 (sin): Likewise.
32655 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
32656 <libm-alias-double.h>.
32657 (sincos): Define using libm_alias_double.
32658 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
32659 (tanh): Define using libm_alias_double.
32660 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
32661 <libm-alias-double.h>.
32662 (totalorder): Define using libm_alias_double.
32663 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
32664 <libm-alias-double.h>.
32665 (totalordermag): Define using libm_alias_double.
32666 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
32667 libm_alias_double.
32668 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
32669 libm_alias_double.
32670 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
32671 <libm-alias-double.h>.
32672 (getpayload): Define using libm_alias_double.
32673 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
32674 <libm-alias-double.h>.
32675 (roundeven): Define using libm_alias_double.
32676 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
32677 <libm-alias-double.h>.
32678 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
32679 <libm-alias-double.h>.
32680 (totalorder): Define using libm_alias_double.
32681 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
32682 <libm-alias-double.h>.
32683 (totalordermag): Define using libm_alias_double.
32684 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
32685 libc compat symbol here.
32686 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
32687 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
32688 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
32689 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
32690 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
32691 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
32692 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
32693 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
32694 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
32695 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
32696
32697 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32698
32699 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
32700 _dl_relocate_static_pie instead of _dl_start to compute load
32701 address in static PIE. Return 0 if _DYNAMIC is undefined for
32702 static executable.
32703
32704 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32705
32706 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
32707 _DYNAMIC is undefined for static executable.
32708
32709 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32710
32711 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
32712
32713 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32714
32715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32716
32717 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32718
32719 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
32720 (__ieee754_lgamma_r): Use fabs rather than __fabs.
32721 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32722 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32723 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
32724 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
32725 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32726 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
32727 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
32728 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32729 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
32730 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
32731 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32732 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32733 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32734 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32735 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
32736
32737 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32738
32739 * math/bits/cmathcalls.h (cimag): Remove inline.
32740 (creal): Remove inline.
32741 (conj): Remove inline.
32742
32743 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32744
32745 * math/Makefile (type-float-routines): Add e_powf_log2_data.
32746 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
32747 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
32748 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
32749 (issignalingf_inline): Likewise.
32750 (POWF_LOG2_TABLE_BITS): Likewise.
32751 (POWF_LOG2_POLY_ORDER): Likewise.
32752 (POWF_SCALE_BITS): Likewise.
32753 (POWF_SCALE): Likewise.
32754 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
32755 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
32756 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
32757
32758 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32759
32760 * math/Makefile (type-float-routines): Add e_log2f_data.
32761 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
32762 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
32763 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
32764 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
32765 * sysdeps/i386/fpu/e_log2f_data.c: New file.
32766 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
32767 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
32768
32769 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32770
32771 * math/Makefile (type-float-routines): Add e_logf_data.
32772 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
32773 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
32774 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
32775 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
32776 * sysdeps/i386/fpu/e_logf_data.c: New file.
32777 * sysdeps/ia64/fpu/e_logf_data.c: New file.
32778 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
32779
32780 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
32781
32782 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
32783 undefined _DYNAMIC in PIE libc.a.
32784 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32785 Likewse.
32786
32787 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32788
32789 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
32790 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
32791 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
32792 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
32793 (__signbit): Remove.
32794 (__signbitl): Remove.
32795 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
32796 (__signbit): Remove.
32797 (__signbitl): Remove.
32798 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
32799 (__signbit): Remove.
32800 (__signbitl): Remove.
32801 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
32802 (__signbit): Remove.
32803 (__signbitl): Remove.
32804 * sysdeps/tile/bits/mathinline.h: Delete file.
32805 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
32806 (__signbit): Remove.
32807 (__signbitl): Remove.
32808
32809 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32810
32811 * math/math.h: Improve handling of C99 isgreater macros.
32812 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
32813 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
32814 * sysdeps/powerpc/bits/mathinline.h: Likewise.
32815 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32816 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
32817
32818 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
32819
32820 * sysdeps/aarch64/libm-test-ulps: Update.
32821
32822 2017-09-28 Joseph Myers <joseph@codesourcery.com>
32823
32824 [BZ #22225]
32825 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32826 math_opt_barrier on argument when doing arithmetic on it.
32827 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32828 Likewise. Use math_force_eval not math_opt_barrier after
32829 arithmetic.
32830 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
32831 math_opt_barrier on argument when doing arithmetic on it.
32832 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32833 Likewise.
32834
32835 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
32836
32837 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
32838 libc_hidden_def.
32839 (__freeifaddrs): Likewise.
32840
32841 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32842
32843 * include/dirent.h (__dirfd): New declaration.
32844 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
32845 alias.
32846 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
32847 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
32848 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
32849 * include/unistd.h (__revoke): New declaration.
32850 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
32851 alias.
32852 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
32853 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
32854 revoke.
32855 * include/dirent.h (__seekdir): New declaration.
32856 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
32857 redefine as weak alias.
32858 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
32859 of seekdir.
32860 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
32861 and use libc_hidden_def on them.
32862 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
32863 them.
32864 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
32865 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
32866 instead of getifaddrs and freeifaddrs.
32867
32868 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32869
32870 [BZ #18822]
32871 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
32872 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
32873 (__dso_handle): Remove declaration.
32874 * dlfcn/tstatexit.c (__dso_handle): Removed.
32875 (main): Don't check __dso_handle.
32876 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
32877 (main): Don't check __dso_handle.
32878 * include/dso_handle.h: New file.
32879 * malloc/mtrace.c: Include <dso_handle.h>.
32880 (mtrace): Pass __dso_handle directly.
32881 * nptl/pthread_atfork.c: Include <dso_handle.h>.
32882 (__dso_handle): Remove declaration.
32883 (__pthread_atfork): Pass __dso_handle directly.
32884 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
32885 (__dso_handle): Removed.
32886 * posix/wordexp-test.c: Include <dso_handle.h>.
32887 (__dso_handle): Remove declaration.
32888 (__app_register_atfork): Pass __dso_handle directly.
32889 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
32890 (__dso_handle): Remove declaration.
32891 (at_quick_exit): Pass __dso_handle directly.
32892 * stdlib/atexit.c: Include <dso_handle.h>.
32893 (__dso_handle): Remove declaration.
32894 (atexit): Pass __dso_handle directly.
32895 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
32896 (__dso_handle): Removed.
32897
32898 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32899
32900 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
32901 using VDSO.
32902
32903 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
32904
32905 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
32906 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
32907 values to correct default value for given type.
32908
32909 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32910
32911 [BZ #22101]
32912 * elf/Makefile (tests): Add tst-debug1.
32913 ($(objpfx)tst-debug1): New.
32914 ($(objpfx)tst-debug1.out): Likewise.
32915 ($(objpfx)tst-debug1mod1.so): Likewise.
32916 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
32917 with p_filesz == 0.
32918 * elf/tst-debug1.c: New file.
32919
32920 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32921
32922 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
32923 Define using __ifunc.
32924
32925 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32926
32927 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
32928 exp2f() values.
32929
32930 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32931
32932 [BZ #22156]
32933 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
32934
32935 2017-09-26 Florian Weimer <fweimer@redhat.com>
32936
32937 * resolv/Makefile (tests-internal): Fix typo in comment.
32938
32939 2017-09-26 Florian Weimer <fweimer@redhat.com>
32940
32941 * resolv/nss_dns/dns-host.c: Fix typo in comment.
32942
32943 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32944
32945 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
32946 Use an union instead of a max_align_t array for __space,
32947 so that __space is the same size on all platforms.
32948 * malloc/scratch_buffer_grow_preserve.c
32949 (__libc_scratch_buffer_grow_preserve): Likewise.
32950
32951 [BZ #22183]
32952 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
32953 version to 2.
32954 * posix/Makefile (routines): Add glob-lstat-compat and
32955 glob64-lstat-compat.
32956 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
32957 * posix/glob-lstat-compat.c: New file.
32958 * posix/glob64-lstat-compat.c: Likewise.
32959 * posix/tst-glob_lstat_compat.c: Likewise.
32960 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
32961 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
32962 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
32963 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
32964 Likewise.
32965 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
32966 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32967 * posix/glob.c (glob_lstat): New function.
32968 (glob): Rename to __glob and add versioned symbol to 2.27.
32969 (glob_in_dir): Use glob_lstat.
32970 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
32971 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
32972 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
32973 2.27.
32974 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
32975 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
32976 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
32977 gl_lstat on glob call.
32978 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
32979 and glob64 symbols.
32980 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
32981 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
32982 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
32983 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
32984 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
32985 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
32986 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
32987 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
32988 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
32989 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
32990 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
32991 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
32992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
32993 Likewise.
32994 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
32995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
32996 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
32997 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
32998 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
32999 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
33000 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
33001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
33002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
33003 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
33004 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
33005 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
33006
33007 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
33008
33009 * configure.ac (AS): Require binutils 2.25 or later.
33010 * configure: Regenerated.
33011
33012 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33013
33014 [BZ #22207]
33015 * stdlib/test-atexit-race-common.c (do_test): Minimize required
33016 VM size.
33017
33018 2017-09-25 DJ Delorie <dj@redhat.com>
33019
33020 [BZ #22161]
33021 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
33022 resetting timeout.
33023
33024 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
33025
33026 * sysdeps/ieee754/dbl-64/sincos32.h
33027 [SINCCOS32_H]: Remove define.
33028 [SINCOS32_H]: Define.
33029
33030 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33031
33032 * math/Versions (expf): New libm symbol at GLIBC_2.27.
33033 (exp2f): Likewise.
33034 * math/w_exp2f.c: New file.
33035 * math/w_expf.c: New file.
33036 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
33037 * math/w_expf_compat.c (__expf_compat): Likewise.
33038 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
33039 * sysdeps/ia64/fpu/e_expf.S: Likewise.
33040 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
33041 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
33042 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
33043 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
33044 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
33045 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
33046 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
33047 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
33048 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
33049 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
33050 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
33051 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
33052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
33053 Likewise.
33054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33055 Likewise.
33056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
33057 Likewise.
33058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
33059 Likewise.
33060 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
33061 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
33062 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
33063 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
33064 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
33065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
33066 Likewise.
33067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
33068 Likewise.
33069 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
33070 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
33071 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
33072
33073 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33074
33075 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
33076 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
33077 (roundtoint, converttoint): Likewise.
33078 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
33079 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
33080 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
33081 * sysdeps/ieee754/flt-32/math_config.h: New file.
33082 * sysdeps/ieee754/flt-32/math_errf.c: New file.
33083 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
33084 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
33085 * sysdeps/i386/fpu/math_errf.c: New file.
33086 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
33087 * sysdeps/ia64/fpu/math_errf.c: New file.
33088 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
33089 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
33090
33091 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
33092
33093 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
33094 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
33095 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
33096 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
33097 to make sure that these symbols are defined.
33098 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
33099 of <limits.h>
33100 (__need_NULL): Do not define.
33101 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
33102 alignment.
33103 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
33104 CMGROUP_MAX, cmsgcred): Do not define.
33105 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
33106 NULL.
33107 * bits/socket.h: Likewise.
33108 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
33109 __gettimeofday instead of gettimeofday.
33110 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
33111 instead of settimeofday.
33112
33113 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33114
33115 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
33116 (asinhf): Define using libm_alias_float.
33117 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
33118 (atanf): Define using libm_alias_float.
33119 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
33120 (cbrtf): Define using libm_alias_float.
33121 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
33122 (ceilf): Define using libm_alias_float.
33123 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
33124 <libm-alias-float.h>.
33125 (copysignf): Define using libm_alias_float.
33126 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
33127 (cosf): Define using libm_alias_float.
33128 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
33129 (erff): Define using libm_alias_float.
33130 (erfcf): Likewise.
33131 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
33132 (expm1f): Define using libm_alias_float.
33133 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
33134 (fabsf): Define using libm_alias_float.
33135 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
33136 (floorf): Define using libm_alias_float.
33137 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
33138 (frexpf): Define using libm_alias_float.
33139 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
33140 libm_alias_float.
33141 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
33142 <libm-alias-float.h>.
33143 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
33144 libm_alias_float.
33145 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
33146 <libm-alias-float.h>.
33147 (getpayloadf): Define using libm_alias_float.
33148 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
33149 <libm-alias-float.h>.
33150 (llrintf): Define using libm_alias_float.
33151 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
33152 <libm-alias-float.h>.
33153 (llroundf): Define using libm_alias_float.
33154 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
33155 (logbf): Define using libm_alias_float.
33156 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
33157 (lrintf): Define using libm_alias_float.
33158 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
33159 (lroundf): Define using libm_alias_float.
33160 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
33161 (modff): Define using libm_alias_float.
33162 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
33163 <libm-alias-float.h>.
33164 (nearbyintf): Define using libm_alias_float.
33165 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
33166 <libm-alias-float.h>.
33167 (nextafterf): Define using libm_alias_float.
33168 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
33169 <libm-alias-float.h>.
33170 (nextupf): Define using libm_alias_float.
33171 * sysdeps/ieee754/flt-32/s_remquof.c: Include
33172 <libm-alias-float.h>.
33173 (remquof): Define using libm_alias_float.
33174 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
33175 (rintf): Define using libm_alias_float.
33176 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
33177 <libm-alias-float.h>.
33178 (roundevenf): Define using libm_alias_float.
33179 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
33180 (roundf): Define using libm_alias_float.
33181 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
33182 using libm_alias_float.
33183 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
33184 <libm-alias-float.h>.
33185 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
33186 Define using libm_alias_float.
33187 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
33188 <libm-alias-float.h>.
33189 (sincosf): Define using libm_alias_float.
33190 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
33191 (sinf): Define using libm_alias_float.
33192 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
33193 (tanf): Define using libm_alias_float.
33194 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
33195 (tanhf): Define using libm_alias_float.
33196 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
33197 <libm-alias-float.h>.
33198 (totalorderf): Define using libm_alias_float.
33199 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
33200 <libm-alias-float.h>.
33201 (totalordermagf): Define using libm_alias_float.
33202 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
33203 (truncf): Define using libm_alias_float.
33204 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
33205 libm_alias_float.
33206 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
33207 libm_alias_float.
33208
33209 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33210
33211 [BZ #22146]
33212 math/math.h: Let fpclassify use the builtin in C++ mode, even
33213 when optimazing for size.
33214
33215 2017-09-22 Joseph Myers <joseph@codesourcery.com>
33216
33217 * csu/Makefile (generated): Do not add version-info.h.
33218 (before-compile): Likewise.
33219 (all-Banner-files): Remove variable.
33220 ($(objpfx)version-info.h): Remove rule.
33221 * csu/version.c (banner): Do not include "version-info.h".
33222 * libidn/Banner: Remove.
33223 * manual/contrib.texi (Simon Josefsson): New entry.
33224
33225 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33226
33227 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33228 Remove conditionals on LDBL_MANT_DIG.
33229 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
33230 (__ieee754_lgammal_r): Likewise.
33231
33232 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33233
33234 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
33235 _Float128 and L().
33236 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
33237 _Float128 and L(). Replace _Float128 with long double and L(x)
33238 with xL, throughout the file.
33239 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33240 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33241 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33242 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33243
33244 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33245
33246 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
33247 sysdeps/ieee754/ldbl-128ibm.
33248 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
33249 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
33250 of including it. Keep _Float128 and L() intact. These will be
33251 reviewed by a separate patch.
33252 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
33253 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
33254 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
33255 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
33256
33257 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33258
33259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
33260 (__finitef128): Define to __redirect___finitef128.
33261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
33262 (__isinff128): Define to __redirect___isinff128.
33263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
33264 (__isnanf128): Define to __redirect___isnanf128.
33265
33266 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
33267
33268 * sysdeps/powerpc/powerpc64le/Makefile
33269 (CFLAGS-tst-strtod-nan-locale.c): New variable.
33270 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
33271
33272 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
33273 Carlos O'Donell <carlos@redhat.com>
33274
33275 [BZ #22180]
33276 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
33277 * stdlib/test-dlclose-exit-race.c: New file.
33278 * stdlib/test-dlclose-exit-race-helper.c: New file.
33279 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
33280
33281 2017-09-21 Joseph Myers <joseph@codesourcery.com>
33282
33283 * crypt/Banner: Remove file.
33284 * nptl/Banner: Likewise.
33285 * resolv/Banner: Likewise.
33286 * soft-fp/Banner: Likewise.
33287 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
33288 ($(objpfx)version.d): Remove dependency on banner.h.
33289 ($(objpfx)version.os): Likewise.
33290 * nptl/version.c (banner): Do not include banner.h.
33291 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
33292 Jelinek and BIND code.
33293
33294 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33295 Carlos O'Donell <carlos@redhat.com>
33296
33297 * support/xdlfcn.h: New file.
33298 * support/xdlfcn.c: New file.
33299 * support/Makefile (libsupport-routines): Add xdlfcn.
33300 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
33301
33302 2017-09-20 Joseph Myers <joseph@codesourcery.com>
33303
33304 [BZ #20142]
33305 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33306 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
33307 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
33308 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
33309 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
33310 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
33311 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
33312 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
33313
33314 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33315 Ricky Zhou <rickyz@google.com>
33316 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
33317
33318 [BZ #14333]
33319 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
33320 Remove atomics.
33321 (__new_exitfn): Fail registration when we finished at_exit processing.
33322 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33323 * stdlib/on_exit.c (__on_exit): Likewise.
33324 * stdlib/exit.c (__exit_funcs_done): New variable.
33325 (__run_exit_handlers): Use __exit_funcs_lock.
33326 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
33327 declarations.
33328 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
33329 (test-cxa_atexit-race, test-on_exit-race): New tests.
33330 * stdlib/test-atexit-race-common.c: New file.
33331 * stdlib/test-atexit-race.c: New file.
33332 * stdlib/test-at_quick_exit-race.c: New file.
33333 * stdlib/test-cxa_atexit-race.c: New file.
33334 * stdlib/test-on_exit-race.c: New file.
33335
33336 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
33337
33338 * benchtests/Makefile: Add exp2f and log2f benchmarks.
33339 * benchtests/exp2f-inputs: Copy of expf-inputs.
33340 * benchtests/log2f-inputs: Copy of logf-inputs.
33341
33342 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33343
33344 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
33345 Explicitly take address of first element of array arguments in
33346 call to INLINE_SYSCALL.
33347
33348 2017-09-19 Andreas Schwab <schwab@suse.de>
33349
33350 [BZ #22134]
33351 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
33352 execveat first.
33353 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
33354 unimplemented.
33355 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
33356 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
33357 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33358 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
33359 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33360 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33361 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33362 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33363 * posix/Makefile (tests): Add tst-fexecve.
33364 * posix/tst-fexecve.c: New file.
33365
33366 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33367
33368 * benchtests/Makefile: Add logf benchmark.
33369 * benchtests/logf-inputs: Add reduced trace from wrf_r.
33370
33371 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33372
33373 * benchtests/Makefile: Add expf benchmark.
33374 * benchtests/expf-inputs: Add reduced trace from wrf_r.
33375
33376 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33377
33378 * csu/Makefile: Add -funwind-tables to libc-start.c.
33379 * debug/Makefile: Add -funwind-tables to backtrace.c.
33380 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
33381 * sysdeps/arm/Makefile: Likewise.
33382 * sysdeps/i386/Makefile: Likewise.
33383 * sysdeps/m68k/Makefile: Likewise.
33384 * sysdeps/mips/Makefile: Likewise.
33385 * sysdeps/nios2/Makefile: Likewise.
33386 * sysdeps/sh/Makefile: Likewise.
33387 * sysdeps/sparc/Makefile: Likewise.
33388
33389 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33390
33391 * benchtests/Makefile (bench-math): Add trunc and truncf.
33392 (CFLAGS-bench-trunc.c): New variable.
33393 (CFLAGS-bench-truncf.c): Likewise.
33394 * benchtests/trunc-inputs: New file.
33395 * benchtests/truncf-inputs: Likewise.
33396
33397 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33398
33399 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
33400
33401 2017-09-18 Joseph Myers <joseph@codesourcery.com>
33402
33403 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
33404 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
33405 redefine.
33406 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
33407 (exp10l): Define as weak alias.
33408 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
33409 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
33410 and redefine.
33411 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
33412 (remainderl): Define as weak alias.
33413
33414 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
33415 (fmal): Define using libm_alias_ldouble.
33416 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
33417 (acoshl): Define using libm_alias_ldouble.
33418 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
33419 (acosl): Define using libm_alias_ldouble.
33420 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
33421 (asinl): Define using libm_alias_ldouble.
33422 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
33423 (atan2l): Define using libm_alias_ldouble.
33424 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
33425 (atanhl): Define using libm_alias_ldouble.
33426 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
33427 (coshl): Define using libm_alias_ldouble.
33428 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
33429 (exp10l): Define using libm_alias_ldouble.
33430 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
33431 (exp2l): Define using libm_alias_ldouble.
33432 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
33433 (expl): Define using libm_alias_ldouble.
33434 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
33435 (fmodl): Define using libm_alias_ldouble.
33436 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
33437 (hypotl): Define using libm_alias_ldouble.
33438 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
33439 (j0l): Define using libm_alias_ldouble.
33440 (y0l): Likewise.
33441 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
33442 (j1l): Define using libm_alias_ldouble.
33443 (y1l): Likewise.
33444 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
33445 (jnl): Define using libm_alias_ldouble.
33446 (ynl): Likewise.
33447 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
33448 (log10l): Define using libm_alias_ldouble.
33449 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
33450 (log2l): Define using libm_alias_ldouble.
33451 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
33452 (logl): Define using libm_alias_ldouble.
33453 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
33454 (powl): Define using libm_alias_ldouble.
33455 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
33456 (remainderl): Define using libm_alias_ldouble.
33457 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
33458 (sinhl): Define using libm_alias_ldouble.
33459 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
33460 (sqrtl): Define using libm_alias_ldouble.
33461 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
33462 (tgammal): Define using libm_alias_ldouble.
33463 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
33464 (exp10l): Do not use long_double_symbol here.
33465 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
33466 [LIBM_SVID_COMPAT] (remainderl): Likewise.
33467 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
33468 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33469 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33470 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33471 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33472 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33473 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33474 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33475 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33476 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33477 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33478 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33479 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33480 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33481 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33482 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33483 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33484 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33485 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33486 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33487
33488 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
33489
33490 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
33491 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
33492
33493 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
33494
33495 * io/read.c (read): Add libc_hidden_weak.
33496 * sysdeps/mach/hurd/read.c (read): Likewise.
33497 * io/write.c (write): Likewise.
33498 * sysdeps/mach/hurd/write.c (write): Likewise.
33499 * io/pread64.c (__pread64): Likewise.
33500 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
33501 * posix/pread64.c (__pread64): Add libc_hidden_def.
33502
33503 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
33504
33505 * benchtests/scripts/compare_strings.py: New option -g.
33506 (draw_graph): Print a message that a graph is being generated.
33507 (process_results): Generate graph only if -g is passed.
33508 (main): Process option -g.
33509
33510 * benchtests/scripts/compare_strings.py (process_results):
33511 Better spacing for output.
33512
33513 * benchtests/scripts/compare_strings.py: Use argparse.
33514 * benchtests/README: Document existence of compare_strings.py.
33515
33516 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33517
33518 * math/s_fma.c: Include <libm-alias-double.h>.
33519 (fma): Define using libm_alias_double.
33520 * math/s_nextafter.c: Include <libm-alias-double.h>.
33521 (nextafter): Define using libm_alias_double.
33522 * math/w_acos_compat.c: Include <libm-alias-double.h>.
33523 (acos): Define using libm_alias_double.
33524 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
33525 (aocsh): Define using libm_alias_double.
33526 * math/w_asin_compat.c: Include <libm-alias-double.h>.
33527 (asin): Define using libm_alias_double.
33528 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
33529 (atan2): Define using libm_alias_double.
33530 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
33531 (atanh): Define using libm_alias_double.
33532 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
33533 (cosh): Define using libm_alias_double.
33534 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
33535 (exp10): Define using libm_alias_double.
33536 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
33537 (exp2): Define using libm_alias_double.
33538 * math/w_exp_compat.c: Include <libm-alias-double.h>.
33539 (exp): Define using libm_alias_double.
33540 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
33541 (fmod): Define using libm_alias_double.
33542 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
33543 (hypot): Define using libm_alias_double.
33544 * math/w_j0_compat.c: Include <libm-alias-double.h>.
33545 (j0): Define using libm_alias_double.
33546 (y0): Likewise.
33547 * math/w_j1_compat.c: Include <libm-alias-double.h>.
33548 (j1): Define using libm_alias_double.
33549 (y1): Likewise.
33550 * math/w_jn_compat.c: Include <libm-alias-double.h>.
33551 (jn): Define using libm_alias_double.
33552 (yn): Likewise.
33553 * math/w_log10_compat.c: Include <libm-alias-double.h>.
33554 (log10): Define using libm_alias_double.
33555 * math/w_log2_compat.c: Include <libm-alias-double.h>.
33556 (log2): Define using libm_alias_double.
33557 * math/w_log_compat.c: Include <libm-alias-double.h>.
33558 (log): Define using libm_alias_double.
33559 * math/w_pow_compat.c: Include <libm-alias-double.h>.
33560 (pow): Define using libm_alias_double.
33561 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
33562 (remainder): Define using libm_alias_double.
33563 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
33564 (sinh): Define using libm_alias_double.
33565 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
33566 (sqrt): Define using libm_alias_double.
33567 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
33568 (tgamma): Define using libm_alias_double.
33569 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
33570 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
33571 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
33572 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
33573 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
33574 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
33575 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
33576 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
33577 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
33578 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
33579 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
33580 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
33581 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
33582 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
33583 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
33584 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
33585 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
33586 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
33587 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
33588 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
33589 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
33590 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
33591 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
33592 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
33593 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
33594
33595 * math/e_acoshl.c: Remove.
33596 * math/e_acosl.c: Likewise.
33597 * math/e_asinl.c: Likewise.
33598 * math/e_atan2l.c: Likewise.
33599 * math/e_atanhl.c: Likewise.
33600 * math/e_coshl.c: Likewise.
33601 * math/e_expl.c: Likewise.
33602 * math/e_fmodl.c: Likewise.
33603 * math/e_gammal_r.c: Likewise.
33604 * math/e_hypotl.c: Likewise.
33605 * math/e_j0l.c: Likewise.
33606 * math/e_j1l.c: Likewise.
33607 * math/e_jnl.c: Likewise.
33608 * math/e_lgammal_r.c: Likewise.
33609 * math/e_log10l.c: Likewise.
33610 * math/e_log2l.c: Likewise.
33611 * math/e_logl.c: Likewise.
33612 * math/e_powl.c: Likewise.
33613 * math/e_rem_pio2l.c: Likewise.
33614 * math/e_sinhl.c: Likewise.
33615 * math/e_sqrtf128.c: Likewise.
33616 * math/e_sqrtl.c: Likewise.
33617 * math/k_cosl.c: Likewise.
33618 * math/k_sinl.c: Likewise.
33619 * math/k_tanl.c: Likewise.
33620 * math/s_asinhl.c: Likewise.
33621 * math/s_atanl.c: Likewise.
33622 * math/s_cbrtl.c: Likewise.
33623 * math/s_erfl.c: Likewise.
33624 * math/s_expm1l.c: Likewise.
33625 * math/s_log1pl.c: Likewise.
33626 * math/s_tanhl.c: Likewise.
33627
33628 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33629
33630 [BZ #21745]
33631 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
33632 [$(subdir) = math] (sysdep_calls): New variable. Has the
33633 previous contents of sysdep_routines, but re-sorted..
33634 [$(subdir) = math] (sysdep_routines): Re-use the contents from
33635 sysdep_calls.
33636 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
33637 defined in sysdep_calls and replace by the respective m_* names.
33638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
33639 (compat_symbol): Undefine to avoid duplicated compat symbols in
33640 libc.
33641
33642 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33643
33644 * math/s_fmaf.c: Include <libm-alias-float.h>.
33645 (fmaf): Define using libm_alias_float.
33646 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
33647 (acosf): Define using libm_alias_float.
33648 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
33649 (acoshf): Define using libm_alias_float.
33650 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
33651 (asinf): Define using libm_alias_float.
33652 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
33653 (atan2f): Define using libm_alias_float.
33654 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
33655 (atanhf): Define using libm_alias_float.
33656 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
33657 (coshf): Define using libm_alias_float.
33658 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
33659 (exp10f): Define using libm_alias_float.
33660 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
33661 (fmodf): Define using libm_alias_float.
33662 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
33663 (hypotf): Define using libm_alias_float.
33664 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
33665 (j0f): Define using libm_alias_float.
33666 (y0f): Likewise.
33667 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
33668 (j1f): Define using libm_alias_float.
33669 (y1f): Likewise.
33670 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
33671 (jnf): Define using libm_alias_float.
33672 (ynf): Likewise.
33673 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
33674 (log10f): Define using libm_alias_float.
33675 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
33676 (log2f): Define using libm_alias_float.
33677 * math/w_logf_compat.c: Include <libm-alias-float.h>.
33678 (logf): Define using libm_alias_float.
33679 * math/w_powf_compat.c: Include <libm-alias-float.h>.
33680 (powf): Define using libm_alias_float.
33681 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
33682 (remainderf): Define using libm_alias_float.
33683 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
33684 (sinhf): Define using libm_alias_float.
33685 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
33686 (sqrtf): Define using libm_alias_float.
33687 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
33688 (tgammaf): Define using libm_alias_float.
33689
33690 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33691
33692 * include/math.h (roundeven): Change hidden_proto call to
33693 __roundeven.
33694 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
33695 alias.
33696 [NO_LONG_DOUBLE] (__j0l): New strong alias.
33697 (y0): Rename to __y0 and define as weak alias.
33698 [NO_LONG_DOUBLE] (__y0l): New strong alias.
33699 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
33700 alias.
33701 (y0f): Rename to __y0f and define as weak alias.
33702 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
33703 alias.
33704 [NO_LONG_DOUBLE] (__j1l): New strong alias.
33705 (y1): Rename to __y1 and define as weak alias.
33706 [NO_LONG_DOUBLE] (__y1l): New strong alias.
33707 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
33708 alias.
33709 (y1f): Rename to __y1f and define as weak alias.
33710 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
33711 alias.
33712 [NO_LONG_DOUBLE] (__jnl): New strong alias.
33713 (yn): Rename to __yn and define as weak alias.
33714 [NO_LONG_DOUBLE] (__ynl): New strong alias.
33715 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
33716 alias.
33717 (ynf): Rename to __ynf and define as weak alias.
33718 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
33719 (fromfp): Define as weak alias.
33720 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
33721 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
33722 (fromfpx): Define as weak alias.
33723 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
33724 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
33725 __getpayload and define as weak alias.
33726 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33727 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
33728 __roundeven and define as weak alias.
33729 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33730 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
33731 __setpayload.
33732 (setpayload): Define as weak alias.
33733 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
33734 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
33735 __setpayloadsig.
33736 (setpayloadsig): Define as weak alias.
33737 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
33738 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
33739 __totalorder and define as weak alias.
33740 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33741 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
33742 to __totalordermag and define as weak alias.
33743 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33744 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
33745 (ufromfp): Define as weak alias.
33746 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
33747 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
33748 __ufromfpx.
33749 (ufromfpx): Define as weak alias.
33750 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
33751 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
33752 Rename to __getpayload and define as weak alias.
33753 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33754 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
33755 Rename to __roundeven and define as weak alias.
33756 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33757 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
33758 Rename to __totalorder and define as weak alias.
33759 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33760 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
33761 (totalordermag): Rename to __totalordermag and define as weak
33762 alias.
33763 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33764 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
33765 macro.
33766 (__roundevenl): Likewise.
33767 (__totalorderl): Likewise.
33768 (__totalordermagl): Likewise
33769 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
33770 __fromfpf128.
33771 (fromfpf128): Define as weak alias.
33772 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
33773 __fromfpxf128.
33774 (fromfpxf128): Define as weak alias.
33775 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
33776 __setpayloadf128.
33777 (setpayloadf128): Define as weak alias.
33778 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
33779 __setpayloadsigf128.
33780 (setpayloadsigf128): Define as weak alias.
33781 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
33782 __ufromfpf128.
33783 (ufromfpf128): Define as weak alias.
33784 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
33785 __ufromfpxf128.
33786 (ufromfpxf128): Define as weak alias.
33787 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
33788 (fromfpf): Define as weak alias.
33789 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
33790 __fromfpxf.
33791 (fromfpxf): Define as weak alias.
33792 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
33793 __getpayloadf and define as weak alias.
33794 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
33795 __roundevenf and define as weak alias.
33796 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
33797 __setpayloadf.
33798 (setpayloadf): Define as weak alias.
33799 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
33800 __setpayloadsigf.
33801 (setpayloadsigf): Define as weak alias.
33802 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
33803 __totalorderf and define as weak alias.
33804 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
33805 Rename to __totalordermagf and define as weak alias.
33806 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
33807 __ufromfpf.
33808 (ufromfpf): Define as weak alias.
33809 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
33810 __ufromfpxf.
33811 (ufromfpxf): Define as weak alias.
33812 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
33813 __fromfpl.
33814 (fromfpl): Define as weak alias.
33815 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
33816 __fromfpxl.
33817 (fromfpxl): Define as weak alias.
33818 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
33819 to __getpayloadl and define as weak alias.
33820 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
33821 __roundevenl and define as weak alias.
33822 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
33823 __setpayloadl.
33824 (setpayloadl): Define as weak alias.
33825 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
33826 __setpayloadsigl.
33827 (setpayloadsigl): Define as weak alias.
33828 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
33829 to __totalorderl and define as weak alias.
33830 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
33831 Rename to __totalordermagl and define as weak alias.
33832 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
33833 __ufromfpl.
33834 (ufromfpl): Define as weak alias.
33835 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
33836 __ufromfpxl.
33837 (ufromfpxl): Define as weak alias.
33838 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
33839 __fromfpl.
33840 (fromfpl): Define as weak alias.
33841 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
33842 __fromfpxl.
33843 (fromfpxl): Define as weak alias.
33844 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
33845 Rename to __getpayloadl and define as weak alias.
33846 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
33847 to __roundevenl and define as weak alias. Call __roundeven
33848 instead of roundeven.
33849 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
33850 __setpayloadl.
33851 (setpayloadl): Define as weak alias.
33852 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
33853 __setpayloadsigl.
33854 (setpayloadsigl): Define as weak alias.
33855 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
33856 Rename to __totalorderl and define as weak alias.
33857 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
33858 Rename to __totalordermagl and define as weak alias.
33859 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
33860 __ufromfpl.
33861 (ufromfpl): Define as weak alias.
33862 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
33863 __ufromfpxl.
33864 (ufromfpxl): Define as weak alias.
33865 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
33866 __fromfpl.
33867 (fromfpl): Define as weak alias.
33868 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
33869 __fromfpxl.
33870 (fromfpxl): Define as weak alias.
33871 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
33872 __getpayloadl and define as weak alias.
33873 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
33874 __roundevenl and define as weak alias.
33875 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
33876 __setpayloadl.
33877 (setpayloadl): Define as weak alias.
33878 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
33879 __setpayloadsigl.
33880 (setpayloadsigl): Define as weak alias.
33881 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
33882 __totalorderl and define as weak alias.
33883 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
33884 Rename to __totalordermagl and define as weak alias.
33885 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
33886 __ufromfpl.
33887 (ufromfpl): Define as weak alias.
33888 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
33889 __ufromfpxl.
33890 (ufromfpxl): Define as weak alias.
33891
33892 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
33893
33894 * benchtests/bench-string.h (realloc_bufs): New function.
33895 (test_init): Call it.
33896 * benchtests/bench-memset-large.c (do_test): Likewise.
33897 * benchtests/bench-memset.c (do_test): Likewise.
33898
33899 * benchtests/bench-memset-large.c: Print output in JSON
33900 format.
33901 * benchtests/bench-memset.c: Likewise.
33902
33903 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33904
33905 [BZ #21084]
33906 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
33907 * iconvdata/Makefile: Add IBM858.
33908 * iconvdata/gconv-modules: Likewise.
33909 * iconvdata/tst-tables.sh: Likewise.
33910 * iconvdata/ibm858.c: New file.
33911 * localedata/charmaps/IBM858: Likewise.
33912
33913 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
33914
33915 [BZ #22023]
33916 * locales/niu_NZ (LC_TIME): copy "niu_NU".
33917 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
33918
33919 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33920
33921 [BZ #22112]
33922 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
33923 and add tel_int_fmt.
33924
33925 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33926
33927 * sysdeps/generic/libm-alias-float128.h: New file.
33928 * sysdeps/generic/math-type-macros-float128.h: Include
33929 <libm-alias-float128.h>.
33930 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33931
33932 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33933
33934 * sysdeps/generic/libm-alias-ldouble.h: New file.
33935 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
33936 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
33937 * sysdeps/generic/math-type-macros-ldouble.h: Include
33938 <libm-alias-ldouble.h>.
33939 [!declare_mgen_alias] (declare_mgen_alias): Define to use
33940 libm_alias_ldouble.
33941
33942 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
33943
33944 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
33945 * math/w_exp_compat.c: ... here.
33946 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
33947 * math/w_expf_compat.c: ... here.
33948 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
33949 * math/w_expl_compat.c: ... here.
33950 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
33951 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
33952 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
33953 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33954
33955 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33956
33957 * math/w_scalbln_template.c (strong_alias): Do not undefine and
33958 redefine.
33959 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
33960 macro.
33961 (ldexpl): Only define as compat symbol for libc, not libm.
33962 (scalbnl): Define as compat symbol for libc here.
33963 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
33964 define for [IS_IN (libc)].
33965 (__ldexpl_2): Remove alias.
33966 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
33967 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
33968 name in long_double_symbol call.
33969 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
33970 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33971 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33972 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
33973 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
33974 Remove macro.
33975 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
33976 Define as compat symbol.
33977
33978 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33979
33980 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
33981 * sysdeps/unix/sysv/linux/alpha/Makefile
33982 [$(subdir) = csu] (sysdep_routines): Remove rule.
33983
33984 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33985
33986 * sysdeps/generic/libm-alias-double.h: New file.
33987 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
33988 * sysdeps/generic/math-type-macros-double.h: Include
33989 <libm-alias-double.h>.
33990 [declare_mgen_alias] (declare_mgen_alias): Define to use
33991 libm_alias_double.
33992 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
33993 (M_LIBM_NEED_COMPAT): Remove macro.
33994 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
33995 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
33996 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
33997 code.
33998 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33999 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34000 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34001 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34002 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34003 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34004 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34005 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34006 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34007 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34008 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34009 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34010 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34011 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34012 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34013 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34014 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34015 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34016 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34017 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34018 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34019 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34020 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34021 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34022 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34023 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34024 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
34025 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
34026 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
34027 macro.
34028 (declare_mgen_alias): New macro.
34029 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
34030 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
34031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
34032 (M_LIBM_NEED_COMPAT): Remove macro.
34033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
34034 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
34035 <first-versions.h>.
34036 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
34037 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
34038
34039 2017-09-12 Joseph Myers <joseph@codesourcery.com>
34040
34041 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
34042 (declare_mgen_alias_2): Remove.
34043 * sysdeps/generic/math-type-macros-double.h
34044 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
34045 Likewise.
34046 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
34047 alias.
34048 (ldexp): Define with declare_mgen_alias.
34049 (scalbn): Likewise.
34050
34051 2017-09-12 Steve Ellcey <sellcey@cavium.com>
34052
34053 * grp/initgroups.c: Include config.h.
34054 (DEFAULT_CONFIG): New macro.
34055 (internal_getgrouplist): Use DEFAULT_CONFIG.
34056 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34057 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
34058 (DEFAULT_DEFCONFIG): New macro.
34059 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
34060 * nss/grp-lookup.c: Include config.h
34061 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
34062 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
34063 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
34064 * manual/nss.texi: Update default values section.
34065
34066 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
34067
34068 [BZ #21967]
34069 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
34070 New.
34071 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
34072 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34073 Handle MathVec_Prefer_No_AVX512.
34074 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
34075 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
34076 is set.
34077
34078 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
34079
34080 * posix/sched_primax.c (__sched_get_priority_max): Add
34081 libc_hidden_def.
34082 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
34083 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34084 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34085 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
34086 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
34087 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
34088 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
34089 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
34090 Add aliases.
34091
34092 2017-09-11 Joseph Myers <joseph@codesourcery.com>
34093
34094 * sysdeps/generic/libm-alias-float.h: New file.
34095 * sysdeps/generic/math-type-macros-float.h: Include
34096 <libm-alias-float.h>.
34097 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
34098
34099 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
34100
34101 [BZ #22093]
34102 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
34103 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
34104 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
34105 (HWCAP_IMPORTANT): Likewise.
34106 (HWCAP_X86_64): New enum.
34107 (HWCAP_X86_AVX512_1): Updated.
34108 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
34109 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
34110 (modules-names): Add x86_64/tst-x86_64mod-1.
34111 (LDFLAGS-tst-x86_64mod-1.so): New.
34112 ($(objpfx)tst-x86_64-1): Likewise.
34113 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
34114 (tst-x86_64-1-clean): Likewise.
34115 * sysdeps/x86_64/tst-x86_64-1.c: New file.
34116 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
34117
34118 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34119
34120 * po/sv.po: Update translations.
34121 * po/fr.po: Likewise.
34122
34123 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34124
34125 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
34126 seconds.
34127 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
34128 seconds.
34129 * elf/rtld-Rules: Fix $(error) use.
34130
34131 2017-09-09 Mike FABIAN <mfabian@redhat.com>
34132
34133 [BZ #14925]
34134 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
34135 * locale/iso-639.def: Change “Bengali” to “Bangla”.
34136 * localedata/locales/bn_BD: “Bengali” was still used in some
34137 comments. Change it to “Bangla”.
34138
34139 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
34140
34141 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
34142
34143 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34144
34145 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
34146 thunderx2t99p1 to list of cpu names.
34147 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34148 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
34149
34150 2017-09-08 Steve Ellcey <sellcey@cavium.com>
34151
34152 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
34153 Use strcmp instead of tunable_is_name.
34154
34155 2017-09-08 Joseph Myers <joseph@codesourcery.com>
34156
34157 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34158 (F_GET_RW_HINT): New macro.
34159 [__USE_GNU] (F_SET_RW_HINT): Likewise.
34160 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
34161 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
34162 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
34163 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
34164 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
34165 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
34166 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
34167 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
34168
34169 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34170 (F_ADD_SEALS): New macro.
34171 [__USE_GNU] (F_GET_SEALS): Likewise.
34172 [__USE_GNU] (F_SEAL_SEAL): Likewise.
34173 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
34174 [__USE_GNU] (F_SEAL_GROW): Likewise.
34175 [__USE_GNU] (F_SEAL_WRITE): Likewise.
34176
34177 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34178
34179 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
34180 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
34181 * posix/glob_internal.h (__glob_pattern_type):
34182 * posix/glob.c (glob):
34183 * posix/glob_pattern_p.c (__glob_pattern_p):
34184 Use them.
34185
34186 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
34187 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34188 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
34189 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
34190 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
34192 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
34193 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
34194 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34195 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34196 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34197 * sysdeps/wordsize-64/glob.c: Likewise.
34198 * sysdeps/wordsize-64/glob64.c: Likewise.
34199 * sysdeps/wordsize-64/globfree.c: Likewise.
34200 * sysdeps/wordsize-64/globfree64.c: Likewise.
34201 * sysdeps/unix/sysv/linux/glob.c: New file.
34202 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
34203 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
34204 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
34205 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
34206 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
34207 adds !GLOB_NO_OLD_VERSION as an extra condition.
34208 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
34209 using relative path instead of absolute one.
34210 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
34211 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34212 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34213 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
34214 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
34215 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
34216
34217 [BZ #1062]
34218 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
34219 (glob): Use the same scratch buffer for both getlogin_r and
34220 getpwnam_r. Don’t require preallocation of the login name. This
34221 simplifies storage allocation, and corrects the handling of
34222 long login names.
34223
34224 [BZ #1062]
34225 * posix/glob.c (glob): Port recent patches to platforms
34226 lacking getpwnam_r.
34227 (glob): Fix longstanding misuse of errno after getpwnam_r, which
34228 returns an error number rather than setting errno.
34229
34230 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
34231 instead of GCC extension.
34232 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
34233 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
34234 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
34235
34236 [BZ #866]
34237 [BZ #1062]
34238 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
34239 * posix/bug-glob1.c: Remove file.
34240 * posix/tst-glob_symlinks.c: New file.
34241 * posix/glob.c (__lstat64): New macro.
34242 (is_dir): New function.
34243 (glob, glob_in_dir): Match symlinks even if they are dangling.
34244 (link_stat, link_exists_p): Remove. All uses removed.
34245
34246 [BZ #1062]
34247 [BZ #19971]
34248 * posix/glob.c (struct readdir_result): Remove skip_entry member.
34249 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
34250 All uses removed.
34251
34252 [BZ #1062]
34253 CVE-2017-15671
34254 * posix/Makefile (routines): Add globfree, globfree64, and
34255 glob_pattern_p.
34256 * posix/flexmember.h: New file.
34257 * posix/glob_internal.h: Likewise.
34258 * posix/glob_pattern_p.c: Likewise.
34259 * posix/globfree.c: Likewise.
34260 * posix/globfree64.c: Likewise.
34261 * sysdeps/gnu/globfree64.c: Likewise.
34262 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
34263 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
34264 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
34265 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
34266 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
34267 * sysdeps/wordsize-64/globfree.c: Likewise.
34268 * sysdeps/wordsize-64/globfree64.c: Likewise.
34269 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
34270 [NDEBUG): Remove comments.
34271 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
34272 (dirent_type): New type. Use uint_fast8_t not
34273 uint8_t, as C99 does not require uint8_t.
34274 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
34275 (struct readdir_result): Use dirent_type. Do not define skip_entry
34276 unless it is needed; this saves a byte on platforms lacking d_ino.
34277 (readdir_result_type, readdir_result_skip_entry):
34278 New functions, replacing ...
34279 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
34280 these functions, which were removed. This makes the callers
34281 easier to read. All callers changed.
34282 (D_INO_TO_RESULT): Now empty if there is no d_ino.
34283 (size_add_wrapv, glob_use_alloca): New static functions.
34284 (glob, glob_in_dir): Check for size_t overflow in several places,
34285 and fix some size_t checks that were not quite right.
34286 Remove old code using SHELL since Bash no longer
34287 uses this.
34288 (glob, prefix_array): Separate MS code better.
34289 (glob_in_dir): Remove old Amiga and VMS code.
34290 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
34291 separate files.
34292 (glob_in_dir): Do not rely on undefined behavior in accessing
34293 struct members beyond their bounds. Use a flexible array member
34294 instead
34295 (link_stat): Rename from link_exists2_p and return -1/0 instead of
34296 0/1. Caller changed.
34297 (glob): Fix memory leaks.
34298 * posix/glob64 (globfree64): Move to separate file.
34299 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
34300 (globfree64): Remove hidden alias.
34301 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
34302 oldglob.
34303 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
34304 separate file.
34305 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
34306 define.
34307 Move compat code to separate file.
34308 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
34309 separate file.
34310
34311 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
34312
34313 * resolv/tst-resolv-qtypes.c (domain): Changed to
34314 "const char domain[] =".
34315
34316 2017-09-07 Joseph Myers <joseph@codesourcery.com>
34317
34318 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
34319 version to 3.1.6.
34320
34321 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
34322 (TCP_MD5SIG_EXT): Likewise.
34323 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
34324 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
34325 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
34326
34327 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
34328
34329 2017-09-07 Mike FABIAN <mfabian@redhat.com>
34330
34331 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
34332
34333 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
34334
34335 [BZ #22100]
34336 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
34337
34338 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
34339
34340 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
34341 before assuming that the file is empty. Avoid testing buffer content
34342 when nread == 0.
34343
34344 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34345
34346 [BZ #18858]
34347 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34348 Remove define.
34349 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
34350 Likewise.
34351 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
34352 Likewise.
34353 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
34354 Likewise.
34355 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34356 Likewise.
34357 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
34358 Likewise.
34359 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
34360 Likewise.
34361
34362 2017-09-06 Florian Weimer <fweimer@redhat.com>
34363
34364 * malloc/dynarray_emplace_enlarge.c
34365 (__libc_dynarray_emplace_enlarge): Add missing else.
34366
34367 2017-09-06 Florian Weimer <fweimer@redhat.com>
34368
34369 [BZ #22096]
34370 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
34371 case of failure to obtain the global conf object.
34372
34373 2017-09-06 Florian Weimer <fweimer@redhat.com>
34374
34375 [BZ #22095]
34376 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
34377 dynarray allocation failure.
34378
34379 2017-09-06 Florian Weimer <fweimer@redhat.com>
34380
34381 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
34382 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
34383 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
34384 New functions.
34385 (response): Call them. Add 'p', '6' flag processing.
34386 (test_reverse): New function.
34387 (test_get2_any): Call it.
34388 (test_no_inet6): Add 'p' test.
34389 (test_inet6): Likewise.
34390
34391 2017-09-06 Florian Weimer <fweimer@redhat.com>
34392
34393 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
34394 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
34395 the QNAME.
34396 (test_gai): Adjust query names. Add additional tests.
34397 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
34398 test_get2. Adjust query names. Add additional tests.
34399 (test_no_inet6): New function, extracted from threadfunc.
34400 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
34401 Add additional tests.
34402
34403 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34404
34405 [BZ #22070]
34406 * localedata/unicode-gen/utf8_gen.py: Set the width for
34407 characters with Prepended_Concatenation_Mark property to 1
34408 * localedata/charmaps/UTF-8: Updated using the improved script.
34409
34410 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34411
34412 [BZ #21750]
34413 * localedata/unicode-gen/utf8_gen.py: Improve the script to
34414 use the range notation for all ranges of neighbouring characters
34415 with the same width.
34416
34417 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34418
34419 * sysdeps/generic/math-type-macros-double.h: Include
34420 <math-svid-compat.h>.
34421 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34422 * sysdeps/generic/math-type-macros-float.h: Include
34423 <math-svid-compat.h>.
34424 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34425 * sysdeps/generic/math-type-macros-ldouble.h: Include
34426 <math-svid-compat.h>.
34427 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34428 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
34429 condition.
34430 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
34431 * math/w_acosf_compat.c: Likewise.
34432 * math/w_acosh_compat.c: Likewise.
34433 * math/w_acoshf_compat.c: Likewise.
34434 * math/w_acoshl_compat.c: Likewise.
34435 * math/w_acosl_compat.c: Likewise.
34436 * math/w_asin_compat.c: Likewise.
34437 * math/w_asinf_compat.c: Likewise.
34438 * math/w_asinl_compat.c: Likewise.
34439 * math/w_atan2_compat.c: Likewise.
34440 * math/w_atan2f_compat.c: Likewise.
34441 * math/w_atan2l_compat.c: Likewise.
34442 * math/w_atanh_compat.c: Likewise.
34443 * math/w_atanhf_compat.c: Likewise.
34444 * math/w_atanhl_compat.c: Likewise.
34445 * math/w_cosh_compat.c: Likewise.
34446 * math/w_coshf_compat.c: Likewise.
34447 * math/w_coshl_compat.c: Likewise.
34448 * math/w_exp10_compat.c: Likewise.
34449 * math/w_exp10f_compat.c: Likewise.
34450 * math/w_exp10l_compat.c: Likewise.
34451 * math/w_exp2_compat.c: Likewise.
34452 * math/w_exp2f_compat.c: Likewise.
34453 * math/w_exp2l_compat.c: Likewise.
34454 * math/w_fmod_compat.c: Likewise.
34455 * math/w_fmodf_compat.c: Likewise.
34456 * math/w_fmodl_compat.c: Likewise.
34457 * math/w_hypot_compat.c: Likewise.
34458 * math/w_hypotf_compat.c: Likewise.
34459 * math/w_hypotl_compat.c: Likewise.
34460 * math/w_j0_compat.c: Likewise.
34461 * math/w_j0f_compat.c: Likewise.
34462 * math/w_j0l_compat.c: Likewise.
34463 * math/w_j1_compat.c: Likewise.
34464 * math/w_j1f_compat.c: Likewise.
34465 * math/w_j1l_compat.c: Likewise.
34466 * math/w_jn_compat.c: Likewise.
34467 * math/w_jnf_compat.c: Likewise.
34468 * math/w_jnl_compat.c: Likewise.
34469 * math/w_lgamma_r_compat.c: Likewise.
34470 * math/w_lgammaf_r_compat.c: Likewise.
34471 * math/w_lgammal_r_compat.c: Likewise.
34472 * math/w_log10_compat.c: Likewise.
34473 * math/w_log10f_compat.c: Likewise.
34474 * math/w_log10l_compat.c: Likewise.
34475 * math/w_log2_compat.c: Likewise.
34476 * math/w_log2f_compat.c: Likewise.
34477 * math/w_log2l_compat.c: Likewise.
34478 * math/w_log_compat.c: Likewise.
34479 * math/w_logf_compat.c: Likewise.
34480 * math/w_logl_compat.c: Likewise.
34481 * math/w_pow_compat.c: Likewise.
34482 * math/w_powf_compat.c: Likewise.
34483 * math/w_powl_compat.c: Likewise.
34484 * math/w_remainder_compat.c: Likewise.
34485 * math/w_remainderf_compat.c: Likewise.
34486 * math/w_remainderl_compat.c: Likewise.
34487 * math/w_sinh_compat.c: Likewise.
34488 * math/w_sinhf_compat.c: Likewise.
34489 * math/w_sinhl_compat.c: Likewise.
34490 * math/w_sqrt_compat.c: Likewise.
34491 * math/w_sqrtf_compat.c: Likewise.
34492 * math/w_sqrtl_compat.c: Likewise.
34493 * math/w_tgamma_compat.c: Likewise.
34494 * math/w_tgammaf_compat.c: Likewise.
34495 * math/w_tgammal_compat.c: Likewise.
34496 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
34497 [LIBM_SVID_COMPAT].
34498 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
34499 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
34500 [LIBM_SVID_COMPAT].
34501 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
34502 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
34503 [LIBM_SVID_COMPAT].
34504 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
34505 * sysdeps/i386/fpu/w_sqrt.c: New file.
34506 * sysdeps/ia64/fpu/w_acos.c: Likewise.
34507 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
34508 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
34509 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
34510 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
34511 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
34512 * sysdeps/ia64/fpu/w_asin.c: Likewise.
34513 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
34514 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
34515 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
34516 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
34517 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
34518 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
34519 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
34520 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
34521 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
34522 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
34523 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
34524 * sysdeps/ia64/fpu/w_exp.c: Likewise.
34525 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
34526 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
34527 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
34528 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
34529 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
34530 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
34531 * sysdeps/ia64/fpu/w_expf.c: Likewise.
34532 * sysdeps/ia64/fpu/w_expl.c: Likewise.
34533 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
34534 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
34535 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
34536 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
34537 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
34538 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
34539 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
34540 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
34541 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
34542 * sysdeps/ia64/fpu/w_log.c: Likewise.
34543 * sysdeps/ia64/fpu/w_log10.c: Likewise.
34544 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
34545 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
34546 * sysdeps/ia64/fpu/w_log2.c: Likewise.
34547 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
34548 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
34549 * sysdeps/ia64/fpu/w_logf.c: Likewise.
34550 * sysdeps/ia64/fpu/w_logl.c: Likewise.
34551 * sysdeps/ia64/fpu/w_pow.c: Likewise.
34552 * sysdeps/ia64/fpu/w_powf.c: Likewise.
34553 * sysdeps/ia64/fpu/w_powl.c: Likewise.
34554 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
34555 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
34556 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
34557 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
34558 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
34559 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
34560 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
34561 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
34562 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
34563 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
34564 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
34565 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
34566 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
34567 [LIBM_SVID_COMPAT].
34568 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34569 * sysdeps/ieee754/k_standard.c: Likewise.
34570 * sysdeps/ieee754/k_standardf.c: Likewise.
34571 * sysdeps/ieee754/k_standardl.c: Likewise.
34572 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34573 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34574 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34575 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
34576 long_double_symbol call on [LIBM_SVID_COMPAT].
34577 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
34578 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
34579 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
34580 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
34581 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
34582 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
34583 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
34584 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
34585 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
34586 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
34587 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
34588 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
34589 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
34590 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
34591 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
34592 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
34593 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
34594 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
34595 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
34596 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
34597 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
34598 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
34599
34600 2017-09-05 Steve Ellcey <sellcey@cavium.com>
34601
34602 * include/shlib-compat.h (TEST_COMPAT): New Macro.
34603 * malloc/tst-mallocstate.c: Convert from test-skeleton
34604 to test-driver. Ifdef code using TEST_COMPAT macro.
34605 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
34606 * math/test-matherr.c: Likewise.
34607
34608 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34609
34610 [BZ #22086]
34611 * debug/pcprofiledump.c (main): Use byte-swapped mask when
34612 comparing word with byte-swapped constant.
34613
34614 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
34615
34616 [BZ #20498]
34617 * locale/iso-639.def: add Miskito.
34618 * localedata/SUPPORTED: Add miq_NI/UTF-8.
34619 * localedata/locales/miq_NI: New file.
34620
34621 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
34622
34623 [BZ #18822]
34624 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
34625 (__mkdir): Likewise.
34626 * io/chmod.c (__chmod): Add libc_hidden_def.
34627 * io/mkdir.c (__mkdir): Likewise.
34628 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
34629 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
34630 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
34631 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
34632
34633 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34634
34635 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
34636 version to 4.13.
34637
34638 [BZ #22082]
34639 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
34640 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
34641
34642 2017-09-04 Florian Weimer <fweimer@redhat.com>
34643
34644 * math/math.h: Issue warning if log is defined.
34645
34646 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34647
34648 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
34649 kernel version to 4.13.
34650
34651 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
34652
34653 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
34654 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
34655 parameter.
34656 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
34657 just <bits/types.h>.
34658 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
34659 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
34660 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
34661 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
34662 * misc/preadv2.c: Include <errno.h>.
34663 * misc/preadv64v2.c: Include <errno.h>.
34664 * misc/pwritev2.c: Include <errno.h>.
34665 * misc/pwritev64v2.c: Include <errno.h>.
34666 * sysdeps/posix/preadv2.c: Include <errno.h>.
34667 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
34668 Fix <unistd.h> inclusion.
34669 * sysdeps/posix/pwritev2.c: Include <errno.h>.
34670 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
34671 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
34672 __strtoul_internal): New functions.
34673 * sysdeps/posix/pause.c: Include <sigsetops.h>.
34674 * sysdeps/posix/system.c: Include <sigsetops.h>.
34675 * sysdeps/mach/hurd/i386/Makefile
34676 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
34677 [$(subdir) = csu] (sysdep-only-routines): Likewise.
34678 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
34679 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
34680 __feraiseexcept_renamed to feraiseexcept instead of
34681 __GI_feraiseexcept.
34682 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
34683 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
34684 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
34685 RWF_NOWAIT): Define to 0 if undefined already.
34686 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
34687 boils down to 0.
34688 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
34689 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
34690
34691 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34692
34693 * manual/math.texi (pow10): Do not document.
34694 (pow10f): Likewise.
34695 (pow10l): Likewise.
34696 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
34697 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
34698 * math/libm-test-exp10.inc (pow10_test): Remove.
34699 (do_test): Do not call pow10.
34700 * math/w_exp10_compat.c (pow10): Make into compat symbol.
34701 [NO_LONG_DOUBLE] (pow10l): Likewise.
34702 * math/w_exp10f_compat.c (pow10f): Likewise.
34703 * math/w_exp10l_compat.c (pow10l): Likewise.
34704 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
34705 (pow10): Make into compat symbol.
34706 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
34707 (pow10f): Make into compat symbol.
34708 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
34709 (pow10l): Make into compat symbol.
34710 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
34711 pow10.
34712 (CFLAGS-nldbl-pow10.c): Remove variable..
34713 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
34714 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
34715 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
34716 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
34717 Undefine and redefine.
34718 (pow10l): Make into compat symbol.
34719 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
34720 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34721 * sysdeps/arm/libm-test-ulps: Likewise.
34722 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
34723 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34724 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
34725 * sysdeps/microblaze/libm-test-ulps: Likewise.
34726 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34727 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34728 * sysdeps/nios2/libm-test-ulps: Likewise.
34729 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34730 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34731 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34732 * sysdeps/sh/libm-test-ulps: Likewise.
34733 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34734 * sysdeps/tile/libm-test-ulps: Likewise.
34735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34736
34737 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34738
34739 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
34740
34741 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34742
34743 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
34744 "../ChangeLog.old/ChangeLog.8".
34745 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
34746 "../ChangeLog.old/ChangeLog.14".
34747
34748 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34749
34750 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
34751 Threads Library.
34752
34753 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34754
34755 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
34756
34757 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34758
34759 * csu/version.c (banner): Remove "by Roland McGrath et al.".
34760 * nptl/Banner: Remove "by Ulrich Drepper et al.".
34761
34762 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34763
34764 * stdlib/tst-atexit-common.c (do_test): Test support for at least
34765 32 atexit handlers.
34766
34767 2017-09-01 Zack Weinberg <zackw@panix.com>
34768
34769 * math/math.h (HUGE_VAL): Improve commentary.
34770
34771 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34772 Andreas Schwab <schwab@suse.de>
34773
34774 [BZ #21530]
34775 * include/stdio.h (__gen_tempfd): New function.
34776 * stdio-common/Makefile (routines): Add gentempfd.
34777 * stdio-common/gentempfd.c: New file.
34778 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
34779 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
34780 unnamed file first.
34781
34782 2017-09-01 Florian Weimer <fweimer@redhat.com>
34783
34784 [BZ #21915]
34785 [BZ #21922]
34786 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
34787 result to determine success or failure, not the errno value.
34788 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
34789 (tst-nss-files-hosts-erange): Link with -ldl.
34790 * nss/tst-nss-files-hosts-erange.c: New file.
34791 * nss/tst-resolv-basic.c (response): Handle nodata.example.
34792 (do_test): Add NO_DATA tests.
34793 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
34794 (do_test): Call it.
34795
34796 2017-09-01 Florian Weimer <fweimer@redhat.com>
34797
34798 [BZ #21922]
34799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
34800 coming from gethostbyname2_r.
34801
34802 2017-09-01 Florian Weimer <fweimer@redhat.com>
34803
34804 * support/namespace.h (struct support_chroot_configuration): Add
34805 hosts, host_conf.
34806 (struct support_chroot): Add path_hosts, path_host_conf.
34807 * support/support_chroot.c (write_file): New function.
34808 (support_chroot_create): Call it to process /etc/resolv.conf,
34809 /etc/hosts, /etc/host.conf.
34810 (support_chroot_free): Update.
34811
34812 2017-09-01 Florian Weimer <fweimer@redhat.com>
34813
34814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
34815 status indicates it is set.
34816
34817 2017-09-01 Florian Weimer <fweimer@redhat.com>
34818
34819 [BZ #20532]
34820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
34821 function lookup failures more reliable.
34822
34823 2017-09-01 Florian Weimer <fweimer@redhat.com>
34824
34825 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
34826 (getcanonname): Likewise.
34827 (gaih_inet): Likewise.
34828
34829 2017-09-01 Florian Weimer <fweimer@redhat.com>
34830
34831 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
34832 (getcanonname): Likewise.
34833 (gaih_inet): Likewise.
34834
34835 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34836 Richard Henderson <rth@twiddle.net>
34837
34838 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
34839 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
34840 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
34841 (IREG_SIZE, OREG_SIZE): New macros.
34842 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
34843 (IREG_SIZE, OREG_SIZE): New macros.
34844 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
34845 (IREG_SIZE): New macro.
34846 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
34847 (IREG_SIZE): New macro.
34848 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
34849 New includes.
34850 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
34851 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34852 (__CONCATX): Handle exceptions correctly on large values that may
34853 set FE_INVALID.
34854 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
34855 Initialize if not already set.
34856 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34857
34858 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34859
34860 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
34861 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
34862 Likewise.
34863 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
34864 Likewise.
34865 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
34866 Likewise.
34867 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
34868 Likewise.
34869 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
34870 Likewise.
34871 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
34872 Likewise.
34873 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
34874 Likewise.
34875 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
34876 (NO_CANCELLATION): Likewise.
34877 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
34878 Likewise.
34879 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
34880 Likewise.
34881 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
34882 Likewise.
34883 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
34884 (NO_CANCELLATION): Likewise.
34885 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
34886 (NO_CANCELLATION): Likewise.
34887 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
34888 Likewise
34889 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
34890 Likewise.
34891 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
34892 Likewise.
34893 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
34894 Likewise.
34895 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
34896 hidden prototype.
34897 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
34898 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
34899
34900 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34901
34902 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
34903 in resolver call.
34904
34905 2017-08-31 Florian Weimer <fweimer@redhat.com>
34906
34907 * include/libc-symbols.h (internal_function): Remove.
34908
34909 2017-08-31 Florian Weimer <fweimer@redhat.com>
34910
34911 * stdlib/fmtmsg.c (internal_addseverity): Remove
34912 internal_function.
34913
34914 2017-08-31 Florian Weimer <fweimer@redhat.com>
34915
34916 * stdio-common/printf_fp.c (group_number): Remove
34917 internal_function.
34918 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
34919
34920 2017-08-31 Florian Weimer <fweimer@redhat.com>
34921
34922 * posix/fnmatch.c (internal_function): Remove definition.
34923 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
34924 * posix/regcomp.c (peek_token, init_word_char)
34925 (duplicate_node_closure, fetch_token, peek_token)
34926 (peek_token_bracket, build_range_exp, build_collating_symbol):
34927 Likewise.
34928 * posix/regex_internal.c (re_string_construct_common)
34929 (create_ci_newstate, create_cd_newstate, re_string_allocate)
34930 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
34931 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
34932 (re_string_translate_buffer, re_string_reconstruct)
34933 (re_string_peek_byte_case, re_string_fetch_byte_case)
34934 (re_string_destruct, re_string_context_at, re_node_set_alloc)
34935 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
34936 (re_node_set_add_intersect, re_node_set_init_union)
34937 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
34938 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
34939 (re_dfa_add_node, calc_state_hash, re_acquire_state)
34940 (re_acquire_state_context): Likewise.
34941 * posix/regex_internal.h (internal_function): Remove definition.
34942 (re_string_realloc_buffers, build_wcs_buffer)
34943 (build_wcs_upper_buffer, build_upper_buffer)
34944 (re_string_translate_buffer, re_string_context_at)
34945 (re_string_char_size_at, re_string_wchar_at)
34946 (re_string_elem_size_at): Likewise.
34947 * posix/regexec.c (match_ctx_init, match_ctx_clean)
34948 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
34949 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
34950 (re_search_internal, re_search_2_stub, re_search_stub)
34951 (re_copy_regs, prune_impossible_nodes, check_matching)
34952 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
34953 (free_fail_stack_return, sift_states_iter_mb)
34954 (sift_states_backward, build_sifted_states)
34955 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
34956 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
34957 (check_subexp_limits, sift_states_bkref, merge_state_array)
34958 (find_recover_state, transit_state, merge_state_with_log)
34959 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
34960 (transit_state_mb, transit_state_bkref, get_subexp)
34961 (get_subexp_sub, find_subexp_node, check_arrival)
34962 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
34963 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
34964 (check_node_accept_bytes, find_collation_sequence_value)
34965 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
34966 (acquire_init_state_context, check_halt_node_context)
34967 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
34968 (sub_epsilon_src_nodes): Likewise.
34969 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
34970 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
34971 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
34972 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
34973 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
34974 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
34975 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
34976 * sysdeps/posix/ttyname.c (getttyname): Likewise.
34977 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
34978 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
34979 (PREADV): Likewise.
34980 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
34981 (PREADV): Likewise.
34982 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
34983 (PWRITEV): Likewise.
34984 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
34985 (PWRITEV): Likewise.
34986 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
34987 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
34988
34989 2017-08-31 Florian Weimer <fweimer@redhat.com>
34990
34991 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
34992 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
34993 Remove internal_function.
34994 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34995 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
34996 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
34997 (__deallocate_stack, __libc_pthread_init)
34998 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
34999 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
35000 (__libc_disable_asynccancel, __librt_disable_asynccancel):
35001 Likewise.
35002 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
35003 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
35004 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
35005 Likewise.
35006 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
35007 (__pthread_mutex_unlock_usercnt): Likewise.
35008
35009 2017-08-31 Florian Weimer <fweimer@redhat.com>
35010
35011 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
35012 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
35013 (fts_safe_changedir): Remove internal_function.
35014 * io/ftw.c (internal_function): Remove definition.
35015 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
35016
35017 2017-08-31 Florian Weimer <fweimer@redhat.com>
35018
35019 * inet/deadline.c (__deadline_current_time)
35020 (__deadline_from_timeval, __deadline_to_ms): Remove
35021 internal_function.
35022 * inet/getnameinfo.c (nrl_domainname): Likewise.
35023 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
35024 * inet/inet6_option.c (add_pad): Likewise.
35025 * inet/net-internal.h (__deadline_current_time)
35026 (__deadline_from_timeval, __deadline_to_ms): Likewise.
35027 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
35028 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
35029 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
35030
35031 2017-08-31 Joseph Myers <joseph@codesourcery.com>
35032
35033 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
35034 include <bits/nan.h>.
35035 * math/Makefile (headers): Remove bits/nan.h.
35036 * bits/nan.h: Remove.
35037 * sysdeps/ieee754/bits/nan.h: Likewise.
35038 * sysdeps/mips/bits/nan.h: Likewise.
35039
35040 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
35041 not include <bits/inf.h>.
35042 * math/Makefile (headers): Remove bits/inf.h.
35043 * bits/inf.h: Remove.
35044 * sysdeps/ieee754/bits/inf.h: Likewise.
35045
35046 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
35047 bits/huge_vall.h or bits/huge_val_flt128.h.
35048 (HUGE_VAL): Define directly here.
35049 [__USE_ISOC99] (HUGE_VALF): Likewise.
35050 [__USE_ISOC99] (HUGE_VALL): Likewise.
35051 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35052 (HUGE_VAL_F128): Likewise.
35053 * math/Makefile (headers): Remove bits/huge_val.h,
35054 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
35055 * bits/huge_val.h: Remove.
35056 * bits/huge_val_flt128.h: Likewise.
35057 * bits/huge_valf.h: Likewise.
35058 * bits/huge_vall.h: Likewise.
35059 * sysdeps/ia64/bits/huge_vall.h: Likewise.
35060 * sysdeps/ieee754/bits/huge_val.h: Likewise.
35061 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
35062 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
35063 * sysdeps/sh/bits/huge_val.h: Likewise.
35064 * sysdeps/sparc/bits/huge_vall.h: Likewise.
35065 * sysdeps/x86/bits/huge_vall.h: Likewise.
35066
35067 2017-08-31 Florian Weimer <fweimer@redhat.com>
35068
35069 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
35070 internal_function.
35071 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
35072 Likewise.
35073 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
35074 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35075 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
35076 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
35077 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35078 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35079 * elf/dl-libc.c (dlerror_run): Likewise.
35080 * elf/dl-load.c (add_name_to_object, decompose_rpath)
35081 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
35082 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
35083 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
35084 Likewise.
35085 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
35086 (_dl_higher_prime_number, _dl_strtoul): Likewise.
35087 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
35088 * elf/dl-profile.c (_dl_start_profile): Likewise.
35089 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
35090 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
35091 Likewise.
35092 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
35093 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
35094 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
35095 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
35096 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
35097 (_dl_allocate_tls_storage): Likewise.
35098 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
35099 (_dl_check_all_versions): Likewise.
35100 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
35101 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
35102 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
35103 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35104 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
35105 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
35106 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
35107 internal_function from __dl_start.
35108 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
35109 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
35110 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
35111 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
35112 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
35113 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
35114 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
35115 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
35116 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
35117 (_dl_next_ld_env_entry, _dl_important_hwcaps)
35118 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
35119 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
35120 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
35121 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
35122 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
35123 Likewise.
35124 (struct rtld_global_ro): Remove internal_function from the
35125 _dl_lookup_symbol_x member.
35126 (_dl_symbol_value): Remove. No longer defined anywhere.
35127 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
35128 internal_function.
35129 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35130 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
35131 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
35132 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
35133 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
35134 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
35135 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
35136 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
35137 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
35138 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
35139 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
35140 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
35141
35142 2017-08-31 Florian Weimer <fweimer@redhat.com>
35143
35144 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
35145 Remove internal_function.
35146 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35147 Likewise.
35148 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
35149 Likewise.
35150
35151 2017-08-31 Florian Weimer <fweimer@redhat.com>
35152
35153 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
35154 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
35155 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
35156
35157 2017-08-31 Florian Weimer <fweimer@redhat.com>
35158
35159 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
35160 (__gai_enqueue_request): Remove internal_function.
35161 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
35162 (__gai_remove_request, __gai_notify, __gai_notify_only)
35163 (__gai_sigqueue): Likewise.
35164 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
35165 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
35166 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
35167 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35168 Likewise.
35169
35170 2017-08-31 Florian Weimer <fweimer@redhat.com>
35171
35172 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
35173 * include/dirent.h (__opendirat, __getdents, __getdents64)
35174 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
35175 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
35176 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35177 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
35178 Likewise.
35179 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
35180
35181 2017-08-31 Florian Weimer <fweimer@redhat.com>
35182
35183 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
35184 internal_function.
35185 (GETCWD_RETURN_TYPE): Likewise.
35186
35187 2017-08-31 Florian Weimer <fweimer@redhat.com>
35188
35189 * include/time.h (__tz_compute, __strptime_internal): Remove
35190 internal_function.
35191 * time/strptime_l.c (__strptime_internal): Likewise.
35192 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
35193
35194 2017-08-31 Florian Weimer <fweimer@redhat.com>
35195
35196 * iconv/gconv.c (__gconv): Remove internal_function.
35197 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
35198 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
35199 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
35200 (__gconv_release_cache): Likewise.
35201 * iconv/gconv_close.c (__gconv_close): Likewise.
35202 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
35203 (read_conf_file, __gconv_get_path): Likewise.
35204 * iconv/gconv_db.c (derivation_lookup, add_derivation)
35205 (__gconv_release_step, gen_steps, increment_counter)
35206 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
35207 (__gconv_close_transform, free_modules_db): Likewise.
35208 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
35209 Likewise.
35210 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
35211 (__gconv_find_transform, __gconv_lookup_cache)
35212 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
35213 (__gconv_close_transform, __gconv_release_cache)
35214 (__gconv_loaded_object, __gconv_release_shlib)
35215 (__gconv_compare_alias): Likewise.
35216 * iconv/gconv_open.c (__gconv_open): Likewise.
35217 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
35218 * iconv/iconvconfig.c (add_module): Likewise.
35219 * intl/dcigettext.c (plural_lookup, guess_category_value)
35220 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
35221 * intl/eval-plural.h (plural_eval): Likewise.
35222 * intl/finddomain.c (_nl_find_domain): Likewise.
35223 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
35224 (_nl_load_domain, _nl_find_msg): Likewise.
35225 (internal_function): Remove definition.
35226 * intl/loadinfo.h (internal_function): Likewise.
35227 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
35228 internal_function.
35229 * intl/localealias.c (internal_function): Remove definition.
35230 (read_alias_file): Remove internal_function.
35231 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
35232 * intl/plural-exp.h (internal_function): Remove definition.
35233 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
35234 internal_function.
35235 * intl/plural.c: Regenerate.
35236 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
35237 * locale/coll-lookup.c (__collidx_table_lookup)
35238 (__collseq_table_lookup): Likewise.
35239 * locale/coll-lookup.h (__collidx_table_lookup)
35240 (__collseq_table_lookup): Likewise.
35241 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
35242 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35243 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
35244 (_nl_unload_locale): Likewise.
35245 * locale/localeinfo.h (struct __locale_data): Remove
35246 internal_function from cleanup member.
35247 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
35248 (_nl_remove_locale, _nl_load_locale_from_archive)
35249 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
35250 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
35251 (_nl_cleanup_time): Remove internal_function.
35252 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
35253 (_nl_parse_alt_digit): Likewise.
35254 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
35255 (_nl_select_era_entry): Likewise.
35256 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
35257 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35258 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35259 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
35260 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
35261
35262 2017-08-31 Florian Weimer <fweimer@redhat.com>
35263
35264 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
35265 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
35266 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
35267 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
35268 Likewise.
35269 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
35270 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
35271 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
35272 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35273 Likewise.
35274 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
35275
35276 2017-08-31 Florian Weimer <fweimer@redhat.com>
35277
35278 * misc/getttyent.c (skip, value): Remove internal_function.
35279 * misc/syslog.c (openlog_internal): Likewise.
35280 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
35281
35282 2017-08-31 Florian Weimer <fweimer@redhat.com>
35283
35284 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
35285 (__nss_rewrite_field): Remove internal_function.
35286 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35287 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35288 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35289 * nss/nsswitch.c (nss_parse_file, nss_getline)
35290 (nss_parse_service_list, nss_new_service): Likewise.
35291 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
35292 * nss/valid_field.c (__nss_valid_field): Likewise.
35293 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
35294
35295 2017-08-31 Florian Weimer <fweimer@redhat.com>
35296
35297 * malloc/arena.c (__malloc_fork_lock_parent)
35298 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
35299 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
35300 internal_function from defintions.
35301 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
35302 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
35303 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
35304 internal_function from declarations.
35305 * malloc/malloc.c (internal_function): Do not define.
35306 (mem2mem_check): Remove internal_function from declaration.
35307 (munmap_chunk, mremap_chunk): Remove internal_function.
35308 * malloc/mtrace.c (tr_where): Likewise.
35309
35310 2017-08-31 Florian Weimer <fweimer@redhat.com>
35311
35312 * include/rpc/pmap_clnt.h (__get_socket): Remove
35313 internal_function.
35314 * sunrpc/auth_des.c (synchronize): Likewise.
35315 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
35316 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
35317 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
35318 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
35319 (key_call): Likewise.
35320 * sunrpc/pm_getport.c (__get_socket): Likewise.
35321 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
35322 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
35323 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
35324 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
35325 (invalidate): Likewise.
35326 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
35327 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
35328 (set_input_fragment, get_input_bytes): Likewise.
35329
35330 2017-08-31 Florian Weimer <fweimer@redhat.com>
35331
35332 * malloc/malloc.c (_int_free): Remove locked variable and related
35333 asserts.
35334
35335 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
35336
35337 [BZ #22051]
35338 * Makerules (build-module-helper-objlist): Filter out
35339 $(elf-objpfx)sofini.os.
35340 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
35341 needed.
35342
35343 2017-08-31 Florian Weimer <fweimer@redhat.com>
35344
35345 * libio/fcloseall.c: Assume weak_alias is defined.
35346 * libio/feof.c: Likewise.
35347 * libio/fileno.c: Likewise.
35348 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
35349 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35350 definitions.
35351 (_IO_file_open): Call __open directly.
35352 (_IO_new_file_sync): Assume ESPIPE is defined.
35353 (_IO_file_seekoff_maybe_mmap): Call __read directly.
35354 (_IO_new_file_write): Call __write directly.
35355 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
35356 * libio/ftello64.c (__ftello64): Assume EIO is defined.
35357 * libio/genops.c: Assume _LIBC is defined.
35358 (save_for_backup): Remove internal_function.
35359 * libio/getc.c: Assume weak_alias is defined.
35360 * libio/getwc.c: Likewise.
35361 * libio/iofclose.c: Assume _LIBC is defined.
35362 * libio/iofdopen.c: Likewise.
35363 (_IO_fcntl): Remove macro definition.
35364 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
35365 Call __fcntl directly.
35366 * libio/iofflush.c: Assume weak_alias is defined.
35367 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
35368 defined.
35369 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
35370 * libio/iofgets.c: Likewise.
35371 * libio/iofopen.c: Assume _LIBC is defined.
35372 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
35373 * libio/iofputs.c: Assume weak_alias is defined.
35374 * libio/iofread.c: Likewise.
35375 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
35376 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
35377 * libio/ioftell.c: Assume weak_alias is defined.
35378 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
35379 * libio/iofwide.c: Assume _LIBC is defined.
35380 (_IO_fwide): Drop SHARED conditional because it is implied by
35381 SHLIB_COMPAT.
35382 * libio/iofwrite.c: Assume weak_alias is defined.
35383 * libio/iogetdelim.c: Likewise.
35384 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
35385 * libio/iogetwline.c (wmemcpy): Remove macro definition.
35386 (_IO_getwline): Call __wmemcpy directly.
35387 * libio/iopopen.c: Assume _LIBC is defined.
35388 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35389 (_IO_close): Remove macro definitions.
35390 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
35391 _exit directly.
35392 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
35393 directly.
35394 * libio/ioputs.c: Assume weak_alias is defined.
35395 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
35396 * libio/iosetbuffer.c: Assume weak_alias is defined.
35397 * libio/iosetvbuf.c: Likewise.
35398 * libio/ioungetc.c: Likewise.
35399 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
35400 libc_hidden_def, libc_hidden_weak, NULL are defined.
35401 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
35402 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
35403 defined.
35404 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35405 definitions.
35406 (_IO_old_file_init_internal): Drop SHARED conditional because it
35407 is implied by SHLIB_COMPAT.
35408 (_IO_old_file_fopen): Call __open directly.
35409 (_IO_old_file_sync): Assume ESPIPE is defined.
35410 (_IO_old_file_write): Call __write directly.
35411 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
35412 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
35413 Call __fcntl directly.
35414 * libio/oldiofgetpos.c: Assume weak_alias is defined.
35415 (_IO_old_fgetpos): Assume EIO is defined.
35416 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
35417 (_IO_old_fgetpos64): Assume EIO is defined.
35418 * libio/oldiofsetpos.c: Assume weak_alias is defined.
35419 (_IO_old_fsetpos): Assume EIO is defined.
35420 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
35421 (_IO_old_fsetpos64): Assume EIO is defined.
35422 * libio/oldiopopen.c: Assume _LIBC is defined.
35423 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35424 (_IO_close): Remove macro definitions.
35425 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
35426 directly.
35427 (_IO_old_proc_close): Call __close, __waitpid directly.
35428 * libio/put.c: Assume weak_alias is defined.
35429 * libio/stdfiles.c: Assume _LIBC is defined.
35430 * libio/stdio.c: Likewise.
35431 * libio/wfileops.c: Likewise.
35432 (_IO_wfile_sync): Assume ESPIPE is defined.
35433 * libio/wgenops.c: Assume _LIBC is defined.
35434 (save_for_wbackup): Remove internal_function.
35435
35436 2017-08-31 Florian Weimer <fweimer@redhat.com>
35437
35438 * malloc/malloc.c (top_check): Change return type to void. Remove
35439 internal_function.
35440 * malloc/hooks.c (top_check): Likewise.
35441 (malloc_check, realloc_check, memalign_check): Adjust.
35442
35443 2017-08-30 Joseph Myers <joseph@codesourcery.com>
35444
35445 [BZ #21457]
35446 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35447 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
35448 sigcontext and namespace requirements.
35449 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35450 * sysdeps/m68k/sys/ucontext.h: Likewise.
35451 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
35452 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
35453 <bits/sigcontext.h>.
35454 (__ctx): Define earlier.
35455 (mcontext_t): Define structure contents rather than using struct
35456 sigcontext.
35457 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
35458 __glibc_reserved1 instead of __reserved.
35459 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
35460 <bits/sigcontext.h>.
35461 (__ctx): Define earlier.
35462 (mcontext_t): Define structure contents rather than using struct
35463 sigcontext.
35464 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
35465 mcontext_t instead of struct sigcontext.
35466 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
35467 <bits/sigcontext.h>.
35468 (__ctx): Define earlier.
35469 (mcontext_t): Define structure contents rather than using struct
35470 sigcontext.
35471 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
35472 <bits/sigcontext.h>.
35473 (__ctx): Define earlier.
35474 (mcontext_t): Define structure contents rather than using struct
35475 sigcontext.
35476 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
35477 mcontext_t instead of struct sigcontext.
35478 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
35479 mcontext_t instead of struct sigcontext.
35480 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
35481 <bits/sigcontext.h>.
35482 (__ctx): New macro.
35483 (struct __ia64_fpreg_mcontext): New type.
35484 (mcontext_t): Define structure contents rather than using struct
35485 sigcontext.
35486 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
35487 (uc_sigmask): Define using __ctx.
35488 (uc_stack): Likewise.
35489 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
35490 <bits/sigcontext.h>.
35491 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35492 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
35493 <bits/sigcontext.h>.
35494 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
35495 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
35496 <bits/sigcontext.h>.
35497 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
35498 <bits/sigcontext.h>.
35499 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
35500 <bits/sigcontext.h>.
35501 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
35502 <bits/sigcontext.h>.
35503 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
35504 <bits/sigcontext.h>.
35505 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
35506 <bits/sigcontext.h>.
35507 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
35508 <bits/sigcontext.h>.
35509 (__ctx): Define earlier.
35510 (mcontext_t): Define structure contents rather than using struct
35511 sigcontext.
35512 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
35513 <bits/sigcontext.h>. Include <bits/types.h>.
35514 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
35515 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
35516 (test-xfail-XPG42/ucontext.h/conform): Likewise.
35517 (test-xfail-UNIX98/signal.h/conform): Likewise.
35518 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35519 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35520 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35521 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35522 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35523 (test-xfail-POSIX2008/signal.h/conform): Likewise.
35524 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35525 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35526 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35527
35528 2017-08-30 Florian Weimer <fweimer@redhat.com>
35529
35530 * malloc/dynarray_emplace_enlarge.c
35531 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
35532 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
35533 * malloc/tst-dynarray.c (test_long_overflow): New function.
35534 (do_test): Call it.
35535
35536 2017-08-30 Florian Weimer <fweimer@redhat.com>
35537
35538 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
35539 (set_arena_corrupt): Remove definitions.
35540 (mtrim): Do not check for corrupt arena.
35541 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
35542 Likewise.
35543
35544 2017-08-30 Florian Weimer <fweimer@redhat.com>
35545
35546 [BZ #21754]
35547 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
35548 check_action.
35549 (ptmalloc_init): Do not set or use check_action.
35550 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
35551 call to malloc_printerr. Remove return statement.
35552 (free_check): Likewise. Remove arena unlock.
35553 (top_check): Update comment. Adjust call to malloc_printerr.
35554 Remove heap repair code.
35555 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
35556 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
35557 (sysmalloc): Adjust call to malloc_printerr.
35558 (munmap_chunk, __libc_realloc): Likewise. Remove return
35559 statement.
35560 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
35561 Remove errout label and corresponding gotos.
35562 (_int_free): Likewise. Remove arena unlock.
35563 (do_set_mallopt_check): Do not set check_action.
35564 (malloc_printerr): Adjust parameter list. Do not mark arena as
35565 corrupt.
35566 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
35567 comment.
35568 * manual/probes.texi (Memory Allocation Probes): Remove
35569 memory_mallopt_check_action.
35570
35571 2017-08-30 Steve Ellcey <sellcey@cavium.com>
35572
35573 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
35574 Use pointer to uint64_t instead of long int for sp.
35575
35576 2017-08-30 Florian Weimer <fweimer@redhat.com>
35577
35578 [BZ #21754]
35579 * malloc/malloc.c (malloc_printerr): Always terminate the process,
35580 without printing a backtrace. Do not leak any information in the
35581 error message.
35582 * manual/memory.texi (Heap Consistency Checking): Update.
35583 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
35584
35585 2017-08-30 Florian Weimer <fweimer@redhat.com>
35586
35587 Do not scale NPTL tests with available number of CPUs.
35588 * nptl/tst-cond16.c (count): Set to constant value of 8.
35589 * nptl/tst-cond18.c (count): Likewise.
35590
35591 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35592
35593 [BZ #22035]
35594 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
35595 Define to take a second argument that is a macro that
35596 concatentates a suffix, not the suffix itself.
35597 (__CONCAT_d): New macro.
35598 (__CONCAT_f): Likewise.
35599 (__CONCAT_l): Likewise.
35600
35601 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
35602
35603 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
35604 by child.
35605
35606 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35607 Aurelien Jarno <aurelien@aurel32.net>
35608 Maciej W. Rozycki <macro@imgtec.com>
35609
35610 [BZ #21956]
35611 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
35612 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
35613 `mips16-syscall6' and `mips16-syscall7'.
35614 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
35615 (CFLAGS-mips16-syscall7.c): Remove.
35616 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
35617 Remove `__mips16_syscall5', `__mips16_syscall6' and
35618 `__mips16_syscall7'.
35619 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
35620 (__mips16_syscall0): Rename `__mips16_syscall_return' to
35621 `__mips_syscall_return'.
35622 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
35623 (__mips16_syscall1): Likewise.
35624 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
35625 (__mips16_syscall2): Likewise.
35626 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
35627 (__mips16_syscall3): Likewise.
35628 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
35629 (__mips16_syscall4): Likewise.
35630 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
35631 Remove.
35632 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
35633 Remove.
35634 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
35635 Remove.
35636 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
35637 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
35638 `__mips16_syscall5'. Remove prototype.
35639 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
35640 `__mips16_syscall6'. Remove prototype.
35641 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
35642 `__mips16_syscall7'. Remove prototype.
35643 (__nomips16, __mips16_syscall_return): Move to...
35644 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
35645 (__nomips16, __mips_syscall_return): ... here.
35646 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
35647 `__mips16_syscall_return' to `__mips_syscall_return'.
35648 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
35649 `internal_syscall##nr'.
35650 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
35651 `internal_syscall##nr'.
35652 (FORCE_FRAME_POINTER): Remove.
35653 (__mips_syscall5): New prototype.
35654 (internal_syscall5): Rewrite to call `__mips_syscall5'.
35655 (__mips_syscall6): New prototype.
35656 (internal_syscall6): Rewrite to call `__mips_syscall6'.
35657 (__mips_syscall7): New prototype.
35658 (internal_syscall7): Rewrite to call `__mips_syscall7'.
35659 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
35660 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
35661 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
35662 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
35663 (sysdep_routines): Add libc-do-syscall.
35664 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
35665 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
35666
35667 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35668
35669 [BZ #21672]
35670 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
35671 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
35672 (advise_stack_range): New function.
35673 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
35674 stack non required to advise_stack_range at allocatestack.c
35675
35676 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
35677
35678 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
35679
35680 2017-08-29 Florian Weimer <fweimer@redhat.com>
35681
35682 [BZ #22026]
35683 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
35684 __end_fct. Mangle __end_fct after setting it to NULL.
35685 * iconv/Makefile (tests): Add tst-gconv-init-failure.
35686 (modules-names, modules-names-tests): Add
35687 tst-gconv-init-failure-mod.
35688 (gconv-modules): New target.
35689 (tst-gconv-init-failure-mod.so): Link against libsupport.
35690 (tst-gconv-init-failure): Depend on gconv-modules,
35691 tst-gconv-init-failure-mod.so.
35692 * iconv/tst-gconv-init-failure-mod.c: New file.
35693 * iconv/tst-gconv-init-failure.c: Likewise.
35694 * iconv/test-gconv-modules: Likewise.
35695
35696 2017-08-29 Florian Weimer <fweimer@redhat.com>
35697
35698 [BZ #22025]
35699 * iconv/gconv_db.c (free_derivation): Remove redundant
35700 parentheses.
35701 (gen_steps): Unconditionally mangle __btowc_fct after
35702 initialization.
35703 (increment_counter): Likewise. Do not call init_fct for internal
35704 modules.
35705
35706 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35707
35708 [BZ #22028]
35709 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35710 (_MSUF_): Remove macro.
35711 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
35712 Likewise.
35713 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35714 (__REDIRFROM_X): New macro.
35715 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
35716 Likewise.
35717 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
35718 (__REDIRTO_X): Likewise.
35719 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
35720 arguments.
35721 (__MATH_REDIRCALL_2): Likewise.
35722 (__MATH_REDIRCALL_INTERNAL): Likewise.
35723 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35724 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
35725 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
35726 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35727 * math/test-finite-macros.c: New file.
35728 * math/Makefile (tests): Add test-finite-macros.
35729 (CFLAGS-test-finite-macros.c): New variable.
35730
35731 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
35732 Jeff Law <law@redhat.com>
35733
35734 [BZ #22025]
35735 Mangle NULL pointers in iconv/gconv.
35736 * iconv/gconv_cache.c (find_module): Demangle init_fct before
35737 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
35738 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
35739 is non-NULL before demangling the end_fct. Check for NULL
35740 end_fct after demangling.
35741 (__gconv_release_step): Demangle the end_fct before checking
35742 it for NULL. Remove assert on __shlibc_handle != NULL.
35743 (gen_steps): Don't check btowc_fct for NULL before mangling.
35744 Demangle init_fct before checking for NULL.
35745 (increment_counter): Likewise.
35746 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
35747 end_fct for NULL before mangling.
35748 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
35749 for NULL.
35750
35751 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
35752
35753 [BZ #21971]
35754 * locale/iso-639.def: add Morisyen.
35755
35756 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35757
35758 [BZ #21930]
35759 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
35760 (iszero): New C++ implementation that does not use
35761 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
35762 signaling nans are enabled, since __builtin_types_compatible_p
35763 is a C-only feature.
35764 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
35765 defined, include ieee754_float128.h for access to the union and
35766 member ieee854_float128.ieee.
35767 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
35768 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
35769 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35770 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
35771 options of test-math-zero on powerpc64le.
35772
35773 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
35774
35775 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
35776 Change double to float.
35777
35778 2017-08-28 Joseph Myers <joseph@codesourcery.com>
35779
35780 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
35781 unconditional.
35782 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
35783 conditional code; define contents only for [LIBM_SVID_COMPAT].
35784
35785 2017-08-28 Florian Weimer <fweimer@redhat.com>
35786
35787 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
35788 (abi-lp64_be-options): Remove.
35789 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
35790 (abi-hard-options): Likewise.
35791 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
35792 (abi-o32_hard-options, abi-o32_soft_2008-options)
35793 (abi-o32_hard_2008-options, abi-n32_soft-options)
35794 (abi-n32_hard-options, abi-n32_soft_2008-options)
35795 (abi-n32_hard_2008-options, abi-n64_soft-options)
35796 (abi-n64_hard-options, abi-n64_soft_2008-options)
35797 (abi-n64_hard_2008-options): Likewise.
35798 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
35799 (abi-64-v1-options, abi-64-v2-options): Likewise.
35800 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
35801 (abi-64-options): Likewise.
35802 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
35803 (abi-64-options): Likewise.
35804 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
35805 (abi-64-options): Likewise.
35806 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
35807 (abi-64-options, abi-x32-options): Likewise.
35808
35809 2017-08-28 Florian Weimer <fweimer@redhat.com>
35810
35811 Store supported list of SYS_* system calls in the source tree.
35812 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
35813 (bits/syscall.h): Generate from list file.
35814 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
35815 [$(subdir) = misc] (tests): Add tst-syscall-list.
35816 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
35817 [$(subdir) = misc] (tst-syscall-list-macros.list)
35818 [$(subdir) = misc] (tst-syscall-list-nr.list)
35819 (tst-syscall-list-sys.list): Helper targets for new
35820 tst-syscall-list test.
35821 [$(subdir) = misc] (tst-syscall-list.out): Run test script
35822 tst-syscall-list.sh.
35823 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
35824 target. Do not include bits/syscall.d.
35825 [$(subdir) = misc] (generated): Do not update.
35826 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
35827 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
35828 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
35829 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
35830
35831 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35832
35833 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
35834 (tst-cxa_atexit, tst-on_exit): Likewise.
35835 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
35836 tst-cxa_atexit, and tst-on_exit.
35837 * stdlib/tst-atexit-common.c: New file.
35838 * stdlib/tst-atexit.c: New file.
35839 * stdlib/tst-at_quick_exit.c: New file.
35840 * stdlib/tst-cxa_atexit.c: New file.
35841 * stdlib/tst-on_exit.c: New file.
35842
35843 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35844
35845 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
35846 * mach/stack_chk_fail_local.c: New file.
35847 * hurd/stack_chk_fail_local.c: New file.
35848 * mach/Machrules ($(interface-library)-routines): Add
35849 stack_chk_fail_local.
35850 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
35851 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
35852 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
35853 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
35854 * hurd/Makefile (CFLAGS-hurdstartup.o,
35855 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
35856
35857 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
35858
35859 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35860 (index_cpu_*, index_arch_*): Removed.
35861
35862 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
35863
35864 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
35865 Use uint64_t instead of unsigned long.
35866
35867 2017-08-25 Joseph Myers <joseph@codesourcery.com>
35868
35869 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
35870 [__HAVE_DISTINCT_FLOAT128].
35871
35872 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
35873 of <bits/math-finite.h>.
35874 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
35875 inclusion of <bits/math-finite.h>.
35876 * math/bits/math-finite.h (__REDIRTO_X): Do not define
35877 conditionally on [__MATH_DECLARING_LDOUBLE && defined
35878 __NO_LONG_DOUBLE_MATH].
35879 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
35880 (__MATH_REDIRCALL_2): Likewise.
35881 (__MATH_REDIRCALL_INTERNAL): Likewise.
35882 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35883 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
35884 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35885
35886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
35887 Remove file.
35888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
35889 Likewise.
35890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
35891 Likewise.
35892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
35893 Likewise.
35894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
35895 Likewise.
35896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
35897 Likewise.
35898 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35899 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35900 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35901 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
35903 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
35904 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
35905 w_sqrtf_compat-ppc32.
35906
35907 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35908
35909 * math/math.h [defined __cplusplus] (issignaling): In the long
35910 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
35911 is not defined. Call __issignaling, otherwise.
35912
35913 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35914
35915 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
35916 syscall definitions and replace __builtin_expect with __glibc_likely.
35917 * sysdeps/unix/syscall-template.S: Update comment about cancellable
35918 syscall.
35919 (SYSCALL_CANCELLABLE): Removedefinition
35920 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
35921 definition.
35922 (PSEUDO_END): Likewise.
35923 [IS_IN (libpthread)] (CENABLE): Likewise.
35924 [IS_IN (libpthread)] (CDISABLE): Likewise.
35925 [IS_IN (libc)] (CENABLE): Likewise.
35926 [IS_IN (libc)] (CENABLE): Likewise.
35927 [IS_IN (librt)] (CDISABLE): Likewise.
35928 [IS_IN (librt)] (CDISABLE): Likewise.
35929 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35930 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
35931 definition.
35932 (PSEUDO_END): Likewise.
35933 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
35934 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
35935 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35936 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35937 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35938 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35939 (CENABLE): Likewise.
35940 (CDISABLE): Likewise.
35941 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35942 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
35943 defintion.
35944 (PSEUDO_END): Likewise.
35945 [IS_IN (libpthread)] (CENABLE): Likewise.
35946 [IS_IN (libpthread)] (CDISABLE): Likewise.
35947 [IS_IN (libc)] (CENABLE): Likewise.
35948 [IS_IN (libc)] (CENABLE): Likewise.
35949 [IS_IN (librt)] (CDISABLE): Likewise.
35950 [IS_IN (librt)] (CDISABLE): Likewise.
35951 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35952 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
35953 definition.
35954 (PSEUDO_END): Likewise.
35955 [IS_IN (libpthread)] (CENABLE): Likewise.
35956 [IS_IN (libpthread)] (CDISABLE): Likewise.
35957 [IS_IN (libc)] (CENABLE): Likewise.
35958 [IS_IN (libc)] (CENABLE): Likewise.
35959 [IS_IN (librt)] (CDISABLE): Likewise.
35960 [IS_IN (librt)] (CDISABLE): Likewise.
35961 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35962 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
35963 definition.
35964 (PSEUDO_END): Likewise.
35965 [IS_IN (libpthread)] (CENABLE): Likewise.
35966 [IS_IN (libpthread)] (CDISABLE): Likewise.
35967 [IS_IN (libc)] (CENABLE): Likewise.
35968 [IS_IN (libc)] (CENABLE): Likewise.
35969 [IS_IN (librt)] (CDISABLE): Likewise.
35970 [IS_IN (librt)] (CDISABLE): Likewise.
35971 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35972 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
35973 definition.
35974 (PSEUDO_END): Likewise.
35975 [IS_IN (libpthread)] (CENABLE): Likewise.
35976 [IS_IN (libpthread)] (CDISABLE): Likewise.
35977 [IS_IN (libc)] (CENABLE): Likewise.
35978 [IS_IN (libc)] (CENABLE): Likewise.
35979 [IS_IN (librt)] (CDISABLE): Likewise.
35980 [IS_IN (librt)] (CDISABLE): Likewise.
35981 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35982 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
35983 definition.
35984 (PSEUDO_END): Likewise.
35985 [IS_IN (libpthread)] (CENABLE): Likewise.
35986 [IS_IN (libpthread)] (CDISABLE): Likewise.
35987 [IS_IN (libc)] (CENABLE): Likewise.
35988 [IS_IN (libc)] (CENABLE): Likewise.
35989 [IS_IN (librt)] (CDISABLE): Likewise.
35990 [IS_IN (librt)] (CDISABLE): Likewise.
35991 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35992 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
35993 definition.
35994 (PSEUDO_END): Likewise.
35995 [IS_IN (libpthread)] (CENABLE): Likewise.
35996 [IS_IN (libpthread)] (CDISABLE): Likewise.
35997 [IS_IN (libc)] (CENABLE): Likewise.
35998 [IS_IN (libc)] (CENABLE): Likewise.
35999 [IS_IN (librt)] (CDISABLE): Likewise.
36000 [IS_IN (librt)] (CDISABLE): Likewise.
36001 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36002 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
36003 Remove definition.
36004 (PSEUDO_END): Likewise.
36005 [IS_IN (libpthread)] (CENABLE): Likewise.
36006 [IS_IN (libpthread)] (CDISABLE): Likewise.
36007 [IS_IN (libc)] (CENABLE): Likewise.
36008 [IS_IN (libc)] (CENABLE): Likewise.
36009 [IS_IN (librt)] (CDISABLE): Likewise.
36010 [IS_IN (librt)] (CDISABLE): Likewise.
36011 (SINGLE_THREAD_P): Likewise.
36012 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
36013 definition.
36014 (PSEUDO_END): Likewise.
36015 [IS_IN (libpthread)] (CENABLE): Likewise.
36016 [IS_IN (libpthread)] (CDISABLE): Likewise.
36017 [IS_IN (libc)] (CENABLE): Likewise.
36018 [IS_IN (libc)] (CENABLE): Likewise.
36019 [IS_IN (librt)] (CDISABLE): Likewise.
36020 [IS_IN (librt)] (CDISABLE): Likewise.
36021 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36022 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
36023 definition.
36024 (PSEUDO_END): Likewise.
36025 [IS_IN (libpthread)] (CENABLE): Likewise.
36026 [IS_IN (libpthread)] (CDISABLE): Likewise.
36027 [IS_IN (libc)] (CENABLE): Likewise.
36028 [IS_IN (libc)] (CENABLE): Likewise.
36029 [IS_IN (librt)] (CDISABLE): Likewise.
36030 [IS_IN (librt)] (CDISABLE): Likewise.
36031 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36032 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
36033 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36034 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
36035 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
36036 definition.
36037 (PSEUDO_END): Likewise.
36038 [IS_IN (libpthread)] (CENABLE): Likewise.
36039 [IS_IN (libpthread)] (CDISABLE): Likewise.
36040 [IS_IN (libc)] (CENABLE): Likewise.
36041 [IS_IN (libc)] (CENABLE): Likewise.
36042 [IS_IN (librt)] (CDISABLE): Likewise.
36043 [IS_IN (librt)] (CDISABLE): Likewise.
36044 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36045 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
36046 definition.
36047 (PSEUDO_END): Likewise.
36048 [IS_IN (libpthread)] (CENABLE): Likewise.
36049 [IS_IN (libpthread)] (CDISABLE): Likewise.
36050 [IS_IN (libc)] (CENABLE): Likewise.
36051 [IS_IN (libc)] (CENABLE): Likewise.
36052 [IS_IN (librt)] (CDISABLE): Likewise.
36053 [IS_IN (librt)] (CDISABLE): Likewise.
36054 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36055 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
36056 definition.
36057 (PSEUDO_END): Likewise.
36058 [IS_IN (libpthread)] (CENABLE): Likewise.
36059 [IS_IN (libpthread)] (CDISABLE): Likewise.
36060 [IS_IN (libc)] (CENABLE): Likewise.
36061 [IS_IN (libc)] (CENABLE): Likewise.
36062 [IS_IN (librt)] (CDISABLE): Likewise.
36063 [IS_IN (librt)] (CDISABLE): Likewise.
36064 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36065 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
36066 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36067 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
36068 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
36069 definition.
36070 (PSEUDO_END): Likewise.
36071 [IS_IN (libpthread)] (CENABLE): Likewise.
36072 [IS_IN (libpthread)] (CDISABLE): Likewise.
36073 [IS_IN (libc)] (CENABLE): Likewise.
36074 [IS_IN (libc)] (CENABLE): Likewise.
36075 [IS_IN (librt)] (CDISABLE): Likewise.
36076 [IS_IN (librt)] (CDISABLE): Likewise.
36077 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36078 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
36079 definition.
36080 (PSEUDO_END): Likewise.
36081 [IS_IN (libpthread)] (CENABLE): Likewise.
36082 [IS_IN (libpthread)] (CDISABLE): Likewise.
36083 [IS_IN (libc)] (CENABLE): Likewise.
36084 [IS_IN (libc)] (CENABLE): Likewise.
36085 [IS_IN (librt)] (CDISABLE): Likewise.
36086 [IS_IN (librt)] (CDISABLE): Likewise.
36087 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
36088
36089 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
36090
36091 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
36092
36093 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36094
36095 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36096
36097 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36098
36099 [BZ #21982]
36100 * string/stratcliff.c (do_test): Declare size, nchars, inner,
36101 middle and outer with size_t instead of int. Repleace %d and
36102 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
36103 "MAX (outer, nchars - 64)" to support unsigned outer and
36104 nchars. Also exit loop when outer == 0.
36105
36106 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36107
36108 * include/fcntl.h (__fcntl_nocancel): Remove definition.
36109 * include/signal.h (__sigsuspend_nocancel): Likewise.
36110 * include/time.h (__nanosleep_nocancel): Likewise.
36111 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
36112 * login/utmp_file.c: Include non cancellable syscall header.
36113 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
36114 prototype.
36115
36116 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
36117
36118 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
36119 .byte sequences with AVX512F instructions.
36120 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
36121 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
36122 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
36123 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
36124 Likewise.
36125 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
36126 Likewise.
36127
36128 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
36129 Steve Ellcey <sellcey@cavium.com>
36130
36131 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
36132 Use PTR_REG macro in cmp instruction.
36133
36134 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36135
36136 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
36137 Change the return type of the ifunc resolver to match the return
36138 type of the target function.
36139
36140 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36141
36142 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
36143 (preadv64): Likewise.
36144 (pwrite64(: Likewise.
36145 (pwritev64): Likewise.
36146
36147 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36148 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
36149 (LOAD_ARGS_0): Likewise.
36150 (LOAD_ARGS_1): Likewise.
36151 (LOAD_ARGS_2): Likewise.
36152 (LOAD_ARGS_3): Likewise.
36153 (LOAD_ARGS_4): Likewise.
36154 (LOAD_ARGS_5): Likewise.
36155 (LOAD_ARGS_6): Likewise.
36156 (LOAD_REGS_0): Likewise.
36157 (LOAD_REGS_1): Likewise.
36158 (LOAD_REGS_2): Likewise.
36159 (LOAD_REGS_3): Likewise.
36160 (LOAD_REGS_4): Likewise.
36161 (LOAD_REGS_5): Likewise.
36162 (LOAD_REGS_6): Likewise.
36163 (ASM_ARGS_0): Likewise.
36164 (ASM_ARGS_1): Likewise.
36165 (ASM_ARGS_2): Likewise.
36166 (ASM_ARGS_3): Likewise.
36167 (ASM_ARGS_4): Likewise.
36168 (ASM_ARGS_5): Likewise.
36169 (ASM_ARGS_6): Likewise.
36170 (LOAD_ARGS_TYPES_1): Likewise.
36171 (LOAD_ARGS_TYPES_2): Likewise.
36172 (LOAD_ARGS_TYPES_3): Likewise.
36173 (LOAD_ARGS_TYPES_4): Likewise.
36174 (LOAD_ARGS_TYPES_5): Likewise.
36175 (LOAD_ARGS_TYPES_6): Likewise.
36176 (LOAD_REGS_TYPES_1): Likewise.
36177 (LOAD_REGS_TYPES_2): Likewise.
36178 (LOAD_REGS_TYPES_3): Likewise.
36179 (LOAD_REGS_TYPES_4): Likewise.
36180 (LOAD_REGS_TYPES_5): Likewise.
36181 (LOAD_REGS_TYPES_6): Likewise.
36182 (TYPEFY): New define.
36183 (ARGIFY): Likewise.
36184 (internal_syscall0): Likewise.
36185 (internal_syscall1): Likewise.
36186 (internal_syscall2): Likewise.
36187 (internal_syscall3): Likewise.
36188 (internal_syscall4): Likewise.
36189 (internal_syscall5): Likewise.
36190 (internal_syscall6): Likewise.
36191 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
36192 (INTERNAL_SYSCALL_NCS): Remove define.
36193 (internal_syscall1): Add define.
36194
36195 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36196
36197 * math/w_remainder_compat.c: Remove duplicate inclusion of
36198 math-svid-compat.h.
36199 * math/w_remainderf_compat.c: Likewise.
36200 * math/w_remainderl_compat.c: Likewise.
36201
36202 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36203
36204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36205
36206 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36207
36208 [BZ #21684]
36209 * math/tgmath.h (__floating_type): Simplify definitions.
36210 (__real_integer_type): New macro.
36211 (__complex_integer_type): Likewise.
36212 (__expr_is_real): Likewise.
36213 (__tgmath_real_type_sub): Update comment to describe handling of
36214 complex types.
36215 (__tgmath_complex_type_sub): New macro.
36216 (__tgmath_complex_type): Likewise.
36217 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36218 (__TGMATH_CF128): Use __expr_is_real.
36219 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
36220 __expr_is_real.
36221 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36222 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
36223 * math/gen-tgmath-tests.py (Type.create_type): Create complex
36224 integer types.
36225
36226 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36227
36228 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
36229 macro.
36230 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
36231 alias.
36232 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
36233 Likewise.
36234
36235 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
36236 nanosleep_not_cancel with __nanosleep_nocancel.
36237 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
36238 (__nanosleep_nocancel): New macro.
36239 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
36240 function.
36241 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
36242 macro.
36243 (__nanosleep_nocancel): New prototype.
36244
36245 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
36246 pause_not_cancel with __pause_nocancel.
36247 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
36248 (__pause_nocancel): New macro.
36249 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
36250 macro.
36251 (__pause_nocancel): New prototype.
36252 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
36253
36254 2017-08-22 Martin Sebor <msebor@redhat.com>
36255
36256 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
36257 to return a pointer to the same type as the target function.
36258
36259 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36260
36261 [BZ #18822]
36262 [BZ #21986]
36263 * include/printf.h (__printf_fphex): Add attribute_hidden.
36264 (__guess_grouping): New prototype.
36265 * stdio-common/printf_fp.c (__guess_grouping): Removed.
36266 * stdio-common/reg-printf.c (__register_printf_specifier): Add
36267 libc_hidden_proto and libc_hidden_def.
36268 * stdlib/strfmon_l.c (__guess_grouping): Removed.
36269 (__vstrfmon_l): Remove the third argument passed to
36270 __guess_grouping.
36271
36272 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36273
36274 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
36275 definition for issignaling that does not rely on __MATH_TG,
36276 since __MATH_TG uses __builtin_types_compatible_p, which is only
36277 available in C mode.
36278 (CFLAGS-test-math-issignaling.cc): New variable.
36279 * math/Makefile [CXX] (tests): Add test-math-issignaling.
36280 * math/test-math-issignaling.cc: New test for C++ implementation
36281 of type-generic issignaling.
36282 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
36283 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
36284 options of test-math-issignaling on powerpc64le.
36285
36286 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
36287
36288 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36289 building libc.a.
36290 (hidden_proto): Likewise.
36291 (hidden_tls_proto): Likewise.
36292 (__hidden_proto): Likewise.
36293
36294 2017-08-22 Florian Weimer <fweimer@redhat.com>
36295
36296 math: Statically link tests of internal functionality.
36297 * math/Makefile (tests): Remove atest-exp, atest-sincos,
36298 atest-exp2.
36299 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
36300 (gmp-objs): Remove assignment.
36301 (atest-exp, atest-sincos, atest-exp2): Remove targets.
36302
36303 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36304
36305 [BZ #21987]
36306 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
36307 and copy to ...
36308 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
36309 ... here.
36310 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
36311 ... and here.
36312
36313 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
36314 variable definitions above inclusion of ../Rules.
36315
36316 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36317
36318 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
36319 case calling __builtin_unreachable.
36320
36321 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36322
36323 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
36324 __waitpid_nocancel.
36325 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
36326 (__waitpid_nocancel): New macro.
36327 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
36328 macro.
36329 (__waitpid_nocancel): Replace macro with a function.
36330 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
36331 function.
36332
36333 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
36334 __fcntl_nocancel.
36335 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
36336 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
36337
36338 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
36339 __writev_nocancel_nostatus.
36340 (write_call_graph): Likewise.
36341 (write_bb_counts): Likewise.
36342 * resolv/herror.c (herror): Likewise.
36343 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
36344 macro.
36345 (__writev_nocancel_nostatus): New macro.
36346 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
36347 Remove macro.
36348 (__writev_nocancel_nostatus): New function.
36349
36350 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36351
36352 Revert:
36353 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36354
36355 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36356 building libc.a.
36357 (hidden_proto): Likewise.
36358 (hidden_tls_proto): Likewise.
36359 (__hidden_proto): Likewise.
36360
36361 [BZ #21973]
36362 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
36363 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36365 Likewise.
36366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
36367 Likewise.
36368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36369 Likewise.
36370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
36371 Likewise.
36372 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
36373 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36374 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36375 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36376 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
36377 GLIBC_2.0 sqrtl symbol.
36378
36379 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
36380 [__USE_MISC] (_LIB_VERSION): Likewise.
36381 [__USE_MISC] (struct exception): Likewise.
36382 [__USE_MISC] (matherr): Likewise.
36383 [__USE_MISC] (DOMAIN): Likewise.
36384 [__USE_MISC] (SING): Likewise.
36385 [__USE_MISC] (OVERFLOW): Likewise.
36386 [__USE_MISC] (UNDERFLOW): Likewise.
36387 [__USE_MISC] (TLOSS): Likewise.
36388 [__USE_MISC] (PLOSS): Likewise.
36389 [__USE_MISC] (HUGE): Likewise.
36390 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
36391 * math/math-svid-compat.h: New file.
36392 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
36393 and matherrl.
36394 * include/math.h [!_ISOMAC] (__matherr): Remove.
36395 * manual/arith.texi (FP Exceptions): Do not document matherr.
36396 * math/Makefile (tests): Change test-matherr to test-matherr-3.
36397 (tests-internal): New variable.
36398 (install-lib): Do not add libieee.a.
36399 (non-lib.a): Likewise.
36400 (extra-objs): Do not add libieee.a and ieee-math.o.
36401 (CPPFLAGS-s_lib_version.c): Remove variable.
36402 ($(objpfx)libieee.a): Remove rule.
36403 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
36404 * math/ieee-math.c: Remove.
36405 * math/libm-test-support.c (matherr): Remove.
36406 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
36407 and license notices. Include <math-svid-compat.h> and
36408 <shlib-compat.h>.
36409 (matherr): Undefine as macro. Use compat_symbol_reference.
36410 (_LIB_VERSION): Likewise.
36411 * math/test-matherr-2.c: New file.
36412 * math/test-matherr-3.c: Likewise.
36413 * sysdeps/generic/math_private.h (__kernel_standard): Remove
36414 declaration.
36415 (__kernel_standard_f): Likewise.
36416 (__kernel_standard_l): Likewise.
36417 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
36418 <math_private.h>. Include <math-svid-compat.h>.
36419 (_LIB_VERSION): Undefine as macro.
36420 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
36421 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
36422 [LIBM_SVID_COMPAT], use compat_symbol.
36423 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
36424 <math_private.h>. Include <math-svid-compat.h>.
36425 (matherr): Undefine as macro.
36426 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
36427 compat_symbol.
36428 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
36429 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
36430 compat_symbol_reference.
36431 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
36432 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
36433 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
36434 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
36435 (MATHERR_D): Remove declaration.
36436 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
36437 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
36438 [LIBM_BUILD] (pmatherrf): Likewise.
36439 [LIBM_BUILD] (pmatherr): Likewise.
36440 [LIBM_BUILD] (pmatherrl): Likewise.
36441 (DOMAIN): Likewise.
36442 (SING): Likewise.
36443 (OVERFLOW): Likewise.
36444 (UNDERFLOW): Likewise.
36445 (TLOSS): Likewise.
36446 (PLOSS): Likewise.
36447 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
36448 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
36449 compat_symbol.
36450 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
36451 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
36452 compat_symbol.
36453 * math/lgamma-compat.h: Include <math-svid-compat.h>.
36454 * math/w_acos_compat.c: Likewise.
36455 * math/w_acosf_compat.c: Likewise.
36456 * math/w_acosh_compat.c: Likewise.
36457 * math/w_acoshf_compat.c: Likewise.
36458 * math/w_acoshl_compat.c: Likewise.
36459 * math/w_acosl_compat.c: Likewise.
36460 * math/w_asin_compat.c: Likewise.
36461 * math/w_asinf_compat.c: Likewise.
36462 * math/w_asinl_compat.c: Likewise.
36463 * math/w_atan2_compat.c: Likewise.
36464 * math/w_atan2f_compat.c: Likewise.
36465 * math/w_atan2l_compat.c: Likewise.
36466 * math/w_atanh_compat.c: Likewise.
36467 * math/w_atanhf_compat.c: Likewise.
36468 * math/w_atanhl_compat.c: Likewise.
36469 * math/w_cosh_compat.c: Likewise.
36470 * math/w_coshf_compat.c: Likewise.
36471 * math/w_coshl_compat.c: Likewise.
36472 * math/w_exp10_compat.c: Likewise.
36473 * math/w_exp10f_compat.c: Likewise.
36474 * math/w_exp10l_compat.c: Likewise.
36475 * math/w_exp2_compat.c: Likewise.
36476 * math/w_exp2f_compat.c: Likewise.
36477 * math/w_exp2l_compat.c: Likewise.
36478 * math/w_fmod_compat.c: Likewise.
36479 * math/w_fmodf_compat.c: Likewise.
36480 * math/w_fmodl_compat.c: Likewise.
36481 * math/w_hypot_compat.c: Likewise.
36482 * math/w_hypotf_compat.c: Likewise.
36483 * math/w_hypotl_compat.c: Likewise.
36484 * math/w_j0_compat.c: Likewise.
36485 * math/w_j0f_compat.c: Likewise.
36486 * math/w_j0l_compat.c: Likewise.
36487 * math/w_j1_compat.c: Likewise.
36488 * math/w_j1f_compat.c: Likewise.
36489 * math/w_j1l_compat.c: Likewise.
36490 * math/w_jn_compat.c: Likewise.
36491 * math/w_jnf_compat.c: Likewise.
36492 * math/w_jnl_compat.c: Likewise.
36493 * math/w_lgamma_main.c: Likewise.
36494 * math/w_lgamma_r_compat.c: Likewise.
36495 * math/w_lgammaf_main.c: Likewise.
36496 * math/w_lgammaf_r_compat.c: Likewise.
36497 * math/w_lgammal_main.c: Likewise.
36498 * math/w_lgammal_r_compat.c: Likewise.
36499 * math/w_log10_compat.c: Likewise.
36500 * math/w_log10f_compat.c: Likewise.
36501 * math/w_log10l_compat.c: Likewise.
36502 * math/w_log2_compat.c: Likewise.
36503 * math/w_log2f_compat.c: Likewise.
36504 * math/w_log2l_compat.c: Likewise.
36505 * math/w_log_compat.c: Likewise.
36506 * math/w_logf_compat.c: Likewise.
36507 * math/w_logl_compat.c: Likewise.
36508 * math/w_pow_compat.c: Likewise.
36509 * math/w_powf_compat.c: Likewise.
36510 * math/w_powl_compat.c: Likewise.
36511 * math/w_remainder_compat.c: Likewise.
36512 * math/w_remainderf_compat.c: Likewise.
36513 * math/w_remainderl_compat.c: Likewise.
36514 * math/w_scalb_compat.c: Likewise.
36515 * math/w_scalbf_compat.c: Likewise.
36516 * math/w_scalbl_compat.c: Likewise.
36517 * math/w_sinh_compat.c: Likewise.
36518 * math/w_sinhf_compat.c: Likewise.
36519 * math/w_sinhl_compat.c: Likewise.
36520 * math/w_sqrt_compat.c: Likewise.
36521 * math/w_sqrtf_compat.c: Likewise.
36522 * math/w_sqrtl_compat.c: Likewise.
36523 * math/w_tgamma_compat.c: Likewise.
36524 * math/w_tgammaf_compat.c: Likewise.
36525 * math/w_tgammal_compat.c: Likewise.
36526 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
36527 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
36528 * sysdeps/ieee754/k_standard.c: Likewise.
36529 * sysdeps/ieee754/k_standardf.c: Likewise.
36530 * sysdeps/ieee754/k_standardl.c: Likewise.
36531 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
36532 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
36533 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
36534 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36535 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36536 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36537 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36538 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
36539 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36541 Likewise.
36542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36543 Likewise.
36544 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
36545 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36546 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36547 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36548
36549 2017-08-21 Florian Weimer <fweimer@redhat.com>
36550
36551 [BZ #21864]
36552 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
36553 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
36554 Move before inclusion of ../Rules.
36555
36556 2017-08-21 Florian Weimer <fweimer@redhat.com>
36557
36558 [BZ #21972]
36559 * assert/assert.h (assert): Use static_cast (bool) for C++.
36560 Use the ternary operator in the warning branch for GNU C.
36561 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
36562 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
36563 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
36564 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
36565 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
36566
36567 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36568
36569 [BZ #18822]
36570 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36571 (__syscall_clock_gettime): Add attribute_hidden.
36572 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
36573 (__start_context): Likewise.
36574
36575 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36576
36577 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36578 building libc.a.
36579 (hidden_proto): Likewise.
36580 (hidden_tls_proto): Likewise.
36581 (__hidden_proto): Likewise.
36582
36583 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36584
36585 * include/libc-symbols.h (attribute_hidden): Enable hidden
36586 visibility in libc.a compiled with PIE.
36587
36588 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36589
36590 [BZ #18822]
36591 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
36592 Add attribute_hidden.
36593
36594 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36595
36596 [BZ #21864]
36597 * Makerules (all-nonlib): Add $(others-extras).
36598 * catgets/Makefile (others-extras): New.
36599 * elf/Makefile (others-extras): Likewise.
36600 * nss/Makefile (others-extras): Likewise.
36601
36602 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36603
36604 [BZ #18822]
36605 * csu/libc-start.c (__libc_multiple_libcs): Removed.
36606 * elf/dl-open.c: Include <libc-internal.h>.
36607 (__libc_multiple_libcs): Removed.
36608 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
36609 <hp-timing.h>.
36610 * include/libc-internal.h (__libc_multiple_libcs): New.
36611 * misc/sbrk.c: Include <libc-internal.h>.
36612 (__libc_multiple_libcs): Removed.
36613
36614 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36615
36616 [BZ #18822]
36617 * grp/initgroups.c (__nss_group_database): Removed.
36618 (__nss_initgroups_database): Likewise.
36619 * nscd/gai.c (__nss_hosts_database): Likewise.
36620 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
36621 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
36622 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
36623 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
36624 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
36625 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
36626 attribute_hidden.
36627 * nss/nsswitch.c (__nss_database_custom): Define only if
36628 USE_NSCD is defined.
36629 (__nss_configure_lookup): Use __nss_database_custom only if
36630 USE_NSCD is defined.
36631 * nss/nsswitch.h (__nss_database_custom): Declare only if
36632 USE_NSCD is defined. Add attribute_hidden.
36633 (__nss_setent): Add attribute_hidden.
36634 (__nss_endent): Likewise.
36635 (__nss_getent_r): Likewise.
36636 (__nss_getent): Likewise.
36637 (DEFINE_DATABASE): Declare __nss_##arg##_database.
36638
36639 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36640
36641 [BZ #18822]
36642 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
36643 libc_hidden_proto and libc_hidden_def.
36644
36645 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36646
36647 [BZ #18822]
36648 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
36649 Add libc_hidden_proto.
36650 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
36651 Add libc_hidden_def.
36652
36653 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36654
36655 [BZ #21974]
36656 * gmon/Makefile (routines): Remove bb_init_func and
36657 bb_exit_func.
36658 (elide-routines.os): Removed.
36659 * gmon/bb_exit_func.c: Likewise.
36660 * gmon/bb_init_func.c: Likewise.
36661 * include/sys/gmon.h (__bb): Likewise.
36662 (__bb_init_func): Likewise.
36663 (__bb_exit_func): Likewise.
36664 * sysdeps/alpha/bb_init_func.S: Likewise.
36665
36666 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36667
36668 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
36669 * include/setjmp.h (____longjmp_chk): Here. Add
36670 attribute_hidden.
36671
36672 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
36673
36674 [BZ #18822]
36675 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
36676 attribute_hidden.
36677 (__strspn_sse2): Likewise.
36678
36679 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36680
36681 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
36682 (close_not_cancel_no_status): Likewise.
36683 (__close_nocancel): New macro.
36684 (__close_nocancel_nostatus): Likewise.
36685 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
36686 macro.
36687 (close_not_cancel): Likewise.
36688 (close_not_cancel_no_status): Likewise.
36689 (__close_nocancel): New prototype.
36690 (__close_nocancel_nostatus): New function.
36691 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
36692 * catgets/open_catalog.c (__open_catalog): Replace
36693 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
36694 * gmon/gmon.c (write_gmon): Likewise.
36695 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36696 * intl/loadmsgcat.c (close): Likewise.
36697 * io/ftw.c (open_dir_stream): Likewise.
36698 (ftw_startup): Likewise.
36699 * libio/fileops.c (_IO_file_open): Likewise.
36700 (_IO_file_close_mmap): Likewise.
36701 (_IO_file_close): Likewise.
36702 * libio/iopopen.c (_IO_dup2): Likewise.
36703 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36704 * locale/loadlocale.c (_nl_load_locale): Likewise.
36705 * login/utmp_file.c (pututline_file): Likewise.
36706 (endutent_file): Likewise.
36707 * misc/daemon.c (daemon): Likewise.
36708 * nscd/nscd_getai.c (__nscd_getai): Likewise.
36709 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36710 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
36711 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36712 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36713 * nscd/nscd_helper.c (open_socket): Likewise.
36714 (__nscd_open_socket): Likewise.
36715 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36716 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
36717 (__nscd_innetgr): Likewise.
36718 * nss/nss_db/db-open.c (internal_setent): Likewise.
36719 * resolv/res-close.c (__res_iclose): Likewise.
36720 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
36721 * sysdeps/posix/closedir.c (__closedir): Likewise.
36722 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
36723 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36724 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36725 (opendir_tail): Likewise.
36726 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36727 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
36728 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36729 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36730 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36731 (gethostid): Likewise.
36732 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36733 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36734 Likewise.
36735 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36736 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
36737 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36738 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36739 Likewise.
36740 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
36741 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
36742 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36743 Likewise.
36744 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
36745 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36746 Likewise.
36747 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36748 Likewise.
36749 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36750 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36751 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36752 __close_nocancel.
36753
36754 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
36755 (openat_not_cancel_3): Likewise.
36756 (openat64_not_cancel_3): Likewise).
36757 (openat_not_cancel_3): Likewise).
36758 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
36759 macro.
36760 (openat_not_cancel_3): Likewise.
36761 (openat64_not_cancel): Likewise.
36762 (openat64_not_cancel_3): Likewise.
36763 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
36764 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
36765 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
36766 __open{64}_nocancel.
36767 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36768 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36769 * sysdeps/posix/opendir.c (__opendirat): Likewise.
36770
36771 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36772
36773 [BZ #18822]
36774 * include/argz.h (__argz_create_sep): New function prototype.
36775 (__argz_append): Likewise.
36776 (__argz_add): Likewise.
36777 (__argz_add_sep): Likewise.
36778 (__argz_delete): Likewise.
36779 (__argz_insert): Likewise.
36780 (__argz_replace): Likewise.
36781 * string/argz.h (__argz_create_sep): Removed.
36782 (__argz_append): Likewise.
36783 (__argz_add): Likewise.
36784 (__argz_add_sep): Likewise.
36785 (__argz_delete): Likewise.
36786 (__argz_insert): Likewise.
36787 (__argz_replace): Likewise.
36788
36789 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36790
36791 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
36792 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
36793 (GNU_PROPERTY_STACK_SIZE): Likewie.
36794 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
36795 (GNU_PROPERTY_LOPROC): Likewise.
36796 (GNU_PROPERTY_HIPROC): Likewise.
36797 (GNU_PROPERTY_LOUSER): Likewise.
36798 (GNU_PROPERTY_HIUSER): Likewise.
36799 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
36800 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
36801 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
36802 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
36803 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
36804 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
36805 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
36806 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
36807 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
36808 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
36809 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
36810 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
36811 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
36812 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
36813 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
36814 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
36815 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
36816 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
36817 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
36818 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
36819 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
36820 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
36821 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
36822
36823 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36824
36825 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
36826 in C++ mode.
36827
36828 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36829
36830 [BZ #21930]
36831 * math/math.h (isinf): Check if in C or C++ mode before using
36832 __builtin_types_compatible_p, since this is a C mode feature.
36833
36834 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36835
36836 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
36837 (__write_nocancel): New macro.
36838 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
36839 Rewrite as a function prototype.
36840 (write_not_cancel): Remove macro.
36841 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
36842 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
36843 (write_gmon): Likewise.
36844 * libio/fileops.c (_IO_new_file_write): Likewise.
36845 * login/utmp_file.c (pututline_file): Likewise.
36846 (updwtmp_file): Likewise.
36847 * stdio-common/psiginfo.c (psiginfo): Likewise.
36848 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36849 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36850 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36851 Likewise.
36852 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36853 Likewise.
36854
36855 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
36856 (__read_nocancel): New macro.
36857 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36858 __read_nocancel.
36859 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
36860 macro.
36861 (__read_nocancel): New prototype.
36862 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
36863 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
36864 with __read_nocancel.
36865 * intl/loadmsgcat.c (read): Likewise.
36866 * libio/fileops.c (_IO_file_read): Likewise.
36867 * locale/loadlocale.c (_nl_load_locale): Likewise.
36868 * login/utmp_file.c (getutent_r_file): Likewise.
36869 (internal_getut_r): Likewise.
36870 (getutline_r_file): Likewise.
36871 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36872 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
36873 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36874 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36875 Likewise.
36876 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
36877 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36878 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36879 Likewise.
36880 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36881 Likewise.
36882 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36883 Likewise.
36884 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36885 Likewise.
36886 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36887
36888 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36889
36890 [BZ #21966]
36891 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
36892 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
36893 usable.
36894
36895 2017-08-17 DJ Delorie <dj@redhat.com>
36896
36897 * bug17079.c: Update to new test harness.
36898 * test-digits-dots.c: Likewise.
36899 * test-netdb.c: Likewise.
36900 * tst-field.c: Likewise.
36901 * tst-nss-getpwent.c: Likewise.
36902 * tst-nss-static.c: Likewise.
36903 * tst-nss-test1.c: Likewise.
36904 * tst-nss-test2.c: Likewise.
36905 * tst-nss-test3.c: Likewise.
36906 * tst-nss-test4.c: Likewise.
36907 * tst-nss-test5.c: Likewise.
36908
36909 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36910
36911 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
36912 (open_not_cancel_2): Likewise.
36913 (open_nocancel): New macro.
36914 (open64_nocancel): Likewise.
36915 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
36916 (open_not_cancel_2): Likewise.
36917 (__open_nocancel): New prototype.
36918 (__open64_nocancel): Likewise.
36919 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36920 __open_nocancel.
36921 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
36922 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
36923 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
36924 with __open_nocancel.
36925 * csu/check_fds.c (check_one_fd): Likewise.
36926 * gmon/gmon.c (write_gmon): Likewise.
36927 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
36928 * intl/loadmsgcat.c (open): Likewise.
36929 * libio/fileops.c (_IO_file_open): Likewise.
36930 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36931 * locale/loadlocale.c (_nl_load_locale): Likewise.
36932 * login/utmp_file.c (setutent_file): Likewise.
36933 * misc/daemon.c (daemon): Likewise.
36934 * nss/nss_db/db-open.c (internal_setent): Likewise.
36935 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36936 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
36937 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36938 (__opendir): Likewise.
36939 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36940 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36941 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36942 (gethostid): Likewise.
36943 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36944 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36945 Likewise.
36946 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36947 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
36948 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36949 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36950 Likewise.
36951 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36952 Likewise.
36953 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36954 Likewise.
36955 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36956 Likewise.
36957 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36958 Likewise.
36959 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36960 Likewise.
36961 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36962 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36963
36964 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
36965
36966 * benchtests/bench-skeleton.c (main): Add support for
36967 latency benchmarking.
36968 * benchtests/scripts/bench.py: Add support for latency benchmarking.
36969
36970 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
36971
36972 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
36973 the startup object.
36974
36975 2017-08-17 Florian Weimer <fweimer@redhat.com>
36976
36977 * include/sys/socket.h (__opensock): Remove internal_function.
36978 * socket/opensock.c (__opensock): Likewise.
36979 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
36980
36981 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36982
36983 [BZ #21944]
36984 * signal/bits/types/__sigval_t.h: New file.
36985 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
36986 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
36987 and define sigval_t using __sigval_t.
36988 * include/bits/types/__sigval_t.h: New file.
36989 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
36990 instead of <bits/types/__sigval_t.h>.
36991 (struct sigevent): Use __sigval_t instead of sigval_t.
36992 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
36993 instead of <bits/types/__sigval_t.h>.
36994 (siginfo_t): Use __sigval_t instead of sigval_t.
36995 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
36996 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36997 (struct sigevent): Use __sigval_t instead of sigval_t.
36998 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
36999 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
37000 (siginfo_t): Use __sigval_t instead of sigval_t.
37001 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
37002
37003 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37004
37005 * NEWS: Remove "[Add new features here]" for 2.27.
37006
37007 2017-08-16 Joseph Myers <joseph@codesourcery.com>
37008
37009 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
37010 libc.so.
37011
37012 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37013
37014 * NEWS: Mention x86-64 FMA optimization.
37015
37016 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
37017
37018 [BZ #21912]
37019 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37020 Add e_expf-fma.
37021 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
37022 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
37023 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
37024
37025 2017-08-16 Andreas Schwab <schwab@suse.de>
37026
37027 [BZ #16750]
37028 CVE-2009-5064
37029 * elf/ldd.bash.in: Never run file directly.
37030
37031 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
37032
37033 [BZ #21955]
37034 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
37035 (L(SP_INF_0)): Likewise.
37036
37037 2017-08-15 Florian Weimer <fweimer@redhat.com>
37038
37039 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
37040 run-built-tests.
37041
37042 2017-08-15 Florian Weimer <fweimer@redhat.com>
37043
37044 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
37045 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
37046 BROKEN_THREAD_SIGNALS code.
37047 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
37048 request_list): Remove caller_pid member used for
37049 BROKEN_THREAD_SIGNALS.
37050 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
37051 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
37052 Remove BROKEN_THREAD_SIGNALS support.
37053 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
37054 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
37055
37056 2017-08-15 Florian Weimer <fweimer@redhat.com>
37057
37058 * gmon/Makefile (tests): Add tst-gmon.
37059 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
37060 Set.
37061 (tests-special): Add tst-gmon-prof.out.
37062 (tst-gmon.out): Depend on clean-tst-gmon-data.
37063 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
37064 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
37065 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
37066 startup object.
37067 * aclocal.m4 (GPROF): Set and substitute.
37068 * config.amke.in (GPROF): Set.
37069 * configure: Regenerate.
37070
37071 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
37072
37073 * elf/elf.h A (NT_PPC_TAR): New macro.
37074 (NT_PPC_PPR): Likewise.
37075 (NT_PPC_DSCR): Likewise.
37076 (NT_PPC_EBB): Likewise.
37077 (NT_PPC_PMU): Likewise.
37078 (NT_PPC_TM_CGPR): Likewise.
37079 (NT_PPC_TM_CFPR): Likewise.
37080 (NT_PPC_TM_CVMX): Likewise.
37081 (NT_PPC_TM_CVSX): Likewise.
37082 (NT_PPC_TM_SPR): Likewise.
37083 (NT_PPC_TM_CTAR): Likewise.
37084 (NT_PPC_TM_CPPR): Likewise.
37085 (NT_PPC_TM_CDSCR): Likewise.
37086
37087 2017-08-15 Florian Weimer <fweimer@redhat.com>
37088
37089 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
37090 regparm (2) instead of internal_function.
37091 (_MCOUNT_DECL): Adjust.
37092
37093 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
37094
37095 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
37096 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
37097
37098 2017-08-14 Joseph Myers <joseph@codesourcery.com>
37099
37100 * conform/data/sys/wait.h-data (si_value): Do not expect for
37101 XPG42.
37102
37103 2017-08-14 Florian Weimer <fweimer@redhat.com>
37104
37105 [BZ #21962]
37106 NSS: Create stubs for accidentally exported lookup functions.
37107 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
37108 Remove declaration.
37109 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
37110 (ether_hostton): Call __nss_ethers_lookup2 instead.
37111 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
37112 (ether_ntohost): Call __nss_ethers_lookup2 instead.
37113 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
37114 (setup): Call __nss_netgroup_lookup2 instead.
37115 * nss/Makefile (routines): Add compat-lookup.
37116 * nss/Versions (GLIBC_2.27): Add symbol version.
37117 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
37118 (DB_COMPAT_FCT): Remove.
37119 * nss/compat-lookup.c: New file.
37120 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
37121 from databases.def.
37122 * nss/service-lookup.c (NO_COMPAT): Remove definition.
37123 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
37124 (netname2user): Call __nss_publickey_lookup2 instead.
37125 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
37126 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
37127 instead.
37128
37129 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37130 Sergei Trofimovich <slyfox@inbox.ru>
37131
37132 [BZ #21908]
37133 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
37134 Rename to MMAP2_PAGE_UNIT.
37135 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
37136 __OFF_T_MATCHES_OFF64_T is not defined.
37137 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
37138 uint64_t.
37139 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
37140 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
37141
37142 2017-08-14 Florian Weimer <fweimer@redhat.com>
37143
37144 i386: Do not set internal_function.
37145 * config.h.in (USE_REGPARMS, internal_function): Remove.
37146 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
37147 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
37148
37149 2017-08-14 Florian Weimer <fweimer@redhat.com>
37150
37151 * elf/dl-init.c (_dl_init): Remove internal_function.
37152 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
37153 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
37154
37155 2017-08-14 Florian Weimer <fweimer@redhat.com>
37156
37157 * elf/rtld.c (_dl_start): Remove internal_function.
37158 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
37159 _dl_start.
37160
37161 2017-08-14 Florian Weimer <fweimer@redhat.com>
37162
37163 * elf/dl-fini.c (_dl_fini): Remove internal_function
37164 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
37165
37166 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
37167
37168 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
37169 (bit_cpu_SHSTK): Likewise.
37170 (index_cpu_IBT): Likewise.
37171 (index_cpu_SHSTK): Likewise.
37172 (reg_IBT): Likewise.
37173 (reg_SHSTK): Likewise.
37174 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
37175 Handle index_cpu_IBT and index_cpu_SHSTK.
37176
37177 2017-08-14 Mike FABIAN <mfabian@redhat.com>
37178
37179 [BZ #19982]
37180 * po/fr.po: Fix spelling mistake.
37181
37182 2017-08-13 Florian Weimer <fweimer@redhat.com>
37183
37184 * elf/dl-addr.c (_dl_addr): Remove internal_function.
37185 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
37186 (_dl_catch_error, _dl_receive_error): Likewise.
37187 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
37188 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
37189 (_dl_deallocate_tls): Likewise.
37190 * include/dlfcn.h (_dl_addr): Likewise.
37191 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
37192 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
37193 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
37194 Likewise.
37195
37196 2017-08-13 Florian Weimer <fweimer@redhat.com>
37197
37198 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
37199 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
37200 internal_function.
37201 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
37202
37203 2017-08-13 Florian Weimer <fweimer@redhat.com>
37204
37205 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
37206 internal_function.
37207 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
37208 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
37209 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
37210 internal_function from _dl_make_stack_executable_hook member.
37211 (_dl_make_stack_executable): Remove internal_function.
37212 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
37213 Likewise.
37214 * sysdeps/unix/sysv/linux/dl-execstack.c
37215 (_dl_make_stack_executable): Likewise.
37216
37217 2017-08-13 Florian Weimer <fweimer@redhat.com>
37218
37219 * sysdeps/unix/sysv/linux/netlinkaccess.h
37220 (__netlink_assert_response): Remove internal_function.
37221 * sysdeps/unix/sysv/linux/netlink_assert_response.c
37222 (__netlink_assert_response): Likewise.
37223
37224 2017-08-13 Florian Weimer <fweimer@redhat.com>
37225
37226 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
37227 internal_function.
37228 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
37229
37230 2017-08-13 Florian Weimer <fweimer@redhat.com>
37231
37232 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
37233 internal_function.
37234 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
37235 * inet/netgroup.h (__internal_setnetgrent)
37236 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37237 * inet/getnetgrent_r.c (__internal_setnetgrent)
37238 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
37239 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
37240 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
37241 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
37242 * nss/nsswitch.h (db_lookup_function): Likewise.
37243
37244 2017-08-13 Florian Weimer <fweimer@redhat.com>
37245
37246 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
37247 Remove internal_function.
37248 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
37249 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
37250 message argument on the stack.
37251 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
37252 Likeweise.
37253
37254 2017-08-12 Mike FABIAN <mfabian@redhat.com>
37255
37256 Adapt test case data to the changes in the thousands
37257 separators.
37258
37259 [BZ #20756]
37260 * localedata/tst-langinfo.sh: Adapt test case data.
37261 * stdlib/tst-strfmon_l.c: Likewise.
37262 * stdlib/tst-strtod4.c: Likewise.
37263 * stdlib/tst-strtod5i.c: Likewise.
37264
37265 2017-08-11 Florian Weimer <fweimer@redhat.com>
37266
37267 [BZ #21242]
37268 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
37269 Suppress pedantic warning resulting from statement expression.
37270 (__ASSERT_FUNCTION): Add missing __extension__.
37271
37272 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
37273
37274 * benchtests/bench-memmove-large.c: Print output in JSON
37275 format.
37276 * benchtests/bench-memmove.c: Likewise.
37277
37278 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
37279 * benchtests/bench-memchr.c (do_one_test): Likewise.
37280 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
37281 * benchtests/bench-memcpy.c (do_one_test): Likewise.
37282 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
37283 * benchtests/bench-memmove.c (do_one_test): Likewise.
37284 * benchtests/bench-memset-large.c (do_one_test): Likewise.
37285 * benchtests/bench-memset.c (do_one_test): Likewise.
37286 * benchtests/bench-string.h (test_init): Remove memsets.
37287
37288 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37289
37290 * manual/lang.texi
37291 (Computing the Width of an Integer Data Type): Rename section to
37292 "Width of an Integer Type". Remove inaccurate statement regarding
37293 lack of C language facilities for determining width of integer
37294 types, and reorder content to improve flow and context of
37295 discussion.
37296
37297 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
37298
37299 * lang.texi (va_copy): Change standard from ISO to C99.
37300 (__va_copy): Add standard and header annotation.
37301 Update description for clarity of origins and current use.
37302
37303 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37304
37305 [BZ #21941]
37306 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
37307 xssqrtqp requires operands to be in Vector Registers
37308 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
37309 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
37310 (__ieee754_sqrtf128): Likewise.
37311
37312 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
37313
37314 * sysdeps/aarch64/memcmp.S (memcmp):
37315 Rewrite of optimized memcmp.
37316
37317 2017-08-10 Florian Weimer <fweimer@redhat.com>
37318
37319 Introduce ld.so exceptions.
37320 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
37321 (_dl_exception_create, _dl_exception_create_format)
37322 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
37323 (_dl_catch_exception): Declare.
37324 (_dl_catch_error): Update comment.
37325 * elf/dl-error-skeleton.c (struct catch): Replace objname,
37326 errstring, malloced members with exception member.
37327 (_dl_out_of_memory): Remove.
37328 (fatal_error): New function, extracted from _dl_signal_error.
37329 (_dl_signal_exception, _dl_signal_cexception): New functions.
37330 (_dl_signal_error): Call _dl_exception_create to allocate an
37331 exception object.
37332 (_dl_catch_exception): New function, based on _dl_catch_error.
37333 (_dl_catch_error): Implement using _dl_catch_exception.
37334 * elf/dl-exception.c: New file.
37335 * elf/Makefile (dl-routines): Add dl-exception.
37336 (elide-routines.os): Likewise.
37337 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
37338 _dl_exception_create_format, _dl_exception_free.
37339 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
37340 _dl_signal_exception.
37341 * elf/dl-lookup.c (make_string): Remove.
37342 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
37343 _dl_signal_cexception, _dl_exception_free.
37344 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
37345 _dl_signal_exception.
37346 * elf/dl-sym.c (do_sym): Likewise.
37347 * elf/dl-version.c (make_string): Remove.
37348 (match_symbol): Use _dl_exception_create_format,
37349 _dl_signal_cexception, _dl_exception_free.
37350 (_dl_check_map_versions): Likewise.
37351 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
37352 _dl_catch_exception.
37353 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
37354 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
37355 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
37356 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
37357 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
37358 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
37359 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
37360 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
37361 Likewise.
37362 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
37363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
37364 (ld.so): Likewise.
37365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
37366 (ld.so): Likewise.
37367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
37368 Likewise.
37369 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
37370 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
37371 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
37372 Likewise.
37373 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
37374 Likewise.
37375 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
37376
37377 2017-08-10 Florian Weimer <fweimer@redhat.com>
37378
37379 * inet/net-internal.h (__inet6_scopeid_pton): Remove
37380 attribute_hidden, internal_function.
37381 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
37382 internal_function.
37383
37384 2017-08-10 Florian Weimer <fweimer@redhat.com>
37385
37386 * malloc/malloc.c (get_max_fast): Reimplement as an inline
37387 function which calls __builtin_unreachable.
37388
37389 2017-08-10 Mike FABIAN <mfabian@redhat.com>
37390
37391 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
37392 Indian monetary formatting
37393 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
37394 test cases.
37395
37396 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
37397
37398 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
37399 Fix typo in comment.
37400
37401 [BZ #21928]
37402 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
37403 PTRACE_SEIZE_DEVEL): Remove.
37404 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
37405 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37406 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37407 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37408 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37409
37410 2017-08-09 Joseph Myers <joseph@codesourcery.com>
37411
37412 * posix/bits/types.h (__qaddr_t): Remove.
37413
37414 [BZ #21457]
37415 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
37416 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37417 __glibc_reserved1.
37418 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
37419 (ucontext_t): Use __ctx with uc_flags.
37420 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
37421 (__ctxt): Likewise.
37422 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37423 __glibc_reserved1.
37424 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
37425 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37426 __glibc_reserved1.
37427 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
37428 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37429 __glibc_reserved1.
37430 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
37431 macro.
37432 (ucontext_t): Use __ctx with uc_flags.
37433 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
37434 (ucontext_t): Use __ctx with uc_flags.
37435 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
37436 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
37437 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
37438 (ucontext_t): Use __ctx with uc_flags.
37439 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
37440 undefine further down.
37441 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37442 __glibc_reserved1.
37443 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
37444 undefine further down.
37445 (ucontext_t): Use __ctx with uc_flags.
37446 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
37447 undefine further down.
37448 (ucontext_t): Use __ctx with uc_flags.
37449 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
37450 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
37451 Rename uc_pad to __glibc_reserved1.
37452 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
37453 undefine further down.
37454 (ucontext_t): Use __ctx with uc_flags.
37455 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
37456 further down.
37457 (ucontext_t): Use __ctx with uc_flags.
37458 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
37459 __ctx with uc_flags.
37460 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
37461 (ucontext_t): Use __ctx with uc_flags.
37462 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
37463 __ctx with uc_flags.
37464
37465 2017-08-09 Florian Weimer <fweimer@redhat.com>
37466
37467 [BZ #21932]
37468 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
37469 before early return.
37470
37471 2017-08-09 Andreas Schwab <schwab@suse.de>
37472
37473 [BZ #21041]
37474 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
37475 renamed alias.
37476
37477 [BZ #21041]
37478 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
37479 tst-compat-forwarder.
37480 (modules-names): Add tst-compat-forwarder-mod.
37481 ($(objpfx)tst-compat-forwarder): Depend on
37482 $(objpfx)tst-compat-forwarder-mod.so.
37483 * nptl/tst-compat-forwarder.c: New file.
37484 * nptl/tst-compat-forwarder-mod.c: New file.
37485
37486 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
37487
37488 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
37489 comments.
37490
37491 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
37492 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
37493 memcpy_falkor.
37494 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
37495 Bump.
37496 (__libc_ifunc_impl_list): Add __memcpy_falkor.
37497 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
37498 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
37499 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
37500 Add falkor.
37501 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
37502 New macro.
37503
37504 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37505
37506 [BZ #759]
37507 * manual/setjmp.texi (getcontex): Document uc_stack value
37508 compatibility differences.
37509
37510 2017-08-08 Joseph Myers <joseph@codesourcery.com>
37511
37512 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
37513 (old_malloc_hook): Likewise.
37514 (old_memalign_hook): Likewise.
37515 (old_realloc_hook): Likewise.
37516 (struct hdr): Likewise.
37517 (flood): Likewise.
37518 (freehook): Likewise.
37519 (mallochook): Likewise.
37520 (memalignhook): Likewise.
37521 (reallochook): Likewise.
37522 (mprobe): Likewise.
37523 * malloc/mtrace.c (mallwatch): Likewise.
37524 (tr_old_free_hook): Likewise.
37525 (tr_old_malloc_hook): Likewise.
37526 (tr_old_realloc_hook): Likewise.
37527 (tr_old_memalign_hook): Likewise.
37528 (tr_where): Likewise.
37529 (lock_and_info): Likewise.
37530 (tr_freehook): Likewise.
37531 (tr_mallochook): Likewise.
37532 (tr_reallochook): Likewise.
37533 (tr_memalignhook): Likewise.
37534 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
37535 * misc/mmap.c (__mmap): Likewise.
37536 * misc/mmap64.c (__mmap64): Likewise.
37537 * misc/mprotect.c (__mprotect): Likewise.
37538 * misc/msync.c (msync): Likewise.
37539 * misc/munmap.c (__munmap): Likewise.
37540 * posix/posix_madvise.c (posix_madvise): Likewise.
37541 * socket/send.c (__send): Likewise.
37542 * socket/sendto.c (__sendto): Likewise.
37543 * socket/setsockopt.c (__setsockopt): Likewise.
37544 * string/memcmp.c (__ptr_t): Remove macro.
37545 (MEMCMP): Use void * instead of ptr_t.
37546 * string/memrchr.c (__ptr_t): Remove macro.
37547 (__memrchr): Use void * instead of ptr_t.
37548 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
37549 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
37550 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
37551 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
37552 * sysdeps/mach/msync.c (msync): Likewise.
37553 * sysdeps/mach/munmap.c (__munmap): Likewise.
37554 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
37555 Likewise.
37556 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37557 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
37558 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
37559 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
37560 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
37561 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37562 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
37563 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
37564 Likewise.
37565 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37566 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
37567 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
37568 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
37569 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
37570 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
37571 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
37572 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
37573 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
37574 Likewise.
37575 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
37576 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
37577 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
37578 (MEMCMP): Use void * instead of ptr_t.
37579 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
37580 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
37581
37582 2017-08-08 Florian Weimer <fweimer@redhat.com>
37583
37584 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
37585 return statement.
37586
37587 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
37588
37589 [BZ #21913]
37590 * csu/libc-tls.c: Include <startup.h> first.
37591 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
37592 * elf/dl-tunables.c: Include <startup.h> first.
37593 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
37594 * sysdeps/generic/startup.h: New file.
37595 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
37596 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
37597 (I386_USE_SYSENTER): New. Defined to 0.
37598
37599 2017-08-08 Andreas Schwab <schwab@suse.de>
37600
37601 [BZ #21041]
37602 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
37603 * nptl/pt-system.c (system): Likewise.
37604
37605 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37606
37607 [BZ #21780]
37608 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
37609 EOPNOTSUPP.
37610 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
37611 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
37612 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
37613 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
37614 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
37615 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
37616 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
37617
37618 2017-08-07 Joseph Myers <joseph@codesourcery.com>
37619
37620 [BZ #21899]
37621 * bits/sigaction.h (struct sigaction): Define sa_handler and
37622 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
37623 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37624 [__USE_XOPEN_EXTENDED].
37625 (SA_RESTART): Likewise.
37626 (SA_NODEFER): Likewise.
37627 (SA_RESETHAND): Likewise.
37628 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
37629 (struct sigaction): Define sa_handler and sa_sigaction using union
37630 also for [__USE_XOPEN_EXTENDED].
37631 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37632 [__USE_XOPEN_EXTENDED].
37633 (SA_RESTART): Likewise.
37634 (SA_NODEFER): Likewise.
37635 (SA_RESETHAND): Likewise.
37636 * sysdeps/unix/sysv/linux/bits/sigaction.h
37637 (struct sigaction): Define sa_handler and sa_sigaction using union
37638 also for [__USE_XOPEN_EXTENDED].
37639 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37640 [__USE_XOPEN_EXTENDED].
37641 (SA_RESTART): Likewise.
37642 (SA_NODEFER): Likewise.
37643 (SA_RESETHAND): Likewise.
37644 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
37645 (struct sigaction): Define sa_handler and sa_sigaction using union
37646 also for [__USE_XOPEN_EXTENDED].
37647 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37648 [__USE_XOPEN_EXTENDED].
37649 (SA_RESTART): Likewise.
37650 (SA_NODEFER): Likewise.
37651 (SA_RESETHAND): Likewise.
37652 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
37653 (struct sigaction): Define sa_handler and sa_sigaction using union
37654 also for [__USE_XOPEN_EXTENDED].
37655 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37656 [__USE_XOPEN_EXTENDED].
37657 (SA_RESTART): Likewise.
37658 (SA_NODEFER): Likewise.
37659 (SA_RESETHAND): Likewise.
37660 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37661 (struct sigaction): Define sa_handler and sa_sigaction using union
37662 also for [__USE_XOPEN_EXTENDED].
37663 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37664 [__USE_XOPEN_EXTENDED].
37665 (SA_RESTART): Likewise.
37666 (SA_NODEFER): Likewise.
37667 (SA_RESETHAND): Likewise.
37668 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37669 (struct sigaction): Define sa_handler and sa_sigaction using union
37670 also for [__USE_XOPEN_EXTENDED].
37671 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37672 [__USE_XOPEN_EXTENDED].
37673 (SA_RESTART): Likewise.
37674 (SA_NODEFER): Likewise.
37675 (SA_RESETHAND): Likewise.
37676 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37677 (struct sigaction): Define sa_handler and sa_sigaction using union
37678 also for [__USE_XOPEN_EXTENDED].
37679 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37680 [__USE_XOPEN_EXTENDED].
37681 (SA_RESTART): Likewise.
37682 (SA_NODEFER): Likewise. Define directly rather than as alias.
37683 (SA_RESETHAND): Likewise.
37684 (SA_INTERRUPT): Define only for [__USE_MISC].
37685 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
37686 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
37687 [__USE_MISC].
37688 (SA_STACK): Define only for [__USE_MISC].
37689 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
37690 (struct sigaction): Define sa_handler and sa_sigaction using union
37691 also for [__USE_XOPEN_EXTENDED].
37692 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37693 [__USE_XOPEN_EXTENDED].
37694 (SA_RESTART): Likewise.
37695 (SA_NODEFER): Likewise.
37696 (SA_RESETHAND): Likewise.
37697 (SA_NOPTRACE): Define only for [__USE_MISC].
37698
37699 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
37700 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
37701 (struct catalog_info): Likewise.
37702 * inet/htontest.c (lo): Likewise.
37703 (foo): Likewise.
37704 * inet/inet_lnaof.c (inet_lnaof): Likewise.
37705 * inet/inet_net.c (inet_network): Likewise.
37706 * inet/inet_netof.c (inet_netof): Likewise.
37707 * inet/rcmd.c (__ivaliduser): Likewise.
37708 (iruserok): Likewise.
37709 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
37710 * locale/programs/locale-spec.c (locale_special): Likewise.
37711 * nis/nis_findserv.c (struct findserv_req): Likewise.
37712 (__nis_findfastest_with_timeout): Likewise.
37713 * nss/test-netdb.c (test_network): Likewise.
37714 * resolv/inet_neta.c (inet_neta): Likewise.
37715 * resolv/ns_date.c (ns_datetosecs): Likewise.
37716 (SECS_PER_DAY): Likewise.
37717 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
37718 Likewise.
37719 * resolv/res_comp.c (__putlong): Likewise.
37720 (__putshort): Likewise.
37721 (_getlong): Likewise.
37722 (_getshort): Likewise.
37723 * resolv/res_debug.c (p_time): Likewise.
37724 (precsize_ntoa): Likewise.
37725 (precsize_aton): Likewise.
37726 (latlon2ul): Likewise.
37727 (loc_aton): Likewise.
37728 (loc_ntoa): Likewise.
37729 * resolv/res_hconf.c (struct netaddr): Likewise.
37730 (_res_hconf_reorder_addrs): Likewise.
37731 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
37732 (clnttcp_control): Likewise.
37733 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37734 (clntudp_control): Likewise.
37735 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
37736 (clntunix_control): Likewise.
37737 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
37738 * sunrpc/rpc/auth.h (union des_block): Likewise.
37739 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
37740 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
37741 (xdrrec_create): Likewise.
37742 (xdrrec_endofrecord): Likewise.
37743 (flush_out): Likewise.
37744 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
37745 (xdrstdio_putlong): Likewise.
37746 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
37747 Likewise.
37748
37749 * misc/sys/cdefs.h (__long_double_t): Remove.
37750 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
37751 instead of __long_double_t,
37752 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
37753
37754 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
37755
37756 * benchtests/scripts/compare_strings.py: Avoid display error when
37757 running on a text terminal.
37758
37759 * benchtests/scripts/compare_strings.py (main): Add an
37760 optional -base option.
37761 (process_results): New argument base_func.
37762
37763 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
37764 hardcoding memcpy.
37765 * benchtests/bench-memcpy-large.c (test_name): Likewise.
37766 * benchtests/bench-memcpy-random.c (test_name): Likewise.
37767
37768 2017-08-07 Andreas Schwab <schwab@suse.de>
37769
37770 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
37771 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37772 * intl/Makefile ($(objpfx)tst-gettext.out)
37773 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
37774 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
37775 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37776 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37777 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
37778 * posix/Makefile ($(objpfx)globtest.out)
37779 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
37780 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
37781 ($(objpfx)tst-printf.out): Likewise.
37782 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
37783 ($(objpfx)tst-setcontext3.out): Likewise.
37784
37785 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
37786
37787 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37788 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
37789 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
37790 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
37791 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
37792 and mptan-fma.
37793 (CFLAGS-doasin-fma.c): New.
37794 (CFLAGS-dosincos-fma.c): Likewise.
37795 (CFLAGS-e_asin-fma.c): Likewise.
37796 (CFLAGS-e_atan2-fma.c): Likewise.
37797 (CFLAGS-e_exp-fma.c): Likewise.
37798 (CFLAGS-e_log-fma.c): Likewise.
37799 (CFLAGS-e_pow-fma.c): Likewise.
37800 (CFLAGS-halfulp-fma.c): Likewise.
37801 (CFLAGS-mpa-fma.c): Likewise.
37802 (CFLAGS-mpatan-fma.c): Likewise.
37803 (CFLAGS-mpatan2-fma.c): Likewise.
37804 (CFLAGS-mpexp-fma.c): Likewise.
37805 (CFLAGS-mplog-fma.c): Likewise.
37806 (CFLAGS-mpsqrt-fma.c): Likewise.
37807 (CFLAGS-mptan-fma.c): Likewise.
37808 (CFLAGS-s_atan-fma.c): Likewise.
37809 (CFLAGS-sincos32-fma.c): Likewise.
37810 (CFLAGS-slowexp-fma.c): Likewise.
37811 (CFLAGS-slowpow-fma.c): Likewise.
37812 (CFLAGS-s_sin-fma.c): Likewise.
37813 (CFLAGS-s_tan-fma.c): Likewise.
37814 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
37815 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
37816 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
37817 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
37818 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
37819 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
37820 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
37821 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
37822 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
37823 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
37824 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
37825 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
37826 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
37827 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
37828 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
37829 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
37830 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
37831 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
37832 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
37833 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
37834 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
37835 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
37836 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
37837 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
37838 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37839 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37840 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37841 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
37842 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37843 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37844 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37845
37846 2017-08-04 Joseph Myers <joseph@codesourcery.com>
37847
37848 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
37849 (min_of_type_f): New macro.
37850 (min_of_type_): Likewise.
37851 (min_of_type_l): Likewise.
37852 (min_of_type_f128): Likewise.
37853 (min_of_type): Define using __MATH_TG and taking an expression
37854 argument.
37855 (math_check_force_underflow): Pass expression instead of type to
37856 min_of_type.
37857 (math_check_force_underflow_nonneg): Likewise.
37858
37859 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37860
37861 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
37862 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
37863 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
37864
37865 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37866
37867 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37868 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
37869 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
37870 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
37871 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
37872 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
37873 memcpy_chk-nonshared, mempcpy_chk-nonshared,
37874 memmove_chk-nonshared and memset_chk-nonshared
37875 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
37876 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
37877 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
37878 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
37879 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
37880 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
37881 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
37882 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
37883 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
37884 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
37885 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
37886 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
37887 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
37888 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
37889 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
37890 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
37891 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
37892 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
37893 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
37894 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
37895 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
37896 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
37897 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
37898 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
37899 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
37900 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
37901 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
37902 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
37903 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
37904 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
37905 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
37906 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
37907 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
37908 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37909 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37910 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
37911 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
37912 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
37913 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
37914 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
37915 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
37916 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
37917 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
37918 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
37919 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
37920 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
37921 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
37922 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
37923 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
37924 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
37925 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
37926 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
37927 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
37928 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
37929 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
37930 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
37931 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
37932 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
37933 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
37934 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
37935 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
37936 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
37937 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
37938 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
37939 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
37940 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
37941 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
37942 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
37943 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
37944 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
37945 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
37946 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37947 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37948 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37949 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37950 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37951 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37952 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37953 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37954 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37955 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37956 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37957 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37958 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37959 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37960 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37961 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37962 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37963 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37964 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37965 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37966 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37967 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37968 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37969 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37970 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37971 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37972 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37973 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37974 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37975 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37976 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37977 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37978 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37979 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37980 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37981 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37982 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37983
37984 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37985
37986 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
37987 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
37988 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
37989 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
37990 svml_d_log2_core-sse2, svml_d_log4_core-sse,
37991 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
37992 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
37993 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
37994 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
37995 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
37996 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
37997 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
37998 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
37999 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
38000 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
38001 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
38002 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
38003 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
38004 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
38005 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
38006 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
38007 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
38008 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
38009 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
38010 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
38011 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
38012 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
38013 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
38014 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
38015 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
38016 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
38017 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
38018 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
38019 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
38020 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
38021 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
38022 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
38023 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
38024 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
38025 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
38026 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
38027 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
38028 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
38029 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
38030 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
38031 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
38032 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
38033 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
38034 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
38035 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
38036 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
38037 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
38038 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
38039 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
38040 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
38041 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
38042 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
38043 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
38044 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
38045 ...
38046 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
38047 Don't include <sysdep.h> nor <init-arch.h>.
38048 (_ZGVbN2v_cos): Removed.
38049 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
38050 ...
38051 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
38052 Don't include <sysdep.h> nor <init-arch.h>.
38053 (_ZGVdN4v_cos): Removed.
38054 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
38055 ...
38056 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
38057 Don't include <sysdep.h> nor <init-arch.h>.
38058 (_ZGVeN8v_cos): Removed.
38059 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
38060 ...
38061 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
38062 Don't include <sysdep.h> nor <init-arch.h>.
38063 (_ZGVbN2v_exp): Removed.
38064 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
38065 ...
38066 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
38067 Don't include <sysdep.h> nor <init-arch.h>.
38068 (_ZGVdN4v_exp): Removed.
38069 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
38070 ...
38071 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
38072 Don't include <sysdep.h> nor <init-arch.h>.
38073 (_ZGVeN8v_exp): Removed.
38074 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
38075 ...
38076 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
38077 Don't include <sysdep.h> nor <init-arch.h>.
38078 (_ZGVbN2v_log): Removed.
38079 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
38080 ...
38081 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
38082 Don't include <sysdep.h> nor <init-arch.h>.
38083 (_ZGVdN4v_log): Removed.
38084 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
38085 ...
38086 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
38087 Don't include <sysdep.h> nor <init-arch.h>.
38088 (_ZGVeN8v_log): Removed.
38089 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
38090 ...
38091 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
38092 Don't include <sysdep.h> nor <init-arch.h>.
38093 (_ZGVbN2vv_pow): Removed.
38094 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
38095 ...
38096 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
38097 Don't include <sysdep.h> nor <init-arch.h>.
38098 (_ZGVdN4vv_pow): Removed.
38099 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
38100 ...
38101 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
38102 Don't include <sysdep.h> nor <init-arch.h>.
38103 (_ZGVeN8vv_pow): Removed.
38104 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
38105 ...
38106 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
38107 Don't include <sysdep.h> nor <init-arch.h>.
38108 (_ZGVbN2v_sin): Removed.
38109 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
38110 ...
38111 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
38112 Don't include <sysdep.h> nor <init-arch.h>.
38113 (_ZGVbN4v_sin): Removed.
38114 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
38115 ...
38116 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
38117 Don't include <sysdep.h> nor <init-arch.h>.
38118 (_ZGVbN8v_sin): Removed.
38119 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
38120 ...
38121 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
38122 Don't include <sysdep.h> nor <init-arch.h>.
38123 (_ZGVbN2vvv_sincos): Removed.
38124 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
38125 ...
38126 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
38127 Don't include <sysdep.h> nor <init-arch.h>.
38128 (_ZGVdN4vvv_sincos): Removed.
38129 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
38130 ...
38131 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
38132 Don't include <sysdep.h> nor <init-arch.h>.
38133 (_ZGVeN8vvv_sincos): Removed.
38134 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
38135 ...
38136 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
38137 Don't include <sysdep.h> nor <init-arch.h>.
38138 (_ZGVeN16v_cosf): Removed.
38139 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
38140 ...
38141 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
38142 Don't include <sysdep.h> nor <init-arch.h>.
38143 (_ZGVbN4v_cosf): Removed.
38144 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
38145 ...
38146 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
38147 Don't include <sysdep.h> nor <init-arch.h>.
38148 (_ZGVdN8v_cosf): Removed.
38149 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
38150 ...
38151 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
38152 Don't include <sysdep.h> nor <init-arch.h>.
38153 (_ZGVeN16v_expf): Removed.
38154 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
38155 ...
38156 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
38157 Don't include <sysdep.h> nor <init-arch.h>.
38158 (_ZGVbN4v_expf): Removed.
38159 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
38160 ...
38161 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
38162 Don't include <sysdep.h> nor <init-arch.h>.
38163 (_ZGVdN8v_expf): Removed.
38164 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
38165 ...
38166 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
38167 Don't include <sysdep.h> nor <init-arch.h>.
38168 (_ZGVeN16v_logf): Removed.
38169 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
38170 ...
38171 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
38172 Don't include <sysdep.h> nor <init-arch.h>.
38173 (_ZGVbN4v_logf): Removed.
38174 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
38175 ...
38176 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
38177 Don't include <sysdep.h> nor <init-arch.h>.
38178 (_ZGVdN8v_logf): Removed.
38179 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
38180 ...
38181 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
38182 Don't include <sysdep.h> nor <init-arch.h>.
38183 (_ZGVeN16vv_powf): Removed.
38184 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
38185 ...
38186 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
38187 Don't include <sysdep.h> nor <init-arch.h>.
38188 (_ZGVbN4vv_powf): Removed.
38189 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
38190 ...
38191 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
38192 Don't include <sysdep.h> nor <init-arch.h>.
38193 (_ZGVdN8vv_powf): Removed.
38194 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
38195 ...
38196 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
38197 Don't include <sysdep.h> nor <init-arch.h>.
38198 (_ZGVeN16vvv_sincosf): Removed.
38199 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
38200 ...
38201 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
38202 Don't include <sysdep.h> nor <init-arch.h>.
38203 (_ZGVbN4vvv_sincosf): Removed.
38204 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
38205 ...
38206 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
38207 Don't include <sysdep.h> nor <init-arch.h>.
38208 (_ZGVdN8vvv_sincosf): Removed.
38209 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
38210 ...
38211 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
38212 Don't include <sysdep.h> nor <init-arch.h>.
38213 (_ZGVeN16v_sinf): Removed.
38214 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
38215 ...
38216 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
38217 Don't include <sysdep.h> nor <init-arch.h>.
38218 (_ZGVbN4v_sinf): Removed.
38219 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
38220 ...
38221 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
38222 Don't include <sysdep.h> nor <init-arch.h>.
38223 (_ZGVdN8v_sinf): Removed.
38224
38225 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38226
38227 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38228 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
38229 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
38230 s_rint-sse4_1 and s_rintf-sse4_1.
38231 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
38232 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
38233 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
38234 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
38235 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
38236 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
38237 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
38238 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
38239 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
38240 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
38241 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
38242 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38243 (__ceil): Removed.
38244 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
38245 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
38246 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38247 (__ceilf): Removed.
38248 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
38249 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
38250 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38251 (__floor): Removed.
38252 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
38253 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
38254 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38255 (__floorf): Removed.
38256 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
38257 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
38258 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38259 (__nearbyint): Removed.
38260 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
38261 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
38262 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38263 (__nearbyintf): Removed.
38264 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
38265 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
38266 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38267 (__rint): Removed.
38268 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
38269 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
38270 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
38271 (__rintf): Removed.
38272
38273 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38274
38275 * sysdeps/i386/start.S (_start): Check Check PIC instead of
38276 SHARED. Avoid dynamic relocation against main in static PIE.
38277
38278 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38279
38280 [BZ #21815]
38281 * elf/Makefile (CFLAGS-tst-prelink.c): New.
38282 (LDFLAGS-tst-prelink): Likewise.
38283
38284 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38285
38286 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
38287 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
38288 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
38289 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
38290 (INTERNAL_SYSCALL_NCS): Likewise.
38291 (LOADARGS_1): Likewise.
38292 (LOADARGS_5): Likewise.
38293 (RESTOREARGS_1): Likewise.
38294 (RESTOREARGS_5): Likewise.
38295
38296 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38297
38298 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
38299 (MEMPCPY_SYMBOL): Likewise.
38300 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38301 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
38302 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
38303 in libc.a.
38304 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38305 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
38306 Likewise.
38307 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
38308 (__hidden_ver1): Don't use in libc.a.
38309 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
38310 (__mempcpy): Don't create a weak alias in libc.a.
38311 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
38312 libc.a.
38313 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
38314 (__hidden_ver1): Don't use in libc.a.
38315
38316 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38317
38318 * config.make.in (have-insert): New.
38319 * configure.ac (libc_cv_insert): New. Set to yes if linker
38320 supports INSERT in linker script.
38321 (AC_SUBST(libc_cv_insert): New.
38322 * configure: Regenerated.
38323 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
38324 if $(have-insert) == yes.
38325
38326 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38327
38328 * elf/Makefile (tests): Add vismain only if
38329 $(have-protected-data) == yes.
38330 (tests-pie): Likewise.
38331
38332 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38333
38334 [BZ #21871]
38335 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
38336 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
38337
38338 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38339
38340 [BZ #21790]
38341 * sysdeps/i386/i586/memset.S
38342 (__memset_zero_constant_len_parameter): Removed.
38343 * sysdeps/i386/i686/memset.S
38344 (__memset_zero_constant_len_parameter): Likewise.
38345 * sysdeps/i386/i686/multiarch/memset_chk.S
38346 (__memset_zero_constant_len_parameter): Likewise.
38347 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
38348 Likewise.
38349
38350 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38351
38352 * stdlib/getentropy.c (getentropy): Change return type to int.
38353
38354 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38355
38356 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
38357
38358 2017-08-03 Joseph Myers <joseph@codesourcery.com>
38359
38360 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
38361 u_intN_t.
38362 * math/s_nexttowardf.c (__nexttowardf): Likewise.
38363 * sysdeps/generic/math_private.h (ieee_double_shape_type):
38364 Likewise.
38365 (ieee_float_shape_type): Likewise.
38366 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
38367 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
38368 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38369 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38370 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
38371 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
38372 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
38373 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38374 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
38375 Likewise.
38376 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38377 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
38378 (__ieee754_yn): Likewise.
38379 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38380 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38381 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
38382 Likewise.
38383 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38384 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
38385 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
38386 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
38387 (__erfc): Likewise.
38388 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
38389 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
38390 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
38391 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
38392 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
38393 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
38394 Likewise.
38395 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
38396 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
38397 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
38398 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
38399 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38400 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
38401 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
38402 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
38403 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
38404 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
38405 (__issignaling): Likewise.
38406 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
38407 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
38408 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
38409 Likewise.
38410 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38411 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
38412 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
38413 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
38414 Likewise.
38415 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
38416 Likewise.
38417 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
38418 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
38419 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
38420 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
38421 (__erfcf): Likewise.
38422 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
38423 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
38424 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
38425 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
38426 Likewise.
38427 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
38428 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
38429 Likewise.
38430 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
38431 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
38432 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
38433 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
38434 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
38435 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38436 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
38437 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
38438 Likewise.
38439 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
38440 Likewise.
38441 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
38442 Likewise.
38443 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
38444 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
38445 Likewise.
38446 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38447 Likewise.
38448 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
38449 (__ieee754_ynl): Likewise.
38450 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
38451 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
38452 Likewise.
38453 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
38454 Likewise.
38455 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
38456 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
38457 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38458 Likewise.
38459 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
38460 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
38461 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
38462 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
38463 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
38464 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
38465 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
38466 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
38467 Likewise.
38468 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
38469 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
38470 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
38471 Likewise.
38472 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
38473 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
38474 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
38475 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
38476 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
38477 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38478 Likewise.
38479 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38480 Likewise.
38481 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38482 Likewise.
38483 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38484 Likewise.
38485 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
38486 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38487 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38488 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
38489 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
38490 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
38491 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
38492 Likewise.
38493 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38494 Likewise.
38495 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38496 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38497 Likewise.
38498 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
38499 (__ieee754_remainderl): Likewise.
38500 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38501 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38502 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38503 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38504 Likewise.
38505 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38506 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38507 Likewise.
38508 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38509 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
38510 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
38511 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
38512 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38513 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38514 Likewise.
38515 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
38516 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
38517 (__ieee754_y0l): Likewise.
38518 (pzero): Likewise.
38519 (qzero): Likewise.
38520 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38521 (__ieee754_y1l): Likewise.
38522 (pone): Likewise.
38523 (qone): Likewise.
38524 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
38525 (__ieee754_ynl): Likewise.
38526 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
38527 (__ieee754_lgammal_r): Likewise.
38528 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
38529 Likewise.
38530 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
38531 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
38532 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
38533 (__erfcl): Likewise.
38534 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
38535 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
38536 Likewise.
38537 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
38538 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
38539 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
38540 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
38541 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
38542 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38543 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38544 Likewise.
38545 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
38546 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38547 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
38548 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
38549 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38550 Likewise.
38551 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
38552 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
38553 Likewise.
38554 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
38555 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
38556 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
38557 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38558 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
38559
38560 2017-08-03 Florian Weimer <fweimer@redhat.com>
38561
38562 [BZ #21885]
38563 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
38564 on memory allocation failure.
38565
38566 2017-08-03 Alan Modra <amodra@gmail.com>
38567
38568 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
38569 tst-tlsopt-powerpc.c with function name change and no test harness.
38570 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
38571 Call tls_get_addr_opt_test.
38572 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
38573 (modules-names): Add mod-tlsopt-powerpc.
38574 (mod-tlsopt-powerpc.so-no-z-defs): Define.
38575 (tst-tlsopt-powerpc): Depend on .so.
38576 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
38577 define. Expand use in TLS_GD and TLS_LD.
38578
38579 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38580
38581 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
38582 function.
38583 * sysdeps/posix/shm_open.c: Include <pthread.h>.
38584
38585 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38586
38587 [BZ #21686]
38588 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
38589 comparing size with that of double.
38590 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38591 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38592 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38593 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38594 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38595 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
38596 unsigned __int128 types.
38597
38598 2017-08-02 Steve Ellcey <sellcey@cavium.com>
38599
38600 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
38601 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
38602 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
38603 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
38604 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
38605
38606 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38607
38608 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
38609
38610 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38611
38612 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
38613 of SHARED.
38614 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38615 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38616 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38617 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38618 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38619 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38620 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38621
38622 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38623
38624 [BZ #21685]
38625 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
38626 bit-field expressions passed to sizeof or typeof.
38627 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38628 (__TGMATH_F128): Likewise.
38629 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38630 (__TGMATH_CF128): Likewise.
38631 (__TGMATH_UNARY_REAL_ONLY): Likewise.
38632 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
38633 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
38634 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
38635 (__TGMATH_BINARY_REAL_ONLY): Likewise.
38636 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38637 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38638 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38639 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38640 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
38641 (__TGMATH_UNARY_REAL_IMAG): Likewise.
38642 (__TGMATH_UNARY_IMAG): Likewise.
38643 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
38644 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38645 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
38646 type.
38647 (define_vars_for_type): Handle bit_field type specially.
38648 (Tests.__init__): Declare structure with bit-field element.
38649
38650 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38651
38652 [BZ #21791]
38653 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
38654 (MEMCPY_CHK): Define only if SHARED is defined.
38655 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
38656 Likewise.
38657 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
38658 Likewise.
38659
38660 See ChangeLog.18 for earlier changes.