]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add NT_ARM_PAC_MASK and NT_MIPS_MSA from Linux 5.0 to elf.h.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
9ac2de69
JM
12019-03-25 Joseph Myers <joseph@codesourcery.com>
2
3 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
4 (NT_MIPS_MSA): Likewise.
5
38cc11da
AZ
62019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7
7621e38b
WD
8 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
9 * benchtests/README: Update description.
10 * benchtests/bench-timing.h: Default to hp-timing.
11 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
12 HP_TIMING_PRINT): Remove.
13 (HP_TIMING_NOW): Add generic implementation.
14 (hp_timing_t): Change to uint64_t.
15
1e372ded
AZ
16 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
17 HP_TIMING_INLINE.
18 * nptl/descr.h: Likewise.
19 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
20 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
21 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
22 Abstract hp-timing usage with RTLD_* macros.
23 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
24 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
25 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
26 HP_TIMING_NONAVAIL): Likewise.
27 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
28 Likewise.
29 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
30 HP_SMALL_TIMING_AVAIL): Likewise.
31 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
32 HP_SMALL_TIMING_AVAIL): Likewise.
33 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
34 HP_SMALL_TIMING_AVAIL): Likewise.
35 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
36 HP_SMALL_TIMING_AVAIL): Likewise.
37 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
38 Likewise.
39 * sysdeps/generic/hp-timing-common.h: Update comment with
40 HP_TIMING_AVAIL removal.
41
359653aa
AZ
42 * include/random-bits.h: New file.
43 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
44 (__res_context_mkquery): Remove usage hp-timing usage and replace with
45 random_bits.
46 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
47 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
48 Likewise.
49
6e8ba7fd
AZ
50 * include/libc-internal.h (__get_clockfreq): Remove prototype.
51 * rt/Makefile (clock-routines): Remove get_clockfreq.
52 * rt/get_clockfreq.c: Remove file.
53 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
54 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
55 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
56 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
57 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
58
77b6f553
AZ
59 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
60 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
61 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
62 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
63 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
64
38cc11da
AZ
65 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
66 pthread_clock_settime.
67 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
68 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
69 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
70 * elf/rtld.c (_dl_start_final): Likewise.
71 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
72 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
73 Remove.
74 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
75 (_dl_cpuclock_offset): Remove.
76 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
77 cpuclock_offset_ununsed.
78 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
79 cpuclock_offset set.
80 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
81 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
82 * nptl/pthread_clock_gettime.c: Remove file.
83 * nptl/pthread_clock_settime.c: Likewise.
84 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
85 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
86 and CLOCK_PROCESS_CPUTIME_ID support.
87 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
88 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
89 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
90 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
91 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
92 Likewise.
93 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
94
421749d6
SL
952019-03-22 Stefan Liebler <stli@linux.ibm.com>
96
97 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
98 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
99 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
100 New defines.
101 * sysdeps/s390/memmem-arch13.S: New file.
102 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
103 if it is only used as fallback.
104 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
105 * sysdeps/s390/multiarch/ifunc-impl-list.c
106 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
107
6f47401b
SL
1082019-03-22 Stefan Liebler <stli@linux.ibm.com>
109
110 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
111 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
112 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
113 New defines.
114 * sysdeps/s390/multiarch/ifunc-impl-list.c
115 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
116 * sysdeps/s390/strstr-arch13.S: New file.
117 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
118 if it is only used as fallback.
119 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
120
96fbb9a3
SL
1212019-03-22 Stefan Liebler <stli@linux.ibm.com>
122
123 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
124 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
125 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
126 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
127 ifunc selector.
128 * sysdeps/s390/multiarch/ifunc-impl-list.c
129 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
130 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
131 S390_IS_ARCH13_MIE3): New defines.
132
a899a551
SL
1332019-03-22 Stefan Liebler <stli@linux.ibm.com>
134
135 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
136 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
137 * sysdeps/s390/configure.ac: Add checks for arch13 support.
138 * sysdeps/s390/configure: Regenerated.
139
1a7df49c
SL
1402019-03-22 Stefan Liebler <stli@linux.ibm.com>
141
142 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
143 Add vxe2, vxp, dflt, sort flags.
144 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
145 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
146 capabilities.
147 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
148 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
149 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
150 HWCAP_S390_DFLT): Define.
151
5abcddd7
GG
1522019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
153
154 [BZ #24372]
155 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
156 of compiler warning.
157 * locale/programs/ld-collate.c (collate_output): Likewise.
158
ac64195c
DD
1592019-03-21 DJ Delorie <dj@redhat.com>
160
161 [BZ #24372]
162 * iconv/iconvconfig.c (write_output): Replace floating point math
163 with integer math to avoid imprecise results.
164 * locale/programs/ld-collate.c (collate_output): Likewise.
165
61f5e947
SL
1662019-03-21 Stefan Liebler <stli@linux.ibm.com>
167
168 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
169 Add HWCAP_S390_VX and HWCAP_S390_VXE.
170
57ada43c 1712019-03-20 mansayk <6688000@gmail.com>
172
173 [BZ #24296]
174 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
175 (abday): Likewise, but remove the trailing dots.
176
a2e57f89
JM
1772019-03-19 Joseph Myers <joseph@codesourcery.com>
178
179 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
180 macro.
181 (HWCAP_PACA): Likewise.
182 (HWCAP_PACG): Likewise.
183 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
184 Increase to 32.
185 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
186
e87d8ada
ST
1872019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
188
189 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
190 should be handled.
191
477e739b
JM
1922019-03-15 Joseph Myers <joseph@codesourcery.com>
193
194 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
195 version to 5.0.
196 (old_getpagesize): New syscall.
197
238d60a1
FY
1982019-03-15 Felix Yan <felixonmars@archlinux.org>
199
200 [BZ #24293]
201 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
202 * localedata/locales/cmn_TW (era): Likewise.
203 * localedata/locales/hak_TW (era): Likewise.
204 * localedata/locales/lzh_TW (era): Likewise.
205 * localedata/locales/nan_TW (era): Likewise.
206
a0a0dc83
FW
2072019-03-14 Florian Weimer <fweimer@redhat.com>
208
209 Remove obsolete, never-implemented XSI STREAMS declarations.
210 * manual/terminal.texi (Allocation): Remove portability note and
211 adjust example.
212 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
213 _SC_STREAMS.
214 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
215 * sysdeps/unix/inet/Subdirs (streams): Remove.
216 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
217 (conformtest-headers-UNIX98): Likewise.
218 (conformtest-headers-XOPEN2K): Likewise.
219 (conformtest-headers-POSIX2008): Likewise.
220 * posix/compat-streams.c: New file.
221 * posix/Makefile (routines): Add it.
222 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
223 getpmsg, isastream, putmsg, putpmsg.
224 (GLIBC_2.30): New section.
225 * bits/stropts.h: Remove file.
226 * bits/xtitypes.h: Likewise.
227 * conform/data/stropts.h-data: Likewise.
228 * include/stropts.h: Likewise.
229 * include/sys/stropts.h: Likewise.
230 * include/xtitypes.h: Likewise.
231 * streams/Makefile: Likewise.
232 * streams/fattach.c: Likewise.
233 * streams/fdetach.c: Likewise.
234 * streams/getmsg.c: Likewise.
235 * streams/getpmsg.c: Likewise.
236 * streams/isastream.c: Likewise.
237 * streams/putmsg.c: Likewise.
238 * streams/putpmsg.c: Likewise.
239 * streams/stropts.h: Likewise.
240 * streams/sys/stropts.h: Likewise.
241 * sysdeps/ia64/bits/xtitypes.h: Likewise.
242 * sysdeps/s390/bits/xtitypes.h: Likewise.
243 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
244 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
245 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
246 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
247 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
248 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
249 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
250 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
251 * sysdeps/x86/bits/xtitypes.h: Likewise.
252
081bdf94
FW
2532019-03-14 Florian Weimer <fweimer@redhat.com>
254
255 * nss/tst-nss-files-alias-truncated.c (do_test): Load
256 libnss_files.
257 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
258 but not with libnss_files.
259 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
260
97f8225d
ZW
2612019-03-14 Zack Weinberg <zackw@panix.com>
262
263 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
264 Specify encoding="utf-8" when opening headers to check.
265
0c1041ee
JM
2662019-03-13 Joseph Myers <joseph@codesourcery.com>
267
268 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
269 version to 5.0.
270 (Context.checkout_tar): Handle variable major version for Linux
271 kernel.
272
043440e7
FW
2732019-03-13 Florian Weimer <fweimer@redhat.com>
274
275 [BZ #24047]
276 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
277
29218b26
ZW
2782019-03-13 Zack Weinberg <zackw@panix.com>
279
280 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
281 Move to stdlib.
282 * include/inttypes.h: Adjust to match.
283 * include/stdint.h: New wrapper.
284
711a322a
ZW
2852019-03-13 Zack Weinberg <zackw@panix.com>
286
287 * scripts/check-obsolete-constructs.py: New test script.
288 * scripts/check-installed-headers.sh: Remove tests for
289 obsolete typedefs, superseded by check-obsolete-constructs.py.
290 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
291 as a special test. Update commentary.
292 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
293 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
294 Update commentary.
295 * posix/sys/types.h (__u_intN_t): Remove.
296 (u_int8_t): Typedef using __uint8_t.
297 (u_int16_t): Typedef using __uint16_t.
298 (u_int32_t): Typedef using __uint32_t.
299 (u_int64_t): Typedef using __uint64_t.
300
7c651308
SL
3012019-03-13 Stefan Liebler <stli@linux.ibm.com>
302
303 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
304 call _dl_procinfo.
305 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
306 Ignore types other than AT_HWCAP.
307 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
308 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
309 Likewise.
310 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
311 in the case of falling back to generic output mechanism.
312 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
313 Likewise.
314
38b52865
FW
3152019-03-12 Florian Weimer <fweimer@redhat.com>
316
317 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
318
08504de7
FW
3192019-03-12 Florian Weimer <fweimer@redhat.com>
320
321 [BZ #24047]
322 resolv: Enable full ICMP errors for UDP DNS sockets
323 * resolv/res_enable_icmp.c: New file.
324 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
325 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
326 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
327 socket.
328
5fbcd763
MH
3292019-03-11 Mao Han <han_mao@c-sky.com>
330
331 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
332 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
333
c4e5f34b
MH
3342019-03-11 Mao Han <han_mao@c-sky.com>
335
336 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
337 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
338 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
339
827e30f3
MH
3402019-03-11 Mao Han <han_mao@c-sky.com>
341
342 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
343 directly.
344 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
345 definition.
346
6229c9bf
MH
3472019-03-11 Mao Han <han_mao@c-sky.com>
348
349 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
350 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
351 in mcontext_t
352
86bdd49d
MF
3532019-03-08 Mike FABIAN <mfabian@redhat.com>
354
355 [BZ #24307]
356 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
357 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
358 Unicode 12.0.0.
359 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
360 * localedata/unicode-gen/PropList.txt: Likewise.
361 * localedata/unicode-gen/UnicodeData.txt: Likewise.
362 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
363 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
364 * localedata/charmaps/UTF-8: Regenerate.
365 * localedata/locales/i18n_ctype: Likewise.
366 * localedata/locales/tr_TR: Likewise.
367 * localedata/locales/translit_circle: Likewise.
368 * localedata/locales/translit_cjk_compat: Likewise.
369 * localedata/locales/translit_combining: Likewise.
370 * localedata/locales/translit_compat: Likewise.
371 * localedata/locales/translit_font: Likewise.
372 * localedata/locales/translit_fraction: Likewise.
373
c5f65462
JM
3742019-03-07 Joseph Myers <joseph@codesourcery.com>
375
376 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
377 than after operators.
378 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
379 (setitimer_locked): Likewise.
380 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
381 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
382 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
383 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
384 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
385 (PPC_CPU_SUPPORTED): Likewise.
386 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
387 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
388 (stat_overflow): Likewise.
389 (statfs_overflow): Likewise.
390 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
391 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
392 (eq_ttyname_r): Likewise.
393 (run_chroot_tests): Likewise.
394
27a2f2f3
FW
3952019-03-07 Florian Weimer <fweimer@redhat.com>
396
397 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
398 header check.
399
ae514971 4002019-03-07 Martin Liska <mliska@suse.cz>
401
402 * math/Makefile: Change location where math-vector-fortran.h is
403 installed.
404 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
405 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
406 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
407 * scripts/check-installed-headers.sh: Skip Fortran header files.
408 * scripts/check-wrapper-headers.py: Likewise.
409
0ddb7ea8
AZ
4102019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
411
412 * nptl/nptl-init.c (__have_futex_clock_realtime,
413 __have_futex_clock_realtime): Remove definition.
414 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
415 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
416 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
417 __ASSUME_FUTEX_CLOCK_REALTIME support.
418 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
419 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
420 * sysdeps/unix/sysv/linux/kernel-features.h
421 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
422 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
423 Adjust comment.
424
590675c0
GG
4252019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
426
427 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
428 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
429 __GI___wcscpy and wcscpy.
430
de71ee7b
FW
4312019-03-04 Florian Weimer <fweimer@redhat.com>
432
433 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
434 declaration.
435 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
436 defined.
437
ce6ddae0
SL
4382019-03-04 Stefan Liebler <stli@linux.ibm.com>
439
440 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
441 * sysdeps/s390/s390-32/sysdep.h: Likewise.
442
31efface
TS
4432019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
444
445 [BZ #24162]
446 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
447 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
448
f0eaf862
GG
4492019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
450
451 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
452 tests.
453 (do_test): Likewise.
454 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
455 (do_test_call_varg): Likewise.
456 (do_test_call_rarg): Likewise.
457 * sysdeps/ieee754/ldbl-opt/Makefile
458 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
459 tst-nldbl-error.
460 ($(objpfx)tst-nldbl-warn.c): New rule.
461 ($(objpfx)tst-nldbl-error.c): Likewise.
462 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
463 New variables.
464
d11086a9
GG
4652019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
466
467 [BZ #23984]
468 * include/bits/error-ldbl.h: New file.
469 * include/error.h: Include stdarg.h. Declare internal functions
470 __error_internal and __error_at_line_internal.
471 * misc/Makefile (headers): Add bits/error-ldbl.h.
472 * misc/bits/error-ldbl.h: New file.
473 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
474 avoid the inclusion of bits/error.h.
475 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
476 and __nldbl_error_at_line.
477 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
478 (__nldbl_error, __ndlbl_error_at_line): New functions.
479 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
480 Redirect error and error_at_line.
481 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
483 Likewise.
484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
485 Likewise.
486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
487 Likewise.
488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
489 Likewise.
490 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
491 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
492 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
493
90188e7d
GG
4942019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
495
496 [BZ #23984]
497 * include/bits/err-ldbl.h: New file.
498 * include/err.h: Add prototypes for the internal functions:
499 __vwarnx_internal and __vwarn_internal.
500 * misc/Makefile (headers): Add bits/err-ldbl.h.
501 * misc/bits/err-ldbl.h: New file.
502 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
503 defined, i.e.: when -mlong-double-64 is in use.
504 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
505 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
506 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
507 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
508 (VA_CALL): New macro.
509 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
510 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
511 functions.
512 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
513 declare prototypes for the new functions.
514 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
516 Likewise.
517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
518 Likewise.
519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
520 Likewise.
521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
522 Likewise.
523 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
524 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
525 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
526
ea2d89d0
GG
5272019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
528
529 * sysdeps/ieee754/ldbl-opt/Makefile
530 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
531 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
532 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
533
6e1f6440
GG
5342019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
535
536 [BZ #23983]
537 * argp/Makefile (headers): Add bits/argp-ldbl.h.
538 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
539 * argp/bits/argp-ldbl.h: New file.
540 * include/argp.h: Include stdarg.h. Add prototypes for internal
541 functions: __argp_error_internal and __argp_failure_internal.
542 * include/bits/argp-ldbl.h: New file.
543 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
544 __nldbl_argp_error and __nldbl_argp_failure.
545 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
546 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
547 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
548 Redirect argp_error and argp_failure calls.
549 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
551 Likewise.
552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
553 Likewise.
554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
555 Likewise.
556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
557 Likewise.
558 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
559 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
560 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
561
c259196b
FW
5622019-03-01 Florian Weimer <fweimer@redhat.com>
563
564 [BZ #20419]
565 * elf/tst-big-note-lib.S: Create a syntactically valid note.
566 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
567 code, to avoid creating an ABI tag note.
568 (modules-names-nobuild): Add tst-big-note-lib.
569
928b305d
SL
5702019-03-01 Stefan Liebler <stli@linux.ibm.com>
571
572 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
573 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
574
36f30c10
FW
5752019-03-01 Florian Weimer <fweimer@redhat.com>
576
577 [BZ #20271]
578 * sysdeps/unix/sysv/linux/netlink_assert_response.c
579 (__netlink_assert_response): Add additional missing newlines.
580
462e83a4
JM
5812019-02-28 Joseph Myers <joseph@codesourcery.com>
582
583 * sysdeps/powerpc/powerpc32/dl-machine.c
584 (__elf_machine_fixup_plt): Use space before '('.
585 (__process_machine_rela): Likewise.
586 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
587 Likewise.
588 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
589 Likewise.
590 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
591 Likewise.
592 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
593 (pattern): Likewise.
594 (delta): Likewise.
595 (check_result): Likewise.
596 (check_excepts): Likewise.
597 (check_op): Likewise.
598 (fail_xr): Likewise.
599 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
600 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
601 (SCNHSZ): Likewise.
602 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
603 Likewise.
604 (ARGS): Likewise.
605 (__makecontext): Likewise.
606 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
607 Likewise.
608
cc3e573c
FW
6092019-02-28 Florian Weimer <fweimer@redhat.com>
610
611 [BZ #23937]
612 elf: Add test with a local IFUNC resolver.
613 * elf/ifuncmain9.c: New file.
614 * elf/ifuncmain9pic.c: Likewise.
615 * elf/ifuncmain9picstatic.c: Likewise.
616 * elf/ifuncmain9pie.c: Likewise.
617 * elf/ifuncmain9static.c: Likewise.
618 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
619 ifuncmain9static, ifuncmain9picstatic.
620 * elf/Makefile [multi-arch && build-shared] (tests-internal):
621 Add ifuncmain9, ifuncmain9pic.
622 * elf/Makefile [multi-arch && build-shared && have-fpie]
623 (ifunc-pie-tests): Add ifuncmain9pie.
624 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
625 (CFLAGS-ifuncmain9picstatic.c): Likewise.
626 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
627
92ad88fe
L
6282019-02-27 H.J. Lu <hongjiu.lu@intel.com>
629
630 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
631 * configure: Regenerated.
632 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
633
6bd4d02e
AZ
6342019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
635
636 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
637 symbol as __wcspcy instead of wcscpy.
638
1b218417
ST
6392019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
640
641 * include/stdio.h (__renameat2): New hidden prototype.
642 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
643 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
644 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
645 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
646
c4f50205
JM
6472019-02-27 Joseph Myers <joseph@codesourcery.com>
648
f627dd4d
JM
649 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
650 if statement.
651
c4f50205
JM
652 * benchtests/bench-strcpy.c (do_test): Use space before '('.
653 * benchtests/bench-string.h (cmdline_process_function): Likewise.
654 * benchtests/bench-strlen.c (do_test): Likewise.
655 (test_main): Likewise.
656 * catgets/gencat.c (read_old): Likewise.
657 * elf/cache.c (load_aux_cache): Likewise.
658 * iconvdata/bug-iconv8.c (do_test): Likewise.
659 * math/test-tgmath-ret.c (do_test): Likewise.
660 * nis/nis_call.c (rec_dirsearch): Likewise.
661 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
662 * nptl/tst-audit-threads.c (do_test): Likewise.
663 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
664 * nss/nss_test1.c (init): Likewise.
665 * nss/test-netdb.c (test_hosts): Likewise.
666 * posix/execvpe.c (maybe_script_execute): Likewise.
667 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
668 * stdio-common/tst-printf.c (do_test): Likewise.
669 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
670 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
671 * stdlib/qsort.c (STACK_SIZE): Likewise.
672 * stdlib/test-canon.c (do_test): Likewise.
673 * stdlib/tst-swapcontext1.c (do_test): Likewise.
674 * string/memcmp.c (OPSIZ): Likewise.
675 * string/test-strcpy.c (do_test): Likewise.
676 (do_random_tests): Likewise.
677 * string/test-strlen.c (do_test): Likewise.
678 (test_main): Likewise.
679 * string/test-strrchr.c (do_test): Likewise.
680 (do_random_tests): Likewise.
681 * string/tester.c (test_memrchr): Likewise.
682 (test_memchr): Likewise.
683 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
684 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
685 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
686 (read_encoded_value_with_base): Likewise.
687 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
688 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
689 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
690 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
691 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
692 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
693 Likewise.
694 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
695 Likewise.
696 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
697 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
698 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
699 Likewise.
700 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
701 Likewise.
702 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
703 Likewise.
704 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
705 Likewise.
706 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
707 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
708 (FP_XSTATE_MAGIC2_SIZE): Likewise.
709 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
710 * time/test_time.c (main): Likewise.
711
7b3fb620
AZ
7122019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
713
457208b1
AZ
714 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
715
30a7e208
AZ
716 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
717 wmemcpy.
718
ddf21ec7
AZ
719 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
720 wmemcpy.
721
4d801563
AZ
722 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
723
81a14439
AZ
724 * include/wchar.h (__wcscpy): New prototype.
725 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
726 (__wcscpy): Route internal symbol to generic implementation.
727 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
728 Add internal __wcscpy alias.
729 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
730 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
731 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
732 * wcsmbs/wcscpy.c (wcscpy): Add
733 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
734 use generic implementation.
735 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
736
39ef0744
AZ
737 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
738 wmemset.
739
7b3fb620
AZ
740 * sysdeps/m68k/wcpcpy.c: Remove file.
741 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
742
e0cb7b61
JM
7432019-02-26 Joseph Myers <joseph@codesourcery.com>
744
aa0e4663
JM
745 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
746 than after operators.
747 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
748 * sysdeps/mach/hurd/getcwd.c
749 (__hurd_canonicalize_directory_name_internal): Likewise.
750 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
751 (pthread_mutex_consistent): Likewise.
752 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
753 Likewise.
754 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
755 (__pthread_mutex_transfer_np): Likewise.
756 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
757 (__pthread_mutex_unlock): Likewise.
758 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
759 (mtx_owned_p): Likewise.
760 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
761 (pthread_mutexattr_getrobust): Likewise.
762 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
763 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
764 Likewise.
765 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
766 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
767 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
768 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
769 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
770 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
771 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
772 Likewise.
773 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
774 Likewise.
775 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
776 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
777 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
778 (____longjmp_chk): Likewise.
779 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
780 Likewise.
781 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
782 (INTERNAL_SYSCALL): Likewise.
783 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
784 (INTERNAL_SYSCALL): Likewise.
785 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
786 (__get_clockfreq_via_cpuinfo): Likewise.
787
e0cb7b61
JM
788 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
789 comments.
790 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
791 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
792 (WORD_COPY_BWD): Likewise.
793 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
794 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
795 Likewise.
796 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
797 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
798 comment.
799 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
800
a04549c1
JM
8012019-02-25 Joseph Myers <joseph@codesourcery.com>
802
803 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
804 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
805 rather than after operators.
806 * elf/cache.c (print_cache): Likewise.
807 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
808 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
809 * hurd/hurdinit.c (_hurd_setproc): Likewise.
810 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
811 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
812 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
813 (reauth_proc): Likewise.
814 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
815 (__file_name_split_at): Likewise.
816 (__directory_name_split_at): Likewise.
817 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
818 * hurd/port2fd.c (_hurd_port2fd): Likewise.
819 * iconv/gconv_dl.c (do_print): Likewise.
820 * inet/netinet/in.h (struct sockaddr_in): Likewise.
821 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
822 * locale/setlocale.c (new_composite_name): Likewise.
823 * malloc/memusagestat.c (main): Likewise.
824 * misc/fstab.c (fstab_convert): Likewise.
825 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
826 Likewise.
827 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
828 (getgrent_next_file): Likewise.
829 (internal_getgrnam_r): Likewise.
830 (internal_getgrgid_r): Likewise.
831 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
832 Likewise.
833 (internal_getgrent_r): Likewise.
834 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
835 (getpwent_next_nss): Likewise.
836 (getpwent_next_file): Likewise.
837 (internal_getpwnam_r): Likewise.
838 (internal_getpwuid_r): Likewise.
839 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
840 Likewise.
841 (getspent_next_nss): Likewise.
842 (internal_getspnam_r): Likewise.
843 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
844 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
845 * string/strchr.c (STRCHR): Likewise.
846 * string/strchrnul.c (STRCHRNUL): Likewise.
847 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
848 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
849 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
850 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
851 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
852 Likewise.
853 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
854 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
855 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
856 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
857 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
858 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
859 (open_file): Likewise.
860 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
861 (pthread_mutexattr_setprotocol): Likewise.
862 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
863 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
864 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
865 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
866 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
867 Likewise.
868 (elf_machine_rela): Likewise.
869 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
870 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
871 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
872 * sysdeps/posix/rename.c (rename): Likewise.
873 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
874 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
875 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
876 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
877 * sysdeps/unix/grantpt.c (grantpt): Likewise.
878 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
879 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
880 Likewise.
881 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
882 Likewise.
883 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
884 * time/tzfile.c (__tzfile_compute): Likewise.
885
34a5a146
JM
8862019-02-22 Joseph Myers <joseph@codesourcery.com>
887
888 * benchtests/bench-memmem.c (simple_memmem): Break lines before
889 rather than after operators.
890 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
891 * crypt/md5.c (md5_finish_ctx): Likewise.
892 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
893 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
894 * elf/cache.c (load_aux_cache): Likewise.
895 * elf/dl-load.c (open_verify): Likewise.
896 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
897 * elf/readelflib.c (process_elf_file): Likewise.
898 * elf/rtld.c (dl_main): Likewise.
899 * elf/sprof.c (generate_call_graph): Likewise.
900 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
901 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
902 * hurd/dtable.c (reauth_dtable): Likewise.
903 * hurd/getdport.c (__getdport): Likewise.
904 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
905 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
906 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
907 Likewise.
908 * hurd/hurdioctl.c (fioctl): Likewise.
909 * hurd/hurdselect.c (_hurd_select): Likewise.
910 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
911 (STOPSIGS): Likewise.
912 * hurd/hurdstartup.c (_hurd_startup): Likewise.
913 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
914 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
915 * hurd/msgportdemux.c (msgport_server): Likewise.
916 * hurd/setauth.c (_hurd_setauth): Likewise.
917 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
918 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
919 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
920 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
921 * login/tst-utmp.c (do_check): Likewise.
922 (simulate_login): Likewise.
923 * mach/lowlevellock.h (lll_lock): Likewise.
924 (lll_trylock): Likewise.
925 * math/test-fenv.c (ALL_EXC): Likewise.
926 * math/test-fenvinline.c (ALL_EXC): Likewise.
927 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
928 * nis/nis_call.c (__do_niscall3): Likewise.
929 * nis/nis_callback.c (cb_prog_1): Likewise.
930 * nis/nis_defaults.c (searchaccess): Likewise.
931 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
932 * nis/nis_ismember.c (internal_ismember): Likewise.
933 * nis/nis_local_names.c (nis_local_principal): Likewise.
934 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
935 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
936 Likewise.
937 * nis/ypclnt.c (yp_match): Likewise.
938 (yp_first): Likewise.
939 (yp_next): Likewise.
940 (yp_master): Likewise.
941 (yp_order): Likewise.
942 * nscd/hstcache.c (cache_addhst): Likewise.
943 * nscd/initgrcache.c (addinitgroupsX): Likewise.
944 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
945 (internal_getpwuid_r): Likewise.
946 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
947 * posix/glob.h (__GLOB_FLAGS): Likewise.
948 * posix/regcomp.c (peek_token): Likewise.
949 (peek_token_bracket): Likewise.
950 (parse_expression): Likewise.
951 * posix/regexec.c (sift_states_iter_mb): Likewise.
952 (check_node_accept_bytes): Likewise.
953 * posix/tst-spawn3.c (do_test): Likewise.
954 * posix/wordexp-test.c (testit): Likewise.
955 * posix/wordexp.c (parse_tilde): Likewise.
956 (exec_comm): Likewise.
957 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
958 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
959 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
960 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
961 * stdio-common/tst-fileno.c (do_test): Likewise.
962 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
963 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
964 * stdlib/strtod_l.c (round_and_return): Likewise.
965 (____STRTOF_INTERNAL): Likewise.
966 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
967 * string/strcspn.c (STRCSPN): Likewise.
968 * string/test-memmem.c (simple_memmem): Likewise.
969 * termios/tcsetattr.c (tcsetattr): Likewise.
970 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
971 * time/asctime.c (asctime_internal): Likewise.
972 * time/strptime_l.c (__strptime_internal): Likewise.
973 * time/sys/time.h (timercmp): Likewise.
974 * time/tzfile.c (__tzfile_compute): Likewise.
975
b0b50fe0
PF
9762019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
977
978 [BZ #21915]
979 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
980
f43b8dd5
GG
9812019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
982
983 * argp/argp-help.c (__argp_error_internal): New function,
984 renamed from __argp_error, but that takes a 'mode_flags'
985 parameter to control the format of long double parameters.
986 (__argp_error): Converted into a call __argp_error_internal.
987 (__argp_failure_internal): New function, renamed from
988 __argp_failure, but that takes a 'mode_flags' parameter.
989 (__argp_failure): Converted into a call __argp_failure_internal.
990 * misc/err.c (__vwarnx_internal): New function, renamed from
991 vwarnx, but that takes a 'mode_flags' parameter.
992 (vwarnx): Converted into a call to __vwarnx_internal.
993 (__vwarn_internal): New function, renamed from vwarn, but that
994 takes a 'mode_flags' parameter.
995 (vwarn): Converted into a call to __vwarn_internal.
996 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
997 call to __vfxprintf with 'mode_flags'.
998 (__error_internal): New function, renamed from error, but that
999 takes a 'mode_flags' parameter.
1000 (error): Converted into a call to __error_internal.
1001 (__error_at_line_internal): New function, renamed from
1002 error_at_line, but that takes a 'mode_flags' parameter.
1003 (error_at_line): Converted into a call to
1004 __error_at_line_internal.
1005 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
1006 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
1007 Likewise.
1008
dc0afac3 10092019-02-20 Martin Liska <mliska@suse.cz>
1010
1011 * math/Makefile: Install math-vector-fortran.h.
1012 * bits/math-vector-fortran.h: New file.
1013 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
1014
4a2dd41c
GG
10152019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1016
1017 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
1018 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
1019
04de9302
WS
10202019-02-19 Wolfram Sang <wsa@the-dreams.de>
1021
1022 * nptl/pthread_mutex_trylock.c: Fix comment.
1023
b026ce1e
CD
10242019-02-19 Carlos O'Donell <carlos@redhat.com>
1025
1026 * nptl/pthread_tryjoin.c: Fix comment.
1027
8c9289b6
JM
10282019-02-18 Joseph Myers <joseph@codesourcery.com>
1029
1030 [BZ #24231]
1031 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
1032 after R_SPARC_H34 case.
1033
308e022f
FW
10342019-02-18 Florian Weimer <fweimer@redhat.com>
1035
1036 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
1037 (getanswer): Do not call Dprintf.
1038 (res_gethostbyname2_context): Likewise.
1039 (res_gethostbyaddr_context): Likewise.
1040
a5406364
FW
10412019-02-18 Florian Weimer <fweimer@redhat.com>
1042
1043 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
1044 declaration.
1045 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
1046 Remove definitions.
1047 * libio/stdfiles.c: Update comment.
1048 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
1049 set _IO_stdin, _IO_stdout, _IO_stderr.
1050 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
1051 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
1052 inline function.
1053 (_IO_deallocate_file): New inline function.
1054 * libio/iolibio.h (_IO_vprintf): Remove definition.
1055 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
1056 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1057 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
1058 _IO_legacy_file.
1059 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
1060 __builtin_expect. Use _IO_legacy_file.
1061
6c29942c
SL
10622019-02-18 Stefan Liebler <stli@linux.ibm.com>
1063
1064 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
1065 Initialize ctid with a known value and remove update of ctid
1066 after clone.
1067 (wait_tid): Adjust arguments and call futex_wait with ctid_val
1068 as assumed current value of ctid_ptr.
1069
ad18dade
FW
10702019-02-15 Florian Weimer <fweimer@redhat.com>
1071
1072 Check that non-sysdeps headers have wrapper headers.
1073 * scripts/check-wrapper-headers.py: New file.
1074 * Makefile (tests-special): Add check-wrapper-headers.out.
1075 (check-wrapper-headers.out): New target.
1076 * Rules (tests-special): Add check-wrapper-headers.out.
1077 (check-wrapper-headers.out): New target.
1078
ebd32784
FW
10792019-02-15 Florian Weimer <fweimer@redhat.com>
1080
1081 Add missing header wrappers under include/.
1082 * include/ar.h: New file.
1083 * include/bits/mqueue2.h: Likewise.
1084 * include/bits/stdio.h: Likewise.
1085 * include/bits/stdio2.h: Likewise.
1086 * include/fstab.h: Likewise.
1087 * include/fts.h: Likewise.
1088 * include/lastlog.h: Likewise.
1089 * include/netinet/icmp6.h: Likewise.
1090 * include/netinet/igmp.h: Likewise.
1091 * include/netinet/ip6.h: Likewise.
1092 * include/re_comp.h: Likewise.
1093 * include/regexp.h: Likewise.
1094 * include/rpcsvc/bootparam.h: Likewise.
1095 * include/rpcsvc/yp_prot.h: Likewise.
1096 * include/sys/random.h: Likewise.
1097 * include/sys/stropts.h: Likewise.
1098 * include/sys/ttychars.h: Likewise.
1099 * include/sys/vfs.h: Likewise.
1100 * include/wait.h: Likewise.
1101
a198d37a
FW
11022019-02-15 Florian Weimer <fweimer@redhat.com>
1103
1104 * nptl_db/proc_service.h: Move to ...
1105 * sysdeps/nptl/proc_service.h: ... here.
1106 * nptl_db/thread_db.h: Move to ...
1107 * sysdeps/nptl/thread_db.h: ... here.
1108 * nptl/descr.h: Include <thread_db.h>.
1109
e442e40d
AZ
11102019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1111
1112 * io/Makefile (tests): Add tst-lockf.
1113 * io/lockf.c (lockf): Use __fcntl and only define for
1114 !__OFF_T_MATCHES_OFF64_T.
1115 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
1116 __OFF_T_MATCHES_OFF64_T case.
1117 * io/tst-lockf.c: New file.
1118 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
1119 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
1120 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
1121 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
1122 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
1123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
1124 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
1125 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
1126 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
1127
bc10e22c
FW
11282019-02-15 Florian Weimer <fweimer@redhat.com>
1129
1130 [BZ #24211]
1131 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
1132 pd->result after the thread descriptor has been freed.
1133
365f05c7
JM
11342019-02-15 Joseph Myers <joseph@codesourcery.com>
1135
8a11f970
JM
1136 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
1137 from function return type.
1138
365f05c7
JM
1139 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
1140
56a731d4
JK
11412019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1142
1143 * scripts/test_printers_common.py: Set TERM to a known harmless
1144 value.
1145
712182c8
JM
11462019-02-14 Joseph Myers <joseph@codesourcery.com>
1147
1148 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
1149 (xdr_u_int): Likewise.
1150 (xdr_enum): Likewise.
1151 (xdr_bytes): Reword fall-through comment.
1152 (xdr_string): Likewise.
1153
eb76e5b4
AZ
11542019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1155
1156 [BZ #2421]
1157 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
1158 (tests): Add tst-join8 tst-join9.
1159 * nptl/lll_timedwait_tid.c: Remove file.
1160 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
1161 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
1162 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
1163 * nptl/pthread_join_common.c (timedwait_tid): New function.
1164 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
1165 is set.
1166 * nptl/tst-join5.c (thread_join): New function.
1167 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
1168 check.
1169 * nptl/tst-join8.c: New file.
1170 * nptl/tst-join9.c: Likewise.
1171 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
1172 lll_futex_timed_wait_cancel): Add generic macros.
1173 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
1174 Remove definitions.
1175 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1176 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1177 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1178 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
1179 Remove function.
1180 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
1181 Likewise.
1182 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1183 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1184 (lll_futex_timed_wait_cancel): New macro.
1185
3904fd85
WD
11862019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
1187
1188 * benchtests/Makefile: Add malloc-simple benchmark.
1189 * benchtests/bench-malloc-simple.c: New benchmark.
1190
24ca04fe
SP
11912019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1192
1193 * benchtests/bench-memmove.c (do_one_test): Remove unused
1194 ORIG_SRC.
1195 (do_test): Adjust.
1196 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
1197 ORIG_SRC.
1198 (do_test): Adjust.
1199
85bd1ddb
JW
12002019-01-13 Jim Wilson <jimw@sifive.com>
1201
1202 [BZ #24040]
1203 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
1204 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
1205 (func): New.
1206 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
1207 call func directly.
1208 * nptl/Makefile (tests): Add tst-unwind-thread.
1209 (CFLAGS-tst-unwind-thread.c): Define.
1210 * nptl/tst-unwind-thread.c: New file.
1211 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
1212 as undefined.
1213
86140c62
JM
12142019-02-13 Joseph Myers <joseph@codesourcery.com>
1215
10756268
JM
1216 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
1217 comment wording.
1218 * nis/nis_call.c (__do_niscall3): Likewise.
1219
05383720
JM
1220 * catgets/gencat.c (normalize_line): Use braces around empty
1221 'else' body.
1222 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1223 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
1224 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
1225 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
1226 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
1227 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
1228 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
1229 definition.
1230
86140c62
JM
1231 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
1232 execlp returns.
1233
16f87cfd
WD
12342019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1235
1236 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
1237 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
1238 * benchtests/bench-strchr.c (stupid_strchr): Remove.
1239 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
1240 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
1241 * benchtests/bench-strlen.c (builtin_strlen): Remove.
1242 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
1243 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
1244 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
1245 * benchtests/bench-strspn.c (stupid_strspn): Remove.
1246 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
1247 * benchtests/bench-bcopy.c: Delete file.
1248 * benchtests/bench-bzero.c: Likewise.
1249 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
1250 (simple_memccpy): Remove.
1251 (generic_memccpy): Add function.
1252 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
1253 * benchtests/bench-memmove.c (simple_bcopy): Remove.
1254 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
1255 (generic_mempcpy): Add new function.
1256 * benchtests/bench-memset.c (simple_bzero): Remove.
1257 (builtin_bzero): Remove.
1258 (builtin_memset): Remove.
1259 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
1260 (generic_rawmemchr): Add new function.
1261
0c6d82e9
FW
12622019-02-12 Florian Weimer <fweimer@redhat.com>
1263
1264 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
1265
b3fbfe81
AZ
12662019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1267
1268 [BZ #24122]
1269 * elf/Makefile (tests): Add tst-audit13.
1270 (modules-names): Add tst-audit13mod1.
1271 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1272 rule.
1273 * elf/tst-audit13.c: New file.
1274 * elf/tst-audit13mod1.c: Likewise.
1275
3b856d09
FW
12762019-02-12 Florian Weimer <fweimer@redhat.com>
1277
1278 [BZ #24122]
1279 * elf/rtld.c (unload_audit_module): New function.
1280 (report_audit_module_load_error): Likewise.
1281 (load_audit_module): Likewise. Extracted from dl_main. Call
1282 _dl_close if the laversion symbol cannot be found. Use early
1283 returns for error handling. Add malloc error check. Check for a
1284 zero return value from la_version. Remove spurious comment about
1285 static TLS initialization. Remove useless casts.
1286 (notify_audit_modules_of_loaded_object): New function. Extracted
1287 from dl_main.
1288 (load_audit_module): Likewise.
1289 (dl_main): Call load_audit_modules.
1290
32db86d5
JM
12912019-02-12 Joseph Myers <joseph@codesourcery.com>
1292
1293 * elf/dl-exception.c (_dl_exception_create_format): Add
1294 fall-through comments.
1295 * elf/ldconfig.c (parse_conf_include): Likewise.
1296 * elf/rtld.c (print_statistics): Likewise.
1297 * locale/programs/charmap.c (parse_charmap): Likewise.
1298 * misc/mntent_r.c (__getmntent_r): Likewise.
1299 * posix/wordexp.c (parse_arith): Likewise.
1300 (parse_backtick): Likewise.
1301 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
1302 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1303 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1304
a51bc4fe
PC
13052019-02-11 Paul A. Clarke <pc@us.ibm.com>
1306
1307 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
1308 Use float instead of double.
1309
fb25b135
TS
13102019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1311
1312 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
1313
32ea7299
JM
13142019-02-08 Joseph Myers <joseph@codesourcery.com>
1315
1316 * sysdeps/powerpc/bits/mathinline.h: Remove.
1317
eef4d4f8
FW
13182019-02-08 Florian Weimer <fweimer@redhat.com>
1319
1320 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
1321 * math/bits/math-finite.h: Move to ...
1322 * bits/math-finite.h: ... here.
1323
fdfbd47d
FW
13242019-02-08 Florian Weimer <fweimer@redhat.com>
1325
1326 * sysdeps/generic/bits/unistd_ext.h: Move to ...
1327 * bits/unistd_ext.h: here.
1328
11eb21c4
PF
13292019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
1330
1331 [BZ #21915]
1332 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
1333 * nss/tst-nss-files-hosts-long.c: New file.
1334 * nss/tst-nss-files-hosts-long.root: New directory.
1335 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
1336 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
1337
e47d82c9
FW
13382019-02-08 Florian Weimer <fweimer@redhat.com>
1339
1340 * include/bits/unistd_ext.h: Remove file.
1341 * posix/bits/unistd_ext.h: Move to ...
1342 * sysdeps/generic/bits/unistd_ext.h: ... here.
1343
8f89ab21
FW
13442019-02-08 Florian Weimer <fweimer@redhat.com>
1345
1346 * include/bits/unistd_ext.h: New file.
1347
144a794e
TS
13482019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
1349
1350 * time/tst-strftime2.c: Use array_length macros instead of magic
1351 numbers.
1352
669ff911
FW
13532019-02-08 Florian Weimer <fweimer@redhat.com>
1354
1355 [BZ #24161]
1356 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
1357 argument.
1358 * nptl/register-atfork.c (__run_fork_handlers): Only perform
1359 locking if the new do_locking argument is true.
1360 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
1361 __run_fork_handlers.
1362
d0bd87d4 13632019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
1364
1365 [BZ #6399]
1366 Linux: Add gettid system call wrapper.
1367 * posix/Makefile (headers): Add bits/unistd_ext.h.
1368 * posix/bits/unistd_ext.h: New file.
1369 * posix/unistd.h: Include it.
1370 * manual/process.texi (Process Identification): Document gettid.
1371 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
1372 tst-gettid, tst-gettid-kill.
1373 (tst-gettid): Link with $(shared-thread-library).
1374 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
1375 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
1376 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
1377 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
1378 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
1379 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1380 Add gettid.
1381 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1382 Likewise.
1383 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1384 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1385 Likewise.
1386 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1387 Likewise.
1388 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1389 Likewise.
1390 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1391 Likewise.
1392 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1393 Likewise.
1394 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1395 Likewise.
1396 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1397 Likewise.
1398 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1399 (GLIBC_2.30): Likewise.
1400 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1401 (GLIBC_2.30): Likewise.
1402 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1403 (GLIBC_2.30): Likewise.
1404 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1405 (GLIBC_2.30): Likewise.
1406 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1407 Likewise.
1408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1409 (GLIBC_2.30): Likewise.
1410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1411 (GLIBC_2.30): Likewise.
1412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1413 (GLIBC_2.30): Likewise.
1414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1415 (GLIBC_2.30): Likewise.
1416 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1417 Likewise.
1418 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1419 Likewise.
1420 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1421 Likewise.
1422 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1423 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1424 Likewise.
1425 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1426 Likewise.
1427 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1428 Likewise.
1429 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1430 Likewise.
1431 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1432
f289e656
FW
14332019-02-07 Florian Weimer <fweimer@redhat.com>
1434
1435 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1436 compatibility symbols.
1437
823624bd
SL
14382019-02-07 Stefan Liebler <stli@linux.ibm.com>
1439
1440 [BZ #24180]
1441 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1442 Add compiler barriers and comments.
1443
8311c83f
FW
14442019-02-07 Florian Weimer <fweimer@redhat.com>
1445
1446 * include/array_length.h (array_length): Do not use a statement
1447 expression and _Static_assert, so that array_length can be used at
1448 file scope and as a constant expression.
1449
94b63e66
FW
14502019-02-07 Florian Weimer <fweimer@redhat.com>
1451
1452 * support/xdlfcn.h (xdlmopen): Declare.
1453 * support/xdlmopen.c: New file.
1454 * support/Makefile (libsupport-routines): Add xdlmopen.
1455
c2d8f0b7
JM
14562019-02-06 Joseph Myers <joseph@codesourcery.com>
1457
1458 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1459 before return type, without separate inline.
1460 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1461 * elf/dl-tunables.h (tunable_is_name): Likewise.
1462 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1463 (do_set_top_pad): Likewise.
1464 (do_set_mmap_threshold): Likewise.
1465 (do_set_mmaps_max): Likewise.
1466 (do_set_mallopt_check): Likewise.
1467 (do_set_perturb_byte): Likewise.
1468 (do_set_arena_test): Likewise.
1469 (do_set_arena_max): Likewise.
1470 (do_set_tcache_max): Likewise.
1471 (do_set_tcache_count): Likewise.
1472 (do_set_tcache_unsorted_limit): Likewise.
1473 * nis/nis_subr.c (count_dots): Likewise.
1474 * nptl/allocatestack.c (advise_stack_range): Likewise.
1475 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
1476 (do_sin): Likewise.
1477 (reduce_sincos): Likewise.
1478 (do_sincos): Likewise.
1479 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1480 (do_set_elision_enable): Likewise.
1481 (TUNABLE_CALLBACK_FNDECL): Likewise.
1482
3b935595
FW
14832019-02-06 Florian Weimer <fweimer@redhat.com>
1484
1485 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
1486 (xdlsym): Use dlerror to detect a NULL symbol.
1487
b4333340
FW
14882019-02-06 Florian Weimer <fweimer@redhat.com>
1489
1490 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
1491 <stap-probe.h>.
1492 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1493
b6d8a999
SL
14942019-02-06 Stefan Liebler <stli@linux.ibm.com>
1495
1496 * libio/tst-bz24153.c (wide): Use wide char format specifier.
1497
94eeeec0
SL
14982019-02-06 Stefan Liebler <stli@linux.ibm.com>
1499
1500 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
1501 __wmemcmp and weak alias to wmemcmp.
1502
bc79db3f
SL
15032019-02-06 Stefan Liebler <stli@linux.ibm.com>
1504
1505 [BZ #23403]
1506 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
1507 TLS_TCB_AT_TP tls variant.
1508 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
1509 Add alignment checks.
1510 * support/Makefile (libsupport-routines): Add xposix_memalign and
1511 xpthread_setstack.
1512 * support/support.h: Add xposix_memalign.
1513 * support/xthread.h: Add xpthread_attr_setstack.
1514 * support/xposix_memalign.c: New File.
1515 * support/xpthread_attr_setstack.c: Likewise.
1516
f1ac7455
FW
15172019-02-05 Florian Weimer <fweimer@redhat.com>
1518
1519 [BZ #24164]
1520 arm: Use "nr" constraint for Systemtap probes, to avoid the
1521 compiler using memory operands for constants, due to the "o"
1522 alternative in the default "nor" constraint.
1523 * include/stap-probe.h [USE_STAP_PROBE]: Include
1524 <stap-probe-machine.h>
1525 * sysdeps/generic/stap-probe-machine.h: New file.
1526 * sysdeps/arm/stap-probe-machine.h: Likewise.
1527
7a0dcfc6
JM
15282019-02-04 Joseph Myers <joseph@codesourcery.com>
1529
77dc0d86
JM
1530 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
1531 with 0, not tcache->entries[tc_idx].
1532
7a0dcfc6
JM
1533 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
1534 once.
1535
65f7767a
AS
15362019-02-04 Andreas Schwab <schwab@suse.de>
1537
1538 [BZ #16976]
1539 [BZ #17396]
1540 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
1541 looking up collating elements match against (wide) character
1542 sequence instead of name. Correct alignment adjustment.
1543 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
1544 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
1545 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
1546 (LOCALES): Add cs_CZ.ISO-8859-2.
1547 * posix/tst-fnmatch4.c: New file.
1548 * posix/tst-fnmatch5.c: New file.
1549 * include/wchar.h (__wmemcmp): Declare.
1550 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
1551 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1552 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1553 * sysdeps/s390/wmemcmp.c: Likewise.
1554
3f635fb4
L
15552019-02-04 H.J. Lu <hongjiu.lu@intel.com>
1556
1557 [BZ #24155]
1558 CVE-2019-7309
1559 * NEWS: Updated for CVE-2019-7309.
1560 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
1561 upper 32 bits of RDX register for x32. Use unsigned Jcc
1562 instructions, instead of signed.
1563 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
1564 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
1565
2ab5741b
FW
15662019-02-04 Florian Weimer <fweimer@redhat.com>
1567
1568 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1569 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1570 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1571 Likewise.
1572 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1573 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1574 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1575 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1576 Likewise.
1577 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1578 Likewise.
1579 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1580 Likewise.
1581 (posix_spawn_file_actions_addopen): Likewise.
1582 (posix_spawn_file_actions_addclose): Likewise.
1583 (posix_spawn_file_actions_adddup2): Likewise.
1584 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1585 qualifiers.
1586 (posix_spawn_file_actions_addfchdir_np): Likewise.
1587
8692ebdb
DN
15882019-02-04 David Newall <glibc@davidnewall.com>
1589
1590 elf: Implement --preload option for the dynamic linker.
1591 * elf/rtld.c (preloadarg): New variable.
1592 (handle_preload_list): Pass through “where” argument to
1593 do_preload.
1594 (dl_main): Handle "--preload" and add second call to
1595 handle_preload_list.
1596 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1597 (tst-rtld-preload-OBJS): Set variable.
1598 (tst-rtld-preload.out): New target.
1599 * elf/tst-rtld-preload.sh: New file.
1600
5e10136b
MM
16012019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1602
1603 * Makefile (testrun.sh): Exit in case of incorrect argument.
1604
221baae0
FW
16052019-02-04 Florian Weimer <fweimer@redhat.com>
1606
1607 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1608 alignment gaps.
1609
b8c72381
FW
16102019-02-03 Florian Weimer <fweimer@redhat.com>
1611
1612 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1613 implicit overflow checks.
1614
11f382ee
AJ
16152019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1616
1617 * stdlib/isomac.c: Include <unistd.h>.
1618
77c7d55e
FW
16192019-02-03 Florian Weimer <fweimer@redhat.com>
1620
1621 * include/time.h (__tzfile_default): Use int, not long int, for
1622 the GMT offsets.
1623 * time/tzfile.c (struct ttinfo): Change type of the offset member
1624 to int.
1625 (__tzfile_read): Remove useless cast.
1626 (__tzfile_default): Adjust prototype.
1627 * time/tzset.c (tz_rule): Change type of the offset member to int.
1628 (parse_offset): Change the type of the sign variable to int.
1629
ee9941f9
FW
16302019-02-03 Florian Weimer <fweimer@redhat.com>
1631
1632 [BZ #24153]
1633 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1634 * libio/getchar.c (getchar): Likewise.
1635 * libio/getchar_u.c (getchar_unlocked): Likewise.
1636 * libio/getwchar.c (getwchar): Likewise.
1637 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1638 * libio/iogets.c (_IO_gets): Likewise.
1639 * libio/vscanf.c (_IO_vscanf): Likewise.
1640 * libio/vwscanf.c (__vwscanf): Likewise.
1641 * libio/tst-bz24153.c: New file.
1642 * libio/Makefile (tests): Add it.
1643
c70824b9
FW
16442019-02-02 Florian Weimer <fweimer@redhat.com>
1645
1646 [BZ #14829]
1647 * manual/resource.texi (Basic Scheduling Functions): Add
1648 portability note. Change process to task throughout the section.
1649 Remove incorrect comment about sched_yield as it affects
1650 tasks/threads, not entire processes.
1651 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1652 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1653
4dcbbc3b
JM
16542019-02-01 Joseph Myers <joseph@codesourcery.com>
1655
1656 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1657 * configure: Regenerated.
1658 * manual/install.texi (Tools for Compilation): Update minimum GCC
1659 version.
1660 * INSTALL: Regenerated.
1661
6175507c
FW
16622019-02-01 Florian Weimer <fweimer@redhat.com>
1663
1664 * support/support_test_compare_string.c
1665 (support_test_compare_string): Use "string" in error message.
1666 * support/tst-test_compare_string.c (do_test): Adjust.
1667
baef1943
FW
16682019-02-01 Florian Weimer <fweimer@redhat.com>
1669
1670 * support/support_format_address_family.c
1671 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1672
395599f0
FW
16732019-02-01 Florian Weimer <fweimer@redhat.com>
1674
1675 * manual/socket.texi (Internet Address Formats): Clarify the byte
1676 order of struct sockaddr_in, struct sockaddr_in6. Document
1677 sin6_flowinfo and sin6_scope_id.
1678
b06f4c00
WD
16792019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
1680
1681 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
1682 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
1683 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
1684 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
1685 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
1686 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
1687
83d1cc42
FX
16882019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1689
1690 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
1691 [!MEMCHR](MEMCHR): Set to __memchr.
1692 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1693 Add memchr_generic and memchr_nosimd.
1694 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1695 (__libc_ifunc_impl_list): Add memchr ifuncs.
1696 * sysdeps/aarch64/multiarch/memchr.c: New file.
1697 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
1698 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
1699
c7d3890f
FX
17002019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1701
1702 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1703 Add memset_emag.
1704 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1705 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
1706 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
1707 Add IS_EMAG check for ifunc dispatch.
1708 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
1709 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
1710
07c3d1ec
FX
17112019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1712
1713 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
1714 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1715 Add emag.
1716 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1717 New macro.
1718
114f792e
SL
17192019-02-01 Stefan Liebler <stli@linux.ibm.com>
1720
1721 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1722
d5627550
VG
17232019-01-31 Vineet Gupta <vgupta@synopsys.com>
1724
1725 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1726 syscall-template file.
1727
5fc9ed4c
CD
17282019-01-31 Carlos O'Donell <carlos@redhat.com>
1729 Torvald Riegel <triegel@redhat.com>
1730 Rik Prohaska <prohaska7@gmail.com>
1731
1732 [BZ# 23844]
1733 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1734 tst-rwlock-trywrlock-stall.
1735 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1736 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1737 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1738 Set __wrphase_fute to 1 only if we started the write phase.
1739 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1740 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1741 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1742 * support/xpthread_rwlock_destroy.c: New file.
1743 * support/xthread.h: Declare xpthread_rwlock_destroy.
1744
932329a5
JM
17452019-02-01 Joseph Myers <joseph@codesourcery.com>
1746
1747 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1748 version to 4.0.2.
1749
5f10701f
PP
17502019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1751
1752 [BZ #24051]
1753 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1754 * libio/fileops.c (_IO_new_file_underflow): Likewise
1755 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1756 * libio/putchar.c (putchar): Likewise.
1757 * libio/putchar_u.c (putchar_unlocked): Likewise.
1758 * libio/putwchar.c (putchar): Likewise.
1759 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1760 * libio/tst-bz24051.c: New test.
1761 * libio/Makefile (tests): Add tst-bz24051
1762
583dd860
PE
17632019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1764
b626c5aa 1765 CVE-2019-9169
583dd860
PE
1766 regex: fix read overrun [BZ #24114]
1767 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1768 https://debbugs.gnu.org/34140
1769 * posix/regexec.c (proceed_next_node):
1770 Do not read past end of input buffer.
1771
2bac7daa
FW
17722019-01-31 Florian Weimer <fweimer@redhat.com>
1773
1774 [BZ #24059]
1775 * nss/nss_files/files-alias.c (get_next_alias): Handle
1776 continuation line without newline at the end.
1777 * nss/tst-nss-files-alias-truncated.c: New file.
1778 * nss/Makefile [$(build-shared)] (tests): Add
1779 tst-nss-files-alias-truncated.
1780 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1781 * support/namespace.h (struct support_chroot_configuration): Add
1782 aliases member.
1783 (struct support_chroot): Add path_aliases member.
1784 * support/support_chroot.c (support_chroot_create): Handle
1785 aliases.
1786 (support_chroot_free): Free path_aliases.
1787
330c9d0d
SP
17882019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1789
de44ab67
SP
1790 * version.h (RELEASE): Set to "development".
1791 (VERSION): Set to "2.29.9000".
1792 * NEWS: Add section for 2.30.
1793
56c86f5d
SP
1794 * version.h (RELEASE): Set to "stable".
1795 (VERSION): Set to "2.29".
1796 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1797
330c9d0d
SP
1798 * NEWS: Add the list of bugs fixed in 2.29.
1799 * manual/contrib.texi: Update contributors list with some more
1800 names.
1801 * manual/install.texi: Update latest versions of packages
1802 tested.
1803 * INSTALL: Regenerated.
1804
e1e47c91
SP
18052019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1806
1807 * po/be.po: Update translations.
1808 * po/bg.po: Likewise.
1809 * po/ca.po: Likewise.
1810 * po/cs.po: Likewise.
1811 * po/da.po: Likewise.
1812 * po/de.po: Likewise.
1813 * po/el.po: Likewise.
1814 * po/eo.po: Likewise.
1815 * po/es.po: Likewise.
1816 * po/fi.po: Likewise.
1817 * po/fr.po: Likewise.
1818 * po/gl.po: Likewise.
1819 * po/hr.po: Likewise.
1820 * po/hu.po: Likewise.
1821 * po/ia.po: Likewise.
1822 * po/id.po: Likewise.
1823 * po/it.po: Likewise.
1824 * po/ja.po: Likewise.
1825 * po/ko.po: Likewise.
1826 * po/lt.po: Likewise.
1827 * po/nb.po: Likewise.
1828 * po/nl.po: Likewise.
1829 * po/pl.po: Likewise.
1830 * po/pt_BR.po: Likewise.
1831 * po/ru.po: Likewise.
1832 * po/rw.po: Likewise.
1833 * po/sk.po: Likewise.
1834 * po/sl.po: Likewise.
1835 * po/sv.po: Likewise.
1836 * po/tr.po: Likewise.
1837 * po/uk.po: Likewise.
1838 * po/vi.po: Likewise.
1839 * po/zh_CN.po: Likewise.
1840 * po/zh_TW.po: Likewise.
1841
8d016826
UB
18422019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1843
1844 [BZ #24130]
1845 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1846 of $f3 register on $y_is_neg path.
1847
a0bb5abd
ST
18482019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1849
b96e22d0 1850 [BZ #24110]
a0bb5abd
ST
1851 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1852 sigaltstack.ss_flags.
1853
b22eed37
TS
18542019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1855
1856 [BZ #23758]
1857 * manual/time.texi (strftime): Document "%Ey".
1858 * time/strftime_l.c (__strftime_internal): Set the default width
1859 padding with zero of "%Ey" to 2.
1860
32f600a2
TS
1861 [BZ #24096]
1862 * manual/time.texi (strftime): Document "%EC" and "%EY".
1863 * time/Makefile (tests): Add tst-strftime2.
1864 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1865 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1866 override padding for "%Ey".
1867 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1868 "%Ey" in the subformat as if decorated with that flag.
1869 * time/tst-strftime2.c: New file.
1870
8e889c5d
AZ
18712019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1872
3367acdb
AZ
1873 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1874 are not defined.
1875
8e889c5d
AZ
1876 [BZ #24122]
1877 * elf/Makefile (tests): Add tst-audit13.
1878 (modules-names): Add tst-audit13mod1.
1879 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1880 rule.
1881 * elf/rtld.c (dl_main): Handle invalid audit module version.
1882 * elf/tst-audit13.c: New file.
1883 * elf/tst-audit13mod1.c: Likewise.
1884
a95dc01c
ST
18852019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1886
1887 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1888 returned by __hurd_at_flags.
ee4d7902
ST
1889 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1890 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1891 directly instead of __hurd_file_name_lookup.
a95dc01c 1892
712f1167
JM
18932019-01-21 Joseph Myers <joseph@codesourcery.com>
1894
1895 * scripts/build-many-glibcs.py (Context.checkout): Default
1896 binutils version to 2.32 branch.
1897
108bc404
FW
18982019-01-21 Florian Weimer <fweimer@redhat.com>
1899
1900 [BZ #20018]
1901 CVE-2016-10739
1902 resolv: Reject trailing characters in host names
1903 * include/arpa/inet.h (__inet_aton_exact): Declare.
1904 (inet_aton): Remove hidden prototype. No longer used internally.
1905 * nscd/gai.c (__inet_aton): Do not define.
1906 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1907 * nss/digits_dots.c (__inet_aton): Likewise.
1908 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1909 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1910 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1911 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1912 (tst-resolv-trailing): Likewise.
1913 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1914 libc.
1915 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1916 Make static. Add endp parameter.
1917 (__inet_aton_exact): New function.
1918 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1919 (__inet_addr): Call inet_aton_end.
1920 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1921 not just IPv6. Call __inet_aton_exact.
1922 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1923 (tests): Make const. Add additional test cases with trailing
1924 characters.
1925 (do_test): Use array_length.
1926 * resolv/tst-inet_aton_exact.c: New file.
1927 * resolv/tst-resolv-trailing.c: Likewise.
1928 * resolv/tst-resolv-nondecimal.c: Likewise.
1929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1930
5165de69
L
19312019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1932
1933 [BZ# 24097]
1934 CVE-2019-6488
1935 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1936 Clear the upper 32 bits of RSI register.
1937 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1938 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1939 and tst-size_t-wcsnlen.
1940 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1941 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1942
c7c54f65
L
19432019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1944
1945 [BZ# 24097]
1946 CVE-2019-6488
1947 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1948 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1949 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1950 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
1951 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
1952
ee915088
L
19532019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1954
1955 [BZ# 24097]
1956 CVE-2019-6488
1957 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
1958 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1959 * sysdeps/x86_64/strcmp.S: Likewise.
1960 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
1961 tst-size_t-strncmp and tst-size_t-wcsncmp.
1962 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
1963 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
1964 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
1965
82d0b4a4
L
19662019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1967
1968 [BZ# 24097]
1969 CVE-2019-6488
1970 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
1971 RDX_LP for length. Clear the upper 32 bits of RDX register.
1972 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
1973 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
1974 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
1975 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
1976
ecd8b842
L
19772019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1978
1979 [BZ# 24097]
1980 CVE-2019-6488
1981 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1982 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1983 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1984 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1985
231c5676
L
19862019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1987
1988 [BZ# 24097]
1989 CVE-2019-6488
1990 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1991 length. Clear the upper 32 bits of RDX register.
1992 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1993 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1994 Likewise.
1995 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1996 Likewise.
1997 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1998 tst-size_t-wmemchr.
1999 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
2000
b304fc20
L
20012019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2002
2003 [BZ# 24097]
2004 CVE-2019-6488
2005 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
2006 length. Clear the upper 32 bits of RDX register.
2007 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2008 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2009 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
2010 tst-size_t-wmemcmp.
2011 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
2012 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
2013
97700a34
L
20142019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2015
2016 [BZ# 24097]
2017 CVE-2019-6488
2018 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
2019 upper 32 bits of RDX register.
2020 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2021 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
2022 tst-size_t-wmemchr.
2023 * sysdeps/x86_64/x32/test-size_t.h: New file.
2024 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
2025 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
2026
6ca53a24
FW
20272019-01-18 Florian Weimer <fweimer@redhat.com>
2028
2029 [BZ #24112]
2030 resolv: Do not send queries for non-host-names in nss_dns.
2031 * resolv/nss_dns/dns-host.c (check_name): New function.
2032 (_nss_dns_gethostbyname2_r): Use it.
2033 (_nss_dns_gethostbyname_r): Likewise.
2034 (_nss_dns_gethostbyname4_r): Likewise.
2035
5e30b8ef
FW
20362019-01-21 Florian Weimer <fweimer@redhat.com>
2037
2038 * resolv/inet_addr.c: Reformat to GNU style.
2039 (__inet_addr, __inet_aton): Update comment.
2040
71effcea
FW
20412019-01-18 Florian Weimer <fweimer@redhat.com>
2042
2043 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
2044 ("malloc: Use current (C11-style) atomics for fastbin access").
2045 This commit introduces a substantial performance regression on
2046 POWER and Aarch64.
2047 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
2048 (REMOVE_FB): Define.
2049 (_int_malloc): Use it and reindent.
2050 (_int_free): Use CAS loop with
2051 catomic_compare_and_exchange_val_rel.
2052 (malloc_consolidate): Use atomic_exchange_acq.
2053
2054
562f4362
L
20552019-01-18 H.J. Lu <hongjiu.lu@intel.com>
2056
2057 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
2058 -Wl,-z,now.
2059 (LDFLAGS-tst-minsigstksz-2): Likewise.
2060 (LDFLAGS-tst-minsigstksz-3): Likewise.
2061 (LDFLAGS-tst-minsigstksz-3a): Likewise.
2062 (LDFLAGS-tst-minsigstksz-4): Likewise.
2063
80dfa298
TS
20642019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
2065
2066 * manual/time.texi (strftime): Fix the wording to "alternative" rather
2067 than "alternate".
2068
008b598e
PC
20692019-01-16 Paul A. Clarke <pc@us.ibm.com>
2070
2071 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
2072
fbbc9a4e
ZW
20732019-01-16 Zack Weinberg <zackw@panix.com>
2074
2075 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
2076 (xget_sigstack_location): New test support functions.
2077 * support/xsigstack.c: New file, implementing them.
2078 * support/tst-xsigstack.c: New test for them.
2079 * support/Makefile: Update.
2080
2081 * signal/tst-minsigstksz-1.c
2082 * signal/tst-minsigstksz-2.c
2083 * signal/tst-minsigstksz-3.c
2084 * signal/tst-minsigstksz-3a.c
2085 * signal/tst-minsigstksz-4.c: New tests.
2086 * signal/Makefile: Run them.
2087
5f1135e4
SP
20882019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2089
2090 * po/libc.pot: Regenerate.
2091
ecdacd34
TMQMF
20922019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2093
2094 * math/libm-test-fma.inc (fma_test_data): Set
2095 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
2096
56054664
RA
20972019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2098
2099 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
2100 (do_test): Changed __vector __int128_t to __vector unsigned int.
2101
1a153e47
LS
21022019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2103
2104 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2105 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
2106 stpcpy-avx2 and stpncpy-avx2.
2107 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
2108 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
2109 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
2110 and __stpncpy_avx2.
2111 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
2112 ifunc-strcpy.h}: rename header for a more generic name.
2113 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
2114 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
2115 AVX unaligned load is fast and vzeroupper is preferred.
2116 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
2117 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
2118 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
2119 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
2120 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
2121 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
2122
a1b02ae7
DL
21232019-01-12 Dmitry V. Levin <ldv@altlinux.org>
2124
2125 * argp/argp-help.c: Fix typo in comment.
2126 * misc/sys/cdefs.h: Likewise.
2127 * posix/regexec.c (sift_states_iter_mb): Likewise.
2128 * socket/sockatmark.c: Likewise.
2129 * socket/sys/socket.h: Likewise.
2130 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2131 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2132 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2133 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2134 * sysdeps/unix/sockatmark.c: Likewise.
2135 * time/strptime_l.c: Likewise.
2136
5cbbf01e
TS
21372019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2138
2139 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
2140 missing space after the cast of "_NL_CURRENT".
2141
0bc9bdf1
RA
21422019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2143
2144 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
2145 ifdef to fix read of VSCR.
2146 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
2147 tst-ucontext-ppc64-vscr.c to test list.
2148 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
2149
5494af04
AH
21502019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
2151
2152 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
2153 fall-through.
2154
e17f63ff
JW
21552019-01-09 Jim Wilson <jimw@sifive.com>
2156
2157 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
2158
02f440c1
WD
21592019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
2160
2161 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
2162 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
2163 __memcpy_falkor for ares.
2164 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
2165 Add new define.
2166 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2167 Add ares cpu.
2168
69da3c9e
L
21692019-01-07 H.J. Lu <hongjiu.lu@intel.com>
2170
2171 [BZ #24066]
2172 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2173 4_FP_W_TYPEs are used for IEEE quad precision.
2174 * soft-fp/extendhftf2.c: Likewise.
2175 * soft-fp/extendsftf2.c: Likewise.
2176 * soft-fp/extendxftf2.c: Likewise.
2177 * soft-fp/trunctfdf2.c: Likewise.
2178 * soft-fp/trunctfhf2.c: Likewise.
2179 * soft-fp/trunctfsf2.c: Likewise.
2180 * soft-fp/trunctfxf2.c: Likewise.
2181 * sysdeps/alpha/ots_cvttx.c: Likewise.
2182 * sysdeps/alpha/ots_cvtxt.c: Likewise.
2183 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2184 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
2185 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
2186 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
2187 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2188 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
2189 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
2190 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
2191 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
2192 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
2193 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
2194 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
2195 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
2196 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
2197 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
2198 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
2199
2ef42716
AJ
22002019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2201
2202 [BZ #24024]
2203 * Makeconfig: Build libm with -fno-math-errno but build the remaining
2204 code with -fmath-errno.
2205 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
2206 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
2207 * string/test-strerror-errno.c: New file.
2208
7395f3a0
AJ
22092019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2210
2211 [BZ #24046]
2212 * localedata/locales/en_US (date_fmt): Add, set to
2213 "%a %d %b %Y %r %Z".
2214
010fe231
FW
22152019-01-07 Florian Weimer <fweimer@redhat.com>
2216
2217 [BZ #24063]
2218 * manual/arith.texi (Math Error Reporting): Use @code{errno}
2219 instead of @var{errno}.
2220 (Parsing of Integers): Likewise.
2221 (Parsing of Floats): Likewise.
2222 * manual/filesys.texi (Working with Directory Trees): Likewise.
2223 (Temporary Files): Likewise.
2224 * manual/job.texi (Terminal Access Functions): Likewise.
2225 * manual/llio.texi (Synchronizing I/O): Likewise.
2226 * manual/math.texi (SVID Random): Likewise.
2227 * manual/message.texi (The catgets Functions): Likewise.
2228 (Translation with gettext): Likewise.
2229 (Locating gettext catalog): Likewise.
2230 (Charset conversion in gettext): Likewise.
2231 * manual/nss.texi (NSS Module Function Internals): Likewise.
2232 * manual/search.texi (Hash Search Function): Likewise.
2233 * manual/setjmp.texi (System V contexts): Likewise.
2234 * manual/time.texi (Sleeping): Likewise.
2235 * manual/users.texi (Lookup User): Likewise.
2236 (Lookup Group): Likewise.
2237
b79dc8d0
AZ
22382019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2239
2240 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
2241 fix typo.
2242
890461fe 22432019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
2244
2245 [BZ #19444]
2246 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
2247 __builtin_unreachable for default case in switch.
2248 (__ieee754_yn): Likewise.
2249 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2250 (__ieee754_ynl): Likewise.
2251 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2252 (__ieee754_ynl): Likewise.
2253 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2254 (__ieee754_ynl): Likewise.
2255
8b18d418
SN
22562019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2257
2258 * manual/maint.texi: Use @{ and @}.
2259
4392898d
FW
22602019-01-04 Florian Weimer <fweimer@redhat.com>
2261
2262 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
2263 function.
2264 (do_in_chroot_1): Call it.
2265 (run_chroot_tests):
2266 Improve error reporting in case it is not possible to create a
2267 collision for the PTY name required by the test.
2268
17cc27d5
AZ
22692019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2270
ce7eb0e9
AZ
2271 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
2272 lll_wait_tid with timeout.
2273 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
2274 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
2275 futex_reltimed_wait_cancelable for cancelabla mode.
2276 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
2277 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
2278 macros.
2279 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
2280 * sysdeps/posix/waitid.c (__sigwait): Likewise.
2281 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
2282 SYSCALL_CANCEL_NCS): New macro.
2283 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
2284 (lll_timedwait_tid): Remove macro.
2285 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
2286 Likewise.
2287 (lll_timedwait_tid): Likewise.
2288 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
2289 Likewise.
2290 (lll_timedwait_tid): Likewise.
2291 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
2292 Likewise.
2293 (lll_timedwait_tid): Likewise.
2294 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
2295 Use INTERNAL_SYSCALL_CANCEL.
2296 * sysdeps/unix/sysv/linux/futex-internal.h
2297 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
2298 instead of __pthread_{enable,disable}_asynccancel.
2299 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2300 (lll_futex_wait_cancel): New macro.
2301
0b13e255
AZ
2302 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2303 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2304
85c828a4
AZ
2305 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2306 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2307
d0d7f85f
AZ
2308 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
2309 in backtrace analysis.
2310 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
2311 side-effects.
2312 (tf_send): Likewise.
2313
17cc27d5
AZ
2314 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
2315 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
2316 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
2317 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
2318 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2319 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2320 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
2321 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
2322 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
2323 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
2324 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
2325 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
2326 Likewise.
2327 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
2328 tst-cancel-wrappers.sh.
2329 (generated): Remove tst-cancel-wrappers.out.
2330 (tst-cancel-wrappers.out): Remove rule.
2331 * nptl/tst-cancel-wrappers.sh: Remove file.
2332
7d7af8f1
SN
23332019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2334
2335 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
2336 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2337 Update.
2338
805334b2
AZ
23392019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2340
2341 [BZ #23640]
2342 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
2343 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
2344 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
2345 close-on-exec reset for adddup2 file action.
2346 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2347
03992356
ZW
23482019-01-03 Zack Weinberg <zackw@panix.com>
2349
2350 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
2351 parameter. Only use deprecated scanf when __USE_GNU is defined
2352 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
2353 than 201103L, whichever is relevant for the language being compiled.
2354
2355 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
2356 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
2357 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
2358 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
2359 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
2360
2361 * libio/iovsscanf.c
2362 * libio/fwscanf.c
2363 * libio/iovswscanf.c
2364 * libio/swscanf.c
2365 * libio/vscanf.c
2366 * libio/vwscanf.c
2367 * libio/wscanf.c
2368 * stdio-common/fscanf.c
2369 * stdio-common/scanf.c
2370 * stdio-common/vfscanf.c
2371 * stdio-common/vfwscanf.c
2372 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2373 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
2374 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
2375 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
2376 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
2377 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
2378 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
2379 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
2380 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
2381 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
2382 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
2383 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
2384 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
2385 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
2386 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
2387
2388 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
2389 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
2390 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
2391 not sscanf.
2392 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
2393 with a preprocessor macro.
2394
2395 * stdio-common/bug21.c, stdio-common/scanf14.c:
2396 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
2397 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2398 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
2399 to xscanf, xfscanf, xsscanf.
2400
2401 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2402 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2403 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2404 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
2405 xfscanf, xsscanf.
2406 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
2407 override feature selection macros or provide definitions of u_char etc.
2408 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
2409 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
2410 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
2411 with -std=gnu89.
2412
8083afa5
AZ
24132019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2414
6f343c1f
AZ
2415 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2416 bits/termios-misc.h.
2417 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
2418 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2419 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2420 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2421 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
2422 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
2423
51f4beb0
AZ
2424 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
2425 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2426 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
2427 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
2428 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
2429 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
2430 termios-misc.h.
2431 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2432 (sysdep_headers): Add termios-misc.h.
2433
f69c5cb2
AZ
2434 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2435 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2436 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2437
3aa4a07e
AZ
2438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2439 termios-tcflow.h.
2440 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2441 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2442 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2443 TCSAFLUSH): Move to termios-tcflow.h.
2444 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2445 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2446 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2447 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2448
22679ddf
AZ
2449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2450 termios-c_lflag.h.
2451 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2452 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2453 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2454 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2455 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2456 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2457 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2458 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
2459 Likewise.
2460 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2461 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2462 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2463 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2464
72eb6ecc
AZ
2465 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2466 termios-c_cflag.h.
2467 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2468 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2469 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2470 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2471 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2472 termios-c_cflag.h.
2473 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2474 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2475 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2476 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2477
9c5d0d02
AZ
2478 [BZ #23783]
2479 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2480 termios-baud.h.
2481 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
2482 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
2483 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
2484 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
2485 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
2486 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
2487 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
2488 __MAX_BAUD): Move to termios-baud.h.
2489 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
2490 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2491 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2492 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2493 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2494
7b832018
AZ
2495 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2496 termios-c_oflag.h.
2497 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
2498 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
2499 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
2500 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
2501 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
2502 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
2503 termios-c_oflag.h.
2504 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
2505 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
2506 FFR1): Likewise.
2507 [USE_MISC] (XTABS): Likewise.
2508 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2509 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2510 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2511 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
2512
3127003e
AZ
2513 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2514 termios-c_iflag.h.
2515 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
2516 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
2517 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
2518 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
2519 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
2520 IUTF8): Move to termios-c_iflag.h.
2521 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2522 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2523 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2524 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2525
48c1dd96
AZ
2526 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2527 termios-cc.h.
2528 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
2529 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
2530 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
2531 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
2532 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
2533 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
2534 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
2535 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
2536 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2537 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2538 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2539 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2540
e5a50db3
AZ
2541 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
2542 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
2543 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
2544 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
2545 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2546 termios-struct.h.
2547 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
2548 termios-struct.h.
2549 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
2550 Likewise.
2551 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
2552 Likewise.
2553 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
2554 Likewise.
2555 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
2556 Likewise.
2557 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
2558 _HAVE_C_OSPEED): Define.
2559 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
2560 _HAVE_C_OSPEED): Likewise.
2561 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
2562 _HAVE_C_OSPEED): Likewise.
2563 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
2564 (cfsetospeed): Check for define value instead of existence.
2565 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
2566 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2567 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
2568 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2569 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2570
8083afa5
AZ
2571 [BZ #17783]
2572 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2573 Define.
2574 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2575 (TIOCSER_TEMT): Likewise.
2576 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2577 (TEOCSER_TEMT): Likewise.
2578
4d7d7dc6
P
25792019-01-02 PanderMusubi <pander@users.sourceforge.net>
2580
2581 [BZ #24011]
2582 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2583
8e291a29
JM
25842019-01-02 Joseph Myers <joseph@codesourcery.com>
2585
2586 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2587
55137f7d
ST
25882019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2589
2590 * sysdeps/htl/pt-barrierattr-setpshared.c
2591 (pthread_barrierattr_setpshared): Add stub warning.
2592 * sysdeps/htl/pt-condattr-setpshared.c
2593 (pthread_condattr_setpshared): Likewise.
2594 * sysdeps/htl/pt-mutexattr-setpshared.c
2595 (pthread_mutexattr_setpshared): Likewise.
2596 * sysdeps/htl/pt-rwlockattr-setpshared.c
2597 (pthread_rwlockattr_setpshared): Likewise.
2598 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2599 (pthread_mutexattr_setpshared): Likewise.
2600
2ce09e01
JM
26012019-01-02 Joseph Myers <joseph@codesourcery.com>
2602
acb55dcb
JM
2603 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2604 constants to match with Linux 4.20.
2605
2ce09e01
JM
2606 * sysdeps/mips/mips32/libm-test-ulps: Update.
2607 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2608
fe20bb1d
AJ
26092019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2610
2611 [BZ #24034]
2612 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2613 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2614 than __typeof (...) for the a_ptr variable.
2615
2d9837c1
GG
26162019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2617
2618 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2619 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2620 * libio/Makefile (tests): Add tst-sprintf-ub and
2621 tst-sprintf-chk-ub.
2622 (CFLAGS-tst-sprintf-ub.c): New variable.
2623 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2624 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2625 destination buffer and check for overflows in fortified mode.
2626 * libio/libioP.h (PRINTF_CHK): New macro.
2627 * libio/tst-sprintf-chk-ub.c: New file.
2628 * libio/tst-sprintf-ub.c: Likewise.
2629
d5c6df0b 26302019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
2631
2632 [BZ #24018]
2633 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2634 failure.
2635
66081e38
FW
26362019-01-02 Florian Weimer <fweimer@redhat.com>
2637
2638 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2639
04277e02
JM
26402019-01-01 Joseph Myers <joseph@codesourcery.com>
2641
6ef3d225
JM
2642 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2643 macro.
2644
e3d4e292
JM
2645 * sysdeps/unix/sysv/linux/netpacket/packet.h
2646 (PACKET_IGNORE_OUTGOING): New macro.
2647
f4507797
JM
2648 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2649 macro.
2650
47ad5e1a
JM
2651 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2652 version to 4.20.
2653 (riscv_flush_icache): New syscall.
2654
7628a1b0
JM
2655 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2656 trailing whitespace removed.
2657 * scripts/config.guess: Update to version 2019-01-01.
2658 * scripts/config.sub: Update to version 2019-01-01.
2659 * scripts/move-if-change: Update from gnulib.
2660
c9123888
JM
2661 * NEWS: Update copyright dates.
2662 * catgets/gencat.c (print_version): Likewise.
2663 * csu/version.c (banner): Likewise.
2664 * debug/catchsegv.sh: Likewise.
2665 * debug/pcprofiledump.c (print_version): Likewise.
2666 * debug/xtrace.sh (do_version): Likewise.
2667 * elf/ldconfig.c (print_version): Likewise.
2668 * elf/ldd.bash.in: Likewise.
2669 * elf/pldd.c (print_version): Likewise.
2670 * elf/sotruss.sh: Likewise.
2671 * elf/sprof.c (print_version): Likewise.
2672 * iconv/iconv_prog.c (print_version): Likewise.
2673 * iconv/iconvconfig.c (print_version): Likewise.
2674 * locale/programs/locale.c (print_version): Likewise.
2675 * locale/programs/localedef.c (print_version): Likewise.
2676 * login/programs/pt_chown.c (print_version): Likewise.
2677 * malloc/memusage.sh (do_version): Likewise.
2678 * malloc/memusagestat.c (print_version): Likewise.
2679 * malloc/mtrace.pl: Likewise.
2680 * manual/libc.texinfo: Likewise.
2681 * nptl/version.c (banner): Likewise.
2682 * nscd/nscd.c (print_version): Likewise.
2683 * nss/getent.c (print_version): Likewise.
2684 * nss/makedb.c (print_version): Likewise.
2685 * posix/getconf.c (main): Likewise.
2686 * scripts/test-installation.pl: Likewise.
2687 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2688
04277e02
JM
2689 * All files with FSF copyright notices: Update copyright dates
2690 using scripts/update-copyrights.
2691 * locale/programs/charmap-kw.h: Regenerated.
2692 * locale/programs/locfile-kw.h: Likewise.
2693
e740e5b1
JM
26942018-12-31 Joseph Myers <joseph@codesourcery.com>
2695
2696 * timezone/zdump.c: Update from tzcode 2018i.
2697 * timezone/zic.c: Likewise.
2698
9b7f98b3
PE
26992018-12-31 Paul Eggert <eggert@cs.ucla.edu>
2700
2701 regex: improve Gnulib port to AIX
2702 From the glibc point of view, this removes duplicate macro
2703 definitions and is obviously safe.
2704 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
2705 * posix/regex_internal.h:
2706 (__attribute__, __attribute_warn_unused_result__):
2707 Remove; already defined elsewhere.
2708
b50dd3bc
FW
27092018-12-31 Florian Weimer <fw@deneb.enyo.de>
2710
2711 [BZ #24027]
2712 * malloc/malloc.c (_int_realloc): Always call memcpy for the
2713 copying operation. (ncopies had the wrong type, resulting in an
2714 integer wraparound and too few elements being copied.)
2715
0b9c8490
L
27162018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2717
2718 [BZ #24022]
2719 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2720 <asm/syscalls.h> exists with __has_include__ before including it.
2721
01047fa6
JM
27222018-12-31 Joseph Myers <joseph@codesourcery.com>
2723
2724 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2725 version to 4.20.
2726
065957a3
JW
27272018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2728
2729 * hurd/lookup-retry: Include <unistd.h>.
2730 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2731 Release it on return. Handle "pid" magical lookup retry.
2732
989182c4
RL
27332018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2734
2735 [BZ #10496]
2736 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2737 (t_fmt_ampm): Likewise.
2738 * localedata/locales/aa_ER (t_fmt): Likewise.
2739 (t_fmt_ampm): Likewise.
2740 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2741 (t_fmt_ampm): Likewise.
2742 * localedata/locales/aa_ET (t_fmt): Likewise.
2743 (t_fmt_ampm): Likewise.
2744 * localedata/locales/am_ET (t_fmt): Likewise.
2745 (t_fmt_ampm): Likewise.
2746 * localedata/locales/byn_ER (t_fmt): Likewise.
2747 (t_fmt_ampm): Likewise.
2748 * localedata/locales/om_ET (t_fmt): Likewise.
2749 (t_fmt_ampm): Likewise.
2750 * localedata/locales/sid_ET (t_fmt): Likewise.
2751 (t_fmt_ampm): Likewise.
2752 * localedata/locales/so_DJ (t_fmt): Likewise.
2753 (t_fmt_ampm): Likewise.
2754 * localedata/locales/so_ET (t_fmt): Likewise.
2755 (t_fmt_ampm): Likewise.
2756 * localedata/locales/so_SO (t_fmt): Likewise.
2757 (t_fmt_ampm): Likewise.
2758 * localedata/locales/ti_ER (t_fmt): Likewise.
2759 (t_fmt_ampm): Likewise.
2760 * localedata/locales/ti_ET (t_fmt): Likewise.
2761 (t_fmt_ampm): Likewise.
2762 * localedata/locales/tig_ER (t_fmt): Likewise.
2763 (t_fmt_ampm): Likewise.
2764 * localedata/locales/wal_ET (t_fmt): Likewise.
2765 (t_fmt_ampm): Likewise.
2766
2767 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2768 * localedata/locales/ar_IN (t_fmt): Likewise.
2769 * localedata/locales/bhb_IN (t_fmt): Likewise.
2770 * localedata/locales/bho_IN (t_fmt): Likewise.
2771 * localedata/locales/bi_VU (t_fmt): Likewise.
2772 * localedata/locales/bn_BD (t_fmt): Likewise.
2773 * localedata/locales/bn_IN (t_fmt): Likewise.
2774 * localedata/locales/brx_IN (t_fmt): Likewise.
2775 * localedata/locales/doi_IN (t_fmt): Likewise.
2776 * localedata/locales/en_HK (t_fmt): Likewise.
2777 (t_fmt_ampm): Likewise.
2778 * localedata/locales/en_IN (t_fmt): Likewise.
2779 * localedata/locales/en_PH (t_fmt): Likewise.
2780 * localedata/locales/gu_IN (t_fmt): Likewise.
2781 * localedata/locales/hi_IN (t_fmt): Likewise.
2782 * localedata/locales/hif_FJ (t_fmt): Likewise.
2783 * localedata/locales/hne_IN (t_fmt): Likewise.
2784 * localedata/locales/kn_IN (t_fmt): Likewise.
2785 * localedata/locales/kok_IN (t_fmt): Likewise.
2786 * localedata/locales/ks_IN (t_fmt): Likewise.
2787 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2788 * localedata/locales/mag_IN (t_fmt): Likewise.
2789 * localedata/locales/mai_IN (t_fmt): Likewise.
2790 * localedata/locales/mjw_IN (t_fmt): Likewise.
2791 * localedata/locales/ml_IN (t_fmt): Likewise.
2792 * localedata/locales/mni_IN (t_fmt): Likewise.
2793 * localedata/locales/mr_IN (t_fmt): Likewise.
2794 * localedata/locales/ms_MY (t_fmt): Likewise.
2795 * localedata/locales/pa_IN (t_fmt): Likewise.
2796 * localedata/locales/raj_IN (t_fmt): Likewise.
2797 * localedata/locales/sa_IN (t_fmt): Likewise.
2798 * localedata/locales/sat_IN (t_fmt): Likewise.
2799 * localedata/locales/sd_IN (t_fmt): Likewise.
2800 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2801 * localedata/locales/tcy_IN (t_fmt): Likewise.
2802 * localedata/locales/the_NP (t_fmt): Likewise.
2803 * localedata/locales/to_TO (t_fmt): Likewise.
2804 * localedata/locales/ur_IN (t_fmt): Likewise.
2805
2806 * localedata/locales/hif_FJ (d_t_fmt): Set to
2807 "%A %d %b %Y %I:%M:%S %p".
2808 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2809
2810 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2811 * localedata/locales/ar_BH (t_fmt): Likewise.
2812 * localedata/locales/ar_DZ (t_fmt): Likewise.
2813 * localedata/locales/ar_EG (t_fmt): Likewise.
2814 * localedata/locales/ar_IQ (t_fmt): Likewise.
2815 * localedata/locales/ar_JO (t_fmt): Likewise.
2816 * localedata/locales/ar_KW (t_fmt): Likewise.
2817 * localedata/locales/ar_LB (t_fmt): Likewise.
2818 * localedata/locales/ar_LY (t_fmt): Likewise.
2819 * localedata/locales/ar_OM (t_fmt): Likewise.
2820 * localedata/locales/ar_QA (t_fmt): Likewise.
2821 * localedata/locales/ar_SD (t_fmt): Likewise.
2822 * localedata/locales/ar_SS (t_fmt): Likewise.
2823 * localedata/locales/ar_SY (t_fmt): Likewise.
2824 * localedata/locales/ar_TN (t_fmt): Likewise.
2825 * localedata/locales/ar_YE (t_fmt): Likewise.
2826
2827 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2828 (t_fmt_ampm): Likewise.
2829 * localedata/locales/gez_ET (t_fmt): Likewise.
2830 (t_fmt_ampm): Likewise.
2831
2832 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2833 (t_fmt_ampm): Likewise.
2834 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2835
2836 * localedata/locales/zh_HK (t_fmt):
2837 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2838
2839 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2840 because this locale does not use the 12-hour clock.
2841 (t_fmt): Set to "%Z %H:%M:%S".
2842 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2843
2844 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2845 because this locale does not use the 12-hour clock.
2846 (t_fmt): Set to "%H:%M:%S %Z".
2847 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2848
2849 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2850 because this locale does not use the 12-hour clock.
2851 (t_fmt): Set to "%T".
2852 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2853 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2854
2855 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2856 because this locale does not use the 12-hour clock.
2857 (t_fmt): Set to "%H:%M:%S %Z".
2858 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2859
2860 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2861 because this locale does not use the 12-hour clock.
2862 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2863 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2864
27841a7d
RL
28652018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2866
2867 [BZ #10496]
2868 [BZ #23724]
2869 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2870 (t_fmt_ampm): Likewise.
2871 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2872 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2873 (d_fmt): Set to "%-d.%-m.%y".
2874
0253580a
AZ
28752018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2876
2877 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2878 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2879 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2880 Likewise.
2881 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2882 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2883 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2884 function.
2885 * support/blob_repeat.c (check_mul_overflow_size_t,
2886 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2887
09104e5b
AJ
28882018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2889
2890 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2891
c0feb731
PE
28922018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2893
2894 regex: simplify Gnulib port
2895 This simplifies the code, by removing stuff intended for porting
2896 to Gnulib but no longer needed there.
2897 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2898 uses of libc_hidden_def, weak_alias.
2899 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2900 _Restrict_ except for public-facing headers.
2901 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2902 Remove; already defined elsewhere.
2903 * posix/regex.c, posix/regex_internal.h:
2904 Use __GNUC_PREREQ instead of rolling our own.
2905 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2906
5289f1f5
WD
29072018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2908
2909 * benchtests/bench-strlen.c (generic_strlen): New function.
2910 (memchr_strlen): New function.
2911
ba4b8fab
L
29122018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2913
2914 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2915 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2916 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2917
9412979a
L
29182018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2919
2920 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2921
8700a785
L
29222018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2923
2924 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2925 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2926 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2927 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2928 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2929 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2930 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2931
57b3ff8e
JM
29322018-12-21 Joseph Myers <joseph@codesourcery.com>
2933
2934 [BZ #24023]
2935 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2936 PLT reference in libc.so.
2937 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2938 _Q_lltoq and _Q_qtod PLT references in libc.so.
2939
90d3320d
WD
29402018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2941
2942 * benchtests/bench-memchr.c: Cleanup defines.
2943 * benchtests/bench-memcmp.c: Likewise.
2944 * benchtests/bench-memset.c: Likewise.
2945 * benchtests/bench-memset-large.c: Likewise.
2946 * benchtests/bench-memset-walk.c: Likewise.
2947 * benchtests/bench-stpcpy.c: Likewise.
2948 * benchtests/bench-stpncpy.c: Likewise.
2949 * benchtests/bench-strcat.c: Likewise.
2950 * benchtests/bench-strchr.c: Likewise.
2951 * benchtests/bench-strcmp.c: Likewise.
2952 * benchtests/bench-strcpy.c: Likewise.
2953 * benchtests/bench-strcspn.c: Likewise.
2954 * benchtests/bench-string.h: Likewise.
2955 * benchtests/bench-strlen.c: Likewise.
2956 * benchtests/bench-strncat.c: Likewise.
2957 * benchtests/bench-strncmp.c: Likewise.
2958 * benchtests/bench-strncpy.c: Likewise.
2959 * benchtests/bench-strnlen.c: Likewise.
2960 * benchtests/bench-strpbrk.c: Likewise.
2961 * benchtests/bench-strrchr.c: Likewise.
2962 * benchtests/bench-strspn.c: Likewise.
2963
192963be
JM
29642018-12-21 Joseph Myers <joseph@codesourcery.com>
2965
5d025ea6
JM
2966 * stdlib/longlong.h: Update from GCC.
2967
192963be
JM
2968 [BZ #23993]
2969 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
2970 * configure: Regenerated.
2971 * manual/install.texi (Tools for Compilation): Update minimum GCC
2972 version.
2973 * INSTALL: Regenerated.
2974
c0e82f11
IK
29752018-12-21 Istvan Kurucsai <pistukem@gmail.com>
2976
2977 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
2978
ebe544bf
IK
29792018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2980
2981 * malloc/malloc.c (mremap_chunk): Additional checks.
2982
5f72b005
MH
29832018-12-21 Mao Han <han_mao@c-sky.com>
2984
2985 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2986 * scripts/build-many-glibcs.py: Add C-SKY targets.
2987 * sysdeps/csky/Implies: New file.
2988 * sysdeps/csky/Makefile: Likewise.
2989 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2990 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2991 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2992 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2993 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2994 * sysdeps/csky/abiv2/memmove.S: Likewise.
2995 * sysdeps/csky/abiv2/memset.S: Likewise.
2996 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2997 * sysdeps/csky/abiv2/start.S: Likewise.
2998 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2999 * sysdeps/csky/abiv2/strcpy.S: Likewise.
3000 * sysdeps/csky/abiv2/strlen.S: Likewise.
3001 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
3002 * sysdeps/csky/abort-instr.h: Likewise.
3003 * sysdeps/csky/atomic-machine.h: Likewise.
3004 * sysdeps/csky/bits/endian.h: Likewise.
3005 * sysdeps/csky/bits/fenv.h: Likewise.
3006 * sysdeps/csky/bits/link.h: Likewise.
3007 * sysdeps/csky/bits/setjmp.h: Likewise.
3008 * sysdeps/csky/bsd-_setjmp.S: Likewise.
3009 * sysdeps/csky/bsd-setjmp.S: Likewise.
3010 * sysdeps/csky/configure: Likewise.
3011 * sysdeps/csky/configure.ac: Likewise.
3012 * sysdeps/csky/dl-machine.h: Likewise.
3013 * sysdeps/csky/dl-procinfo.c: Likewise.
3014 * sysdeps/csky/dl-procinfo.h: Likewise.
3015 * sysdeps/csky/dl-sysdep.h: Likewise.
3016 * sysdeps/csky/dl-tls.h: Likewise.
3017 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
3018 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
3019 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
3020 * sysdeps/csky/fpu/fegetenv.c: Likewise.
3021 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
3022 * sysdeps/csky/fpu/fegetmode.c: Likewise.
3023 * sysdeps/csky/fpu/fegetround.c: Likewise.
3024 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
3025 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
3026 * sysdeps/csky/fpu/fenv_private.h: Likewise.
3027 * sysdeps/csky/fpu/fesetenv.c: Likewise.
3028 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
3029 * sysdeps/csky/fpu/fesetmode.c: Likewise.
3030 * sysdeps/csky/fpu/fesetround.c: Likewise.
3031 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
3032 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
3033 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
3034 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
3035 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
3036 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
3037 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
3038 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
3039 * sysdeps/csky/fpu_control.h: Likewise.
3040 * sysdeps/csky/gccframe.h: Likewise.
3041 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
3042 * sysdeps/csky/ldsodefs.h: Likewise.
3043 * sysdeps/csky/libc-tls.c: Likewise.
3044 * sysdeps/csky/linkmap.h: Likewise.
3045 * sysdeps/csky/machine-gmon.h: Likewise.
3046 * sysdeps/csky/memusage.h: Likewise.
3047 * sysdeps/csky/nofpu/Implies: Likewise.
3048 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
3049 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
3050 * sysdeps/csky/nptl/Makefile: Likewise.
3051 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
3052 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
3053 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
3054 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
3055 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
3056 * sysdeps/csky/nptl/tls.h: Likewise.
3057 * sysdeps/csky/preconfigure: Likewise.
3058 * sysdeps/csky/sfp-machine.h: Likewise.
3059 * sysdeps/csky/sotruss-lib.c: Likewise.
3060 * sysdeps/csky/stackinfo.h: Likewise.
3061 * sysdeps/csky/sysdep.h: Likewise.
3062 * sysdeps/csky/tininess.h: Likewise.
3063 * sysdeps/csky/tst-audit.h: Likewise.
3064 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
3065 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
3066 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
3067 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
3068 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3069 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
3070 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3071 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
3072 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
3073 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
3074 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
3075 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
3076 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
3077 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
3078 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
3079 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
3080 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
3081 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
3082 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
3083 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
3084 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
3085 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
3086 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
3087 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3088 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
3089 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
3090 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
3091 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
3092 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
3093 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
3094 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
3095 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
3096 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
3097 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
3098 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
3099 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3100 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
3101 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
3102 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
3103 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
3104 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
3105 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
3106 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
3107 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
3108
ac253355
AA
31092018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3110
3111 * include/time.h (__difftime64): Add.
3112 * time/difftime.c (subtract): convert to 64-bit time.
3113 * time/difftime.c (__difftime64): Add.
3114 * time/difftime.c (__difftime): Wrap around __difftime64.
3115
ab416931
L
31162018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3117
3118 * manual/examples/add.c: Remove redundant "if not".
3119 * manual/examples/argp-ex1.c: Likewise.
3120 * manual/examples/argp-ex2.c: Likewise.
3121 * manual/examples/argp-ex3.c: Likewise.
3122 * manual/examples/argp-ex4.c: Likewise.
3123 * manual/examples/atexit.c: Likewise.
3124 * manual/examples/db.c: Likewise.
3125 * manual/examples/dir.c: Likewise.
3126 * manual/examples/dir2.c: Likewise.
3127 * manual/examples/execinfo.c: Likewise.
3128 * manual/examples/filecli.c: Likewise.
3129 * manual/examples/filesrv.c: Likewise.
3130 * manual/examples/fmtmsgexpl.c: Likewise.
3131 * manual/examples/genpass.c: Likewise.
3132 * manual/examples/inetcli.c: Likewise.
3133 * manual/examples/inetsrv.c: Likewise.
3134 * manual/examples/isockad.c: Likewise.
3135 * manual/examples/longopt.c: Likewise.
3136 * manual/examples/memopen.c: Likewise.
3137 * manual/examples/memstrm.c: Likewise.
3138 * manual/examples/mkdirent.c: Likewise.
3139 * manual/examples/mkfsock.c: Likewise.
3140 * manual/examples/mkisock.c: Likewise.
3141 * manual/examples/mygetpass.c: Likewise.
3142 * manual/examples/pipe.c: Likewise.
3143 * manual/examples/popen.c: Likewise.
3144 * manual/examples/rprintf.c: Likewise.
3145 * manual/examples/search.c: Likewise.
3146 * manual/examples/select.c: Likewise.
3147 * manual/examples/setjmp.c: Likewise.
3148 * manual/examples/sigh1.c: Likewise.
3149 * manual/examples/sigusr.c: Likewise.
3150 * manual/examples/stpcpy.c: Likewise.
3151 * manual/examples/strdupa.c: Likewise.
3152 * manual/examples/strftim.c: Likewise.
3153 * manual/examples/subopt.c: Likewise.
3154 * manual/examples/swapcontext.c: Likewise.
3155 * manual/examples/termios.c: Likewise.
3156 * manual/examples/testopt.c: Likewise.
3157 * manual/examples/testpass.c: Likewise.
3158 * manual/examples/timeval_subtract.c: Likewise.
3159
515f463f
JM
31602018-12-19 Joseph Myers <joseph@codesourcery.com>
3161
da75c1b1
JM
3162 * sysdeps/x86/fpu/math_private.h: New file.
3163 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
3164
515f463f
JM
3165 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
3166 definition.
3167 (cosh): Likewise.
3168 (tanh): Likewise.
3169
1616d034
TMQMF
31702018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3171
3172 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
3173 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
3174 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
3175 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
3176 fields.
3177 (_dl_show_auxv): Give a special treatment to
3178 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
3179 and AT_L3_CACHEGEOMETRY.
3180 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
3181 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
3182 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
3183 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
3184
61595e3d
AS
31852018-12-19 Andreas Schwab <schwab@suse.de>
3186
3187 * nscd/connections.c (check_use): Don't abort on invalid len.
3188
bbb7dc84
ST
31892018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3190
3191 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
3192 values in the 64bit value cases.
3193
64c2277d
AA
31942018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3195
c4c2836a
AA
3196 * include/time.h
3197 (__ctime64_r): Add.
3198 * time/ctime_r.c
3199 (__ctime64_r): Add.
3200 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
3201
7755e504
AA
3202 * include/time.h
3203 (__ctime64): Add.
3204 * time/gmtime.c
3205 (__ctime64): Add.
3206 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
3207
a1d346ce
AA
3208 * include/time.h
3209 (__gmtime64_r): Add.
3210 * time/gmtime.c
3211 (__gmtime64_r): Add.
3212 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3213
131db8b0
AA
3214 * include/time.h
3215 (__gmtime64): Add.
3216 * time/gmtime.c
3217 (__gmtime64): Add.
3218 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3219
64c2277d
AA
3220 * include/time.h
3221 (__localtime64_r): Add.
3222 * time/localtime.c
3223 (__localtime64_r): Add.
3224 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
3225
56b98bf1
AZ
32262018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3227
64dd7a16
AZ
3228 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
3229 kernel_sigction definition.
3230
8b1d5da5
AZ
3231 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
3232
f9eabb19
AZ
3233 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
3234
56b98bf1
AZ
3235 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
3236 __syscall_rt_sigaction.
3237 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
3238 (kernel_sigaction): Use Linux generic defintion.
3239 (STUB): Define.
3240 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
3241 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
3242 (__syscall_rt_sigaction): Remove implementation.
3243 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
3244 hidden.
3245 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
3246 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
3247 INTERNAL_SYSCALL): Remove definitions.
3248 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
3249 action and signal set size.
3250 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
3251 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
3252
43a45c2d
AZ
32532018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3254 James Clarke <jrtc27@jrtc27.com>
3255
dfa6216f 3256 [BZ #23967]
43a45c2d
AZ
3257 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
3258 Define if SA_RESTORER is defined.
3259 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
3260 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
3261 already defined.
3262 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
3263 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
3264 definitions.
3265 (HAS_SA_RESTORER): Define.
3266 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
3267 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
3268 (HAS_SA_RESTORER): Define.
3269 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
3270 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
3271 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
3272 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
3273 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3274
646ce7e0
JM
32752018-12-18 Joseph Myers <joseph@codesourcery.com>
3276
3277 * sysdeps/unix/sysv/linux/kernel-features.h
3278 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
3279 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3280 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
3281 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3282 (__ASSUME_ST_INO_64_BIT): Likewise.
3283 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3284 <kernel-features.h>.
3285 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3286 Remove conditional code.
3287 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3288 <kernel-features.h>.
3289 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3290 Remove conditional code.
3291 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
3292 <kernel-features.h>.
3293 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3294 Remove conditional code.
3295 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
3296 <kernel-features.h>.
3297 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
3298 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
3299
80190d2b
SL
33002018-12-18 Stefan Liebler <stli@linux.ibm.com>
3301
3302 * sysdeps/s390/multiarch/ifunc-resolve.h
3303 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
3304 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
3305 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
3306 Delete macro definition.
3307 (s390_libc_ifunc_init): Rename to
3308 s390_libc_ifunc_expr_stfle_init.
3309 * sysdeps/s390/bzero: Use
3310 s390_libc_ifunc_expr_stfle_init instead of
3311 s390_libc_ifunc_init.
3312 * sysdeps/s390/memcmp.c: Likewise.
3313 * sysdeps/s390/memcpy.c: Likewise.
3314 * sysdeps/s390/mempcpy.c: Likewise.
3315 * sysdeps/s390/memset.c: Likewise.
3316
12f0dcb8
SL
33172018-12-18 Stefan Liebler <stli@linux.ibm.com>
3318
3319 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
3320 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
3321
25654a8c
SL
33222018-12-18 Stefan Liebler <stli@linux.ibm.com>
3323
3324 * sysdeps/s390/multiarch/Makefile
3325 (sysdep_routines): Remove wmemcmp variants.
3326 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
3327 * sysdeps/s390/multiarch/ifunc-impl-list.c
3328 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
3329 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
3330 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
3331 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
3332 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
3333 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
3334 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
3335 * sysdeps/s390/ifunc-wmemcmp.h: New file.
3336
d2a7436c
SL
33372018-12-18 Stefan Liebler <stli@linux.ibm.com>
3338
3339 * sysdeps/s390/multiarch/Makefile
3340 (sysdep_routines): Remove wmemset variants.
3341 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
3342 * sysdeps/s390/multiarch/ifunc-impl-list.c
3343 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
3344 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
3345 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
3346 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
3347 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
3348 * sysdeps/s390/multiarch/wmemset.c: Move to ...
3349 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
3350 * sysdeps/s390/ifunc-wmemset.h: New file.
3351
c62534ae
SL
33522018-12-18 Stefan Liebler <stli@linux.ibm.com>
3353
3354 * sysdeps/s390/multiarch/Makefile
3355 (sysdep_routines): Remove wmemchr variants.
3356 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
3357 * sysdeps/s390/multiarch/ifunc-impl-list.c
3358 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
3359 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
3360 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
3361 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
3362 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
3363 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
3364 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
3365 * sysdeps/s390/ifunc-wmemchr.h: New file.
3366
79b44cf6
SL
33672018-12-18 Stefan Liebler <stli@linux.ibm.com>
3368
3369 * sysdeps/s390/multiarch/Makefile
3370 (sysdep_routines): Remove wcscspn variants.
3371 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
3372 * sysdeps/s390/multiarch/ifunc-impl-list.c
3373 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
3374 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
3375 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
3376 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
3377 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
3378 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
3379 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
3380 * sysdeps/s390/ifunc-wcscspn.h: New file.
3381
8e87c1f6
SL
33822018-12-18 Stefan Liebler <stli@linux.ibm.com>
3383
3384 * sysdeps/s390/multiarch/Makefile
3385 (sysdep_routines): Remove wcspbrk variants.
3386 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
3387 * sysdeps/s390/multiarch/ifunc-impl-list.c
3388 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
3389 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
3390 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
3391 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
3392 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
3393 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
3394 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
3395 * sysdeps/s390/ifunc-wcspbrk.h: New file.
3396
8507e831
SL
33972018-12-18 Stefan Liebler <stli@linux.ibm.com>
3398
3399 * sysdeps/s390/multiarch/Makefile
3400 (sysdep_routines): Remove wcsspn variants.
3401 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3402 * sysdeps/s390/multiarch/ifunc-impl-list.c
3403 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3404 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3405 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
3406 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
3407 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
3408 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
3409 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
3410 * sysdeps/s390/ifunc-wcsspn.h: New file.
3411
4753713a
SL
34122018-12-18 Stefan Liebler <stli@linux.ibm.com>
3413
3414 * sysdeps/s390/multiarch/Makefile
3415 (sysdep_routines): Remove wcsrchr variants.
3416 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
3417 * sysdeps/s390/multiarch/ifunc-impl-list.c
3418 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
3419 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
3420 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
3421 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
3422 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
3423 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
3424 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
3425 * sysdeps/s390/ifunc-wcsrchr.h: New file.
3426
c09c1b6f
SL
34272018-12-18 Stefan Liebler <stli@linux.ibm.com>
3428
3429 * sysdeps/s390/multiarch/Makefile
3430 (sysdep_routines): Remove wcschrnul variants.
3431 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3432 * sysdeps/s390/multiarch/ifunc-impl-list.c
3433 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3434 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3435 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3436 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3437 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3438 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3439 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3440 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3441
cf3ccc31
SL
34422018-12-18 Stefan Liebler <stli@linux.ibm.com>
3443
3444 * sysdeps/s390/multiarch/Makefile
3445 (sysdep_routines): Remove wcschr variants.
3446 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3447 * sysdeps/s390/multiarch/ifunc-impl-list.c
3448 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3449 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3450 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3451 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3452 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3453 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3454 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3455 * sysdeps/s390/ifunc-wcschr.h: New file.
3456
e9873e1d
SL
34572018-12-18 Stefan Liebler <stli@linux.ibm.com>
3458
3459 * sysdeps/s390/multiarch/Makefile
3460 (sysdep_routines): Remove wcsncmp variants.
3461 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3462 * sysdeps/s390/multiarch/ifunc-impl-list.c
3463 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3464 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3465 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3466 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3467 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3468 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3469 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3470 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3471
3459e23d
SL
34722018-12-18 Stefan Liebler <stli@linux.ibm.com>
3473
3474 * sysdeps/s390/multiarch/Makefile
3475 (sysdep_routines): Remove wcscmp variants.
3476 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
3477 * sysdeps/s390/multiarch/ifunc-impl-list.c
3478 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
3479 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
3480 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
3481 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
3482 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
3483 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
3484 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
3485 * sysdeps/s390/ifunc-wcscmp.h: New file.
3486
814a76e1
SL
34872018-12-18 Stefan Liebler <stli@linux.ibm.com>
3488
3489 * sysdeps/s390/multiarch/Makefile
3490 (sysdep_routines): Remove wcsncat variants.
3491 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
3492 * sysdeps/s390/multiarch/ifunc-impl-list.c
3493 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
3494 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
3495 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
3496 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
3497 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
3498 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
3499 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
3500 * sysdeps/s390/ifunc-wcsncat.h: New file.
3501
3389cae4
SL
35022018-12-18 Stefan Liebler <stli@linux.ibm.com>
3503
3504 * sysdeps/s390/multiarch/Makefile
3505 (sysdep_routines): Remove wcscat variants.
3506 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
3507 * sysdeps/s390/multiarch/ifunc-impl-list.c
3508 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
3509 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
3510 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
3511 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
3512 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
3513 * sysdeps/s390/multiarch/wcscat.c: Move to ...
3514 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
3515 * sysdeps/s390/ifunc-wcscat.h: New file.
3516
c3081bcb
SL
35172018-12-18 Stefan Liebler <stli@linux.ibm.com>
3518
3519 * sysdeps/s390/multiarch/Makefile
3520 (sysdep_routines): Remove wcpncpy variants.
3521 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
3522 * sysdeps/s390/multiarch/ifunc-impl-list.c
3523 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
3524 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
3525 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
3526 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
3527 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
3528 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
3529 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
3530 * sysdeps/s390/ifunc-wcpncpy.h: New file.
3531
0966dd86
SL
35322018-12-18 Stefan Liebler <stli@linux.ibm.com>
3533
3534 * sysdeps/s390/multiarch/Makefile
3535 (sysdep_routines): Remove wcsncpy variants.
3536 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
3537 * sysdeps/s390/multiarch/ifunc-impl-list.c
3538 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
3539 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
3540 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
3541 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
3542 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
3543 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
3544 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
3545 * sysdeps/s390/ifunc-wcsncpy.h: New file.
3546
0582e428
SL
35472018-12-18 Stefan Liebler <stli@linux.ibm.com>
3548
3549 * sysdeps/s390/multiarch/Makefile
3550 (sysdep_routines): Remove wcpcpy variants.
3551 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
3552 * sysdeps/s390/multiarch/ifunc-impl-list.c
3553 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
3554 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
3555 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
3556 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
3557 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
3558 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
3559 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
3560 * sysdeps/s390/ifunc-wcpcpy.h: New file.
3561
804f2e5c
SL
35622018-12-18 Stefan Liebler <stli@linux.ibm.com>
3563
3564 * sysdeps/s390/multiarch/Makefile
3565 (sysdep_routines): Remove wcscpy variants.
3566 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
3567 * sysdeps/s390/multiarch/ifunc-impl-list.c
3568 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
3569 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3570 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3571 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3572 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3573 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3574 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3575 * sysdeps/s390/ifunc-wcscpy.h: New file.
3576
c7e7cd26
SL
35772018-12-18 Stefan Liebler <stli@linux.ibm.com>
3578
3579 * sysdeps/s390/multiarch/Makefile
3580 (sysdep_routines): Remove wcsnlen variants.
3581 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3582 * sysdeps/s390/multiarch/ifunc-impl-list.c
3583 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3584 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3585 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3586 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3587 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3588 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3589 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3590 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3591
2e02d0b7
SL
35922018-12-18 Stefan Liebler <stli@linux.ibm.com>
3593
3594 * sysdeps/s390/multiarch/Makefile
3595 (sysdep_routines): Remove wcslen variants.
3596 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3597 * sysdeps/s390/multiarch/ifunc-impl-list.c
3598 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3599 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3600 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3601 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3602 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3603 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3604 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3605 * sysdeps/s390/ifunc-wcslen.h: New file.
3606
89bfcbdf
SL
36072018-12-18 Stefan Liebler <stli@linux.ibm.com>
3608
3609 * sysdeps/s390/multiarch/Makefile
3610 (sysdep_routines): Remove memrchr variants.
3611 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3612 * sysdeps/s390/multiarch/ifunc-impl-list.c
3613 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3614 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3615 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3616 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3617 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3618 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3619 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3620 * sysdeps/s390/ifunc-memrchr.h: New file.
3621
196655ba
SL
36222018-12-18 Stefan Liebler <stli@linux.ibm.com>
3623
3624 * sysdeps/s390/multiarch/Makefile
3625 (sysdep_routines): Remove memccpy variants.
3626 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3627 * sysdeps/s390/multiarch/ifunc-impl-list.c
3628 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3629 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3630 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3631 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3632 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3633 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3634 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3635 * sysdeps/s390/ifunc-memccpy.h: New file.
3636
4c7b3cec
SL
36372018-12-18 Stefan Liebler <stli@linux.ibm.com>
3638
3639 * sysdeps/s390/multiarch/Makefile
3640 (sysdep_routines): Remove rawmemchr variants.
3641 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3642 * sysdeps/s390/multiarch/ifunc-impl-list.c
3643 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3644 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3645 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3646 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3647 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3648 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3649 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3650 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3651
581a051c
SL
36522018-12-18 Stefan Liebler <stli@linux.ibm.com>
3653
3654 * sysdeps/s390/multiarch/Makefile
3655 (sysdep_routines): Remove memchr variants.
3656 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3657 * sysdeps/s390/multiarch/ifunc-impl-list.c
3658 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3659 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3660 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3661 * sysdeps/s390/multiarch/memchr.c: Move to ...
3662 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3663 * sysdeps/s390/ifunc-memchr.h: New file.
3664 * sysdeps/s390/s390-64/memchr.S: Move to ...
3665 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3666 for 31/64bit and ifunc handling.
3667 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3668 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3669 * sysdeps/s390/s390-32/memchr.S: Likewise.
3670
5d2ec20a
SL
36712018-12-18 Stefan Liebler <stli@linux.ibm.com>
3672
3673 * sysdeps/s390/multiarch/Makefile
3674 (sysdep_routines): Remove strcspn variants.
3675 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3676 * sysdeps/s390/multiarch/ifunc-impl-list.c
3677 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3678 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
3679 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
3680 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
3681 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
3682 * sysdeps/s390/multiarch/strcspn.c: Move to ...
3683 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
3684 * sysdeps/s390/ifunc-strcspn.h: New file.
3685
572cca93
SL
36862018-12-18 Stefan Liebler <stli@linux.ibm.com>
3687
3688 * sysdeps/s390/multiarch/Makefile
3689 (sysdep_routines): Remove strpbrk variants.
3690 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
3691 * sysdeps/s390/multiarch/ifunc-impl-list.c
3692 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
3693 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
3694 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
3695 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
3696 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
3697 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
3698 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
3699 * sysdeps/s390/ifunc-strpbrk.h: New file.
3700
483fc569
SL
37012018-12-18 Stefan Liebler <stli@linux.ibm.com>
3702
3703 * sysdeps/s390/multiarch/Makefile
3704 (sysdep_routines): Remove strspn variants.
3705 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
3706 * sysdeps/s390/multiarch/ifunc-impl-list.c
3707 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
3708 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
3709 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
3710 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
3711 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
3712 * sysdeps/s390/multiarch/strspn.c: Move to ...
3713 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
3714 * sysdeps/s390/ifunc-strspn.h: New file.
3715
26ea8760
SL
37162018-12-18 Stefan Liebler <stli@linux.ibm.com>
3717
3718 * sysdeps/s390/multiarch/Makefile
3719 (sysdep_routines): Remove strrchr variants.
3720 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3721 * sysdeps/s390/multiarch/ifunc-impl-list.c
3722 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3723 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3724 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3725 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3726 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3727 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3728 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3729 * sysdeps/s390/ifunc-strrchr.h: New file.
3730
a1361e65
SL
37312018-12-18 Stefan Liebler <stli@linux.ibm.com>
3732
3733 * sysdeps/s390/multiarch/Makefile
3734 (sysdep_routines): Remove strchrnul variants.
3735 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3736 * sysdeps/s390/multiarch/ifunc-impl-list.c
3737 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3738 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3739 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3740 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3741 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3742 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3743 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3744 * sysdeps/s390/ifunc-strchrnul.h: New file.
3745
32f12653
SL
37462018-12-18 Stefan Liebler <stli@linux.ibm.com>
3747
3748 * sysdeps/s390/multiarch/Makefile
3749 (sysdep_routines): Remove strchr variants.
3750 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3751 * sysdeps/s390/multiarch/ifunc-impl-list.c
3752 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3753 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3754 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3755 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3756 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3757 * sysdeps/s390/multiarch/strchr.c: Move to ...
3758 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3759 * sysdeps/s390/ifunc-strchr.h: New file.
3760
316b8842
SL
37612018-12-18 Stefan Liebler <stli@linux.ibm.com>
3762
3763 * sysdeps/s390/multiarch/Makefile
3764 (sysdep_routines): Remove strncmp variants.
3765 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3766 * sysdeps/s390/multiarch/ifunc-impl-list.c
3767 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3768 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3769 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3770 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3771 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3772 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3773 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3774 * sysdeps/s390/ifunc-strncmp.h: New file.
3775
cdab85fe
SL
37762018-12-18 Stefan Liebler <stli@linux.ibm.com>
3777
3778 * sysdeps/s390/multiarch/Makefile
3779 (sysdep_routines): Remove strcmp variants.
3780 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3781 * sysdeps/s390/multiarch/ifunc-impl-list.c
3782 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3783 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3784 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3785 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3786 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3787 * sysdeps/s390/ifunc-strcmp.h: New file.
3788 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3789 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3790 for 31/64bit and ifunc handling.
3791 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3792 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3793 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3794
b9353351
SL
37952018-12-18 Stefan Liebler <stli@linux.ibm.com>
3796
3797 * sysdeps/s390/multiarch/Makefile
3798 (sysdep_routines): Remove strncat variants.
3799 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3800 * sysdeps/s390/multiarch/ifunc-impl-list.c
3801 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3802 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3803 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3804 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3805 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3806 * sysdeps/s390/multiarch/strncat.c: Move to ...
3807 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3808 * sysdeps/s390/ifunc-strncat.h: New file.
3809
8e5a0afb
SL
38102018-12-18 Stefan Liebler <stli@linux.ibm.com>
3811
3812 * sysdeps/s390/multiarch/Makefile
3813 (sysdep_routines): Remove strcat variants.
3814 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3815 * sysdeps/s390/multiarch/ifunc-impl-list.c
3816 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3817 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3818 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3819 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3820 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3821 * sysdeps/s390/multiarch/strcat.c: Move to ...
3822 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3823 * sysdeps/s390/ifunc-strcat.h: New file.
3824
25218822
SL
38252018-12-18 Stefan Liebler <stli@linux.ibm.com>
3826
3827 * sysdeps/s390/multiarch/Makefile
3828 (sysdep_routines): Remove stpncpy variants.
3829 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3830 * sysdeps/s390/multiarch/ifunc-impl-list.c
3831 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3832 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3833 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3834 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3835 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3836 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3837 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3838 * sysdeps/s390/ifunc-stpncpy.h: New file.
3839
d1bdbf38
SL
38402018-12-18 Stefan Liebler <stli@linux.ibm.com>
3841
3842 * sysdeps/s390/multiarch/Makefile
3843 (sysdep_routines): Remove strncpy variants.
3844 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3845 * sysdeps/s390/multiarch/ifunc-impl-list.c
3846 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3847 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3848 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3849 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3850 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3851 * sysdeps/s390/ifunc-strncpy.h: New file.
3852 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3853 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3854 and adjust ifunc handling.
3855 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3856 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3857 and adjust ifunc handling.
3858 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3859 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3860
97044931
SL
38612018-12-18 Stefan Liebler <stli@linux.ibm.com>
3862
3863 * sysdeps/s390/multiarch/Makefile
3864 (sysdep_routines): Remove stpcpy variants.
3865 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3866 * sysdeps/s390/multiarch/ifunc-impl-list.c
3867 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3868 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3869 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3870 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3871 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3872 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3873 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3874 * sysdeps/s390/ifunc-stpcpy.h: New file.
3875
914a4e05
SL
38762018-12-18 Stefan Liebler <stli@linux.ibm.com>
3877
3878 * sysdeps/s390/multiarch/Makefile
3879 (sysdep_routines): Remove strcpy variants.
3880 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3881 * sysdeps/s390/multiarch/ifunc-impl-list.c
3882 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3883 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3884 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3885 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3886 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3887 * sysdeps/s390/ifunc-strcpy.h: New file.
3888 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3889 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3890 for 31/64bit and ifunc handling.
3891 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3892 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3893 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3894
de10e44d
SL
38952018-12-18 Stefan Liebler <stli@linux.ibm.com>
3896
3897 * sysdeps/s390/multiarch/Makefile
3898 (sysdep_routines): Remove strnlen variants.
3899 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3900 * sysdeps/s390/multiarch/ifunc-impl-list.c
3901 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3902 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3903 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3904 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3905 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3906 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3907 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3908 * sysdeps/s390/ifunc-strnlen.h: New file.
3909
ff3ca374
SL
39102018-12-18 Stefan Liebler <stli@linux.ibm.com>
3911
3912 * sysdeps/s390/multiarch/Makefile
3913 (sysdep_routines): Remove strlen variants.
3914 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3915 * sysdeps/s390/multiarch/ifunc-impl-list.c
3916 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3917 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3918 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3919 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3920 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3921 * sysdeps/s390/multiarch/strlen.c: Move to ...
3922 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3923 * sysdeps/s390/ifunc-strlen.h: New file.
3924
d2c4c403
SL
39252018-12-18 Stefan Liebler <stli@linux.ibm.com>
3926
3927 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3928 * sysdeps/s390/multiarch/ifunc-impl-list.c
3929 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3930 * sysdeps/s390/ifunc-memmem.h: New file.
3931 * sysdeps/s390/memmem.c: Likewise.
3932 * sysdeps/s390/memmem-c.c: Likewise.
3933 * sysdeps/s390/memmem-vx.c: Likewise.
3934
8c25dddd
SL
39352018-12-18 Stefan Liebler <stli@linux.ibm.com>
3936
3937 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3938 * sysdeps/s390/multiarch/ifunc-impl-list.c
3939 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3940 * sysdeps/s390/ifunc-strstr.h: New file.
3941 * sysdeps/s390/strstr.c: Likewise.
3942 * sysdeps/s390/strstr-c.c: Likewise.
3943 * sysdeps/s390/strstr-vx.c: Likewise.
3944
cdd927d9
SL
39452018-12-18 Stefan Liebler <stli@linux.ibm.com>
3946
3947 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3948 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
3949 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
3950 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
3951 New defines.
3952 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
3953 * sysdeps/s390/memmove-c.c: New file.
3954 * sysdeps/s390/memmove.c: Likewise.
3955 * sysdeps/s390/multiarch/ifunc-impl-list.c
3956 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
3957
2ee1bc57
SL
39582018-12-18 Stefan Liebler <stli@linux.ibm.com>
3959
3960 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
3961 * sysdeps/s390/configure.ac: Add check for z13 support.
3962 * sysdeps/s390/configure: Regenerated.
3963
d097d976
SL
39642018-12-18 Stefan Liebler <stli@linux.ibm.com>
3965
3966 * sysdeps/s390/memcopy.h: New file.
3967
e099aab0
SL
39682018-12-18 Stefan Liebler <stli@linux.ibm.com>
3969
3970 * sysdeps/s390/s390-32/bcopy.S: Remove.
3971 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3972
18eb862d
SL
39732018-12-18 Stefan Liebler <stli@linux.ibm.com>
3974
3975 * sysdeps/s390/ifunc-memcpy.h: New File.
3976 * sysdeps/s390/memcpy.S: Move to ...
3977 * sysdeps/s390/memcpy-z900.S ... here.
3978 Move implementations from memcpy-s390x.s to here.
3979 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
3980 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3981 Remove memcpy/mempcpy variants.
3982 * sysdeps/s390/Makefile (sysdep_routines):
3983 Add memcpy/mempcpy variants.
3984 * sysdeps/s390/multiarch/ifunc-impl-list.c
3985 (__libc_ifunc_impl_list): Adjust ifunc variants for
3986 memcpy and mempcpy.
3987 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3988 to ...
3989 * sysdeps/s390/memcpy.c: ... here.
3990 Adjust ifunc variants for memcpy.
3991 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3992 * sysdeps/s390/mempcpy.c: ... here.
3993 Adjust ifunc variants for mempcpy.
3994 * sysdeps/s390/mempcpy.S: Delete file.
3995
df3eb8de
SL
39962018-12-18 Stefan Liebler <stli@linux.ibm.com>
3997
3998 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3999 * sysdeps/s390/memcpy.S: ... here.
4000 Adjust to be usable for 31/64bit.
4001 * sysdeps/s390/s390-32/memcpy.S: Delete File.
4002 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
4003 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
4004 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4005 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
4006 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
4007 Adjust to be usable for 31/64bit.
4008 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
4009 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
4010 * sysdeps/s390/multiarch/memcpy.c: ... here.
4011 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
4012
b7e024a8
SL
40132018-12-18 Stefan Liebler <stli@linux.ibm.com>
4014
4015 * sysdeps/s390/ifunc-memcmp.h: New File.
4016 * sysdeps/s390/memcmp.S: Move to ...
4017 * sysdeps/s390/memcmp-z900.S ... here.
4018 Move implementations from memcmp-s390x.s to here.
4019 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
4020 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4021 Remove memcmp variants.
4022 * sysdeps/s390/Makefile (sysdep_routines):
4023 Add memcmp variants.
4024 * sysdeps/s390/multiarch/ifunc-impl-list.c
4025 (__libc_ifunc_impl_list): Adjust ifunc variants for
4026 memcmp.
4027 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
4028 to ...
4029 * sysdeps/s390/memcmp.c: ... here.
4030 Adjust ifunc variants for memcmp.
4031
6c6b8c74
SL
40322018-12-18 Stefan Liebler <stli@linux.ibm.com>
4033
4034 * sysdeps/s390/s390-64/memcmp.S: Move to ...
4035 * sysdeps/s390/memcmp.S: ... here.
4036 Adjust to be usable for 31/64bit.
4037 * sysdeps/s390/s390-32/memcmp.S: Delete File.
4038 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
4039 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4040 Remove memcmp.
4041 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4042 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
4043 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
4044 Adjust to be usable for 31/64bit.
4045 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
4046 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
4047 * sysdeps/s390/multiarch/memcmp.c: ... here.
4048 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
4049
07be3928
SL
40502018-12-18 Stefan Liebler <stli@linux.ibm.com>
4051
4052 * sysdeps/s390/s390-32/bzero.S: Delete file.
4053 * sysdeps/s390/s390-64/bzero.S: Likewise.
4054 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
4055 * sysdeps/s390/bzero.c: New file.
4056 * sysdeps/s390/memset-z900.S: Add bzero entry points.
4057 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
4058 * sysdeps/s390/multiarch/ifunc-impl-list.c
4059 (__libc_ifunc_impl_list): Add bzero ifunc variants.
4060
712a254a
SL
40612018-12-18 Stefan Liebler <stli@linux.ibm.com>
4062
4063 * sysdeps/s390/ifunc-memset.h: New File.
4064 * sysdeps/s390/memset.S: Move to ...
4065 * sysdeps/s390/memset-z900.S ... here.
4066 Move implementations from memset-s390x.s to here.
4067 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
4068 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4069 Remove memset variants.
4070 * sysdeps/s390/Makefile (sysdep_routines):
4071 Add memset variants.
4072 * sysdeps/s390/multiarch/ifunc-impl-list.c
4073 (__libc_ifunc_impl_list): Adjust ifunc variants for
4074 memset.
4075 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
4076 to ...
4077 * sysdeps/s390/memset.c: ... here.
4078 Adjust ifunc variants for memset.
4079
5f1743d1
SL
40802018-12-18 Stefan Liebler <stli@linux.ibm.com>
4081
4082 * sysdeps/s390/s390-64/memset.S: Move to ...
4083 * sysdeps/s390/memset.S: ... here.
4084 Adjust to be usable for 31/64bit.
4085 * sysdeps/s390/s390-32/memset.S: Delete File.
4086 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
4087 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4088 Remove memset.
4089 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4090 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
4091 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
4092 Adjust to be usable for 31/64bit.
4093 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
4094 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
4095 * sysdeps/s390/multiarch/memset.c: ... here.
4096 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
4097
e8023f26
SL
40982018-12-18 Stefan Liebler <stli@linux.ibm.com>
4099
4100 * sysdeps/s390/multiarch/ifunc-resolve.h
4101 (s390_libc_ifunc_init, s390_libc_ifunc,
4102 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
4103
b8686c0d
SL
41042018-12-18 Stefan Liebler <stli@linux.ibm.com>
4105
4106 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
4107 * sysdeps/s390/configure.ac: Add check for z10 support.
4108 * sysdeps/s390/configure: Regenerated.
4109
cd815050
L
41102018-12-18 H.J. Lu <hongjiu.lu@intel.com>
4111
4112 * sysdeps/i386/atomic-machine.h: Merged with ...
4113 * sysdeps/x86_64/atomic-machine.h: To ...
4114 * sysdeps/x86/atomic-machine.h: This. New file.
4115
053c52b1
FW
41162018-12-18 Florian Weimer <fweimer@redhat.com>
4117
4118 Rewrite locale/gen-translit.pl in Python.
4119 * locale/Makefile (generated): Add C-translit.h.
4120 (before-compile): Add $(objpfx)C-translit.h.
4121 (C-translit.h): Move to $(objpfx). Create target directory.
4122 Build using Python script.
4123 * locale/gen-translit.py: New file.
4124 * locale/gen-translit.pl: Remove file.
4125 * locale/C-translit.h.in: Change comment character to '#' for
4126 easier parsing without a C preprocessor.
4127 * locale/C-translit.h: Remove generated file.
4128 * manual/install.texi (Tools for Compilation): Do not mention
4129 C-translit.h.
4130 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4131 Remove locale/C-translit.h.
4132 * scripts/update-copyrights: Likewise.
4133 * INSTALL: Regenerate.
4134
40e6c1ec
FW
41352018-12-18 Florian Weimer <fweimer@redhat.com>
4136
4137 [BZ #23995]
4138 * localedata/locales/bi_VU: Remove executable bit from file.
4139
6e15f3e2
AA
41402018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
4141
4142 * include/time.h
4143 (__localtime64): Add.
4144 * manual/maint.texi: Document Y2038 symbol handling.
4145 * time/localtime.c
4146 (__localtime64): Add.
bfb79db4 4147 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 4148
df648905
JM
41492018-12-17 Joseph Myers <joseph@codesourcery.com>
4150
551e81d9
JM
4151 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
4152 Do not clobber r12.
4153
df648905
JM
4154 * scripts/glibcextract.py (compare_macro_consts): Take parameters
4155 to allow extra macros from first or second sources.
4156 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
4157 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4158 (tests-special): Add $(objpfx)tst-mman-consts.out.
4159 ($(objpfx)tst-mman-consts.out): New makefile target.
4160
6bbfc5c0
MH
41612018-12-17 Mao Han <han_mao@c-sky.com>
4162
4163 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
4164 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
4165 without stat64 system call support.
4166 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
4167 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
4168 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4169 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
4170 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
4171 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
4172 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
4173 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
4174 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
4175 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
4176 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
4177
ef202e53
PE
41782018-12-15 Paul Eggert <eggert@cs.ucla.edu>
4179
4180 regex: fix storage-exhaustion error
4181 [BZ #18040]
4182 * posix/regexec.c (get_subexp):
4183 Do not continue if storage is exhausted.
4184
077caf61
AG
41852018-12-15 Assaf Gordon <assafgordon@gmail.com>
4186
4187 regex: fix heap-use-after-free error
4188 [BZ #18040]
4189 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
4190 https://debbugs.gnu.org/32592
4191 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
4192 call extend_buffers which reallocates the re_string_t internal buffer.
4193 Local variable 'buf' was not updated in such case, resulting in
4194 use-after-free.
4195 * posix/regexec.c (get_subexp): Update 'buf' after call to
4196 get_subexp_sub.
4197
0c1719e6
FW
41982018-12-15 Florian Weimer <fweimer@redhat.com>
4199
4200 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
4201 (minimum_stride_size): Use it.
4202 (support_blob_repeat_allocate): Likewise.
4203
033a2c0a
JM
42042018-12-14 Joseph Myers <joseph@codesourcery.com>
4205
4206 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
4207 definition.
4208 (acosh): Likewise.
4209 (atanh): Likewise.
4210
e361dc04
FW
42112018-12-14 Florian Weimer <fweimer@redhat.com>
4212
4213 * manual/process.texi (Process Creation Concepts): Remove
4214 documentation of process (ID) lifetime. List more process
4215 creation functions. Reference Process Identification section.
4216 (Process Identification): Add information about process ID
4217 lifetime. Describe Linux thread/task IDs.
4218 * manual/signal.texi (Signaling Another Process): Mention that the
4219 signal is always sent to the process.
4220
bd51ff5e
GG
42212018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4222
4223 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
4224 and tst-ldbl-efgcvt.
4225 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
4226 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
4227 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
4228 (fcvt_tests, output_error, output_r_error, do_test): Use the
4229 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
4230 select the type of floating-point variables and arguments; to
4231 produce extra tests for double and conversion specifiers for
4232 printf; and to set the names of called functions.
4233 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
4234 in tst-efgcvt-template.c.
4235 * misc/tst-ldbl-efgcvt.c: Likewise.
4236
268bb71e
SL
42372018-12-14 Stefan Liebler <stli@linux.ibm.com>
4238
4239 * nss/Makefile (tst-nss-test3.out): New rule.
4240
db6df070
JM
42412018-12-13 Joseph Myers <joseph@codesourcery.com>
4242
4243 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
4244 clobber sp.
4245
ade8b817
CD
42462018-12-13 fanjinke <fanjinke@hygon.cn>
4247
4248 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
4249 "HygonGenuine".
4250
3d265911
AS
42512018-12-13 Andreas Schwab <schwab@suse.de>
4252
f21e8f8c 4253 [BZ #23861]
3d265911 4254 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
4255 (__pthread_rwlock_rdlock_full): Update expected value for
4256 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
4257 * nptl/tst-rwlock-pwn.c: New file.
4258 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 4259
bf8ae8c0
JM
42602018-12-12 Joseph Myers <joseph@codesourcery.com>
4261
4262 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
4263 definition.
4264
de099757
LS
42652018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4266
4267 * benchtests/scripts/compare_bench.py (do_compare): write to
4268 stderr in casestat is not present.
4269 * benchtests/scripts/compare_bench.py (plot_graphs): write to
4270 stderr in case timings field is not present. Also string showing
4271 the output filename goes into the stderr.
4272
1990185f
LS
42732018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4274
4275 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
4276 and ZeroDivisorError exceptions.
4277 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
4278 argument to loop through user provided statistics.
4279 * benchtests/scripts/compare_bench.py (main): Include the --stats
4280 argument.
4281
587426d4
LS
42822018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4283
4284 * benchtests/scripts/compare_bench.py (compare_runs): Continue
4285 instead of return.
4286
46703efa
FW
42872018-12-12 Florian Weimer <fweimer@redhat.com>
4288
4289 * sysdeps/posix/timespec_get.c: Add missing “any later version”
4290 clause to copyright header.
4291
1d880d4a
TMQMF
42922018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4293
4294 [BZ #23614]
4295 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
4296 registers saved in the stack frame.
4297 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
4298 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
4299
1a502f52
GG
43002018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4301
4302 * include/bits/monetary-ldbl.h: New file.
4303 * include/bits/printf-ldbl.h: Likewise.
4304 * include/bits/stdio-ldbl.h: Likewise.
4305 * include/bits/stdlib-ldbl.h: Likewise.
4306 * include/bits/syslog-ldbl.h: Likewise.
4307 * include/bits/wchar-ldbl.h: Likewise.
4308
df682d1d
GG
43092018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4310
4311 * libio/libio.h: Remove redirection for _IO_vfprintf.
4312
c2c082c1
AS
43132018-12-11 Andreas Schwab <schwab@suse.de>
4314
4315 * Makerules: Remove all references to abilist-pattern.
4316 (update-all-abi): Simplify find expression.
4317
505b5b29
SN
43182018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4319
4320 [BZ #23961]
4321 * math/auto-libm-test-in: Add new test case.
4322 * math/auto-libm-test-out-pow: Regenerated.
4323 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
4324
304c61a2
DD
43252018-12-10 DJ Delorie <dj@redhat.com>
4326
4327 [BZ #23948]
4328 * support/test-container.c: Move postclean step to before we
4329 change namespaces.
4330
a8110b72
JM
43312018-12-10 Joseph Myers <joseph@codesourcery.com>
4332
cb7be159
JM
4333 * scripts/gen-as-const.py (main): Handle --python option.
4334 * scripts/gen-py-const.awk: Remove.
4335 * Makerules (py-const-script): Use gen-as-const.py.
4336 ($(py-const)): Likewise.
4337 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
4338 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
4339 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
4340 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
4341 ~PTHREAD_MUTEX_NO_ELISION_NP.
4342 * manual/README.pretty-printers: Update reference to
4343 gen-py-const.awk.
4344
a8110b72
JM
4345 * scripts/glibcextract.py: New file.
4346 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
4347 or tempfile. Import glibcexctract.
4348 (compute_c_consts): Remove. Moved to glibcextract.py.
4349 (gen_test): Update reference to compute_c_consts.
4350 (main): Likewise.
4351 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
4352 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
4353 * sysdeps/unix/sysv/linux/Makefile
4354 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
4355 Redirect stderr as well as stdout.
4356
f9ba9eb8
RÁE
43572018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
4358
4359 [BZ #19767]
4360 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
4361 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
4362 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
4363 ALWAYS_USE_VSYSCALL.
4364 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
4365 ALWAYS_USE_VSYSCALL.
4366 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
4367 ALWAYS_USE_VSYSCALL.
4368
8d20a2f4
FW
43692018-12-10 Florian Weimer <fweimer@redhat.com>
4370
4371 [BZ #23972]
4372 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
4373 offset instead of count for clarity. Fix typo in comment.
4374 (__old_getdents64): Keep track of previous offset. Use it to call
4375 handle_overflow.
4376 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
4377 that d_off is never zero.
4378
80472e2f
AS
43792018-12-10 Andreas Schwab <schwab@suse.de>
4380
4381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
4382 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
4383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
4384 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
4385 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
4386
0afcb29d
JM
43872018-12-10 Joseph Myers <joseph@codesourcery.com>
4388
4389 * timezone/private.h: Update from tzcode 2018g.
4390 * timezone/tzfile.h: Likewise.
4391 * timezone/tzselect.ksh: Likewise.
4392 * timezone/zdump.c: Likewise.
4393 * timezone/zic.c: Likewise.
4394
b93f4052
PP
43952018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4396
4397 [BZ #23490]
4398 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
4399 (do_test): Adjust buffer size and fix format.
4400
7c9a7c68
DD
44012018-12-07 DJ Delorie <dj@redhat.com>
4402
4403 [BZ #23907]
4404 * malloc/tst-tcfree3.c: New.
4405 * malloc/Makefile: Add it.
4406
37caec3a
L
44072018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4408
4409 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
4410
10446f5d
GG
44112018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4412
4413 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
4414 used as a mask for the mode argument of __vfscanf_internal and
4415 __vfwscanf_internal.
4416 * stdio-common/vfscanf-internal.c
4417 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
4418 (__strtof128_internal): Define to __wcstof128_internal.
4419 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
4420 __strtof128_internal or __wcstof128_internal when the format of
4421 long double is the same as _Float128.
4422
45f33aac
ST
44232018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
4424
4425 * include/unistd.h (__confstr): Add prototype and hidden prototype.
4426 * posix/confstr.c (confstr): Rename to __confstr.
4427 (__confstr): Add hidden def.
4428 (confstr): Add weak alias for __confstr.
4429 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
4430 confstr.
4431
a092ca94
L
44322018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4433
4434 * NEWS: Mention getcpu.
4435 * include/sched.h (__getcpu): New libc_hidden_proto.
4436 * manual/resource.texi: Document getcpu.
4437 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4438 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4439 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4440 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4441 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4442 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4443 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4444 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4445 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4446 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4447 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4448 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4449 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4450 Likewise.
4451 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4452 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4453 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4455 Likewise.
4456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4457 Likewise.
4458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4459 Likewise.
4460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4461 Likewise.
4462 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4463 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4464 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4465 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4466 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4467 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4468 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4469 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4470 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4471 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4472 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
4473 Also check getcpu.
4474
7c857b6f
ST
44752018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4476
4477 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
4478 functions.
4479 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
4480
3a3fb755
FW
44812018-12-07 Florian Weimer <fweimer@redhat.com>
4482
4483 [BZ #17405]
4484 * posix/Makefile (routines): Add spawn_faction_addfchdir.
4485 * posix/Versions (GLIBC_2.29): Export
4486 posix_spawn_file_actions_addfchdir_np.
4487 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
4488 * posix/spawn_faction_destroy.c
4489 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
4490 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
4491 and the field action.fchdir_action.
4492 * posix/tst-spawn-chdir.c (add_chdir): New function.
4493 (do_test): Add do_fchdir loop. Call add_chdir.
4494 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
4495 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4496 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4497 posix_spawn_file_actions_addfchdir_np.
4498 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4499 Likewise.
4500 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4501 Likewise.
4502 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4503 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4504 Likewise.
4505 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4506 Likewise.
4507 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4508 Likewise.
4509 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4510 Likewise.
4511 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4512 Likewise.
4513 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4514 Likewise.
4515 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4516 (GLIBC_2.29): Likewise.
4517 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4518 (GLIBC_2.29): Likewise.
4519 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4520 (GLIBC_2.29): Likewise.
4521 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4522 (GLIBC_2.29): Likewise.
4523 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4524 Likewise.
4525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4526 (GLIBC_2.29): Likewise.
4527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4528 (GLIBC_2.29): Likewise.
4529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4530 (GLIBC_2.29): Likewise.
4531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4532 (GLIBC_2.29): Likewise.
4533 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4534 Likewise.
4535 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4536 Likewise.
4537 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4538 Likewise.
4539 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4540 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4541 Likewise.
4542 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4543 Likewise.
4544 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4545 Likewise.
4546 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4547 Likewise.
4548
c37cd439
JM
45492018-12-06 Joseph Myers <joseph@codesourcery.com>
4550
4551 * manual/texinfo.tex: Update to version 2018-09-21.20 with
4552 trailing whitespace removed.
4553 * scripts/config.guess: Update to version 2018-11-28.
4554 * scripts/config.sub: Update to version 2018-11-28.
4555 * scripts/install-sh: Update to version 2018-03-11.20.
4556 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
4557 * scripts/move-if-change: Update to version 2018-03-07 03:47.
4558
899478c2
FW
45592018-12-07 Florian Weimer <fweimer@redhat.com>
4560
4561 [BZ #23927]
4562 CVE-2018-19591
4563 * inet/tst-if_index-long.c: New file.
4564 * inet/Makefile (tests): Add tst-if_index-long.
4565
f255336a
FW
45662018-12-07 Florian Weimer <fweimer@redhat.com>
4567
4568 * support/check.h (support_record_failure_is_failed): Declare.
4569 * support/descriptors.h: New file.
4570 * support/support_descriptors.c: Likewise.
4571 * support/tst-support_descriptors.c: Likewise.
4572 * support/support_record_failure.c
4573 (support_record_failure_is_failed): New function.
4574 * support/Makefile (libsupport-routines): Add support_descriptors.
4575 (tests): Add tst-support_descriptors.
4576
35caceb1
ZW
45772018-12-05 Zack Weinberg <zackw@panix.com>
4578 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4579
4580 * stdio-common/vfprintf-internal.c
4581 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4582 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4583 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4584 and __no_long_double.
4585 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4586 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4587 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4588 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4589 and __nldbl_*syslog* functions.
4590 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4591 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4592 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4593 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4594 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4595 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4596 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4597 (__nldbl_vwprintf, __nldbl_wprintf):
4598 Directly call the appropriate __v*printf_internal routine, passing
4599 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4600 variable names.
4601 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4602 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4603 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4604 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4605 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4606 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4607 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4608 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4609 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4610 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4611 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4612 (__nldbl_syslog, __nldbl_vsyslog):
4613 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4614 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4615 appropriate.
4616 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4617 appropriate.
4618
4e2f43f8
ZW
46192018-12-05 Zack Weinberg <zackw@panix.com>
4620 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4621
4622 [BZ #11319]
4623 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4624 Moved here from debug/vsprintf_chk.c.
4625 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4626 and completion logic for the strfile to match exactly what
4627 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4628 _IO_str_init_static_internal instead of maxlen-1.
4629 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4630 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4631 __vsprintf_internal.
4632
4633 * debug/vsprintf_chk.c (__vsprintf_chk)
4634 * debug/sprintf_chk.c (__sprintf_chk):
4635 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4636 'flags' argument is positive, and slen as maxlen. No need to lock
4637 the FILE and/or construct a temporary FILE. Minimize and normalize
4638 header inclusions and variable names. Do not libc_hidden_def anything.
4639
4640 * debug/asprintf_chk.c (__asprintf_chk)
4641 * debug/dprintf_chk.c (__dprintf_chk)
4642 * debug/fprintf_chk.c (__fprintf_chk)
4643 * debug/fwprintf_chk.c (__fwprintf_chk)
4644 * debug/printf_chk.c (__printf_chk)
4645 * debug/snprintf_chk.c (__snprintf_chk)
4646 * debug/swprintf_chk.c (__swprintf_chk)
4647 * debug/vasprintf_chk.c (__vasprintf_chk)
4648 * debug/vdprintf_chk.c (__vdprintf_chk)
4649 * debug/vfprintf_chk.c (__vfprintf_chk)
4650 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4651 * debug/vprintf_chk.c (__vprintf_chk)
4652 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4653 * debug/vswprintf_chk.c (__vswprintf_chk)
4654 * debug/vwprintf_chk.c (__vwprintf_chk)
4655 * debug/wprintf_chk.c (__wprintf_chk):
4656 Directly call the corresponding vxxprintf_internal function, passing
4657 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4658 the FILE and/or construct a temporary FILE. Minimize and normalize
4659 header inclusions and variable names. Do not libc_hidden_def anything.
4660
4661 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4662 __obstack_vprintf_internal.
4663 (__obstack_vprintf_chk): Convert into a wrapper that calls
4664 __obstack_vprintf_internal (these two functions already had the
4665 same code) and move to new file...
4666 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4667 file.
4668 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4669 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4670 * debug/Makefile (routines): Add vobprintf_chk.
4671
4672 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4673 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4674 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4675 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4676 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4677 (__nldbl___obstack_vfprintf_chk):
4678 Directly call the corresponding vxxprintf_internal function,
4679 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
4680 duplicate comparison of slen with 0 or maxlen from the corresponding
4681 non-__nldbl function.
4682
4683 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
4684 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
4685 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
4686 Remove libc_hidden_proto.
4687
4688 * stdio-common/vfprintf-internal.c
4689 (__vfprintf_internal, __vfwprintf_internal):
4690 Do not check _IO_FLAGS2_FORTIFY.
4691 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
4692 * libio/libioP.h: Update prototype of __vsprintf_internal and add
4693 a comment explaining why it has the maxlen argument.
4694 (_IO_acquire_lock_clear_flags2_fct): Remove.
4695 (_IO_acquire_lock_clear_flags2): Remove.
4696 (_IO_release_lock): Remove conditional statement which will
4697 now never execute.
4698 (_IO_acquire_lock): Remove variable which is now unused.
4699 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4700 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4701
4702 * stdio-common/Makefile (tests): Add tst-bz11319 and
4703 tst-bz11319-fortify2.
4704 (CFLAGS-tst-bz11319-fortify2.c): New macro.
4705 * stdio-common/tst-bz11319-fortify2.c: New file.
4706 * stdio-common/tst-bz11319.c: Likewise.
4707
124fc732
ZW
47082018-12-05 Zack Weinberg <zackw@panix.com>
4709 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4710
4711 * misc/syslog.c: Include libioP.h, not iolibio.h.
4712 (__vsyslog_internal): New function with the former body of
4713 __vsyslog_chk; takes mode_flags argument same as
4714 __v*printf_internal. Call __vfprintf_internal directly.
4715
4716 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4717 Remove libc_hidden_def.
4718 (__syslog, __syslog_chk): Use __vsyslog_internal.
4719 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4720
4721 * include/sys/syslog.h: Add multiple inclusion guard.
4722 Add prototype for __vsyslog_internal.
4723 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4724
4725 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4726 Use __vsyslog_internal.
4727
698fb75b
ZW
47282018-12-05 Zack Weinberg <zackw@panix.com>
4729 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4730
4731 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4732 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4733 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4734 New functions.
4735 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4736 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4737
4738 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4739 Include wctype.h here if COMPILE_WPRINTF is defined.
4740 Define __vfprintf_internal or __vfwprintf_internal, depending
4741 on COMPILE_WPRINTF.
4742 Temporarily, on entry to this function, update mode_flags
4743 according to the environmental settings corresponding to
4744 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4745 Throughout, check mode_flags instead of __ldbl_is_dbl and
4746 _IO_FLAGS2_FORTIFY on the destination FILE.
4747 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4748 Include vfprintf-internal.c. Don't include wctype.h.
4749 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4750 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4751 and vfprintf.
4752 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4753 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4754 and vfwprintf.
4755 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4756
4757 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4758 and add mode_flags argument; use __vfprintf_internal.
4759 (__vdprintf): New function. Alias vdprintf to this.
4760 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4761 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4762 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4763 (__obstack_printf): Use __obstack_printf_internal.
4764 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4765 public aliases __vsnprintf and vsnprintf.
4766 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4767 called internally.
4768 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4769 public aliases _IO_vsprintf and vsprintf.
4770 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4771 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4772 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4773 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4774 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4775
4776 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4777 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4778 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4779 * stdio-common/printf.c: Use __vfprintf_internal.
4780
4781 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4782 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4783 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4784
4785 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4786 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4787 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4788 __vfwprintf_internal.
4789
4790 * libio/libio.h: Remove libc_hidden_proto and declaration for
4791 _IO_vfprintf.
4792 Remove declaration of _IO_vfwprintf.
4793 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4794 _IO_vsprintf.
4795 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4796 _IO_obstack_printf.
4797 * include/stdio.h: Add prototype for __vasprintf.
4798 (__vsnprintf): Remove declaration, because there are no more
4799 internal calls.
4800 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4801 declaration, because there are no more internal calls.
4802
4803 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4804 __vsnprintf_internal, instead of _IO_vsnprintf.
4805 * argp/argp-help.c (__argp_error, __argp_failure): Use
4806 __vasprintf_internal, instead of _IO_vasprintf.
4807 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4808 redefine, because there are no more internal calls.
4809
d91798b3
ZW
48102018-12-05 Zack Weinberg <zackw@panix.com>
4811 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4812
4813 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4814 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4815 Include libio/strfile.h instead of libioP.h.
4816 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4817 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4818 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4819 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4820 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4821 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4822 necessary. Do not set __no_long_double. Normalize variable names.
4823 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4824 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4825 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4826 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4827 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4828 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4829 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4830 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4831 Do not set __no_long_double. Normalize variable names.
4832
b87eb3f8
ZW
48332018-12-05 Zack Weinberg <zackw@panix.com>
4834 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4835
4836 * stdio-common/isoc99_scanf.c
4837 * stdio-common/isoc99_fscanf.c
4838 * stdio-common/isoc99_sscanf.c
4839 * stdio-common/isoc99_vscanf.c
4840 * stdio-common/isoc99_vfscanf.c
4841 * stdio-common/isoc99_vsscanf.c
4842 * wcsmbs/isoc99_wscanf.c
4843 * wcsmbs/isoc99_fwscanf.c
4844 * wcsmbs/isoc99_swscanf.c
4845 * wcsmbs/isoc99_vwscanf.c
4846 * wcsmbs/isoc99_vfwscanf.c
4847 * wcsmbs/isoc99_vswscanf.c:
4848 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4849 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4850 No need to lock and unlock the FILE passed to that function.
4851
4852 * stdio-common/vfscanf-internal.c
4853 (__vfscanf_internal, __vfwscanf_internal):
4854 Don't look at _IO_FLAGS2_SCANF_STD.
4855 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4856 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4857 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4858
349718d4
ZW
48592018-12-05 Zack Weinberg <zackw@panix.com>
4860 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4861
4862 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4863 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4864 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4865 * libio/strfile.h: Add multiple inclusion guard.
4866 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4867
4868 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4869 consistency with the other version of this file.
4870 (ldbl_compat_symbol): New macro.
4871 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4872 New macro.
4873
4874 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4875 Define __vfscanf_internal or __vfwscanf_internal, depending on
4876 COMPILE_WSCANF; don't define any other public symbols.
4877 Remove errval and code to set errp.
4878 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4879 as the mode_flags argument.
4880 (encode_error, conv_error, input_error): Don't set errval.
4881 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4882 Include vfscanf-internal.c.
4883 * stdio-common/vfscanf.c: New file defining the public entry
4884 point vfscanf, which calls __vfscanf_internal.
4885 * stdio-common/vfwscanf.c: New file defining the public entry
4886 point vfwscanf, which calls __vfwscanf_internal.
4887
4888 * stdio-common/iovfscanf.c: New file.
4889 * stdio-common/iovfwscanf.c: Likewise.
4890
4891 * stdio-common/Makefile (routines): Add vfscanf-internal,
4892 vfwscanf-internal, iovfscanf, iovfwscanf.
4893 * stdio-common/Versions: Mention GLIBC_2.29, so that
4894 it can be used in SHLIB_COMPAT expressions.
4895 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4896 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4897 Call __vfscanf_internal, instead of _IO_vfscanf.
4898 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4899 _IO_vfscanf.
4900 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4901 _IO_vfwscanf.
4902
4903 * libio/iovsscanf.c: Clean up includes, when possible. Use
4904 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4905 __vfscanf_internal or __vfwscanf_internal directly.
4906 * libio/iovswscanf.c: Likewise.
4907 * libio/swscanf.c: Likewise.
4908 * libio/vscanf.c: Likewise.
4909 * libio/vwscanf.c: Likewise.
4910 * libio/wscanf.c: Likewise.
4911 * stdio-common/isoc99_fscanf.c: Likewise.
4912 * stdio-common/isoc99_scanf.c: Likewise.
4913 * stdio-common/isoc99_sscanf.c: Likewise.
4914 * stdio-common/isoc99_vfscanf.c: Likewise.
4915 * stdio-common/isoc99_vscanf.c: Likewise.
4916 * stdio-common/isoc99_vsscanf.c: Likewise.
4917 * stdio-common/scanf.c: Likewise.
4918 * stdio-common/sscanf.c: Likewise.
4919 * wcsmbs/isoc99_fwscanf.c: Likewise.
4920 * wcsmbs/isoc99_swscanf.c: Likewise.
4921 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4922 * wcsmbs/isoc99_vswscanf.c: Likewise.
4923 * wcsmbs/isoc99_vwscanf.c: Likewise.
4924 * wcsmbs/isoc99_wscanf.c: Likewise.
4925
72b8692d
AA
49262018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4927
4928 * include/time.h
4929 (__tz_compute): Replace time_t with __time64_t.
4930 (__tz_convert): Replace time_t* with __time64_t.
4931 (__offtime): Replace time_t* with __time64_t.
4932 * time/gmtime.c
4933 (__gmtime_r): Adjust call to __tz_convert.
4934 (gmtime): Likewise.
4935 * time/localtime.c
4936 (__localtime_r): Likewise.
4937 (localtime): Likewise.
4938 * time/offtime.c: Replace time_t with __time64_t.
4939 * time/tzset.c: Likewise.
4940
bd598da9
JM
49412018-12-04 Joseph Myers <joseph@codesourcery.com>
4942
4943 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4944 dynamic linker unless [$(run-built-tests) = yes].
4945
b2e93de0
DD
49462018-12-03 DJ Delorie <dj@delorie.com>
4947
4948 * support/test-container.c (check_for_unshare_hints): New.
4949 (main): Call it if unshare fails. Add support for "su" scriptlet
4950 command.
4951
477a02f6
JM
49522018-12-03 Joseph Myers <joseph@codesourcery.com>
4953
4954 * scripts/gen-as-const.py (compute_c_consts): Take an argument
4955 'START' to indicate that start text should be output.
4956 (gen_test): Likewise.
4957 (main): Generate 'START' for first symbol or '--' line, or at end
4958 of input if not previously generated.
4959
6af956e5
RÁE
49602018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
4961
4962 [BZ #19767]
4963 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
4964 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
4965 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
4966 ALWAYS_USE_VSYSCALL.
4967
f5ec0ea9
AZ
49682018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4969
4970 [BZ #23913]
4971 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
4972 new_argv by one.
4973
8cebd4ff
CD
49742018-12-03 Carlos O'Donell <carlos@redhat.com>
4975
4976 [BZ #23923]
4977 * locale/programs/localedef.c: Declare boolean hard_links default true.
4978 (options): Add --no-hard-links option.
4979 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
4980 * locale/programs/localedef.h: Declare prototype for hard_links.
4981 * locale/programs/locfile.c (write_locale_data): Don't use hard
4982 links if hard_links is false.
4983
c22e4c2a
L
49842018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4985
4986 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4987 cpu_features_basic.
4988 (__cache_sysconf): Likewise.
4989 (init_cacheinfo): Likewise.
4990 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4991 populate COMMON_CPUID_INDEX_80000007 and
4992 COMMON_CPUID_INDEX_80000008.
4993 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4994 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4995 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4996 (init_cpu_features): Use _Static_assert on
4997 index_arch_Fast_Unaligned_Load.
4998 __get_cpuid_registers and __get_arch_feature. Updated for
4999 cpu_features_basic. Set stepping in cpu_features.
5000 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
5001 (FEATURE_INDEX_2): New.
5002 (FEATURE_INDEX_MAX): Changed to enum.
5003 (COMMON_CPUID_INDEX_D_ECX_1): New.
5004 (COMMON_CPUID_INDEX_80000007): Likewise.
5005 (COMMON_CPUID_INDEX_80000008): Likewise.
5006 (cpuid_registers): Likewise.
5007 (cpu_features_basic): Likewise.
5008 (CPU_FEATURE_USABLE): Likewise.
5009 (bit_arch_XXX_Usable): Likewise.
5010 (cpu_features): Use cpuid_registers and cpu_features_basic.
5011 (bit_arch_XXX): Reweritten.
5012 (bit_cpu_XXX): Likewise.
5013 (index_cpu_XXX): Likewise.
5014 (reg_XXX): Likewise.
5015 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
5016 <support/check.h>.
5017 (CHECK_CPU_FEATURE): New.
5018 (CHECK_CPU_FEATURE_USABLE): Likewise.
5019 (cpu_kinds): Likewise.
5020 (do_test): Print vendor, family, model and stepping. Check
5021 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
5022 (TEST_FUNCTION): Removed.
5023 Include <support/test-driver.c> instead of
5024 "../../test-skeleton.c".
5025 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
5026 Check POPCNT instead of POPCOUNT.
5027 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
5028
7b36d26b
ST
50292018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5030
5031 * scripts/gen-as-const.py (main): Avoid emitting empty line when
5032 there is no element in `consts'.
5033
02cd5c1a
FW
50342018-12-01 Florian Weimer <fweimer@redhat.com>
5035
5036 * support/support_capture_subprocess.c
5037 (support_capture_subprocess): Check that pipe descriptors have
5038 expected values. Close original pipe descriptors in subprocess.
5039
fc493bc9
ST
50402018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
5041
5042 [BZ #23032]
5043 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
5044 attr with __pthread_default_barrierattr.
5045 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
5046 attr with __pthread_default_condattr.
5047 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
5048 attr with __pthread_default_mutexattr.
5049 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
5050 attr with __pthread_default_rwlockattr.
5051
6310e6be
KW
50522018-12-01 Kemi Wang <kemi.wang@intel.com>
5053
5054 * manual/tunables.texi (POSIX Thread Tunables): New node.
5055 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
5056 * nptl/nptl-init.c: Include pthread_mutex_conf.h
5057 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
5058 __pthread_tunables_init.
5059 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
5060 (max_adaptive_count): Define.
5061 * nptl/pthread_mutex_conf.c: New file.
5062 * nptl/pthread_mutex_conf.h: New file.
5063 * sysdeps/generic/adaptive_spin_count.h: New file.
5064 * sysdeps/nptl/dl-tunables.list: New file.
5065 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5066 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
5067 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
5068 Likewise.
5069
8e67b39e
PP
50702018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5071
5072 [BZ #20544]
5073 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
5074 * stdlib/on_exit.c (__on_exit): Likewise.
5075 * stdlib/Makefile (tests): Add tst-bz20544.
5076 * stdlib/tst-bz20544.c: New test.
5077
15b8d67e
RÁE
50782018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
5079
5080 [BZ #19767]
5081 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
5082 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
5083 New.
5084
5e63c240
FW
50852018-11-30 Florian Weimer <fweimer@redhat.com>
5086
5087 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
5088 Extend error logging.
5089 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
5090 symbol.
5091
71058602 50922018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 5093
5fb7fc96
AZ
5094 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
5095 __sigismember instead of sigismember.
5096 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
5097 cancel_handler): New definitions.
5098 (do_system): Use posix_spawn instead of fork and execl and remove
5099 reentracy code.
5100 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
5101 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
5102 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
5103 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5104 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5105 * sysdeps/unix/sysv/linux/system.c: Likewise.
5106
14d0e87d
AZ
5107 [BZ #22834]
5108 [BZ #17490]
5109 * NEWS: Add new semantic for atfork with popen and system.
5110 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
5111 fork and execl.
5112
e5d262ef
TMQMF
51132018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5114
5115 [BZ #23690]
5116 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
5117 modification order when accessing reloc_result->addr.
5118 * include/link.h (reloc_result): Add field init.
5119 * nptl/Makefile (tests): Add tst-audit-threads.
5120 (modules-names): Add tst-audit-threads-mod1 and
5121 tst-audit-threads-mod2.
5122 Add rules to build tst-audit-threads.
5123 * nptl/tst-audit-threads-mod1.c: New file.
5124 * nptl/tst-audit-threads-mod2.c: Likewise.
5125 * nptl/tst-audit-threads.c: Likewise.
5126 * nptl/tst-audit-threads.h: Likewise.
5127
7e1d4240
JM
51282018-11-30 Joseph Myers <joseph@codesourcery.com>
5129
5130 * scripts/gen-as-const.py: New file.
5131 * scripts/gen-as-const.awk: Remove.
5132 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
5133 gen-as-const.py.
5134 ($(objpfx)test-as-const-%.c): Likewise.
5135
ce7387cc
L
51362018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5137
5138 * elf/dl-exception.c: Include <_itoa.h>.
5139
c6a5bdc1
ST
51402018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5141
5142 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
5143 returned by __f_setlk.
5144
a5275ba5
L
51452018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5146 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5147
5148 * elf/Makefile (tests-internal): Add tst-create_format1.
5149 * elf/dl-exception.c (_dl_exception_create_format): Support
5150 %x, %lx and %zx.
5151 * elf/tst-create_format1.c: New file.
5152
3a67e81d
CAC
51532018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
5154
5155 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
5156 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
5157 gnulib.)
5158 * argp/argp-help.c (__argp_failure): Likewise.
5159
4975f0c3
MH
51602018-11-29 Mao Han <han_mao@c-sky.com>
5161
5162 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
5163 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
5164 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
5165 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
5166 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
5167 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
5168 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
5169 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
5170 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
5171 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
5172 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
5173 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
5174 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
5175 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
5176 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
5177 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
5178 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
5179 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
5180 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
5181 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
5182 (R_CKCORE_TLS_TPOFF32): New defines.
5183
250102c8
FW
51842018-11-29 Florian Weimer <fweimer@redhat.com>
5185
5186 * posix/Makefile (before-compile): Remove testcases.h and
5187 ptestcases.h.
5188 (generated): Add testcases.h and ptestcases.h.
5189 (testcases.h, ptestcases.h): Move to $(objpfx).
5190 (runtests.o): Add dependency on testcases.h.
5191 (runptests.o): Add dependency on ptestcases.h.
5192 * posix/testcases.h, posix/ptestcases.h: Remove files.
5193 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
5194 not touch posix/testcases.h and posix/ptestcases.h.
5195
96cd0558
FW
51962018-11-28 Florian Weimer <fweimer@redhat.com>
5197
5198 support: Add signal support to support_capture_subprocess_check.
5199 * support/capture_subprocess.h (support_capture_subprocess_check):
5200 Adjust comment and rename parameter.
5201 * support/support_capture_subprocess_check.c
5202 (print_actual_status): New function.
5203 (support_capture_subprocess_check): Support negative
5204 status_or_signal. Call print_actual_status.
5205 * support/tst-support_capture_subprocess.c (do_test): Call
5206 support_capture_subprocess_check.
5207 * libio/tst-vtables-common.c (termination_status)
5208 (init_termination_status): Remove.
5209 (check_for_termination): Adjust support_capture_subprocess_check
5210 call.
5211 (do_test): Remove call to init_termination_status.
5212
530504e3
JM
52132018-11-28 Joseph Myers <joseph@codesourcery.com>
5214
5215 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
5216 source directory instead of a copy.
5217 (CommandList.create_copy_dir): Remove.
5218
9a0b6970
SL
52192018-11-28 Stefan Liebler <stli@linux.ibm.com>
5220
5221 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5222
47d8d9a2
FW
52232018-11-28 Florian Weimer <fweimer@redhat.com>
5224
5225 * support/support.h (support_quote_string): Do not use str
5226 parameter name.
5227
b473b7d8
JM
52282018-11-27 Joseph Myers <joseph@codesourcery.com>
5229
5230 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
5231 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
5232
c74a91de
FW
52332018-11-27 Florian Weimer <fweimer@redhat.com>
5234
5235 * support/support.h (support_quote_string): Declare.
5236 * support/support_quote_string.c: New file.
5237 * support/tst-support_quote_string.c: Likewise.
5238 * support/Makefile (libsupport-routines): Add
5239 support_quote_string.
5240 (tests): Add tst-support_quote_string.
5241
d527c860
FW
52422018-11-27 Florian Weimer <fweimer@redhat.com>
5243
5244 [BZ #23927]
5245 CVE-2018-19591
5246 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
5247 descriptor leak in case of ENODEV error.
5248
979cfed0
RÁE
52492018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
5250
5251 [BZ #19767]
5252 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
5253 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
5254 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
5255
ce035c6e
CD
52562018-11-26 Carlos O'Donell <carlos@redhat.com>
5257
5258 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
5259 Error for unknown lines.
5260
2bd0bfcc
JM
52612018-11-26 Joseph Myers <joseph@codesourcery.com>
5262
5263 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5264 Touch additional files.
5265
affec03b
FW
52662018-11-26 Florian Weimer <fweimer@redhat.com>
5267
5268 [BZ #23907]
5269 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
5270 double-frees.
5271
8ae74ead
RÁE
52722018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
5273
5274 [BZ #19767]
5275 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
5276 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
5277 SHARED. Include sysdep.h.
5278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
5279 ALWAYS_USE_VSYSCALL.
5280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
5281 ALWAYS_USE_VSYSCALL.
5282
1e8bdc3a
RÁE
52832018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
5284
5285 [BZ #19767]
5286 * nptl/Makefile (tests-static): Add tst-cond11-static.
5287 (tests): Likewise.
5288 * nptl/tst-cond11-static.c: New File.
5289 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
5290 tst-affinity-static.
5291 (tests): Likewise.
5292 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
5293 instead of SHARED.
5294 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
5295 (USE_VSYSCALL): Likewise.
5296 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
5297 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
5298 instead of SHARED.
5299 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
5300 SHARED.
5301 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
5302 New.
5303
1283c478
JM
53042018-11-23 Joseph Myers <joseph@codesourcery.com>
5305
5306 [BZ #23915]
5307 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5308 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
5309 Undefine.
5310
c089fd80
L
53112018-11-23 H.J. Lu <hongjiu.lu@intel.com>
5312
5313 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
5314 (tst-cet-legacy-1a-ARGS): New.
5315 ($(objpfx)tst-cet-legacy-1a): New target.
5316 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
5317
cc6c89fa
JM
53182018-11-22 Joseph Myers <joseph@codesourcery.com>
5319
95edd05c
JM
5320 * conform/conformtest.py (CompileSubTest.__init__): Set
5321 self.run_early to False.
5322 (ExecuteSubTest.__init__): Likewise.
5323 (HeaderTests.run): Try running all non-optional, non-XFAILed
5324 compilation tests in a single execution of the compiler.
5325
cc6c89fa
JM
5326 * conform/conformtest.py (CompileSubTest): New class.
5327 (ExecuteSubTest): Likewise.
5328 (ElementTest.run): Rename to gen_subtests. Append tests to
5329 self.subtests instead of running them.
5330 (ConstantTest.run): Likewise.
5331 (SymbolTest.run): Likewise.
5332 (TypeTest.run): Likewise.
5333 (TagTest.run): Likewise.
5334 (FunctionTest.run): Likewise.
5335 (VariableTest.run): Likewise.
5336 (MacroFunctionTest.run): Likewise.
5337 (MacroStrTest.run): Likewise.
5338 (HeaderTests.handle_test_line): Generate subtests for tests.
5339 (HeaderTests.run): Run subtests for tests.
5340
a502c529
SN
53412018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5342
5343 * math/Versions (GLIBC_2.29): Add pow.
5344 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
5345 symbol.
5346 * math/w_pow.c: New file.
5347 * sysdeps/i386/fpu/w_pow.c: New file.
5348 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
5349 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
5350 and add necessary aliases.
5351 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
5352 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
5353 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5354 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5355 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5356 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5357 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5358 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5359 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5360 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5361 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5362 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5363 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5364 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5365 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5370 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5371 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5372 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5373 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5374 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5375 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5376 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5377 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
5378 __pow.
5379 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
5380 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
5381 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
5382
718d6542
SN
53832018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5384
5385 * math/Versions (GLIBC_2.29): Add log2.
5386 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
5387 symbol.
5388 * math/w_log2.c: New file.
5389 * sysdeps/i386/fpu/w_log2.c: New file.
5390 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
5391 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
5392 and add necessary aliases.
5393 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
5394 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
5395 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5396 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5397 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5398 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5399 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5400 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5401 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5402 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5403 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5404 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5405 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5406 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5407 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5412 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5413 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5414 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5415 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5416 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5417 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5418 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5419
f29b7c49
SN
54202018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5421
5422 * math/Versions (GLIBC_2.29): Add log.
5423 * math/w_log_compat.c (__log_compat): Change to versioned compat
5424 symbol.
5425 * math/w_log.c: New file.
5426 * sysdeps/i386/fpu/w_log.c: New file.
5427 * sysdeps/ia64/fpu/e_log.S: Update.
5428 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
5429 and add necessary aliases.
5430 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5431 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
5432 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5433 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5434 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5435 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5436 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5437 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5438 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5439 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5440 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5441 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5442 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5443 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5444 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5449 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5450 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5451 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5452 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5453 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5454 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5455 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5456 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
5457 __log.
5458 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5459 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5460 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5461 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5462
c20a1056
SN
54632018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5464
5465 * math/Versions (GLIBC_2.29): Add exp and exp2.
5466 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5467 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5468 * math/w_exp_compat.c (__exp_compat): Likewise.
5469 * math/w_exp.c: New file.
5470 * math/w_exp2.c: New file.
5471 * sysdeps/i386/fpu/w_exp.c: New file.
5472 * sysdeps/i386/fpu/w_exp2.c: New file.
5473 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
5474 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
5475 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
5476 and add necessary aliases.
5477 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
5478 and add necessary aliases.
5479 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
5480 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
5481 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
5482 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
5483 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5484 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5485 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5486 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5487 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5488 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5489 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5490 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5491 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5492 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5493 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5494 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5495 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5500 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5501 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5502 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5503 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5504 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5505 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5506 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5507 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
5508 (__ieee754_exp): Rename to __exp.
5509 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
5510 (__ieee754_exp): Rename to __exp.
5511 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
5512 (__ieee754_exp): Rename to __exp.
5513 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
5514 __exp.
5515 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
5516
bcdaad21
DD
55172018-11-20 DJ Delorie <dj@redhat.com>
5518
5519 * malloc/malloc.c (tcache_entry): Add key field.
5520 (tcache_put): Set it.
5521 (tcache_get): Likewise.
5522 (_int_free): Check for double free in tcache.
5523 * malloc/tst-tcfree1.c: New.
5524 * malloc/tst-tcfree2.c: New.
5525 * malloc/Makefile: Run the new tests.
5526 * manual/probes.texi: Document memory_tcache_double_free probe.
5527
5528 * dlfcn/dlerror.c (check_free): Prevent double frees.
5529
5770c0ad
WD
55302018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
5531
5532 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
5533
9a62a939
JM
55342018-11-20 Joseph Myers <joseph@codesourcery.com>
5535
5536 * conform/conformtest.py (ElementTest.run): Use unique identifiers
5537 in tests. Use names for format arguments.
5538 (ConstantTest.run): Likewise.
5539 (SymbolTest.run): Likewise.
5540 (TypeTest.run): Likewise.
5541 (TagTest.run): Likewise.
5542 (FunctionTest.run): Likewise.
5543 (VariableTest.run): Likewise.
5544 (MacroFunctionTest.run): Likewise.
5545 (MacroStrTest.run): Likewise.
5546 (HeaderTests.__init__): Set self.num_tests.
5547 (HeaderTests.handle_test_line): Set test.num. Increment
5548 self.num_tests.
5549
b15b1a95
ST
55502018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5551
5552 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
5553 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
5554 SEEK_SET.
5555
0c7f97ae
MH
55562018-11-19 Mao Han <han_mao@c-sky.com>
5557
5558 * scripts/config.guess: Update to version 2018-08-29.
5559 * scripts/config.sub: Update to version 2018-08-29.
5560
35e3fbc4
FW
55612018-11-19 Florian Weimer <fweimer@redhat.com>
5562
5563 support: Print timestamps in timeout handler.
5564 * support/support_test_main.c (print_timestamp): New function.
5565 (signal_handler): Use it to print the termination time and the
5566 time of the last write to standard output.
5567
c75772e3
ZW
55682018-11-16 Zack Weinberg <zackw@panix.com>
5569 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5570
5571 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5572 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5573 argument.
5574 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5575 and add flags argument. Check flags instead of __ldbl_is_dbl when
5576 deciding whether to set is_long_double.
5577 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5578 passing zero for flags argument.
5579 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5580
5581 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5582 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5583 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5584 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5585 variable names. Remove libc_hidden_def/libc_hidden_proto from
5586 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5587 longer called from within the library.
5588 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5589 for __nldbl___vstrfmon_l, declare it explicitly.
5590
5591 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5592
346ef23f
ST
55932018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5594
5595 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5596 macros
5597 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5598 F_SETLK64, F_SETLKW64, respectively.
5599 * sysdeps/mach/hurd/f_setlk.c: New file.
5600 * sysdeps/mach/hurd/f_setlk.h: New file.
5601 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5602 f_setlk.
5603 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5604 (__libc_fcntl): Move non-flock operations to...
5605 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5606 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5607
de20b81a
PE
56082018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5609
5d8af156
PE
5610 mktime: DEBUG_MKTIME cleanup
5611 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5612 And it’s no longer needed now that glibc and Gnulib both have
5613 their own testing mechanisms for mktime.
5614 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5615
86aece3b
PE
5616 mktime: fix non-EOVERFLOW errno handling
5617 [BZ#23789]
5618 mktime was not properly reporting failures when the underlying
5619 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5620 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5621 The problem could happen on non-glibc platforms, with Gnulib.
5622 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5623 (tm_diff): ... this simpler function, which does not change errno.
5624 All callers changed to deal with errno themselves.
5625 (ranged_convert, __mktime_internal): Return failure immediately if
5626 the underlying function reports any failure other than EOVERFLOW.
5627 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5628 gap code fails.
5629
f6b3331b
PE
5630 mktime: fix bug with Y2038 DST transition
5631 [BZ#23789]
5632 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5633 mishandle a DST transition that jumps over the Y2038 boundary.
5634 No such DST transitions are known so this is only a theoretical
5635 bug, but we might as well do things right.
5636
efbdddc3
PE
5637 mktime: make more room for overflow
5638 [BZ#23789]
5639 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5640 This is so that we can add tm_diff results to a previous guess,
5641 which will be useful in a later patch.
5642
6c90d759
PE
5643 mktime: simplify offset guess
5644 [BZ#23789]
5645 * time/mktime.c (__mktime_internal): Omit excess precision.
5646
32c12f3f
PE
5647 mktime: new test for mktime failure
5648 [BZ#23789]
5649 Based on a test suggested by Albert Aribaud in:
5650 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5651 * time/Makefile (tests): Add bug-mktime4.
5652 * time/bug-mktime4.c: New file.
5653
de20b81a
PE
5654 mktime: fix EOVERFLOW bug
5655 [BZ#23789]
5656 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5657 Include libc-config.h, not config.h, for __set_errno.
5658 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5659
8c6c3fb0
ST
56602018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5661
5662 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5663 __attribute_copy__ to copy attributes from name. Drop static qualifier
5664 to avoid warnings about leaf attribute not having effect on static
5665 functions.
5666
6923f6db
FW
56672018-11-13 Florian Weimer <fweimer@redhat.com>
5668
5669 * malloc/malloc.c (fastbin_push_entry): New function.
5670 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5671 (REMOVE_FB): Remove macro.
5672 (_int_malloc): Use fastbin_pop_entry and reindent.
5673 (_int_free): Use fastbin_push_entry.
5674 (malloc_consolidate): Use atomic_exchange_acquire.
5675
53f5c659
JM
56762018-11-13 Joseph Myers <joseph@codesourcery.com>
5677
0c096dcf
JM
5678 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
5679 alias attribute, not with strong_alias.
5680
9c4b457e
JM
5681 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
5682 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
5683 with additional parameter thread.
5684 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
5685 in terms of __hidden_ver2.
5686 (hidden_tls_def): New macro.
5687 (libc_hidden_tls_def): Likewise.
5688 (rtld_hidden_tls_def): Likewise.
5689 (libm_hidden_tls_def): Likewise.
5690 (libmvec_hidden_tls_def): Likewise.
5691 (libresolv_hidden_tls_def): Likewise.
5692 (librt_hidden_tls_def): Likewise.
5693 (libdl_hidden_tls_def): Likewise.
5694 (libnss_files_hidden_tls_def): Likewise.
5695 (libnsl_hidden_tls_def): Likewise.
5696 (libnss_nisplus_hidden_tls_def): Likewise.
5697 (libutil_hidden_tls_def): Likewise.
5698 (libutil_hidden_tls_def): Likweise.
5699 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
5700 libc_hidden_tls_def.
5701 (__sim_disabled_exceptions_thread): Likewise.
5702 (__sim_round_mode_thread): Likewise.
5703
53f5c659
JM
5704 * sysdeps/sparc/sparc-ifunc.h [SHARED]
5705 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
5706 copy attributes from name.
5707
092dfde6
JM
57082018-11-12 Joseph Myers <joseph@codesourcery.com>
5709
f578f97b
JM
5710 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
5711 Use __attribute_copy__ to copy attributes from name.
5712
9a7c643a
JM
5713 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
5714 with __hidden_ver1 call.
5715 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
5716 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5717 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5718 (__cosf): Do not declare here.
5719 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5720 (__sincosf): Do not declare here.
5721 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5722 (__sinf): Do not declare here.
5723
092dfde6
JM
5724 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5725 (__BIG_ENDIAN): Likewise.
5726 (__BYTE_ORDER): Likewise.
5727 (strong_alias): Likewise.
5728 (_strong_alias): Likewise.
5729
1ecba1fa
FW
57302018-11-12 Florian Weimer <fweimer@redhat.com>
5731
5732 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5733 function. Move after the definition of in_smallbin_range. Do not
5734 use __builtin_expect for paths that lead to a noreturn function.
5735 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5736 because it is unclear whether this is in fact an unlikely
5737 condition.
5738 (_int_malloc, _int_free): Adjust.
5739 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5740 variables.
5741 * malloc/arena.c (heap_trim): Likewise.
5742
434c34bd
ST
57432018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5744
5745 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5746 it, free it if needed.
5747 (reauthenticate): Test and use ccwdir.
5748 (child_init_port): In non-resetids case, test and use ccwdir.
5749 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
5750 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5751 * hurd/hurd/port.h (_hurd_port_move): New function.
5752 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5753 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
5754 * hurd/Versions (_hurd_port_move): Export function.
5755 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5756 symbol.
58bb655a
ST
5757 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5758 of dtablesize for allocating dtable_cloexec.
434c34bd 5759
1626a1cf
MS
57602018-11-09 Martin Sebor <msebor@redhat.com>
5761
5762 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5763 it's already defined.
5764 (_strong_alias): Use __attribute_copy__.
5765 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5766 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5767 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5768 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5769 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5770 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5771 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5772 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5773 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5774 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5775 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5776 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5777 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5778 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5779 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5780 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5781 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5782 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5783 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5784
968ed530
GG
57852018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5786
5787 * misc/tst-efgcvt.c: Include support/check.h and
5788 support/test-driver.c. Do not include test-skeleton.c.
5789 (error_count): Remove.
5790 (output_error): Replace increments to error_count with calls to
5791 support_record_failure.
5792 (output_r_error): Likewise.
5793 (special): Likewise.
5794 (do_test): Unconditionally return zero.
5795 (TEST_FUNCTION): Remove.
5796
c3ec0972
JM
57972018-11-09 Joseph Myers <joseph@codesourcery.com>
5798
91faaa93
JM
5799 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5800 not $(@D)/scratch.
5801 ($(linknamespace-header-tests)): Likewise.
5802
c3ec0972
JM
5803 * conform/conformtest.py: New file.
5804 * conform/conformtest.pl: Remove.
5805 * conform/GlibcConform.pm: Likewise.
5806 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5807 (KEYWORDS_C99): Likewise.
5808 (KEYWORDS): Likewise.
5809 * conform/Makefile ($(conformtest-header-tests)): Use
5810 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5811 option. Use --header instead of --headers.
5812 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5813 function entries.
5814 * conform/data/spawn.h-data: Likewise.
5815 * conform/data/fcntl.h-data (openat): Add space after function
5816 name.
5817 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5818 (wcscasecmp_l): Likewise.
5819 * conform/data/termios.h-data (c_cc): Add space after element
5820 name.
5821
43257c33
GG
58222018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5823
5824 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5825 instead of manually comparing and reporting mismatching strings.
5826 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5827 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5828
e5de3b5b
JM
58292018-11-08 Joseph Myers <joseph@codesourcery.com>
5830
5831 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5832 __ASSUME_SOCKETCALL.
5833 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5834 (__ASSUME_SOCKETCALL): Remove.
5835 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5836 (__ASSUME_SOCKETCALL): Likewise.
5837 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5838 (__ASSUME_SOCKETCALL): Likewise.
5839 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5840 (__ASSUME_SOCKETCALL): Likewise.
5841 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5842 (__ASSUME_SOCKETCALL): Likewise.
5843 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5844 (__ASSUME_SOCKETCALL): Likewise.
5845 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5846 (__ASSUME_SOCKETCALL): Likewise.
5847
d524fa6c
L
58482018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5849
5850 [BZ #23509]
5851 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5852 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5853 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5854 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5855 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5856 lc_unknown.
5857
ac806026
AH
58582018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5859
5860 [BZ #17630]
5861 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5862
596cc360
JM
58632018-11-07 Joseph Myers <joseph@codesourcery.com>
5864
5865 [BZ #23867]
5866 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5867 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5868 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5869 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5870
00c86a37
AZ
58712018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5872
5873 * support/support_test_compare_string.c
5874 (support_test_compare_string): Fix printf format.
5875
1df872fd
FW
58762018-11-07 Florian Weimer <fweimer@redhat.com>
5877
5878 Implement TEST_COMPARE_STRING.
5879 * support/check.h (TEST_COMPARE_STRING): Define.
5880 (support_test_compare_string): Declare.
5881 * support/Makefile (libsupport-routines): Add
5882 support_test_compare_string.
5883 (tests): Add tst-test_compare_string.
5884 * support/support_test_compare_string.c: New file.
5885 * support/tst-test_compare_string.c: Likewise.
5886
295132ff
AS
58872018-11-07 Andreas Schwab <schwab@suse.de>
5888
5889 [BZ #23864]
5890 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5891 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5892 Undef.
5893
e143ceba
JM
58942018-11-06 Joseph Myers <joseph@codesourcery.com>
5895
5896 [BZ #23862]
5897 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5898 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5899 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5900 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5901 Likewise.
5902
4a938cb2
FW
59032018-11-06 Florian Weimer <fweimer@redhat.com>
5904
5905 [BZ #17405]
5906 * posix/Makefile (routines): Add spawn_faction_addchdir.
5907 (tests): Add tst-spawn-chdir.
5908 * posix/Versions (GLIBC_2.29): Add
5909 posix_spawn_file_actions_addchdir_np.
5910 * posix/spawn_faction_addchdir.c: New file.
5911 * posix/spawn_faction_destroy.c
5912 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5913 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5914 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5915 chdir_action.
5916 * posix/tst-spawn-chdir.c: New file.
5917 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5918 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5919 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5920 posix_spawn_file_actions_addchdir_np.
5921 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5922 Likewise.
5923 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5924 Likewise.
5925 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5926 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5927 Likewise.
5928 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5929 Likewise.
5930 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5931 Likewise.
5932 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5933 Likewise.
5934 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5935 Likewise.
5936 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5937 Likewise.
5938 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5939 (GLIBC_2.29): Likewise.
5940 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5941 (GLIBC_2.29): Likewise.
5942 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5943 (GLIBC_2.29): Likewise.
5944 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5945 (GLIBC_2.29): Likewise.
5946 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5947 Likewise.
5948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5949 (GLIBC_2.29): Likewise.
5950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5951 (GLIBC_2.29): Likewise.
5952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5953 (GLIBC_2.29): Likewise.
5954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5955 (GLIBC_2.29): Likewise.
5956 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5957 Likewise.
5958 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5959 Likewise.
5960 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5961 Likewise.
5962 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5963 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5964 Likewise.
5965 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5966 Likewise.
5967 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5968 Likewise.
5969 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5970 Likewise.
5971
7597b0c7
GG
59722018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5973
5974 * misc/Makefile (tests): Add tst-ldbl-error.
5975 * misc/tst-ldbl-error.c: New file.
5976
9771e6cb
GG
59772018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5978
5979 * misc/Makefile (tests): Add tst-ldbl-warn.
5980 * misc/tst-ldbl-warn.c: New file.
5981
2c03961f
GG
59822018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5983
5984 * argp/Makefile (tests): Add tst-ldbl-argp.
5985 * argp/tst-ldbl-argp.c: New file.
5986
6d6ee046
AS
59872018-11-05 Arjun Shankar <arjun@redhat.com>
5988
5989 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5990 __gconv_path_elem and call __gconv_get_path unconditionally.
5991
bd3b0fba
AS
59922018-11-05 Andreas Schwab <schwab@suse.de>
5993
5994 [BZ #22927]
5995 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5996 creating the first helper thread failed.
5997
2e96e980
ST
59982018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5999
6000 * sysdeps/mach/hurd/msync.c: New file.
6001
6e36266c
FW
60022018-11-02 Florian Weimer <fweimer@redhat.com>
6003
6004 * support/shell-container.c (copy_func): Call
6005 support_copy_file_range instead of copy_file_range to support
6006 cross-device copies.
6007
599f7bee
FW
60082018-11-02 Florian Weimer <fweimer@redhat.com>
6009
6010 * support/test-container.c: Include <libc-pointer-arith.h> for
6011 ALIGN_UP.
6012
ff48ea67
ZL
60132018-11-01 Zong Li <zong@andestech.com>
6014
af1d5782
ZL
6015 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
6016 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
6017 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
6018 (__FP_FRAC_SET_8): Add implementation for RV32 use.
6019
ff48ea67
ZL
6020 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
6021 variable to avoid overlap arguments.
6022
daea71c2
JM
60232018-11-01 Joseph Myers <joseph@codesourcery.com>
6024
eac4405a
JM
6025 * posix/bug-regex22.c (main): Use puts with distinct error
6026 messages for unexpected success of re_compile_pattern, not printf
6027 with NULL argument to %s.
6028
6f30e59f
JM
6029 * stdio-common/bug22.c: Include <libc-diag.h>.
6030 (do_test): Disable -Wformat-overflow= warnings around fprintf
6031 calls outputting more than INT_MAX characters.
6032 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
6033 around printf call with NULL %s argument.
6034
daea71c2
JM
6035 [BZ #23848]
6036 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
6037 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
6038 Undefine.
6039 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6040 (__ASSUME_RECVMSG_SYSCALL): Likewise.
6041 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6042 (__ASSUME_SENDTO_SYSCALL): Likewise.
6043 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6044 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
6045 [!__arch64__].
6046 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6047 (__ASSUME_CONNECT_SYSCALL): Likewise.
6048 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6049 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6050 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
6051 Define.
6052 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
6053 Likewise.
6054 [__LINUX_KERNEL_VERSION >= 0x040400]
6055 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6056 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
6057 Remove.
6058 (listen): Likewise.
6059 (setsockopt): Likewise.
6060
8e3c00db
FN
60612018-11-01 Fredrik Noring <noring@nocrew.org>
6062
6063 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
6064 with the ISA override.
6065
9c3dbdbe
RAE
60662018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
6067
6068 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
6069 #endif.
6070
e3a88b3e
ST
60712018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6072
a67377e7 6073 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 6074 translate the error message.
a67377e7
ST
6075 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
6076 printing trailing whitespaces refused by git.
6077 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
6078 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 6079 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 6080
3ca235ed
JM
60812018-10-30 Joseph Myers <joseph@codesourcery.com>
6082
6083 * conform/linknamespace.py: New file.
6084 * conform/linknamespace.pl: Remove file.
6085 * conform/Makefile ($(linknamespace-header-tests)): Use
6086 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
6087 option.
6088
60708030
FW
60892018-10-30 Florian Weimer <fweimer@redhat.com>
6090
6091 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
6092 memory leaks.
6093
a91e9301
FW
60942018-10-30 Florian Weimer <fweimer@redhat.com>
6095
6096 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
6097
07da99aa
FW
60982018-10-30 Florian Weimer <fweimer@redhat.com>
6099
6100 * stdlib/tst-strtod-overflow.c (do_test): Switch to
6101 support_blob_repeat.
6102
f5e7e959
FW
61032018-10-30 Florian Weimer <fweimer@redhat.com>
6104
6105 Avoid spurious test failures in stdlib/test-bz22786.
6106 * support/Makefile (libsupport-routines): Add blob_repeat.
6107 (tests): Add tst-support_blob_repeat.
6108 * support/blob_repeat.h: New file.
6109 * support/blob_repeat.c: Likewise.
6110 * support/tst-support_blob_repeat.c: Likewise.
6111 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
6112 support_blob_repeat_allocate.
6113
2dd12baa
AS
61142018-10-30 Andreas Schwab <schwab@suse.de>
6115
6116 [BZ #23125]
6117 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
6118 Don't use tail call.
6119 * elf/tst-unwind-main.c: New file.
6120 * elf/Makefile (tests): Add tst-unwind-main.
6121 (CFLAGS-tst-unwind-main.c): Define.
6122
fec8bb7c
SAA
61232018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
6124
6125 [BZ #23791]
6126 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
6127 n_cs_precedes to 0.
6128 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
6129
c6982f7e
JM
61302018-10-29 Joseph Myers <joseph@codesourcery.com>
6131
954cf3c2
JM
6132 * conform/glibcconform.py: Do not import shutil.
6133 (list_exported_functions): Use tempfile.TemporaryDirectory instead
6134 of mkdtemp.
6135
c6982f7e
JM
6136 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
6137 critic_missing for versions before 3.4.
6138 * configure: Regenerated.
6139 * manual/install.texi (Tools for Compilation): Document
6140 requirement for Python to build glibc.
6141 * INSTALL: Regenerated.
6142 * Rules [PYTHON]: Make code unconditional.
6143 * benchtests/Makefile [PYTHON]: Likewise.
6144 * conform/Makefile [PYTHON]: Likewise.
6145 * manual/Makefile [PYTHON]: Likewise.
6146 * math/Makefile [PYTHON]: Likewise.
6147
46a7f24c
ST
61482018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6149
6150 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 6151 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 6152 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
6153 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
6154 _hurd_intr_rpc_msg_about_to global point to start of controlled
6155 assembly snippet. Make it check canceled flag.
6156 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
6157 the _hurd_intr_rpc_msg_about_to point.
6158 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
6159 issue, remove cancel flag check.
46a7f24c 6160
e5b8756d
JM
61612018-10-26 Joseph Myers <joseph@codesourcery.com>
6162
6163 * scripts/build-many-glibcs.py: Remove compatibility for missing
6164 os.cpu_count and re.fullmatch.
6165
ba5b14c7
SN
61662018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6167
6168 [BZ #23822]
6169 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
6170 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
6171 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
6172
fe61f17c
JM
61732018-10-25 Joseph Myers <joseph@codesourcery.com>
6174
6175 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
6176 macro.
6177
7c5e34d7
FW
61782018-10-25 Florian Weimer <fweimer@redhat.com>
6179
6180 [BZ #23562]
6181 [BZ #23821]
6182 XFAIL siginfo_t si_band conform test on sparc64.
6183 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
6184 (__SI_BAND_TYPE): Only override long int default type on sparc64.
6185 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6186 (conformtest-xfail-conds): Add sparc64-linux.
6187 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
6188 sparc64.
6189 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
6190
5b784e88
JM
61912018-10-25 Joseph Myers <joseph@codesourcery.com>
6192
6193 * elf/elf.h (NT_MIPS_DSP): New macro.
6194 (NT_MIPS_FP_MODE): Likewise.
6195
41432ebe
ZL
61962018-10-25 Zong Li <zong@andestech.com>
6197
6198 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
6199 name by adding the file extension (.so).
6200
d026efea
ST
62012018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6202
6203 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
6204 (test-xfail-ISO11/threads.h/linknamespace,
6205 test-xfail-ISO11/threads.h/conform): Add.
6206
b71ac2b9
JM
62072018-10-24 Joseph Myers <joseph@codesourcery.com>
6208
6209 * math/gen-libm-test.py: Import os.
6210 (ALL_FLOATS_MANUAL): New constant.
6211 (ALL_FLOATS_SUFFIX): Likewise.
6212 (Ulps.all_functions): New function.
6213 (real_all_ulps): Likewise.
6214 (generate_err_table_sub): Likewise.
6215 (generate_err_table): Likewise.
6216 (main): Handle -s and -m options.
6217 * manual/libm-err-tab.pl: Remove.
6218 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
6219 instead of libm-err-tab.pl.
6220 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
6221 != no].
6222 * manual/install.texi (Tools for Compilation): Document
6223 requirement for Python to build manual.
6224 * INSTALL: Regenerated.
6225
d51f99ce
AA
62262018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6227
6228 * bits/time64.h: New file.
6229 * include/time.h: Replace internal_time_t with __time64_t.
6230 * posix/bits/types (__time64_t): Add.
6231 * stdlib/Makefile: Add bits/time64.h to includes.
6232 * time/tzfile.c: Replace internal_time_t with __time64_t.
6233
97d91fcc 62342018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
6235
6236 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
6237 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
6238 __posix_spawn_file_actions_init, __posix_spawnattr_init,
6239 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
6240 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
6241 prototype.
6242 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
6243 * posix/spawn_faction_addclose.c
6244 (__posix_spawn_file_actions_addclose): Add hidden definition.
6245 * posix/spawn_faction_adddup2.c
6246 (__posix_spawn_file_actions_adddup2): Likewise.
6247 * posix/spawn_faction_destroy.c
6248 (__posix_spawn_file_actions_destroy): Likewise.
6249 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
6250 Likewise.
6251 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
6252 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
6253 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
6254 Likewise.
6255 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
6256 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
6257 Likewise.
6258
2954daf0
AS
62592018-10-24 Andreas Schwab <schwab@suse.de>
6260
6261 [BZ #18093]
6262 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
6263 format cache.
6264 * elf/cache.c (print_cache): Likewise.
6265
a27a4f47
AA
62662018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6267
6268 * bits/timesize.h: New file.
6269 * stdlib/Makefile (headers): Add bits/timesize.h.
6270 * sysdeps/unix/sysv/linux/bits/msq-pad.h
6271 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
6272 * sysdeps/unix/sysv/linux/bits/sem-pad.h
6273 (__SEM_PAD_AFTER_TIME): Likewise.
6274 * sysdeps/unix/sysv/linux/bits/shm-pad.h
6275 (__SHM_PAD_AFTER_TIME): Likewise.
6276 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
6277 (__MSQ_PAD_BEFORE_TIME): Likewise.
6278 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
6279 (__SEM_PAD_BEFORE_TIME): Likewise.
6280 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
6281 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6282 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
6283 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
6284 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
6285 (__MSQ_PAD_BEFORE_TIME): Likewise.
6286 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
6287 (__SEM_PAD_BEFORE_TIME): Likewise.
6288 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
6289 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6290 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
6291 (__MSQ_PAD_BEFORE_TIME): Likewise.
6292 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
6293 (__SEM_PAD_BEFORE_TIME): Likewise.
6294 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
6295 (__SHM_PAD_BEFORE_TIME): Likewise.
6296 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
6297 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6298 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
6299
7cc65773
L
63002018-10-24 H.J. Lu <hongjiu.lu@intel.com>
6301
6302 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
6303 USE_RDTSCP is defined.
6304 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
6305 USE_RDTSCP is defined.
6306
c3d8dc45
AZ
63072018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6308
18ad0de6
AZ
6309 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
6310 defined.
6311
c3d8dc45
AZ
6312 [BZ #23709]
6313 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
6314 independently of other flags.
6315
f1034472
FW
63162018-10-23 Florian Weimer <fweimer@redhat.com>
6317
6318 * time/tst-mktime2.c (N_STRINGS): Remove.
6319 (set_timezone): New function.
6320 (spring_forward_gap): Call it. Use FAIL_EXIT1.
6321 (mktime_test1): Report localtime failure and check errno value.
6322 Use TEST_COMPARE.
6323 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
6324 (do_test): Remove alarm call. Use set_timezone and array_length.
6325
367d7cc2
AS
63262018-10-23 Andreas Schwab <schwab@suse.de>
6327
6328 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
6329 (__start_context): Use END instead of PSEUDO_END.
6330
be8ff03f
JM
63312018-10-22 Joseph Myers <joseph@codesourcery.com>
6332
029ad711
JM
6333 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6334 version to 4.19.
6335
8190520f
JM
6336 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6337 version to 4.19.
6338
be8ff03f
JM
6339 [BZ #23793]
6340 * wcsmbs/c32rtomb.c: New file.
6341 * wcsmbs/mbrtoc32.c: Likewise.
6342 * wcsmbs/tst-c32-state.c: Likewise.
6343 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
6344 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
6345 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
6346 (tests): Add tst-c32-state.
6347 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
6348 $(gen-locales).
6349
2dd8e58c
L
63502018-10-21 H.J. Lu <hongjiu.lu@intel.com>
6351
6352 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
6353 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
6354
d0a74159
JM
63552018-10-19 Joseph Myers <joseph@codesourcery.com>
6356
6357 [BZ #23794]
6358 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
6359 pair and return 0 in that case, and use saved character to
6360 interpret following character.
6361 * wcsmbs/tst-c16-surrogate.c: New file.
6362 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
6363 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
6364 Depend on $(gen-locales)
6365
f997b4be
IYM
63662018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
6367
6368 [BZ #23562]
6369 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
6370 (struct siginfo_t): Use correct type for si_band.
6371
53b2bb87
FW
63722018-10-19 Florian Weimer <fweimer@redhat.com>
6373
6374 [BZ #23689]
6375 * resource/bits/types/struct_rusage.h (struct rusage): Update
6376 comment on struct. Remove extraneous field comment.
6377
0a271c8f
DM
63782018-10-18 David S. Miller <davem@davemloft.net>
6379
94a3a27f
DM
6380 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
6381 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
6382 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
6383 sysdep_routines in subdir elf.
6384 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
6385 version for __vdso_clock_gettime.
6386 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
6387 Define.
6388 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6389 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6390
0a271c8f
DM
6391 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6392
72771e53
L
63932018-10-17 H.J. Lu <hongjiu.lu@intel.com>
6394
6395 * sysdeps/i386/init-arch.h: Removed.
6396 * sysdeps/i386/i586/init-arch.h: Likewise.
6397 * sysdeps/i386/i686/init-arch.h: Likewise.
6398 * sysdeps/i386/i686/hp-timing.h: Likewise.
6399 * sysdeps/x86_64/hp-timing.h: Likewise.
6400 * sysdeps/i386/isa.h: New file.
6401 * sysdeps/i386/i586/isa.h: Likewise.
6402 * sysdeps/i386/i686/isa.h: Likewise.
6403 * sysdeps/x86_64/isa.h: Likewise.
6404 * sysdeps/x86/hp-timing.h: New file.
6405 * sysdeps/x86/init-arch.h: Include <isa.h>.
6406
c2b7ccad
JM
64072018-10-17 Joseph Myers <joseph@codesourcery.com>
6408
6409 * math/libm-test-pow.inc (pow_test_data): Do not allow
6410 divide-by-zero exception for pow(+/- 0, -Inf).
6411
26756e57
ZW
64122018-10-17 Zack Weinberg <zackw@panix.com>
6413
6414 * manual/job.texi (Job Control is Optional): Remove node, as
6415 job control has not been optional in quite some time.
6416 (Job Control): Mention briefly that systems older than
6417 POSIX.1-2001 might not support job control.
6418 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
6419 defined on systems conforming to POSIX.1-2001.
6420
c5288d37
AS
64212018-10-17 Arjun Shankar <arjun@redhat.com>
6422
6423 [BZ #22062]
6424 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
6425 indentation.
6426 * (__gconv_read_conf): Mark function static.
6427 * (once): New static variable.
6428 * (__gconv_load_conf): New function.
6429 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
6430 * iconv/gconv_db.c (once): Remove static variable.
6431 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6432 __gconv_read_conf.
6433 * (__gconv_find_transform): Likewise.
6434 * iconv/tst-iconv-mt.c: New test.
6435 * iconv/Makefile: Add tst-iconv_mt.
6436
8c8d2a8a
JM
64372018-10-17 Joseph Myers <joseph@codesourcery.com>
6438
6439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
6440 bits/shm-pad.h.
6441 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6442 (shmatt_t): Define as __syscall_ulong_t.
6443 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6444 and [__SHM_PAD_AFTER_TIME].
6445 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6446 Define shm_segsz and associated padding based on
6447 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6448 Use __syscall_ulong_t instead of unsigned long int.
6449 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6450 unsigned long int.
6451 [__USE_MISC] (struct shm_info): Likewise.
6452 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6453 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6454 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6455 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6456 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6457 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6458 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6459 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6460 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6461 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6462 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6463
6464 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
6465 bits/shmlba.h.
6466 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6467 (SHMLBA): Remove macro.
6468 (__getpagesize): Remove function declaration.
6469 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6470 <bits/shmlba.h>.
6471 (SHMLBA): Remove macro.
6472 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
6473 <bits/shmlba.h>.
6474 (SHMLBA): Remove macro.
6475 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
6476 <bits/shmlba.h>.
6477 (SHMLBA): Remove macro.
6478 (__getpagesize): Remove function declaration.
6479 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
6480 <bits/shmlba.h>.
6481 (SHMLBA): Remove macro.
6482 (__getshmlba): Remove function declaration.
6483 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
6484 (SHMLBA): Remove macro.
6485 (__getpagesize): Remove function declaration.
6486 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
6487 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6488 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6489 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
6490 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
6491 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
6492 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
6493 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
6494 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
6495 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
6496
403b4feb
SL
64972018-10-17 Stefan Liebler <stli@linux.ibm.com>
6498
6499 [BZ #23275]
6500 * nptl/tst-mutex10.c: New File.
6501 * nptl/Makefile (tests): Add tst-mutex10.
6502 (tst-mutex10-ENV): New variable.
6503 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
6504 Ensure that elision path is used if elision is available.
6505 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
6506 Likewise.
6507 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
6508 Likewise.
6509 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
6510 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
6511 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
6512 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
6513 Likewise.
6514 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
6515 (__pthread_mutex_cond_lock_adjust): Likewise.
6516 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6517 Likewise.
6518 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
6519 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6520 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6521 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
6522 Add comments.
6523 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6524 Use atomic_load_relaxed and atomic_store_relaxed.
6525 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
6526 Use atomic_store_relaxed.
6527
ce5a7de6
AS
65282018-10-17 Andreas Schwab <schwab@suse.de>
6529
6530 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
6531 * crypt/badsalttest.c (TIMEOUT): Likewise.
6532 * crypt/sha256c-test.c (TIMEOUT): Likewise.
6533 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
6534 * io/test-lfs.c (TIMEOUT): Likewise.
6535 * libio/tst-atime.c (TIMEOUT): Likewise.
6536 * localedata/tst-leaks.c (TIMEOUT): Likewise.
6537 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
6538 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
6539 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
6540 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
6541 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
6542 * nptl/tst-cond11.c (TIMEOUT): Likewise.
6543 * nptl/tst-cond14.c (TIMEOUT): Likewise.
6544 * nptl/tst-cond15.c (TIMEOUT): Likewise.
6545 * nptl/tst-cond24.c (TIMEOUT): Likewise.
6546 * nptl/tst-cond25.c (TIMEOUT): Likewise.
6547 * nptl/tst-kill2.c (TIMEOUT): Likewise.
6548 * nptl/tst-kill3.c (TIMEOUT): Likewise.
6549 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
6550 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
6551 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
6552 * nptl/tst-once2.c (TIMEOUT): Likewise.
6553 * nptl/tst-once3.c (TIMEOUT): Likewise.
6554 * nptl/tst-once4.c (TIMEOUT): Likewise.
6555 * nptl/tst-robust8.c (TIMEOUT): Likewise.
6556 * nptl/tst-robust9.c (TIMEOUT): Likewise.
6557 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
6558 * nptl/tst-sem14.c (TIMEOUT): Likewise.
6559 * nptl/tst-sem6.c (TIMEOUT): Likewise.
6560 * nptl/tst-signal3.c (TIMEOUT): Likewise.
6561 * nptl/tst-spin4.c (TIMEOUT): Likewise.
6562 * nptl/tst-tls3.c (TIMEOUT): Likewise.
6563 * nptl/tst-tls4.c (TIMEOUT): Likewise.
6564 * posix/tst-chmod.c (TIMEOUT): Likewise.
6565 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
6566 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
6567 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
6568 * posix/tst-regex2.c (TIMEOUT): Likewise.
6569 * posix/tst-waitid.c (TIMEOUT): Likewise.
6570 * rt/tst-aio.c (TIMEOUT): Likewise.
6571 * rt/tst-aio10.c (TIMEOUT): Likewise.
6572 * rt/tst-aio4.c (TIMEOUT): Likewise.
6573 * rt/tst-aio5.c (TIMEOUT): Likewise.
6574 * rt/tst-aio6.c (TIMEOUT): Likewise.
6575 * rt/tst-aio64.c (TIMEOUT): Likewise.
6576 * rt/tst-aio7.c (TIMEOUT): Likewise.
6577 * rt/tst-aio9.c (TIMEOUT): Likewise.
6578 * rt/tst-clock.c (TIMEOUT): Likewise.
6579 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6580 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6581 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6582 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6583 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6584 * rt/tst-timer4.c (TIMEOUT): Likewise.
6585 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6586 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6587 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6588 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6589 * time/tst-ftime.c (TIMEOUT): Likewise.
6590 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6591
75c1aee5
AY
65922018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
6593
6594 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6595 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6596 for thunderX2.
6597
bcdb1bfa
JM
65982018-10-15 Joseph Myers <joseph@codesourcery.com>
6599
6600 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6601 bits/sem-pad.h.
6602 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6603 instead of <bits/wordsize.h>.
6604 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6605 and [__SEM_PAD_AFTER_TIME].
6606 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6607 __syscall_ulong_t instead of unsigned long int.
6608 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6609 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6610 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6611 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6612 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6613 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6614 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6615 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6616 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6617 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6618 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6619
f4efbdfb
PE
66202018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6621
620a5d4c
PE
6622 regex: simplify by using intprops.h
6623 [BZ#23744]
6624 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6625 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6626 intprops.h defines them.
6627
f4efbdfb
PE
6628 regex: __builtin_expect → __glibc_unlikely
6629 [BZ#23744]
6630 This refactoring was prompted by a problem when the regex code is
6631 used as part of Gnulib and when the builder’s compiler does not grok
6632 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6633 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6634 Although this refactoring does not fix the problem directly,
6635 we might as well have Gawk use the now-preferred glibc style for when
6636 __builtin_expect is unavailable.
6637 * posix/regex_internal.h (BE): Remove.
6638 All uses replaced by __glibc_unlikely or __glibc_likely.
6639
9f9feb6d
JM
66402018-10-11 Joseph Myers <joseph@codesourcery.com>
6641
6642 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6643 bits/msq-pad.h.
6644 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6645 instead of <bits/wordsize.h>.
6646 (msgqnum_t): Define as __syscall_ulong_t.
6647 (msglen_t): Likewise.
6648 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6649 and [__MSQ_PAD_AFTER_TIME].
6650 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6651 __syscall_ulong_t instead of unsigned long int.
6652 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6653 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6654 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6655 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6656 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6657 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6658 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6659 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6660 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6661 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6662 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6663
b9c0f6c1
JM
66642018-10-10 Joseph Myers <joseph@codesourcery.com>
6665
2a4b25fa
JM
6666 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6667 (struct shmid_ds): Condition padding after time fields on
6668 [__WORDSIZE == 32].
6669 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6670 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6671 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6672
19e62f26
JM
6673 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6674 (struct semid_ds): Condition padding after time fields on
6675 [__WORDSIZE == 32].
6676 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6677 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6678 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
6679 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6680
b9c0f6c1
JM
6681 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
6682 (struct msqid_ds): Condition padding after time fields on
6683 [__WORDSIZE == 32].
6684 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
6685 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
6686 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
6687 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6688
97785a61
SN
66892018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6690
6691 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
6692
ed643089
SN
66932018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6694
6695 * libio/tst-readline.c (TIMEOUT): Define.
6696
5a580643
PE
66972018-10-08 Paul Eggert <eggert@cs.ucla.edu>
6698
6699 mktime fix for Gnulib + coreutils
6700 [BZ#23745]
6701 This fix affects only Gnulib. Problem discovered when
6702 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
6703 * time/mktime.c:
6704 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
6705 Do not define since it is not used. Defining an unused static
6706 function prompts a warning from GCC when Coreutils is configured
6707 with --enable-gcc-warnings.
6708
c892ae04
LS
67092018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6710
6711 * benchtests/scripts/compare_bench.py (main): set float type on
6712 threshold argument.
6713
a68ec8ea
RL
67142018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
6715
6716 [BZ #23740]
6717 * localedata/locales/kl_GL (mon): Update, the relative case.
6718 (alt_mon): Add, fill with month names in the nominative case.
6719 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6720 (d_fmt): Set to "%b %d %Y".
6721
a1987621
JM
67222018-10-04 Joseph Myers <joseph@codesourcery.com>
6723
47c49251
JM
6724 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6725 <bits/mman-linux.h>.
6726 (PROT_READ): Don't define here.
6727 (PROT_WRITE): Likewise.
6728 (PROT_EXEC): Likewise.
6729 (PROT_NONE): Likewise.
6730 (PROT_GROWSDOWN): Likewise.
6731 (PROT_GROWSUP): Likewise.
6732 (MAP_SHARED): Likewise.
6733 (MAP_PRIVATE): Likewise.
6734 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6735 [__USE_MISC] (MAP_FILE): Likewise.
6736 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6737 [__USE_MISC] (MAP_ANON): Likewise.
6738 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6739 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6740 (MCL_CURRENT): Likewise.
6741 (MCL_FUTURE): Likewise.
6742 (MCL_ONFAULT): Likewise.
6743 [__USE_MISC] (MADV_NORMAL): Likewise.
6744 [__USE_MISC] (MADV_RANDOM): Likewise.
6745 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6746 [__USE_MISC] (MADV_WILLNEED): Likewise.
6747 [__USE_MISC] (MADV_DONTNEED): Likewise.
6748 [__USE_MISC] (MADV_FREE): Likewise.
6749 [__USE_MISC] (MADV_REMOVE): Likewise.
6750 [__USE_MISC] (MADV_DONTFORK): Likewise.
6751 [__USE_MISC] (MADV_DOFORK): Likewise.
6752 [__USE_MISC] (MADV_HWPOISON): Likewise.
6753 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6754 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6755 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6756 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6757 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6758 (__MAP_ANONYMOUS): New macro.
6759 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6760 <bits/mman-linux.h> inclusion.
6761 (MAP_FIXED): Likewise.
6762 (MS_SYNC): Likewise.
6763 (MS_ASYNC): Likewise.
6764 (MS_INVALIDATE): Likewise.
6765 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6766 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6767 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6768 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6769 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6770 [__USE_MISC] (MADV_DODUMP): Likewise.
6771 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6772 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6773
a1987621
JM
6774 [BZ #23735]
6775 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6776 Define.
6777 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6778 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6779 Add test-nldbl-redirect.
6780 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6781 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6782 $(objpfx)libnldbl_nonshared.a.
6783
e7624d70
SL
67842018-10-04 Stefan Liebler <stli@linux.ibm.com>
6785
6786 * support/support.h (support_objdir_elf_ldso): New variable.
6787 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6788 * support/Makefile (CFLAGS-support_paths.c): Add definition
6789 for OBJDIR_ELF_LDSO_PATH.
6790 * support/test-container.c (main): Search for the ld.so
6791 which is also used by the testsuite.
6792
dae3ed95
RL
67932018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6794
6795 [BZ #20209]
6796 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6797 should be "sap" rather than "sab".
6798 (day): Fix spelling of Sunday, should be "sapaat" rather than
6799 "sabaat".
6800
f346b5b3
JM
68012018-10-02 Joseph Myers <joseph@codesourcery.com>
6802
6803 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6804
4a06ceea
MJ
68052018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6806
6807 [BZ #19444]
6808 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6809 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6810 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6811
a06fc4a5
AZ
68122018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6813
6814 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6815
a1ccc065
L
68162018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6817
6818 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6819 Add -mrtm.
6820 (CFLAGS-elision-unlock.c): Likewise.
6821 (CFLAGS-elision-timed.c): Likewise.
6822 (CFLAGS-elision-trylock.c): Likewise.
6823 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6824
0b727ed4
AZ
68252018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6826
6827 [BZ #21037]
6828 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6829 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6830 new fd_to_filename interface.
6831 * libio/freopen64.c (freopen64): Likewise.
6832 * libio/tst-memstream.h: New file.
6833 * libio/tst-memstream4.c: Likewise.
6834 * libio/tst-wmemstream4.c: Likewise.
6835 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6836 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6837 and remove internal dynamic allocation.
6838
d0e91e8c
JM
68392018-10-01 Joseph Myers <joseph@codesourcery.com>
6840
6841 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6842 (MREMAP_MAYMOVE): Do not define here.
6843 [__USE_GNU] (MREMAP_FIXED): Likewise.
6844 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6845 (MREMAP_MAYMOVE): Define here instead.
6846 [__USE_GNU] (MREMAP_FIXED): Likewise.
6847 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6848 (MREMAP_MAYMOVE): Remove.
6849 [__USE_GNU] (MREMAP_FIXED): Likewise.
6850
c52944e8
JM
68512018-09-28 Joseph Myers <joseph@codesourcery.com>
6852
6853 * math/fromfp.h: Do not include <math_private.h>.
6854 * math/s_cacosh_template.c: Likewise.
6855 * math/s_casin_template.c: Likewise.
6856 * math/s_casinh_template.c: Likewise.
6857 * math/s_ccos_template.c: Likewise.
6858 * math/s_cproj_template.c: Likewise.
6859 * math/s_fdim_template.c: Likewise.
6860 * math/s_fmaxmag_template.c: Likewise.
6861 * math/s_fminmag_template.c: Likewise.
6862 * math/s_iseqsig_template.c: Likewise.
6863 * math/s_ldexp_template.c: Likewise.
6864 * math/s_nextdown_template.c: Likewise.
6865 * math/w_log1p_template.c: Likewise.
6866 * math/w_scalbln_template.c: Likewise.
6867 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6868 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6869 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6870 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6871 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6872 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6873 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6874 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6875 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6876 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6877 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6878 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6879 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6880 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6881 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6882 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6883 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6884 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6885 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6886 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6887 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6888 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6889 * sysdeps/ieee754/k_standardf.c: Likewise.
6890 * sysdeps/ieee754/k_standardl.c: Likewise.
6891 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6892 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6893 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6894 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6895 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6896 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6897 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6898 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6899 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6900 * sysdeps/ieee754/s_signgam.c: Likewise.
6901 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6902 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6903 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6904 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6905 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6906 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6907 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6908 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6909 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6910 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6911 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6912 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6913 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6914 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6915 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6916 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6917 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6918 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6919 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6920 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6921 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6922 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6923 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6924 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6925 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6926 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6927 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6928 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6929 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6930 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6931 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6932 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6933 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6934 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6935 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6936 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6937 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6938 <math_private.h>.
6939 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6940
7b1f9406
L
69412018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6942
6943 [BZ #23716]
6944 * sysdeps/i386/dl-cet.c: Removed.
6945 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6946 prototype.
6947 (_dl_runtime_profile_shstk): Likewise.
6948 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
6949 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
6950
7a16bdbb
AZ
69512018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6952
6953 [BZ #23579]
6954 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
6955 do_test_with_invalid_iov): New tests.
6956 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
6957 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
6958 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
6959 errno is ENOSYS.
6960 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6961 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6962 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6963
9755bc46
JM
69642018-09-27 Joseph Myers <joseph@codesourcery.com>
6965
81dca813
JM
6966 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6967 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
6968 (MATH_REDIRECT_BINARY_ARGS): New macro.
6969 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6970 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
6971 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
6972 header inclusion.
6973 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
6974 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6975 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
6976 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6977 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6978 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6979 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6981 Likewise.
6982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6983 Likewise.
6984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6986 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6987 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6989 Likewise.
6990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6991 Likewise.
6992 * sysdeps/generic/math_private_calls.h
6993 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6994 Do not declare and define as an inline function.
6995 * math/divtc3.c (__divtc3): Use copysign functions instead of
6996 __copysign variants.
6997 * math/multc3.c (__multc3): Likewise.
6998 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6999 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
7000 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7001 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7002 Likewise.
7003 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7004 (__ieee754_yn): Likewise.
7005 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7006 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
7007 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7008 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7009 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
7010 (__sin): Likewise.
7011 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
7012 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7013 Likewise.
7014 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7015 Likewise.
7016 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7017 Likewise.
7018 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7019 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7020 Likewise.
7021 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7022 (__ieee754_ynf): Likewise.
7023 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7024 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7025 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7026 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7027 Likewise.
7028 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7029 (__ieee754_ynl): Likewise.
7030 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7031 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7032 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7033 Likewise.
7034 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7035 (__ieee754_ynl): Likewise.
7036 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
7037 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7038 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7039 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7040 Likewise.
7041 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7042 (__ieee754_ynl)
7043 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
7044 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7045 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
7046 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7047 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7048
9755bc46
JM
7049 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7050 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
7051 using MATH_REDIRECT.
7052 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
7053 header inclusion.
7054 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
7055 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7056 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7057 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
7058 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7059 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7060 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
7062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
7063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
7064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
7065 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7066 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7067 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7068 (round): Redirect to __round.
7069 (__roundl): Call round instead of __round.
7070 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
7071 Remove macro.
7072 [_ARCH_PWR5X] (__roundf): Likewise.
7073 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
7074 functions instead of __round variants.
7075 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7076 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7077 Likewise.
7078 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7079 Likewise.
7080 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7081 Likewise.
7082 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7083 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
7084 __lroundl.
7085 (__ieee754_expl): Call roundl instead of __roundl.
7086
f841c97e
AS
70872018-09-27 Andreas Schwab <schwab@suse.de>
7088
7089 [BZ #23717]
7090 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
7091 (do_test): Make st1 static.
7092
6ca8284e
AS
70932018-09-26 Andreas Schwab <schwab@suse.de>
7094
7095 [BZ #23707]
7096 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
7097 * elf/Makefile (tests): Add tst-unwind-ctor.
7098 (modules-names): Add tst-unwind-ctor-lib.
7099 ($(objpfx)tst-unwind-ctor): Depend on
7100 $(objpfx)tst-unwind-ctor-lib.so.
7101
61d8b5fe
JM
71022018-09-26 Joseph Myers <joseph@codesourcery.com>
7103
7104 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
7105 file. Most contents moved from ....
7106 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
7107 and include <bits/mman-map-flags-generic.h>.
7108 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7109 (sysdep_headers): Add bits/mman-map-flags-generic.h.
7110 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
7111 <bits/mman-map-flags-generic.h>.
7112 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
7113 macros defined in <bits/mman-map-flags-generic.h>.
7114 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
7115 <bits/mman-map-flags-generic.h>.
7116 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
7117 defined in <bits/mman-map-flags-generic.h>.
7118
46341286
AS
71192018-09-26 Andreas Schwab <schwab@suse.de>
7120
7121 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
7122 output.
7123
b5c45e83
AZ
71242018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
7125 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7126 Fangrui Song <maskray@google.com>
7127
7128 [BZ #20480]
7129 * config.make.in (have-textrel_ifunc): New define.
7130 * configure.ac: Add check if linker supports textrel relocation with
7131 ifunc.
7132 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
7133 tst-ifunc-textrel.
7134 (CFLAGS-tst-ifunc-textrel.c): New rule.
7135 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
7136 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
7137 * elf/tst-ifunc-textrel.c: New file.
7138
8ea4d2b7
JM
71392018-09-25 Joseph Myers <joseph@codesourcery.com>
7140
d62f9ec0
JM
7141 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7142 <bits/procfs-prregset.h>.
7143 (prgregset_t): Define using __prgregset_t.
7144 (prfpregset_t): Define using __prfpregset_t.
7145 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7146 (sysdep_headers): Add bits/procfs-prregset.h.
7147 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
7148 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
7149 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
7150 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
7151
d0d8eb43
JM
7152 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7153 <bits/procfs-id.h> and <bits/procfs-extra.h>.
7154 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
7155 pr_uid and pr_gid.
7156 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7157 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
7158 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
7159 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
7160 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
7161 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
7162 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
7163 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
7164 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
7165 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
7166 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
7167 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
7168 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
7169 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
7170 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
7171 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
7172 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
7173 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
7174 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
7175 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
7176 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
7177 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
7178 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7179 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
7180
8ea4d2b7
JM
7181 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
7182 AArch64 version. Include <bits/procfs.h>.
7183 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7184 (sysdep_headers): Add bits/procfs.h.
7185 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
7186 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
7187 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
7188 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
7189 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
7190 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
7191 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
7192 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
7193 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
7194 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
7195 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
7196 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
7197 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
7198 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
7199 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
7200 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7201 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
7202
c7027166
AZ
72032018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7204
7205 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
7206 Use libsupport.
7207
335a3b0a
AS
72082018-09-25 Arjun Shankar <arjun@redhat.com>
7209
7210 * iconv/gconv_int.h (__gconv_path_elem): Remove.
7211 (__gconv_max_path_elem_len): Likewise.
7212 (__gconv_nmodules): Likewise.
7213 (__gconv_get_path): Likewise.
7214 (path_elem): Move to ...
7215 * iconv/gconv_conf.c: ... here.
7216 (__gconv_get_path): Mark function static.
7217 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
7218 * iconv/gconv_open.c: ... here.
7219
462d348c
AS
72202018-09-24 Andreas Schwab <schwab@suse.de>
7221
7222 * scripts/haveversions.awk: New file.
7223 * Makerules ($(common-objpfx)Versions.def)
7224 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7225 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7226 Move rules ...
7227 * Makeconfig ($(common-objpfx)Versions.def)
7228 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7229 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7230 ... here.
7231 ($(common-objpfx)Versions.mk): New rule. Include it.
7232 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
7233 Emit error if build-obsolete-nsl = yes.
7234 * manual/install.texi (Configuring and compiling): Describe
7235 --enable-obsolete-nsl as unavaiable after version 2.28.
7236 * INSTALL: Regenerate.
7237
f0458cf4
AZ
72382018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7239
7240 * NEWS: Add note about new TLE support on powerpc64le.
7241 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
7242 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
7243 __ununsed1.
7244 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
7245 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
7246 * sysdeps/powerpc/powerpc32/sysdep.h,
7247 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
7248 ABORT_TRANSACTION): Remove macros.
7249 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
7250 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
7251 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
7252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
7253 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7254 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
7255 usage.
7256 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
7257
434d45fd
RL
72582018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
7259
7260 [BZ #10425]
7261 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
7262 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
7263 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
7264 which is the same as in it_IT.
7265 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
7266 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
7267
d90c9b1a
JM
72682018-09-20 Joseph Myers <joseph@codesourcery.com>
7269
7abf97be
JM
7270 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7271 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
7272 using MATH_REDIRECT.
7273 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
7274 header inclusion.
7275 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
7276 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7277 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
7278 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7279 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7280 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
7282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
7283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
7284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
7285 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7286 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7287 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7288 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7289 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
7290 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
7291 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
7292 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7293 (ceil): Redirect to __ceil.
7294 (floor): Redirect to __floor.
7295 (trunc): Redirect to __trunc.
7296 (__truncl): Call trunc instead of __trunc.
7297 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
7298 Remove macro.
7299 [_ARCH_PWR5X] (__truncf): Likewise.
7300 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
7301 trunc functions instead of __trunc variants.
7302 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7303 Likewise.
7304 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7305 Likewise.
7306 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7307 Likewise.
7308 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7309 Likewise.
7310
d90c9b1a
JM
7311 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
7312 [__i586__ || __pentium__].
7313 [__i486__]: Handle explicitly.
7314 (HAS_CPUID): Define to 1 if above macros are undefined.
7315 (HAS_I586): Likewise.
7316 (HAS_I686): Likewise.
7317
db9a8ad4
FW
73182018-09-20 Florian Weimer <fweimer@redhat.com>
7319
7320 * misc/tst-gethostid.c: New file.
7321 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
7322 (tst-gethostid): Link with -ldl.
7323
1214ba06
MY
73242018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
7325
7326 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
7327 value from gethostbyname_r.
7328
791b350d
CD
73292018-09-19 Carlos O'Donell <carlos@redhat.com>
7330
7331 * stdlib/tst-setcontext9.c (f1): Rename to...
7332 (f1a): ... this.
7333 (f1b): New function implementing lower half of f1 in alternate stack.
7334
8e6fd2bd
PE
73352018-09-19 Paul Eggert <eggert@cs.ucla.edu>
7336
e1080e7e
PE
7337 Fix mktime localtime offset confusion
7338 [BZ #23603]
7339 * include/time.h (__mktime_internal): The localtime offset is now
7340 of type long int instead of time_t. This is the longstanding type
7341 in glibc, and it is more than enough to represent difference
7342 between localtime and gmtime even if it is 32 bits and time_t is
7343 64. Changing it now will let us avoid an unnecessary change when
7344 time_t is widened to 64 bits on 32-bit platforms.
7345 * time/mktime-internal.h (mktime_offset_t): Now long int.
7346
8e6fd2bd
PE
7347 Merge mktime, timegm from upstream Gnulib
7348 [BZ #23603][BZ #16346]
7349 This fixes some obscure problems with integer overflow.
7350 Although it looks scary, it is almost all a byte-for-byte copy
7351 from Gnulib, and the Gnulib code has been tested reasonably well.
7352 * include/intprops.h: New file, copied from Gnulib.
7353 * include/verify.h, time/mktime-internal.h:
7354 New tiny files, simplified from Gnulib.
7355 * time/mktime.c: Copy from Gnulib. This has the following changes:
7356 Do not include config.h if DEBUG_MKTIME is nonzero.
7357 Include stdbool.h, intprops.h, verify.h.
7358 Include string.h only if needed.
7359 Include stdlib.h on MS-Windows.
7360 Include mktime-internal.h.
7361 (DEBUG_MKTIME): Default to 0, and simplify later uses.
7362 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
7363 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
7364 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
7365 simplify later conditionals; default the others to zero. Use
7366 these conditionals to express only the code needed on the current
7367 platform. In uses of these conditionals, explicitly spell out how
7368 _LIBC affects things, so it’s easier to review from a glibc
7369 viewpoint.
7370 (WRAPV): Remove; no longer needed now that we have
7371 systematic overflow checking.
7372 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
7373 compartmentalize tzset issues. Move system-dependent tzsettish
7374 code here from mktime.
7375 (verify): Remove; now done by verify.h. All uses changed.
7376 (long_int): Use a more-conservative definition, to avoid
7377 integer overflow.
7378 (SHR): Remove, replacing with ...
7379 (shr): New function, which means we needn’t worry about side
7380 effects in args, and conversion analysis is simpler.
7381 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
7382 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
7383 (time_t_avg, time_t_add_ok): Remove.
7384 (mktime_min, mktime_max): New constants.
7385 (leapyear, isdst_differ): Use bool for booleans.
7386 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
7387 Use long_int, not time_t, for mktime differences.
7388 (long_int_avg): New function, replacing time_t_avg.
7389 INT_ADD_WRAPV replaces time_t_add_ok.
7390 (guess_time_tm): 6th arg is now long_int, not time_t const *.
7391 All uses changed.
7392 (convert_time): New function.
7393 (ranged_convert): Use it.
7394 (__mktime_internal): Last arg now points to mktime_offset_t, not
7395 time_t. All uses changed. This is a no-op on glibc, where
7396 mktime_offset_t is always time_t. Use int, not time_t, for UTC
7397 offset guess. Directly check for integer overflow instead of
7398 using a heuristic that works only 99.9...% of the time.
7399 Access *OFFSET only once, to avoid an unlikely race if the
7400 compiler delays a load and if this cascades into a signed integer
7401 overflow.
7402 (mktime): Move tzsettish code to my_tzset, and move
7403 localtime_offset to within mktime so that it doesn’t
7404 need a separate ifdef.
7405 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
7406 instead of localtime.
7407 * time/timegm.c: Copy from Gnulib. This has the following changes:
7408 Include mktime-internal.h.
7409 [!_LIBC]: Include config.h and time.h. Do not include
7410 timegm.h or time_r.h. Make __mktime_internal a macro,
7411 and include mktime-internal.h to get its declaration.
7412 (timegm): Temporary is now mktime_offset_t, not time_t.
7413 This affects only Gnulib.
7414
83a552b0
WD
74152018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
7416
7417 [BZ #23637]
7418 * string/test-strstr.c (pr23637): New function.
7419 (test_main): Add tests with longer needles.
7420 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
7421 * string/strstr.c (AVAILABLE): Likewise.
7422
d7347278
SN
74232018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7424
7425 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
7426
424c4f60
SN
74272018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7428
7429 * NEWS: Mention pow improvements.
7430 * math/Makefile (type-double-routines): Add e_pow_log_data.
7431 * sysdeps/generic/math_private.h (__exp1): Remove.
7432 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7433 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7434 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7435 contraction.
7436 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7437 (exp_inline): Remove.
7438 (__ieee754_exp): Only single double input is handled.
7439 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7440 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7441 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7442 (__pow_log_data): Define.
7443 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7444 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7445 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7446 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7447 contraction.
7448 (CFLAGS-e_pow-fma4.c): Likewise.
7449
e4e4fde5
PE
74502018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7451
dab9c348
PE
7452 Simplify tzfile fstat failure code
7453 [BZ #21716]
7454 * time/tzfile.c (__tzfile_read): Simplify slightly.
7455
e4e4fde5
PE
7456 Fix tzfile low-memory assertion failure
7457 [BZ #21716]
7458 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7459 when registering time zone abbreviations.
7460
50bc59ca
JM
74612018-09-18 Joseph Myers <joseph@codesourcery.com>
7462
d3a43e49
JM
7463 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7464 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7465 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7466 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7467 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7468 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7469 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7470 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7471 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7472
50bc59ca
JM
7473 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
7474 __ceil.
7475 (__ceill): Call ceil instead of __ceil.
7476 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
7477 __floor.
7478 (__floorl): Call floor instead of __floor.
7479
89983cb3
JM
74802018-09-17 Joseph Myers <joseph@codesourcery.com>
7481
71223ef9
JM
7482 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7483 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
7484 using MATH_REDIRECT.
7485 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
7486 header inclusion.
7487 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
7488 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7489 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7490 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
7491 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7492 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7493 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7494 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
7496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
7497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
7498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
7499 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7500 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7501 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7502 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7503 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7504 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7505 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
7506 Remove macro.
7507 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
7508 functions instead of __ceil variants.
7509 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7510 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7511 Likewise.
7512 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7513 Likewise.
7514 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7515 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7516 Likewise.
7517 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7518 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7519
89983cb3
JM
7520 [BZ #21286]
7521 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
7522 constant.
7523 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
7524 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
7525 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
7526 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
7527 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
7528 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
7529 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
7530 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
7531 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
7532 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
7533 (ILL_BADIADDR): Remove constant.
7534 (TRAP_BRANCH): Likewise.
7535 (TRAP_HWBKPT): Likewise.
7536
e44acb20
JM
75372018-09-14 Joseph Myers <joseph@codesourcery.com>
7538
3f7f1d18
JM
7539 [BZ #23656]
7540 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
7541 Remove [_MIPS_SIM = _ABIN32] conditional case.
7542 (struct elf_prpsinfo): Likewise.
7543
d59f3e5e
JM
7544 [BZ #23649]
7545 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
7546 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
7547 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
7548 Likewise.
7549 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
7550 elf_prpsinfo): Likewise.
7551 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
7552 elf_prpsinfo): Likewise.
7553 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
7554 Likewise.
7555
f29b6f17
JM
7556 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7557 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
7558 using MATH_REDIRECT.
7559 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
7560 header inclusion.
7561 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
7562 * sysdeps/alpha/fpu/s_rint.c: Likewise.
7563 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
7564 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7565 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7566 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7567 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
7568 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7569 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7570 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7571 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7572 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7573 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7574 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7575 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7576 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7577 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7578 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7579 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7582 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7583 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7584 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7585 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7586 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7587 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7588 __rint variants.
7589 * math/e_scalbf.c (invalid_fn): Likewise.
7590 * math/e_scalbl.c (invalid_fn): Likewise.
7591 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7592 Likewise.
7593 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7594 Likewise.
7595 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7596 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7597 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7598 Likewise.
7599 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7600 Likewise.
7601 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7602 Likewise.
7603 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7604 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7605
e44acb20
JM
7606 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7607 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7608 New macro.
7609 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7610 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7611 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7612 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7613 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7614 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7615 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7616 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7617 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7618 && !NO_MATH_REDIRECT] (floor): Likewise.
7619 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7620 header inclusion.
7621 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7622 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7623 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7624 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7625 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7626 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7627 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7628 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7633 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7634 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7635 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7636 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7637 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7638 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7639 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7640 Remove macro.
7641 [_ARCH_PWR5X] (__floorf): Likewise.
7642 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7643 inline function.
7644 [__SSE4_1__] (__floorf): Likewise.
7645 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7646 instead of __floor variants.
7647 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7648 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7649 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7650 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7651 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7652 * math/w_tgamma_compat.c (__tgamma): Likewise.
7653 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7654 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7655 * math/w_tgammal_compat.c (__tgammal): Likewise.
7656 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7657 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7658 Likewise.
7659 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7660 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7661 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7662 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7663 Likewise.
7664 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7665 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7666 Likewise.
7667 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7668 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7669 Likewise.
7670 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7671 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7672 Likewise.
7673 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7674 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7675 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7676 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7677 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7678 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7679
221e4bab
JM
76802018-09-12 Joseph Myers <joseph@codesourcery.com>
7681
7682 * elf/Makefile (modules-names-tests): New variable.
7683
3e08ff54
SN
76842018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7685
7686 * NEWS: Mention log2 improvements.
7687 * math/Makefile (type-double-routines): Add e_log2_data.
7688 * sysdeps/i386/fpu/e_log2_data.c: New file.
7689 * sysdeps/ia64/fpu/e_log2_data.c: New file.
7690 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
7691 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
7692 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
7693 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
7694 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
7695
f41b0a43
SN
76962018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7697
7698 * NEWS: Mention log improvement.
7699 * math/Makefile (type-double-routines): Add e_log_data.
7700 * sysdeps/i386/fpu/e_log_data.c: New file.
7701 * sysdeps/ia64/fpu/e_log_data.c: New file.
7702 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
7703 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
7704 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
7705 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
7706 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
7707 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
7708
5a274db4
L
77092018-09-12 H.J. Lu <hongjiu.lu@intel.com>
7710 Xuepeng Guo <xuepeng.guo@intel.com>
7711
7712 [BZ #23606]
7713 * sysdeps/i386/start.S: Include <sysdep.h>
7714 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
7715 enabled. Add cfi_undefined (eip).
7716
b1176270
JM
77172018-09-11 Joseph Myers <joseph@codesourcery.com>
7718
4e7fbdd7
JM
7719 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7720 (MOVQ): Likewise.
7721 (EXTRACT_WORDS64): Likewise.
7722 (INSERT_WORDS64): Likewise.
7723 (GET_FLOAT_WORD): Likewise.
7724 (SET_FLOAT_WORD): Likewise.
7725
b1176270
JM
7726 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7727 argument.
7728 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7729 build, but not for second build if --full-gcc. Use
7730 --enable-languages=all for second build if --full-gcc.
7731 (get_parser): Add --full-gcc option.
7732 (main): Update call to Context.
7733
527f355e
RL
77342018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7735
7736 [BZ #10797]
7737 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7738 Single Quotation Mark).
7739 (thousands_sep): Likewise.
7740 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7741 * localedata/locales/it_IT (thousands_sep): Use ".".
7742 (grouping): Use "3;3".
7743
7244f13d
JM
77442018-09-10 Joseph Myers <joseph@codesourcery.com>
7745
7746 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7747 x86_64 and i686 configs using --enable-obsolete-rpc
7748 --enable-obsolete-nsl.
7749
38245425
SL
77502018-09-06 Stefan Liebler <stli@linux.ibm.com>
7751
7752 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7753
28669f86
SL
77542018-09-06 Stefan Liebler <stli@linux.ibm.com>
7755
7756 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7757 Increment size of new_argv by one.
7758
a33650d1
RL
77592018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7760
7761 [BZ #17426]
7762 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7763 * localedata/locales/ar_IN (d_fmt): Likewise.
7764 * localedata/locales/bhb_IN (d_fmt): Likewise.
7765 * localedata/locales/bho_IN (d_fmt): Likewise.
7766 * localedata/locales/bn_BD (d_fmt): Likewise.
7767 * localedata/locales/bn_IN (d_fmt): Likewise.
7768 * localedata/locales/doi_IN (d_fmt): Likewise.
7769 * localedata/locales/gu_IN (d_fmt): Likewise.
7770 * localedata/locales/hi_IN (d_fmt): Likewise.
7771 * localedata/locales/hne_IN (d_fmt): Likewise.
7772 * localedata/locales/kn_IN (d_fmt): Likewise.
7773 * localedata/locales/mag_IN (d_fmt): Likewise.
7774 * localedata/locales/mai_IN (d_fmt): Likewise.
7775 * localedata/locales/mjw_IN (d_fmt): Likewise.
7776 * localedata/locales/ml_IN (d_fmt): Likewise.
7777 * localedata/locales/mni_IN (d_fmt): Likewise.
7778 * localedata/locales/mr_IN (d_fmt): Likewise.
7779 * localedata/locales/pa_IN (d_fmt): Likewise.
7780 * localedata/locales/raj_IN (d_fmt): Likewise.
7781 * localedata/locales/sat_IN (d_fmt): Likewise.
7782 * localedata/locales/sd_IN (d_fmt): Likewise.
7783 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7784 * localedata/locales/ta_IN (d_fmt): Likewise.
7785 * localedata/locales/ta_LK (d_fmt): Likewise.
7786 * localedata/locales/tcy_IN (d_fmt): Likewise.
7787 * localedata/locales/ur_IN (d_fmt): Likewise.
7788
7789 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7790 * localedata/locales/ks_IN (d_fmt): Likewise.
7791 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7792
7793 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7794 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7795 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7796 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7797
d114e6a7
SN
77982018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7799
7800 * NEWS: Mention exp and exp2 improvements.
7801 * math/Makefile (libm-support): Remove t_exp.
7802 (type-double-routines): Add math_err and e_exp_data.
7803 * sysdeps/aarch64/libm-test-ulps: Update.
7804 * sysdeps/arm/libm-test-ulps: Update.
7805 * sysdeps/i386/fpu/e_exp_data.c: New file.
7806 * sysdeps/i386/fpu/math_err.c: New file.
7807 * sysdeps/i386/fpu/t_exp.c: Remove.
7808 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7809 * sysdeps/ia64/fpu/math_err.c: New file.
7810 * sysdeps/ia64/fpu/t_exp.c: Remove.
7811 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7812 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7813 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7814 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7815 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7816 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7817 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7818 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7819 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7820 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7821 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7822 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7823 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7824 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7826 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7827
b9d8c474
JM
78282018-09-05 Joseph Myers <joseph@codesourcery.com>
7829
b7cdc2ae
JM
7830 * sysdeps/alpha/fpu/math_private.h: Remove.
7831
b9d8c474
JM
7832 * sysdeps/generic/math_private.h
7833 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7834 Move this inline function ....
7835 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7836 * include/math.h [!_ISOMAC]: To here....
7837
418d99e6
JM
78382018-09-04 Joseph Myers <joseph@codesourcery.com>
7839
7840 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7841 code ....
7842 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7843 * include/fenv.h [!_ISOMAC]: ... to here.
7844 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7845 (feraiseexcept): Likewise.
7846 * math/fromfp.h: Do not include <fenv_private.h>.
7847 * math/s_cexp_template.c: Likewise.
7848 * math/s_csin_template.c: Likewise.
7849 * math/s_csinh_template.c: Likewise.
7850 * math/s_ctan_template.c: Likewise.
7851 * math/s_ctanh_template.c: Likewise.
7852 * math/s_iseqsig_template.c: Likewise.
7853 * math/w_acos_compat.c: Likewise.
7854 * math/w_acosf_compat.c: Likewise.
7855 * math/w_acosl_compat.c: Likewise.
7856 * math/w_asin_compat.c: Likewise.
7857 * math/w_asinf_compat.c: Likewise.
7858 * math/w_asinl_compat.c: Likewise.
7859 * math/w_j0_compat.c: Likewise.
7860 * math/w_j0f_compat.c: Likewise.
7861 * math/w_j0l_compat.c: Likewise.
7862 * math/w_j1_compat.c: Likewise.
7863 * math/w_j1f_compat.c: Likewise.
7864 * math/w_j1l_compat.c: Likewise.
7865 * math/w_jn_compat.c: Likewise.
7866 * math/w_jnf_compat.c: Likewise.
7867 * math/w_log10_compat.c: Likewise.
7868 * math/w_log10f_compat.c: Likewise.
7869 * math/w_log10l_compat.c: Likewise.
7870 * math/w_log2_compat.c: Likewise.
7871 * math/w_log2f_compat.c: Likewise.
7872 * math/w_log2l_compat.c: Likewise.
7873 * math/w_log_compat.c: Likewise.
7874 * math/w_logf_compat.c: Likewise.
7875 * math/w_logl_compat.c: Likewise.
7876 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7877 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7878 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7879 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7880 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7881 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7882 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7883 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7884 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7885 * sysdeps/ieee754/k_standardl.c: Likewise.
7886 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7887 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7888 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7889 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7890 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7891 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7892 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7893 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7894 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7895 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7896 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7897 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7898 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7899 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7900 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7901 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7902 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7903 * math/w_ilogb_template.c: Include <fenv.h> instead of
7904 <fenv_private.h>.
7905 * math/w_llogb_template.c: Likewise.
7906 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7907 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7908
70e2ba33
JM
79092018-09-03 Joseph Myers <joseph@codesourcery.com>
7910
7911 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7912 * math/fromfp.h: Include <fenv_private.h>.
7913 * math/math-narrow.h: Likewise.
7914 * math/s_cexp_template.c: Likewise.
7915 * math/s_csin_template.c: Likewise.
7916 * math/s_csinh_template.c: Likewise.
7917 * math/s_ctan_template.c: Likewise.
7918 * math/s_ctanh_template.c: Likewise.
7919 * math/s_iseqsig_template.c: Likewise.
7920 * math/w_acos_compat.c: Likewise.
7921 * math/w_acosf_compat.c: Likewise.
7922 * math/w_acosl_compat.c: Likewise.
7923 * math/w_asin_compat.c: Likewise.
7924 * math/w_asinf_compat.c: Likewise.
7925 * math/w_asinl_compat.c: Likewise.
7926 * math/w_ilogb_template.c: Likewise.
7927 * math/w_j0_compat.c: Likewise.
7928 * math/w_j0f_compat.c: Likewise.
7929 * math/w_j0l_compat.c: Likewise.
7930 * math/w_j1_compat.c: Likewise.
7931 * math/w_j1f_compat.c: Likewise.
7932 * math/w_j1l_compat.c: Likewise.
7933 * math/w_jn_compat.c: Likewise.
7934 * math/w_jnf_compat.c: Likewise.
7935 * math/w_llogb_template.c: Likewise.
7936 * math/w_log10_compat.c: Likewise.
7937 * math/w_log10f_compat.c: Likewise.
7938 * math/w_log10l_compat.c: Likewise.
7939 * math/w_log2_compat.c: Likewise.
7940 * math/w_log2f_compat.c: Likewise.
7941 * math/w_log2l_compat.c: Likewise.
7942 * math/w_log_compat.c: Likewise.
7943 * math/w_logf_compat.c: Likewise.
7944 * math/w_logl_compat.c: Likewise.
7945 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7946 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7947 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7948 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7949 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7950 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7951 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7952 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7953 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7954 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7955 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7956 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7957 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
7958 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7959 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7960 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7961 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7962 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7963 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7964 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7965 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7966 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7967 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7968 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7969 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7970 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7971 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7972 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7973 * sysdeps/ieee754/float128/float128_private.h: Likewise.
7974 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7975 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7976 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7977 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7978 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7979 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7980 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7981 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7982 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7983 * sysdeps/ieee754/k_standardl.c: Likewise.
7984 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7985 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7986 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7987 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7988 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7989 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7990 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7991 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7992 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7993 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7994 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7995 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7996 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7997 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7998 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7999 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8000 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8001 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8002 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8003 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8004 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8005 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8006 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8007 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8008 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8009 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8010 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8011 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8012 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8013 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8014 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8015 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8016 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8017 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8018 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8019 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8020 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8021 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8022 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8023 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8024 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8025 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8026 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8027 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8028 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8029 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8030 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8031 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8032 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8033 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8034 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8035 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8036 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8037 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8038 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8039 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8040 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8041 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8042 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8043 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8044 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8045 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8046 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8047 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8048 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8049 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8050 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8051 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8052 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8053 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8054 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8055
a6e8926f
PP
80562018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8057
8058 [BZ #20271]
8059 * include/stdio.h (__libc_fatal): Mention newline in comment.
8060 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
8061 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
8062 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8063 * nss/nsswitch.c (__nss_next2): Likewise.
8064 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
8065 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
8066 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
8067 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8068 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
8069 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
8070 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
8071 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
8072 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
8073 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
8074 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
8075 * sysdeps/unix/sysv/linux/netlink_assert_response.c
8076 (__netlink_assert_response): Likewise.
8077
2bbd06bc
JM
80782018-08-31 Joseph Myers <joseph@codesourcery.com>
8079
8080 * conform/glibcconform.py: New file.
8081 * conform/list-header-symbols.py: Likewise.
8082 * conform/list-header-symbols.pl: Remove.
8083 * conform/Makefile (tests-special): Only add linknamespace tests
8084 if [PYTHON].
8085 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
8086
81b9d87b
L
80872018-08-31 H.J. Lu <hongjiu.lu@intel.com>
8088
8089 [BZ #23597]
8090 * support/Makefile (libsupport-routines): Add
8091 support_copy_file_range and xcopy_file_range.
8092 * support/support.h: Include <sys/types.h>.
8093 (support_copy_file_range): New prototype.
8094 * support/support_copy_file_range.c: New file. Copied and
8095 modified from io/copy_file_range-compat.c.
8096 * support/test-container.c (copy_one_file): Call xcopy_file_rang
8097 instead of copy_file_range.
8098 * support/xcopy_file_range.c: New file.
8099 * support/xunistd.h (xcopy_file_range): New prototype.
8100
d330f31a
CD
81012018-08-30 Carlos O'Donell <carlos@redhat.com>
8102
8103 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
8104 xpthread_create and xpthread_join.
8105
2bda273a
FW
81062018-08-30 Florian Weimer <fweimer@redhat.com>
8107
8108 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
8109
3bad2358
SL
81102018-08-30 Stefan Liebler <stli@linux.ibm.com>
8111
8112 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
8113 if malloc fails.
8114
09c12efc
JM
81152018-08-29 Joseph Myers <joseph@codesourcery.com>
8116
8117 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
8118 and minus_oflow as non-finite.
8119
ff6b2450
JM
81202018-08-28 Joseph Myers <joseph@codesourcery.com>
8121
8122 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
8123 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
8124 moved to fenv_private.h except for ...
8125 (TOINT_INTRINSICS): Kept in math_private.h.
8126 (roundtoint): Likewise.
8127 (converttoint): Likewise.
8128 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
8129 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8130 * sysdeps/arm/math_private.h: Remove.
8131 * sysdeps/generic/fenv_private.h: New file. Contents moved from
8132 ....
8133 * sysdeps/generic/math_private.h: ... this file. Include
8134 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
8135 Include <fenv_private.h>. Remove functions and macros moved to
8136 fenv_private.h.
8137 * sysdeps/i386/fpu/math_private.h: Remove.
8138 * sysdeps/mips/math_private.h: Move to ....
8139 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
8140 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
8141 [__mips_hard_float] conditional. Include next <fenv_private.h>.
8142 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
8143 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8144 * sysdeps/powerpc/fpu/math_private.h: Do not include
8145 <fenv_private.h>.
8146 * sysdeps/riscv/rvf/math_private.h: Move to ....
8147 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
8148 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
8149 <fenv_private.h>.
8150 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
8151 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8152 * sysdeps/sparc/fpu/math_private.h: Remove.
8153 * sysdeps/i386/fpu/fenv_private.h: Move to ....
8154 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
8155 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
8156 <fenv_private.h>.
8157 * sysdeps/x86_64/fpu/math_private.h: Do not include
8158 <sysdeps/i386/fpu/fenv_private.h>.
8159
761404b7
FW
81602018-08-28 Florian Weimer <fweimer@redhat.com>
8161
8162 [BZ #23578]
8163 * posix/tst-regcomp-truncated.c: New file.
8164 * posix/Makefile (tests): Add it.
8165 (tst-regcomp-truncated.out): Depend on generated locales.
8166
d6c44c3d
FW
81672018-08-28 Florian Weimer <fweimer@redhat.com>
8168
8169 * support/test-container.c (main): Treat unshare failure with
8170 EPERM as an unsupported test.
8171
745664bd
FW
81722018-08-28 Florian Weimer <fweimer@redhat.com>
8173
8174 [BZ #23520]
8175 nscd: Fix use-after-free in addgetnetgrentX and its callers.
8176 * nscd/netgroupcache.c
8177 (addgetnetgrentX): Add tofreep parameter. Do not free
8178 heap-allocated buffer.
8179 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
8180 (addgetnetgrentX_ignore): New function.
8181 (addgetnetgrent): Call it.
8182 (readdgetnetgrent): Likewise.
8183
c8dd67e7
RS
81842018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8185
8186 * string/memmem.c: Use memcmp for first match.
8187
5abedf97
RL
81882018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
8189
8190 [BZ #17426]
8191 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
8192
86de0499
DD
81932018-08-27 DJ Delorie <dj@redhat.com>
8194
8195 * support/Makefile (others): Don't list programs explicitly as a
8196 dependency of "others".
8197
c3ab2110
JM
81982018-08-27 Joseph Myers <joseph@codesourcery.com>
8199
8200 * sysdeps/generic/math-tests-trap-force.h: New file.
8201 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
8202 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
8203 * sysdeps/powerpc/math-tests.h: Remove file.
8204 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
8205
99ea93ca
MK
82062018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
8207 Torvald Riegel <triegel@redhat.com>
8208
8209 [BZ #23538]
8210 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
8211 Update r to include the set wake-request flag if waiters are
8212 remaining after spinning.
8213
4061791f
JM
82142018-08-27 Joseph Myers <joseph@codesourcery.com>
8215
8216 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
8217
bc680b33
PE
82182018-08-25 Paul Eggert <eggert@cs.ucla.edu>
8219
761404b7 8220 [BZ #23578]
bc680b33
PE
8221 regex: fix uninitialized memory access
8222 I introduced this bug into gnulib in commit
8223 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
8224 eventually it was merged into glibc. The bug was found by
8225 project-repo <bugs@feusi.co> and reported here:
8226 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
8227 Diagnosis and draft fix reported by Assaf Gordon here:
8228 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
8229 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
8230 * posix/regex_internal.c (build_wcs_upper_buffer):
8231 Fix bug when mbrtowc returns 0.
8232
02458a52
CD
82332018-08-24 Carlos O'Donell <carlos@redhat.com>
8234
8235 * po/be.po: Update translation.
8236
acc2842a
DD
82372018-08-24 DJ Delorie <dj@delorie.com>
8238
8239 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
8240 $(libunwind).
8241
6c3a8a9d
PP
82422018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8243
8244 [BZ #23400]
8245 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
8246 create temporary files in source tree.
8247
895ef79e
JM
82482018-08-24 Joseph Myers <joseph@codesourcery.com>
8249
8250 * sysdeps/generic/math-tests-trap.h: New file.
8251 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
8252 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
8253 * sysdeps/aarch64/math-tests.h: Remove file.
8254 * sysdeps/arm/math-tests.h: Likewise.
8255 * sysdeps/riscv/math-tests.h: Likewise.
8256 * sysdeps/aarch64/math-tests-trap.h: New file.
8257 * sysdeps/arm/math-tests-trap.h: Likewise.
8258 * sysdeps/riscv/math-tests-trap.h: Likewise.
8259
ca3aac57
WD
82602018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8261
8262 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
8263 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
8264 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
8265 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
8266 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
8267 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
8268 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8269 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
8270 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
8271 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8272 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8273 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8274 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8275 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
8276 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
8277 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
8278 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8279 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8280
60bcac09
JM
82812018-08-23 Joseph Myers <joseph@codesourcery.com>
8282
8283 * sysdeps/generic/math-tests-exceptions.h: New file.
8284 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
8285 (EXCEPTION_TESTS_float): Do not define here.
8286 (EXCEPTION_TESTS_double): Likewise.
8287 (EXCEPTION_TESTS_long_double): Likewise.
8288 (EXCEPTION_TESTS_float128): Likewise.
8289 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
8290 Likewise.
8291 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
8292 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
8293 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
8294 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
8295 * sysdeps/mips/math-tests.h: Likewise.
8296 * sysdeps/nios2/math-tests.h: Likewise.
8297 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8298 (EXCEPTION_TESTS_float): Do not define here.
8299 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
8300 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
8301 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
8302
3bded567
WD
83032018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8304
8305 * NEWS: Move optimized sinf entry to 2.29.
8306
900fb446
WD
83072018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8308
8309 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
8310
561b0bec
DD
83112018-08-22 DJ Delorie <dj@redhat.com>
8312
8313 * Makefile (testroot.pristine): New rules to initialize the
8314 test-in-container "testroot".
8315 * Makerules (all-testsuite): Add tests-container.
8316 * Rules (tests-expected): Add tests-container.
8317 (binaries-all-tests): Likewise.
8318 (tests-container): New, run these tests in the testroot container.
8319 * support/Makefile (others): Add *-container, support_paths.c,
8320 xmkdirp, and links-dso-program.
8321 * support/links-dso-program-c.c: New.
8322 * support/links-dso-program.cc: New.
8323 * support/test-container.c: New.
8324 * support/shell-container.c: New.
8325 * support/echo-container.c: New.
8326 * support/true-container.c: New.
8327 * support/xmkdirp.c: New.
8328 * support/xsymlink.c: New.
8329 * support/support_paths.c: New.
8330 * support/support.h: Add support paths prototypes.
8331 * support/xunistd.h: Add xmkdirp () and xsymlink ().
8332
8333 * nss/tst-nss-test3.c: Convert to test-in-container.
8334 * nss/tst-nss-test3.root/: New.
8335
b35d3509
PE
83362018-08-22 Paul Eggert <eggert@cs.ucla.edu>
8337
8338 regex: port Gnulib code to z/OS POSIX environment
8339 Problem reported by Arnold Robbins in:
8340 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
8341 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
8342 Undef.
8343
16a25138
JM
83442018-08-22 Joseph Myers <joseph@codesourcery.com>
8345
debc4c98
JM
8346 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
8347 (ROUNDING_TESTS_double): Remove.
8348 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
8349 (ROUNDING_TESTS_double): Remove.
8350 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
8351 (ROUNDING_TESTS_double): Remove.
8352 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
8353 (ROUNDING_TESTS_float): Remove.
8354 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
8355 (ROUNDING_TESTS_float): Remove.
8356 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
8357 (ROUNDING_TESTS_float): Remove.
8358 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
8359 !TEST_MATHVEC here.
8360 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8361 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8362
16a25138
JM
8363 * sysdeps/generic/math-tests-rounding.h: New file.
8364 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
8365 (ROUNDING_TESTS_float): Do not define here.
8366 (ROUNDING_TESTS_double): Likewise.
8367 (ROUNDING_TESTS_long_double): Likewise.
8368 (ROUNDING_TESTS_float128): Likewise.
8369 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
8370 (ROUNDING_TESTS_double): Undefine before defining.
8371 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
8372 (ROUNDING_TESTS_double): Undefine before defining.
8373 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
8374 (ROUNDING_TESTS_double): Undefine before defining.
8375 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
8376 (ROUNDING_TESTS_float): Undefine before defining.
8377 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
8378 (ROUNDING_TESTS_float): Undefine before defining.
8379 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
8380 (ROUNDING_TESTS_float): Undefine before defining.
8381 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
8382 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
8383 not define here.
8384 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
8385 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
8386 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
8387 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8388 (ROUNDING_TESTS_float): Do not define here.
8389 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
8390 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
8391 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
8392 (ROUNDING_TESTS_float): Likewise.
8393 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
8394 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
8395 * sysdeps/mips/math-tests.h [__mips_soft_float]
8396 (ROUNDING_TESTS_float): Likewise.
8397 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
8398 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
8399 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8400 (ROUNDING_TESTS_double): Likewise.
8401 (ROUNDING_TESTS_long_double): Likewise.
8402
38b0593e
TK
84032018-08-21 Tobias Klauser <tklauser@distanz.ch>
8404
8405 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
8406 (PF_XDP): New macro.
8407 (AF_XDP): New macro.
8408 (SOL_XDP): New macro.
8409
5cd7dbde
JM
84102018-08-21 Joseph Myers <joseph@codesourcery.com>
8411
8412 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
8413 (TCP_INQ): Likewise.
8414 (TCP_CM_INQ): Likewise.
8415 (TCP_REPAIR_ON): Likewise.
8416 (TCP_REPAIR_OFF): Likewise.
8417 (TCP_REPAIR_OFF_NO_WP): Likewise.
8418 (struct tcp_zerocopy_receive): New type.
8419
aa42b3db
FW
84202018-08-21 Florian Weimer <fweimer@redhat.com>
8421
8422 * support/support.h (support_descriptor_supports_holes): Declare.
8423 * support/Makefile (libsupport-routines): Add
8424 support_descriptor_supports_holes.
8425 * support/support_descriptor_supports_holes.c: New file.
8426 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
8427 and stop testing if holes are not supported.
8428 * io/test-lfs.c (do_prepare): Likewise.
8429 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
8430 Likewise.
8431 * timezone/tst-tzset.c (create_tz_file): Likewise.
8432 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8433 variable.
8434 (do_prepare): Set it.
8435 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8436
c7627f41
FW
84372018-08-21 Florian Weimer <fweimer@redhat.com>
8438
8439 [BZ #17248]
8440 * Makeconfig (+cflags): Do not sort (and deduplicate).
8441
ef939d92
FW
84422018-08-21 Florian Weimer <fweimer@redhat.com>
8443
8444 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8445 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8446
88ffb39d
FW
84472018-08-20 Florian Weimer <fweimer@redhat.com>
8448
8449 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8450 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8451
17419540
JM
84522018-08-20 Joseph Myers <joseph@codesourcery.com>
8453
e6edd40d
JM
8454 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8455 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8456 and ssi_arch members.
8457
17419540
JM
8458 * elf/elf.c (NT_VMCOREDD): New macro.
8459 (AT_MINSIGSTKSZ): Likewise.
8460
fa78896b
RS
84612018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8462
8463 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8464 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8465 s_cosf-ppc64 and s_cosf-power8.
8466 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8467 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8468 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8469 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
8473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8476 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
8477 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8478
86a6c75a
FW
84792018-08-17 Florian Weimer <fweimer@redhat.com>
8480
8481 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8482
35cfefd9
FW
84832018-08-17 Istvan Kurucsai <pistukem@gmail.com>
8484
8485 * malloc/malloc.c (_int_malloc): Additional binning code checks.
8486
6413fcde
FW
84872018-08-16 Florian Weimer <fweimer@redhat.com>
8488
8489 * configure.ac: Add --with-nonshared-cflags option.
8490 * config.make.in (extra-nonshared-cflags): Set variable.
8491 * Makeconfig (CFLAGS-.oS): Use it.
8492 * manual/install.texi (Configuring and compiling): Document
8493 --with-nonshared-cflags.
8494 * configure: Regenerate.
8495 * INSTALL: Likewise.
8496
93a2584c
FW
84972018-08-16 Florian Weimer <fweimer@redhat.com>
8498
8499 * Makeconfig (ASFLAGS): Always append required assembler flags.
8500
f6f275d2 85012018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
8502
8503 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
8504 (malloc_consolidate): Likewise.
8505
30a17d8c
PC
85062018-08-16 Pochang Chen <johnchen902@gmail.com>
8507
8508 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
8509
953a5a4a
SP
85102018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8511
34f86d61
SP
8512 * benchtests/bench-strlen.c (do_test): Allocate buffers before
8513 every strlen call.
8514
953a5a4a
SP
8515 * benchtests/bench-strlen.c: Print performance numbers in json.
8516
7793ad7a
RS
85172018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8518
8519 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8520 (sysdep_routines): Build strcmp-power9 and strncmp-power9
8521 only for little endian.
8522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8523 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
8524 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
8525 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
8526 Add check for little endian.
8527 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8528 (__strcmp_power9): Add check for little endian.
8529 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
8530 Add check for little endian.
8531 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8532 (__strncmp_power9): Add check for little endian.
8533 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
8534 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
8535 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
8536 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
8537 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
8538
436e4d5b
SP
85392018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
8540
8541 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
8542 [!STRLEN](STRLEN): Set to __strlen.
8543 * sysdeps/aarch64/multiarch/strlen.c: New file.
8544 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
8545 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
8546 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8547 (__libc_ifunc_impl_list): Add strlen.
8548 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8549 strlen_generic and strlen_asimd.
8550
126c4e3f
WD
85512018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8552
8553 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
8554 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
8555 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8556
49acec17
WD
85572018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8558
8559 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
8560
fdb16de3
FW
85612018-08-14 Florian Weimer <fweimer@redhat.com>
8562
8563 [BZ #23519]
8564 * include/stdio.h (__vfxprintf): Declare.
8565 * stdio-common/fxprintf.c (__vfxprintf): New function.
8566 (__fxprintf): Call it.
8567 * misc/err.c (convert_and_print): Remove function.
8568 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
8569 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8570 * misc/Makefile (tests): Add tst-warn-wide.
8571 * misc/tst-warn-wide.c: New file.
8572
599cf397
WD
85732018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8574 Szabolcs Nagy <szabolcs.nagy@arm.com>
8575
8576 * NEWS: Mention sinf, cosf, sincosf.
8577 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8578 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8579 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8580 constants rather than including generic sincosf.h.
8581 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8582 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8583 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8584 (reduced_cos): Remove.
8585 (sinf_poly): New function.
8586 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8587
e95c6f61
FW
85882018-08-14 Florian Weimer <fweimer@redhat.com>
8589
8590 [BZ #23521]
8591 [BZ #23522]
8592 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8593 processing, bail out if no room, and close the stream before
8594 returning ERANGE.
8595 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8596 (tst-nss-files-alias-leak): Link with libdl.
8597 (tst-nss-files-alias-leak.out): Depend on nss_files.
8598
8599 * nss/tst-nss-files-alias-leak.c: New file.
8600
2d7acfac
FW
86012018-08-14 Florian Weimer <fweimer@redhat.com>
8602
8603 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8604 server_user, stat_user.
8605
f3cd0904
JM
86062018-08-13 Joseph Myers <joseph@codesourcery.com>
8607
17b26500
JM
8608 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8609 version to 4.18.
8610 (io_pgetevents): New syscall.
8611 (rseq): Likewise.
8612
3c1622eb
JM
8613 * manual/install.texi (Configuring and compiling): Do not list
8614 tools used for testing pretty printers here.
8615 (Tools for Compilation): List Python, PExpect and GDB here.
8616 Update descriptions of uses of Perl and Python.
8617 * INSTALL: Regenerate.
8618
f3cd0904
JM
8619 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8620 version to 4.18.
8621
b7b52b9d
FW
86222018-08-13 Florian Weimer <fweimer@redhat.com>
8623
8624 * misc/error.c (error): Add missing va_end call.
8625 (error_at_line): Likewise.
8626
01780188
FW
86272018-08-13 Florian Weimer <fweimer@redhat.com>
8628
8629 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8630
44727aec
SP
86312018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8632
8cac1f26
SP
8633 * benchtests/scripts/benchout.schema.json (properties): Add
8634 new properties.
8635
44727aec
SP
8636 * benchtests/bench-skeleton.c (main): Add duration and
8637 iterations attributes.
8638
c77bf91b
PE
86392018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8640
8641 regex: Gnulib unibyte RRI uses bytes not chars
8642 Adjust the non-glibc code to agree with what Gawk needs for
8643 rational range interpretation (RRI) for regular expression ranges.
8644 In unibyte locales, Gawk wants ranges to use the underlying byte
8645 rather than the character code point. This change does not affect
8646 glibc proper.
8647 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8648 In unibyte locales, use the byte value rather than
8649 running it through btowc.
8650
2ce7ba7d
JM
86512018-08-10 Joseph Myers <joseph@codesourcery.com>
8652
8653 * sysdeps/generic/math-tests-snan.h: New file.
8654 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8655 (SNAN_TESTS_float): Do not define here.
8656 (SNAN_TESTS_double): Likewise.
8657 (SNAN_TESTS_long_double): Likewise.
8658 (SNAN_TESTS_float128): Likewise.
8659 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8660 * sysdeps/i386/fpu/math-tests.h: Remove file.
8661 * sysdeps/ia64/math-tests-snan.h: New file.
8662 * sysdeps/ia64/math-tests.h: Remove file.
8663 * sysdeps/x86/math-tests.h: Likewise.
8664 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8665
ea5c662c
WD
86662018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8667 Szabolcs Nagy <szabolcs.nagy@arm.com>
8668
8669 * math/Makefile: Add s_sincosf_data.c.
8670 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8671 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8672 (sincosf_poly): Likewise.
8673 (reduce_small): Likewise.
8674 (reduce_large): Likewise.
8675 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8676 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8677 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8678 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
8679
43cfdf8f
SN
86802018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8681 Szabolcs Nagy <szabolcs.nagy@arm.com>
8682
8683 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
8684 (converttoint): Use lround.
8685 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
8686 document the semantics when TOINT_INTRINSICS is set.
8687 (converttoint): Likewise.
8688 (TOINT_RINT): Remove.
8689 (TOINT_SHIFT): Remove.
8690 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
8691 path.
8692
69065288
FW
86932018-08-10 Florian Weimer <fweimer@redhat.com>
8694
8695 [BZ #23497]
8696 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
8697 function.
8698 (__old_getdents64): Use getdents64. Convert entries without
8699 moving them.
8700 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
8701 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
8702 tst-readdir64-compat.
8703
8f135efc
IL
87042018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8705
8706 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
8707 Fix unwind.
8708
71c01af5
IL
87092018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8710
8711 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
8712 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
8713 code to s390x-mcount.h and #include it.
8714 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
8715 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8716 (__fentry__): Add.
8717
8d997d22
IL
87182018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8719
8720 * stdlib/Versions: Remove __fentry__.
8721 * sysdeps/i386/Versions: Add __fentry__.
8722 * sysdeps/x86_64/Versions: Add __fentry__.
8723
69e2444a
IL
87242018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8725
8726 * sysdeps/s390/Makefile: Register the new tests.
8727 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8728 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8729 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8730 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8731 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8732 * sysdeps/s390/tst-dl-runtime.c: New file.
8733
bde6320f
IL
87342018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8735
8736 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8737 Do not clobber R0.
8738
5755f5e4
IL
87392018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8740
8741 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8742 Do not clobber R0.
8743
c8ad8522
IL
87442018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8745
8746 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8747 Do not clobber R0.
8748
b215eee1
IL
87492018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8750
8751 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8752 Do not clobber R0.
8753
329c6fec
IL
87542018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8755
8756 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8757 Use symbolic offsets for stack variables.
8758
0fb7afa2
IL
87592018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8760
8761 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8762 Use symbolic offsets for stack variables.
8763
6954059a
IL
87642018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8765
8766 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8767 Use symbolic offsets for stack variables.
8768
c7099673
IL
87692018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8770
8771 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8772 Use symbolic offsets for stack variables.
8773
2813e41e
JM
87742018-08-09 Joseph Myers <joseph@codesourcery.com>
8775
8776 * math/gen-libm-test.py: New file.
8777 * math/gen-libm-test.pl: Remove.
8778 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8779 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8780 gen-libm-test.pl.
8781 ($(libm-test-c-noauto-obj)): Likewise.
8782 ($(libm-test-c-auto-obj)): Likewise.
8783 ($(libm-test-c-narrow-obj)): Likewise.
8784 (regen-ulps): Likewise.
8785 * math/README.libm-test: Update references to gen-libm-test.pl.
8786 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8787 referencing gen-libm-test.pl.
8788 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8789 * math/libm-test-support.c: Likewise.
8790 * math/libm-test-support.h: Likewise.
8791 * sysdeps/generic/libm-test-ulps: Likewise.
8792
be64b194
SP
87932018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8794
8795 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8796 Fix value.
8797
140137fb
JM
87982018-08-08 Joseph Myers <joseph@codesourcery.com>
8799
8800 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8801 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8802
b5403eca
ST
88032018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8804
8805 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8806 symbols.
8ac0f9e6
ST
8807 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8808 __pthread_setspecific): Add hidden proto.
8809 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8810 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 8811
014efdd7
SP
88122018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8813
8814 * benchtests/bench-string.h (buf1_size, buf2_size): New
8815 variables.
8816 (init_sizes): New function.
8817 (test_init): Use it.
8818 (alloc_buf, exit_error): New functions.
8819 (alloc_bufs): Use ALLOC_BUF.
8820 (realloc_bufs): Remove.
8821 * benchtests/bench-memcmp.c (do_test): Adjust.
8822 * benchtests/bench-memset-large.c (do_test): Likewise.
8823 * benchtests/bench-memset-walk.c (do_test): Likewise.
8824 * benchtests/bench-memset.c (do_test): Likewise.
8825 * benchtests/bench-strncmp.c (do_test): Likewise.
8826
92a4cba7
AS
88272018-08-06 Andreas Schwab <schwab@suse.de>
8828
8829 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8830 of CONST_THREAD_AREA.
8831
fb4c32ae
L
88322018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8833
8834 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8835 (STATE_SAVE_MASK): Likewise.
8836 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8837 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8838 (STATE_SAVE_MASK): Likewise.
8839 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8840 instead of <cpu-features.h>.
8841
bf418187
DD
88422018-08-03 DJ Delorie <dj@redhat.com>
8843
8844 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 8845 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 8846
bb17621a
DD
8847 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8848
ea705eb5
JM
88492018-08-03 Joseph Myers <joseph@codesourcery.com>
8850
8851 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8852 after TEST_* calls.
8853 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8854 * math/libm-test-logb.inc (logb_test_data): Likewise.
8855
284f42bc
WD
88562018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8857
8858 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8859 * string/strstr.c (AVAILABLE): Likewise.
8860
430388d5
L
88612018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8862
8863 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8864 <init-arch.h>.
8865 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8866 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8867 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8868
c5760aa9
CD
88692018-08-03 Carlos O'Donell <carlos@redhat.com>
8870
8871 * po/be.po: Update translation.
8872
6b535b84
CD
8873 * po/be.po: Update translation.
8874
ae67f2e5
L
88752018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8876
8877 * sysdeps/x86/cpu-features-offsets.sym
8878 (rtld_global_ro_offsetof): Removed.
8879 (CPU_FEATURES_SIZE): Likewise.
8880 (CPUID_OFFSET): Likewise.
8881 (CPUID_SIZE): Likewise.
8882 (CPUID_EAX_OFFSET): Likewise.
8883 (CPUID_EBX_OFFSET): Likewise.
8884 (CPUID_ECX_OFFSET): Likewise.
8885 (CPUID_EDX_OFFSET): Likewise.
8886 (FAMILY_OFFSET): Likewise.
8887 (MODEL_OFFSET): Likewise.
8888 (FEATURE_OFFSET): Likewise.
8889 (FEATURE_SIZ): Likewise.
8890 (COMMON_CPUID_INDEX_1): Likewise.
8891 (COMMON_CPUID_INDEX_7): Likewise.
8892 (FEATURE_INDEX_1): Likewise.
8893 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8894
cfb0ff93 88952018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
8896
8897 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8898 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8899 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8900 (install-locales): Depend on install-locale-archive.
8901 (install-locale-archive): Define.
7b7adbd8 8902 (install-locale-files): Define.
08a5ee14
CD
8903 (build-one-locale): Define macro.
8904 * manual/install.texi (Running make install): Document.
8905 * manual/INSTALL: Regenerate.
8906
525691bd
SP
89072018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8908
d67d634b
SP
8909 * benchtests/scripts/compare_strings.py: Import traceback.
8910 (parse_file): Pretty-print error.
8911
525691bd
SP
8912 * NEWS: Mention the change.
8913 * elf/dl-tunables.list: Rename tune namespace to cpu.
8914 * sysdeps/powerpc/dl-tunables.list: Likewise.
8915 * sysdeps/x86/dl-tunables.list: Likewise.
8916 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8917 cpu.name.
8918 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8919 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8920 * manual/README.tunables: Likewise.
8921 * manual/tunables.texi: Likewise.
8922 * sysdeps/powerpc/cpu-features.c: Likewise.
8923 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8924 (init_cpu_features): Likewise.
8925 * sysdeps/x86/cpu-features.c: Likewise.
8926 * sysdeps/x86/cpu-features.h: Likewise.
8927 * sysdeps/x86/cpu-tunables.c: Likewise.
8928 * sysdeps/x86_64/Makefile: Likewise.
8929 * sysdeps/x86/dl-cet.c: Likewise.
8930
506d7fb1
JM
89312018-08-02 Joseph Myers <joseph@codesourcery.com>
8932
8933 [BZ #23479]
8934 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8935 [__mips_hard_float].
8936 (FE_UNDERFLOW): Likewise.
8937 (FE_OVERFLOW): Likewise.
8938 (FE_DIVBYZERO): Likewise.
8939 (FE_INVALID): Likewise.
8940 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8941 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8942 (FE_UPWARD): Likewise.
8943 (FE_DOWNWARD): Likewise.
8944 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8945 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8946 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8947 [__mips_hard_float].
8948 (FP_ROUNDMODE): Likewise.
8949 (FP_RND_NEAREST): Likewise.
8950 (FP_RND_ZERO): Likewise.
8951 (FP_RND_PINF): Likewise.
8952 (FP_RND_MINF): Likewise.
8953 (FP_EX_INVALID): Likewise.
8954 (FP_EX_OVERFLOW): Likewise.
8955 (FP_EX_UNDERFLOW): Likewise.
8956 (FP_EX_DIVZERO): Likewise.
8957 (FP_EX_INEXACT): Likewise.
8958 (FP_INIT_ROUNDMODE): Likewise.
8959 * sysdeps/mips/nofpu/fesetenv.c: New file.
8960 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
8961
f6dcefbe
JM
89622018-08-01 Joseph Myers <joseph@codesourcery.com>
8963
8964 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
8965 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
8966 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
8967 conditional on [FE_UPWARD].
8968
fa67ba06
PE
89692018-08-01 Paul Eggert <eggert@cs.ucla.edu>
8970
8971 regex: fix memory leak in Gnulib
8972 Problem and fix reported by Assaf Gordon in:
8973 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
8974 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
8975 range_ends members too, as they are defined in 'struct
8976 re_charset_t' even if not _LIBC. This affects only Gnulib.
8977
82c80ac2
L
89782018-08-01 H.J. Lu <hongjiu.lu@intel.com>
8979
8980 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8981 ...
8982 (get_common_indices): This.
8983 (init_cpu_features): Updated.
8984
c0e7e2c1
JM
89852018-08-01 Joseph Myers <joseph@codesourcery.com>
8986
46f8cf57
JM
8987 * sysdeps/generic/math-tests-snan-payload.h: New file.
8988 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8989 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8990 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8991 * sysdeps/generic/math-tests.h: Include
8992 <math-tests-snan-payload.h>.
8993 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8994 * sysdeps/hppa/math-tests.h: Remove file.
8995 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8996 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8997 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8998 Likewise.
8999
c0e7e2c1
JM
9000 * sysdeps/generic/math-tests-snan-cast.h: New file.
9001 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
9002 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
9003 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
9004 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
9005
74939c83
CD
90062018-08-01 Carlos O'Donel <carlos@redhat.com>
9007
b029723b
CD
9008 * version.h (RELEASE): Set to "development".
9009 (VERSION): Set to "2.28.9000".
9010 * NEWS (2.29): New section.
9011
3c03baca
CD
9012 * version.h (RELEASE): Set to "stable".
9013 (VERSION): Set to "2.28".
9014 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
9015 * NEWS: Add the list of bugs fixed in 2.28.
9016
74939c83
CD
9017 * po/ca.po: Update to latest version.
9018 * po/cs.po: Likewise
9019 * po/da.po: Likewise
9020 * po/el.po: Likewise
9021 * po/eo.po: Likewise
9022 * po/es.po: Likewise
9023 * po/fi.po: Likewise
9024 * po/fr.po: Likewise
9025 * po/gl.po: Likewise
9026 * po/hu.po: Likewise
9027 * po/ia.po: Likewise
9028 * po/id.po: Likewise
9029 * po/it.po: Likewise
9030 * po/ja.po: Likewise
9031 * po/ko.po: Likewise
9032 * po/lt.po: Likewise
9033 * po/nb.po: Likewise
9034 * po/nl.po: Likewise
9035 * po/pt_BR.po: Likewise
9036 * po/ru.po: Likewise
9037 * po/rw.po: Likewise
9038 * po/sk.po: Likewise
9039 * po/sl.po: Likewise
9040 * po/tr.po: Likewise
9041 * po/zh_CN.po: Likewise
9042 * po/zh_TW.po: Likewise
9043
d4b54bdf
ST
90442018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9045
9046 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
9047 initialization...
9048 (init): ... before initializing libpthread.
9049
42fc12ef
ST
9050 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
9051 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
9052 (__mach_setup_tls): ... new function.
9053 (mach_setup_tls): New alias.
9054 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
9055 __mach_setup_thread.
9056 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
9057 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
9058 * mach/Versions [libc] (mach_setup_tls): Add symbol.
9059 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
9060
6cca855e
CD
90612018-07-31 Carlos O'Donell <carlos@redhat.com>
9062
f650932b
CD
9063 * manual/install.texi: Update versions.
9064 * INSTALL: Regenerate.
9065
6cca855e
CD
9066 * manual/contrib.texi (Contributors): Update contributions.
9067
07fdea47
CD
90682018-07-31 Carlos O'Donell <carlos@redhat.com>
9069
9070 * po/be.po: Update translations.
9071
63d5fad4
AZ
90722018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9073
9074 * sysdeps/sh/libm-test-ulps: Update.
9075
1ff712a6
CD
90762018-07-30 Carlos O'Donell <carlos@redhat.com>
9077
9078 * po/bg.po: Update translations.
9079 * po/de.po: Likewise.
9080 * po/hr.po: Likewise.
9081 * po/pt_BR.po: Likewise.
9082 * po/sv.po: Likewise.
9083 * po/vi.po: Likewise.
9084
98864ed0
L
90852018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9086
9087 [BZ #23467]
9088 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9089 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
9090 (CFLAGS-tst-cet-property-1.o): New.
9091 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
9092 ($(objpfx)tst-cet-property-2): Likewise.
9093 ($(objpfx)tst-cet-property-2.out): Likewise.
9094 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
9095 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
9096 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
9097 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
9098 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
9099
c92a00d8
L
91002018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9101
9102 [BZ #23458]
9103 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
9104
99bc6241
ST
91052018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9106
9107 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
9108 __sbrk): Do not set attribute_hidden.
af86087f 9109 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
9110 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9111 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
9112
bcb1c4af
CD
91132018-07-27 Carlos O'Donell <carlos@redhat.com>
9114
9115 * po/uk.po: Update translations.
9116 * po/cs.po: Likewise.
9117 * po/pl.po: Likewise.
9118
4591b7db
L
91192018-07-27 H.J. Lu <hongjiu.lu@intel.com>
9120
9121 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
9122 parse beyond the note end.
9123
2c6da2f4
AZ
91242018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9125
9126 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
9127 kernel does not support OFD locks.
9128 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
9129
20365a31
ST
91302018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9131
9132 * sysdeps/mach/hurd/Versions (libc): Make __access and
9133 __access_noerrno external so they can override the ld symbols.
9134 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
9135 __writev, __open64, __access_noerrno extern so they can be overrided.
9136 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
9137 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9138
cb1a43db
CD
91392018-07-26 Carlos O'Donell <carlos@redhat.com>
9140
9141 * po/libc.pot: Regenerate.
9142
74759ae5
JM
91432018-07-26 Joseph Myers <joseph@codesourcery.com>
9144
9145 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
9146
da80612d
L
91472018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9148
9149 [BZ #23459]
9150 * sysdeps/x86/cpu-features.c (get_extended_indices): New
9151 function.
9152 (init_cpu_features): Call get_extended_indices for both Intel
9153 and AMD CPUs.
9154 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
9155 Remove "for AMD" comment.
9156
65d87ade
L
91572018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9158
9159 [BZ # 23456]
9160 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
9161 COMMON_CPUID_INDEX_80000001.
9162
c9dc4d51
SL
91632018-07-26 Stefan Liebler <stli@linux.ibm.com>
9164
9165 * string/tst-xbzero-opt.c (use_test_buffer): New function.
9166 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
9167
cfba5dbb
FW
91682018-07-26 Florian Weimer <fweimer@redhat.com>
9169
9170 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
9171 aliases for symbols not in the implementation namespace.
9172
7cd7d36f
CD
91732018-07-25 Carlos O'Donell <carlos@redhat.com>
9174
9175 [BZ #23393]
9176 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
9177 lowercase in LATIN script.
9178 * localedata/Makefile (test-input): Add en_US.UTF-8.
9179 * localedata/en_US.UTF-8.in: New file.
9180 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
9181 and restore old tests.
9182 * posix/tst-regexloc.c (do_test): Add back range expression test.
9183
3fb455b3
L
91842018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9185
9186 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
9187
d6499b70
AZ
91882018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9189
9190 * nptl/threads.h: Move to ...
9191 * sysdeps/nptl/threads.h: ... here.
9192 * sysdeps/hurd/stdc-predef.h: New file.
9193
08ac6bed
L
91942018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9195
9196 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9197 tst-cet-setcontext-1 if CET is enabled.
9198 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
9199 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
9200
9faaf938
AZ
92012018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9202
9203 * include/threads.h: Move to ...
9204 * sysdeps/nptl/threads.h: ... here.
9205 * sysdeps/htl/threads.h: New file.
9206 * conform/Makefile (linknamespace-libs-ISO11): Use
9207 static-thread-library instead of linking libpthread.
9208 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
9209
d6b8f847
FW
92102018-07-25 Florian Weimer <fweimer@redhat.com>
9211
9212 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
9213 nanoseconds into seconds.
9214 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
9215 (do_test): Likewise.
9216 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
9217 (do_test): Likewise. Avoid nanosecond overflow and spurious
9218 timeouts due to system load.
9219 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
9220 (child_wait): Increment it.
9221 (do_test): Wait as long as necessary until all expected threads
9222 have arrived.
9223
25123a1c
L
92242018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
9225 H.J. Lu <hongjiu.lu@intel.com>
9226
9227 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
9228 __ssp.
9229 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
9230 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
9231 (__push___start_context): New.
9232 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
9233 <asm/prctl.h>.
9234 (__getcontext): Record the current shadow stack base. Save the
9235 caller's shadow stack pointer and base.
9236 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
9237 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
9238 (__push___start_context): New prototype.
9239 (__makecontext): Call __push___start_context to allocate a new
9240 shadow stack, push __start_context onto the new stack as well
9241 as the new shadow stack.
9242 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
9243 <asm/prctl.h>.
9244 (__setcontext): Restore the target shadow stack.
9245 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
9246 <asm/prctl.h>.
9247 (__swapcontext): Record the current shadow stack base. Save
9248 the caller's shadow stack pointer and base. Restore the target
9249 shadow stack.
9250 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9251 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
9252 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
9253
375a4844
L
92542018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9255
9256 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
9257 tst-setcontext8 and tst-setcontext9.
9258 * stdlib/tst-setcontext6.c: New file.
9259 * stdlib/tst-setcontext7.c: Likewise.
9260 * stdlib/tst-setcontext8.c: Likewise.
9261 * stdlib/tst-setcontext9.c: Likewise.
9262
bd4f7903
L
92632018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9264
9265 * stdlib/Makefile ((tests): Add tst-setcontext5.
9266 * stdlib/tst-setcontext5.c: New file.
9267
7e28f203
L
92682018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9269
9270 * stdlib/Makefile (tests): Add tst-setcontext4.
9271 * stdlib/tst-setcontext4.c: New file.
9272
8516ad2d
L
92732018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9274
9275 * stdlib/Makefile (tests): Add tst-swapcontext1.
9276 * stdlib/tst-swapcontext1.c: New test.
9277
fddcd003
L
92782018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9279
9280 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
9281 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
9282 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
9283 and tst-cet-legacy-4c.
9284 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
9285 and tst-cet-legacy-mod-4.
9286 (CFLAGS-tst-cet-legacy-2.c): New.
9287 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
9288 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
9289 (CFLAGS-tst-cet-legacy-3.c): Likewise.
9290 (CFLAGS-tst-cet-legacy-4.c): Likewise.
9291 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
9292 ($(objpfx)tst-cet-legacy-1): Likewise.
9293 ($(objpfx)tst-cet-legacy-2): Likewise.
9294 ($(objpfx)tst-cet-legacy-2.out): Likewise.
9295 ($(objpfx)tst-cet-legacy-2a): Likewise.
9296 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
9297 ($(objpfx)tst-cet-legacy-4): Likewise.
9298 ($(objpfx)tst-cet-legacy-4.out): Likewise.
9299 ($(objpfx)tst-cet-legacy-4a): Likewise.
9300 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
9301 (tst-cet-legacy-4a-ENV): Likewise.
9302 ($(objpfx)tst-cet-legacy-4b): Likewise.
9303 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
9304 (tst-cet-legacy-4b-ENV): Likewise.
9305 ($(objpfx)tst-cet-legacy-4c): Likewise.
9306 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
9307 (tst-cet-legacy-4c-ENV): Likewise.
9308 * sysdeps/x86/tst-cet-legacy-1.c: New file.
9309 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
9310 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
9311 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
9312 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
9313 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
9314 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
9315 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
9316 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
9317 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
9318 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
9319
9aa3113a
L
93202018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9321
9322 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9323 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9324 with ssp_base.
9325 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9326 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9327 with ssp_base.
9328
9c79cec8
AS
93292018-07-25 Andreas Schwab <schwab@suse.de>
9330
9331 [BZ #23442]
9332 * locale/weightwc.h (findidx): Handle the case where usrc is a
9333 prefix of cp but one character too short.
9334
969c3355
AZ
93352018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9336
9337 * NEWS: Add ISO C threads addition.
9338
e0f9c462
FW
93392018-07-24 Florian Weimer <fweimer@redhat.com>
9340
9341 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9342 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
9343 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
9344 4.13.
9345
394df381
L
93462018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9347
9348 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
9349 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
9350 <sys/prctl.h> and <asm/prctl.h>.
9351 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
9352 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
9353 and <asm/prctl.h>.
9354 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
9355 ARCH_CET_LEGACY_BITMAP.
9356 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
9357 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
9358 * sysdeps/x86/libc-start.c: Include <startup.h>.
9359
46545530
FW
93602018-07-24 Florian Weimer <fweimer@redhat.com>
9361
9362 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
9363 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
9364
9d0a979e
RJ
93652018-07-24 Rical Jasan <rj@2c3t.io>
9366 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
9367 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9368
9369 [BZ #14092]
9d0a979e
RJ
9370 * manual/debug.texi: Update adjacent chapter name.
9371 * manual/probes.texi: Likewise.
9372 * manual/threads.texi (ISO C Threads): New section.
9373 (POSIX Threads): Convert to a section.
9374
93752018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9376 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9377
9378 [BZ# 14092]
0a07288b
AZ
9379 * nptl/Makefile (tests): Add new test files.
9380 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
9381 * nptl/tst-cnd-basic.c: Likewise.
9382 * nptl/tst-cnd-broadcast.c: Likewise.
9383 * nptl/tst-cnd-timedwait.c: Likewise.
9384 * nptl/tst-mtx-basic.c: Likewise.
9385 * nptl/tst-mtx-recursive.c: Likewise.
9386 * nptl/tst-mtx-timedlock.c: Likewise.
9387 * nptl/tst-mtx-trylock.c: Likewise.
9388 * nptl/tst-thrd-basic.c: Likewise.
9389 * nptl/tst-thrd-detach.c: Likewise.
9390 * nptl/tst-thrd-sleep.c: Likewise.
9391 * nptl/tst-tss-basic.c: Likewise.
9392
ce7528f6
AZ
93932018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9394
c6dd669b
AZ
9395 [BZ #14092]
9396 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9397 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
9398 symbols.
9399 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9400 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9401 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9402 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9403 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9404 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9405 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9406 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9407 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9408 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9409 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9410 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9412 Likewise.
9413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9414 Likewise.
9415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9416 Likewise.
9417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9418 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9419 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9420 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9421 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9422 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9423 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9424 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9425 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9426 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
9427 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
9428 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
9429 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
9430 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9431 Likewise.
9432 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9433 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9434 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9435 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9436 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9437 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9438 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9439 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9440 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9441 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9442 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9443 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9444 ikewise.
9445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9447 Likewise.
9448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9449 Likewise.
9450 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9451 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9452 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9453 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9454 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9455 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9456 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9457 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9458
78d40132
AZ
9459 [BZ #14092]
9460 * conform/data/threads.h-data (thread_local): New macro.
9461 (TSS_DTOR_ITERATIONS): Likewise.
9462 (tss_t): New type.
9463 (tss_dtor_t): Likewise.
9464 (tss_create): New function.
9465 (tss_get): Likewise.
9466 (tss_set): Likewise.
9467 (tss_delete): Likewise.
9468 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9469 tss_get, and tss_set objects.
9470 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9471 * nptl/tss_create.c: New file.
9472 * nptl/tss_delete.c: Likewise.
9473 * nptl/tss_get.c: Likewise.
9474 * nptl/tss_set.c: Likewise.
9475 * sysdeps/nptl/threads.h (thread_local): New define.
9476 (TSS_DTOR_ITERATIONS): Likewise.
9477 (tss_t): New typedef.
9478 (tss_dtor_t): Likewise.
9479 (tss_create): New prototype.
9480 (tss_get): Likewise.
9481 (tss_set): Likewise.
9482 (tss_delete): Likewise.
9483
918311a3
AZ
9484 [BZ #14092]
9485 * conform/data/threads.h-data (cnd_t): New type.
9486 (cnd_init): New function.
9487 (cnd_signal): Likewise.
9488 (cnd_broadcast): Likewise.
9489 (cnd_wait): Likewise.
9490 (cnd_timedwait): Likewise.
9491 (cnd_destroy): Likewise.
9492 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
9493 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
9494 object.
9495 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9496 * nptl/cnd_broadcast.c: New file.
9497 * nptl/cnd_destroy.c: Likewise.
9498 * nptl/cnd_init.c: Likewise.
9499 * nptl/cnd_signal.c: Likewise.
9500 * nptl/cnd_timedwait.c: Likewise.
9501 * nptl/cnd_wait.c: Likewise.
9502 * sysdeps/nptl/threads.h (cnd_t): New type.
9503 (cnd_init): New prototype.
9504 (cnd_signa): Likewise.
9505 (cnd_broadcast): Likewise.
9506 (cnd_wait): Likewise.
9507 (cnd_timedwait): Likewise.
9508 (cnd_destroy): Likewise.
9509
3c20a679
AZ
9510 [BZ #14092]
9511 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
9512 (once_flag): New type.
9513 (call_once): New function.
9514 * nptl/Makefile (libpthread-routines): Add call_once object.
9515 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
9516 * nptl/call_once.c: New file.
9517 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
9518 (once_flag): New type.
9519 (call_once): New prototype.
9520
18d59c1b
AZ
9521 [BZ #14092]
9522 * conform/data/threads.h-data (mtx_plain): New constant.
9523 (mtx_recursive): Likewise.
9524 (mtx_timed): Likewise.
9525 (mtx_t): New type.
9526 (mtx_init): New function.
9527 (mtx_lock): Likewise.
9528 (mtx_timedlock): Likewise.
9529 (mtx_trylock): Likewise.
9530 (mtx_unlock): Likewise.
9531 (mtx_destroy): Likewise.
9532 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
9533 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
9534 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
9535 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
9536 * nptl/mtx_destroy.c: New file.
9537 * nptl/mtx_init.c: Likewise.
9538 * nptl/mtx_lock.c: Likewise.
9539 * nptl/mtx_timedlock.c: Likewise.
9540 * nptl/mtx_trylock.c: Likewise.
9541 * nptl/mtx_unlock.c: Likewise.
9542 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
9543 (mtx_recursive): Likewise.
9544 (mtx_timed): Likewise.
9545 (mtx_t): New type.
9546 (mtx_init): New prototype.
9547 (mtx_lock): Likewise.
9548 (mtx_timedlock): Likewise.
9549 (mtx_trylock): Likewise.
9550 (mtx_unlock): Likewise.
9551 (mtx_destroy): Likewise.
9552
ce7528f6
AZ
9553 [BZ #14092]
9554 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
9555 (linknamespace-libs-ISO11): Add libpthread.a.
9556 * conform/data/threads.h-data: New file: add C11 thrd_* types and
9557 functions.
9558 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
9559 * nptl/Makefile (headers): Add threads.h.
9560 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
9561 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
9562 thrd_yield.
9563 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
9564 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
9565 thrd_join, thrd_sleep, and thrd_yield symbols.
9566 * nptl/descr.h (struct pthread): Add c11 field.
9567 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
9568 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
9569 routine with expected function prototype.
9570 (__pthread_create_2_1): Add C11 threads check based on attribute
9571 value.
9572 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9573 * nptl/thrd_create.c: New file.
9574 * nptl/thrd_current.c: Likewise.
9575 * nptl/thrd_detach.c: Likewise.
9576 * nptl/thrd_equal.c: Likewise.
9577 * nptl/thrd_exit.c: Likewise.
9578 * nptl/thrd_join.c: Likewise.
9579 * nptl/thrd_priv.h: Likewise.
9580 * nptl/thrd_sleep.c: Likewise.
9581 * nptl/thrd_yield.c: Likewise.
9582 * include/threads.h: Likewise.
9583
e27f41ba
L
95842018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9585
9586 * bits/indirect-return.h: New file.
9587 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9588 * sysdeps/x86/bits/indirect-return.h: Likewise.
9589 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9590 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9591 (swapcontext): Add __INDIRECT_RETURN.
9592 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9593 (prepare_test_buffer): Use it.
9594
21526a50
AS
95952018-07-24 Andreas Schwab <schwab@suse.de>
9596
9597 [BZ #23448]
9598 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9599 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9600
3650e1d9
L
96012018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9602
9603 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9604 Redefine if shadow stack is enabled.
9605 (SYSCALL_ERROR_LABEL): Likewise.
9606 (__vfork): Pop shadow stack and jump back to to caller directly
9607 when shadow stack is in use.
9608 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9609 Redefine if shadow stack is enabled.
9610 (SYSCALL_ERROR_LABEL): Likewise.
9611 (__vfork): Pop shadow stack and jump back to to caller directly
9612 when shadow stack is in use.
9613
ca027e0f
L
96142018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9615
9616 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9617 enabled.
9618 (foo): Likewise.
9619 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9620 (foo): Likewise.
9621
b99f1c95
JM
96222018-07-20 Joseph Myers <joseph@codesourcery.com>
9623
9624 * scripts/build-many-glibcs.py (Context.checkout): Default
9625 binutils version to 2.31 branch.
9626
c8fabb84
ZL
96272018-07-20 Zong Li <zong@andestech.com>
9628
9629 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9630 URL of gcc's tarball.
9631
786658a0
FW
96322018-07-20 Florian Weimer <fweimer@redhat.com>
9633
9634 [BZ #23396]
9635 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9636 not compare an extra byte after the end of the weights.
9637
46f2474e
ST
96382018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9639
9640 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9641 to 1.
8ba1520e
ST
9642 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9643 hidden prototypes.
9644 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9645 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
9646 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9647 list of libraries whose stack executability is expected.
9648 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9649 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9650 variable.
9651 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9652 libc.so libpthread.so.
46f2474e 9653
60088242
TS
96542018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9655
9656 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9657 SOCK_NONBLOCK.
75d5e4a0
TS
9658 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9659 and SOCK_NONBLOCK.
de195be0
TS
9660 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9661 implement __pipe2.
9662 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 9663
1cf4ae7f
LS
96642018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9665
9666 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9667 library to improve command line parsing.
9668 (__main__): make schema file as optional parameter (--schema),
9669 defaulting to benchtests/scripts/benchout.schema.json.
9670 (main): move out of the parsing stuff to __main_  and leave it
9671 only as caller of main comparison functions.
9672
e84bd851
L
96732018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9674
9675 * NEWS: Add a note for Intel CET status.
9676 * manual/install.texi: Likewise.
9677 * INSTALL: Regenerated.
9678
df467d22
QP
96792018-07-18 Quentin PAGÈS <provaires@quentino.fr>
9680
9681 [BZ #23140]
9682 * localedata/locales/oc_FR (mon): Rename to...
9683 (alt_mon): This, then update October (typo fix).
9684 (mon): New content (genitive case, month names preceded by
9685 "de" or "d’").
9686
9687 [BZ #23422]
9688 * localedata/locales/oc_FR (abday): Update all items.
9689 (day): Update Wednesday and Saturday (typo fixes).
9690 (abmon): Update all items, except May.
9691 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
9692 (LC_IDENTIFICATION): Bump the revision number and date.
9693 Keep the "category" entries in alphabetic order.
9694 (LC_ADDRESS): Remove no longer needed comment.
9695 (LC_COLLATE): Use “copy "ca_ES"”.
9696 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
9697 "name_mrs".
9698
5c112f1b
JM
96992018-07-18 Joseph Myers <joseph@codesourcery.com>
9700
9701 * grp/tst_fgetgrent.c: Include <unistd.h>.
9702 (main): Use mkstemp instead of tmpnam.
9703 * io/test-utime.c (main): Likewise.
9704 * posix/annexc.c (macrofile): Change to modifiable array.
9705 (main): Remove macrofile here.
9706 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9707 macrofile here.
9708 (check_header): Do not remove macrofile here.
9709 * posix/bug-getopt1.c: Include <stdlib.h>.
9710 (do_test): Use mkstemp instead of tmpnam.
9711 * posix/bug-getopt2.c: Include <stdlib.h>.
9712 (do_test): Use mkstemp instead of tmpnam.
9713 * posix/bug-getopt3.c: Include <stdlib.h>.
9714 (do_test): Use mkstemp instead of tmpnam.
9715 * posix/bug-getopt4.c: Include <stdlib.h>.
9716 (do_test): Use mkstemp instead of tmpnam.
9717 * posix/bug-getopt5.c: Include <stdlib.h>.
9718 (do_test): Use mkstemp instead of tmpnam.
9719 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9720 (main): Use mkstemp instead of tmpnam.
9721 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9722 (main): Use mkstemp instead of tmpnam.
9723 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9724 (main): use mkstemp instead of tmpnam.
9725 * stdlib/isomac.c (macrofile): Change to modifiable array.
9726 (main): Remove macrofile here.
9727 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9728 macrofile here.
9729 (check_header): Do not remove macrofile here.
9730
6d90776d
L
97312018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9732
9733 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9734 glibc.tune.x86_shstk.
9735
e6c69509
L
97362018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9737
9738 * NEWS: Mention --enable-cet.
9739 * manual/install.texi: Document --enable-cet.
9740 * INSTALL: Regenerated.
9741
e2d40a88
L
97422018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9743
9744 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9745 Add _CET_NOTRACK before indirect jump to jump table.
9746
77a8ae09
L
97472018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9748
9749 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9750 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9751 to jump table.
9752
90d15dc5
L
97532018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9754
9755 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9756 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9757 to jump table.
9758
f1574581
L
97592018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9760
9761 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9762 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9763 to jump table.
9764
7fb61336
L
97652018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9766
9767 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9768 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9769 to jump table.
9770
0a899af0
L
97712018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9772
9773 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9774 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9775 to jump table.
9776 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9777
177824e2
L
97782018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9779
9780 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9781 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9782 to jump table.
9783
00e7b76a
L
97842018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9785
9786 * sysdeps/i386/i686/multiarch/memset-sse2.S
9787 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9788 to jump table.
9789
7e119cd5
L
97902018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9791
9792 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9793 indirect jump to jump table.
9794
03aaf49b
L
97952018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9796
9797 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9798 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9799 to jump table.
9800 (MEMCPY): Likewise.
9801
811e9e52
L
98022018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9803
9804 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9805 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9806 to jump table.
9807 (MEMCPY): Likewise.
9808
8817df42
L
98092018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9810
9811 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9812 _CET_NOTRACK before indirect jump to jump table.
9813
921595d1
L
98142018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9815
9816 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9817 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9818 to jump table.
9819
4ef60d95
L
98202018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9821
9822 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9823 indirect jump to jump table.
9824
61c4aad7
VT
98252018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9826
9827 [BZ #22241]
9828 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9829 (LOCALES): Likewise.
9830 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9831 * localedata/locales/sah_RU: New file.
9832 * localedata/sah_RU.UTF-8.in: New file.
9833
be9ccd27
L
98342018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9835
9836 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9837 "sysdep.h".
9838 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9839 _CET_ENDBR to indirect jump targets and adjust jump destination
9840 for _CET_ENDBR.
9841 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9842 "sysdep.h".
9843 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9844 _CET_ENDBR to indirect jump targets and adjust jump destination
9845 for _CET_ENDBR.
9846 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9847 "sysdep.h".
9848 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9849 _CET_ENDBR to indirect jump targets and adjust jump destination
9850 for _CET_ENDBR.
9851
5efc6777
L
98522018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9853
9854 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9855 _CET_ENDBR.
9856
562837c0
L
98572018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9858
9859 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9860 _CET_ENDBR.
9861 (_dl_tlsdesc_undefweak): Likewise.
9862 (_dl_tlsdesc_dynamic): Likewise.
9863 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9864 (_dl_tlsdesc_resolve_rel): Likewise.
9865 (_dl_tlsdesc_resolve_rela): Likewise.
9866 (_dl_tlsdesc_resolve_hold): Likewise.
9867 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9868 (_dl_tlsdesc_undefweak): Likewise.
9869 (_dl_tlsdesc_dynamic): Likewise.
9870 (_dl_tlsdesc_resolve_rela): Likewise.
9871 (_dl_tlsdesc_resolve_hold): Likewise.
9872
124bcde6
L
98732018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9874
9875 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9876 (_fini): Likewise.
9877 * sysdeps/x86_64/crti.S (_init): Likewise.
9878 (_fini): Likewise.
9879
9145f033
RL
98802018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9881
9882 [BZ #23140]
9883 * localedata/locales/os_RU (mon): Rename to...
9884 (alt_mon): This.
9885 (mon): Import from CLDR (genitive case).
9886
ba2ea23d
L
98872018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9888
9889 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9890 cet-tunables.h> when CET is enabled.
9891
f753fa7d
L
98922018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9893
9894 [BZ #21598]
9895 * configure.ac: Add --enable-cet.
9896 * configure: Regenerated.
9897 * elf/Makefille (all-built-dso): Add a comment.
9898 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9899 Include <dl-prop.h>.
9900 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9901 segment.
9902 * elf/dl-open.c: Include <dl-prop.h>.
9903 (dl_open_worker): Call _dl_open_check.
9904 * elf/rtld.c: Include <dl-prop.h>.
9905 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9906 _rtld_main_check.
9907 * sysdeps/generic/dl-prop.h: New file.
9908 * sysdeps/i386/dl-cet.c: Likewise.
9909 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9910 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9911 * sysdeps/x86/cet-tunables.h: Likewise.
9912 * sysdeps/x86/check-cet.awk: Likewise.
9913 * sysdeps/x86/configure: Likewise.
9914 * sysdeps/x86/configure.ac: Likewise.
9915 * sysdeps/x86/dl-cet.c: Likewise.
9916 * sysdeps/x86/dl-procruntime.c: Likewise.
9917 * sysdeps/x86/dl-prop.h: Likewise.
9918 * sysdeps/x86/libc-start.h: Likewise.
9919 * sysdeps/x86/link_map.h: Likewise.
9920 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9921 _CET_ENDBR.
9922 (_dl_runtime_profile): Likewise.
9923 (_dl_runtime_resolve_shstk): New.
9924 (_dl_runtime_profile_shstk): Likewise.
9925 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9926 if CET is enabled.
9927 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9928 (CFLAGS-.os): Likewise.
9929 (CFLAGS-.op): Likewise.
9930 (CFLAGS-.oS): Likewise.
9931 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9932 is enabled.
9933 (tests-special): Add $(objpfx)check-cet.out.
9934 (cet-built-dso): New.
9935 (+$(cet-built-dso:=.note)): Likewise.
9936 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9937 ($(objpfx)check-cet.out): New.
9938 (generated): Add check-cet.out.
9939 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9940 <cet-tunables.h>.
9941 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9942 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9943 (init_cpu_features): Call get_cet_status to check CET status
9944 and update dl_x86_feature_1 with CET status. Call
9945 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9946 (set_x86_shstk). Disable and lock CET in libc.a.
9947 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9948 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
9949 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9950 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
9951 (_CET_ENDBR): Define if not defined.
9952 (ENTRY): Add _CET_ENDBR.
9953 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
9954 x86_shstk.
9955 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
9956 _CET_ENDBR.
9957 (_dl_runtime_profile): Likewise.
9958
52b2a80f
RA
99592018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
9960
9961 [BZ #21895]
9962 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
9963 restore r2 on longjmp.
9964 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
9965 test list.
9966 Added rules to build test tst-setjmp-bug21895-static.
9967 Added module setjmp-bug21895 and rules to build a shared object from it.
9968 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
9969 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
9970
3ae725df
WD
99712018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
9972
9973 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
9974 * benchtests/bench-strstr.c: Likewise.
9975 * string/memmem.c (FASTSEARCH): Define.
9976 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
9977 Add support for FASTSEARCH.
9978 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
9979 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
9980 (FASTSEARCH): Define.
9981 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9982 * string/test-strstr.c: Likewise.
9983
31e422ca
L
99842018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9985
9986 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9987 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9988
faaee1f0
L
99892018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9990 H.J. Lu <hongjiu.lu@intel.com>
9991
9992 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9993 (__longjmp): Restore shadow stack pointer if shadow stack is
9994 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9995 isn't defined for __longjmp_cancel.
9996 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9997 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9998 and SHADOW_STACK_POINTER_OFFSET is defined.
9999 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
10000 (setjmp): Save shadow stack pointer if shadow stack is enabled
10001 and SHADOW_STACK_POINTER_OFFSET is defined.
10002 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
10003 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10004 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10005 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
10006 <jmp_buf-ssp.h>.
10007 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10008 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10009 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
10010 Remove jmp_buf-ssp.sym.
10011 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10012 <jmp_buf-ssp.h>.
10013 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10014 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10015 * sysdeps/x86/Makefile (gen-as-const-headers): Add
10016 jmp_buf-ssp.sym.
10017 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
10018 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
10019 (__longjmp): Restore shadow stack pointer if shadow stack is
10020 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10021 isn't defined for __longjmp_cancel.
10022 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
10023 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10024 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10025
ebff9c5c
L
100262018-07-14 H.J. Lu <hongjiu.lu@intel.com>
10027
10028 [BZ #22563]
10029 * nptl/pthread_create.c: Include <tls-setup.h>.
10030 (__pthread_create_2_1): Call tls_setup_tcbhead.
10031 * sysdeps/generic/tls-setup.h: New file.
10032 * sysdeps/x86/nptl/tls-setup.h: Likewise.
10033 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
10034 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
10035 Likewise.
10036 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
10037 to feature_1.
10038 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10039 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
10040 (X86_FEATURE_1_SHSTK): Likewise.
10041 (CET_ENABLED): Likewise.
10042 (IBT_ENABLED): Likewise.
10043 (SHSTK_ENABLED): Likewise.
10044
0a83bad2
RL
100452018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
10046
10047 [BZ #23208]
10048 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
10049 (LOCALES): Likewise.
10050 * localedata/dsb_DE.UTF-8.in: New file.
10051 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
10052
046bfed9
FW
100532018-07-12 Florian Weimer <fweimer@redhat.com>
10054
10055 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
10056 __mprotect, not mprotect.
10057
93304f5f
FW
100582018-07-11 Florian Weimer <fweimer@redhat.com>
10059
10060 * io/Makefile (headers): Add bits/statx.h.
10061
4beefeeb
MF
100622018-07-10 Mike FABIAN <mfabian@redhat.com>
10063
10064 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
10065 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
10066 and headers.
10067 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
10068 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
10069 for utf8_gen.py
10070
fd70af45
FW
100712018-07-10 Florian Weimer <fweimer@redhat.com>
10072
10073 * io/Makefile (routines): Add statx.
10074 (tests-internal): Add tst-statx.
10075 * io/Versions (GLIBC_2.28): Export statx.
10076 * io/bits/statx.h: New file.
10077 * io/sys/stat.h [__USE_GNU]: Include it.
10078 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
10079 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
10080 Define.
10081 * io/statx.c: New file.
10082 * io/statx_generic.: Likewise.
10083 * io/tst-statx.: Likewise.
10084 * include/bits/statx.h: Likewise.
10085 * sysdeps/unix/sysv/linux/kernel-features.h
10086 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
10087 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10088 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
10089 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
10090 Undefine.
10091 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10092 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
10093 * sysdeps/unix/sysv/linux/statx.c: New file.
10094 * manual/filesys.texi: Note that statx is undocumented.
10095 * sysdeps/**/libc*.abilist: Update.
10096
b444e8f7
AZ
100972018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10098
10099 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
10100 a kernel issue which lead to test failure in some cases.
10101
7b2f4ced
FW
101022018-07-10 Florian Weimer <fweimer@redhat.com>
10103
10104 [BZ #23036]
10105 * posix/regexec.c (check_node_accept_bytes): When comparing
10106 weights, do not compare an extra byte after the end of the
10107 weights.
10108
4fa34da6
FW
101092018-07-10 Florian Weimer <fweimer@redhat.com>
10110
10111 * libio/readline.c: Fix copyright year.
10112 * libio/tst-readline.c Likewise.
10113 * nss/tst-nss-files-hosts-getent.c: Likewise.
10114
916124ed
FW
101152018-07-06 Florian Weimer <fweimer@redhat.com>
10116
10117 [BZ #18991]
10118 * nss/nss_files/files-XXX.c (internal_getent): Use
10119 __libc_readline_unlocked. Seek back to the start of the line if
10120 parsing failes with ERANGE.
10121 (get_contents_ret, get_contents): Remove.
10122 * nss/tst-nss-files-hosts-getent.c: New file.
10123 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
10124 (tst-nss-files-hosts-getent): Link with -ldl.
10125
3f5e3f5d
FW
101262018-07-06 Florian Weimer <fweimer@redhat.com>
10127
10128 * include/stdio.h (__libc_readline_unlocked): Declare.
10129 (__ftello64, __fseeko64): Declare aliases.
10130 * libio/readline.c: New file.
10131 * libio/tst-readline.c: Likewise.
10132 (routines): Add readline.
10133 (tests-internal): Add tst-readlime.
10134 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
10135 __libc_readline_unlocked.
10136 * libio/fseeko.c (__fseeko): Rename from fseeko.
10137 (fseeko): Add alias.
10138 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
10139 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
10140 (fseeko64): Add alias.
10141 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
10142 * libio/ftello64.c (__ftello64): Rename from ftello64.
10143 (ftello64): Add alias.
10144
397c54c1
SN
101452018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10146
10147 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
10148 HWCAP_ATOMICS.
10149
d0cd7980
SN
101502018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10151
10152 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
10153 Use dl_hwcap without masking.
10154 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
10155 Remove HWCAP_CPUID.
10156
ddb3c626
FW
101572018-07-06 Florian Weimer <fweimer@redhat.com>
10158
10159 * conform/conformtest.pl (checknamespace): Escape literal braces
10160 in regular expressions.
10161
bce5911b
AP
101622018-07-06 Amit Pawar <amit.pawar@amd.com>
10163
10164 * sysdeps/x86/cpu-features.c (get_common_indeces):
10165 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
10166 * sysdeps/x86/cpu-features.c (init_cpu_features):
10167 AVX_Fast_Unaligned_Load is disabled for Excavator core.
10168
3a885c1f
FW
101692018-07-05 Florian Weimer <fweimer@redhat.com>
10170
10171 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
10172 protector.
10173 (CFLAGS-elf-init.oS): Likewise.
10174
38cade0c
FW
101752018-07-05 Florian Weimer <fweimer@redhat.com>
10176 Carlos O'Donell <carlos@redhat.com>
10177
10178 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
10179 $(no-stack-protector). stack_chk_fail_local.c can be compiled
10180 with stack protector enabled because there is no risk of infinite
10181 recursion.
10182
9449a295
MR
101832018-07-05 Maciej W. Rozycki <macro@mips.com>
10184
10185 [BZ #19818]
10186 [BZ #23307]
10187 * libc-abis (ABSOLUTE): New ABI.
10188 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
10189 * NEWS: Mention the new ABI.
10190
d6da5cb6
FW
101912018-07-05 Florian Weimer <fweimer@redhat.com>
10192
10193 [BZ # 17662]
10194 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
10195 (RENAME_WHITEOUT): Define.
10196 [__USE_GNU] (renameat2): Declare.
10197 * stdio-common/Makefile (routines): Add renameat2.
10198 (tests): Add tst-renameat2.
10199 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
10200 * stdio-common/renameat2.c: New file.
10201 * stdio-common/tst-renameat2.c: Likewise.
10202 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
10203 * manual/filesys.texi (Temporary Files): Note that renameat2 is
10204 undocumented.
10205 * sysdeps/unix/sysv/linux/kernel-features.h
10206 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
10207 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10208 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10209 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10210 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10211 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10212 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
10213 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10214 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
10215 * include/stdio.h (__renameat): Add alias for renameat.
10216 * stdio-common/renameat.c (__renameat): Rename from renameat.
10217 Add hidden definition and alias.
10218 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10219 * sysdeps/mach/hurd/renameat.c: Likewise.
10220 * sysdeps/**/libc*.abilist: Add renameat2.
10221
1002d708
AZ
102222018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10223
10224 * posix/bug-regex33.c: Fix build after regex sync.
10225
34fdb893
CD
102262018-07-04 Carlos O'Donell <carlos@redhat.com>
10227
10228 [BZ #23164]
10229 * localedata/tst-langinfo-setlocale.c: New file.
10230 * localedata/tst-langinfo-setlocale-static.c: New file.
10231 * localedata/tst-langinfo-newlocale.c: New file.
10232 * localedata/tst-langinfo-newlocale-static.c: New file.
10233 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
10234 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
10235 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
10236 (tests-static): Remove tst-langinfo-static. Add
10237 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
10238 (tests-special): Remove $(objpfx)tst-langinfo.out,
10239 $(objpfx)tst-langinfo-static.out. Add
10240 $(objpfx)tst-langinfo-setlocale.out,
10241 $(objpfx)tst-langinfo-newlocale.out,
10242 $(objpfx)tst-langinfo-setlocale-static.out,
10243 $(objpfx)tst-langinfo-newlocale-static.out.
10244 ($(objpfx)tst-langinfo.out): Remove.
10245 ($(objpfx)tst-langinfo-static.out): Remove.
10246 ($(objpfx)tst-langinfo-newlocale.out): New target.
10247 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
10248 (test-xfail-tst-langinfo-newlocale-static): Add.
10249 ($(objpfx)tst-langinfo-setlocale.out): New target.
10250 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
10251 * localedata/tst-langinfo.c: Call test_locale.
10252 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
10253 data.
10254
f2873d2d
FW
102552018-07-04 Florian Weimer <fweimer@redhat.com>
10256
10257 testrun.sh: Implement --tool=strace, --tool=valgrind
10258 * Makefile (testrun-script): Define variable.
10259 (testrun.sh): Use variable.
10260 * manual/install.texi (Tools for Compilation): make 4.0 or later
10261 is required.
10262 * configure.ac: Check for make 4.0 or later.
10263 * INSTALL: Regenerate.
10264 * configure: Likewise.
10265
eb04c213
AZ
102662018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10267
10268 [BZ #23233]
10269 [BZ #21163]
10270 [BZ #18986]
10271 [BZ #13762]
10272 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
10273 * posix/PCRE.tests: Remove invalid test.
10274 * posix/bug-regex28.c: Fix expected values for used syntax.
10275 * posix/bug-regex37.c: New file.
10276 * posix/bug-regex38.c: Likewise.
10277 * posix/regcomp.c: Sync with gnulib.
10278 * posix/regex.c: Likewise.
10279 * posix/regex.h: Likewise.
10280 * posix/regex_internal.c: Likewise.
10281 * posix/regex_internal.h: Likewise.
10282 * posix/regexec.c: Likewise.
10283
b11643c2
MF
102842018-06-26 Mike FABIAN <mfabian@redhat.com>
10285
10286 [BZ #23308]
10287 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
10288 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
10289 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
10290 * localedata/unicode-gen/PropList.txt: likewise.
10291 * localedata/unicode-gen/UnicodeData.txt: likewise.
10292 * localedata/charmaps/UTF-8: Regenerate.
10293 * localedata/locales/i18n_ctype: likewise.
10294 * localedata/locales/tr_TR: likewise.
10295 * localedata/locales/translit_circle: likewise.
10296 * localedata/locales/translit_cjk_compat: likewise.
10297 * localedata/locales/translit_combining: likewise.
10298 * localedata/locales/translit_compat: likewise.
10299 * localedata/locales/translit_font: likewise.
10300 * localedata/locales/translit_fraction: likewise.
10301
5a357506
FW
103022018-07-03 Florian Weimer <fweimer@redhat.com>
10303
10304 [BZ #23363]
10305 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
10306 * stdio-common/tst-printf.sh: Adjust expected output.
10307 * LICENSES: Update.
10308
7279af00
AZ
103092018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10310
10311 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
10312 symbol.
10313
b7b88cea
GG
103142018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10315
10316 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
10317 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
10318 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
10319 * stdio-common/tst-printfsz-islongdouble.c: New file.
10320 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
10321 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
10322 [subdir == stdio-common] (routines): Add ieee128-printf_size.
10323 [subdir == stdio-common] (tests-internal): Add
10324 test-printf-size-ieee128, and test-printf-size-ibm128.
10325 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
10326 (CFLAGS-test-printf-size-ibm128.c): New variables.
10327 [subdir == stdio-common] (tests-special): Add
10328 $(objpfx)test-printf-size-ieee128.out and
10329 $(objpfx)test-printf-size-ibm128.out.
10330 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
10331 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
10332 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
10333 __printf_sizeieee128.
10334 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
10335 New file.
10336 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
10337 Likewise.
10338 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
10339 Likewise.
10340
2b445206
SN
103412018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10342
10343 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
10344 (exp2f_inline): Likewise.
10345 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
10346 (__math_uflowf): Likewise.
10347 (__math_may_uflowf): Likewise.
10348 (__math_divzerof): Likewise.
10349 (__math_invalidf): Likewise.
10350 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
10351 (__math_oflowf): Likewise.
10352 (__math_uflowf): Likewise.
10353 (__math_may_uflowf): Likewise.
10354 (__math_divzerof): Likewise.
10355 (__math_invalidf): Likewise.
10356
2827ab99
CD
103572018-06-29 DJ Delorie <dj@redhat.com>
10358 Carlos O'Donell <carlos@redhat.com>
10359
10360 [BZ #23329]
10361 * include/libc-symbols.h: Comment the freeres framework.
10362 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
10363 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
10364 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
10365 * dlfcn/dlerror.c: Include libc-symbols.h
10366 (__dlerror_main_freeres): New function.
10367 * dlfcn/dlfreeres.c: New file.
10368 * dlfcn/sdlfreeres.c: New file.
10369 * include/dlfcn.h: Declare __dlerror_main_freeres.
10370 * malloc/set-freeres.c: Declare __libdl_freeres, and
10371 __libpthread_freeres.
10372 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
10373 the releavant libraries are loaded.
10374 * malloc/thread-freeres.c: Add comments.
10375 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
10376 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
10377 * nptl/allocatestack.c (__nptl_free_stacks): New function.
10378 (__free_stacks): Rename to...
10379 (free_stacks): ...this. Mark static.
10380 (queue_stack): Call free_stacks.
10381 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
10382 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
10383 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
10384 ptr_freeres element from struct.
10385 (pthread_functions): Remove .ptr_freeres from struct initializer.
10386 [SHARED] (nptl_freeres): Remove.
10387 * nptl/nptlfreeres.c: New file.
10388 * nptl/pthreadP.h
10389 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
10390 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
10391 attribute_hidden.
10392 (__free_stacks): Rename to...
10393 (__nptl_stacks_freeres): ...this.
10394 (__shm_directory_freeres): Declare.
10395 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
10396 (__nptl_unwind_freeres): ...this.
10397 * resolv/res-close.c: Add comment.
10398 * resolv/resolv_conf.c: Include libc-symbols.h.
10399 * string/strerror_l.c: Include libc-symbols.h.
10400 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10401 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10402 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10403 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10404
37d3d244
RS
104052018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10406
10407 * stdlib/tst-strfmon_l.c: Add tests for long double.
10408
a1e0c5fa
MW
104092018-06-29 Michael Wolf <milupo@sorbzilla.de>
10410
10411 [BZ #23208]
10412 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
10413 * localedata/locales/dsb_DE: New file.
10414
2e0c5de6
RL
104152018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10416
10417 [BZ #23140]
10418 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
10419 genitive case).
10420 (alt_mon): New entry, import from CLDR (nominative case).
10421
cdb52c71
SL
104222018-06-29 Sylvain Lesage <severo@rednegra.net>
10423
10424 [BZ #22996]
10425 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
10426
ce76a5cb
SP
104272018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
10428
0aec4c1d
SP
10429 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10430 Use vector registers.
10431
ce76a5cb
SP
10432 * sysdeps/aarch64/multiarch/memmove_falkor.S
10433 (__memcpy_falkor): Use vector registers.
10434
7e8989d0
MS
104352018-06-29 Martin Sebor <msebor@redhat.com>
10436
10437 * manual/stdio.texi (Customizing Printf): Mention interaction
10438 with GCC built-ins.
10439
bac15a72
MR
104402018-06-29 Maciej W. Rozycki <macro@mips.com>
10441
10442 [BZ #23307]
10443 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10444 `st_value' is 0 if `st_shndx' is SHN_ABS.
10445 * elf/tst-absolute-zero.c: New file.
10446 * elf/tst-absolute-zero-lib.c: New file.
10447 * elf/tst-absolute-zero-lib.lds: New file.
10448 * elf/Makefile (tests): Add `tst-absolute-zero'.
10449 (modules-names): Add `tst-absolute-zero-lib'.
10450 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10451 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10452 ($(objpfx)tst-absolute-zero: New dependency.
10453
e69d994a
ZW
104542018-06-29 Zack Weinberg <zackw@panix.com>
10455
10456 * configure.ac: New command-line option --disable-crypt.
10457 Force --disable-nss-crypt when --disable-crypt is given, with a
10458 warning if it was explicitly enabled.
10459 * configure: Regenerate.
10460 * config.make.in: New boolean substitution variable $(build-crypt).
10461 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10462 when $(build-crypt).
10463 * manual/install.texi: Document --disable-crypt.
10464 * INSTALL: Regenerate.
10465
10466 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10467 which is never set.
10468 * conform/Makefile: Only include libcrypt.a in
10469 linknamespace-libs-xsi and linknamespace-libs-XPG4
10470 when $(build-crypt).
10471 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10472 USE_CRYPT to 1 when $(build-crypt).
10473 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
10474 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
10475 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
10476
841785ba
ZW
104772018-06-29 Zack Weinberg <zackw@panix.com>
10478
10479 * crypt/crypt.h, posix/unistd.h: Update comments and
10480 prototypes for crypt and crypt_r.
10481
10482 * manual/crypt.texi (Cryptographic Functions): New initial
10483 exposition.
10484 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
10485 (Unpredictable Bytes): Improve initial exposition. Clarify error
10486 behavior of getentropy and getrandom.
10487 * manual/examples/genpass.c: Generate a salt using getentropy
10488 instead of the current time. Use hash $5$ (SHA-2-256).
10489 * manual/examples/testpass.c: Demonstrate validation against
10490 hashes generated with three different one-way functions.
10491
10492 * manual/intro.texi: crypt.texi does not need an overview
10493 anymore.
10494
10495 * manual/nss.texi, manual/memory.texi, manual/socket.texi
10496 * manual/terminal.texi: Consistently refer to "passphrases"
10497 * instead of "passwords", and to the "user database" instead
10498 * of the "password database".
10499 * manual/users.texi: Similarly. Add notes about how actual
10500 passphrase hashes are now stored in the shadow database.
10501 Remove 20-year-old junk todo note.
10502
6ab902e4
ZW
105032018-06-29 Zack Weinberg <zackw@panix.com>
10504
10505 * manual/crypt.texi: Use a normal top-level @node declaration.
10506 Move most of the introductory text to the 'crypt' section.
10507 Move the example programs below the @deftypefun for 'crypt_r'.
10508 Move the 'getpass' section...
10509 * manual/terminal.texi: ...here.
10510
b10a0acc
ZW
105112018-06-29 Zack Weinberg <zackw@panix.com>
10512 Florian Weimer <fweimer@redhat.com>
10513
10514 * posix/unistd.h: Do not declare encrypt.
10515 (_XOPEN_CRYPT): Remove macro definition.
10516 (crypt): Declare only for _USE_MISC.
10517 * stdlib/stdlib.h: Do not declare setkey.
10518 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
10519 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
10520
10521 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
10522 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
10523 into compat symbols. Don't define initial_perm if it's not
10524 going to be used.
10525 * crypt/cert.c: Link explicitly with the expected versions for
10526 setkey and encrypt. If they are not available at all, mark
10527 the test as unsupported.
10528
10529 * sunrpc/des_crypt.c: Unconditionally block linkage with
10530 cbc_crypt and ecb_crypt for new binaries.
10531 * sunrpc/des_soft.c: Unconditionally block linkage with
10532 des_setparity for new binaries.
10533
10534 * manual/crypt.texi: Remove the entire "DES Encryption"
10535 section. Also remove the paragraph talking about FIPS 140-2
10536 from the introduction.
10537 * manual/string.texi (strfry, memfrob): Revise. Recommend use
10538 of libgcrypt for "real" encryption, not DES.
10539 * manual/conf.texi (Constants for Sysconf): Mention that
10540 _XOPEN_CRYPT is no longer impelemented.
10541
10542 * conform/data/unistd.h-data: Remove crypt function declaration.
10543
524d796d
FW
105442018-06-29 Florian Weimer <fweimer@redhat.com>
10545
10546 [BZ #23351]
10547 * malloc/hooks.c: Update comments on restoring of dumped heaps.
10548 (disallow_malloc_check): Remove variable.
10549 (__malloc_check_init): Adjust.
10550 (malloc_set_state): Update comment.
10551 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
10552 declarations.
10553
339124ab
RL
105542018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10555
10556 [BZ #23140]
10557 * localedata/locales/ast_ES (mon): Rename to...
10558 (alt_mon): This.
10559 (mon): Import from CLDR (genitive case).
10560
c1f86a33
DA
105612018-06-29 Daniel Alvarez <dalvarez@redhat.com>
10562 Jakub Sitnicki <jkbs@redhat.com>
10563
10564 [BZ #21812]
10565 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
10566 on NLM_F_DUMP_INTR.
10567
0b11b649
SN
105682018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10569
10570 * manual/llio.texi: Remove spurious space.
10571
c1c2848b
FW
105722018-06-28 Florian Weimer <fweimer@redhat.com>
10573
10574 [BZ #23349]
10575 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10576 _STRUCT_TIMESPEC.
10577
86a0f561
RS
105782018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10579
10580 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
10581 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
10582 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10583 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10584 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10585 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10586 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10587
780684eb
MR
105882018-06-27 Maciej W. Rozycki <macro@mips.com>
10589
10590 [BZ #23266]
10591 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10592 Copy and null-terminate entries that are not terminated, in
10593 addition to empty ones.
10594
c49e1822
FW
105952018-06-27 Florian Weimer <fweimer@redhat.com>
10596
10597 [BZ #18023]
10598 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10599 (extend_alloca_account): Remove.
10600 * manual/stdio.texi (Variable Arguments Output): Update comment.
10601
a833e627
JM
106022018-06-27 Joseph Myers <joseph@codesourcery.com>
10603
10604 * nptl/sockperf.c: Remove file.
10605
92d6aa85
FW
106062018-06-27 Florian Weimer <fweimer@redhat.com>
10607
10608 [BZ #18023]
10609 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10610 scratch_buffer instead of extend_alloca.
10611
890c2ced
FW
106122018-06-27 Florian Weimer <fweimer@redhat.com>
10613
10614 [BZ #18023]
10615 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10616 scratch_buffer instead of extend_alloca. Update comments.
10617
4272059d
FW
106182018-06-27 Florian Weimer <fweimer@redhat.com>
10619
10620 [BZ #18023]
10621 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10622 instead of extend_alloca.
10623
27f10a09
JM
106242018-06-26 Joseph Myers <joseph@codesourcery.com>
10625
10626 [BZ #13888]
10627 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10628 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10629 /tmp.
10630 * scripts/test-installation.pl: Put temporary files in build
10631 directory, not /tmp.
10632 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10633 (CFLAGS-bug4.c): Likewise.
10634 (CFLAGS-bug5.c): Likewise.
10635 (CFLAGS-test-fseek.c): Likewise.
10636 (CFLAGS-test-popen.c): Likewise.
10637 (CFLAGS-test_rdwr.c): Likewise.
10638 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10639 /tmp.
10640 * stdio-common/bug4.c (main): Likewise.
10641 * stdio-common/bug5.c (main): Likewise.
10642 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10643 * stdio-common/test-popen.c (do_test): Likewise.
10644 * stdio-common/test_rdwr.c (main): Likewise.
10645
05598a09
PF
106462018-06-26 Patsy Franklin <pfrankli@redhat.com>
10647
10648 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10649 (sem_open): Set sem.newsem.pad to zero for valgrind.
10650
06ab719d
AZ
106512018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10652
10653 [BZ #20251]
10654 * NEWS: Mention fcntl64 addition.
10655 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10656 * login/utmp_file.c: Likewise.
10657 * sysdeps/posix/fdopendir.c: Likewise.
10658 * sysdeps/posix/opendir.c: Likewise.
10659 * sysdeps/unix/pt-fcntl.c: Likewise.
10660 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10661 __fcntl64_nocancel_adjusted): New prototype.
10662 (__fcntl_nocancel_adjusted): Remove prototype.
10663 * io/Makefile (routines): Add fcntl64.
10664 (CFLAGS-fcntl64.c): New rule.
10665 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10666 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10667 * io/fcntl.h (fcntl64): Add prototype and redirect if
10668 __USE_FILE_OFFSET64 is defined.
10669 * io/fcntl64.c: New file.
10670 * manual/llio.text: Add a note for which commands fcntl acts a
10671 cancellation point.
10672 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10673 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10674 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10675 New symbols.
10676 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10677 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10678 non-LFS case.
10679 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
10680 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
10681 to __fcntl64_nocancel.
10682 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
10683 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
10684 to __fcntl64_nocancel.
10685 * sysdeps/generic/not-cancel.h: Likewise.
10686 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
10687 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
10688 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10689 (fcntl64): New symbol.
10690 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10691 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10692 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10695 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10696 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10697 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10698 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10699 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10700 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
10701 fcntl64): Likewise.
10702 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10703 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
10704 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10705 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10706 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10707 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10708 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10709 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10710 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10712 Likewise.
10713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10714 Likewise.
10715 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10716 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10717 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10718
124e0258
FW
107192018-06-26 Florian Weimer <fweimer@redhat.com>
10720
10721 Run thread shutdown functions in an explicit order.
10722 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10723 definition.
10724 (__libc_thread_freeres): Call thread shutdown functions
10725 explicitly.
10726 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10727 * include/string.h (__strerror_thread_freeres): Declare.
10728 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10729 arena_thread_freeres. No longer static. Remove thread shutdown
10730 hook registration.
10731 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10732 Declare.
10733 * resolv/res-close.c (__res_thread_freeres): Renamed from
10734 res_thread_freeres. No longer static. Remove thread shutdown
10735 hook registration.
10736 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10737 * resolv/resolv_conf.c (freeres): Remove incorrect section
10738 attribute and use libc_freeres_fn.
10739 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10740 strerror_thread_freeres. No longer static. Remove thread
10741 shutdown hook registration.
10742 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10743 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10744 shutdown hook registration.
10745 * Makerules (shlib.lds): Do not provide section boundary symbols
10746 for __libc_thread_subfreeres.
10747 * manual/memory.texi (Basic Allocation): Update comment.
10748
935d920e
FW
107492018-06-26 Florian Weimer <fweimer@redhat.com>
10750
10751 Remove always-defined _RPC_THREAD_SAFE_ macro.
10752 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10753 Do not define _RPC_THREAD_SAFE_.
10754 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10755 conditional.
10756 * sunrpc/clnt_perr.c: Likewise.
10757 * sunrpc/clnt_raw.c: Likewise.
10758 * sunrpc/clnt_simp.c: Likewise.
10759 * sunrpc/key_call.c: Likewise.
10760 * sunrpc/rpc_common.c: Likewise.
10761 * sunrpc/rpc_main.c: Likewise.
10762 * sunrpc/rpc_thread.c: Likewise.
10763 * sunrpc/svc.c: Likewise.
10764 * sunrpc/svc_raw.c: Likewise.
10765 * sunrpc/svc_simple.c: Likewise.
10766 * sumrpc/svcauth_des.c: Likewise.
10767
29055464
FW
107682018-06-26 Florian Weimer <fweimer@redhat.com>
10769
10770 * libio/Makefile (tests-internal): Add tst-vtables,
10771 tst-vtables-interposed.
10772 * libio/tst-vtables.c: New file.
10773 * libio/tst-vtables-common.c: Likewise.
10774 * libio/tst-vtables-interposed.c: Likewise.
10775
5c0202af
FW
107762018-06-26 Florian Weimer <fweimer@redhat.com>
10777
10778 * support/support_test_main.c (support_test_main): Only call
10779 setvbuf if not disables.
10780 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10781 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10782
c402355d
FW
107832018-06-26 Florian Weimer <fweimer@redhat.com>
10784
10785 [BZ #23313]
10786 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10787
43b1048a
FW
107882018-06-25 Florian Weimer <fweimer@redhat.com>
10789
10790 [BZ #18023]
10791 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10792 Use struct scratch_buffer instead of extend_alloca.
10793
1599ed4e
FW
107942018-06-25 Florian Weimer <fweimer@redhat.com>
10795
10796 [BZ #18023]
10797 * nss/getent.c (initgroups_keys): Use dynarray instead of
10798 extend_alloca.
10799
a26fe163
FW
108002018-06-25 Florian Weimer <fweimer@redhat.com>
10801
10802 [BZ #18023]
10803 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10804 Use struct scratch_buffer instead of extend_alloca.
10805
90d9d9ce
FW
108062018-06-25 Florian Weimer <fweimer@redhat.com>
10807
10808 [BZ #18023]
10809 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10810 back to malloc directly, without stack allocations.
10811
6b7b2aba
FW
108122018-06-25 Florian Weimer <fweimer@redhat.com>
10813
10814 [BZ #18023]
10815 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10816 of extend_alloca.
10817
2f9f0d18
FW
108182018-06-25 Florian Weimer <fweimer@redhat.com>
10819
10820 [BZ #18023]
10821 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10822 of extend_alloca.
10823 * nscd/hstcache.c (addhstbyX): Likewise.
10824 * nscd/pwdcache.c (addpwbyX): Likewise.
10825 * nscd/servicescache.c (addservbyX): Likewise.
10826
318bad78
FW
108272018-06-25 Florian Weimer <fweimer@redhat.com>
10828
10829 [BZ #18023]
10830 * nscd/connections.c (read_cmdline): New function.
10831 (restart): Use it. Update comment.
10832
189699ab
RL
108332018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10834
10835 [BZ #23140]
10836 * localedata/locales/csb_PL (mon): Rename to...
10837 (alt_mon): This.
10838 (abmon): Rename to...
10839 (ab_alt_mon): This.
10840 (mon): Add with proper genitive forms, copy from Wikipedia.
10841 (abmon): Likewise.
10842
0ea3f13c
RL
108432018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10844
10845 [BZ #19485]
10846 * localedata/locales/csb_PL (mon): Fix typos:
10847 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10848 (yesstr): Add, value is "jo".
10849 (nostr): Add, value is "nié".
10850
d93f4ff1
TMQMF
108512018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10852
10853 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10854 all log1p and significand functions on m680x0.
10855 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10856 of s_significand.c..
10857 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10858 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10859 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10860 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10861 s_log1p.c and include it..
10862
f6299d2a
VC
108632018-06-21 Vincent Chen <vincentc@andestech.com>
10864
10865 * elf/elf.h (R_NDS32_NONE): New define.
10866 (R_NDS32_32_RELA): Likewise.
10867 (R_NDS32_COPY): Likewise.
10868 (R_NDS32_GLOB_DAT): Likewise.
10869 (R_NDS32_JUMP_SLOT): Likewise.
10870 (R_NDS32_RELATIVE): Likewise.
10871 (R_NDS32_TLS_TPOFF): Likewise.
10872 (R_NDS32_TLS_DESC): Likewise.
10873
61ab61c2
MW
108742018-06-21 Mark Wielaard <mark@klomp.org>
10875
10876 * elf/elf.h (R_BPF_MAP_FD): Removed.
10877 (R_BPF_64_64, R_BPF_64_32): New.
10878
f496b28e
FW
108792018-06-21 Florian Weimer <fweimer@redhat.com>
10880
10881 [BZ #23253]
10882 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10883 Renamed from libc_feholdsetround_ctx.
10884 (default_libc_feresetround_ctx): Renamed from
10885 libc_feresetround_ctx.
10886 (default_libc_feholdsetround_noex_ctx): Renamed from
10887 libc_feholdsetround_noex_ctx.
10888 (default_libc_feresetround_noex_ctx): Renamed from
10889 libc_feresetround_noex_ctx.
10890 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10891 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10892 forwardning to the old implementations under the new names.
10893 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10894 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10895 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10896 (libc_feresetround_ctx): Forward to default implements for i386
10897 and MATH_SET_BOTH_ROUNDING_MODES.
10898 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10899 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10900
1760daad
JM
109012018-06-20 Joseph Myers <joseph@codesourcery.com>
10902
99c7adf9
JM
10903 * string/tst-cmp.c: Include <libc-diag.h>.
10904 (strncmp_max): Disable -Wstringop-overflow= around call to
10905 strncmp.
10906 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10907 strncasecmp.
10908
1760daad
JM
10909 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10910 (main): Disable -Wunused-value around call to strpbrk.
10911 * string/bug-strspn1.c: Include <libc-diag.h>.
10912 (main): Disable -Wunused-value around call to strspn.
10913
209ae17c
TMQMF
109142018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10915 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10916
10917 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10918 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10919
badba23c
TMQMF
109202018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10921
5e79e029
TMQMF
10922 * math/Makefile (libm-calls): Move s_significandF to...
10923 (gen-libm-calls): ... here.
10924 * math/s_significand_template.c: New file.
10925 * math/s_significand.c: Removed.
10926 * math/s_significandf.c: Removed.
10927 * math/s_significandl.c: Removed.
10928 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10929 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10930
badba23c
TMQMF
10931 * math/e_exp2_template.c (declare_mgen_finite_alias,
10932 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10933 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10934 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10935
2d1c89a5
FW
109362018-06-20 Florian Weimer <fweimer@redhat.com>
10937
10938 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10939
646c2833
JM
109402018-06-19 Joseph Myers <joseph@codesourcery.com>
10941
10942 [BZ #23280]
10943 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10944 floating-point number to strtod functions rather than possibly
10945 negating result of those functions.
10946 * stdio-common/tst-scanf-round.c: New file.
10947 * stdio-common/Makefile (tests): Add tst-scanf-round.
10948 ($(objpfx)tst-scanf-round): Depend on $(libm).
10949
c77e4dc0
ST
109502018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10951
10952 * sysdeps/mach/hurd/localplt.data: Move to...
10953 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
10954 R_386_GLOB_DAT like on Linux i386.
10955
91b2f3e5
JM
109562018-06-18 Joseph Myers <joseph@codesourcery.com>
10957
f2857da7
JM
10958 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
10959 (SHM_STAT_ANY): New macro.
10960 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
10961 (SHM_STAT_ANY): Likewise.
10962 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
10963 (SHM_STAT_ANY): Likewise.
10964 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
10965 (SHM_STAT_ANY): Likewise.
10966 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
10967 (SHM_STAT_ANY): Likewise.
10968 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
10969 (SHM_STAT_ANY): Likewise.
10970 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
10971 (SHM_STAT_ANY): Likewise.
10972 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
10973 (SHM_STAT_ANY): Likewise.
10974 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
10975 (SHM_STAT_ANY): Likewise.
10976 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
10977 (SHM_STAT_ANY): Likewise.
10978 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
10979 (SHM_STAT_ANY): Likewise.
10980 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10981 (SHM_STAT_ANY): Likewise.
10982
176c7fee
JM
10983 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10984 (SEM_STAT_ANY): New macro.
10985 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10986 (SEM_STAT_ANY): Likewise.
10987 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10988 (SEM_STAT_ANY): Likewise.
10989 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10990 (SEM_STAT_ANY): Likewise.
10991 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10992 (SEM_STAT_ANY): Likewise.
10993 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10994 (SEM_STAT_ANY): Likewise.
10995 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10996 (SEM_STAT_ANY): Likewise.
10997 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10998 (SEM_STAT_ANY): Likewise.
10999 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
11000 (SEM_STAT_ANY): Likewise.
11001 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
11002 (SEM_STAT_ANY): Likewise.
11003
86bf0019
JM
11004 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
11005 (MSG_STAT_ANY): New macro.
11006 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
11007 (MSG_STAT_ANY): Likewise.
11008 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
11009 (MSG_STAT_ANY): Likewise.
11010 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
11011 (MSG_STAT_ANY): Likewise.
11012 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
11013 (MSG_STAT_ANY): Likewise.
11014 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
11015 (MSG_STAT_ANY): Likewise.
11016 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
11017 (MSG_STAT_ANY): Likewise.
11018 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
11019 (MSG_STAT_ANY): Likewise.
11020 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
11021 (MSG_STAT_ANY): Likewise.
11022 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
11023 (MSG_STAT_ANY): Likewise.
11024
91b2f3e5
JM
11025 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11026 (MAP_TYPE): Change value to 0x2b.
11027
3fe8fc79
FW
110282018-06-18 Florian Weimer <fweimer@redhat.com>
11029
11030 [BZ #15722]
11031 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
11032 socket with SOCK_CLOEXEC.
11033
809dc95d
JM
110342018-06-18 Joseph Myers <joseph@codesourcery.com>
11035
11036 [BZ #23303]
11037 * sysdeps/powerpc/powerpc64/le/Makefile
11038 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
11039 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
11040 (gnulib-tests): Also add $(f128-loader-link) for
11041 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
11042
298a8b59
ST
110432018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11044
11045 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
11046 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
11047 of sendfile.
11048 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
11049 (sendfile64): New strong alias.
faf7bbc2
ST
11050 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
11051 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
11052 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
11053 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
11054 attribute.
11055 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
11056 ___pthread_get_cleanup_stack.
932d05f0 11057 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
11058 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
11059 * mach/shortcut.awk: Make syscall stubs include
11060 <mach-shortcuts-hidden.h> and add hidden definition.
11061 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
11062 (__mach_msg): Add hidden prototype.
11063 * mach/msg.c: Include <mach.h>.
11064 (__mach_msg): Add hidden definition.
b0344cf5
ST
11065 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
11066 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
11067 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
11068 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
11069 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
11070 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
11071 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
11072 prototype and definition.
11073 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
11074 hidden target for _hurd_self_sigstate.
298a8b59 11075
b12c1e79
JM
110762018-06-15 Joseph Myers <joseph@codesourcery.com>
11077
11078 [BZ #23007]
11079 * stdlib/tst-strtod-nan-sign-main.c: New file.
11080 * stdlib/tst-strtod-nan-sign.c: Likewise.
11081 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
11082 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
11083 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
11084 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
11085 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
11086
b0debe14
HB
110872018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
11088
11089 [BZ #23007]
11090 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
11091 appropriate sign.
11092
14beef75
FW
110932018-06-14 Florian Weimer <fweimer@redhat.com>
11094
11095 [BZ #23290]
11096 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
11097 that the result stays within the ISO-8859-1 range.
11098 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
11099 characters are defined in IBM273.
11100
c596630b
ST
111012018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11102
11103 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
11104 __mach_task_self): Remove attribute_hidden.
11105
35ebb6b0
JM
111062018-06-14 Joseph Myers <joseph@codesourcery.com>
11107
11108 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
11109 ignore -Wrestrict for one test.
11110
3c7b9f1f
SE
111112018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
11112 Szabolcs Nagy <szabolcs.nagy@arm.com>
11113
11114 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
11115
c59ee916
FW
111162018-06-14 Florian Weimer <fweimer@redhat.com>
11117
11118 * scripts/update-abilist.sh: Accept empty list of files to patch.
11119
43b5ff50
ST
111202018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
11121
11122 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
11123 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
11124 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
11125 __libc_read and __libc_write to __read and __write.
c8c6e6d6 11126 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
11127 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
11128 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
11129 __thread_switch, __evc_wait): Move declarations to...
11130 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
11131 attribute_hidden.
06d1a826
ST
11132 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
11133 use PLT to call _hurd_self_sigstate.
43b5ff50 11134
fcd6b5ac
JM
111352018-06-13 Joseph Myers <joseph@codesourcery.com>
11136
11137 [BZ #23279]
11138 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
11139 MAX_EXP as overflowing.
11140 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
11141 overflow flag.
11142 (round_str): Output also whether result overflows in each rounding
11143 mode.
11144 * stdlib/tst-strtod-round-data: Add more tests.
11145 * stdlib/tst-strtod-round-data.h: Regenerated.
11146 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
11147 (TEST): Handle extra arguments for overflow flags.
11148 (struct test_overflow): New type.
11149 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
11150 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
11151 (test_in_one_mode): Take argument with overflow information.
11152 (do_test): Update calls to test_in_one_mode.
11153
35df5a77
CD
111542018-06-12 Carlos O'Donell <carlos@redhat.com>
11155
a745c837
CD
11156 * elf/dl-load (_dl_dst_substitute): Correct comment.
11157 (_dl_dst_count): Likewise.
11158
35df5a77
CD
11159 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
11160 lll_futex_timed_wait.
11161
48b12ed5
JM
111622018-06-12 Joseph Myers <joseph@codesourcery.com>
11163
11164 [BZ #23277]
11165 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
11166 attribute.
11167 * math/test-nan-const.c: New file.
11168 * math/Makefile (tests): Add test-nan-const.
11169 (CFLAGS-test-nan-const.c): New variable.
11170
cb8f6aff
L
111712018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11172
11173 * benchtests/scripts/compare_strings.py (process_results): Add
11174 funcs argument. Compare only functions which are selected.
11175 (main): Check if base function is among selected functions.
11176 Pass selected functions to process_results.
11177 (__main__): Add -f/--functions argument.
11178
fc2ba803
HZ
111792018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
11180 Hongbo Zhang <hongbo.zhang@linaro.org>
11181
11182 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
11183 __memcpy_falkor for phecda core.
11184 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
11185 __memmove_falkor for phecda core.
11186 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
11187 __memset_falkor for phecda core.
11188 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
11189 for phecda core.
11190 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
11191 macro to identify phecda core.
11192
5aad5f61
CD
111932018-06-12 Carlos O'Donell <carlos@redhat.com>
11194 Andreas Schwab <schwab@suse.de>
11195 Dmitry V. Levin <ldv@altlinux.org>
11196 Florian Weimer <fweimer@redhat.com>
11197
11198 [BZ #23102]
11199 [BZ #21942]
11200 [BZ #18018]
11201 [BZ #23259]
11202 CVE-2011-0536
11203 * elf/dl-dst.h: Remove DL_DST_COUNT.
11204 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
11205 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
11206 (is_dst): Comment. Support ELF gABI.
11207 (_dl_dst_count): Comment. Simplify and count DSTs.
11208 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
11209 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
11210 locals.
11211
329ea513
ZW
112122018-06-12 Zack Weinberg <zackw@panix.com>
11213
11214 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
11215 * sysdeps/unix/sysv/linux/dl-sysdep.c
11216 Include not-cancel.h. Use __close_nocancel instead of __close,
11217 __open64_nocancel instead of __open, __read_nocancel instead of
11218 __libc_read, and __write_nocancel instead of __libc_write.
11219
11220 * csu/check_fds.c (check_one_fd)
11221 * sysdeps/posix/fdopendir.c (__fdopendir)
11222 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
11223 instead of __fcntl and/or __libc_fcntl.
11224
11225 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
11226 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
11227 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
11228 Use __open64_nocancel instead of __open_nocancel.
11229
11230 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
11231 hidden_proto declarations to the end and issue them if either
11232 IS_IN(libc) or IS_IN(rtld).
11233 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
11234 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
11235 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
11236 read_nocancel, waitpid_nocancel, write_nocancel.
11237
11238 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
11239 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
11240 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
11241
11242 * nptl/pt-fcntl.c: New file.
11243 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
11244 (libpthread-routines): Add pt-fcntl.
11245 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
11246 (__libc_fcntl): Remove attribute_hidden.
11247 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
11248 __fcntl_nocancel_adjusted, not fcntl_common.
11249 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
11250 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
11251 to fcntl_nocancel.c.
11252 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
11253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
11254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11255 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
11256
11257 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
11258 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
11259 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
11260 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
11261 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
11262 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
11263 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
11264 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
11265 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
11266 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
11267 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
11268 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
11269 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
11270 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
11271 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
11272 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
11273 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
11274 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
11275 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
11276 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
11277
11278 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
11279 libpthread-routines.
11280 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
11281 defines nothing.
11282
11283 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
11284 __libc_read, and __write instead of __libc_write. Define
11285 __open64 in addition to __open.
11286
0221ce2a
L
112872018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11288
11289 [BZ #23250]
11290 [BZ #10686]
11291 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
11292 to _private_tm[3] and add __glibc_reserved2.
11293 Add _Static_assert of offset of __private_ss == 0x30.
11294 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
11295 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
11296
e826574c
FW
112972018-06-12 Florian Weimer <fweimer@redhat.com>
11298
11299 x86: Make strncmp usable from rtld.
11300 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
11301 __strncmp_ia32 if in libc (and not in rtld).
11302 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
11303 strncmp if not in libc (and not to __strncmp_sse2).
11304
c4ad5782
RL
113052018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
11306
11307 [BZ #23140]
11308 * localedata/locales/gd_GB (mon): Rename to...
11309 (alt_mon): This.
11310 (mon): Import from CLDR (genitive case).
11311 * localedata/locales/hsb_DE (mon): Rename to...
11312 (alt_mon): This.
11313 (mon): Import from CLDR (genitive case).
11314 * localedata/locales/wa_BE (mon): Rename to...
11315 (alt_mon): This.
11316 (mon): Add, fill with the proper genitive forms, but CLDR data
11317 is incomplete; completed according to the comments in this file.
11318 (d_t_fmt): Do not use "di" before the month name, no longer needed.
11319
11320 * localedata/locales/wa_BE (country_name): Reword
11321 "Beljike" -> "Beldjike".
11322
ca121b11
JM
113232018-06-11 Joseph Myers <joseph@codesourcery.com>
11324
11325 [BZ #23272]
11326 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
11327 cases of non-finite arguments.
11328 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11329
2b69fecb
JDA
113302018-06-10 John David Anglin <danglin@gcc.gnu.org>
11331
11332 [BZ #23174]
11333 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
11334
283d9851
AZ
113352018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11336
11337 [BZ #23264]
11338 * include/unistd.h (__execvpex): New prototype.
11339 * posix/Makefile (tests): Add tst-spawn4.
11340 (tests-internal): Add tst-spawn4-compat.
11341 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
11342 * posix/tst-spawn4-compat.c: New file.
11343 * posix/tst-spawn4.c: Likewise.
11344 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
11345 binaries as shell scripts.
11346 * sysdeps/posix/spawni.c (__spawni): Likewise.
11347
67c05796
L
113482018-06-08 H.J. Lu <hongjiu.lu@intel.com>
11349
11350 [BZ #23145]
11351 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
11352 ($(all-built-dso:=.dynsym): New target.
11353 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
11354 ($(objpfx)check-initfini.out): New target.
11355 (generated): Add check-initfini.out.
11356 * scripts/check-initfini.awk: New file.
11357 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
11358 (_fini): Likewise.
11359 * sysdeps/alpha/crti.S (_init): Mark as hidden.
11360 (_fini): Likewise.
11361 * sysdeps/arm/crti.S (_init): Mark as hidden.
11362 (_fini): Likewise.
11363 * sysdeps/hppa/crti.S (_init): Mark as hidden.
11364 (_fini): Likewise.
11365 * sysdeps/i386/crti.S (_init): Mark as hidden.
11366 (_fini): Likewise.
11367 * sysdeps/ia64/crti.S (_init): Mark as hidden.
11368 (_fini): Likewise.
11369 * sysdeps/m68k/crti.S (_init): Mark as hidden.
11370 (_fini): Likewise.
11371 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
11372 (_fini): Likewise.
11373 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
11374 (_fini): Likewise.
11375 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
11376 (_fini): Likewise.
11377 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
11378 (_fini): Likewise.
11379 * sysdeps/nios2/crti.S (_init): Mark as hidden.
11380 (_fini): Likewise.
11381 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
11382 (_fini): Likewise.
11383 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
11384 (_fini): Likewise.
11385 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
11386 (_fini): Likewise.
11387 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
11388 (_fini): Likewise.
11389 * sysdeps/sh/crti.S (_init): Mark as hidden.
11390 (_fini): Likewise.
11391 * sysdeps/sparc/crti.S (_init): Mark as hidden.
11392 (_fini): Likewise.
11393 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
11394 (_fini): Likewise.
11395
1c09524e
TMQMF
113962018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11397
11398 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
11399 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11400 and TF redirection to KFtype and KF only when the default
11401 long double type is not the IEEE 128-bit floating point type.
11402
0e0577c9
JM
114032018-06-05 Joseph Myers <joseph@codesourcery.com>
11404
0c1c33b2
JM
11405 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
11406 macro.
11407 (HWCAP_USCAT): Likewise.
11408 (HWCAP_ILRCPC): Likewise.
11409 (HWCAP_FLAGM): Likewise.
11410 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11411 Increase to 28.
11412 (_dl_aarch64_cap_flags): Add new flag names.
11413
bef1cbf4
JM
11414 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
11415 (MAP_FIXED_NOREPLACE): New macro.
11416 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
11417 (MAP_FIXED_NOREPLACE): Likewise.
11418 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
11419 (MAP_FIXED_NOREPLACE): Likewise.
11420 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11421 (MAP_FIXED_NOREPLACE): Likewise.
11422 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
11423 (MAP_FIXED_NOREPLACE): Likewise.
11424 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
11425 (MAP_FIXED_NOREPLACE): Likewise.
11426 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
11427 (MAP_FIXED_NOREPLACE): Likewise.
11428 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
11429 (MAP_FIXED_NOREPLACE): Likewise.
11430 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11431 (MAP_FIXED_NOREPLACE): Likewise.
11432 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11433 (MAP_FIXED_NOREPLACE): Likewise.
11434 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11435 (MAP_FIXED_NOREPLACE): Likewise.
11436 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11437 (MAP_FIXED_NOREPLACE): Likewise.
11438 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11439 (MAP_FIXED_NOREPLACE): Likewise.
11440 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11441 (MAP_FIXED_NOREPLACE): Likewise.
11442 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11443 (MAP_FIXED_NOREPLACE): Likewise.
11444
0e0577c9
JM
11445 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11446 version to 4.17.
11447
ab3a0da0
JM
114482018-06-04 Joseph Myers <joseph@codesourcery.com>
11449
11450 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11451 version to 4.17
11452
d2d9dfb6
ST
114532018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11454
11455 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11456 int.
11457 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11458
a650b05e
LS
114592018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11460
11461 * benchtests/scripts/compare_string.py: (process_results) Catch
11462 exception in non-existent base_func and catch exception in
11463 non-existent attribute.
11464 (parse_file) Catch exception if input file does not exist.
11465
195abbf4
LS
114662018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11467
11468 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11469 options to avoid diff calculation and omit header, respectively.
11470 (main): process --no-diff and --no-header
11471
14570163
LS
114722018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11473 H.J. Lu <hongjiu.lu@intel.com>
11474
11475 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11476 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
11477 wcsncmp-sse2.
11478 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11479 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
11480 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
11481 and __wcsncmp_sse2.
11482 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
11483 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
11484 AVX unaligned load is fast and vzeroupper is preferred.
11485 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
11486 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
11487 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
11488 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
11489 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
11490 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
11491 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
11492 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
11493 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
11494 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
11495 is undefined.
11496
e02c026f
FW
114972018-06-01 Florian Weimer <fweimer@redhat.com>
11498
11499 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
11500 configuring with --disable-multi-arch, building with
11501 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
11502 Haswell-era CPU.
11503
d8c19275
FW
115042018-06-01 Florian Weimer <fweimer@redhat.com>
11505
11506 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
11507 results from building with “-march=x86-64 -mtune=generic
11508 -mfpmath=sse” and running on a Haswell-era CPU.
11509
0d2163eb
JM
115102018-06-01 Joseph Myers <joseph@codesourcery.com>
11511
11512 [BZ #18473]
11513 * soft-fp/sqrttf2.c: Remove file.
11514 * soft-fp/sqrtdf2.c: Move to ....
11515 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
11516 <shlib-compat.h>.
11517 (__sqrtdf2): Make conditional on
11518 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11519 symbol.
11520 * soft-fp/sqrtsf2.c: Move to ....
11521 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
11522 <shlib-compat.h>.
11523 (__sqrtsf2): Make conditional on
11524 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11525 symbol.
11526 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
11527 (gcc-double-routines): Remove sqrtdf2.
11528 (gcc-quad-routines): Remove sqrttf2.
11529 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11530 Do not filter out sqrtsf2 and sqrtdf2.
11531 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11532 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
11533
10450210
FW
115342018-06-01 Florian Weimer <fweimer@redhat.com>
11535
11536 * sysdeps/generic/libcidn.abilist: Remove file.
11537
4e8a6346
FW
115382018-06-01 Florian Weimer <fweimer@redhat.com>
11539
11540 [BZ #23236]
11541 * libio/strfile.h (struct _IO_str_fields): Rename members to
11542 discourage their use and add comment.
11543 (_IO_STR_DYNAMIC): Remove unused macro.
11544 * libio/strops.c (_IO_str_init_static_internal): Do not use
11545 callback pointers. Call malloc and free.
11546 (_IO_str_overflow): Do not use callback pointers. Call malloc
11547 and free.
11548 (enlarge_userbuf): Likewise.
11549 (_IO_str_finish): Call free.
11550 * libio/wstrops.c (_IO_wstr_init_static): Initialize
11551 _allocate_buffer_unused.
11552 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
11553 and free.
11554 (enlarge_userbuf): Likewise.
11555 (_IO_wstr_finish): Call free.
11556 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
11557 _allocate_buffer_unused, _free_buffer_unused.
11558 * libio/memstream.c (__open_memstream): Likewise.
11559 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11560 * libio/wmemstream.c (open_wmemstream): Likewise.
11561
50d004c9
PP
115622018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11563
11564 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
11565 AMD Ryzen 7 1800X.
11566
2c93fce7
RS
115672018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11568
11569 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11570 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11571 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11572 New file.
11573 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11574 Likewise.
11575 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11576
0ce2fa69
FW
115772018-05-29 Florian Weimer <fweimer@redhat.com>
11578
11579 * support/Makefile (libsupport-routines): Add
11580 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11581 xpthread_barrierattr_setpshared.
11582 * support/xpthread_barrierattr_destroy.c: New file.
11583 * support/xpthread_barrierattr_init.c: Likewise.
11584 * support/xpthread_barrierattr_setpshared.c: Likewise.
11585
7f7b5d8d
L
115862018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11587
11588 [BZ #23206]
11589 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11590 _r_debug and update DT_DEBUG for debugger.
11591
e4890300
FW
115922018-05-29 Florian Weimer <fweimer@redhat.com>
11593
11594 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11595 (tst-strtod5i.out): Likewise.
11596
2c753f3e
JM
115972018-05-25 Joseph Myers <joseph@codesourcery.com>
11598
b5453d9f
JM
11599 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11600 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11601 (sparc64-quad-routines): New variable. Moved from ....
11602 [$(subdir) = soft-fp] (sysdep_routines): Add
11603 $(sparc64-quad-routines). Moved from ....
11604 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11605 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11606 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11607 moved from ....
11608 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11609 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11610 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11611 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11612 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11613 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11614 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11615 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11616 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11617 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11618 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11619 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11620 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11621 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11622 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11623 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11624 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11625 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11626 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11627 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11628 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11629 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11630 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11631 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11632 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11633 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11634 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11635 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11636 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11637 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11638 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11639 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11640 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11641 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11642 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11643 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11644 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11645 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11646 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11647 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11648 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11649 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11650 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11651 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11652 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11653 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11654 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11655 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11656 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11657 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11658 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11659 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11660 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11661 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11662 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11663 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11664 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11665 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11666
2c753f3e
JM
11667 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11668 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11669 (sparc32-quad-routines): New variable. Moved from ....
11670 [$(subdir) = soft-fp] (sysdep_routines): Add
11671 $(sparc32-quad-routines). Moved from ....
11672 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11673 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11674 moved from ....
11675 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11676 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11677 * sysdeps/sparc/sparc32/q_add.c: ... here.
11678 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
11679 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
11680 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
11681 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
11682 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
11683 * sysdeps/sparc/sparc32/q_div.c: ... here.
11684 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
11685 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
11686 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
11687 * sysdeps/sparc/sparc32/q_feq.c: ... here.
11688 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
11689 * sysdeps/sparc/sparc32/q_fge.c: ... here.
11690 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
11691 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
11692 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
11693 * sysdeps/sparc/sparc32/q_fle.c: ... here.
11694 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
11695 * sysdeps/sparc/sparc32/q_flt.c: ... here.
11696 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
11697 * sysdeps/sparc/sparc32/q_fne.c: ... here.
11698 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
11699 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
11700 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
11701 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
11702 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
11703 * sysdeps/sparc/sparc32/q_mul.c: ... here.
11704 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
11705 * sysdeps/sparc/sparc32/q_neg.c: ... here.
11706 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
11707 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
11708 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
11709 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
11710 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
11711 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
11712 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
11713 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
11714 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
11715 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
11716 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11717 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11718 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11719 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11720 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11721 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11722 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11723 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11724 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11725 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11726 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11727 * sysdeps/sparc/sparc32/q_util.c: ... here.
11728 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11729 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11730 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11731 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11732
c1dc1e1b
TMQMF
117332018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11734 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11735
11736 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11737 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11738 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11739 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11740
14186e8d
JM
117412018-05-24 Joseph Myers <joseph@codesourcery.com>
11742
11743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11744 powerpc/soft-fp.
11745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11746 Likewise.
11747 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11748 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11749
fb0e10b8
GG
117502018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11751
11752 [BZ #23171]
11753 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11754 double version.
11755
1dfeb17e
JM
117562018-05-23 Joseph Myers <joseph@codesourcery.com>
11757
11758 * sysdeps/sh/Implies: Remove sh/soft-fp.
11759 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11760 * sysdeps/sh/sfp-machine.h: ... here.
11761
727b38df
L
117622018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11763
11764 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11765 (__mempcpy_erms): Skip zero length.
11766 (__memmove_erms): Likewise.
11767 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11768 (__memset_erms): Likewise.
11769
2834fb46
JM
117702018-05-23 Joseph Myers <joseph@codesourcery.com>
11771
11772 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11773 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11774 Add functions moved from ....
11775 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11776 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11777 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11778 from ....
11779 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11780 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11781 * sysdeps/alpha/e_sqrtl.c: ... here.
11782 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11783 * sysdeps/alpha/local-soft-fp.h: ... here.
11784 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11785 * sysdeps/alpha/ots_add.c: ... here.
11786 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11787 * sysdeps/alpha/ots_cmp.c: ... here.
11788 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11789 * sysdeps/alpha/ots_cmpe.c: ... here.
11790 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11791 * sysdeps/alpha/ots_cvtqux.c: ... here.
11792 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11793 * sysdeps/alpha/ots_cvtqx.c: ... here.
11794 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11795 * sysdeps/alpha/ots_cvttx.c: ... here.
11796 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11797 * sysdeps/alpha/ots_cvtxq.c: ... here.
11798 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11799 * sysdeps/alpha/ots_cvtxt.c: ... here.
11800 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11801 * sysdeps/alpha/ots_div.c: ... here.
11802 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11803 * sysdeps/alpha/ots_mul.c: ... here.
11804 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11805 * sysdeps/alpha/ots_nintxq.c: ... here.
11806 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11807 * sysdeps/alpha/ots_sub.c: ... here.
11808 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11809 * sysdeps/alpha/sfp-machine.h: ... here.
11810
7f9f1ecb
FW
118112018-05-23 Florian Weimer <fweimer@redhat.com>
11812
11813 [BZ #19728]
11814 [BZ #19729]
11815 [BZ #22247]
11816 CVE-2016-6261
11817 CVE-2016-6263
11818 CVE-2017-14062
11819 Switch to extern IDNA implementation (libidn2).
11820 * libidn: Remove subdirectory.
11821 * LICENSES: Do not mention licensing conditions for the removed
11822 libidn code.
11823 * config.h.in (HAVE_LIBIDN): Remove.
11824 * include/dlfcn.h (__libc_dlopen): Update comment.
11825 * include/idna.h: Remove file.
11826 * inet/Makefile (routines): Add idna.
11827 (tests-static, tests-internal): Add tst-idna_name_classify.
11828 (LOCALES): Generate locales for tests.
11829 (tst-idna_name_classify.out): Depend on generated locales.
11830 * inet/idna_name_classify.c: New file.
11831 * inet/tst-idna_name_classify.c: Likewise.
11832 * inet/net-internal.h (__idna_to_dns_encoding)
11833 (__idna_from_dns_encoding): Declare.
11834 * inet/net-internal.h (enum idna_name_classification): Define.
11835 (__idna_name_classify): Declare.
11836 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11837 __idna_from_dns_encoding.
11838 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11839 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11840 name as a fallback in case of encoding errors.
11841 (getnameinfo): Use DEPRECATED_NI_IDN.
11842 * inet/idna.c: New file.
11843 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11844 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11845 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11846 (modules-names): Add tst-no-libidn2.
11847 (extra-test-objs): Add tst-no-libidn2.os.
11848 (LDFLAGS-tst-no-libidn2.so): Set soname.
11849 (LOCALES): Set, and generate locales.
11850 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11851 (tst-resolv-ai_idn-latin1): Likewise.
11852 (tst-resolv-ai_idn-nolibidn2): Likewise.
11853 (tst-resolv-ai_idn.out): Depend on locales.
11854 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11855 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11856 tst-no-libidn2.so.
11857 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11858 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11859 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11860 * resolv/tst-resolv-ai_idn.c: New file.
11861 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11862 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11863 * resolv/tst-no-libidn2.c: Likewise.
11864 * support/support_format_addrinfo.c (format_ai_flags): Do not
11865 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11866 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11867 (gaih_inet): Call __idna_to_dns_encoding and
11868 __idna_from_dns_encoding, and use the original (punycode) name if
11869 __idna_from_dns_encoding fails due to an encoding error.
11870 (getaddrinfo): Use DEPRECATED_AI_IDN.
11871 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11872 * sysdeps/unix/inet/configure: Remove file.
11873 * sysdeps/unix/inet/configure.ac: Likewise.
11874
5f7b841d
FW
118752018-05-23 Florian Weimer <fweimer@redhat.com>
11876
11877 Implement allocate_once.
11878 * include/allocate_once.h: New file.
11879 * misc/allocate_once.c: Likewise.
11880 * misc/tst-allocate_once.c: Likewise.
11881 * misc/Makefile (routines): Add allocate_once.
11882 (tests-internal): Add tst-allocate_once.
11883 (generated): Add tst-allocate_once.mtrace,
11884 tst-allocate_once-mem.out.
11885 (tests-special): Add tst-allocate_once-mem.out.
11886 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11887 (tst-allocate_once-mem.out): Call mtrace.
11888 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11889
ed983107
L
118902018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11891
11892 [BZ #23196]
11893 * string/test-memcpy.c (do_test1): New function.
11894 (test_main): Call it.
11895
9aaaab7c
AS
118962018-05-23 Andreas Schwab <schwab@suse.de>
11897
11898 [BZ #23196]
11899 CVE-2018-11237
11900 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11901 (L(preloop_large)): Save initial destination pointer in %r11 and
11902 use it instead of %rax after the loop.
11903 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11904
5c5c0dd7
JM
119052018-05-22 Joseph Myers <joseph@codesourcery.com>
11906
8f145c77
JM
11907 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11908 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11909 -I../soft-fp. Moved from ....
11910 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11911 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11912 * sysdeps/aarch64/e_sqrtl.c: ... here.
11913 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11914 * sysdeps/aarch64/sfp-machine.h: ... here.
11915
3d6302a5
JM
11916 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11917 -Wmaybe-uninitialized around access to fq[0].
11918 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11919 Likewise.
11920
5c5c0dd7
JM
11921 [BZ #18471]
11922 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11923 aliases for non-libc case of versioned symbols.
11924 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11925 (llseek): Define as compat symbol if
11926 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11927 with link warning.
11928 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11929 Make into a compat symbol, disabled for minimum symbol version
11930 GLIBC_2.28 and later.
11931 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11932
ed0d6988
FW
119332018-05-22 Florian Weimer <fweimer@redhat.com>
11934
11935 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11936 not add -mpreferred-stack-boundary=4.
11937 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11938 (stack-align-test-flags): Likewise.
11939 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11940 Likewise.
11941 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11942 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11943 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11944 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11945 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11946 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11947 (CFLAGS-tst-align2.c): Likewise.
11948
e28e9b1e
L
119492018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11950
11951 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
11952 (index_arch_Prefer_FSRM): Likewise.
11953 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11954 Also check Prefer_FSRM.
11955 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
11956 Also return OPTIMIZE (erms) for Prefer_FSRM.
11957
1af30adc
L
119582018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11959
11960 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
11961 (index_cpu_FSRM): Likewise.
11962 (reg_FSRM): Likewise.
11963
78274dc8
JM
119642018-05-18 Joseph Myers <joseph@codesourcery.com>
11965
7c67e6e8
JM
11966 * math/gen-tgmath-tests.py: Import sys.
11967 (Tests.__init__): Initialize macros_seen.
11968 (Tests.add_tests): Add macro to macros_seen. Only generate tests
11969 if requested to do so for this macro.
11970 (Tests.add_all_tests): Take argument for macro for which to
11971 generate tests.
11972 (Tests.check_macro_list): New function.
11973 (main): Handle check-list argument and argument specifying macro
11974 for which to generate tests.
11975 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
11976 [PYTHON] (tgmath3-macro-tests): Likewise.
11977 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
11978 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
11979 not test-tgmath3.c.
11980 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11981 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11982 to CFLAGS.
11983 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11984 [PYTHON] ($(foreach
11985 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11986 rule.
11987 [PYTHON] (tests-special): Add
11988 $(objpfx)test-tgmath3-macro-list.out.
11989 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11990
ebc129fd
JM
11991 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11992 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11993 later.
11994
78274dc8
JM
11995 [BZ #22639]
11996 * time/tzset.c (SECSPERDAY): Cast to time_t.
11997 * time/tst-y2039.c: New file.
11998 * time/Makefile (tests): Add tst-y2039.
11999
6f7fdeeb
LS
120002018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12001
12002 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12003 (PREFETCH_ONE_SET): Remove duplicate line.
12004
e363a91c
FW
120052018-05-17 Florian Weimer <fweimer@redhat.com>
12006
12007 * sysdeps/generic/math-type-macros-double.h: Include
12008 <math-nan-payload-double.h> after <libm-alias-double.h>.
12009 * sysdeps/generic/math-type-macros-float.h: Include
12010 <math-nan-payload-float.h> after <libm-alias-float.h>.
12011 * sysdeps/generic/math-type-macros-float128.h: Include
12012 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
12013 * sysdeps/generic/math-type-macros-ldouble.h: Include
12014 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
12015
dae6c43c
AS
120162018-05-17 Andreas Schwab <schwab@suse.de>
12017
12018 * resolv/res_send.c (__res_context_send): Don't set errno when
12019 returing error after malloc failure.
12020
0068c085
L
120212018-05-17 H.J. Lu <hongjiu.lu@intel.com>
12022
12023 * nptl/allocatestack.c (allocate_stack): Remove the
12024 !__ASSUME_PRIVATE_FUTEX paths.
12025 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
12026 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12027 Likewise.
12028 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
12029 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12030 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12031 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12032 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
12033 !__ASSUME_PRIVATE_FUTEX path.
12034 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
12035 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
12036 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12037 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
12038 !__ASSUME_PRIVATE_FUTEX macros.
12039 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12040 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12041 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12042 * sysdeps/unix/sysv/linux/kernel-features.h
12043 (__ASSUME_PRIVATE_FUTEX): Removed.
12044
632a6cbe
JM
120452018-05-17 Joseph Myers <joseph@codesourcery.com>
12046
12047 * math/Makefile (libm-narrow-fns): Add div.
12048 (libm-test-funcs-narrow): Likewise.
12049 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
12050 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
12051 * math/gen-auto-libm-tests.c (test_functions): Add div.
12052 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
12053 (NARROW_DIV_ROUND_TO_ODD): Likewise.
12054 (NARROW_DIV_TRIVIAL): Likewise.
12055 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
12056 macro.
12057 (__ddivl): Likewise.
12058 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
12059 ddiv.
12060 (CFLAGS-nldbl-ddiv.c): New variable.
12061 (CFLAGS-nldbl-fdiv.c): Likewise.
12062 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12063 __nldbl_ddivl.
12064 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
12065 prototype.
12066 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
12067 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
12068 * math/auto-libm-test-in: Add tests of div.
12069 * math/auto-libm-test-out-narrow-div: New generated file.
12070 * math/libm-test-narrow-div.inc: New file.
12071 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
12072 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
12073 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
12074 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
12075 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
12076 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
12077 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
12078 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
12079 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
12080 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
12081 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
12082 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
12083 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
12084 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
12085 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
12086 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
12087 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
12088 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
12089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12090 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12091 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12092 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12093 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12094 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12095 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12096 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12097 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12098 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12099 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12100 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12101 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12102 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12107 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12108 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12109 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12110 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12111 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12112 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12113 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12114 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12115
8c78faa9
AZ
121162018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12117
12118 [BZ #23178]
12119 * nscd/nscd-client.h (sendfileall): Remove prototype.
12120 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
12121 (handle_request): Use writeall instead of sendfileall.
12122 * nscd/aicache.c (addhstaiX): Likewise.
12123 * nscd/grpcache.c (cache_addgr): Likewise.
12124 * nscd/hstcache.c (cache_addhst): Likewise.
12125 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12126 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
12127 * nscd/pwdcache.c (cache_addpw): Likewise.
12128 * nscd/servicescache.c (cache_addserv): Likewise.
12129 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
12130 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
12131 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
12132 Remove define.
12133
04958880
L
121342018-05-16 H.J. Lu <hongjiu.lu@intel.com>
12135
12136 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
12137 Include <string/strncat.c>.
12138 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
12139 alias.
12140 (__GI___strncat): New hidden alias.
12141
c9992d13
JM
121422018-05-16 Joseph Myers <joseph@codesourcery.com>
12143
12144 * sysdeps/mips/mips32/libm-test-ulps: Update.
12145 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12146
2afece36
FW
121472018-05-16 Florian Weimer <fweimer@redhat.com>
12148
12149 * support/Makefile (libsupport-routines): Add support_quote_blob,
12150 support_test_compare_blob.
12151 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
12152 * support/check.h (TEST_COMPARE_BLOB): Define.
12153 (support_test_compare_blob): Declare.
12154 * support/support.h (support_quote_blob): Declare.
12155 * support/support_quote_blob.c: New file.
12156 * support/support_test_compare_blob.c: Likewise.
12157 * support/tst-support_quote_blob.c: Likewise.
12158 * support/tst-test_compare_blob.c: Likewise.
12159
9761bf4d
FW
121602018-05-16 Florian Weimer <fweimer@redhat.com>
12161
12162 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
12163 of <strtod_nan_double.h>.
12164 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
12165 instead of SET_MANTISSA.
12166 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
12167 of include <strtod_nan_float.h>.
12168 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
12169 instead of <strtod_nan_ldouble.h>.
12170 * stdlib/strtod_nan_double.h: Move to ...
12171 * sysdeps/generic/math-nan-payload-double.h: ... here.
12172 (FLOAT): Remove definition.
12173 (SET_MANTISSA): Rename to ...
12174 (SET_NAN_PAYLOAD): ... this.
12175 * stdlib/strtod_nan_float.h: Move to ...
12176 * sysdeps/generic/math-nan-payload-float.h: ... here.
12177 (FLOAT): Remove definition.
12178 (SET_MANTISSA): Rename to ...
12179 (SET_NAN_PAYLOAD): ... this.
12180 * sysdeps/generic/math-type-macros-double.h: Include
12181 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
12182 instead of <math-svid-compat.h>.
12183 * sysdeps/generic/math-type-macros-float.h: Include
12184 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
12185 instead of <math-svid-compat.h>.
12186 * sysdeps/generic/math-type-macros-float128.h: Include
12187 <math-nan-payload-float128.h>.
12188 * sysdeps/generic/math-type-macros-ldouble.h: Include
12189 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
12190 instead of <math-svid-compat.h>.
12191 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
12192 check for definition.
12193 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
12194 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
12195 Include <ieee754_float128.h>.
12196 (FLOAT): Remove definition.
12197 (SET_MANTISSA): Rename to ...
12198 (SET_NAN_PAYLOAD): ... this.
12199 * sysdeps/ieee754/float128/strtof128_nan.c: Include
12200 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
12201 Do not include <float128_private.h>.
12202 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
12203 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
12204 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
12205 (FLOAT): Remove definition.
12206 (SET_MANTISSA): Rename to ...
12207 (SET_NAN_PAYLOAD): ... this.
12208 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
12209 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
12210 (FLOAT): Remove definition.
12211 (SET_MANTISSA): Rename to ...
12212 (SET_NAN_PAYLOAD): ... this.
12213 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
12214 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
12215 (FLOAT): Remove definition.
12216 (SET_MANTISSA): Rename to ...
12217 (SET_NAN_PAYLOAD): ... this.
12218 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
12219 of "../stdlib/strtod_nan_double.h".
12220 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
12221 of "../stdlib/strtod_nan_float.h".
12222 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
12223 instead of "../stdlib/strtod_nan_ldouble.h".
12224 * manual/arith.texi (Parsing of Floats): Adjust comment.
12225
69a01461
JM
122262018-05-16 Joseph Myers <joseph@codesourcery.com>
12227
12228 * math/Makefile (libm-narrow-fns): Add mul.
12229 (libm-test-funcs-narrow): Likewise.
12230 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
12231 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
12232 * math/gen-auto-libm-tests.c (test_functions): Add mul.
12233 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
12234 (NARROW_MUL_ROUND_TO_ODD): Likewise.
12235 (NARROW_MUL_TRIVIAL): Likewise.
12236 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
12237 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
12238 macro.
12239 (__dmull): Likewise.
12240 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
12241 dmul.
12242 (CFLAGS-nldbl-dmul.c): New variable.
12243 (CFLAGS-nldbl-fmul.c): Likewise.
12244 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12245 __nldbl_dmull.
12246 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
12247 prototype.
12248 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
12249 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
12250 * math/auto-libm-test-in: Add tests of mul.
12251 * math/auto-libm-test-out-narrow-mul: New generated file.
12252 * math/libm-test-narrow-mul.inc: New file.
12253 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
12254 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
12255 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
12256 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
12257 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
12258 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
12259 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
12260 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
12261 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
12262 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
12263 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
12264 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
12265 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
12266 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
12267 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
12268 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
12269 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
12270 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
12271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12272 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12273 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12274 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12275 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12276 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12277 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12278 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12279 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12280 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12281 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12282 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12283 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12284 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12289 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12290 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12291 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12292 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12293 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12294 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12295 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12296 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12297
a15529fd
L
122982018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12299
12300 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12301 with *%eax in call.
12302
98ee36c7
L
123032018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12304
12305 * sysdeps/i386/ldsodefs.h: Removed.
12306 * sysdeps/x86_64/ldsodefs.h: Moved to ...
12307 * sysdeps/x86/ldsodefs.h: This.
12308 (La_i86_regs): New.
12309 (La_i86_retval): Likewise.
12310 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
12311 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
12312
e322ec32
L
123132018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12314
12315 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
12316 unnecessary testl.
12317
0937e209
AM
123182018-05-13 Alan Modra <amodra@gmail.com>
12319
12320 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
12321 R_PARISC_TLS_DTPOFF32 reloc addend.
12322
5db7d705
TMQMF
123232018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12324
12325 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
12326 * math/math.h: Restrict the prototype definition for the functions
12327 issignaling(_Float128) and iszero(_Float128); and template
12328 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
12329 __HAVE_FLOAT128_UNLIKE_LDBL.
12330 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
12331 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12332 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
12333 __f128() constants; define the type _Float128 as long double;
12334 and reuse long double in __CFLOAT128.
12335
b4d5b8b0
JM
123362018-05-11 Joseph Myers <joseph@codesourcery.com>
12337
12338 * sysdeps/generic/math_private.h: Do not include
12339 <math-barriers.h>.
12340 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
12341 <math_private.h>.
12342 * math/fromfp.h: Include <math-barriers.h>.
12343 * math/math-narrow.h: Likewise.
12344 * math/s_nextafter.c: Likewise.
12345 * math/s_nexttowardf.c: Likewise.
12346 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12347 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12348 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12349 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12350 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12351 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12352 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12353 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12354 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12355 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12356 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12357 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12358 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12359 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12360 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12361 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12362 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12363 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12364 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12365 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12366 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12367 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12368 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12369 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12370 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12371 * sysdeps/ieee754/k_standardl.c: Likewise.
12372 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12373 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12374 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12375 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12376 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12377 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12378 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12379 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12380 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12381 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12382 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12383 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12384 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12385 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12386 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12387 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12388 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12389 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12390 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12391 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12392 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
12393 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
12394
fc79706a
FW
123952018-05-11 Florian Weimer <fweimer@redhat.com>
12396
12397 Use 64-bit epoch values in the time zone file parser.
12398 * include/time.h (internal_time_t): Define.
12399 (__tzfile_compute): Use it.
12400 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12401 member.
12402 (transitions): Switch to internal_time_t.
12403 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12404 types.
12405 (__tzfile_compute): Use internal_time_t for timer argument. Check
12406 for truncation before calling __offtime.
12407
89aacb51
FW
124082018-05-11 Florian Weimer <fweimer@redhat.com>
12409
12410 [BZ #23166]
12411 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
12412 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
12413 Likewise.
12414 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
12415 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
12416 export without --enable-obsolete-rpc.
12417 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
12418 symbol. This should not have been exported, ever.
12419
bb066cb8
RL
124202018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
12421
12422 [BZ #23152]
12423 * localedata/locales/gd_GB (abmon): Fix typo in May:
12424 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
12425
70c97f84
SP
124262018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12427
db725a45
SP
12428 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12429 Use multiple registers to copy data in loop tail.
12430
70c97f84
SP
12431 * sysdeps/aarch64/multiarch/memmove_falkor.S
12432 (__memmove_falkor): Use multiple registers to move data in
12433 loop tail.
12434
8f5b00d3
JM
124352018-05-10 Joseph Myers <joseph@codesourcery.com>
12436
12437 * math/math-underflow.h: New file.
12438 * sysdeps/generic/math_private.h: Do not include <float.h>.
12439 (fabs_tg): Remove macro. Moved to math-underflow.h.
12440 (min_of_type_f): Likewise.
12441 (min_of_type_): Likewise.
12442 (min_of_type_l): Likewise.
12443 (min_of_type_f128): Likewise.
12444 (min_of_type): Likewise.
12445 (math_check_force_underflow): Likewise.
12446 (math_check_force_underflow_nonneg): Likewise.
12447 (math_check_force_underflow_complex): Likewise.
12448 * math/e_exp2_template.c: Include <math-underflow.h>.
12449 * math/k_casinh_template.c: Likewise.
12450 * math/s_catan_template.c: Likewise.
12451 * math/s_catanh_template.c: Likewise.
12452 * math/s_ccosh_template.c: Likewise.
12453 * math/s_cexp_template.c: Likewise.
12454 * math/s_clog10_template.c: Likewise.
12455 * math/s_clog_template.c: Likewise.
12456 * math/s_csin_template.c: Likewise.
12457 * math/s_csinh_template.c: Likewise.
12458 * math/s_csqrt_template.c: Likewise.
12459 * math/s_ctan_template.c: Likewise.
12460 * math/s_ctanh_template.c: Likewise.
12461 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12462 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12463 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12464 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12465 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12466 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12467 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12468 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12469 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12470 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12471 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12472 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12473 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12474 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12475 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12476 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12477 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12478 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12479 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12480 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12481 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12482 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12483 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12484 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12485 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12486 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12487 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12488 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12489 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12490 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12491 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12492 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12493 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12494 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12495 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12496 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12497 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12498 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12499 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12500 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12501 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12502 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12503 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12504 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12505 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12506 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12507 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12508 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12509 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12510 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12511 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12512 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12513 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12514 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12515 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12516 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12517 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12518 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12519 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12520 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12521 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12522 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12523 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12524 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12525 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12526 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12527 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12528 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12529 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12530 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12531 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12532 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12533 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12534 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
12535 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12536 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12537 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12538 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12539 * sysdeps/x86/fpu/powl_helper.c: Likewise.
12540 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
12541 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
12542 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12543 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12544 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12545
9ed2e15f
JM
125462018-05-09 Joseph Myers <joseph@codesourcery.com>
12547
12548 * sysdeps/generic/math-barriers.h: New file.
12549 * sysdeps/generic/math_private.h [!math_opt_barrier]
12550 (math_opt_barrier): Move to math-barriers.h.
12551 [!math_opt_barrier] (math_force_eval): Likewise.
12552 * sysdeps/aarch64/fpu/math-barriers.h: New file.
12553 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
12554 math-barriers.h.
12555 (math_force_eval): Likewise.
12556 * sysdeps/alpha/fpu/math-barriers.h: New file.
12557 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
12558 math-barriers.h.
12559 (math_force_eval): Likewise.
12560 * sysdeps/x86/fpu/math-barriers.h: New file.
12561 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
12562 math-barriers.h.
12563 (math_force_eval): Likewise.
12564 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
12565 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
12566 multiple-include guard for rename.
12567 * sysdeps/powerpc/fpu/math-barriers.h: New file.
12568 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12569 math-barriers.h.
12570 (math_force_eval): Likewise.
12571
5460617d
PP
125722018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12573
12574 [BZ #22786]
43d4f3d5 12575 CVE-2018-11236
5460617d
PP
12576 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12577 computation.
12578 * stdlib/Makefile (test-bz22786): New test.
12579 * stdlib/test-bz22786.c: New test.
12580
aaee3cd8
JM
125812018-05-09 Joseph Myers <joseph@codesourcery.com>
12582
12583 * include/math-narrow-eval.h: New file. Contents moved from ....
12584 * sysdeps/generic/math_private.h: ... here.
12585 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12586 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12587 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12588 * stdlib/strtod_l.c: Likewise.
12589 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12590 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12591 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12592 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12593 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12594 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12595 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12596 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12597 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12598 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12599 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12600 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12601 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12602 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12603 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12604 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12605 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12606 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12607 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12608 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12609 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12610 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12611 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12612 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12613 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12614 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12615 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12616 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12617 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12618
0555c477
AS
126192018-05-08 Andreas Schwab <schwab@suse.de>
12620
12621 * sysdeps/nptl/internaltypes.h: Fix comment.
12622
50d7d351
L
126232018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12624
12625 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12626 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12627 hidden.
12628
543477f7
SP
126292018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12630
12631 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12632 of I into loop header.
12633 * benchtests/bench-memmove-walk.c
12634 (test_main): Likewise.
12635
126362018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
12637
12638 Revert:
12639 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12640 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12641
0065aaaa
PP
126422018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12643
12644 [BZ #20419]
12645 * elf/dl-load.c (open_verify): Fix stack overflow.
12646 * elf/Makefile (tst-big-note): New test.
12647 * elf/tst-big-note-lib.S: New.
12648 * elf/tst-big-note.c: New.
12649
b289cd9d
JM
126502018-05-04 Joseph Myers <joseph@codesourcery.com>
12651
12652 * scripts/abilist.awk: Ignore absolute symbols.
12653 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12654 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12655 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12656 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12657 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12658 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12659 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12660 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12661 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12662 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12663 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12664 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12665 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12666 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12667 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12668 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12669 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12670 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12671 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12672 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12673 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12674 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12675 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12676 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12677 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12678 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12679 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
12680 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
12681 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12682 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
12683 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
12684 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12685 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
12686 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12687 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
12688 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
12689 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
12690 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
12691 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12692 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
12693 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
12694 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12695 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
12696 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
12697 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12698 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
12699 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12700 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
12701 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
12702 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
12703 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
12704 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12705 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
12706 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
12707 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12708 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
12709 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
12710 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12711 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
12712 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12713 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
12714 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
12715 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
12716 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12717 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12718 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12719 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12720 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12721 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12722 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12723 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12724 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12725 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12726 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12727 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12728 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12729 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12730 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12731 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12732 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12733 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12734 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12735 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12736 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12737 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12738 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12739 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12740 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12741 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12742 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12743 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12744 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12745 Likewise.
12746 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12747 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12748 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12749 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12750 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12751 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12752 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12753 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12754 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12755 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12756 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12757 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12758 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12759 Likewise.
12760 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12761 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12762 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12763 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12764 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12765 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12766 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12767 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12768 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12769 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12770 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12771 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12772 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12773 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12774 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12775 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12776 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12777 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12778 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12779 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12780 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12781 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12782 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12783 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12784 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12785 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12786 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12787 Likewise.
12788 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12789 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12790 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12791 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12792 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12793 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12794 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12795 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12796 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12797 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12798 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12799 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12800 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12801 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12802 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12803 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12804 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12805 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12806 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12807 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12808 Likewise.
12809 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12810 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12811 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12812 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12813 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12814 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12815 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12816 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12817 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12818 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12819 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12820 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12821 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12822 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12823 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12824 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12825 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12826 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12827 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12828 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12829 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12830 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12831 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12832 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12833 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12834 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12835 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12836 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12841 Likewise.
12842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12847 Likewise.
12848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12849 Likewise.
12850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12852 Likewise.
12853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12855 Likewise.
12856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12857 Likewise.
12858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12861 Likewise.
12862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12863 Likewise.
12864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12865 Likewise.
12866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12870 Likewise.
12871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12877 Likewise.
12878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12880 Likewise.
12881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12882 Likewise.
12883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12884 Likewise.
12885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12886 Likewise.
12887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12890 Likewise.
12891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12892 Likewise.
12893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12894 Likewise.
12895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12896 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12897 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12898 Likewise.
12899 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12900 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12901 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12902 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12903 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12904 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12905 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12906 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12907 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12908 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12909 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12910 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12911 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12912 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12913 Likewise.
12914 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12915 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12916 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12917 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12918 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12919 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12920 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12921 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12922 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12923 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12924 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12925 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12926 Likewise.
12927 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12928 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12929 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12930 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12931 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12932 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12933 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12934 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12935 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12936 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12937 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12938 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12939 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12940 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12941 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12942 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12943 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12944 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12945 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12946 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12947 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12948 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
12949 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
12950 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12951 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12952 Likewise.
12953 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
12954 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12955 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
12956 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
12957 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12958 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
12959 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12960 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
12961 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
12962 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
12963 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
12964 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12965 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12966 Likewise.
12967 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
12968 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12969 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
12970 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
12971 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12972 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
12973 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12974 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
12975 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
12976 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
12977 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
12978 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12979 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
12980 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12981 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12982 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12983 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12984 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12985 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12986 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12987 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12988 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12989 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12990 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12991 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12992 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12993 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12994 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12995 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12996 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12997 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12998 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12999 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
13000 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13001 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
13002 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
13003 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
13004 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
13005
16609018
SL
130062018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
13007
13008 [BZ #23137]
13009 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
13010 Use atomic_load_acquire to load __tid.
13011
556f5c46
L
130122018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13013
13014 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
13015 Restore the pointer into %rdx, after syscall and use %rdx,
13016 instead of %rsi, to restore context.
13017
8b8f32b2
L
130182018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13019
13020 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
13021 Pop the pointer into %rdx after syscall and use %rdx, instead
13022 of %rsi, to restore context.
13023
d6cc1829
L
130242018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13025
13026 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
13027 handlers after setjmp.
13028 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
13029 defined.
13030 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
13031 <libc-pointer-arith.h>.
13032 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
13033 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
13034 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
13035 _JUMP_BUF_SIGSET_BITS_PER_WORD.
13036 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
13037 * sysdeps/x86/__longjmp_cancel.S: New file.
13038 * sysdeps/x86/longjmp.c: Likewise.
13039 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
13040
cf2478d5
AZ
130412018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13042
13043 * NEWS: Add ustat.h deprecation entry.
13044 * bits/ustat.h: Remove file.
13045 * misc/sys/ustat.h: Likewise.
13046 * misc/ustat.h: Likewise.
13047 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
13048 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
13049 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
13050 compatibility mode.
13051 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
13052 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
13053 generic Linux implementation.
13054
dc115e1c
TMQMF
130552018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13056
13057 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
13058 * math/w_expl_compat.c: Likewise.
13059 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
13060
340d9652
RN
130612018-04-30 Raymond Nicholson <rain1@airmail.cc>
13062
13063 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13064
c57bf7c1
AZ
130652018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13066
13067 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
13068 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
13069 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
13070 Remove.
13071 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
13072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13073 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13074 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
13075 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
13076 and SYSCALL_LL64.
13077
06135c33
TMQMF
130782018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13079
33927914
TMQMF
13080 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
13081
06135c33
TMQMF
13082 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
13083 * math/w_asin_template.c: Likewise.
13084 * math/w_atanh_template.c: Likewise.
13085
3a33b069
GG
130862018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13087
13088 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
13089 to powerpc/powerpc64/be for big-endian.
13090 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
13091 little-endian.
13092
13093 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
13094 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
13095 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
13096 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
13097 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13098 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
13099 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
13100 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
13101 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
13102 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13103 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
13104 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
13105 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
13106 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
13107 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
13108 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
13109 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
13110 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
13111 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
13112 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
13113 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
13114 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13115 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
13116 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
13117 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
13118 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13119 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
13120 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
13121 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
13122 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13123 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13124 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13125
13126 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
13127 adjusted to imply powerpc64 and older processors on powerpc64/be.
13128 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
13129 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
13130 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
13131 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
13132 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
13133 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
13134 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
13135 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
13136 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
13137 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
13138 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
13139 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
13140 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
13141 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
13142 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
13143 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
13144 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
13145 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
13146 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
13147 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
13148 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
13149 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
13150 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
13151 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
13152 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
13153 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
13154 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
13155 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
13156 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
13157 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
13158 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
13159
13160 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
13161 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
13162 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
13163 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
13164
13165 * sysdeps/powerpc/powerpc64/be/Implies: New file.
13166 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
13167 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
13168 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
13169
13170 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
13171 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
13172 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
13173 * sysdeps/powerpc/powerpc64le/configure: Likewise.
13174 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
13175 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
13176 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
13177 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
13178 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
13179 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
13180 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
13181
13182 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
13183 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
13184 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
13185 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
13186 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
13187 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
13188 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
13189 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
13190 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
13191 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
13192 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
13193
13194 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
13195 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
13196 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
13197 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
13198 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
13199 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
13200 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
13201 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
13202 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
13203 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
13204 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
13205 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
13206
13207 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
13208 and adjusted to imply olders processors.
13209 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
13210 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
13211 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
13212 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
13213 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
13214 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
13215 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
13216 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
13217 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
13218 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
13219 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
13220
13221 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
13222 powerpc64/le.
13223 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
13224 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
13225
13226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
13227 powerpc64le.
13228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
13229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
13230
13231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
13232 powerpc64/be.
13233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
13235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
13236
13237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
13238 powerpc64 and adjusted.
13239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
13240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
13241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
13242 Likewise.
13243
a3fb6b6b
JM
132442018-04-27 Joseph Myers <joseph@codesourcery.com>
13245
13246 * sysdeps/tile: Remove.
13247 * sysdeps/unix/sysv/linux/tile: Likewise.
13248 * README (tilegx-*-linux-gnu): Remove from list of supported
13249 configurations.
13250 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
13251 contribution of support for generic Linux kernel syscall
13252 interface.
13253 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
13254 tilegx configurations.
13255 (Config.install_linux_headers): Do not handle tile.
13256 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
13257 in comment.
13258 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
13259 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
13260 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13261 conditional undefine and redefine.
13262 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
13263 in comment.
13264 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13265 conditional undefine and redefine.
13266
7a6f7478
AJ
132672018-04-26 Aurelien Jarno <aurelien@aurel32.net>
13268
13269 * signal/tst-sigaction.c: New file to test BZ #23069.
13270 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
13271
81b49e96
TMQMF
132722018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13273
13274 [BZ #22766]
13275 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
13276 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
13277 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
13278 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13279
7d80f48e
AZ
132802018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13281
13282 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
13283 _DIRENT_MATCHES_DIRENT64 is not defined.
13284 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
13285 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
13286 is defined.
13287 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
13288 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
13289
42a2bf58
JM
132902018-04-25 Joseph Myers <joseph@codesourcery.com>
13291
13292 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
13293 version to GCC 8 branch.
13294
9320ca88
JM
132952018-04-24 Joseph Myers <joseph@codesourcery.com>
13296
5e14bb97
JM
13297 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
13298 (check_no_hidden): Use type of original function when declaring
13299 alias.
13300
9320ca88
JM
13301 * sysdeps/unix/sysv/linux/sys/ptrace.h
13302 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
13303 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
13304 (struct __ptrace_seccomp_metadata): New type.
13305 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13306 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13307 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
13308 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13309 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
13310 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13311 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13312 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13313 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13314 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13315 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13316 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13317 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
13318 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13319 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
13320 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13321
af7e376b
AZ
133222018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13323
13324 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
13325 defined.
13326 * dirent/versionsort.c (versionsort): Likewise.
13327 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
13328 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
13329 * dirent/versionsort64.c (versionsort64): Likewise.
13330 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
13331 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
13332 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
13333 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
13334 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
13335 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
13336 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
13337 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13338 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
13339 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
13340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
13341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
13342 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
13343 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
13344
da5e0361
JM
133452018-04-23 Joseph Myers <joseph@codesourcery.com>
13346
13347 * elf/elf.h (NT_PPC_PKEY): New macro.
13348
ea76691a
DSN
133492018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
13350
13351 [BZ #23094]
13352 * localedata/locales/hr_HR: fix thousands_sep and
13353 mon_thousands_sep
13354
573963e3
JM
133552018-04-20 Joseph Myers <joseph@codesourcery.com>
13356
13357 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
13358 (XTABS): Define to TAB3.
13359
c0123b3b
AZ
133602018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13361
0900a849
AZ
13362 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13363
c0123b3b
AZ
13364 * dirent/scandir-tail-common.c: New file.
13365 * dirent/scandir-tail.c: Use scandir-tail-common.c.
13366 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
13367 * dirent/scandir.c: Use scandir-tail-common.c.
13368 * dirent/scandirat.c: Likewise.
13369 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
13370 * dirent/scandir64.c (scandir64): Always build and alias to scandir
13371 if _DIRENT_MATCHES_DIRENT64 is defined.
13372 * dirent/scandirat64.c (scandirat64): Likewise.
13373 * include/dirent.h (__scandir_tail): Only define iff
13374 _DIRENT_MATCHES_DIRENT64 is not defined.
13375 (__scandir64_tail): Define regardless.
13376 (__scandirat, scandirat64): Remove libc_hidden_proto.
13377 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
13378 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
13379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
13380 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
13381 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13382 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
13383 * sysdeps/unix/sysv/linux/scandir64.c: New file.
13384
458b94f6
JM
133852018-04-20 Joseph Myers <joseph@codesourcery.com>
13386
13387 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
13388 New macro.
13389 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13390 Increase to 24.
13391 (_dl_aarch64_cap_flags): Add asimdfhm.
13392
9f0437e8
CLT
133932018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
13394
13395 * sysdeps/nios2/libm-test-ulps: Update.
13396
298d0e31
AZ
133972018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13398
50511ca4
AZ
13399 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13400 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13401
298d0e31
AZ
13402 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13403 requirements.
13404 (_DIRENT_MATCHES_DIRENT64): Undef
13405 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
13406 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
13407 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
13408 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
13409 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
13410 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
13411 use getdents64 syscalls as base.
13412 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
13413 symbol if required.
13414 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
13415 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13416 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
13417 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
13418 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
13419 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
13420 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
13421 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
13422 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13423 (__get_clockfreq_via_proc_openprom): Use __getdents64.
13424 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
13425
0085be14
SL
134262018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13427
13428 * scripts/test_printers_common.py (init_test): Disable lock elision.
13429
da796524
SL
134302018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13431
13432 * math/test-tgmath.c (count_double, count_float,
13433 count_ldouble, count_cdouble, count_cfloat,
13434 count_cldouble): Use volatile int.
13435
0dd25301
ST
134362018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13437
13438 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13439 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 13440 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
13441 i386-gnu.
13442 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13443 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13444 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13445 msqid_ds.msg_lrpid): Likewise.
13446 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13447 Likewise.
13448 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13449 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
13450 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13451 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13452 unsigned int.
13453 (struct statvfs64): Likewise.
f55a4fde
ST
13454 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13455 Likewise.
77b93390
ST
13456 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13457 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13458 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13459 instead of wait_queue.
13460 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13461 instead of vm_area_struct.
5cd2931a
ST
13462 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13463 struct sched_param definition to it.
e60c3f2b
ST
13464 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13465 * bits/types/struct_sched_param.h: New file.
13466 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13467 <bits/types/struct_sched_param.h> instead of <sched.h>.
13468 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
13469 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13470 generic version but include <bits/pthreadtypes.h> to make struct
13471 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
13472 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
13473 non-compliant.
a564872d
ST
13474 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
13475 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
13476 [__USE_XOPEN] (OFDEL): New macro.
13477 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 13478 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
13479 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
13480 prototypes.
13481 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
13482 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
13483 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
13484 non-compliant.
13485 * sysdeps/i386/sys/ucontext.h: Likewise.
13486 * sysdeps/m68k/sys/ucontext.h: Likewise.
13487 * sysdeps/mips/sys/ucontext.h: Likewise.
13488 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
13489 * sysdeps/mach/hurd/i386/Makefile
13490 (test-xfail-POSIX/fcntl.h/conform): Add.
13491 (test-xfail-POSIX/signal.h/conform): Add.
13492 (test-xfail-POSIX/semaphore.h/conform): Add.
13493 (test-xfail-POSIX/regex.h/conform): Add.
13494 (test-xfail-POSIX/aio.h/conform): Add.
13495 (test-xfail-POSIX/mqueue.h/conform): Add.
13496 (test-xfail-POSIX/sys/types.h/conform): Add.
13497 (test-xfail-UNIX98/fcntl.h/conform): Add.
13498 (test-xfail-UNIX98/netdb.h/conform): Add.
13499 (test-xfail-UNIX98/signal.h/conform): Add.
13500 (test-xfail-UNIX98/semaphore.h/conform): Add.
13501 (test-xfail-UNIX98/regex.h/conform): Add.
13502 (test-xfail-UNIX98/aio.h/conform): Add.
13503 (test-xfail-UNIX98/ftw.h/conform): Add.
13504 (test-xfail-UNIX98/mqueue.h/conform): Add.
13505 (test-xfail-UNIX98/netinet/in.h/conform): Add.
13506 (test-xfail-UNIX98/sys/wait.h/conform): Add.
13507 (test-xfail-UNIX98/sys/sem.h/conform): Add.
13508 (test-xfail-UNIX98/sys/uio.h/conform): Add.
13509 (test-xfail-UNIX98/sys/socket.h/conform): Add.
13510 (test-xfail-UNIX98/sys/types.h/conform): Add.
13511 (test-xfail-UNIX98/stdlib.h/conform): Add.
13512 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
13513 (test-xfail-POSIX2008/fcntl.h/conform): Add.
13514 (test-xfail-POSIX2008/netdb.h/conform): Add.
13515 (test-xfail-POSIX2008/signal.h/conform): Add.
13516 (test-xfail-POSIX2008/semaphore.h/conform): Add.
13517 (test-xfail-POSIX2008/regex.h/conform): Add.
13518 (test-xfail-POSIX2008/aio.h/conform): Add.
13519 (test-xfail-POSIX2008/mqueue.h/conform): Add.
13520 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
13521 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
13522 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
13523 (test-xfail-POSIX2008/sys/types.h/conform): Add.
13524 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
13525 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
13526 (test-xfail-XOPEN2K/netdb.h/conform): Add.
13527 (test-xfail-XOPEN2K/signal.h/conform): Add.
13528 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
13529 (test-xfail-XOPEN2K/regex.h/conform): Add.
13530 (test-xfail-XOPEN2K/aio.h/conform): Add.
13531 (test-xfail-XOPEN2K/ftw.h/conform): Add.
13532 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
13533 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
13534 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
13535 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
13536 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
13537 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
13538 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
13539 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
13540 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
13541 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
13542 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
13543 (test-xfail-XOPEN2K8/signal.h/conform): Add.
13544 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
13545 (test-xfail-XOPEN2K8/regex.h/conform): Add.
13546 (test-xfail-XOPEN2K8/aio.h/conform): Add.
13547 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
13548 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
13549 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
13550 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
13551 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
13552 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
13553 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
13554 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
13555 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
13556 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
13557 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
13558 i386-gnu.
13559 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
13560 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 13561
d6397de3
JM
135622018-04-18 Joseph Myers <joseph@codesourcery.com>
13563
13564 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
13565 --enable-obsolete for powerpc-linux-gnuspe.
13566
8323a902
ST
135672018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13568
3dc0814c 13569 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 13570 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 13571 prototypes.
c5896a45
ST
13572 * sysdeps/mach/include/mach.h: Likewise.
13573 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13574 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 13575
743b9c2a
AZ
135762018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13577
13578 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13579 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13580 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13581 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13582
326e74e7
AS
135832018-04-16 Andreas Schwab <schwab@suse.de>
13584
13585 [BZ #19527]
13586 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13587
a14d8acd
PM
135882018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13589
13590 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13591 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13592
a700e7cb
DD
135932018-04-12 DJ Delorie <dj@redhat.com>
13594
13595 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13596 version to 4.16.
13597
d8abfab7
SL
135982018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13599
13600 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13601 (struct kernel_sigaction): Use the same definition on 31bit as is used
13602 on 64bit.
13603
583a27d5
FW
136042018-04-09 Florian Weimer <fweimer@redhat.com>
13605
13606 [BZ #23037]
13607 * resolv/res_send.c (send_dg): Use designated initializers instead
13608 of assignment to zero-initialize other fields of struct mmsghdr.
13609
243f59e5
AZ
136102018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13611
942de61a
AZ
13612 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13613 __READDIR_ALIAS): Undefine after usage.
13614 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13615 __READDIR_R_ALIAS): Likewise.
13616 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13617 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13618 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13619 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13620 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13621 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13622 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13623 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13624 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13625 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13626 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13627 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13628 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13629 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13630 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13631 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13632 * sysdeps/unix/sysv/linux/readdir.c: New file.
13633 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13634 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13635 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13636
243f59e5
AZ
13637 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13638
690c3475
AS
136392018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13640
13641 * manual/charset.texi (Converting a Character): Fix typo.
13642
b4a5d26d
AZ
136432018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13644
bbc2062a
AZ
13645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13646
fa7c6199
AZ
13647 * sysdeps/arm/libm-test-ulps: Update.
13648
b4a5d26d
AZ
13649 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13650 as base implementation.
13651 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13652 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13653 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13654 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13655 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13656 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13657 remove unrequired definitions and update comments.
13658 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13659 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13660 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13661 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13662 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13663 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13664 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13665 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13666 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13667 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13668 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13669 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13670 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13671 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13672 and RESET_SA_RESTORER hooks.
13673
db9e55ff
SL
136742018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13675
13676 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13677
cf138b0c
FW
136782018-04-05 Florian Weimer <fweimer@redhat.com>
13679
13680 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
13681 integer overflow, memory leak on error, and indeterminate errno
13682 value. Add a null wide character to terminate the result string.
13683 * manual/charset.texi (Converting a Character): Mention embedded
13684 null bytes in the mbrtowc input string. Explain what happens in
13685 the -2 result case. Do not claim that mbrtowc is simple or
13686 obvious to use. Adjust the description of the code example. Use
13687 @code, not @var, for concrete variables.
13688
0f339252
FW
136892018-04-05 Florian Weimer <fweimer@redhat.com>
13690
13691 * manual/examples/mbstouwcs.c: New file.
13692 * manual/charset.texi (Converting a Character): Include it.
13693
e5f9508a
ST
136942018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13695
c120981d
ST
13696 * include/dirent.h (dirfd): Add hidden proto.
13697 * dirent/dirfd.c (dirfd): Add hidden def.
13698 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
13699 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 13700
b2fd61ca
TMQMF
137012018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13702
13703 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
13704 sin, cos and sincos to 1 ULP.
13705
10a446dd
MR
137062018-04-04 Maciej W. Rozycki <macro@mips.com>
13707
e7feec37
MR
13708 [BZ #19818]
13709 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
13710 symbols.
13711 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
13712 * elf/tst-absolute-sym.c: New file.
13713 * elf/tst-absolute-sym-lib.c: New file.
13714 * elf/tst-absolute-sym-lib.lds: New file.
13715 * elf/Makefile (tests): Add `tst-absolute-sym'.
13716 (modules-names): Add `tst-absolute-sym-lib'.
13717 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13718 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13719 ($(objpfx)tst-absolute-sym): New dependency.
13720
10a446dd
MR
13721 [BZ #19818]
13722 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13723 parameter.
13724 (SYMBOL_ADDRESS): New macro.
13725 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13726 SYMBOL_ADDRESS for symbol address calculation.
13727 * elf/dl-runtime.c (_dl_fixup): Likewise.
13728 (_dl_profile_fixup): Likewise.
13729 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13730 * elf/rtld.c (dl_main): Likewise.
13731 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13732 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13733 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13734 (elf_machine_rela): Likewise.
13735 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13736 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13737 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13738 (elf_machine_rela): Likewise.
13739 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13740 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13741 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13742 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13743 Likewise.
13744 (elf_machine_reloc): Likewise.
13745 (elf_machine_got_rel): Likewise.
13746 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13747 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13748 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13749 Likewise.
13750 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13751 Likewise.
13752 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13753 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13754 Likewise.
13755 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13756 Likewise.
13757 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13758 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13759 Likewise.
13760 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13761 Likewise.
13762 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13763 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13764
9185f86d
ZW
137652018-04-04 Zack Weinberg <zackw@panix.com>
13766
13767 * sysdeps/generic/internal-signals.h: Include signal.h,
13768 sigsetops.h, and stdbool.h.
13769 (__libc_signal_block_all): Actually block all signals.
13770 (__libc_signal_block_app): Likewise.
13771 (__libc_signal_restore_set): Actually restore the signal mask.
13772
b07367bc
FW
137732018-04-04 Florian Weimer <fweimer@redhat.com>
13774
13775 inet: Actually build and run tst-deadline.
13776 * inet/Makefile (tests-internal): Add tst-deadline and do not
13777 overwrite the variable.
13778 (tests-static-internal): Remove variable.
13779
f2652643
L
137802018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13781
13782 [BZ #22947]
13783 * bits/uio-ext.h (RWF_APPEND): New.
13784 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13785 * manual/llio.texi: Document RWF_APPEND.
13786 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13787 (RWF_SUPPORTED): Add RWF_APPEND.
13788
d2dc5467
AZ
137892018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13790
13791 [BZ #22391]
13792 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13793 check for internal nptl signals.
13794 * nptl/sigaction.c (__sigaction): Likewise.
13795 * signal/sigaddset.c (sigaddset): Likewise.
13796 * signal/sigdelset.c (sigdelset): Likewise.
13797 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13798 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13799 value.
13800 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13801 to filter out internal nptl signals.
13802 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13803 also check realtime signals using standard macros.
13804 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13805 __is_internal_signal, __libc_signal_block_all,
13806 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13807 * sysdeps/nptl/sigfillset.c: Remove file.
13808 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13809 Change return to bool.
13810 (__clear_internal_signals): Remove SIGTIMER clean since it is
13811 equal to SIGCANEL on Linux.
13812 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13813 signal set was constructed using standard functions.
13814
511ed56f
ST
138152018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13816
92846492
ST
13817 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13818 ifname is too long.
e8ef51b1
ST
13819 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13820 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
13821 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13822 hidden def.
13823 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
13824 * signal/sigaddset.c: Include <sigsetopts.h>.
13825 * signal/sigdelset.c: Likewise.
511ed56f 13826
e88ecbbf
WD
138272018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13828
13829 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13830 (__cos): Likewise.
13831 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13832 logic as sin and cos.
13833
aef3e255
WD
138342018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13835
13836 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13837 inputs. Return correct sign.
13838 (do_sincos): Remove small input check before do_sin, let do_sin set
13839 the sign.
13840 (__sin): Likewise.
13841 (__cos): Likewise.
13842
72f6e9a3
WD
138432018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13844
13845 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13846 (do_cos_slow): Likewise.
13847 (do_sin_slow): Likewise.
13848 (reduce_and_compute): Likewise.
13849 (slow): Likewise.
13850 (slow1): Likewise.
13851 (slow2): Likewise.
13852 (sloww): Likewise.
13853 (sloww1): Likewise.
13854 (sloww2): Likewise.
13855 (bslow): Likewise.
13856 (bslow1): Likewise.
13857 (bslow2): Likewise.
13858 (cslow2): Likewise.
13859
64909583
WD
138602018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13861
13862 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13863 (do_cos): Remove corp parameter and calculations.
13864 (do_sin): Likewise.
13865 (do_sincos): Remove cor variable.
13866 (__sin): Use do_sincos for huge inputs.
13867 (__cos): Likewise.
13868 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13869 (reduce_and_compute_sincos): Remove unused function.
13870
d9469deb
WD
138712018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13872
13873 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13874 reduce_sincos, improve accuracy to 136 bits.
13875 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13876 (__sin): Use improved reduction and simplified do_sincos calculation.
13877 (__cos): Likewise.
13878 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13879
7a5640f2
WD
138802018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13881
13882 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13883 (do_sincos_2): Likewise.
13884 (__sin): Remove middle range reduction case.
13885 (__cos): Likewise.
13886 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13887 reduction case.
13888
19a8b9a3
WD
138892018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13890
13891 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13892 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13893 inputs.
13894 (__cos): Likewise.
13895 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13896
f72aa11d
JM
138972018-04-03 Joseph Myers <joseph@codesourcery.com>
13898
13899 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 13900 version to 4.16
f72aa11d 13901
8e4754ed
AZ
139022018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13903
13904 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13905 Remove definitions.
13906 (opendir_oflags): Use O_DIRECTORY regardless.
13907 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13908 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13909
8e2666ea
ST
139102018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13911
13912 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13913 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13914 macros.
13915 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13916 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13917 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13918 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
13919 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13920 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 13921
ad2b41bf
ST
13922 * htl/Makefile: Bump licence to LGPL 2.1+.
13923 * htl/alloca_cutoff.c: Likewise.
13924 * htl/cthreads-compat.c: Likewise.
13925 * htl/lockfile.c: Likewise.
13926 * htl/pt-alloc.c: Likewise.
13927 * htl/pt-cancel.c: Likewise.
13928 * htl/pt-cleanup.c: Likewise.
13929 * htl/pt-create.c: Likewise.
13930 * htl/pt-dealloc.c: Likewise.
13931 * htl/pt-detach.c: Likewise.
13932 * htl/pt-exit.c: Likewise.
13933 * htl/pt-getattr.c: Likewise.
13934 * htl/pt-initialize.c: Likewise.
13935 * htl/pt-internal.h: Likewise.
13936 * htl/pt-join.c: Likewise.
13937 * htl/pt-self.c: Likewise.
13938 * htl/pt-setcancelstate.c: Likewise.
13939 * htl/pt-setcanceltype.c: Likewise.
13940 * htl/pt-sigmask.c: Likewise.
13941 * htl/pt-spin-inlines.c: Likewise.
13942 * htl/pt-testcancel.c: Likewise.
13943 * htl/pt-yield.c: Likewise.
13944 * htl/tests/test-1.c: Likewise.
13945 * htl/tests/test-10.c: Likewise.
13946 * htl/tests/test-11.c: Likewise.
13947 * htl/tests/test-12.c: Likewise.
13948 * htl/tests/test-13.c: Likewise.
13949 * htl/tests/test-14.c: Likewise.
13950 * htl/tests/test-15.c: Likewise.
13951 * htl/tests/test-16.c: Likewise.
13952 * htl/tests/test-17.c: Likewise.
13953 * htl/tests/test-2.c: Likewise.
13954 * htl/tests/test-3.c: Likewise.
13955 * htl/tests/test-4.c: Likewise.
13956 * htl/tests/test-5.c: Likewise.
13957 * htl/tests/test-6.c: Likewise.
13958 * htl/tests/test-7.c: Likewise.
13959 * htl/tests/test-8.c: Likewise.
13960 * htl/tests/test-9.c: Likewise.
13961 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
13962 * sysdeps/htl/bits/cancelation.h: Likewise.
13963 * sysdeps/htl/bits/pthread-np.h: Likewise.
13964 * sysdeps/htl/bits/pthread.h: Likewise.
13965 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
13966 * sysdeps/htl/bits/semaphore.h: Likewise.
13967 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
13968 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
13969 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
13970 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
13971 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
13972 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
13973 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
13974 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
13975 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
13976 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
13977 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
13978 * sysdeps/htl/old_pt-atfork.c: Likewise.
13979 * sysdeps/htl/pt-atfork.c: Likewise.
13980 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13981 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13982 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13983 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13984 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13985 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13986 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13987 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13988 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13989 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13990 * sysdeps/htl/pt-attr-init.c: Likewise.
13991 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13992 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13993 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13994 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13995 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13996 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13997 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13998 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13999 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
14000 * sysdeps/htl/pt-attr.c: Likewise.
14001 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
14002 * sysdeps/htl/pt-barrier-init.c: Likewise.
14003 * sysdeps/htl/pt-barrier-wait.c: Likewise.
14004 * sysdeps/htl/pt-barrier.c: Likewise.
14005 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
14006 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
14007 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
14008 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
14009 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
14010 * sysdeps/htl/pt-cond-destroy.c: Likewise.
14011 * sysdeps/htl/pt-cond-init.c: Likewise.
14012 * sysdeps/htl/pt-cond-signal.c: Likewise.
14013 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
14014 * sysdeps/htl/pt-cond-wait.c: Likewise.
14015 * sysdeps/htl/pt-cond.c: Likewise.
14016 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
14017 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
14018 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
14019 * sysdeps/htl/pt-condattr-init.c: Likewise.
14020 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
14021 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
14022 * sysdeps/htl/pt-destroy-specific.c: Likewise.
14023 * sysdeps/htl/pt-equal.c: Likewise.
14024 * sysdeps/htl/pt-getconcurrency.c: Likewise.
14025 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
14026 * sysdeps/htl/pt-getschedparam.c: Likewise.
14027 * sysdeps/htl/pt-getspecific.c: Likewise.
14028 * sysdeps/htl/pt-init-specific.c: Likewise.
14029 * sysdeps/htl/pt-key-create.c: Likewise.
14030 * sysdeps/htl/pt-key-delete.c: Likewise.
14031 * sysdeps/htl/pt-key.h: Likewise.
14032 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
14033 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
14034 * sysdeps/htl/pt-mutex-init.c: Likewise.
14035 * sysdeps/htl/pt-mutex-lock.c: Likewise.
14036 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
14037 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
14038 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
14039 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
14040 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
14041 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
14042 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
14043 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
14044 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
14045 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
14046 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
14047 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
14048 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
14049 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
14050 * sysdeps/htl/pt-mutexattr.c: Likewise.
14051 * sysdeps/htl/pt-once.c: Likewise.
14052 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
14053 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
14054 * sysdeps/htl/pt-rwlock-init.c: Likewise.
14055 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
14056 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
14057 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
14058 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
14059 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
14060 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
14061 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
14062 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
14063 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
14064 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
14065 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
14066 * sysdeps/htl/pt-setconcurrency.c: Likewise.
14067 * sysdeps/htl/pt-setschedparam.c: Likewise.
14068 * sysdeps/htl/pt-setschedprio.c: Likewise.
14069 * sysdeps/htl/pt-setspecific.c: Likewise.
14070 * sysdeps/htl/pt-spin.c: Likewise.
14071 * sysdeps/htl/pt-startup.c: Likewise.
14072 * sysdeps/htl/pthread.h: Likewise.
14073 * sysdeps/htl/sem-close.c: Likewise.
14074 * sysdeps/htl/sem-destroy.c: Likewise.
14075 * sysdeps/htl/sem-getvalue.c: Likewise.
14076 * sysdeps/htl/sem-init.c: Likewise.
14077 * sysdeps/htl/sem-open.c: Likewise.
14078 * sysdeps/htl/sem-post.c: Likewise.
14079 * sysdeps/htl/sem-timedwait.c: Likewise.
14080 * sysdeps/htl/sem-trywait.c: Likewise.
14081 * sysdeps/htl/sem-unlink.c: Likewise.
14082 * sysdeps/htl/sem-wait.c: Likewise.
14083 * sysdeps/hurd/htl/pt-kill.c: Likewise.
14084 * sysdeps/i386/htl/pt-machdep.h: Likewise.
14085 * sysdeps/mach/htl/pt-block.c: Likewise.
14086 * sysdeps/mach/htl/pt-spin.c: Likewise.
14087 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
14088 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
14089 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
14090 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
14091 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
14092 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
14093 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
14094 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
14095 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
14096 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
14097 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
14098 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
14099 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
14100 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
14101 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
14102 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
14103 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
14104 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
14105 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
14106 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
14107 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
14108 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
14109 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
14110 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
14111 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
14112 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
14113 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
14114 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
14115 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
14116 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
14117 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
14118 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
14119 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
14120 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
14121 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
14122 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
14123 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
14124 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
14125 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
14126 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
14127 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
14128 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
14129 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
14130
fb03b04b
ST
14131 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
14132 * README: Remove the mention of out-of-tree patches needed for
14133 GNU/Hurd.
14134
fa9e1555
ST
14135 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
14136 (UTIME_NOW, UTIME_OMIT): Define macros.
14137
f6fb29d2
ST
14138 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
14139 instead of pthread_detach.
14140 (__cthread_fork): Call __pthread_create instead of pthread_create.
14141 (__cthread_keycreate): Call __pthread_key_create instead of
14142 pthread_key_create.
14143 (__cthread_getspecific): Call __pthread_getspecific instead of
14144 pthread_getspecific.
14145 (__cthread_setspecific): Call __pthread_setspecific instead of
14146 pthread_setspecific.
14147 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
14148 __pthread_mutex_unlock instead of pthread_mutex_lock and
14149 pthread_mutex_unlock.
14150 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
14151 ___pthread_get_cleanup_stack.
14152 (__pthread_get_cleanup_stack): New strong alias.
14153 * htl/pt-create.c: Include <pthreadP.h>.
14154 (entry_point): Call __pthread_exit instead of pthread_exit.
14155 (pthread_create): Rename to __pthread_create.
14156 (pthread_create): New strong alias.
14157 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
14158 (pthread_detach): New strong alias.
14159 (__pthread_detach): Call __pthread_cond_broadcast instead of
14160 pthread_cond_broadcast.
fe9748cc
ST
14161 * htl/pt-exit.c: Include <pthreadP.h>.
14162 (__pthread_exit): Call __pthread_setcancelstate and
14163 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
14164 __pthread_get_cleanup_stack.
f6fb29d2
ST
14165 * htl/pt-testcancel.c: Include <pthreadP.h>.
14166 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
14167 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
14168 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
14169 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
14170 pthread_attr_getstacksize.
14171 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
14172 Rename to __pthread_attr_getstackaddr.
14173 (pthread_attr_getstackaddr): New strong alias.
14174 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
14175 Rename to __pthread_attr_getstacksize.
14176 (pthread_attr_getstacksize): New strong alias.
14177 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
14178 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
14179 (pthread_attr_setstack): New strong alias.
14180 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
14181 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
14182 pthread_attr_getstacksize, pthread_attr_setstacksize and
14183 pthread_attr_setstackaddr.
14184 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
14185 Rename to __pthread_attr_setstackaddr.
14186 (pthread_attr_setstackaddr): New strong alias.
14187 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
14188 Rename to __pthread_attr_setstacksize.
14189 (pthread_attr_setstacksize): New strong alias.
14190 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
14191 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
14192 pthread_exit.
14193 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
14194 (__pthread_key_create): New hidden def.
14195 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
14196 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
14197 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
14198 __pthread_exit, __pthread_key_create, __pthread_getspecific,
14199 __pthread_setspecific, __pthread_setcancelstate,
14200 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
14201 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
14202 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
14203 declarations.
14204 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
14205 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
14206 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
14207 (pthread_attr_setstackaddr): New strong alias.
14208 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
14209 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
14210 (pthread_attr_setstacksize): New strong alias.
14211 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
14212 (call_exit): Call __pthread_exit instead of pthread_exit.
14213 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
14214 (_pthread_mutex_init): New hidden definition.
14215 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
14216 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
14217 instead of pthread_attr_init and pthread_attr_setstack.
14218
dba2bdbe
ST
14219 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
14220 __vm_deallocate instead of vm_allocate and vm_deallocate.
14221 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
14222 setenv.
14223 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
14224 of geteuid.
14225 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
14226 strdup.
14227 * hurd/siginfo.c: Include <libioP.h>.
14228 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
14229 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
14230 munmap.
dba2bdbe
ST
14231 * mach/devstream.c: Include <libioP.h>.
14232 (dealloc_ref): Call __mach_port_deallocate instead of
14233 mach_port_deallocate.
14234 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
14235 Call __mach_port_deallocate instead of mach_port_deallocate.
14236 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
14237 pathconf.
14238 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
14239 munmap.
14240 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
14241 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
14242 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
14243 of munmap.
14244 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
14245 of close.
14246 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
14247 instead of sysconf.
14248 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
14249 __clock_gettime instead of clock_gettime.
14250 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
14251 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14252 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
14253 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14254 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
14255 tcgetattr.
14256 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
14257 __clock_gettime and __nanosleep instead of clock_gettime and
14258 nanosleep.
7a8f45e3
ST
14259 * hurd/catch-signal.c (hurd_catch_signal): Rename to
14260 __hurd_catch_signal.
14261 (hurd_catch_signal): New strong alias.
14262 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
14263 __hurd_catch_signal instead of hurd_catch_signal.
14264 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
14265 * hurd/hurdexec.c (_hurd_init): Add hidden def.
14266 * hurd/hurdinit.c (_hurd_init): Add hidden def.
14267 * hurd/hurdsig.c: Include <mach/mig_support.h>.
14268 (_hurd_thread_sigstate): Add hidden def.
14269 (_hurd_internal_post_signal): Use __mutex_unlock instead of
14270 mutex_unlock.
14271 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
14272 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
14273 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
14274 __hurd_file_name_path_lookup.
14275 (hurd_file_name_path_lookup): New strong alias.
14276 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
14277 hurd_file_name_path_lookup.
14278 * mach/errstring.c (mach_error_type): Add hidden def.
14279 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
14280 * mach/mutex-init.c (__mutex_init): Add hidden def.
14281 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
14282 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
14283 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
14284 * sysdeps/mach/hurd/getcwd.c
14285 (_hurd_canonicalize_directory_name_internal): Rename to
14286 __hurd_canonicalize_directory_name_internal.
14287 (_hurd_canonicalize_directory_name_internal): New strong alias.
14288 (__canonicalize_directory_name_internal, __getcwd): Call
14289 __hurd_canonicalize_directory_name_internal instead of
14290 _hurd_canonicalize_directory_name_internal.
14291 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
14292 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
14293 hidden defs.
14294 * sysdeps/hurd/include/hurd.h: New file.
14295 * sysdeps/hurd/include/hurd/fd.h: New file.
14296 * sysdeps/hurd/include/hurd/signal.h: New file.
14297 * sysdeps/mach/include/lock-intern.h: New file.
14298 * sysdeps/mach/include/mach.h: New file.
14299 * sysdeps/mach/include/mach/mig_support.h: New file.
14300 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
14301 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
14302 prototype.
14303 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
14304 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
14305 _HEADER_H_HIDDEN_DEF macro.
14306 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
14307 _hurd_fd_error_signal): Add hidden prototype.
14308 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
14309 hidden def.
82dbf555
ST
14310 * libio/iolibio.h (_IO_puts): New hidden prototype.
14311 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
14312 * sysdeps/mach/hurd/localplt.data: New file.
14313
33574c17
ST
143142018-04-02 Agustina Arzille <avarzille@riseup.net>
14315 Amos Jeffries <squid3@treenet.co.nz>
14316 David Michael <fedora.dm0@gmail.com>
14317 Marco Gerards <marco@gnu.org>
14318 Marcus Brinkmann <marcus@gnu.org>
14319 Neal H. Walfield <neal@gnu.org>
14320 Pino Toscano <toscano.pino@tiscali.it>
14321 Richard Braun <rbraun@sceen.net>
14322 Roland McGrath <roland@gnu.org>
14323 Samuel Thibault <samuel.thibault@ens-lyon.org>
14324 Thomas DiModica <ricinwich@yahoo.com>
14325 Thomas Schwinge <tschwinge@gnu.org>
14326
14327 * htl: New directory.
14328 * sysdeps/htl: New directory.
14329 * sysdeps/hurd/htl: New directory.
14330 * sysdeps/i386/htl: New directory.
14331 * sysdeps/mach/htl: New directory.
14332 * sysdeps/mach/hurd/htl: New directory.
14333 * sysdeps/mach/hurd/i386/htl: New directory.
14334 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
14335 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
14336 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
14337
03e2aa50
ST
143382018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14339
14340 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
14341 signals in thread created for runing timers.
14342
1aa52ced
FW
143432018-04-01 Florian Weimer <fweimer@redhat.com>
14344
14345 * support/support_format_addrinfo.c (support_format_addrinfo):
14346 Include unknown error number in formatted result.
14347
4d76d3e5
FW
143482018-03-29 Florian Weimer <fweimer@redhat.com>
14349
14350 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
14351 capture SIGBUS.
14352
d39c0a45
AZ
143532018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14354
14355 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
14356 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
14357 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14358 (__ASSUME_CLONE_BACKWARDS): Define.
14359
cc8a1620
JH
143602018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
14361
57408435 14362 [BZ #23024]
cc8a1620
JH
14363 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
14364 early when linux sentinel value is set.
14365
8bfd94d0
ST
143662018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14367
14368 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
14369
f178e59f
AS
143702018-03-27 Andreas Schwab <schwab@suse.de>
14371
14372 [BZ #23005]
14373 * resolv/res_send.c (__res_context_send): Return ENOMEM if
14374 allocation of private copy of nsaddr_list fails.
14375
5f45f96a
JM
143762018-03-26 Joseph Myers <joseph@codesourcery.com>
14377
14378 [BZ #16552]
14379 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
14380 * sysdeps/unix/sysv/linux/umount.c: ... here.
14381 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
14382 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
14383 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
14384 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
14385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
14386 * sysdeps/unix/sysv/linux/umount.S: Likewise.
14387 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
14388
3dfd23eb
AS
143892018-03-26 Andreas Schwab <schwab@suse.de>
14390
14391 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
14392 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
14393 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
14394 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
14395 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
14396 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
14397 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
14398 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
14399 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14400 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14401 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14402 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14403 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14404 (R_RISCV_NUM): Define.
14405
fa97d2ab
ST
144062018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14407
14408 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
14409 TLS declaration of errno.
37be82a0
ST
14410 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
14411 __libc_setup_tls.
14412 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
14413 (ARCH_SETUP_TLS): Likewise.
14414 * sysdeps/mach/hurd/libc-start.h: New file copied from
14415 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
14416 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
14417 instead of __libc_setup_tls.
37be82a0 14418 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
14419 __libc_setup_tls before initializing libpthread and running _hurd_init
14420 which starts the signal thread.
14421 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
14422 Declare function.
2d813d7b 14423 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 14424
b8114edd
L
144252018-03-24 H.J. Lu <hongjiu.lu@intel.com>
14426
14427 [BZ #22998]
14428 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
14429 after it is defined.
14430
cd66c0e5
AS
144312018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14432 Max Horn <max@quendi.de>
14433
14434 [BZ #22644]
43d4f3d5 14435 CVE-2017-18269
cd66c0e5
AS
14436 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14437 branch conditions.
14438 * string/test-memmove.c (do_test2): New testcase.
14439
a4406139
JM
144402018-03-22 Joseph Myers <joseph@codesourcery.com>
14441
14442 * sysdeps/generic/frame.h: Remove file.
14443 * sysdeps/arm/frame.h: Likewise.
14444 * sysdeps/hppa/frame.h: Likewise.
14445 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14446 macro.
14447 (GET_FRAME): Likewise.
14448 (GET_STACK): Likewise.
14449 (CALL_SIGHANDLER): Likewise.
14450 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14451 Likewise.
14452 (GET_FRAME): Likewise.
14453 (GET_STACK): Likewise.
14454 (CALL_SIGHANDLER): Likewise.
14455 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14456 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14457 (GET_FRAME): Likewise.
14458 (GET_STACK): Likewise.
14459 (CALL_SIGHANDLER): Likewise.
14460 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14461 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14462 (GET_FRAME): Likewise.
14463 (GET_STACK): Likewise.
14464 (ADVANCE_STACK_FRAME): Likewise.
14465 (CALL_SIGHANDLER): Likewise.
14466 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14467 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14468 (GET_FRAME): Likewise.
14469 (GET_STACK): Likewise.
14470 (CALL_SIGHANDLER): Likewise.
14471 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14472 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14473 (GET_FRAME): Likewise.
14474 (GET_STACK): Likewise.
14475 (CALL_SIGHANDLER): Likewise.
14476 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
14477 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14478 (GET_FRAME): Likewise.
14479 (GET_STACK): Likewise.
14480 (CALL_SIGHANDLER): Likewise.
14481 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
14482 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14483 (GET_FRAME): Likewise.
14484 (GET_STACK): Likewise.
14485 (CALL_SIGHANDLER): Likewise.
14486 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
14487 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14488 (GET_FRAME): Likewise.
14489 (GET_STACK): Likewise.
14490 (CALL_SIGHANDLER): Likewise.
14491 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
14492 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14493 (GET_FRAME): Likewise.
14494 (GET_STACK): Likewise.
14495 (CALL_SIGHANDLER): Likewise.
14496 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
14497 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14498 (GET_FRAME): Likewise.
14499 (GET_STACK): Likewise.
14500 (CALL_SIGHANDLER): Likewise.
14501 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
14502 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14503 (GET_FRAME): Likewise.
14504 (GET_STACK): Likewise.
14505 (CALL_SIGHANDLER): Likewise.
14506 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
14507 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14508 (GET_FRAME): Likewise.
14509 (GET_STACK): Likewise.
14510 (CALL_SIGHANDLER): Likewise.
14511 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
14512 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14513 (FIRST_FRAME_POINTER): Likewise.
14514 (ADVANCE_STACK_FRAME): Likewise.
14515 (GET_STACK): Likewise.
14516 (GET_FRAME): Likewise.
14517 (CALL_SIGHANDLER): Likewise.
14518 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
14519 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14520 (ADVANCE_STACK_FRAME): Likewise.
14521 (GET_STACK): Likewise.
14522 (GET_FRAME): Likewise.
14523 (CALL_SIGHANDLER): Likewise.
14524 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
14525 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14526 (GET_FRAME): Likewise.
14527 (GET_STACK): Likewise.
14528 (CALL_SIGHANDLER): Likewise.
14529 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
14530 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14531 (GET_FRAME): Likewise.
14532 (GET_STACK): Likewise.
14533 (CALL_SIGHANDLER): Likewise.
14534
ffec7b27
JM
145352018-03-21 Joseph Myers <joseph@codesourcery.com>
14536
14537 * sysdeps/x86_64/backtrace.c: Move to ....
14538 * debug/backtrace.c: ... here.
14539 * sysdeps/aarch64/backtrace.c: Remove file.
14540 * sysdeps/alpha/backtrace.c: Likewise.
14541 * sysdeps/hppa/backtrace.c: Likewise.
14542 * sysdeps/ia64/backtrace.c: Likewise.
14543 * sysdeps/mips/backtrace.c: Likewise.
14544 * sysdeps/nios2/backtrace.c: Likewise.
14545 * sysdeps/riscv/backtrace.c: Likewise.
14546 * sysdeps/sh/backtrace.c: Likewise.
14547 * sysdeps/tile/backtrace.c: Likewise.
14548
8a07b0c4
JM
145492018-03-20 Joseph Myers <joseph@codesourcery.com>
14550
d0c5d731
JM
14551 [BZ #22987]
14552 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
14553 function.
14554 (fdimf): Likewise.
14555 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
14556
8a07b0c4
JM
14557 [BZ #17343]
14558 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
14559 possibly overflowing computations.
14560
ceb54b9b
ST
145612018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14562
14563 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
14564 values from Linux-specific section now that it is in the GNU section.
14565 * sysdeps/gnu/errlist.c: Regenerate.
14566
8d3f9e85
JM
145672018-03-20 Joseph Myers <joseph@codesourcery.com>
14568
14569 * math/Makefile (libm-narrow-fns): Add sub.
14570 (libm-test-funcs-narrow): Likewise.
14571 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14572 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14573 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14574 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14575 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14576 (NARROW_SUB_TRIVIAL): Likewise.
14577 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14578 macro.
14579 (__dsubl): Likewise.
14580 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14581 dsub.
14582 (CFLAGS-nldbl-dsub.c): New variable.
14583 (CFLAGS-nldbl-fsub.c): Likewise.
14584 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14585 __nldbl_dsubl.
14586 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14587 prototype.
14588 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14589 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14590 * math/auto-libm-test-in: Add tests of sub.
14591 * math/auto-libm-test-out-narrow-sub: New generated file.
14592 * math/libm-test-narrow-sub.inc: New file.
14593 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14594 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14595 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14596 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14597 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14598 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14599 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14600 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14601 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14602 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14603 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14604 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14605 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14606 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14607 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14608 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14609 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14610 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14612 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14613 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14614 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14615 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14616 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14617 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14618 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14619 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14620 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14621 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14622 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14623 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14624 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14629 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14630 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14631 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14632 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14633 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14634 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14635 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14636 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14637 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14638 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14639
d473f015
JM
146402018-03-19 Joseph Myers <joseph@codesourcery.com>
14641
14642 [BZ #20079]
14643 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14644
fbce6f72
WD
146452018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14646
14647 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14648
72e7ffc3
RB
146492018-03-18 Richard Braun <rbraun@sceen.net>
14650
14651 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14652 thread reference.
14653
542c20a1
AA
146542018-03-18 Agustina Arzille <avarzille@riseup.net>
14655
14656 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14657 (__libc_cleanup_fct): Define function.
14658 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14659 __libc_cleanup_end): Rewrite implementation using
14660 __attribute__ ((__cleanup__)).
14661 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
14662 * hurd/Makefile (routines): Add hurdlock.
14663 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14664 interface.
14665 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14666 * hurd/hurdpid.c: Include <lowlevellock.h>
14667 (_S_msg_proc_newids): Use lll_wait to synchronize.
14668 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14669 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14670 * mach/Makefile (lock-headers): Remove machine-lock.h.
14671 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14672 <machine-lock.h>.
14673 (__spin_lock_t): New type.
14674 (__SPIN_LOCK_INITIALIZER): New macro.
14675 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14676 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14677 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14678 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
14679 (__mutex_init): Initialize with lll.
14680 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
14681 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
14682 needing lll.
14683 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14684 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
14685 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
14686 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
14687 (__setpgid): Use lll for synchronization.
14688 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
14689 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
14690 instead of <cthreads.h>.
14691 (_IO_lock_inexpensive): New macro
14692 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
14693 (__libc_lock_self0): New declaration.
14694 (__libc_lock_owner_self): New macro.
14695 (__libc_key_t): Remove type.
14696 (_LIBC_LOCK_INITIALIZER): New macro.
14697 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
14698 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
14699 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
14700 __libc_lock_define_initialized_recursive,
14701 __rtld_lock_define_initialized_recursive,
14702 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
14703 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
14704 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
14705 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
14706 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
14707 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
14708 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
14709 New macros.
14710 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
14711 * hurd/hurdlock.c: New file.
14712 * hurd/hurdlock.h: New file.
14713 * mach/lowlevellock.h: New file
542c20a1 14714
9a37922e
ST
147152018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14716
14717 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
14718 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14719 when opening a symlink with O_NOFOLLOW.
72103e73
ST
14720 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14721 path when flags contains O_NOFOLLOW.
14722 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14723 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
14724 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14725 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
14726 * sysdeps/mach/hurd/mlockall.c: New file.
14727 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 14728
34e6a869
ST
147292018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14730
14731 * hurd/hurdsig.c: Include <pthread.h>.
14732 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14733 get the signal thread stack layout.
dc33bef3
ST
14734 * hurd/Makefile (headers): Remove threadvar.h.
14735 (inline-headers): Remove threadvar.h.
14736 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14737 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14738 __hurd_threadvar_max, __hurd_errno_location.
14739 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14740 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14741 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14742 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14743 unless TLS is not initialized yet, in which case we do not need a
14744 critical section yet anyway.
14745 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14746 <machine-sp.h>.
14747 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14748 declarations.
14749 (__hurd_threadvar_index): Remove enum.
14750 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14751 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14752 inlines.
14753 (__hurd_reply_port0): New variable declaration.
14754 (__hurd_local_reply_port): New macro.
14755 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14756 (interrupted_reply_port_location): Add thread_t parameter. Use it
14757 with THREAD_TCB to access thread-local variables.
14758 (_hurdsig_abort_rpcs): Pass ss->thread to
14759 interrupted_reply_port_location.
14760 (_hurd_internal_post_signal): Likewise.
14761 (_hurdsig_init): Use presence of cthread_fork instead of
14762 __hurd_threadvar_stack_mask to start signal thread by hand.
14763 Remove signal thread threadvar initialization.
14764 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14765 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14766 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14767 of threadvar.
14768 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14769 __libc_lock_self0.
14770 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14771 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14772 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14773 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14774 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14775 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14776 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14777 define variables.
14778 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14779 <hurd/threadvar.h>.
14780 [IS_IN(rtld)] (rtld_errno): New variable.
14781 [IS_IN(rtld)] (__errno_location): New weak function.
14782 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14783 * sysdeps/mach/hurd/errno.c: Remove file.
14784 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14785 (__fork): Remove THREADVAR_SPACE macro and its use.
14786 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14787 variable.
14788 (init): Do not initialize threadvar.
14789 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14790 symbol.
14791 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14792 __hurd_local_reply_port instead of threadvar.
14793 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14794 _hurd_sigstate fields.
14795 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14796 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14797 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14798 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14799 instead of threadvar.
14800 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14801 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14802 (use_threadvar, global_reply_port): Remove variables.
14803 (__hurd_reply_port0): New variable.
14804 (__mig_get_reply_port): Use __hurd_local_reply_port and
14805 __hurd_reply_port0 instead of threadvar.
14806 (__mig_dealloc_reply_port): Likewise.
14807 (__mig_init): Do not initialize threadvar.
14808 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
14809 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14810 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14811 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14812 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14813 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14814 __cthread_setspecific.
14815 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14816 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14817 __cthread_t instead of cthread_fork, cthread_detach,
14818 pthread_getattr_np, pthread_attr_getstack.
14819 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14820 __cthread_keycreate.
14821 (cthread_getspecific): Rename to __cthread_getspecific.
14822 (cthread_setspecific): Rename to __cthread_setspecific.
14823 (__libc_getspecific): Use __cthread_getspecific instead of
14824 cthread_getspecific.
14825 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14826 __cthread_keycreate instead of cthread_keycreate.
14827 (__libc_setspecific): Use __cthread_setspecific instead of
14828 cthread_setspecific.
14829 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14830 Likewise.
dd28d4ba
ST
14831 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14832 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14833 testing whether it is defined.
34e6a869 14834
f8baf2a2
ST
148352018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14836
14837 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14838 Define macro.
14839 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14840 * sysdeps/mach/i386/thread_state.h
14841 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14842 i386_THREAD_STATE.
14843 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14844 i386_THREAD_STATE.
14845 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14846
14847 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14848 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14849
14850 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14851 macros.
14852 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14853 descriptor instead of creating a new one.
14854 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14855
14856 * mach/setup-thread.c: Include <ldsodefs.h>.
14857 (__mach_setup_thread): Call _dl_allocate_tls, pass
14858 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14859 MACHINE_THREAD_STATE_FLAVOR, before getting
14860 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14861 MACHINE_THREAD_STATE_FLAVOR with the result.
14862 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14863 MACHINE_THREAD_STATE_FIX_NEW.
14864 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14865 too. Add original thread parameter.
14866
34ba96b8
JM
148672018-03-16 Joseph Myers <joseph@codesourcery.com>
14868
5d75b75f
JM
14869 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14870 Remove inline function.
14871
34ba96b8
JM
14872 * sysdeps/i386/fpu/libm-test-ulps: Update.
14873 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14874
22679b2c
WD
148752018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14876
14877 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14878 commit.
14879
c429a8d8
JM
148802018-03-15 Joseph Myers <joseph@codesourcery.com>
14881
14882 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14883 (__sincos_code): Remove define and undefine.
14884 [__FAST_MATH__] (__sincos): Remove inline function.
14885 [__FAST_MATH__] (__sincosf): Remove inline function.
14886 [__FAST_MATH__] (__sincosl): Remove inline function.
14887 (__atan2l): Remove inline functions.
14888 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14889 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14890 function.
14891 (floor): Remove inline function.
14892 (ceil): Likewise.
14893 [__FAST_MATH__] (__ldexp_code): Remove macro.
14894 [__FAST_MATH__] (ldexp): Remove inline function.
14895 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14896 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14897 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14898 [__USE_ISOC99] (__lrint_code): Remove macro.
14899 [__USE_ISOC99] (__llrint_code): Likewise.
14900 [__USE_ISOC99] (lrintf): Remove inline function.
14901 [__USE_ISOC99] (lrint): Likewise.
14902 [__USE_ISOC99] (lrintl): Likewise.
14903 [__USE_ISOC99] (llrint): Likewise.
14904 [__USE_ISOC99] (llrintf): Likewise.
14905 [__USE_ISOC99] (llrintl): Likewise.
14906
700593fd
WD
149072018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14908
14909 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14910 (__ieee754_sqrtf): Remove.
14911 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14912 (__ieee754_sqrtf): Remove.
14913 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14914 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14915 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14916 (__ieee754_sqrtf): Remove.
14917 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14918 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14919 (sqrtf): Remove.
14920 (sqrtl): Remove.
14921 (__ieee754_sqrt): Remove.
14922 (__ieee754_sqrtf): Remove.
14923 (__ieee754_sqrtl): Remove.
14924 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14925 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14926 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14927 (__ieee754_sqrtf): Remove.
14928 (__ieee754_sqrtl): Remove.
14929
f67a8147
WD
149302018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14931
14932 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14933 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14934 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14935 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14936 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14937 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14938 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14939 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14940 Likewise.
14941 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14942 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14943 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14944 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14945 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14946 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14947 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14948 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14949 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14950 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14951 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
14952 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14953 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
14954 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
14955 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
14956 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14957 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14958 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14959 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
14960 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
14961 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14962 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14963 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
14964 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
14965 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
14966 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
14967 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14968 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14969 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
14970 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14971 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14972 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
14973 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14974 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14975 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14976 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14977 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
14978 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
14979 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14980 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14981
1294b189
WD
149822018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14983
14984 * include/math.h (sqrt): Declare with asm redirect.
14985 (sqrtf): Likewise.
14986 (sqrtl): Likewise.
14987 (sqrtf128): Likewise.
14988 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14989 nonlib and libnldbl with -fmath-errno.
14990 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14991 * math/w_sqrt_template.c: Likewise.
14992 * math/w_sqrtf_compat.c: Likewise.
14993 * math/w_sqrtl_compat.c: Likewise.
14994 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14995 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14996 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14997 complex.h.
14998
f1c8185d
WD
149992018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15000
15001 * benchtests/Makefile: Define _ISOMAC.
15002 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
15003 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
15004 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
15005 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
15006 * benchtests/bench-timing.h: Define attribute_hidden.
15007
b47c3e76
SP
150082018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
15009
15010 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
15011 mov + lsr.
15012
807fee29
RL
150132018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15014
15015 [BZ #22963]
15016 * localedata/locales/cs_CZ (mon): Rename to...
15017 (alt_mon): This.
15018 (mon): Import from CLDR (genitive case).
15019
e7155a28
RL
150202018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15021
15022 [BZ #22937]
15023 * localedata/locales/el_CY (abmon): Rename to...
15024 (ab_alt_mon): This.
15025 (abmon): Import from CLDR (abbreviated genitive case).
15026 * localedata/locales/el_GR (abmon): Rename to...
15027 (ab_alt_mon): This.
15028 (abmon): Import from CLDR (abbreviated genitive case).
15029
71d7b121
RL
150302018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15031
15032 [BZ #22932]
15033 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
15034
a00bffe8
RB
150352018-03-15 Robert Buj <robert.buj@gmail.com>
15036
15037 [BZ #22848]
15038 * localedata/locales/ca_ES (abmon): Rename to...
15039 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15040 (mon): Rename to...
15041 (alt_mon): This.
15042 (abmon): Import from CLDR (genitive case, month names preceded by
15043 "de" or "d’").
15044 (mon): Likewise.
15045 (abday): Synchronize with CLDR.
15046 (d_t_fmt): Likewise.
15047 (d_fmt): Likewise.
15048 (am_pm): Likewise.
15049
15050 (LC_TIME): Improve indentation.
15051 (LC_TELEPHONE): Likewise.
15052 (LC_NAME): Likewise.
15053 (LC_ADDRESS): Likewise.
15054
f9555d73
JM
150552018-03-14 Joseph Myers <joseph@codesourcery.com>
15056
15057 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
15058 (lrintf): Remove definitions used only with old GCC.
15059 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
15060 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
15061 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
15062 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
15063 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
15064 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
15065 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
15066 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
15067 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
15068 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
15069 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
15070 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
15071 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
15072 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
15073 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
15074 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
15075 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
15076 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
15077 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
15078 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
15079 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
15080 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
15081 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
15082 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
15083 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
15084 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
15085 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
15086 [__FAST_MATH__] (__M_SQRT2): Remove macro.
15087
d46f84de
SP
150882018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15089
15090 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
15091 instruction to unbreak builds with binutils 2.26 and older.
15092
7108f1f9
SP
150932018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
15094
15095 * sysdeps/aarch64/strncmp.S (count): New macro.
15096 (strncmp): Store misaligned length in SRC1 in COUNT.
15097 (mutual_align): Adjust.
15098 (misaligned8): Load dword at a time when it is safe.
15099
2cc7bad0
ZW
151002018-03-12 Zack Weinberg <zackw@panix.com>
15101
15102 [BZ #1190]
15103 [BZ #19476]
15104 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
15105 if the _IO_EOF_SEEN bit is already set; update commentary.
15106 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
15107 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15108
15109 * support/support_openpty.c, support/tty.h: New files.
15110 * support/Makefile (libsupport-routines): Add support_openpty.
15111
15112 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
15113 New test cases.
15114 * libio/Makefile (tests): Add tst-fgetc-after-eof.
15115 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
15116
778f1974
DL
151172018-03-12 Dmitry V. Levin <ldv@altlinux.org>
15118
15119 * po/pt_BR.po: Update translations.
15120
da6d4404
DM
151212018-03-12 David Michael <fedora.dm0@gmail.com>
15122
15123 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
15124 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
15125 get a port to the startup server.
15126
d3da750d
ZW
151272018-03-11 Zack Weinberg <zackw@panix.com>
15128
15129 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
15130 before nldbl-compat.h.
15131
054b72cc
ZW
151322018-03-10 Zack Weinberg <zackw@panix.com>
15133
0d13dfa1
ZW
15134 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
15135 math.h or math_private.h.
15136
15137 * sysdeps/alpha/fpu/s_isnan.c
15138 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
15139 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
15140 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
15141 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
15142 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
15143 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
15144 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
15145 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
15146 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
15147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
15148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
15149 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
15150 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
15151 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
15152 Include math_private.h.
15153
15154 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
15155 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
15156 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
15157 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
15158 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
15159 * sysdeps/powerpc/power7/fpu/s_logb.c:
15160 Include math.h and math_private.h.
15161
054b72cc
ZW
15162 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
15163 uses of $at in .set noat / .set at.
15164
6253bacd
L
151652018-03-10 H.J. Lu <hongjiu.lu@intel.com>
15166
15167 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
15168 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
15169 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
15170 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
15171 Likewise.
15172
229855e5
FW
151732018-03-09 Florian Weimer <fweimer@redhat.com>
15174
15175 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
15176 in comment.
15177
9aa5c222
AJ
151782018-03-09 Aurelien Jarno <aurelien@aurel32.net>
15179
15180 [BZ #22919]
15181 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
15182 Add nop before __startcontext, add explaining comments.
15183
3dc21497
AZ
151842018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15185
e921c89e
AZ
15186 [BZ #22926]
15187 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
15188 empty for __SPE__.
15189 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
15190 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
15191 Do not build hardware transactional code for __SPE__.
15192 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15193 (__lll_trylock_elision): Likewise.
15194 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15195 (__lll_unlock_elision): Likewise.
15196
d9f26dab 15197 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
15198 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
15199 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15200 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
15201 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
15202 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
15203 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
15204 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
15205 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
15206 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
15207 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
15208 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
15209 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
15210 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
15211 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
15212 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
15213 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
15214 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
15215 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
15216 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
15217 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
15218 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15219 (__ASSUME_CLONE_BACKWARDS): Define.
15220 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
15221 __clone2 if __NR_clone2 is defined.
15222 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15223 (__ASSUME_CLONE_BACKWARDS): Likewise.
15224 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15225 (__ASSUME_CLONE_BACKWARDS): Likewise.
15226 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15227 (__ASSUME_CLONE2): Likewise.
15228 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15229 (__ASSUME_CLONE_BACKWARDS3): Likewise.
15230 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
15231 variants and the define architecture can use.
15232 (__ASSUME_CLONE_DEFAULT): Define as default.
15233 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15234 (__ASSUME_CLONE_BACKWARDS): Likewise.
15235 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15236 (__ASSUME_CLONE_BACKWARDS): Likewise.
15237 * sysdeps/unix/sysv/linux/s390/kernel-features.h
15238 (__ASSUME_CLONE_BACKWARDS2): Likewise.
15239
adc95fb0
SP
152402018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15241
4e54d918
SP
15242 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
15243
30a81dae
SP
15244 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
15245 time.
15246
adc95fb0
SP
15247 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
15248 (do_test_limit): Likewise.
15249
15250 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
15251 for every implementation.
15252 (do_test): Likewise.
15253
15254 * benchtests/bench-strncmp.c: Convert output to json.
15255
4e9066bc
ST
152562018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15257
15258 * io/futimens.c: Add missing start-of-file descriptive comment.
15259 * io/utime.c: Likewise.
15260 * misc/futimesat.c: Likewise.
15261 * misc/utimes.c: Likewise.
15262 * sysdeps/mach/hurd/futimesat.c: Likewise.
15263 * sysdeps/mach/hurd/utimes.c: Likewise.
15264 * sysdeps/posix/utime.c: Likewise.
15265 * sysdeps/posix/utimes.c: Likewise.
15266 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
15267 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15268 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
15269 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
15270
ec1300cf
ST
152712018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15272
15273 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
15274 hurd_futimes.
15275 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
15276 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
15277 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
15278 (__futimens): Move implementation to...
15279 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
15280 utime_tvalue_from_tspec): ... new helper functions.
15281 (hurd_futimens): New function.
15282 * sysdeps/mach/hurd/futimesat.c: New file.
15283 * sysdeps/mach/hurd/utimensat.c: New file.
15284
bbe762d1
FC
152852018-03-05 Flávio Cruz <flaviocruz@gmail.com>
15286
15287 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
15288 UTIME_OMIT): New macros.
15289 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
15290 before reverting to converting time spec to time value and calling
15291 __file_utimes.
15292 * sysdeps/mach/hurd/utime-helper.c: New file.
15293 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
15294 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
15295 reverting to utime_tvalue_from_tval and __file_utimes.
15296 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
15297 (__lutimes): Just call hurd_futimens after lookup.
15298 * sysdeps/mach/hurd/utimes.c: Likewise.
15299
a1ede3a4
ST
153002018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15301
15302 * bits/sigaction.h: Add include guard.
15303 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
15304 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
15305 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
15306 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
15307 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
15308 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
15309 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
15310 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
15311 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
15312
6900d2ca
JM
153132018-03-05 Joseph Myers <joseph@codesourcery.com>
15314
15315 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
15316 -Wmaybe-uninitialized for -Os.
15317 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
15318 this disabling.
15319
68448be2
AZ
153202018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15321
5226a81f
AZ
15322 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
15323 __INO_T_MATCHES_INO64_T is defined.
15324 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
15325 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
15326 of definition.
15327 * dirent/alphasort64.c: Likewise.
15328 * dirent/scandir.c: Likewise.
15329 * dirent/scandir64-tail.c: Likewise.
15330 * dirent/scandir64.c: Likewise.
15331 * dirent/scandirat.c: Likewise.
15332 * dirent/scandirat64.c: Likewise.
15333 * dirent/versionsort.c: Likewise.
15334 * dirent/versionsort64.c: Likewise.
15335 * include/dirent.h: Likewise.
15336
fbd01e6c
AZ
15337 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
15338 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
15339 for socketpair endpoint.
15340 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
15341 WRITE_BUFFER_SIZE as buffer size for sending socket.
15342 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
15343 issue on system where send is implemented with sendto syscall.
15344 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
15345 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
15346 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
15347 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
15348
68448be2
AZ
15349 [BZ #21269]
15350 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
15351 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
15352 sa_restorer for vDSO case.
15353 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
15354
eb1ca47e
ST
153552018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15356
15357 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
15358 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
15359 * hurd/hurd/ioctl.h: Include <mach/port.h>
15360 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
15361 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
15362 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
15363 (headers): Move mach/param.h to bits/mach/param.h.
15364 * sysdeps/mach/i386/mach/param.h: Move file to ...
15365 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
15366 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
15367 of <mach/param.h>.
3403cb7d
ST
15368 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
15369 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
15370 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
15371 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
15372 trivial, for C++ conformity.
44c6376c 15373 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
15374 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
15375 Process mig output through $(migheadersed).
15376 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
15377 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
15378 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
15379 headers.
ba89615d
ST
15380 * hurd/hurd.h: Include <bits/types/sigset_t.h>
15381 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
15382 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
15383 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
15384 <bits/types/sigset_t.h>.
15385 [!defined __USE_GNU]: Do not #error out.
15386 (struct hurd_sigstate): Use _NSIG instead of NSIG.
15387 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
15388 Include <stddef.h> and <bits/types/sigset_t.h>
15389 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
15390 instead of sighandler_t.
974393ea
ST
15391 * stdlib/errno.h (error_t): Move definition to...
15392 * bits/types/error_t.h: ... new header.
15393 * stdlib/Makefile (headers): Add bits/types/error_t.h.
15394 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
15395 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
15396 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
15397 * hurd/hurd.h: Include <bits/types/error_t.h>
15398 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
15399 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15400 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15401 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15402 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15403 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 15404 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 15405
eaf6753f
AS
154062018-03-03 Andreas Schwab <schwab@linux-m68k.org>
15407
15408 [BZ #22918]
15409 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
15410 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
15411 * nscd/gai.c (__nss_hosts_database): Readd definition.
15412 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15413 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15414 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15415
4dc23804
JM
154162018-03-02 Joseph Myers <joseph@codesourcery.com>
15417
15418 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
15419 (ifunc_one): Likewise.
15420
1c81d55f
DD
154212018-03-01 DJ Delorie <dj@delorie.com>
15422
15423 [BZ #22342]
15424 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
15425 key value.
15426
b717c14f
MR
154272018-03-01 Maciej W. Rozycki <macro@mips.com>
15428
15429 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
15430 `match_pid' parameter.
15431 (td_ta_thr_iter): Update accordingly.
15432
1efe1358
FW
154332018-03-01 Florian Weimer <fweimer@redhat.com>
15434
15435 * nptl/Makefile (install-lib-ldscripts): Remove.
15436 (install): Remove rule.
15437 ($(inst_libdir)/libpthread.so): Likewise.
15438
a527f09c
MF
154392018-03-01 Mike FABIAN <mfabian@redhat.com>
15440
15441 [BZ #22896]
15442 * localedata/locales/an_ES: update month and day names,
15443 improve d_fmt, improve postal_fmt, add country_post,
15444 add country_isbn
15445
35d660b0
MF
154462018-03-01 Mike FABIAN <mfabian@redhat.com>
15447
15448 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15449 Ukrainian instead of Bulgarian.
15450
1a2f44a8
FW
154512018-03-01 Florian Weimer <fweimer@redhat.com>
15452
15453 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15454 reference.
15455
bd60ce86
FW
154562018-03-01 Florian Weimer <fweimer@redhat.com>
15457
15458 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15459 * nptl/Makefile (routines): Add pthread_atfork.
15460 (static-only-routines): Set to pthread_atfork.
15461 (libpthread-routines): Remove pthread_atfork.
15462 (libpthread-static-only-routines): Remove.
15463 (install): Update comment.
15464 (libpthread.so): Do not install libpthread_nonshared.a.
15465 (tests): Do not link with libpthread_nonshared.a.
15466 (generated): Remove libpthread_nonshared.a.
15467 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15468 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15469 with libpthread_nonshared.a.
15470
000f290f
JM
154712018-02-28 Joseph Myers <joseph@codesourcery.com>
15472
e2bcf6a8
JM
15473 [BZ #22902]
15474 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
15475 (libc_feholdexcept_setroundf128): New macro.
15476 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
15477
000f290f
JM
15478 [BZ #15105]
15479 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
15480 libc_hidden_def.
15481 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
15482 * include/inttypes.h: New file.
15483
02f2fead
JM
154842018-02-27 Joseph Myers <joseph@codesourcery.com>
15485
15486 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
15487 -Os in two more places.
15488
874c56d7
MF
154892018-02-27 Mike FABIAN <mfabian@redhat.com>
15490
15491 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
15492 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
15493 be sorted correctly at the moment because of a bug.
15494
15973854
MF
154952018-02-27 Mike FABIAN <mfabian@redhat.com>
15496
15497 [BZ #22550] - es_ES locale (and other es_* locales): collation should
15498 treat ñ as a primary different character, sync the collation
15499 for Spanish with CLDR.
15500 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
15501 * localedata/Makefile: Add new test files.
15502 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
15503 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
15504 collation order.
15505 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
15506 * localedata/am_ET.UTF-8.in: New test file.
15507 * localedata/az_AZ.UTF-8.in: Likewise.
15508 * localedata/be_BY.UTF-8.in: Likewise.
15509 * localedata/ber_DZ.UTF-8.in: Likewise.
15510 * localedata/ber_MA.UTF-8.in: Likewise.
15511 * localedata/bg_BG.UTF-8.in: Likewise.
15512 * localedata/br_FR.UTF-8.in: Likewise.
15513 * localedata/cmn_TW.UTF-8.in: Likewise.
15514 * localedata/crh_UA.UTF-8.in: Likewise.
15515 * localedata/csb_PL.UTF-8.in: Likewise.
15516 * localedata/cv_RU.UTF-8.in: Likewise.
15517 * localedata/cy_GB.UTF-8.in: Likewise.
15518 * localedata/dz_BT.UTF-8.in: Likewise.
15519 * localedata/eo.UTF-8.in: Likewise.
15520 * localedata/es_ES.UTF-8.in: Likewise.
15521 * localedata/fa_IR.UTF-8.in: Likewise.
15522 * localedata/fi_FI.UTF-8.in: Likewise.
15523 * localedata/fil_PH.UTF-8.in: Likewise.
15524 * localedata/fur_IT.UTF-8.in: Likewise.
15525 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
15526 * localedata/ha_NG.UTF-8.in: Likewise.
15527 * localedata/ig_NG.UTF-8.in: Likewise.
15528 * localedata/ik_CA.UTF-8.in: Likewise.
15529 * localedata/kk_KZ.UTF-8.in: Likewise.
15530 * localedata/ku_TR.UTF-8.in: Likewise.
15531 * localedata/ky_KG.UTF-8.in: Likewise.
15532 * localedata/ln_CD.UTF-8.in: Likewise.
15533 * localedata/mi_NZ.UTF-8.in: Likewise.
15534 * localedata/ml_IN.UTF-8.in: Likewise.
15535 * localedata/mn_MN.UTF-8.in: Likewise.
15536 * localedata/mr_IN.UTF-8.in: Likewise.
15537 * localedata/mt_MT.UTF-8.in: Likewise.
15538 * localedata/nb_NO.UTF-8.in: Likewise.
15539 * localedata/om_KE.UTF-8.in: Likewise.
15540 * localedata/os_RU.UTF-8.in: Likewise.
15541 * localedata/ps_AF.UTF-8.in: Likewise.
15542 * localedata/ro_RO.UTF-8.in: Likewise.
15543 * localedata/ru_RU.UTF-8.in: Likewise.
15544 * localedata/sc_IT.UTF-8.in: Likewise.
15545 * localedata/se_NO.UTF-8.in: Likewise.
15546 * localedata/sq_AL.UTF-8.in: Likewise.
15547 * localedata/sv_SE.UTF-8.in: Likewise.
15548 * localedata/szl_PL.UTF-8.in: Likewise.
15549 * localedata/tg_TJ.UTF-8.in: Likewise.
15550 * localedata/tk_TM.UTF-8.in: Likewise.
15551 * localedata/tt_RU.UTF-8.in: Likewise.
15552 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
15553 * localedata/ug_CN.UTF-8.in: Likewise.
15554 * localedata/uz_UZ.UTF-8.in: Likewise.
15555 * localedata/vi_VN.UTF-8.in: Likewise.
15556 * localedata/yi_US.UTF-8.in: Likewise.
15557 * localedata/yo_NG.UTF-8.in: Likewise.
15558 * localedata/zh_CN.UTF-8.in: Likewise.
15559 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
15560 file and fix bugs in the collation.
15561 * localedata/locales/az_AZ: Likewise.
15562 * localedata/locales/be_BY: Likewise.
15563 * localedata/locales/ber_DZ: Likewise.
15564 * localedata/locales/ber_MA: Likewise.
15565 * localedata/locales/bg_BG: Likewise.
15566 * localedata/locales/br_FR: Likewise.
15567 * localedata/locales/br_FR@euro: Likewise.
15568 * localedata/locales/ca_ES: Likewise.
15569 * localedata/locales/cns11643_stroke: Likewise.
15570 * localedata/locales/crh_UA: Likewise.
15571 * localedata/locales/cs_CZ: Likewise.
15572 * localedata/locales/csb_PL: Likewise.
15573 * localedata/locales/cv_RU: Likewise.
15574 * localedata/locales/cy_GB: Likewise.
15575 * localedata/locales/da_DK: Likewise.
15576 * localedata/locales/dz_BT: Likewise.
15577 * localedata/locales/en_CA: Likewise.
15578 * localedata/locales/eo: Likewise.
15579 * localedata/locales/es_CU: Likewise.
15580 * localedata/locales/es_EC: Likewise.
15581 * localedata/locales/es_ES: Likewise.
15582 * localedata/locales/es_US: Likewise.
15583 * localedata/locales/et_EE: Likewise.
15584 * localedata/locales/fa_IR: Likewise.
15585 * localedata/locales/fi_FI: Likewise.
15586 * localedata/locales/fil_PH: Likewise.
15587 * localedata/locales/fur_IT: Likewise.
15588 * localedata/locales/gez_ER@abegede: Likewise.
15589 * localedata/locales/ha_NG: Likewise.
15590 * localedata/locales/hr_HR: Likewise.
15591 * localedata/locales/hsb_DE: Likewise.
15592 * localedata/locales/hu_HU: Likewise.
15593 * localedata/locales/ig_NG: Likewise.
15594 * localedata/locales/ik_CA: Likewise.
15595 * localedata/locales/is_IS: Likewise.
15596 * localedata/locales/iso14651_t1_pinyin: Likewise.
15597 * localedata/locales/kk_KZ: Likewise.
15598 * localedata/locales/ku_TR: Likewise.
15599 * localedata/locales/ky_KG: Likewise.
15600 * localedata/locales/ln_CD: Likewise.
15601 * localedata/locales/lt_LT: Likewise.
15602 * localedata/locales/lv_LV: Likewise.
15603 * localedata/locales/mi_NZ: Likewise.
15604 * localedata/locales/ml_IN: Likewise.
15605 * localedata/locales/mn_MN: Likewise.
15606 * localedata/locales/mr_IN: Likewise.
15607 * localedata/locales/mt_MT: Likewise.
15608 * localedata/locales/nb_NO: Likewise.
15609 * localedata/locales/om_KE: Likewise.
15610 * localedata/locales/os_RU: Likewise.
15611 * localedata/locales/pl_PL: Likewise.
15612 * localedata/locales/ps_AF: Likewise.
15613 * localedata/locales/ro_RO: Likewise.
15614 * localedata/locales/ru_RU: Likewise.
15615 * localedata/locales/ru_UA: Likewise.
15616 * localedata/locales/sc_IT: Likewise.
15617 * localedata/locales/se_NO: Likewise.
15618 * localedata/locales/si_LK: Likewise.
15619 * localedata/locales/sq_AL: Likewise.
15620 * localedata/locales/sv_FI: Likewise.
15621 * localedata/locales/sv_FI@euro: Likewise.
15622 * localedata/locales/sv_SE: Likewise.
15623 * localedata/locales/szl_PL: Likewise.
15624 * localedata/locales/tg_TJ: Likewise.
15625 * localedata/locales/ti_ER: Likewise.
15626 * localedata/locales/tk_TM: Likewise.
15627 * localedata/locales/tl_PH: Likewise.
15628 * localedata/locales/tr_TR: Likewise.
15629 * localedata/locales/tt_RU: Likewise.
15630 * localedata/locales/tt_RU@iqtelif: Likewise.
15631 * localedata/locales/ug_CN: Likewise.
15632 * localedata/locales/uk_UA: Likewise.
15633 * localedata/locales/uz_UZ: Likewise.
15634 * localedata/locales/uz_UZ@cyrillic: Likewise.
15635 * localedata/locales/vi_VN: Likewise.
15636 * localedata/locales/yi_US: Likewise.
15637 * localedata/locales/yo_NG: Likewise.
15638
ce6636b0
MF
156392018-02-27 Mike FABIAN <mfabian@redhat.com>
15640
15641 * gen-locales.mk: Make test files which contain @ modifiers in their
15642 name work.
15643 * localedata/gen-locale.sh: Likewise.
15644
ac3a3b4b
MF
156452018-02-27 Mike FABIAN <mfabian@redhat.com>
15646
15647 * posix/tst-fnmatch.input: Fix results for range expressions
15648 for non C locales.
15649 * posix/tst-regexloc.c: Do not use a range expression for
15650 de_DE.ISO-8859-1 locale.
15651
770cbe14
MF
156522018-02-27 Mike FABIAN <mfabian@redhat.com>
15653
15654 * posix/bug-regex5.c: Fix test case because with the new
15655 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15656 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15657 file.
15658
0fc355d9
MF
156592018-02-27 Mike FABIAN <mfabian@redhat.com>
15660
15661 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15662 downloaded from ISO, the collation order of @-. and space has changed.
15663 Therefore, this test file needed to be adapted.
15664 * localedata/fr_CA.UTF-8.in: Likewise.
15665 * localedata/fr_FR.UTF-8.in: Likewise.
15666 * localedata/uk_UA.UTF-8.in: Likewise.
15667
43f3893f
MF
156682018-02-27 Mike FABIAN <mfabian@redhat.com>
15669
15670 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15671 order of ȥ in the new iso14651_t1_common file.
15672 * localedata/pl_PL.UTF-8.in: Likewise.
15673
df74ef78
MF
156742018-02-27 Mike FABIAN <mfabian@redhat.com>
15675
15676 * localedata/locales/iso14651_t1_common: Add sections for various
15677 scripts to the iso14651_t1_common file.
15678
d5adfbad
MF
156792018-02-27 Mike FABIAN <mfabian@redhat.com>
15680
15681 * localedata/locales/iso14651_t1_common: Use the code point of a
15682 character in the fourth collation level instead of IGNORE for all
15683 entries which have IGNORE on all 4 levels.
15684
5f5a9610
MF
156852018-02-27 Mike FABIAN <mfabian@redhat.com>
15686
15687 * localedata/locales/iso14651_t1_common: Add some convenient collation
15688 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
15689 rules similar to those in CLDR.
15690
8a97e900
MF
156912018-02-27 Mike FABIAN <mfabian@redhat.com>
15692
15693 * localedata/locales/iso14651_t1_common: The new version of this
15694 file downloaded from ISO contained several syntax errors which
15695 are fixed by this patch.
15696
bbdd2fba
MF
156972018-02-27 Mike FABIAN <mfabian@redhat.com>
15698
15699 * localedata/locales/iso14651_t1_common: replace all <U.....>
15700 with <U000.....> because glibc understands only 4 digit or 8 digit
15701
1569e551
MF
157022018-02-27 Mike FABIAN <mfabian@redhat.com>
15703
15704 * localedata/locales/iso14651_t1_common: Necessary changes
15705 to make the file downloaded from ISO usable by glibc.
15706
9479b6d5
MF
157072018-02-27 Mike FABIAN <mfabian@redhat.com>
15708
15709 [BZ #14095]
15710 * localedata/locales/iso14651_t1_common: Update file to
15711 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
15712
03b540b3
ST
157132018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15714
15715 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
15716 of <nptl/pthreadP.h>
15717 (thread_attr_compare): Move function to...
eb937a52 15718 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 15719 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 15720 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 15721
20602c72
JM
157222018-02-26 Joseph Myers <joseph@codesourcery.com>
15723
f54d8f73
JM
15724 * string/strcoll_l.c: Include <libc-diag.h>.
15725 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15726 declarations of seq1 and seq2.
15727
20602c72
JM
15728 [BZ #15105]
15729 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15730 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15731
f5f473a9
DL
157322018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15733
15734 [BZ #22433]
15735 [BZ #22807]
15736 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15737 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15738 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15739 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15740 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15741 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15742
398c6fdd
TMQMF
157432018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15744
15745 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15746 macros used in __ptrace_request.
15747
f5d1f629
L
157482018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15749
15750 [BZ #22792]
15751 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15752 to $(CC).
15753 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15754 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15755 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15756 <tcb-offsets.h>.
15757
54412d20
JM
157582018-02-23 Joseph Myers <joseph@codesourcery.com>
15759
15760 [BZ #15105]
15761 * ctype/ctype.c (tolower): Use libc_hidden_def.
15762 (toupper): Likewise.
15763 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15764 [!_ISOMAC] (toupper): Likewise.
15765
81be4b5e
MF
157662018-02-23 Mike FABIAN <mfabian@redhat.com>
15767
15768 * localedata/Makefile: Remove --quiet argument when
15769 installing locales
15770
9d5cfd8e
MF
157712018-02-23 Mike FABIAN <mfabian@redhat.com>
15772
15773 [BZ #17438]
15774 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15775 in d_fmt.
15776 * localedata/locales/pt_PT (LC_TIME): likewise
15777
6c7269f3
MF
157782018-02-23 Mike FABIAN <mfabian@redhat.com>
15779
15780 [BZ #22646]
15781 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15782 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15783 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15784
92aabad9
AZ
157852018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15786
4cdc25a4
AZ
15787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15788
27761a10
AZ
15789 * nptl/Makefile (routines): Remove unregister-atfork.
15790 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15791 (fork_handler_alloc): Remove function.
15792 (fork_handlers, fork_handler_init): New variables.
15793 (__fork_lock): Rename to atfork_lock.
15794 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15795 to use a dynamic array to add/remove atfork handlers.
15796 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15797 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15798 Remove declaration.
15799 (fork_handler): Remove next, refcntr, and need_signal member.
15800 (__run_fork_handler_type): New enum.
15801 (__run_fork_handlers): New prototype.
15802 * nptl/register-atfork.c: Remove file.
15803 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15804
92aabad9
AZ
15805 * sysdeps/nptl/nptl-signals.h: Move to ...
15806 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15807 comments.
15808 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15809 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15810 unnecessary check for SIGTIMER.
15811 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15812 remove unnecessary removal of SIGTIMER.
15813 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15814 include-signals.h rename.
15815 * nptl/pthreadP.h: Likewise.
15816 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15817 __is_internal_signal instead of __nptl_is_internal_signal.
15818
fdcc6253
AW
158192018-02-22 Andrew Waterman <andrew@sifive.com>
15820
7e04eb29 15821 [BZ # 22884]
fdcc6253
AW
15822 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15823 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15824 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15825 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15826
8090720a
DD
158272018-02-22 DJ Delorie <dj@delorie.com>
15828
15829 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15830
6ca24c43
SP
158312018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15832
15833 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15834 do_misaligned, not misaligned8.
15835
e9537ddd
SE
158362018-02-22 Steve Ellcey <sellcey@cavium.com>
15837
15838 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15839 Add memcpy_thunderx2.
15840 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15841 Increment to 4.
15842 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15843 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15844 and IS_THUNDERX2PA checks.
15845 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15846 Use macro to set name appropriately.
15847 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15848 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15849 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15850 New macro.
15851 (IS_THUNDERX2): New macro.
15852
6e336476
SL
158532018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15854
15855 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15856
34957904
ZW
158572018-02-21 Zack Weinberg <zackw@panix.com>
15858
30bfee26
ZW
15859 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15860 Define here, unconditionally.
15861 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15862 * libio/libioP.h: Remove #if 0 blocks.
15863 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15864 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15865 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15866
15867 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15868 Assume weak_alias is always defined.
15869
15870 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15871 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15872 Remove #if 0 and #ifdef TODO blocks.
15873 Assume text_set_element is always defined.
15874
15875 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15876 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15877 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15878
df6c012b
ZW
15879 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15880 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15881 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15882 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15883 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15884 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15885 Reformat bit flags for _flags field to make occupancy clearer.
15886 Update commentary.
15887 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15888 Keep definitions consistent with those in libio/libio.h.
15889
15890 * libio/libio.h (_IO_file_flags): Remove macro.
15891 All uses changed to _flags.
15892
177aad3f
ZW
15893 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15894 (__HAVE_COLUMN, _IO_BE): Don't define.
15895 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15896 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15897 * libio/libioP.h (EOF): Don't define.
15898 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15899 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15900 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15901 testing _IO_UNIFIED_JUMPTABLES.
15902
9964a145
ZW
15903 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15904 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15905 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15906 (_IO_size_t): Delete; all uses changed to size_t.
15907 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15908 (_IO_off_t): Delete; all uses changed to off_t.
15909 (_IO_off64_t): Delete; all uses changed to off64_t.
15910 (_IO_pid_t): Delete; all uses changed to pid_t.
15911 (_IO_uid_t): Delete; all uses changed to uid_t.
15912 (_IO_wint_t): Delete; all uses changed to wint_t.
15913 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15914 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15915 (_IO_cookie_io_functions_t): Delete; all uses changed to
15916 cookie_io_functions_t.
15917 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15918 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15919 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15920 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15921
15922 * libio/iofopncook.c: Remove unnecessary forward declarations.
15923 * libio/iolibio.h: Correct outdated commentary.
15924 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15925 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15926 Remove unnecessary casts.
15927 * stdio-common/getline.c: Use _IO_getdelim directly.
15928 Don't redefine ssize_t.
15929 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15930 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15931 Remove outdated comments.
15932 * stdio-common/vfscanf.c: Don't redefine va_list.
15933
34957904
ZW
15934 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15935 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15936 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15937 which are always true, and __cplusplus, which is always false.
15938
30ac923d
JM
159392018-02-21 Joseph Myers <joseph@codesourcery.com>
15940
039c721a
JM
15941 [BZ #15105]
15942 [BZ #19463]
15943 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15944 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15945 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15946 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15947 libc_hidden_proto.
15948 [!_ISOMAC] (putc_unlocked): Likewise.
15949 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
15950 define inline if [__USE_EXTERN_INLINES].
15951 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
15952 putc_unlocked.
15953
30ac923d
JM
15954 [BZ #15105]
15955 [BZ #19463]
15956 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
15957 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
15958 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
15959 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
15960 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
15961 getc_unlocked.
15962 * time/tzfile.c (__tzfile_read): Likewise.
15963
7ec5f946
MF
159642018-02-21 Mike FABIAN <mfabian@redhat.com>
15965
15966 [BZ #22517]
15967 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
15968
0d217f40
RJ
159692018-02-21 Rical Jasan <ricaljasan@pacific.net>
15970
15971 * io/fcntl.h: Fix a typo in a comment.
15972
862b4502
RJ
159732018-02-21 Rical Jasan <ricaljasan@pacific.net>
15974
15975 [BZ #22862]
15976 * include/features.h: Add _ISOC11_SOURCE to test for whether to
15977 define _DEFAULT_SOURCE.
15978 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
15979
999a6dab
FW
159802018-02-21 Florian Weimer <fweimer@redhat.com>
15981
15982 [BZ #20890]
15983 * elf/cache.c (save_cache): Call fsync on temporary file before
15984 renaming it.
15985 (save_aux_cache): Call fdatasync on temporary file before renaming
15986 it.
15987
52a01100
FW
159882018-02-21 Florian Weimer <fweimer@redhat.com>
15989
15990 [BZ #22787]
15991 * include/caller.h: Remove file.
15992 * elf/dl-caller.c: Likewise.
15993 * elf/Makefile (dl-routines): Remove dl-caller.
15994 (shared-only-routines): Do not add dl-caller.
15995 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15996 __check_caller.
15997 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15998 member.
15999 (dl_open_worker): Do not call __check_caller.
16000 (_dl_open): Do not set caller_dl_open member.
16001 * elf/rtld.c (_rtld_global_ro): Do not initialize
16002 _dl_check_caller member.
16003 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
16004 _dl_check_caller member.
16005 (_dl_check_caller): Remove declaration.
16006 * sysdeps/unix/sysv/linux/dl-execstack.c
16007 (_dl_make_stack_executable): Do not call __check_caller.
16008
b5bf62e4
ST
160092018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
16010
16011 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 16012 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 16013
e8d190b9
RJ
160142018-02-20 Rical Jasan <ricaljasan@pacific.net>
16015
16016 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
16017 description.
16018
6a3962c4
RJ
160192018-02-20 Rical Jasan <ricaljasan@pacific.net>
16020
da81ae64 16021 [BZ #16335]
6a3962c4
RJ
16022 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
16023 of 199606L, 200112L, and 200809L.
16024 (_XOPEN_SOURCE): Document special values of 600 and 700.
16025 (_ISOC11_SOURCE): Document macro.
16026 (_ATFILE_SOURCE): Likewise.
16027 (_FORTIFY_SOURCE): Likewise.
16028
ec481ad8
JM
160292018-02-19 Joseph Myers <joseph@codesourcery.com>
16030
16031 [BZ #15105]
16032 [BZ #19463]
16033 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
16034 and define as weak alias of __ferror_unlocked. Use
16035 libc_hidden_weak.
16036 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
16037 libc_hidden_proto.
16038 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
16039 function if [__USE_EXTERN_INLINES].
16040 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
16041 ferror_unlocked.
16042
7d15ef84
RJ
160432018-02-19 Rical Jasan <ricaljasan@pacific.net>
16044
16045 [BZ #6889]
16046 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
16047
f8d79582
AJ
160482018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16049
16050 [BZ #22818]
16051 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
16052 the GLIBC_2.1 version.
16053
56456a2a
AJ
160542018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16055
16056 [BZ #21508]
16057 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
16058 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
16059 intl/tst-gettext-de.po from po/de.po by removing the
16060 POT-Creation-Date line.
16061 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
16062 ../po/de.po.
16063 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
16064 ../po/de.po.
16065
13768813
ST
160662018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16067
16068 * mach/Makefile (headers): Add mach/param.h.
16069 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
16070 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
16071 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
16072 (__ptsname_r): Move implementation to...
16073 (__ptsname_internal): ... new function. Add filling the STP
16074 structure.
13768813 16075
6aca1b61
JDA
160762018-02-17 John David Anglin <danglin@gcc.gnu.org>
16077
16078 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
16079 idouble to 1 ULP.
16080
16efad51
RJ
160812018-02-16 Rical Jasan <ricaljasan@pacific.net>
16082
16083 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
16084 syntax.
16085
87245073
SL
160862018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16087
16088 * nptl/Makefile (tst-mutex8-ENV): Delete.
16089 * nptl/tst-mutex8.c (check_type):
16090 Add runtime check if mutex will be elided.
16091
7fc03cf3
JM
160922018-02-15 Joseph Myers <joseph@codesourcery.com>
16093
db9881ec
JM
16094 [BZ #20980]
16095 [BZ #21234]
16096 * manual/install.texi (Configuring and compiling): Describe
16097 passing CC and CFLAGS on configure command line, not as
16098 environment variables. Use @code markup on those variables.
16099 Specify what options go in CC and what go in CFLAGS. Note the
16100 requirement to compile with optimization.
16101 * INSTALL: Regenerated.
16102
3785b31c
JM
16103 [BZ #18124]
16104 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
16105 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
16106 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
16107 __sigprocmask instead of sigprocmask.
16108 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
16109 Likewise.
16110 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
16111 __sigsetjmp and sigprocmask.
16112
055ac2a7
JM
16113 [BZ #15105]
16114 * include/argz.h (argz_next): Use libc_hidden_proto.
16115 (__argz_next): Likewise.
16116 * string-argz-next.c (__argz_next): Use libc_hidden_def.
16117 (argz_next): Use libc_hidden_weak.
16118
e4452a2d
JM
16119 [BZ #15105]
16120 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
16121 libc_hidden_proto.
16122 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
16123 libc_hidden_def.
16124
499b3153
JM
16125 [BZ #15105]
16126 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
16127 libc_hidden_proto.
16128 * libio/iofputs.c (fputs): Use libc_hidden_weak.
16129
7fc03cf3
JM
16130 [BZ #15105]
16131 [BZ #19463]
16132 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
16133 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
16134 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
16135 (__feof_unlocked): New declaration, and inline function if
16136 [__USE_EXTERN_INLINES].
16137 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
16138 instead of feof_unlocked.
16139 * intl/localealias.c [_LIBC] (FEOF): Likewise.
16140 * nss/nsswitch.c (nss_parse_file): Likewise.
16141 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
16142 Likewise.
16143 * time/getdate.c (__getdate_r): Likewise.
16144 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
16145 Define as macro to call __feof_unlocked.
16146
0c8a67a5
WD
161472018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16148
16149 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
16150
610ee1fc
WD
161512018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16152
16153 * math/Makefile: Remove mpexp.c and mplog.c
16154 * sysdeps/i386/fpu/mpexp.c: Delete file.
16155 * sysdeps/i386/fpu/mplog.c: Likewise.
16156 * sysdeps/ia64/fpu/mpexp.c: Likewise.
16157 * sysdeps/ia64/fpu/mplog.c: Likewise.
16158 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
16159 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
16160 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
16161 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16162 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
16163 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
16164 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
16165 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
16166 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16167 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16168 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
16169 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16170 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16171 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
16172 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16173 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16174
8e7196c8
SL
161752018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16176
16177 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16178
4f55ad0b
AZ
161792018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16180
16181 * sysdeps/sh/libm-test-ulps: Update.
16182
261a851c
TMQMF
161832018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16184
16185 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
16186 idouble to 1 ULP.
16187
e16deca6
ZW
161882018-02-12 Zack Weinberg <zackw@panix.com>
16189
16190 [BZ #19239]
16191 * posix/sys/types.h: Don't include sys/sysmacros.h.
16192 * misc/sys/sysmacros.h: Remove the conditional deprecation
16193 warnings for the macros defined by this header.
16194
de800d83
SN
161952018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16196
16197 * manual/probes.texi: Remove slowexp probes.
16198 * math/Makefile: Remove slowexp.
16199 * sysdeps/generic/math_private.h (__slowexp): Remove.
16200 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
16201 document error bounds.
16202 * sysdeps/i386/fpu/slowexp.c: Remove.
16203 * sysdeps/ia64/fpu/slowexp.c: Remove.
16204 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
16205 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
16206 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
16207 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
16208 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
16209 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
16210 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
16211 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
16212 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
16213 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
16214 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
16215
c3d466cb
WD
162162018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
16217
16218 [BZ #13932]
16219 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
16220 * benchtests/pow-inputs: Update comment for slow path cases.
16221 * manual/probes.texi (slowpow_p10): Delete removed probe.
16222 (slowpow_p10): Likewise.
16223 * math/Makefile: Remove halfulp.c and slowpow.c.
16224 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
16225 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
16226 (__halfulp): Remove.
16227 (__slowpow): Remove.
16228 * sysdeps/i386/fpu/halfulp.c: Delete file.
16229 * sysdeps/i386/fpu/slowpow.c: Likewise.
16230 * sysdeps/ia64/fpu/halfulp.c: Likewise.
16231 * sysdeps/ia64/fpu/slowpow.c: Likewise.
16232 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
16233 improve comments and add error analysis.
16234 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
16235 (power1): Remove function:
16236 (log1): Remove error argument, add error analysis.
16237 (my_log2): Remove function.
16238 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
16239 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16240 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
16241 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
16242 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
16243 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
16244 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
16245 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
16246 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
16247 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
16248 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
16249 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16250 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16251 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16252
7bb087bd
ST
162532018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16254
16255 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
16256 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
16257
2fd4bbaa
DL
162582018-02-10 Dmitry V. Levin <ldv@altlinux.org>
16259
16260 [BZ #22433]
16261 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
16262 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
16263 and PTRACE_SETHBPREGS.
16264
402ecba4
ZW
162652018-02-10 Zack Weinberg <zackw@panix.com>
16266
16267 [BZ #22830]
16268 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
16269 correctly.
16270 * malloc/tst-malloc-stats-cancellation.c: New test case.
16271 * malloc/Makefile: Add new test case.
16272
4f5b921e
WD
162732018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
16274
16275 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
16276
a85b70db
JM
162772018-02-10 Joseph Myers <joseph@codesourcery.com>
16278
d8742dd8
JM
16279 * math/Makefile (libm-narrow-fns): Add add.
16280 (libm-test-funcs-narrow): Likewise.
16281 * math/Versions (GLIBC_2.28): Add narrowing add functions.
16282 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
16283 * math/gen-auto-libm-tests.c (test_functions): Add add.
16284 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
16285 (NARROW_ADD_ROUND_TO_ODD): Likewise.
16286 (NARROW_ADD_TRIVIAL): Likewise.
16287 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
16288 macro.
16289 (__daddl): Likewise.
16290 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
16291 dadd.
16292 (CFLAGS-nldbl-dadd.c): New variable.
16293 (CFLAGS-nldbl-fadd.c): Likewise.
16294 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16295 __nldbl_daddl.
16296 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
16297 prototype.
16298 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
16299 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
16300 * math/auto-libm-test-in: Add tests of add.
16301 * math/auto-libm-test-out-narrow-add: New generated file.
16302 * math/libm-test-narrow-add.inc: New file.
16303 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16304 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
16305 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
16306 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
16307 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
16308 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
16309 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
16310 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
16311 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
16312 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
16313 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
16314 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
16315 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
16316 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
16317 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
16318 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
16319 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
16320 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
16321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16322 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16323 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16324 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16325 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16326 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16327 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16328 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16329 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16330 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16331 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16332 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16333 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16334 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16339 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16340 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16341 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16342 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16343 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16344 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16345 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16346 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16347 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16348 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16349
a85b70db
JM
16350 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
16351 (f128-pairs): New variable.
16352 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
16353 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
16354 to CFLAGS.
16355 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
16356 Also make tests add $(f128-loader-link) to gnulib-tests.
16357
6a1ff640
DD
163582018-02-09 DJ Delorie <dj@redhat.com>
16359
16360 [BZ #22827]
16361 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
16362 64-bit ELF type for 64-bit ELF objects.
16363
bfd47587
JM
163642018-02-09 Joseph Myers <joseph@codesourcery.com>
16365
31958338
JM
16366 * math/libm-test-driver.c (snan_tests_arg): New variable.
16367 * math/libm-test-support.h (snan_tests_arg): New declaration.
16368 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
16369
8e554659
JM
16370 * math/Makefile (test-type-pairs): New variable.
16371 (test-type-pairs-f64xf128-yes): Likewise.
16372 (tests): Add test-narrow-macros.
16373 (libm-test-funcs-narrow): New variable.
16374 (libm-test-c-narrow): Likewise.
16375 (generated): Add $(libm-test-c-narrow).
16376 (libm-tests-base-narrow): New variable.
16377 (libm-tests-narrow): Likewise.
16378 (libm-tests): Add $(libm-tests-narrow).
16379 (libm-tests-for-type): Handle $(libm-tests-narrow).
16380 (libm-test-c-narrow-obj): New variable.
16381 ($(libm-test-c-narrow-obj)): New rule.
16382 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
16383 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
16384 $(o-iterator) to set dependencies and CFLAGS.
16385 * math/gen-auto-libm-tests.c: Document use for narrowing
16386 functions.
16387 (output_for_one_input_case): Take argument NARROW.
16388 (generate_output): Likewise. Update call to
16389 output_for_one_input_case.
16390 (main): Take --narrow option. Update call to generate_output.
16391 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
16392 (apply_lit): Update call to _apply_lit.
16393 (apply_arglit): New function.
16394 (parse_args): Handle "a" arguments.
16395 (parse_auto_input): Handle format names using ":".
16396 * math/README.libm-test: Document "a" parameter type.
16397 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
16398 (ARG_TYPE_TRUE_MIN): Likewise.
16399 (ARG_TYPE_MAX): Likwise.
16400 (ARG_MIN_EXP): Likewise.
16401 (ARG_MAX_EXP): Likewise.
16402 (ARG_MANT_DIG): Likewise.
16403 (TEST_COND_arg_ibm128): Likewise.
16404 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16405 (TEST_COND_arg_fmt): New macro.
16406 (init_max_error): Update prototype.
16407 * math/libm-test-support.c (test_ibm128): New variable.
16408 (init_max_error): Take argument testing_ibm128 and set test_ibm128
16409 instead of using [TEST_COND_ibm128] conditional.
16410 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
16411 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
16412 [TEST_NARROW] (TEST_MSG): New definition.
16413 (arg_plus_zero): New macro.
16414 (arg_minus_zero): Likewise.
16415 (arg_plus_infty): Likewise.
16416 (arg_minus_infty): Likewise.
16417 (arg_qnan_value_pl): Likewise.
16418 (arg_qnan_value): Likewise.
16419 (arg_snan_value_pl): Likewise.
16420 (arg_snan_value): Likewise.
16421 (arg_max_value): Likewise.
16422 (arg_min_value): Likewise.
16423 (arg_min_subnorm_value): Likewise.
16424 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
16425 (RUN_TEST_LOOP_aa_f): New macro.
16426 (TEST_SUFF): New macro.
16427 (TEST_SUFF_STR): Likewise.
16428 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
16429 (TEST_COND_any_ibm128): New macro.
16430 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16431 this_func. Update call to init_max_error.
16432 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16433 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16434 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16435 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16436 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16437 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16438 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16439 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16440 * math/test-math-vector.h (TEST_NARROW): Likewise.
16441 * math/test-arg-double.h: New file.
16442 * math/test-arg-float128.h: Likewise.
16443 * math/test-arg-float32x.h: Likewise.
16444 * math/test-arg-float64.h: Likewise.
16445 * math/test-arg-float64x.h: Likewise.
16446 * math/test-arg-ldouble.h: Likewise.
16447 * math/test-math-narrow.h: Likewise.
16448 * math/test-narrow-macros.c: Likewise.
16449 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16450 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16451 test-narrow-macros-ldbl-64.
16452 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16453
63716ab2
JM
16454 * math/bits/mathcalls-narrow.h: New file.
16455 * include/bits/mathcalls-narrow.h: Likewise.
16456 * math/math-narrow.h: Likewise.
16457 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16458 (__MATHCALL_NARROW_ARGS_2): Likewise.
16459 (__MATHCALL_NARROW_ARGS_3): Likewise.
16460 (__MATHCALL_NARROW_NORMAL): Likewise.
16461 (__MATHCALL_NARROW_REDIR): Likewise.
16462 (__MATHCALL_NARROW): Likewise.
16463 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16464 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16465 defined.
16466 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16467 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16468 (libm-narrow-fns): New variable.
16469 (libm-narrow-types-basic): Likewise.
16470 (libm-narrow-types-ldouble-yes): Likewise.
16471 (libm-narrow-types-float128-yes): Likewise.
16472 (libm-narrow-types-float128-alias-yes): Likewise.
16473 (libm-narrow-types): Likewise.
16474 (libm-routines): Add narrowing functions.
16475 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
16476 (libc_feholdexcept_setroundf128): New macro.
16477 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
16478 * sysdeps/ieee754/float128/float128_private.h: Include
16479 <math/math-narrow.h>.
16480 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
16481 Undefine and redefine.
16482 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
16483 (libm_alias_float_ldouble): Undefine and redefine.
16484 (libm_alias_double_ldouble): Likewise.
16485
bfd47587
JM
16486 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
16487
3f8d9d58
WD
164882018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
16489
16490 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
16491 FPCR/FPSR.
16492
1f6676d7
RJ
164932018-02-09 Rical Jasan <ricaljasan@pacific.net>
16494
16495 * manual/creature.texi: Convert references to gcc.info to gcc.
16496 * manual/stdio.texi: Likewise.
16497 * manual/string.texi: Likewise.
16498
d80441dd
JM
164992018-02-07 Joseph Myers <joseph@codesourcery.com>
16500
15081be9
JM
16501 [BZ #17979]
16502 * posix/bits/types.h (__int_least8_t): New typedef.
16503 (__uint_least8_t): Likewise.
16504 (__int_least16_t): Likewise.
16505 (__uint_least16_t): Likewise.
16506 (__int_least32_t): Likewise.
16507 (__uint_least32_t): Likewise.
16508 (__int_least64_t): Likewise.
16509 (__uint_least64_t): Likewise.
16510 * sysdeps/generic/stdint.h (int_least8_t): Define using
16511 __int_least8_t.
16512 (int_least16_t): Define using __int_least16_t.
16513 (int_least32_t): Define using __int_least32_t.
16514 (int_least64_t): Define using __int_least64_t.
16515 (uint_least8_t): Define using __uint_least8_t.
16516 (uint_least16_t): Define using __uint_least16_t.
16517 (uint_least32_t): Define using __uint_least32_t.
16518 (uint_least64_t): Define using __uint_least64_t.
16519 * wcsmbs/uchar.h: Include <bits/types.h>.
16520 (char16_t): Define using __uint_least16_t conditional only on
16521 [!__USE_ISOCXX11].
16522 (char32_t): Define using __uint_least32_t conditional only on
16523 [!__USE_ISOCXX11].
16524 * wcsmbs/test-char-types.c: New file.
16525 * wcsmbs/Makefile (tests): Add test-char-types.
16526
d80441dd
JM
16527 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16528 version to 4.0.1.
16529
6c6c962a
ZW
165302018-02-07 Zack Weinberg <zackw@panix.com>
16531
63fb8f9a
ZW
16532 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
16533 Delete all contents except for definitions of _G_HAVE_MMAP and
16534 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
16535 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
16536 sysdeps/unix/sysv/linux/_G_config.h. Make same content
16537 change as above.
16538
16539 * libio/libio.h: Don't include bits/_G_config.h here.
16540 Include stddef.h with __need_wchar_t defined. Include
16541 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
16542 Define _IO_iconv_t here, directly.
16543 Don't define _IO_HAVE_ST_BLKSIZE.
16544 * libio/libioP.h: Include _G_config.h here. Move include of
16545 shlib-compat.h up with rest of includes. Simplify conditionals
16546 controlling definition of _IO_JUMPS_OFFSET.
16547
16548 * csu/init.c: Remove always-true #if around entire file.
16549 Don't include stdio.h. Set _IO_stdin_used to hardwired
16550 constant 0x20001, and update commentary.
16551 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
16552 Replace all uses of _G_va_list with __gnuc_va_list.
16553 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
16554 instead of #if _IO_HAVE_ST_BLKSIZE.
16555 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
16556 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
16557 not #ifdef.
16558
6c6c962a
ZW
16559 * libio/bits/libio.h: Move back to libio/libio.h and adjust
16560 multiple-include guard to match.
16561 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
16562 into this file.
16563 Remove preprocessor conditionals that are always true and/or
16564 redundant to other preprocessor conditionals in the same nest.
16565 Include shlib-compat.h unconditionally.
16566 Error out if _LIBC is not defined, or if _ISOMAC is defined,
16567 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
16568 defined after including stdio.h.
16569 Use __BEGIN_DECLS/__END_DECLS.
16570
16571 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16572 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16573 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16574
a4fea3f2
ZW
165752018-02-07 Zack Weinberg <zackw@panix.com>
16576
16577 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16578 New single-type headers split from _G_config.h.
16579 * libio/bits/types/cookie_io_functions_t.h
16580 * libio/bits/types/struct_FILE.h
16581 New single-type headers split from libio.h.
16582
16583 * libio/Makefile: Install the above new headers. Don't install
16584 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16585 bits/libio-ldbl.h.
16586 * libio/_G_config.h, libio/libio.h: Delete file.
16587
16588 * libio/bits/libio.h: Remove improper-inclusion guard.
16589 Include stdio.h and don't repeat anything that it does.
16590 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16591 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16592 __io_read_fn as cookie_read_function_t,
16593 __io_write_fn as cookie_write_function_t,
16594 __io_seek_fn as cookie_seek_function_t,
16595 __io_close_fn as cookie_close_function_t,
16596 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16597 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16598 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 16599 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
16600 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16601 and _IO_ferror_unlocked.
16602 Move prototypes of __uflow and __overflow...
16603
16604 * libio/stdio.h: ...here. Don't include bits/libio.h.
16605 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 16606 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
16607 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16608 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16609 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16610 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16611 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16612 __ssize_t, not _IO_ssize_t. Unconditionally define
16613 BUFSIZ as 8192 and EOF as (-1).
16614
16615 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16616 macros from bits/types/struct_FILE.h instead of _IO_* macros
16617 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16618 instead of _IO_ssize_t.
16619 * libio/bits/stdio2.h: Similarly.
16620
16621 * libio/iolibio.h: Add multiple-include guard.
16622 Include bits/libio.h after stdio.h.
16623 * libio/libioP.h: Add multiple-include guard.
16624 Include stdio.h and bits/libio.h before iolibio.h.
16625
6c6c962a 16626 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
16627 * include/bits/types/cookie_io_functions_t.h
16628 * include/bits/types/struct_FILE.h: New wrappers.
16629
16630 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
16631 Get definitions of _G_fpos_t and _G_fpos64_t from
16632 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16633 respectively. Remove improper-inclusion guards.
a4fea3f2 16634
6c6c962a 16635 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 16636 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 16637 libio.h and _G_config.h.
a4fea3f2 16638
ce999220
JM
166392018-02-07 Joseph Myers <joseph@codesourcery.com>
16640
8b4a1182
JM
16641 [BZ #15105]
16642 [BZ #19463]
16643 * include/sys/sysmacros.h [!_ISOMAC]
16644 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16645 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16646 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16647 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16648 libc_hidden_proto.
16649 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16650 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16651 Likewise.
16652 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16653 Undefine and redefine to add use __gnu_dev_ prefix.
16654 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16655 Likewise.
16656 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16657 and define as hidden inline function.
16658 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16659 Likewise.
16660 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16661 Likewise.
16662 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16663 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16664 (gnu_dev_minor): Likewise.
16665 (gnu_dev_makedev): Likewise.
16666 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16667 makedev.
16668 * posix/wordexp.c (exec_comm_child): Likewise.
16669 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16670 instead of minor and __gnu_dev_major instead of major.
16671 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16672 __gnu_dev_major instead of major.
16673 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16674 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16675 instead of gnu_dev_minor.
16676 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16677 (SLAVE_P): Likewise.
16678 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
16679 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
16680 instead of major.
16681
ce999220
JM
16682 [BZ #21313]
16683 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
16684 in another place.
16685 * locale/weightwc.h (findidx): Likewise.
16686
b7c83ca3
WD
166872018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
16688
16689 * manual/probes.texi (slowlog): Delete documentation of removed probe.
16690 (slowlog_inexact): Likewise
16691 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
16692 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
16693
388ff7bd
IG
166942018-02-07 Igor Gnatenko <ignatenko@redhat.com>
16695
16696 [BZ #22797]
16697 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
16698 missing second underscore to parameter name.
16699
663e7d78
JM
167002018-02-06 Joseph Myers <joseph@codesourcery.com>
16701
0d40d0ec
JM
16702 [BZ #14508]
16703 [BZ #15512]
16704 [BZ #17082]
16705 [BZ #20530]
16706 * bits/byteswap.h: Update file comment. Do not include
16707 <bits/byteswap-16.h>.
16708 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
16709 constant.
16710 (__bswap_16): Define as inline function.
16711 (__bswap_constant_32): Reformat definition.
16712 (__bswap_32): Always define as inline function, not macro, using
16713 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
16714 otherwise __bswap_constant_32.
16715 (__bswap_constant_64): Reformat definition. Do not use
16716 __extension__ here.
16717 (__bswap_64): Always define as inline function, not macro. Use
16718 __extension__ on function definition. Use __builtin_bswap64 if
16719 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16720 * string/test-endian-file-scope.c: New file.
16721 * string/test-endian-sign-conversion.c: Likewise.
16722 * string/Makefile (headers): Remove bits/byteswap-16.h.
16723 (tests): Add test-endian-file-scope and
16724 test-endian-sign-conversion.
16725 (CFLAGS-test-endian-sign-conversion.c): New variable.
16726 * bits/byteswap-16.h: Remove file.
16727 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16728 * sysdeps/ia64/bits/byteswap.h: Likewise.
16729 * sysdeps/m68k/bits/byteswap.h: Likewise.
16730 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16731 * sysdeps/s390/bits/byteswap.h: Likewise.
16732 * sysdeps/tile/bits/byteswap.h: Likewise.
16733 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16734 * sysdeps/x86/bits/byteswap.h: Likewise.
16735
383e87c9
JM
16736 [BZ #17721]
16737 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16738 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16739 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16740 199901L] (__restrict): Define to restrict.
16741
d92c2759
JM
16742 [BZ #19667]
16743 * string/testcopy.c: Include <support/support.h>. Do not include
16744 <malloc.h>. Use <support/test-driver.c>.
16745 (main): Rename to do_test. Make static. Use xmalloc instead of
16746 malloc.
16747
625fb764
JM
16748 [BZ #13575]
16749 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16750 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16751 (SSIZE_MAX): Define to INT_MAX.
16752 * posix/test-ssize-max.c: New file.
16753 * posix/Makefile (tests): Add test-ssize-max.
16754
02325d6c
JM
16755 [BZ #19668]
16756 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16757 <support/support.h>. Do not include <malloc.h>.
16758 (query_auxv): Use xmalloc instead of malloc.
16759
663e7d78
JM
16760 [BZ #14553]
16761 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16762 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16763 instead of loff_t.
16764
6d7aa2b5
FW
167652018-02-06 Florian Weimer <fweimer@redhat.com>
16766
16767 [BZ #18023]
16768 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16769 Use scratch_buffer instead of extend_alloca.
16770
de6da571
ZW
167712018-02-06 Zack Weinberg <zackw@panix.com>
16772
26c07172
ZW
16773 * libio/stdio.h: Don't define getc or putc as macros.
16774 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16775 not _IO_getc and _IO_putc.
16776
de6da571
ZW
16777 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16778 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16779
92669d6e
JM
167802018-02-06 Joseph Myers <joseph@codesourcery.com>
16781
c2b84df9
JM
16782 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16783 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16784
41376f8c
JM
16785 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16786
d28bf648
JM
16787 [BZ #14890]
16788 * elf/elf.h (NT_PRFPREG): New macro.
16789 (NT_S390_VXRS_LOW): Likewise.
16790 (NT_S390_VXRS_HIGH): Likewise.
16791 (NT_S390_GS_CB): Likewise.
16792 (NT_S390_GS_BC): Likewise.
16793 (NT_S390_RI_CB): Likewise.
16794
e76def72
JM
16795 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16796 (MAP_SYNC): New macro.
16797 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16798 Likewise.
16799 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16800 (MAP_SYNC): Likewise.
16801 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16802 (MAP_SYNC): Likewise.
16803 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16804 (MAP_SYNC): Likewise.
16805 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16806 (MAP_SYNC): Likewise.
16807 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16808 (MAP_SYNC): Likewise.
16809 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16810 (MAP_SYNC): Likewise.
16811 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16812 Likewise.
16813 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16814 Likewise.
16815
92669d6e
JM
16816 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16817 (MAP_SHARED_VALIDATE): New macro.
16818 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16819 (MAP_SHARED_VALIDATE): Likewise.
16820
6a5cac49
L
168212018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16822
16823 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16824 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16825 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16826
b44e0dfb
L
168272018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16828
16829 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16830 (DT_NUM): Updated to 35.
16831
f886c16c
L
168322018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16833
16834 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16835 __builtin_expect with __glibc_likely and __glibc_unlikely.
16836 (elf_machine_rela): Likewise.
16837 (elf_machine_lazy_rel): Likewise.
16838
06fbebff
L
168392018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16840
16841 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 16842 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
16843 (elf_machine_lazy_rel): Likewise.
16844
371b220f
L
168452018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16846
16847 [BZ #22638]
16848 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16849 SHARED.
65805016 16850 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 16851
f649a1b8
AS
168522018-02-05 Andreas Schwab <schwab@suse.de>
16853
16854 [BZ #22761]
16855 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16856 string.
16857
9fdb340e
ST
168582018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16859
16860 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16861 not check against PTHREAD_STACK_MIN.
16862
09e56b9e
SM
168632018-02-02 Sean McKean <smckean83@gmail.com>
16864
16865 [BZ #22735]
16866 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16867
d4b4a00a
FW
168682018-02-02 Florian Weimer <fweimer@redhat.com>
16869
16870 [BZ #22753]
16871 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16872 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16873 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16874 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16875 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16876 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16877 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16878 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16879 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16880 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16881 * misc/tst-preadvwritev2.c (do_test): Call it.
16882 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16883
3dfcbfa1
SP
168842018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16885
84c94d2f
SP
16886 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16887
96e6a716
SP
16888 * benchtests/bench-memcmp.c: Print json instead of plain text.
16889
3dfcbfa1
SP
16890 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16891 every test run.
16892
049375e2
JM
168932018-02-01 Joseph Myers <joseph@codesourcery.com>
16894
39f898c6
JM
16895 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16896 version to 4.15.
16897 (s390_sthyi): New syscall.
16898
6f9a3dd8
JM
16899 * sysdeps/generic/ldbl-classify-compat.h: New file.
16900 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16901 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16902 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16903 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16904 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16905 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16906 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16907 <ldbl-classify-compat.h>.
16908 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16909 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16910 <ldbl-classify-compat.h>.
16911 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16912 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16913 <ldbl-classify-compat.h>.
16914 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16915 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16916 <ldbl-classify-compat.h>.
16917 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16918 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16919 <ldbl-classify-compat.h>.
16920 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16921 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16922 <ldbl-classify-compat.h>.
16923 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16924 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16925 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16926 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16927 * sysdeps/microblaze/math_private.h: Likewise.
16928 * sysdeps/nios2/math_private.h: Likewise.
16929 * sysdeps/sh/math_private.h: Likewise.
16930
eb65a3d5
JM
16931 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16932 * sysdeps/m68k/coldfire/math_private.h: ... here.
16933 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16934 * sysdeps/tile/math_private.h: Likewise.
16935 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16936 Remove macro.
16937 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16938 Likewise.
16939
8a6bb1d0
JM
16940 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16941 Remove macro.
16942 (libc_fetestexcept): Likewise.
16943 (libc_feupdateenv_test): Likewise.
16944 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16945 (libc_fetestexcept): Likewise.
16946 (libc_feupdateenv_test): Likewise.
16947 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16948 (libc_fetestexcept): Likewise.
16949 (libc_feupdateenv_test): Likewise.
16950 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
16951 (libc_fetestexcept): Likewise.
16952 (libc_feupdateenv_test): Likewise.
16953
ae1fcb7b
JM
16954 * sysdeps/generic/math_private.h
16955 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
16956 New inline function.
16957 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
16958 Likewise.
16959
b1c347e2
JM
16960 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
16961 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
16962 * sysdeps/generic/math_private.h
16963 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
16964 inline function.
16965 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
16966 Likewise.
16967 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
16968 Likewise.
16969 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
16970 Likewise.
16971 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
16972 Likewise.
16973 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
16974 Likewise.
16975 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
16976 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
16977 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
16978 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
16979 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
16980 (__fegetenv): Likewise.
16981 (fesetenv): Likewise.
16982 (__fesetenv): Likewise.
16983 (feupdateenv): Likewise.
16984 (__feupdateenv): Likewise.
16985 (fegetround): Likewise.
16986 (__fegetround): Likewise.
16987 (fesetround): Likewise.
16988 (__fesetround): Likewise.
16989
d23a4962
JM
16990 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16991 (feraiseexcept): New macro.
16992 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16993 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16994 Remove macro.
16995 (__feraiseexcept): Likewise.
16996 (feclearexcept): Likewise.
16997 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16998 (__feraiseexcept): Likewise.
16999 (feclearexcept): Likewise.
17000 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
17001 (__feraiseexcept): Likewise.
17002 (feclearexcept): Likewise.
17003 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
17004 (__feraiseexcept): Likewise.
17005 (feclearexcept): Likewise.
17006 (fetestexcept): Likewise.
17007
5f167950
JM
17008 * sysdeps/m68k/coldfire/math-tests.h: New file.
17009
ccc9035a
JM
17010 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
17011 * sysdeps/m68k/bits/fenv.h: ... here.
17012 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
17013 not define.
17014 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
17015 Likewise.
17016 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
17017 Likewise.
17018 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
17019 Likewise.
17020 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
17021 Likewise.
17022 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
17023 Define to 0.
17024 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
17025 (__FE_UNDEFINED): New enum constant.
17026 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
17027 Do not define.
17028 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
17029 Likewise.
17030 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
17031 Likewise.
17032 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
17033 to match generic bits/fenv.h.
17034 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
17035 Do not define.
17036
049375e2
JM
17037 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
17038 packed on bits.
17039 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
17040 * soft-fp/half.h (union _FP_UNION_H): Likewise.
17041 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
17042 * soft-fp/single.h (union _FP_UNION_S): Likewise.
17043
f1d73681
CD
170442018-02-01 Carlos O'Donell <carlos@redhat.com>
17045 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
17046 Joseph Myers <joseph@codesourcery.com>
17047
17048 [BZ #21314]
17049 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
17050 (__log1p): Disable -Wmaybe-uninitialized for -Os around
17051 computation using c.
17052 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
17053 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
17054 computation using c.
17055
242cbc90
DL
170562018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17057
086ee48e
DL
17058 * version.h (RELEASE): Set to "development".
17059 (VERSION): Set to "2.27.9000".
17060 * NEWS (2.28): New section.
17061
23158b08
DL
17062 * version.h (RELEASE): Set to "stable".
17063 (VERSION): Set to "2.27".
17064 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
17065
242cbc90
DL
17066 * NEWS: Add the list of bugs fixed in 2.27.
17067
673e2305
AZ
170682018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17069
17070 * stdlib/test-atexit-race-common.c (do_test): Check stack size
17071 against PTHREAD_STACK_MIN.
17072
ced64e01
DL
170732018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17074
17075 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
17076 New entries.
17077 (Rafal Luzynski, Andreas Schwab): Update.
17078
c10c9a5e
RL
170792018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
17080
17081 [BZ #10871]
17082 * NEWS: List the languages which actually use the alternative
17083 months feature in this release. Also explain that "alt_mon" and
17084 "ab_alt_mon" are optional.
17085
650ba77a
IM
170862018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
17087
17088 [BZ #22765]
17089 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
17090
93493119
DL
170912018-01-31 Dmitry V. Levin <ldv@altlinux.org>
17092
17093 * manual/install.texi (Tools for Compilation): Update the newest
17094 versions of gcc, binutils, texinfo, gawk, bison, and sed.
17095 * INSTALL: Regenerated.
17096
363e4519 170972018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
17098
17099 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
17100 instead of __builtin_expect.
17101
d7536874
FW
171022018-01-30 Florian Weimer <fweimer@redhat.com>
17103
17104 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
17105 data.
17106 * nss/tst-nss-getpwent.c (do_test): Likewise.
17107
9a1b267d
RL
171082018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
17109
17110 [BZ #10871]
17111 * localedata/locales/hr_HR (mon): Rename to...
17112 (alt_mon): This.
17113 (mon): Import from CLDR (genitive case).
17114 (d_t_fmt): Update the comment.
17115
9a179328
AS
171162018-01-29 Andreas Schwab <schwab@linux-m68k.org>
17117
17118 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
17119 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
17120 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
17121
e01e0ddc
ST
171222018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17123
17124 * mach/Versions: Fix version when __mach_host_self_ was added.
17125 * hurd/Versions: Fix version when _hurd_exec_paths was added.
17126 * sysdeps/mach/hurd/i386/ld.abilist: New file.
17127 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
17128 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
17129 * sysdeps/mach/hurd/i386/libc.abilist: New file.
17130 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
17131 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
17132 * sysdeps/mach/hurd/i386/libm.abilist: New file.
17133 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
17134 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
17135 * sysdeps/mach/hurd/i386/librt.abilist: New file.
17136 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
17137 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
17138 || to respect codestyle.
2aadb705
ST
17139 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
17140 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
17141 * malloc/malloc.c: Include <assert.h>.
17142 (assert): Do not define.
17143 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
17144 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
17145 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 17146 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 17147 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 17148
521877e1
PD
171492018-01-29 Darius Rad <darius@bluespec.com>
17150
17151 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
17152
532cf290
PD
171532018-01-29 Palmer Dabbelt <palmer@sifive.com>
17154
17155 * sysdeps/init_array/crti.S (.section .init_array): Add
17156 PREINIT_FUNCTION when defined.
40ca951b 17157 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 17158 * config.h.in: Regenerate.
ba9e25a6
PD
17159 * manual/platform.texi: Add RISC-V documenation for
17160 __riscv_flush_icache.
c776fa11
PD
17161 * sysdeps/riscv/__longjmp.S: New file.
17162 * sysdeps/riscv/backtrace.c: Likewise.
17163 * sysdeps/riscv/bits/endian.h: Likewise.
17164 * sysdeps/riscv/bits/setjmp.h: Likewise.
17165 * sysdeps/riscv/bits/wordsize.h: Likewise.
17166 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
17167 * sysdeps/riscv/bsd-setjmp.c: Likewise.
17168 * sysdeps/riscv/dl-trampoline.S: Likewise.
17169 * sysdeps/riscv/gccframe.h: Likewise.
17170 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
17171 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
17172 * sysdeps/riscv/machine-gmon.h: Likewise.
17173 * sysdeps/riscv/memusage.h: Likewise.
17174 * sysdeps/riscv/setjmp.S: Likewise.
17175 * sysdeps/riscv/sys/asm.h: Likewise.
17176 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
17177 * sysdeps/riscv/dl-tls.h: New file.
17178 * sysdeps/riscv/libc-tls.c: Likewise.
17179 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
17180 * sysdeps/riscv/nptl/tls.h: Likewise.
17181 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
17182 * sysdeps/riscv/bits/fenv.h: New file.
17183 * sysdeps/riscv/e_sqrtl.c: Likewise.
17184 * sysdeps/riscv/fpu_control.h: Likewise.
17185 * sysdeps/riscv/math-tests.h: Likewise.
17186 * sysdeps/riscv/nofpu/Implies: Likewise.
17187 * sysdeps/riscv/sfp-machine.h: Likewise.
17188 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
17189 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
17190 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
17191 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
17192 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
17193 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
17194 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
17195 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
17196 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
17197 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
17198 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
17199 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
17200 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
17201 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
17202 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
17203 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
17204 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
17205 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
17206 * sysdeps/riscv/rvd/s_finite.c: Likewise.
17207 * sysdeps/riscv/rvd/s_fma.c: Likewise.
17208 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
17209 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
17210 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
17211 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
17212 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
17213 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
17214 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
17215 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
17216 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
17217 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
17218 * sysdeps/riscv/rvf/fegetround.c: Likewise.
17219 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
17220 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
17221 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
17222 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
17223 * sysdeps/riscv/rvf/fesetround.c: Likewise.
17224 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
17225 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
17226 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
17227 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
17228 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
17229 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
17230 * sysdeps/riscv/rvf/math_private.h: Likewise.
17231 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
17232 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
17233 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
17234 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
17235 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
17236 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
17237 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
17238 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
17239 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
17240 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
17241 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
17242 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
17243 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
17244 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
17245 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
17246 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
17247 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
17248 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
17249 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
17250 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
17251 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
17252 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17253 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
17254 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
17255 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
17256 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
17257 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
17258 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
17259 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
17260 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
17261 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
17262 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
17263 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
17264 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
17265 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
17266 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
17267 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
17268 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
17269 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
17270 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
17271 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
17272 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
17273 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
17274 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
17275 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
17276 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
17277 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
17278 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
17279 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
17280 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
17281 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
17282 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
17283 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
17284 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
17285 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
17286 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
17287 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
17288 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
17289 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
17290 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
17291 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17292 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17293 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17294 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17295 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17296 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17297 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17298 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
17299 * sysdeps/riscv/Implies: New file.
17300 * sysdeps/riscv/Makefile: Likewise.
17301 * sysdeps/riscv/configure: Likewise.
17302 * sysdeps/riscv/configure.ac: Likewise.
17303 * sysdeps/riscv/nptl/Makefile: Likewise.
17304 * sysdeps/riscv/preconfigure: Likewise.
17305 * sysdeps/riscv/rv64/Implies-after: Likewise.
17306 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
17307 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
17308 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
17309 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
17310 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
17311 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
17312 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
17313 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
17314 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
17315 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
17316 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
17317 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
17318 (Config): Likewise.
532cf290 17319
cdd14619
FW
173202018-01-29 Florian Weimer <fweimer@redhat.com>
17321
17322 [BZ #22701]
17323 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
17324 libnsl_hidden_proto.
17325 * include/rpcsvc/yp.h (yp_xdrall): Declare with
17326 libnsl_hidden_proto.
17327 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
17328 * nis/Makefile (libnsl-routines): Add nss-default only for
17329 build-obsolete-nsl.
17330 * nis/nis_defaults.c (__nis_default_ttl): Add
17331 libnsl_hidden_nolink_def.
17332 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
17333 declaration.
17334 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
17335 * nis/ypclnt.c (yp_maplist): Likewise.
17336
b7ccb5de
RN
173372018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
17338
17339 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17340 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
17341
522623e4
JM
173422018-01-29 Joseph Myers <joseph@codesourcery.com>
17343
e3aa6999
JM
17344 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
17345 clean -dxfq for git updates when replacing sources.
17346
088de7d0
JM
17347 * scripts/build-many-glibcs.py (Config.build_gcc): Use
17348 --disable-libcilkrts unconditionally, not just for the final GCC
17349 build for Hurd.
17350
522623e4
JM
17351 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17352 version to 4.15.
17353
8b406f87
RL
173542018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17355
17356 [BZ #10871]
17357 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
17358 case).
17359
105e90bd
RL
173602018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17361
17362 [BZ #10871]
17363 * localedata/locales/be_BY (mon): Rename to...
17364 (alt_mon): This, then synchronize with CLDR (nominative case).
17365 (abmon): Rename to...
17366 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17367 (mon): Import from CLDR (genitive case).
17368 (abmon): Likewise.
17369 * localedata/locales/be_BY@latin (mon): Rename to...
17370 (alt_mon): This.
17371 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
17372
17373 * localedata/locales/be_BY@latin (lang_name): Reworded to
17374 "biełaruskaja mova".
17375
561cb414
RL
173762018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17377
17378 [BZ #10871]
17379 * localedata/locales/el_CY (mon): Renamed to...
17380 (alt_mon): This.
17381 (mon): Import from CLDR (genitive case).
17382 * localedata/locales/el_GR: Likewise.
17383
f7bdf30d
RL
173842018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17385
17386 [BZ #10871]
17387 * localedata/locales/ru_RU (mon): Rename to...
17388 (alt_mon): This.
17389 (abmon): Rename to...
17390 (ab_alt_mon): This.
17391 (mon): Import from CLDR (genitive case).
17392 (abmon): Copy from the old content except the 5th month which is
17393 now in the genitive case, even when abbreviated.
17394 * localedata/locales/ru_UA: Likewise.
17395 * time/tst-strptime.c (day_tests): Add an actual example of
17396 a difference between %b and %Ob in Russian.
17397
85285a0c
ST
173982018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17399
17400 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
17401 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17402 a `c' variable.
3538a4b6 17403 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
17404 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17405 <sys/wait.h>, <time.h>, <sys/uio.h>.
17406 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 17407 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
17408 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
17409 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
17410 return 0.
05ebfe87
ST
17411 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
17412 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
17413 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
17414 instead of void *.
17415 * sysdeps/pthread/timer_create.c (timer_create): Do not use
17416 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
17417 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
17418 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
17419 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
17420 and make them the default for now.
903d3633
ST
17421 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
17422 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
17423 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
17424 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
17425 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
17426 MACH_IPC_COMPAT.
06fac9f5
ST
17427 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
17428 __task_terminate would ever return successfully.
f8177753
ST
17429 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
17430 to global scope.
41cdb1eb
ST
17431 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17432 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
17433 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17434 critical section to make code simpler and avoid warning.
17435 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17436 critical section to make code simpler and avoid warning.
844bf921
ST
17437 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17438 const char * instead of char *.
f8bee46c
ST
17439 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17440 __hurd_file_name_split, hurd_file_name_split,
17441 __hurd_directory_name_split, hurd_directory_name_split,
17442 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17443 hurd_file_name_path_lookup): Make lookup function parameter take a
17444 const char *name instead of char *name.
17445 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17446 __hurd_directory_name_split): Likewise.
17447 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17448 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
17449 * sysdeps/mach/hurd/check_native.c: New file.
17450 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
17451 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17452 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
17453 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17454 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
17455 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17456 (do_test_bz20181): Rename accordingly.
17457 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
17458 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17459 <sys/mount.h>.
28f6186f
ST
17460 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17461 version only if __USE_EXTERN_INLINES is defined.
17462 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17463 __hurd_sockfail): Likewise.
17464 (_hurd_fd_get): Always declare functions, and provide inline versions
17465 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17466 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17467 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17468 _hurd_port_set): Always declare functions, and provide inline versions
17469 only if __USE_EXTERN_INLINES and _LIBC are defined and
17470 IS_IN(libc).
17471 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17472 _hurd_critical_section_unlock): Likewise.
17473 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
17474 * __hurd_threadvar_location): Likewise.
17475 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
17476 _hurd_userlink_clear): Likewise.
17477 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
17478 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
17479 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
17480 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
17481 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
17482 __spin_lock_locked): Likewise.
17483 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
17484 __spin_lock_locked): Likewise.
17485 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
17486 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
17487 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
17488 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
17489 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
17490 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
17491 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
17492 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
17493 check size against PTHREAD_STACK_MIN.
625ba81e
ST
17494 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
17495 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
17496 * mach/Makefile (user-interfaces): Add mach/gnumach.
17497 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
17498 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
17499 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
17500 instead of invalid -1.
1f89ac71
ST
17501 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
17502 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
17503 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
17504 <net/ppp_defs.h>.
85285a0c 17505
1fd1e27c 175062018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
17507
17508 * hurd/fcntl-internal.h: New file.
17509
3854c5a8
JC
175102018-01-27 James Clarke <jrtc27@jrtc27.com>
17511
7e23a7dd
JC
17512 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17513
3854c5a8
JC
17514 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17515
5503f413
AS
175162018-01-26 Andreas Schwab <schwab@linux-m68k.org>
17517
17518 [BZ #22701]
17519 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
17520 Build only shared objects.
17521
caaf7804
CD
175222018-01-26 Carlos O'Donell <carlos@redhat.com>
17523
17524 * README: Update for hppa.
17525
1cbf818d
PM
175262018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17527
caaf7804
CD
17528 * sysdeps/sparc/fpu/libm-test-ulps: Update
17529 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 17530
caaf7804 175312018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
17532
17533 Revert:
17534
17535 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17536
17537 [BZ #22563]
17538 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17539 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17540 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17541 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17542 to feature_1.
17543
17544 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17545
17546 [BZ #22563]
17547 * bits/types/__cancel_jmp_buf_tag.h: New file.
17548 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17549 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17550 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17551 * nptl/Makefile (headers): Add
17552 bits/types/__cancel_jmp_buf_tag.h.
17553 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17554 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17555 * sysdeps/nptl/pthread.h: Include
17556 <bits/types/__cancel_jmp_buf_tag.h>.
17557 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17558 __cancel_jmp_buf.
17559 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17560
65f6c94e
RL
175612018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
17562
17563 [BZ #10871]
17564 * localedata/locales/uk_UA (mon): Renamed to...
17565 (alt_mon): This.
17566 (alt_digits): "0" removed and then renamed to...
17567 (mon): This.
17568 (date_fmt): Definition changed not to use the alternative
17569 digits hack.
17570
fb58aac5
PD
175712018-01-25 Palmer Dabbelt <palmer@sifive.com>
17572
17573 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17574 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17575 * elf/elf.h (EF_RISCV_RVC): New define.
17576 (EF_RISCV_FLOAT_ABI): Likewise.
17577 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17578 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17579 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17580 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17581 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17582 define.
17583 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17584
128c43a2
AS
175852018-01-25 Andreas Schwab <schwab@suse.de>
17586
17587 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17588 single quotes.
17589 * sysdeps/gnu/configure: Regenerate.
17590 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17591 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17593 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17594 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17595 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17596 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17597 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17598
f9015003
ST
175992018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17600
48130690 17601 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 17602 URL, and run autoconf, make it the default for now.
f9015003 17603
91b2cffa
JM
176042018-01-24 Joseph Myers <joseph@codesourcery.com>
17605
3005b705
JM
17606 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17607 soft-float ColdFire configuration.
17608
69231fab
JM
17609 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17610 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17611 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17612
d4c7e1d0
JM
17613 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17614 MicroBlaze file.
17615
0cfe5be5
JM
17616 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17617 ....
17618 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17619 ... here.
17620 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17621 New file.
17622
91b2cffa
JM
17623 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17624 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17625 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17626 file.
17627
c739e191
SN
176282018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17629
17630 [BZ #22742]
17631 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17632 Rename to __reserved and add comment.
17633 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17634 Rename to __reserved.
17635
394b5bac
JM
176362018-01-24 Joseph Myers <joseph@codesourcery.com>
17637
17638 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17639 i686-gnu configurations.
17640 (Context.run_builds): Include mig, gnumach and hurd in components
17641 considered.
17642 (Context.checkout): Add mig, gnumach and hurd to components.
17643 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17644 hurd.
17645 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17646 (Config.build): Install gnumach headers, build mig and install
17647 hurd headers for 'gnu' OS.
17648 (Config.install_gnumach_headers): New function.
17649 (Config.install_hurd_headers): Likewise.
17650 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17651 when building for 'gnu' OS.
17652
28c3f14f
TK
176532018-01-23 Tobias Klauser <tklauser@distanz.ch>
17654
17655 * manual/tunables.texi (Hardware Capability Tunables): Fix
17656 spelling.
17657
0f5e2da1
RJ
176582018-01-22 Rical Jasan <ricaljasan@pacific.net>
17659
17660 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17661 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17662 (ALTMON_11, ALTMON_12): Improve documentation.
17663 * manual/time.texi (strftime): Likewise.
17664
7817b14a
RL
176652018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17666
17667 [BZ #10871]
17668 * localedata/locales/pl_PL: Alternative month names added,
17669 primary month names are genitive now.
17670 * time/tst-strptime.c (day_tests): Actually use a genitive case
17671 of a month name in Polish language.
17672
22390764
RL
176732018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17674
17675 [BZ #10871]
17676 * manual/locale.texi: Document ALTMON_1..12 constants for
17677 nl_langinfo. Specify when to use ALTMON instead of MON.
17678 * manual/time.texi (strftime, strptime): Document GNU extension
17679 permitting O modifier with %B and %b. Specify when to use
17680 %OB instead of %B.
17681
761a585c
RL
176822018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17683
17684 [BZ #10871]
17685 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
17686 names, define them as the same as abbreviated month names explicitly.
17687 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
17688 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
17689 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
17690 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
17691 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
17692 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
17693 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
17694 _NL_WABALTMON_12): New enum constants.
17695 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
17696 wab_alt_mon, and ab_alt_mon_defined members.
17697 (time_output): Output ab_alt_mon and wab_alt_mon members.
17698 (time_read): Read them, initialize them as copies of abmon and wabmon
17699 respectively if they are missing, initialize ab_alt_mon_defined.
17700 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
17701 * locale/programs/locfile-kw.h: Regenerate.
17702 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
17703 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
17704 and ru_RU.UTF-8.
17705 * time/strftime_l.c (a_altmonth, aam_len): New macros.
17706 [!COMPILE_WIDE] (ABALTMON_1): New macro.
17707 (__strftime_internal): Handle %Ob and %Oh formats.
17708 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
17709 (__strptime_internal): Handle %Ob and %Oh formats.
17710 * time/tst-strptime.c (day_tests): Add more tests to parse different
17711 forms of month names including the new %Ob format specifier.
17712
95cb863a
RL
177132018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17714
17715 [BZ #10871]
17716 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17717 define them as the same as primary full month names explicitly.
17718 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17719 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17720 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17721 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17722 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17723 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17724 _NL_WALTMON_12): New enum constants.
17725 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17726 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17727 macros.
17728 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17729 walt_mon, and alt_mon_defined members.
17730 (time_output): Output alt_mon and walt_mon members.
17731 (time_read): Read them, initialize them as copies of mon and wmon
17732 respectively if they are missing, initialize alt_mon_defined.
17733 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17734 * locale/programs/locfile-kw.h: Regenerate.
17735 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17736 * localedata/tst-langinfo.c (map): Add tests for the new constants
17737 ALTMON_1 .. ALTMON_12.
17738 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17739 and pl_PL.UTF-8.
17740 * time/strftime_l.c (f_altmonth): New macro.
17741 (__strftime_internal): Handle %OB format.
17742 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17743 (__strptime_internal): Handle %OB format.
17744 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17745 of month names including the new %OB format specifier.
17746
4612268a
TMQMF
177472018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17748
17749 [BZ #22685]
17750 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17751 from ABORT_TRANSACTION.
17752 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17753 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17754 ABORT_TRANSACTION_IMPL): Likewise.
17755 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17756 Linux code, but remove the code that aborts transactions.
17757
64f63cb4
ST
177582018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17759
17760 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17761
32ac6e92
RL
177622018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17763
17764 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17765 in date: "2004-14-09" should be "2004-09-14".
17766 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17767 "2003-15-09" should be "2003-09-15".
17768
8e448310
AS
177692018-01-18 Arjun Shankar <arjun@redhat.com>
17770
17771 [BZ #22343]
71aa429b 17772 [BZ #22774]
4590634f 17773 CVE-2018-6485
71aa429b 17774 CVE-2018-6551
8e448310
AS
17775 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17776 after padding.
17777 (_int_memalign): check for integer overflow before calling
17778 _int_malloc.
17779 * malloc/tst-malloc-too-large.c: New test.
17780 * malloc/Makefile: Add tst-malloc-too-large.
17781
e234d7cb
RL
177822018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17783
17784 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17785 in date: "2017-24-07" should be "2017-07-24".
17786 * localedata/locales/mai_IN: Likewise.
17787 * localedata/locales/mai_NP: Likewise.
17788
48b66019
DL
177892018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17790
17791 * po/ru.po: Update translations.
17792
1eeddc58
JM
177932018-01-17 Joseph Myers <joseph@codesourcery.com>
17794
17795 [BZ #22719]
17796 * sysdeps/hppa/backtrace.c: New file.
17797
207a72e2
L
177982018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17799
17800 [BZ #22715]
17801 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17802 align La_x86_64_retval to VEC_SIZE.
17803
4942c4ea
JM
178042018-01-16 Joseph Myers <joseph@codesourcery.com>
17805
17806 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17807 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17808
10d200db
FW
178092018-01-16 Florian Weimer <fweimer@redhat.com>
17810
17811 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17812 Move tst-thread-exit-clobber ...
17813 [$(CXX)] (tests-unsupported): ... to here.
17814
953c49cc
SN
178152018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17816
17817 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17818 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17819 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17820 (_dl_aarch64_cap_flags): Update.
17821 (_DL_HWCAP_COUNT): Update.
17822
afce1991
SN
178232018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17824
17825 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17826 (_DL_HWCAP_LAST): Remove.
17827 (_DL_HWCAP_COUNT): Move to ...
17828 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17829 (_DL_HWCAP_COUNT): ... here.
17830
b725132d
FW
178312018-01-16 Florian Weimer <fweimer@redhat.com>
17832
17833 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17834 mode with GNU extensions.
17835
c9e613a7
AH
178362018-01-15 Alan Hayward <alan.hayward@arm.com>
17837
17838 * elf/elf.h (NT_ARM_SVE): Define.
17839
860b0240
FW
178402018-01-15 Florian Weimer <fweimer@redhat.com>
17841
17842 [BZ #22636]
17843 * nptl/tst-minstack-throw.cc: New file.
17844 * nptl/Makefile (tests): Add tst-minstack-throw.
17845 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17846 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17847
16d0f6ac
JM
178482018-01-15 Joseph Myers <joseph@codesourcery.com>
17849
17850 * scripts/build-many-glibcs.py (Context.checkout): Default
17851 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17852 version to 1.1.0.
17853
505d3910
CD
178542018-01-13 Carlos O'Donell <carlos@redhat.com>
17855
17856 [BZ #22707]
17857 * elf/elf.h (DF_1_STUB): Define.
17858 (DF_1_PIE): Define.
17859
af1e6be4
TMQMF
178602018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17861
17862 [BZ #22697]
17863 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17864 Do not add 0.5 to integer or out-of-range arguments.
17865
98d13ce0
DL
178662018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17867
17868 * po/bg.po: Update translations.
17869 * po/cs.po: Likewise.
17870 * po/de.po: Likewise.
17871 * po/ko.po: Likewise.
17872 * po/pl.po: Likewise.
17873 * po/sv.po: Likewise.
17874 * po/uk.po: Likewise.
17875 * po/vi.po: Likewise.
17876
3d1d7928
SN
178772018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17878
17879 * aarch64/start.S (_start): Use __wrap_main.
17880 (__wrap_main): New local symbol.
17881
52a713fd
DL
178822018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17883
17884 [BZ #22679]
17885 CVE-2018-1000001
17886 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17887 generic_getcwd if the path returned by getcwd syscall is not absolute.
17888 * io/tst-getcwd-abspath.c: New test.
17889 * io/Makefile (tests): Add tst-getcwd-abspath.
17890
249a5895
IK
178912018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17892
17893 * malloc/malloc.c (malloc_consolidate): Add size check.
17894
1a51e46e
FW
178952018-01-12 Florian Weimer <fweimer@redhat.com>
17896
17897 * support/write_message.c (write_message): Preserve errno.
17898 * support/check.c (print_failure): Likewise.
17899 * support/support_test_verify_impl.c (support_test_verify_impl):
17900 Likewise.
17901 * support/support_test_compare_failure.c
17902 (support_test_compare_failure): Likewise.
17903
9a08a366
FW
179042018-01-12 Florian Weimer <fweimer@redhat.com>
17905
17906 [BZ #22701]
17907 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17908 Prevent installation of libnsl.so.
17909 (libnsl-inhibit-o): Do not build (or install) static libraries.
17910
80647883 179112018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
17912
17913 [BZ #22657]
17914 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17915 before the day number which may produce a double space.
17916 (date_fmt): Likewise.
17917
c8924f1f
JM
179182018-01-12 Joseph Myers <joseph@codesourcery.com>
17919
17920 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17921 instead of fegetenv.
17922
da09e6fa
JM
179232018-01-11 Joseph Myers <joseph@codesourcery.com>
17924
17925 [BZ #22702]
17926 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17927 comment to say exceptions are discarded.
17928 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17929 __fegetenv.
17930 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17931 be enabled.
17932
08c6e952
FW
179332018-01-11 Florian Weimer <fweimer@redhat.com>
17934
17935 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17936 and error message.
17937
d8b77890
FW
179382018-01-11 Florian Weimer <fweimer@redhat.com>
17939
17940 [BZ #22636]
17941 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17942 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17943
b303185d
JM
179442018-01-10 Joseph Myers <joseph@codesourcery.com>
17945
17946 [BZ #22693]
17947 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17948 negative arguments in test for NaN or infinity argument.
17949
ee61d028
DL
179502018-01-10 Dmitry V. Levin <ldv@altlinux.org>
17951
17952 * po/libc.pot: Regenerate.
17953
f993b875
FW
179542018-01-10 Florian Weimer <fweimer@redhat.com>
17955
17956 [BZ #22636]
17957 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
17958 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
17959
09085ede
ST
179602018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17961
17962 * hurd/hurd/fd.h: Include <fcntl.h>
17963 (__hurd_at_flags): New function.
17964 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
17965 with call to __hurd_at_flags.
17966 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
17967 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
17968 __faccessat
17969 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
17970 (__access_noerrno): Use __faccessat_common instead of access_common.
17971 (__access): Likewise.
17972 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
17973 with a call to __faccessat.
17974 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
17975 (__faccessat_common): ... this. Move implementation of __access into it when
17976 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
17977 reauthenticate_cwdir_at helper to implement AT mechanism.
17978 (__faccessat_noerrno): New function, just calls __faccessat_common.
17979 (__faccessat): New function, just calls __faccessat_common.
17980 (faccessat): Define weak alias.
17981
12727488
JM
179822018-01-10 Joseph Myers <joseph@codesourcery.com>
17983
87faac55
JM
17984 [BZ #22691]
17985 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17986 (CFLAGS-s_fmaxmagl.c): New variable.
17987 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17988
12727488
JM
17989 [BZ #22690]
17990 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17991 long int for arguments of possibly overflowing addition or
17992 subtraction.
17993 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17994
e134ca17
JM
179952018-01-09 Joseph Myers <joseph@codesourcery.com>
17996
b2584ac2
JM
17997 [BZ #22688]
17998 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17999 (CFLAGS-e_remainderl.c): New variable.
18000
e134ca17
JM
18001 [BZ #22687]
18002 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
18003 variable.
18004 (CFLAGS-s_cacoshl.c): Likewise.
18005 (CFLAGS-s_casinhl.c): Likewise.
18006 (CFLAGS-s_catanl.c): Likewise.
18007 (CFLAGS-s_catanhl.c): Likewise.
18008 (CFLAGS-s_cexpl.c): Likewise.
18009 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
18010 (CFLAGS-s_csinhl.c): Likewise.
18011 (CFLAGS-s_clogl.c): Likewise.
18012 (CFLAGS-s_clog10l.c): Likewise.
18013 (CFLAGS-s_csinl.c): Likewise.
18014 (CFLAGS-s_csqrtl.c): Likewise.
18015
d31a4a48
ST
180162017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
180172017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
18018
18019 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
18020 (_hurd_exec_paths): New function.
18021 * hurd/hurd.h (_hurd_exec): Deprecate function.
18022 (_hurd_exec_paths): Declare function.
18023 * hurd/Versions: Export _hurd_exec_paths.
18024 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
18025 (__execve): Use __getcwd to build absolute path, and use
18026 _hurd_exec_paths instead of _hurd_exec.
18027 * sysdeps/mach/hurd/spawni.c: Likewise.
18028 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
18029 _hurd_exec.
18030
d7ff3f11
DL
180312018-01-08 Dmitry V. Levin <ldv@altlinux.org>
18032
18033 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
18034 test instead of failing in case of ENOENT returned by posix_openpt.
18035
401311cf
FW
180362018-01-08 Florian Weimer <fweimer@redhat.com>
18037
18038 resolv: Support binary labels in test framework.
18039 * support/resolv_test.c (struct to_be_freed): Remove.
18040 (struct compressed_name): New.
18041 (allocate_compressed_name, ascii_tolower)
18042 (compare_compressed_name): New functions.
18043 (struct resolv_response_builder): Update type of
18044 compression_offsets for use with tsearch. Rempve to_be_freed.
18045 (response_push_pointer_to_free): Remove function.
18046 (resolv_response_add_name): Rewrite using struct compressed_name
18047 and tsearch instead of hsearch_r.
18048 (response_builder_allocate): Remove initialization of
18049 compression_offsets.
18050 (response_builder_free): Update for removal of to_be_freed. Use
18051 tdestroy instead of hdestroy_r.
18052 * resolv/Makefile (tests): Add tst-resolv-binary.
18053 (tst-resolv-binary): Link with -lresolv -lpthread.
18054
2b3aa446
FW
180552018-01-08 Florian Weimer <fweimer@redhat.com>
18056
18057 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
18058 time. Pass positive flag instead of negative flag to
18059 support_test_compare_failure.
18060 (support_test_compare_failure): Change negative parameter to
18061 positive.
18062 * support/support_test_compare_failure.c (report)
18063 (support_test_compare_failure): Likewise.
18064 * support/tst-test_compare.c (return_ssize_t, return_int): New.
18065 (do_test): Check int/size_t, ssize_t/size_t comparisons.
18066
630f4cc3
SN
180672018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
18068
18069 [BZ #22637]
18070 * nptl/descr.h (stackblock, stackblock_size): Update comments.
18071 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
18072 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
18073 stacksize.
18074 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18075
c70e4e9c
L
180762018-01-08 H.J. Lu <hongjiu.lu@intel.com>
18077
18078 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18079 Add s_sincosf-sse2 and s_sincosf-fma.
18080 (CFLAGS-s_sincosf-fma.c): New.
18081 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
18082 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
18083 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
18084 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
18085 __sincosf is defined.
18086
579396ee
FW
180872018-01-08 Florian Weimer <fweimer@redhat.com>
18088
18089 * nptl/tst-thread-exit-clobber.cc: New file.
18090 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
18091 C++11 mode.
18092 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
18093 (tests): Add tst-thread-exit-clobber.
18094 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
18095
dabd75b6
FW
180962018-01-08 Florian Weimer <fweimer@redhat.com>
18097
18098 * support/check.h (support_static_assert): Define.
18099 (TEST_COMPARE): Use it.
18100
c2e014cc
AJ
181012018-01-07 Aurelien Jarno <aurelien@aurel32.net>
18102
18103 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
18104 [!__RLIM_T_MATCHES_RLIM64_T]
18105 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
18106 __getrlimit64. Add libc_hidden_weak.
18107
31a98837
PD
181082018-01-06 Palmer Dabbelt <palmer@sifive.com>
18109
18110 * elf/elf.h (R_RISCV_NONE): New define.
18111 (R_RISCV_32): Likewise.
18112 (R_RISCV_64): Likewise.
18113 (R_RISCV_RELATIVE): Likewise.
18114 (R_RISCV_COPY): Likewise.
18115 (R_RISCV_JUMP_SLOT): Likewise.
18116 (R_RISCV_TLS_DTPMOD32): Likewise.
18117 (R_RISCV_TLS_DTPMOD64): Likewise.
18118 (R_RISCV_TLS_DTPREL32): Likewise.
18119 (R_RISCV_TLS_DTPREL64): Likewise.
18120 (R_RISCV_TLS_TPREL32): Likewise.
18121 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
18122 * Makerules (make-link-multidir): Make directories before linking into
18123 them.
150bbac1
PD
18124 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
18125 define.
18126 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
18127 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
18128 in subdirectories of lib.
8e13c51b
PD
18129 * nptl/Makefile (/librt.so): Always depend on
18130 "$(shared-thread-library)".
31a98837 18131
fad7d57e
ST
181322018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18133
18134 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
18135 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
18136 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
18137 (___tls_get_addr).
18138 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
18139 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
18140 "-O2 -march=i686".
01c7e549 18141 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
18142 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
18143 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
18144 * sysdeps/gnu/glob-lstat-compat.c: New file.
18145 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 18146 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 18147
3a32b716
TMQMF
181482018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18149
18150 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
18151 Reserve 16 chars to reloc_addr before calling _itoa_word.
18152
24731685
AJ
181532018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18154
18155 [BZ #22678]
18156 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
18157 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
18158
19be56d8
AJ
18159 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
18160 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
18161
a6d0afb5
AJ
18162 * resource/tst-getrlimit.c: Add copyright header.
18163
8e900969
AJ
181642018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18165 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18166
18167 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18168 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
18169 Define __GI_getrlimit64 as weak alias of __getrlimit64.
18170 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
18171 instead.
18172 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18173 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
18174 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
18175 RLIM64_INFINITY): Fix values to match the kernel ones.
18176 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
18177 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
18178 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
18179 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
18180 getrlimit64@@GLIBC_2_27.
18181 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
18182 and setrlimit64.
18183 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
18184 getrlimit, setrlimit, getrlimit64 and setrlimit64.
18185 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
18186 setrlimit, getrlimit64 and setrlimit64.
18187
0d0bc784
AJ
181882018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18189
18190 [BZ #22648]
18191 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
18192 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
18193
ba374b6d
JM
181942018-01-04 Joseph Myers <joseph@codesourcery.com>
18195
18196 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
18197 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
18198 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
18199
4854ddd8
AZ
182002018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18201
b0a4eca2
AZ
18202 [BZ #15479]
18203 [BZ #22666]
18204 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
18205 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
18206
4854ddd8
AZ
18207 [BZ #15479]
18208 [BZ #22665]
18209 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
18210 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
18211 * sysdeps/alpha/fpu/s_floor.c: Likewise.
18212 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
18213
8a5df95f
FW
182142018-01-04 Florian Weimer <fweimer@redhat.com>
18215
18216 [BZ #22667]
18217 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18218 Align the stack before calling exit.
18219 * stdlib/tst-makecontext-align.c: New file.
18220 * stdlib/Makefile (tests): Add tst-makecontext-align.
18221
82eef55f
FW
182222018-01-04 Florian Weimer <fweimer@redhat.com>
18223
18224 Add support for calling dlvsym from libc.so.
18225 * include/dlfcn.h (__libc_dlvsym): Declare.
18226 * elf/Makefile (tests-static-internal): Add
18227 tst-libc_dlvsym-static.
18228 (tests-internal): Add tst-libc_dlvsym.
18229 (modules-names): Add tst-libc_dlvsym-dso.
18230 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
18231 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
18232 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
18233 object tst-libc_dlvsym-dso.so needs to be built before running
18234 these tests.
18235 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
18236 * elf/Versions: Export __libc_dlvsym.
18237 * elf/dl-libc.c (struct do_dlvsym_args): New.
18238 (do_dlvsym, __libc_dlvsym): New functions.
18239 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
18240 (_dl_open_hook2): New variable.
18241 (__libc_register_dl_open_hook): Set it.
18242 * elf/tst-libc_dlvsym-dso.c: New file.
18243 * elf/tst-libc_dlvsym-static.c: Likewise.
18244 * elf/tst-libc_dlvsym.c: Likewise.
18245 * elf/tst-libc_dlvsym.h: Likewise.
18246
1714fc06
ST
182472018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18248
18249 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
18250 include <sys/mount.h>.
18251
3c7d0312
WD
182522018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
18253
18254 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
18255 Add __NO_MATH_ERRNO__ check.
18256
7eff0954
JM
182572018-01-02 Joseph Myers <joseph@codesourcery.com>
18258
18259 * sysdeps/mips/mips32/libm-test-ulps: Update.
18260 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18261
77f49956
FW
182622018-01-02 Florian Weimer <fweimer@redhat.com>
18263
18264 * misc/tst-pselect.c: Add copyright header.
18265
363e4519 182662018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
18267
18268 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
18269 comment.
18270 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
18271 comment.
18272 (settrlimit): Rename into setrlimit.
18273 (__sttrlimit): Rename into __setrlimit.
18274
3e4226ff
AJ
18275 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
18276 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
18277 never defined in that case.
18278
b9256ab6
JM
182792018-01-02 Joseph Myers <joseph@codesourcery.com>
18280
28fd6a44
JM
18281 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
18282
a4933a15
JM
18283 * sysdeps/arm/libm-test-ulps: Update.
18284
b9256ab6
JM
18285 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
18286 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
18287
4cf82d23
RS
182882018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18289
18290 * NEWS: Add cosf and sincosf to list of optimized functions.
18291
6a9dd7a7
AJ
182922018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18293
18294 [BZ #22660]
18295 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
18296 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
18297 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
18298 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
18299
dbba87d5
DL
183002018-01-01 Dmitry V. Levin <ldv@altlinux.org>
18301
b05cb613
DL
18302 [BZ #22433]
18303 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
18304
dbba87d5
DL
18305 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
18306 making a copy of it.
18307
688903eb
JM
183082018-01-01 Joseph Myers <joseph@codesourcery.com>
18309
66ac23de
JM
18310 * manual/texinfo.tex: Update to version 2017-12-26.21 with
18311 trailing whitespace removed.
18312 * scripts/config.guess: Update to version 2018-01-01.
18313 * scripts/config.sub: Update to version 2018-01-01.
18314 * scripts/move-if-change: Update from gnulib.
18315
09533208
JM
18316 * NEWS: Update copyright dates.
18317 * catgets/gencat.c (print_version): Likewise.
18318 * csu/version.c (banner): Likewise.
18319 * debug/catchsegv.sh: Likewise.
18320 * debug/pcprofiledump.c (print_version): Likewise.
18321 * debug/xtrace.sh (do_version): Likewise.
18322 * elf/ldconfig.c (print_version): Likewise.
18323 * elf/ldd.bash.in: Likewise.
18324 * elf/pldd.c (print_version): Likewise.
18325 * elf/sotruss.sh: Likewise.
18326 * elf/sprof.c (print_version): Likewise.
18327 * iconv/iconv_prog.c (print_version): Likewise.
18328 * iconv/iconvconfig.c (print_version): Likewise.
18329 * locale/programs/locale.c (print_version): Likewise.
18330 * locale/programs/localedef.c (print_version): Likewise.
18331 * login/programs/pt_chown.c (print_version): Likewise.
18332 * malloc/memusage.sh (do_version): Likewise.
18333 * malloc/memusagestat.c (print_version): Likewise.
18334 * malloc/mtrace.pl: Likewise.
18335 * manual/libc.texinfo: Likewise.
18336 * nptl/version.c (banner): Likewise.
18337 * nscd/nscd.c (print_version): Likewise.
18338 * nss/getent.c (print_version): Likewise.
18339 * nss/makedb.c (print_version): Likewise.
18340 * posix/getconf.c (main): Likewise.
18341 * scripts/test-installation.pl: Likewise.
18342 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18343
688903eb
JM
18344 * All files with FSF copyright notices: Update copyright dates
18345 using scripts/update-copyrights.
18346 * locale/programs/charmap-kw.h: Regenerated.
18347 * locale/programs/locfile-kw.h: Likewise.
18348
4f820792
ZW
183492017-12-31 Zack Weinberg <zackw@panix.com>
18350
18351 * libio/bits/libio-ldbl.h: Correct check for improper
18352 inclusion. Add own multiple include guard.
18353
3e3c904d
AJ
183542017-12-30 Aurelien Jarno <aurelien@aurel32.net>
18355 Dmitry V. Levin <ldv@altlinux.org>
18356
18357 [BZ #22625]
31f96325 18358 CVE-2017-16997
3e3c904d
AJ
18359 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
18360 string token expansion. Check for NULL pointer or empty string possibly
18361 returned by expand_dynamic_string_token.
18362 (decompose_rpath): Check for empty path after dynamic string
18363 token expansion.
18364
7e21972b
DL
183652017-12-29 Dmitry V. Levin <ldv@altlinux.org>
18366
c48831d0
DL
18367 [BZ #22433]
18368 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
18369
ac583f50
DL
18370 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
18371 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
18372 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
18373 and PTRACE_SYSCALL.
18374 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18375 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18376 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18377 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18378 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18379 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18380
7e21972b
DL
18381 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
18382 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18383 __ptrace_peeksiginfo_flags, ptrace): Move to ...
18384 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
18385 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18386 bits/ptrace-shared.h.
18387 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
18388 <bits/ptrace-shared.h>.
18389 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18390 __ptrace_peeksiginfo_flags, ptrace): Remove.
18391 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18392 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18393 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18394 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18395 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18396
72f29e3a
AJ
183972017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18398
18399 [BZ #17804]
18400 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18401 end of the loop. Improve comments.
18402
54e4efc2
AJ
184032017-12-29 Zack Weinberg <zackw@panix.com>
18404
18405 [BZ #22615]
18406 * manual/errno.texi (Checking for Errors): Explicitly say that errno
18407 might be set on success.
18408
f8aa69be
AJ
184092017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18410
18411 [BZ #22611]
18412 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
18413 is unchanged on success.
18414
97f13188
DL
184152017-12-27 Dmitry V. Levin <ldv@altlinux.org>
18416
2bd86632
DL
18417 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
18418 updated.
18419 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
18420 expand_dynamic_string_token): Likewise.
18421 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
18422 is_path argument.
18423
1c36e1e6
DL
18424 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
18425 contains ':'.
18426
97f13188
DL
18427 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
18428 is set and name contains ':', and all code depending on these checks.
18429
48a8f832
ZW
184302017-12-24 Zack Weinberg <zackw@panix.com>
18431
18432 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18433 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18434 respectively.
18435 * libio/libio.h: Rename the original version of this file to
18436 libio/bits/libio.h. Error out if not included by stdio.h or the
18437 stub libio.h.
18438 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18439 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18440 if not included by bits/libio.h or the stub _G_config.h.
18441 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18442 sysdeps/unix/sysv/linux/bits. Error out if not included by
18443 bits/libio.h or the stub _G_config.h.
18444 * libio/stdio.h: Include bits/libio.h, not libio.h.
18445 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18446 well as libio.h and _G_config.h.
18447
18448 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18449 * libio/strfile.h, stdio-common/vfscanf.c
18450 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18451 Include stdio.h, not _G_config.h nor libio.h.
18452 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18453 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18454
18455 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18456
a47ad79a
DL
184572017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18458
18459 [BZ #22347]
18460 * stdlib/getrandom.c (getrandom): Fix comment.
18461 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18462
363e4519 184632017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 18464
f5c558f3
AJ
18465 [BZ #21161]
18466 * manual/arith.texi (strtoul): Fix a typo.
18467
e65a5644
AJ
18468 [BZ #22596]
18469 * manual/arith.texi (finite): Fix the description of the return
18470 value.
18471
ed8ae46b
EB
184722017-12-22 Eric Blake <ebb9@byu.net>
18473
18474 Avoid gcc warnings on cygwin
18475 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
18476 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
18477 Avoid unused variable.
18478
bad7a0c8
FW
184792017-12-22 Florian Weimer <fweimer@redhat.com>
18480
18481 * io/Makefile (routines): Add copy_file_range.
18482 (tests): Add tst-copy_file_range.
18483 (tests-static, tests-internal): Add tst-copy_file_range-compat.
18484 * io/Versions (GLIBC_2.27): Export copy_file_range.
18485 * io/copy_file_range-compat.c: New file.
18486 * io/copy_file_range.c: Likewise.
18487 * io/tst-copy_file_range-compat.c: Likewise.
18488 * io/tst-copy_file_range.c: Likewise.
18489 * manual/llio.texi (Copying File Data): New section.
18490 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
18491 * support/Makefile (libsupport-routines): Add support-xfstat,
18492 xftruncate, xlseek.
18493 * support/support-xfstat.c: New file.
18494 * support/xftruncate.c: Likewise.
18495 * support/xlseek.c: Likewise.
18496 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
18497 * sysdeps/unix/sysv/linux/**.abilist: Update.
18498 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
18499
6cb86fd2
SN
185002017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18501
18502 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18503 disable-multi-arch variant to aarch64-linux-gnu.
18504
41d11b15
JM
185052017-12-20 Joseph Myers <joseph@codesourcery.com>
18506
18507 * manual/texinfo.tex: Update to version 2017-12-18.20 with
18508 trailing whitespace removed.
18509 * scripts/config.guess: Update to version 2017-12-17.
18510 * scripts/config.sub: Update to version 2017-11-23.
18511 * scripts/install-sh: Update to version 2017-09-23.17.
18512 * scripts/move-if-change: Update to version 2017-09-13 06:45.
18513
4735850f
AZ
185142017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18515
8d2d239c
AZ
18516 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
18517 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18518 * sysdeps/tile/_mcount.S (__mcount): Likewise.
18519 * sysdeps/tile/crti.S (_init, _fini): Likewise.
18520 * sysdeps/tile/crtn.S: Likewise.
18521 * sysdeps/tile/dl-start.S (_start): Likewise.
18522 * sysdeps/tile/dl-trampoline.S: Likewise.
18523 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
18524 * sysdeps/tile/start.S (_start): Likewise.
18525 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
18526 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
18527 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
18528 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
18529 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
18530 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
18531 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
18532
24d1d8ec
AZ
18533 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
18534 comment.
18535 * sysdeps/tile/preconfigure: Remove tilegx folder.
18536 * sysdeps/tile/tilegx/Implies: Move definitions to ...
18537 * sysdeps/tile/Implies: ... here.
18538 * sysdeps/tile/tilegx/Makefile: Move rules to ...
18539 * sysdeps/tile/Makefile: ... here.
18540 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
18541 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
18542 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
18543 * sysdeps/tile/bits/wordsize.h: ... here.
18544 * sysdeps/tile/tilegx/*: Move to ...
18545 * sysdeps/tile/*: ... here.
18546 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
18547 * sysdeps/tile/tilegx32/Implies: ... here.
18548 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
18549 * sysdeps/tile/tilegx64/Implies: ... here.
18550 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
18551 to ...
18552 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18553 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
18554 * sysdeps/unix/sysv/linux/tile/*: ... here.
18555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
18556 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
18557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
18558 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
18559
ed95f611
AZ
18560 * README: Remove tilepro-*-linux-gnu from supported architecture.
18561 * scripts/build-many-glibcs.py: Likewise.
18562 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18563 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
18564 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
18565 elf_machine_matches_host, elf_machine_dynamic,
18566 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
18567 howto, elf_machine_rela): Likewise.
18568 * sysdeps/tile/dl-start.S (_start): Likewise.
18569 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18570 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18571 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18572 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18573 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18574 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18575 Likewise.
18576 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18577 * sysdeps/tile/preconfigure: Likewise.
18578 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18579 POINTER_CHK_GUARD): Likewise.
18580 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18581 * sysdeps/tile/start.S (_start): Likewise.
18582 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18583 Likewise.
18584 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18585 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18586 CMOVNEZ): Remove.
18587 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18588 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18589 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18590 Likewise.
18591 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18592 * sysdeps/tile/tilepro/Implies: Remove file.
18593 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18594 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18595 * sysdeps/tile/tilepro/memchr.c: Likewise.
18596 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18597 * sysdeps/tile/tilepro/memset.c: Likewise.
18598 * sysdeps/tile/tilepro/memusage.h: Likewise.
18599 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18600 * sysdeps/tile/tilepro/strchr.c: Likewise.
18601 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18602 * sysdeps/tile/tilepro/strlen.c: Likewise.
18603 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18604 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18605 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18606 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18607 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18608 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18609 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18610 Likewise.
18611 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18612 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18613 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18614 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18615 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18616 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18617 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18618 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18619 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18620 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18621 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18622 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18623 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18624 tilepro mention in comment.
18625
4735850f
AZ
18626 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18627 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18628 * nptl/pthread_join_common.c: New file: common function used on
18629 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18630 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18631 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18632 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18633 (cleanup): Move definition to pthread_join_common.c.
18634 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18635 Remove superflous checks.
18636 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18637 Likewise.
18638
8bfb461e
SN
186392017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18640
18641 * sysdeps/aarch64/libm-test-ulps: Update.
18642
4e001969
AZ
186432017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18644
18645 * sysdeps/aarch64/memset.S (MEMSET): Define.
18646
8a26ad2a
FW
186472017-12-20 Florian Weimer <fweimer@redhat.com>
18648
18649 [BZ #22635]
18650 nptl: Provide full implementation of pthread_self in libc.so.
18651 * nptl/Makefile (routines): Add pthread_self.
18652 (libpthread-routines): Replace pthread_self with
18653 compat-pthread_self.
18654 * nptl/forward.c (pthread_self): Remove.
18655 * nptl/nptl-init.c (pthread_functions): Do not initialize
18656 ptr_pthread_self.
18657 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18658 * nptl/compat-pthread_self.c: New file.
18659 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18660 Remove ptr_pthread_self.
18661
5069ff32
AR
186622017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18663
18664 * posix/regcomp.c: Fix spelling in comments.
18665 * posix/regex.h: Likewise.
18666 * posix/regex_internal.c: Likewise.
18667 * posix/regexec.c: Likewise.
18668
c85e54ac
GG
186692017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18670
18671 [BZ #22377]
18672 * math/Makefile [C++] (tests): Add test for iseqsig.
18673 * math/math.h [C++] (iseqsig): New implementation, which does
18674 not rely on __MATH_TG/__builtin_types_compatible_p.
18675 * math/test-math-iseqsig.cc: New file.
18676 * sysdeps/powerpc/powerpc64le/Makefile
18677 (CFLAGS-test-math-iseqsig.cc): New variable.
18678
10e93d96
DL
186792017-12-19 Dmitry V. Levin <ldv@altlinux.org>
18680
18681 * elf/dl-load.c (is_trusted_path): Remove.
18682 (fillin_rpath): Remove check_trusted argument and its use,
18683 all callers changed.
18684
ce16eb52
L
186852017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18686
18687 [BZ #22630]
18688 * Makeconfig (link-pie-before-libc): Replace -pie with
18689 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
18690 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
18691 (tst-dlopen-aout-no-pie): New.
18692 (LDFLAGS-tst-prelink): Removed.
18693 (tst-prelink-no-pie): New.
18694 (LDFLAGS-tst-main1): Removed.
18695 (tst-main1-no-pie): New.
18696 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
18697 (tst-gmon-no-pie): New.
18698
126adc89
L
186992017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18700
18701 * manual/install.texi: Document that --enable-static-pie
18702 implies PIE.
18703 * INSTALL: Regenerated.
18704
648615e1
BE
187052017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
18706
18707 [BZ #21309]
18708 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
18709 unsigned.
18710
f1e00502
JM
187112017-12-19 Joseph Myers <joseph@codesourcery.com>
18712
18713 Revert:
18714
18715 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18716
18717 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18718
18719 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18720
18721 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18722 <errno.h>. Include "eexp.tbl".
18723 (half): New constant.
18724 (one): Likewise.
18725 (__ieee754_exp): Rewrite.
18726 (__slowexp): Remove prototype.
18727 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18728 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18729 * sysdeps/i386/fpu/slowexp.c: Likewise.
18730 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18731 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18732 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18733 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18734 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18735 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18736 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18737 comment.
18738 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18739 (CPPFLAGS-slowexp.c): Remove variable.
18740 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18741 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18742 (CFLAGS-slowexp-fma.c): Remove variable.
18743 (CFLAGS-slowexp-fma4.c): Likewise.
18744 (CFLAGS-slowexp-avx.c): Likewise.
18745 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18746 define as macro.
18747 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18748 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18749 * math/Makefile (type-double-routines): Remove slowexp.
18750 * manual/probes.texi (slowexp_p6): Remove.
18751 (slowexp_p32): Likewise.
18752
d711a00f
AZ
187532017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18754
e184ac3a
AZ
18755 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18756 arithmetic.
18757
d711a00f
AZ
18758 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18759
6f58c10d
JM
187602017-12-19 Joseph Myers <joseph@codesourcery.com>
18761
18762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18763
6fd0a3c6
PM
187642017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18765
18766 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18767 <errno.h>. Include "eexp.tbl".
18768 (half): New constant.
18769 (one): Likewise.
18770 (__ieee754_exp): Rewrite.
18771 (__slowexp): Remove prototype.
18772 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18773 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18774 * sysdeps/i386/fpu/slowexp.c: Likewise.
18775 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18776 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18777 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18778 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18779 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18780 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18781 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18782 comment.
18783 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18784 (CPPFLAGS-slowexp.c): Remove variable.
18785 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18786 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18787 (CFLAGS-slowexp-fma.c): Remove variable.
18788 (CFLAGS-slowexp-fma4.c): Likewise.
18789 (CFLAGS-slowexp-avx.c): Likewise.
18790 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18791 define as macro.
18792 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18793 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18794 * math/Makefile (type-double-routines): Remove slowexp.
18795 * manual/probes.texi (slowexp_p6): Remove.
18796 (slowexp_p32): Likewise.
18797
3bb1ef58
AZ
187982017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18799 James Clarke <jrtc27@jrtc27.com>
18800
18801 [BZ #22603]
18802 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18803 addition.
18804
554e3d51
AZ
188052017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18806
18807 [BZ #22605]
18808 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18809 code.
18810
cba595c3
L
188112017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18812
18813 [BZ #22563]
18814 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18815 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18816 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18817 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18818 to feature_1.
18819
f81ddabf
L
188202017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18821
18822 [BZ #22563]
18823 * bits/types/__cancel_jmp_buf_tag.h: New file.
18824 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18825 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18826 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18827 * nptl/Makefile (headers): Add
18828 bits/types/__cancel_jmp_buf_tag.h.
18829 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18830 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18831 * sysdeps/nptl/pthread.h: Include
18832 <bits/types/__cancel_jmp_buf_tag.h>.
18833 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18834 __cancel_jmp_buf.
18835 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18836
1a49fc59
L
188372017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18838
18839 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18840 --enable-static-pie variants to x86_64, x32 and i686.
18841
8e52f573
JM
188422017-12-19 Joseph Myers <joseph@codesourcery.com>
18843
66425185
JM
18844 [BZ #22631]
18845 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18846 argument for attrubutes. All callers changed.
18847 (__inline_mathop1): Likewise. All callers changed.
18848 (__inline_mathop): Likewise. All callers changed.
18849 [__USE_MISC] (scalbn): Use __inline_forward instead of
18850 __inline_forward_c.
18851 [__USE_ISOC99] (scalbln): Likewise.
18852 [__USE_ISOC99] (nearbyint): Likewise.
18853 [__USE_ISOC99] (lrint): Likewise.
18854 [__USE_MISC] (scalbnf): Likewise.
18855 [__USE_ISOC99] (scalblnf): Likewise.
18856 [__USE_ISOC99] (nearbyintf): Likewise.
18857 [__USE_ISOC99] (lrintf): Likewise.
18858 [__USE_MISC] (scalbnl): Likewise.
18859 [__USE_ISOC99] (scalblnl): Likewise.
18860 [__USE_ISOC99] (nearbyintl): Likewise.
18861 [__USE_ISOC99] (lrintl): Likewise.
18862 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18863 __inline_mathop and __m81_defun changed.
18864
8e52f573
JM
18865 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18866 CPU or FPU for ARM hard-float configurations.
18867
1421f39b
JM
188682017-12-18 Joseph Myers <joseph@codesourcery.com>
18869
40c4162d
JM
18870 * nptl/tst-attr3.c: Include <libc-diag.h>.
18871 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18872
5983df32
JM
18873 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18874
1421f39b
JM
18875 * string/tester.c (test_strncat): Also disable -Warray-bounds
18876 warnings for two tests.
18877
00c714df
L
188782017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18879
18880 [BZ #22614]
18881 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18882 $(cc-pie-default) == yes.
18883 * config.make.in (cc-pie-default): New.
18884 * configure.ac (libc_cv_pie_default): Renamed to ...
18885 (libc_cv_cc_pie_default): This.
18886 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18887 * configure: Regenerated.
18888
8e1472d2
FW
188892017-12-18 Florian Weimer <fweimer@redhat.com>
18890
18891 [BZ #20204]
18892 ld.so: Harden dl-libc/libdl hooks.
18893 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18894 (rtld_active): New function.
18895 * dlfcn/dladdr.c (__dladdr): Call it.
18896 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18897 * dlfcn/dlclose.c (__dlcose): Likewise.
18898 * dlfcn/dlerror.c (__dlerror): Likewise.
18899 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18900 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18901 * dlfcn/dlopen.c (__dlopen): Likewise.
18902 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18903 * dlfcn/dlsym.c (__dlsym): Likewise.
18904 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18905 * libio/vtables.c (_IO_vtable_check): Likewise.
18906 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18907 (__libc_dlclose): Likewise.
18908 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18909 assignment.
18910
49b036bc
JM
189112017-12-18 Joseph Myers <joseph@codesourcery.com>
18912
18913 [BZ #22446]
18914 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18915 buffers for readlink input and output.
18916
368b6c8d
ST
189172017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18918
c85c564d
ST
18919 [BZ #22624]
18920 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18921 inhibit_stack_protector.
18922
368b6c8d
ST
18923 [BZ #22624]
18924 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18925 inhibit_stack_protector.
18926
bb195224
DL
189272017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18928
18929 [BZ #22627]
18930 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18931 code and invocation.
18932
14d886ed
SN
189332017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18934
18935 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18936
7d38eb38
AJ
189372017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18938
18939 [BZ #22505]
18940 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18941
2e77deef
RS
189422017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18943
18944 * sysdeps/s390/fpu/libm-test-ulps: Update.
18945
0b9bef6d
RS
189462017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18947
18948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18949
984ae996
RS
189502017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18951
18952 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
18953 constants to s_sincosf.h file.
18954 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18955 * sysdeps/ieee754/flt-32/s_sincosf.c: New
18956 implementation.
18957 * sysdeps/ieee754/flt-32/s_sincosf.h:
18958 New file.
18959
363e4519 189602017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
18961
18962 [BZ #14681]
18963 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
18964 before mtrace.
18965
9d7a3741
L
189662017-12-15 H.J. Lu <hongjiu.lu@intel.com>
18967
18968 [BZ #19574]
18969 * INSTALL: Regenerated.
18970 * Makeconfig (real-static-start-installed-name): New.
18971 (pic-default): Updated for --enable-static-pie.
18972 (pie-default): New for --enable-static-pie.
18973 (default-pie-ldflag): Likewise.
18974 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
18975 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
18976 Replace $(static-start-installed-name) with
18977 $(real-static-start-installed-name).
18978 (+prectorT): Updated for --enable-static-pie.
18979 (+postctorT): Likewise.
18980 (CFLAGS-.o): Add $(pie-default).
18981 (CFLAGS-.op): Likewise.
18982 * NEWS: Mention --enable-static-pie.
18983 * config.h.in (ENABLE_STATIC_PIE): New.
18984 * configure.ac (--enable-static-pie): New configure option.
18985 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18986 (have-static-pie): Likewise.
18987 Enable static PIE if linker supports --no-dynamic-linker.
18988 (ENABLE_STATIC_PIE): New AC_DEFINE.
18989 (enable-static-pie): New LIBC_CONFIG_VAR.
18990 * configure: Regenerated.
18991 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18992 gr$(start-installed-name) for --enable-static-pie.
18993 (extra-objs): Likewise.
18994 (install-lib): Likewise.
18995 (extra-objs): Add static-reloc.o and static-reloc.os
18996 ($(objpfx)$(start-installed-name)): Also depend on
18997 $(objpfx)static-reloc.o.
18998 ($(objpfx)r$(start-installed-name)): New.
18999 ($(objpfx)g$(start-installed-name)): Also depend on
19000 $(objpfx)static-reloc.os.
19001 ($(objpfx)gr$(start-installed-name)): New.
19002 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
19003 in libc.a.
19004 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
19005 initimage.
19006 * csu/static-reloc.c: New file.
19007 * elf/Makefile (routines): Add dl-reloc-static-pie.
19008 (elide-routines.os): Likewise.
19009 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
19010 (tst-tls1-static-non-pie-no-pie): New.
19011 * elf/dl-reloc-static-pie.c: New file.
19012 * elf/dl-support.c (_dl_get_dl_main_map): New function.
19013 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
19014 STATIC_PIE_BOOTSTRAP.
19015 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19016 * gmon/Makefile (tests): Add tst-gmon-static-pie.
19017 (tests-static): Likewise.
19018 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
19019 (tst-gmon-static-no-pie): New.
19020 (CFLAGS-tst-gmon-static-pie.c): Likewise.
19021 (CRT-tst-gmon-static-pie): Likewise.
19022 (tst-gmon-static-pie-ENV): Likewise.
19023 (tests-special): Likewise.
19024 ($(objpfx)tst-gmon-static-pie.out): Likewise.
19025 (clean-tst-gmon-static-pie-data): Likewise.
19026 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
19027 * gmon/tst-gmon-static-pie.c: New file.
19028 * manual/install.texi: Document --enable-static-pie.
19029 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
19030 (_dl_get_dl_main_map): Likewise.
19031 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
19032 * sysdeps/x86_64/configure.ac: Likewise.
19033 * sysdeps/i386/configure: Regenerated.
19034 * sysdeps/x86_64/configure: Likewise.
19035 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
19036 (ASFLAGS-.op): Likewise.
19037
95511aab
JM
190382017-12-15 Joseph Myers <joseph@codesourcery.com>
19039
19040 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
19041 * posix/tst-mmap-offset.c (fname): Use /tmp.
19042 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
19043
a7e3edf4
SE
190442017-12-15 Steve Ellcey <sellcey@cavium.com>
19045
19046 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
19047
d232f2e1
TS
190482017-12-15 Thomas Schwinge <thomas@codesourcery.com>
19049
19050 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
19051 errno.
19052
174edbde
JM
190532017-12-15 Joseph Myers <joseph@codesourcery.com>
19054
5170fa49
JM
19055 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19056 --with-float=hard for arm-linux-gnueabihf configurations.
19057
f2da2fd8
JM
19058 [BZ #14121]
19059 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
19060 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
19061 ($(mo-installed)): Use $(objpfx)%.mo.
19062 (realclean): Remove rule.
19063
0c4fe28d
JM
19064 * po/Makefile (linguas): Remove rule and dependencies.
19065 (linguas.mo): Likewise.
19066 (.PHONY): Do not depend on linguas and linguas.mo.
19067 (podir): Remove variable.
19068 (pofiles): Likewise.
19069 [$(pofiles)] (%.po): Remove rule.
19070
174edbde
JM
19071 * sysdeps/sparc/sparc32/Makefile
19072 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
19073 start-of-line whitespace in argument of echo.
19074 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
19075 with whitespace. Generate __wrap_.udiv alias.
19076 * sysdeps/sparc/sparc32/rem.S: Regenerated.
19077 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19078 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19079 * sysdeps/sparc/sparc32/urem.S: Likewise.
19080
1e36806f
RS
190812017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19082
19083 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
19084 for aligned inputs.
19085
aa6932aa
SP
190862017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19087
5f1603c3
SP
19088 * benchtests/bench-strcmp.c: Print output in JSON format.
19089
aa6932aa
SP
19090 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
19091
3ff3dfa5
FW
190922017-12-14 Florian Weimer <fweimer@redhat.com>
19093
19094 [BZ #22607]
19095 CVE-2017-1000409
19096 * elf/dl-load.c (_dl_init_paths): Compute number of components in
19097 the expanded path string.
19098
8a0b17e4
FW
190992017-12-14 Florian Weimer <fweimer@redhat.com>
19100
19101 [BZ #22606]
19102 CVE-2017-1000408
19103 * elf/dl-load.c (system_dirs): Update comment.
19104 (nsystem_dirs_len): Use array_length.
19105 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
19106
f58bd7f0
FW
191072017-12-14 Florian Weimer <fweimer@redhat.com>
19108
19109 Simplify compiling most of support/ outside of glibc.
19110 * support/check_addrinfo.c: Include <string.h>.
19111 * support/check_dns_packet.c: Likewise.
19112 * support/check_hostent.c: Likewise.
19113 * support/support_can_chroot.c: Include <support/xunistd.h>.
19114 * support/support_format_addrinfo.c: Include <stdlib.h>
19115 * support/support_format_dns_packet.c: Include <stdbool.h>.
19116 * support/support_format_hostent.c: Include <stdlib.h>.
19117 * support/support_format_netent.c: Likewise.
19118 * support/support_write_string.c: Include <support/xunistd.h>.
19119 * support/xdlfcn.c: Include <stddef.h>.
19120
4ca945e9
L
191212017-12-14 H.J. Lu <hongjiu.lu@intel.com>
19122
19123 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
19124
1b6e07f8
PM
191252017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19126 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19127
e6a1c5dc
PM
19128 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19129 (sysdeps_routines): Add memset-niagara7.
19130 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
19131 Likewise.
19132 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
19133 file.
19134 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
19135 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19136 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
19137 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
19138 Add niagara7 option.
19139 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
19140 memset.
19141
1b6e07f8
PM
19142 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19143 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
19144 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
19145 Likewise.
19146 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
19147 New file.
19148 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
19149 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
19150 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19151 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
19152 and __memmove_niagara7.
19153 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
19154 Add niagara7 option.
19155 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
19156 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
19157 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
19158 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
19159 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
19160
bfb7bf22
JM
191612017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
19162
767a26d6
JM
19163 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
19164 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
19165 * sysdeps/sparc/sparc64/memmove.S: Likewise.
19166 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
19167
bfb7bf22
JM
19168 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
19169 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
19170 _dl_sparc_cap_flags array.
19171 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
19172
2bce01eb
SP
191732017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19174
19175 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
19176 time whenever possible.
19177
363e4519 191782017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
19179
19180 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
19181 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
19182
6f7c0092
JM
191832017-12-12 Joseph Myers <joseph@codesourcery.com>
19184
19185 * soft-fp/fmadf4.c: Move to ....
19186 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
19187 * soft-fp/fmasf4.c: Move to ....
19188 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
19189 * soft-fp/fmatf4.c: Move to ....
19190 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
19191 * sysdeps/ieee754/soft-fp/Makefile: New file.
19192 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
19193 * sysdeps/arm/preconfigure: Regenerated.
19194 * sysdeps/arm/nofpu/Implies: New file.
19195 * sysdeps/arm/s_fma.c: Remove file.
19196 * sysdeps/arm/s_fmaf.c: Likewise.
19197 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
19198 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
19199 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19200 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
19201 * sysdeps/microblaze/s_fma.c: Remove file.
19202 * sysdeps/microblaze/s_fmaf.c: Likewise.
19203 * sysdeps/mips/mips32/nofpu/Implies: New file.
19204 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
19205 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
19206 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
19207 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
19208 * sysdeps/mips/ieee754/s_fma.c: Remove file.
19209 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
19210 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
19211 implementation.
19212 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
19213 * sysdeps/nios2/s_fma.c: Remove file.
19214 * sysdeps/nios2/s_fmaf.c: Likewise.
19215 * sysdeps/sh/nofpu/Implies: New file.
19216 * sysdeps/sh/s_fma.c: Remove file.
19217 * sysdeps/sh/s_fmaf.c: Likewise.
19218 * sysdeps/tile/Implies: Add ieee754/soft-fp.
19219 * sysdeps/tile/s_fma.c: Remove file.
19220 * sysdeps/tile/s_fmaf.c: Likewise.
19221
ac817e08
L
192222017-12-12 H.J. Lu <hongjiu.lu@intel.com>
19223
19224 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19225 Add s_cosf-sse2 and s_cosf-fma.
19226 (CFLAGS-s_cosf-fma.c): New.
19227 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
19228 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
19229 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
19230
eb428576
SE
192312017-12-12 Steve Ellcey <sellcey@cavium.com>
19232
19233 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
19234
c80acdc3
AZ
192352017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19236
cc683f7e
AZ
19237 * libio/Makefile (tests): Add tst-bz22415.
19238 (tst-bz22415-ENV): New rule.
19239 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
19240 (tests-special): Add tst-bz22415-mem.out.
19241 ($(objpfx)tst-bz22415-mem.out): New rule.
19242 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
19243 in case of a successful seek operation.
19244 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19245 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
19246 buffer is required.
19247 * libio/tst-bz22415.c: New test.
19248
c80acdc3
AZ
19249 * sysdeps/ia64/fpu/libm-test-ulps: Update.
19250
363e4519 192512017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
19252
19253 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
19254 __IPC_64 to 0 to avoid IPC_64 being set.
19255
4e0dca54
SN
192562017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19257
19258 [BZ #22593]
19259 * math/bits/mathcalls.h (nextafter): Remove const.
19260 (nexttoward): Likewise.
19261
8df5d347
JM
192622017-12-12 Joseph Myers <joseph@codesourcery.com>
19263
19264 * configure.ac (--with-fp): Remove configure option.
19265 (with_fp_cond): New variable.
19266 (libc_cv_with_fp): New configure test. Use this variable instead
19267 of with_fp.
19268 * configure: Regenerated.
19269 * config.make.in (with-fp): Use @libc_cv_with_fp@.
19270 * manual/install.texi (Configuring and compiling): Remove
19271 --without-fp.
19272 * INSTALL: Regenerated.
19273 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
19274 * sysdeps/mips/preconfigure (with_fp_cond): Define.
19275 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
19276 * sysdeps/sh/preconfigure (with_fp_cond): Define.
19277 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
19278 use --without-fp to configure glibc.
19279
0cee1257
RJ
192802017-12-12 Rical Jasan <ricaljasan@pacific.net>
19281
19282 * manual/locale.texi (nl_langinfo): Fix a typo.
19283
363e4519 192842017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
19285
19286 [BZ #22588]
19287 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
19288
36975e8e
L
192892017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19290
19291 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
19292 (CFLAGS-argp-parse.c): Likewise.
19293 (CFLAGS-argp-fmtstream.c): Likewise.
19294 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
19295 (CPPFLAGS-sha512-crypt.c): Likewise.
19296 (CPPFLAGS-md5-crypt.c): Likewise.
19297 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
19298 (CFLAGS-stack_chk_fail_local.c): Likewise.
19299 (CFLAGS-backtrace.c): Likewise.
19300 (CFLAGS-sprintf_chk.c): Likewise.
19301 (CFLAGS-snprintf_chk.c): Likewise.
19302 (CFLAGS-vsprintf_chk.c): Likewise.
19303 (CFLAGS-vsnprintf_chk.c): Likewise.
19304 (CFLAGS-asprintf_chk.c): Likewise.
19305 (CFLAGS-vasprintf_chk.c): Likewise.
19306 (CFLAGS-obprintf_chk.c): Likewise.
19307 (CFLAGS-dprintf_chk.c): Likewise.
19308 (CFLAGS-vdprintf_chk.c): Likewise.
19309 (CFLAGS-printf_chk.c): Likewise.
19310 (CFLAGS-fprintf_chk.c): Likewise.
19311 (CFLAGS-vprintf_chk.c): Likewise.
19312 (CFLAGS-vfprintf_chk.c): Likewise.
19313 (CFLAGS-gets_chk.c): Likewise.
19314 (CFLAGS-fgets_chk.c): Likewise.
19315 (CFLAGS-fgets_u_chk.c): Likewise.
19316 (CFLAGS-fread_chk.c): Likewise.
19317 (CFLAGS-fread_u_chk.c): Likewise.
19318 (CFLAGS-swprintf_chk.c): Likewise.
19319 (CFLAGS-vswprintf_chk.c): Likewise.
19320 (CFLAGS-wprintf_chk.c): Likewise.
19321 (CFLAGS-fwprintf_chk.c): Likewise.
19322 (CFLAGS-vwprintf_chk.c): Likewise.
19323 (CFLAGS-vfwprintf_chk.c): Likewise.
19324 (CFLAGS-fgetws_chk.c): Likewise.
19325 (CFLAGS-fgetws_u_chk.c): Likewise.
19326 (CFLAGS-read_chk.c): Likewise.
19327 (CFLAGS-pread_chk.c): Likewise.
19328 (CFLAGS-pread64_chk.c): Likewise.
19329 (CFLAGS-recv_chk.c): Likewise.
19330 (CFLAGS-recvfrom_chk.c): Likewise.
19331 (CFLAGS-tst-longjmp_chk.c): Likewise.
19332 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
19333 (CFLAGS-tst-longjmp_chk2.c): Likewise.
19334 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
19335 (CFLAGS-tst-longjmp_chk3.c): Likewise.
19336 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19337 (CFLAGS-tst-chk1.c): Likewise.
19338 (CFLAGS-tst-chk2.c): Likewise.
19339 (CFLAGS-tst-chk3.c): Likewise.
19340 (CFLAGS-tst-chk4.cc): Likewise.
19341 (CFLAGS-tst-chk5.cc): Likewise.
19342 (CFLAGS-tst-chk6.cc): Likewise.
19343 (CFLAGS-tst-lfschk1.c): Likewise.
19344 (CFLAGS-tst-lfschk2.c): Likewise.
19345 (CFLAGS-tst-lfschk3.c): Likewise.
19346 (CFLAGS-tst-lfschk4.cc): Likewise.
19347 (CFLAGS-tst-lfschk5.cc): Likewise.
19348 (CFLAGS-tst-lfschk6.cc): Likewise.
19349 (CFLAGS-tst-ssp-1.c): Likewise.
19350 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
19351 (CFLAGS-scandir64.c): Likewise.
19352 (CFLAGS-scandir-tail.c): Likewise.
19353 (CFLAGS-scandir64-tail.c): Likewise.
19354 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
19355 (CFLAGS-dl-tunables.c): Likewise.
19356 (CFLAGS-dl-runtime.c): Likewise.
19357 (CFLAGS-dl-lookup.c): Likewise.
19358 (CFLAGS-dl-iterate-phdr.c): Likewise.
19359 (CFLAGS-vismain.c): Likewise.
19360 (CFLAGS-tst-linkall-static.c): Likewise.
19361 (CFLAGS-tst-linkall-static.c): Likewise.
19362 (CPPFLAGS-dl-load.c): Likewise.
19363 (CFLAGS-ldconfig.c): Likewise.
19364 (CFLAGS-dl-cache.c): Likewise.
19365 (CFLAGS-cache.c): Likewise.
19366 (CFLAGS-rtld.c): Likewise.
19367 (CFLAGS-multiload.c): Likewise.
19368 (CFLAGS-filtmod1.c): Likewise.
19369 (CFLAGS-tst-align.c): Likewise.
19370 (CFLAGS-tst-align2.c): Likewise.
19371 (CFLAGS-tst-alignmod.c): Likewise.
19372 (CFLAGS-tst-alignmod2.c): Likewise.
19373 (CPPFLAGS-tst-execstack.c): Likewise.
19374 (CFLAGS-tst-ptrguard1-static.c): Likewise.
19375 (CFLAGS-tst-latepthreadmod.c): Likewise.
19376 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
19377 (CFLAGS-getgrnam_r.c): Likewise.
19378 (CFLAGS-getgrent_r.c): Likewise.
19379 (CFLAGS-getgrent.c): Likewise.
19380 (CFLAGS-fgetgrent.c): Likewise.
19381 (CFLAGS-fgetgrent_r.c): Likewise.
19382 (CFLAGS-putgrent.c): Likewise.
19383 (CFLAGS-initgroups.c): Likewise.
19384 (CFLAGS-getgrgid.c): Likewise.
19385 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
19386 (CFLAGS-getsgent.c): Likewise.
19387 (CFLAGS-fgetsgent.c): Likewise.
19388 (CFLAGS-fgetsgent_r.c): Likewise.
19389 (CFLAGS-putsgent.c): Likewise.
19390 (CFLAGS-getsgnam.c): Likewise.
19391 (CFLAGS-getsgnam_r.c): Likewise.
19392 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
19393 (CFLAGS-iconv_charmap.c): Likewise.
19394 (CFLAGS-dummy-repertoire.c): Likewise.
19395 (CFLAGS-charmap.c): Likewise.
19396 (CFLAGS-linereader.c): Likewise.
19397 (CFLAGS-simple-hash.c): Likewise.
19398 (CFLAGS-gconv_conf.c): Likewise.
19399 (CFLAGS-iconvconfig.c): Likewise.
19400 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19401 (CFLAGS-gethstbyad.c): Likewise.
19402 (CFLAGS-gethstbynm_r.c): Likewise.
19403 (CFLAGS-gethstbynm.c): Likewise.
19404 (CFLAGS-gethstbynm2_r.c): Likewise.
19405 (CFLAGS-gethstbynm2.c): Likewise.
19406 (CFLAGS-gethstent_r.c): Likewise.
19407 (CFLAGS-gethstent.c): Likewise.
19408 (CFLAGS-rcmd.c): Likewise.
19409 (CFLAGS-getnetbynm_r.c): Likewise.
19410 (CFLAGS-getnetbynm.c): Likewise.
19411 (CFLAGS-getnetbyad_r.c): Likewise.
19412 (CFLAGS-getnetbyad.c): Likewise.
19413 (CFLAGS-getnetent_r.c): Likewise.
19414 (CFLAGS-getnetent.c): Likewise.
19415 (CFLAGS-getaliasent_r.c): Likewise.
19416 (CFLAGS-getaliasent.c): Likewise.
19417 (CFLAGS-getrpcent_r.c): Likewise.
19418 (CFLAGS-getrpcent.c): Likewise.
19419 (CFLAGS-getservent_r.c): Likewise.
19420 (CFLAGS-getservent.c): Likewise.
19421 (CFLAGS-getprtent_r.c): Likewise.
19422 (CFLAGS-getprtent.c): Likewise.
19423 (CFLAGS-either_ntoh.c): Likewise.
19424 (CFLAGS-either_hton.c): Likewise.
19425 (CFLAGS-getnetgrent.c): Likewise.
19426 (CFLAGS-getnetgrent_r.c): Likewise.
19427 (CFLAGS-tst-checks-posix.c): Likewise.
19428 (CFLAGS-tst-sockaddr.c): Likewise.
19429 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
19430 (CFLAGS-tst-translit.c): Likewise.
19431 (CFLAGS-tst-gettext2.c): Likewise.
19432 (CFLAGS-tst-codeset.c): Likewise.
19433 (CFLAGS-tst-gettext3.c): Likewise.
19434 (CFLAGS-tst-gettext4.c): Likewise.
19435 (CFLAGS-tst-gettext5.c): Likewise.
19436 (CFLAGS-tst-gettext6.c): Likewise.
19437 * io/Makefile (CFLAGS-open.c): Likewise.
19438 (CFLAGS-open64.c): Likewise.
19439 (CFLAGS-creat.c): Likewise.
19440 (CFLAGS-creat64.c): Likewise.
19441 (CFLAGS-fcntl.c): Likewise.
19442 (CFLAGS-poll.c): Likewise.
19443 (CFLAGS-ppoll.c): Likewise.
19444 (CFLAGS-lockf.c): Likewise.
19445 (CFLAGS-statfs.c): Likewise.
19446 (CFLAGS-fstatfs.c): Likewise.
19447 (CFLAGS-statvfs.c): Likewise.
19448 (CFLAGS-fstatvfs.c): Likewise.
19449 (CFLAGS-fts.c): Likewise.
19450 (CFLAGS-fts64.c): Likewise.
19451 (CFLAGS-ftw.c): Likewise.
19452 (CFLAGS-ftw64.c): Likewise.
19453 (CFLAGS-lockf.c): Likewise.
19454 (CFLAGS-posix_fallocate.c): Likewise.
19455 (CFLAGS-posix_fallocate64.c): Likewise.
19456 (CFLAGS-fallocate.c): Likewise.
19457 (CFLAGS-fallocate64.c): Likewise.
19458 (CFLAGS-read.c): Likewise.
19459 (CFLAGS-write.c): Likewise.
19460 (CFLAGS-test-stat.c): Likewise.
19461 (CFLAGS-test-lfs.c): Likewise.
19462 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19463 (CFLAGS-fputc.c): Likewise.
19464 (CFLAGS-fputwc.c): Likewise.
19465 (CFLAGS-freopen64.c): Likewise.
19466 (CFLAGS-freopen.c): Likewise.
19467 (CFLAGS-fseek.c): Likewise.
19468 (CFLAGS-fseeko64.c): Likewise.
19469 (CFLAGS-fseeko.c): Likewise.
19470 (CFLAGS-ftello64.c): Likewise.
19471 (CFLAGS-ftello.c): Likewise.
19472 (CFLAGS-fwide.c): Likewise.
19473 (CFLAGS-genops.c): Likewise.
19474 (CFLAGS-getc.c): Likewise.
19475 (CFLAGS-getchar.c): Likewise.
19476 (CFLAGS-getwc.c): Likewise.
19477 (CFLAGS-getwchar.c): Likewise.
19478 (CFLAGS-iofclose.c): Likewise.
19479 (CFLAGS-iofflush.c): Likewise.
19480 (CFLAGS-iofgetpos64.c): Likewise.
19481 (CFLAGS-iofgetpos.c): Likewise.
19482 (CFLAGS-iofgets.c): Likewise.
19483 (CFLAGS-iofgetws.c): Likewise.
19484 (CFLAGS-iofputs.c): Likewise.
19485 (CFLAGS-iofputws.c): Likewise.
19486 (CFLAGS-iofread.c): Likewise.
19487 (CFLAGS-iofsetpos64.c): Likewise.
19488 (CFLAGS-iofsetpos.c): Likewise.
19489 (CFLAGS-ioftell.c): Likewise.
19490 (CFLAGS-iofwrite.c): Likewise.
19491 (CFLAGS-iogetdelim.c): Likewise.
19492 (CFLAGS-iogetline.c): Likewise.
19493 (CFLAGS-iogets.c): Likewise.
19494 (CFLAGS-iogetwline.c): Likewise.
19495 (CFLAGS-ioputs.c): Likewise.
19496 (CFLAGS-ioseekoff.c): Likewise.
19497 (CFLAGS-ioseekpos.c): Likewise.
19498 (CFLAGS-iosetbuffer.c): Likewise.
19499 (CFLAGS-iosetvbuf.c): Likewise.
19500 (CFLAGS-ioungetc.c): Likewise.
19501 (CFLAGS-ioungetwc.c): Likewise.
19502 (CFLAGS-oldfileops.c): Likewise.
19503 (CFLAGS-oldiofclose.c): Likewise.
19504 (CFLAGS-oldiofgetpos64.c): Likewise.
19505 (CFLAGS-oldiofgetpos.c): Likewise.
19506 (CFLAGS-oldiofsetpos64.c): Likewise.
19507 (CFLAGS-oldiofsetpos.c): Likewise.
19508 (CFLAGS-peekc.c): Likewise.
19509 (CFLAGS-putc.c): Likewise.
19510 (CFLAGS-putchar.c): Likewise.
19511 (CFLAGS-putwc.c): Likewise.
19512 (CFLAGS-putwchar.c): Likewise.
19513 (CFLAGS-rewind.c): Likewise.
19514 (CFLAGS-wfileops.c): Likewise.
19515 (CFLAGS-wgenops.c): Likewise.
19516 (CFLAGS-oldiofopen.c): Likewise.
19517 (CFLAGS-iofopen.c): Likewise.
19518 (CFLAGS-iofopen64.c): Likewise.
19519 (CFLAGS-oldtmpfile.c): Likewise.
19520 (CFLAGS-tst_putwc.c): Likewise.
19521 * locale/Makefile (CFLAGS-md5.c): Likewise.
19522 (CFLAGS-charmap.c): Likewise.
19523 (CFLAGS-locfile.c): Likewise.
19524 (CFLAGS-charmap-dir.c): Likewise.
19525 * login/Makefile (CFLAGS-grantpt.c): Likewise.
19526 (CFLAGS-getpt.c): Likewise.
19527 (CFLAGS-pt_chown.c): Likewise.
19528 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
19529 (CFLAGS-obstack.c): Likewise.
19530 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
19531 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
19532 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
19533 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
19534 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
19535 (CFLAGS-test-tgmath.c): Likewise.
19536 (CFLAGS-test-tgmath2.c): Likewise.
19537 (CFLAGS-test-tgmath-ret.c): Likewise.
19538 (CFLAGS-test-powl.c): Likewise.
19539 (CFLAGS-test-snan.c): Likewise.
19540 (CFLAGS-test-signgam-finite.c): Likewise.
19541 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19542 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19543 (CFLAGS-test-signgam-uchar.c): Likewise.
19544 (CFLAGS-test-signgam-uchar-init.c): Likewise.
19545 (CFLAGS-test-signgam-uchar-static.c): Likewise.
19546 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19547 (CFLAGS-test-signgam-uint.c): Likewise.
19548 (CFLAGS-test-signgam-uint-init.c): Likewise.
19549 (CFLAGS-test-signgam-uint-static.c): Likewise.
19550 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19551 (CFLAGS-test-signgam-ullong.c): Likewise.
19552 (CFLAGS-test-signgam-ullong-init.c): Likewise.
19553 (CFLAGS-test-signgam-ullong-static.c): Likewise.
19554 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19555 (CFLAGS-test-math-cxx11.cc): Likewise.
19556 (CFLAGS-test-math-isinff.cc): Likewise.
19557 (CFLAGS-test-math-iszero.cc): Likewise.
19558 (CFLAGS-test-math-issignaling.cc): Likewise.
19559 (CFLAGS-test-math-iscanonical.cc): Likewise.
19560 (CFLAGS-test-iszero-excess-precision.c): Likewise.
19561 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
19562 (CFLAGS-test-flt-eval-method.c): Likewise.
19563 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
19564 (CFLAGS-test-finite-macros.c): Likewise.
19565 * misc/Makefile (CFLAGS-select.c): Likewise.
19566 (CFLAGS-tsearch.c): Likewise.
19567 (CFLAGS-lsearch.c): Likewise.
19568 (CFLAGS-pselect.c): Likewise.
19569 (CFLAGS-readv.c): Likewise.
19570 (CFLAGS-writev.c): Likewise.
19571 (CFLAGS-preadv.c): Likewise.
19572 (CFLAGS-preadv64.c): Likewise.
19573 (CFLAGS-pwritev.c): Likewise.
19574 (CFLAGS-pwritev64.c): Likewise.
19575 (CFLAGS-preadv2.c): Likewise.
19576 (CFLAGS-preadv64v2.c): Likewise.
19577 (CFLAGS-pwritev2.c): Likewise.
19578 (CFLAGS-pwritev64v2.c): Likewise.
19579 (CFLAGS-usleep.c): Likewise.
19580 (CFLAGS-syslog.c): Likewise.
19581 (CFLAGS-error.c): Likewise.
19582 (CFLAGS-getpass.c): Likewise.
19583 (CFLAGS-mkstemp.c): Likewise.
19584 (CFLAGS-mkstemp64.c): Likewise.
19585 (CFLAGS-getsysstats.c): Likewise.
19586 (CFLAGS-getusershell.c): Likewise.
19587 (CFLAGS-err.c): Likewise.
19588 (CFLAGS-tst-tsearch.c): Likewise.
19589 (CFLAGS-msync.c): Likewise.
19590 (CFLAGS-fdatasync.c): Likewise.
19591 (CFLAGS-fsync.c): Likewise.
19592 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19593 (CFLAGS-unwind.c): Likewise.
19594 (CFLAGS-unwind-forcedunwind.c): Likewise.
19595 (CFLAGS-pthread_cancel.c): Likewise.
19596 (CFLAGS-pthread_setcancelstate.c): Likewise.
19597 (CFLAGS-pthread_setcanceltype.c): Likewise.
19598 (CFLAGS-cancellation.c): Likewise.
19599 (CFLAGS-libc-cancellation.c): Likewise.
19600 (CFLAGS-pthread_exit.c): Likewise.
19601 (CFLAGS-forward.c): Likewise.
19602 (CFLAGS-pthread_testcancel.c): Likewise.
19603 (CFLAGS-pthread_join.c): Likewise.
19604 (CFLAGS-pthread_timedjoin.c): Likewise.
19605 (CFLAGS-pthread_once.c): Likewise.
19606 (CFLAGS-pthread_cond_wait.c): Likewise.
19607 (CFLAGS-sem_wait.c): Likewise.
19608 (CFLAGS-sem_timedwait.c): Likewise.
19609 (CFLAGS-fcntl.c): Likewise.
19610 (CFLAGS-lockf.c): Likewise.
19611 (CFLAGS-pread.c): Likewise.
19612 (CFLAGS-pread64.c): Likewise.
19613 (CFLAGS-pwrite.c): Likewise.
19614 (CFLAGS-pwrite64.c): Likewise.
19615 (CFLAGS-wait.c): Likewise.
19616 (CFLAGS-waitpid.c): Likewise.
19617 (CFLAGS-sigwait.c): Likewise.
19618 (CFLAGS-msgrcv.c): Likewise.
19619 (CFLAGS-msgsnd.c): Likewise.
19620 (CFLAGS-tcdrain.c): Likewise.
19621 (CFLAGS-open.c): Likewise.
19622 (CFLAGS-open64.c): Likewise.
19623 (CFLAGS-pause.c): Likewise.
19624 (CFLAGS-recv.c): Likewise.
19625 (CFLAGS-send.c): Likewise.
19626 (CFLAGS-accept.c): Likewise.
19627 (CFLAGS-sendto.c): Likewise.
19628 (CFLAGS-connect.c): Likewise.
19629 (CFLAGS-recvfrom.c): Likewise.
19630 (CFLAGS-recvmsg.c): Likewise.
19631 (CFLAGS-sendmsg.c): Likewise.
19632 (CFLAGS-close.c): Likewise.
19633 (CFLAGS-read.c): Likewise.
19634 (CFLAGS-write.c): Likewise.
19635 (CFLAGS-nanosleep.c): Likewise.
19636 (CFLAGS-sigsuspend.c): Likewise.
19637 (CFLAGS-msync.c): Likewise.
19638 (CFLAGS-fdatasync.c): Likewise.
19639 (CFLAGS-fsync.c): Likewise.
19640 (CFLAGS-pt-system.c): Likewise.
19641 (CFLAGS-tst-cleanup2.c): Likewise.
19642 (CFLAGS-tst-cleanupx2.c): Likewise.
19643 (CFLAGS-flockfile.c): Likewise.
19644 (CFLAGS-ftrylockfile.c): Likewise.
19645 (CFLAGS-funlockfile.c): Likewise.
19646 (CFLAGS-tst-initializers1.c): Likewise.
19647 (CFLAGS-tst-initializers1-c89.c): Likewise.
19648 (CFLAGS-tst-initializers1-c99.c): Likewise.
19649 (CFLAGS-tst-initializers1-c11.c): Likewise.
19650 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19651 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19652 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19653 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19654 (CFLAGS-nscd_getgr_r.c): Likewise.
19655 (CFLAGS-nscd_gethst_r.c): Likewise.
19656 (CFLAGS-nscd_getai.c): Likewise.
19657 (CFLAGS-nscd_initgroups.c): Likewise.
19658 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19659 (CFLAGS-pause.c): Likewise.
19660 (CFLAGS-pread.c): Likewise.
19661 (CFLAGS-pread64.c): Likewise.
19662 (CFLAGS-pwrite.c): Likewise.
19663 (CFLAGS-pwrite64.c): Likewise.
19664 (CFLAGS-sleep.c): Likewise.
19665 (CFLAGS-wait.c): Likewise.
19666 (CFLAGS-waitid.c): Likewise.
19667 (CFLAGS-waitpid.c): Likewise.
19668 (CFLAGS-getopt.c): Likewise.
19669 (CFLAGS-wordexp.c): Likewise.
19670 (CFLAGS-sysconf.c): Likewise.
19671 (CFLAGS-pathconf.c): Likewise.
19672 (CFLAGS-fpathconf.c): Likewise.
19673 (CFLAGS-spawn.c): Likewise.
19674 (CFLAGS-spawnp.c): Likewise.
19675 (CFLAGS-spawni.c): Likewise.
19676 (CFLAGS-glob.c): Likewise.
19677 (CFLAGS-glob64.c): Likewise.
19678 (CFLAGS-getconf.c): Likewise.
19679 (CFLAGS-nanosleep.c): Likewise.
19680 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
19681 (CFLAGS-getpwent.c): Likewise.
19682 (CFLAGS-getpw.c): Likewise.
19683 (CFLAGS-fgetpwent_r.c): Likewise.
19684 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
19685 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
19686 (CFLAGS-mq_timedreceive.c): Likewise.
19687 (CFLAGS-mq_timedsend.c): Likewise.
19688 (CFLAGS-clock_nanosleep.c): Likewise.
19689 (CFLAGS-librt-cancellation.c): Likewise.
19690 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
19691 (CFLAGS-getspent.c): Likewise.
19692 (CFLAGS-fgetspent.c): Likewise.
19693 (CFLAGS-fgetspent_r.c): Likewise.
19694 (CFLAGS-putspent.c): Likewise.
19695 (CFLAGS-getspnam.c): Likewise.
19696 (CFLAGS-getspnam_r.c): Likewise.
19697 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
19698 (CFLAGS-sigsuspend.c): Likewise.
19699 (CFLAGS-sigtimedwait.c): Likewise.
19700 (CFLAGS-sigwait.c): Likewise.
19701 (CFLAGS-sigwaitinfo.c): Likewise.
19702 (CFLAGS-sigreturn.c): Likewise.
19703 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19704 (CFLAGS-vfwprintf.c): Likewise.
19705 (CFLAGS-tmpfile.c): Likewise.
19706 (CFLAGS-tmpfile64.c): Likewise.
19707 (CFLAGS-tempname.c): Likewise.
19708 (CFLAGS-psignal.c): Likewise.
19709 (CFLAGS-vprintf.c): Likewise.
19710 (CFLAGS-cuserid.c): Likewise.
19711 (CFLAGS-errlist.c): Likewise.
19712 (CFLAGS-siglist.c): Likewise.
19713 (CFLAGS-scanf15.c): Likewise.
19714 (CFLAGS-scanf17.c): Likewise.
19715 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
19716 (CFLAGS-msort.c): Likewise.
19717 (CFLAGS-qsort.c): Likewise.
19718 (CFLAGS-system.c): Likewise.
19719 (CFLAGS-fmtmsg.c): Likewise.
19720 (CFLAGS-strfmon.c): Likewise.
19721 (CFLAGS-strfmon_l.c): Likewise.
19722 (CFLAGS-strfromd.c): Likewise.
19723 (CFLAGS-strfromf.c): Likewise.
19724 (CFLAGS-strfroml.c): Likewise.
19725 (CFLAGS-tst-bsearch.c): Likewise.
19726 (CFLAGS-tst-qsort.c): Likewise.
19727 (CFLAGS-tst-makecontext2.c): Likewise.
19728 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19729 (CFLAGS-xnlm_prot.c): Likewise.
19730 (CFLAGS-xrstat.c): Likewise.
19731 (CFLAGS-xyppasswd.c): Likewise.
19732 (CFLAGS-xklm_prot.c): Likewise.
19733 (CFLAGS-xrex.c): Likewise.
19734 (CFLAGS-xsm_inter.c): Likewise.
19735 (CFLAGS-xmount.c): Likewise.
19736 (CFLAGS-xrusers.c): Likewise.
19737 (CFLAGS-xspray.c): Likewise.
19738 (CFLAGS-xnfs_prot.c): Likewise.
19739 (CFLAGS-xrquota.c): Likewise.
19740 (CFLAGS-xkey_prot.c): Likewise.
19741 (CFLAGS-auth_unix.c): Likewise.
19742 (CFLAGS-key_call.c): Likewise.
19743 (CFLAGS-pmap_rmt.c): Likewise.
19744 (CFLAGS-clnt_perr.c): Likewise.
19745 (CFLAGS-openchild.c): Likewise.
19746 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19747 (CFLAGS-msgsnd.c): Likewise.
19748 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19749 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19750 (CFLAGS-tzset.c): Likewise.
19751 (CFLAGS-getdate.c): Likewise.
19752 (CFLAGS-test_time.c): Likewise.
19753 (CPPFLAGS-tst-tzname.c): Likewise.
19754 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19755 (CFLAGS-zic.c): Likewise.
19756 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19757 (CFLAGS-wcswidth.c): Likewise.
19758 (CFLAGS-wcstol.c): Likewise.
19759 (CFLAGS-wcstoul.c): Likewise.
19760 (CFLAGS-wcstoll.c): Likewise.
19761 (CFLAGS-wcstoull.c): Likewise.
19762 (CFLAGS-wcstod.c): Likewise.
19763 (CFLAGS-wcstold.c): Likewise.
19764 (CFLAGS-wcstof128.c): Likewise.
19765 (CFLAGS-wcstof.c): Likewise.
19766 (CFLAGS-wcstol_l.c): Likewise.
19767 (CFLAGS-wcstoul_l.c): Likewise.
19768 (CFLAGS-wcstoll_l.c): Likewise.
19769 (CFLAGS-wcstoull_l.c): Likewise.
19770 (CFLAGS-wcstod_l.c): Likewise.
19771 (CFLAGS-wcstold_l.c): Likewise.
19772 (CFLAGS-wcstof128_l.c): Likewise.
19773 (CFLAGS-wcstof_l.c): Likewise.
19774 (CPPFLAGS-tst-wchar-h.c): Likewise.
19775 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 19776
f4b2aea6
PC
197772017-12-11 Paul A. Clarke <pc@us.ibm.com>
19778
19779 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19780
c9cd7b0c
AZ
197812017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19782 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19783
19784 * manual/tunables.texi (Hardware Capability Tunables): Document
19785 glibc.tune.cached_memopt.
19786 * sysdeps/powerpc/cpu-features.c: New file.
19787 * sysdeps/powerpc/cpu-features.h: New file.
19788 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19789 _dl_powerpc_cpu_features.
19790 * sysdeps/powerpc/dl-tunables.list: New file.
19791 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19792 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19793 (INIT_ARCH): Initialize use_aligned_memopt.
19794 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19795 IS_IN(rtld))]: Restrict dl_platform_init availability and
19796 initialize CPU features used by tunables.
19797 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19798 Add memcpy-power8-cached.
19799 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19800 __memcpy_power8_cached.
19801 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19802 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19803 New file.
19804
e70c6fee
L
198052017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19806
19807 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19808 (CFLAGS-noinl-tester.c): Likewise.
19809 (CFLAGS-tst-strlen.c): Likewise.
19810 (CFLAGS-stratcliff.c): Likewise.
19811 (CFLAGS-test-ffs.c): Likewise.
19812 (CFLAGS-tst-inlcall.c): Likewise.
19813 (CFLAGS-tst-xbzero-opt.c): Likewise.
19814 (CFLAGS-memcpy.c): Likewise.
19815 (CFLAGS-wordcopy.c): Likewise.
19816
dee94366
SL
198172017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19818
19819 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19820 Store r15 on stack and add cfi rule.
19821 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19822 Likewise.
19823
363e4519 198242017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
19825
19826 [BZ #22577]
19827 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19828 call.
19829
9d0ffa60
L
198302017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19831
19832 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19833 Add s_sinf-sse2 and s_sinf-fma.
19834 (CFLAGS-s_sinf-fma.c): New.
19835 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19836 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19837 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19838
9574c7b6
L
198392017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19840
19841 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19842
d15e83c5
JM
198432017-12-07 Joseph Myers <joseph@codesourcery.com>
19844
19845 [BZ #22568]
19846 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19847 part of result to imaginary part of argument if it is zero and the
19848 real part of the argument is not finite.
19849 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19850 of result to real part of argument if it is zero and the imaginary
19851 part of the argument is not finite.
19852
d89756eb
MF
198532017-12-07 Mike FABIAN <mfabian@redhat.com>
19854
19855 [BZ #22524]
19856 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19857 and to the list of locales to be built for testing.
19858 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19859 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19860 and build the collation rules upon that.
19861
1f9055ce
JM
198622017-12-07 Joseph Myers <joseph@codesourcery.com>
19863
19864 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19865 * manual/math.texi (Mathematics): Document support for _Float32.
19866 * math/Makefile (test-types): Add float32.
19867 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19868 * stdlib/Versions (GLIBC_2.27): Likewise.
19869 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19870 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19871 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19872 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19873 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19874 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19875 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19876 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19877 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19878 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19879 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19880 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19881 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19882 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19883 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19884 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19885 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19886 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19887 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19888 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19889 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19890 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19891 Likewise.
19892 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19893 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19894 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19895 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19896 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19898 Likewise.
19899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19900 Likewise.
19901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19902 Likewise.
19903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19904 Likewise.
19905
19906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19907 Likewise.
19908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19909 Likewise.
19910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19911 Likewise.
19912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19913 Likewise.
19914 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19915 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19916 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19917 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19918 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19919 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19920 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19921 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19922 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19923 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19925 Likewise.
19926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19927 Likewise.
19928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19929 Likewise.
19930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19931 Likewise.
19932 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19933 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19934 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19935 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19936 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19937 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19938 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19939 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19940
5244527d
JM
199412017-12-06 Joseph Myers <joseph@codesourcery.com>
19942
fb1ca2aa
JM
19943 * stdlib/strtof.c: Include <bits/floatn.h>
19944 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19945 and later undefine as macro. Define as weak alias if
19946 [!USE_WIDE_CHAR].
19947 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19948 and later undefine as macro. Define as weak alias if
19949 [USE_WIDE_CHAR].
19950 * stdlib/strtof_l.c: Include <bits/floatn.h>
19951 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
19952 and later undefine as macro. Define as weak alias if
19953 [!USE_WIDE_CHAR].
19954 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
19955 and later undefine as macro. Define as weak alias if
19956 [USE_WIDE_CHAR].
19957
fc10cc3f
JM
19958 * stdlib/strfromf.c: Include <bits/floatn.h>.
19959 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
19960 and later undefine as macro and define as weak alias.
19961
e420d228
JM
19962 * math/test-float32.h: New file.
19963
26007a2f
JM
19964 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
19965 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
19966 (libm_alias_float_other_r): Create f32 alias.
19967 (libm_alias_float_r): Use semicolon before call to
19968 libm_alias_float_other_r.
19969
c191f64c
JM
19970 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
19971 second argument to libm_alias_float_other.
19972 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
19973 second argument to libm_alias_float_other.
19974 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
19975 argument to libm_alias_float_other.
19976
5244527d
JM
19977 [BZ #22561]
19978 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
19979 real part of result for argument 0 + i * NaN.
19980 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19981 results for tests of 0 + i * NaN.
19982
d73fac82
AZ
199832017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19984
19985 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19986
7ec094e8
DM
199872017-12-06 David S. Miller <davem@davemloft.net>
19988
19989 * sysdeps/sparc/fpu/libm-test-ulps: Update
19990 exp_{downward,towardzero,upward} ulps.
19991
53994f12
JM
199922017-12-06 Joseph Myers <joseph@codesourcery.com>
19993
1dbe6f64
JM
19994 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19995 variables static.
19996
53994f12
JM
19997 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19998 (Y0_2D): Likewise.
19999 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
20000 (Y0_2D): Likewise.
20001 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
20002 (Y0_2D): Likewise.
20003 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
20004 (Y0_2D): Likewise.
20005
62ea2193
MF
200062017-12-06 Mike FABIAN <mfabian@redhat.com>
20007
20008 [BZ #22515]
20009 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
20010 and to the list of locales to be built for testing.
20011 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
20012 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
20013 and build the collation rules upon that.
20014
87235d70
RS
200152017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20016
20017 * NEWS: Add sinf to list of optimized functions.
20018
0d93b7fd
JM
200192017-12-06 Joseph Myers <joseph@codesourcery.com>
20020
20021 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
20022 (__HAVE_FLOAT32X): Likewise.
20023 * manual/math.texi (Mathematics): Document support for _Float64
20024 and _Float32x.
20025 * math/Makefile (test-types): Add float64 and float32x.
20026 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
20027 functions.
20028 * stdlib/Versions (GLIBC_2.27): Likewise.
20029 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20030 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20031 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20032 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20033 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20034 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20035 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20036 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20037 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20038 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20039 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20040 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20041 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20042 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20043 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20044 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20045 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20046 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20047 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20048 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20049 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20050 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20051 Likewise.
20052 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20053 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20054 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20055 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20056 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20058 Likewise.
20059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20060 Likewise.
20061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20062 Likewise.
20063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20064 Likewise.
20065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20066 Likewise.
20067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20068 Likewise.
20069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20070 Likewise.
20071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20072 Likewise.
20073 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20074 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20075 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20076 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20077 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20078 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20079 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20080 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20081 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20082 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20084 Likewise.
20085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20086 Likewise.
20087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20088 Likewise.
20089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20090 Likewise.
20091 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20092 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20093 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20094 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20095 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20096 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20097 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20098 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20099
f7787234
JM
201002017-12-05 Joseph Myers <joseph@codesourcery.com>
20101
20102 * bits/floatn-common.h: Include <bits/long-double.h>.
20103 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20104 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
20105 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20106 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
20107 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20108 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
20109 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20110 (__builtin_huge_valf64): Use __builtin_huge_vall.
20111 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20112 (__builtin_inff64): Use __builtin_infl.
20113 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20114 (__builtin_nanf64): Use __builtin_nanl.
20115 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20116 (__builtin_nansf64): Use __builtin_nansl.
20117
363e4519
DL
201182017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
20119 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
07ed18d2
RA
20120 Carlos O'Donnell <carlos@redhat.com>
20121
20122 * elf/dl-tunables.list: Add elision parameters.
20123 * manual/tunables.texi: Add entries about elision tunable.
20124 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
20125 Add callback functions to dynamically enable/disable elision.
20126 Add multiple callbacks functions to set elision parameters.
20127 Deleted __libc_enable_secure check.
20128 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
20129 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
20130 * configure: Regenerated.
20131 * configure.ac: Option enable_lock_elision was deleted.
20132 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
20133 * config.make.in: Remove references to enable_lock_elision.
20134 * manual/install.texi: Elision configure option was removed.
20135 * INSTALL: Regenerated to remove enable_lock_elision.
20136 * nptl/Makefile:
20137 Disable elision so it can verify error case for destroying a mutex.
20138 * sysdeps/powerpc/nptl/elide.h:
20139 Cleanup ENABLE_LOCK_ELISION check.
20140 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
20141 * sysdeps/s390/configure: Regenerated.
20142 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
20143 * nptl/tst-mutex8.c:
20144 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
20145 * sysdeps/powerpc/powerpc32/sysdep.h:
20146 Deleted all ENABLE_LOCK_ELISION checks.
20147 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20148 * sysdeps/powerpc/sysdep.h: Likewise.
20149 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
20150 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
20151 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20152 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20153 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20154 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
20155 enable-lock-elision.
20156
a5a2a76b
JM
201572017-12-05 Joseph Myers <joseph@codesourcery.com>
20158
20159 * stdlib/strtod.c: Include <bits/floatn.h>.
20160 (BUILD_DOUBLE): New macro.
20161 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20162 (strtof64): Define and later undefine as macro. Define as weak
20163 alias if [!USE_WIDE_CHAR].
20164 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20165 (wcstof64): Define and later undefine as macro. Define as weak
20166 alias if [USE_WIDE_CHAR].
20167 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20168 (strtof32x): Define and later undefine as macro. Define as weak
20169 alias if [!USE_WIDE_CHAR].
20170 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20171 (wcstof32x): Define and later undefine as macro. Define as weak
20172 alias if [USE_WIDE_CHAR].
20173 * stdlib/strtod_l.c: Include <bits/floatn.h>.
20174 (BUILD_DOUBLE): New macro.
20175 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20176 (strtof64_l): Define and later undefine as macro. Define as weak
20177 alias if [!USE_WIDE_CHAR].
20178 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20179 (wcstof64_l): Define and later undefine as macro. Define as weak
20180 alias if [USE_WIDE_CHAR].
20181 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20182 (strtof32x_l): Define and later undefine as macro. Define as weak
20183 alias if [!USE_WIDE_CHAR].
20184 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20185 (wcstof32x_l): Define and later undefine as macro. Define as weak
20186 alias if [USE_WIDE_CHAR].
20187
94d80dfc
AZ
201882017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20189
20190 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
20191 (reduced): Use ones as double instead of integer.
20192
00d54af7
SN
201932017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
20194
20195 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
20196
f2d64d62
JM
201972017-12-05 Joseph Myers <joseph@codesourcery.com>
20198
1f70eae4
JM
20199 * stdlib/strfromd.c: Include <bits/floatn.h>.
20200 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
20201 and later undefine as macro and define as weak alias.
20202 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
20203 Likewise.
20204
e2c4dce5
JM
20205 * math/test-float32x.h: New file.
20206 * math/test-float64.h: Likewise.
20207
f2d64d62
JM
20208 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
20209 (libm_alias_double_other_r_f64): New macro.
20210 (libm_alias_double_other_r_f32x): Likewise.
20211 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20212 libm_alias_double_other_r_f32x.
20213 (libm_alias_double_r): Use semicolon before call to
20214 libm_alias_double_other_r.
20215 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
20216 <bits/floatn.h>.
20217 (libm_alias_double_other_r_f64): New macro.
20218 (libm_alias_double_other_r_f32x): Likewise.
20219 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20220 libm_alias_double_other_r_f32x.
20221
91c318e7
L
202222017-12-05 H.J. Lu <hongjiu.lu@intel.com>
20223
20224 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
20225 int.
20226 (SINF_FUNC): Likewise. Replace floor with simple casts.
20227
de9661d6
MF
202282017-12-05 Mike FABIAN <mfabian@redhat.com>
20229
20230 [BZ #22517]
20231 * localedata/Makefile: Add et_EE.UTF-8 to test-input
20232 and to the list of locales to be built for testing.
20233 * localedata/et_EE.UTF-8.in: New file for testing the collation.
20234 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
20235 and build the collation rules upon that.
20236
f18b8dc7
CM
202372017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
20238
20239 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
20240 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
20241 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
20242 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
20243 instead of __insn__xxx.
20244 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
20245 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
20246 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
20247 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
20248 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
20249 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
20250
446d22e9
FW
202512017-12-05 Florian Weimer <fweimer@redhat.com>
20252
20253 Linux: Implement interfaces for memory protection keys
20254 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
20255 xsignal, xsysconf.
20256 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
20257 * support/xunistd.h (xsysconf): Declare.
20258 * support/xraise.c: New file.
20259 * support/xsigaction.c: Likewise.
20260 * support/xsignal.c: Likewise.
20261 * support/xsysconf.c: Likewise.
20262 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
20263 pkey_set, pkey_get, pkey_mprotect.
20264 [misc] (tests): Add tst-pkey.
20265 (tst-pkey): Link with -lpthread.
20266 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
20267 pkey_free, pkey_set, pkey_get, pkey_mprotect.
20268 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
20269 (PKEY_DISABLE_WRITE): Define.
20270 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
20271 Declare.
20272 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
20273 (SEGV_PKUERR): Add.
20274 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
20275 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
20276 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
20277 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
20278 Add.
20279 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
20280 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
20281 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
20282 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
20283 * sysdeps/unix/sysv/linux/**.abilist: Update.
20284
da616c14
FW
202852017-12-05 Florian Weimer <fweimer@redhat.com>
20286
20287 * support/tst-test_compare.c (subprocess): Use long long instead
20288 of long argument for consistent type width across 32-bit and
20289 64-bit architectures.
20290 (do_test): Adjust expected output.
20291
216933b2
JM
202922017-12-05 Joseph Myers <joseph@codesourcery.com>
20293
20294 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
20295 (cosf): Define using libm_alias_float.
20296 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
20297 (fabsf): Define using libm_alias_float.
20298 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
20299 (fmaf): Define using libm_alias_float.
20300 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
20301 (rintf): Define using libm_alias_float.
20302 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
20303 (sinf): Define using libm_alias_float.
20304 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
20305 <libm-alias-float.h>.
20306 (modff): Define using libm_alias_float.
20307 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
20308 <libm-alias-float.h>.
20309 (logbf): Define using libm_alias_float.
20310 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
20311 <libm-alias-float.h>.
20312 (ceilf): Define using libm_alias_float.
20313 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20314 <libm-alias-float.h>.
20315 (copysignf): Define using libm_alias_float.
20316 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
20317 <libm-alias-float.h>.
20318 (floorf): Define using libm_alias_float.
20319 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20320 <libm-alias-float.h>.
20321 (llrintf): Define using libm_alias_float.
20322 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20323 <libm-alias-float.h>.
20324 (llroundf): Define using libm_alias_float.
20325 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20326 <libm-alias-float.h>.
20327 (lrintf): Define using libm_alias_float.
20328 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20329 <libm-alias-float.h>.
20330 (lroundf): Define using libm_alias_float.
20331 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
20332 <libm-alias-float.h>.
20333 (nearbyintf): Define using libm_alias_float.
20334 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
20335 <libm-alias-float.h>.
20336 (rintf): Define using libm_alias_float.
20337 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
20338 <libm-alias-float.h>.
20339 (roundf): Define using libm_alias_float.
20340 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
20341 <libm-alias-float.h>.
20342 (truncf): Define using libm_alias_float.
20343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
20344 Include <libm-alias-float.h>.
20345 (ceilf): Define using libm_alias_float.
20346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
20347 Include <libm-alias-float.h>.
20348 (copysignf): Define using libm_alias_float.
20349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
20350 Include <libm-alias-float.h>.
20351 (floorf): Define using libm_alias_float.
20352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
20353 Include <libm-alias-float.h>.
20354 (llrintf): Define using libm_alias_float.
20355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
20356 Include <libm-alias-float.h>.
20357 (llroundf): Define using libm_alias_float.
20358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
20359 Include <libm-alias-float.h>.
20360 (logbf): Define using libm_alias_float.
20361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
20362 Include <libm-alias-float.h>.
20363 (lrintf): Define using libm_alias_float.
20364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
20365 Include <libm-alias-float.h>.
20366 (lroundf): Define using libm_alias_float.
20367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
20368 Include <libm-alias-float.h>.
20369 (modff): Define using libm_alias_float.
20370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
20371 Include <libm-alias-float.h>.
20372 (roundf): Define using libm_alias_float.
20373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
20374 Include <libm-alias-float.h>.
20375 (truncf): Define using libm_alias_float.
20376 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
20377 <libm-alias-float.h>.
20378 (llrintf): Define using libm_alias_float.
20379 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20380 <libm-alias-float.h>.
20381 (llroundf): Define using libm_alias_float.
20382 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
20383 <libm-alias-float.h>.
20384 (ceilf): Define using libm_alias_float.
20385 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
20386 <libm-alias-float.h>.
20387 (floorf): Define using libm_alias_float.
20388 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20389 <libm-alias-float.h>.
20390 (llroundf): Define using libm_alias_float.
20391 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20392 <libm-alias-float.h>.
20393 (lroundf): Define using libm_alias_float.
20394 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
20395 <libm-alias-float.h>.
20396 (roundf): Define using libm_alias_float.
20397 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
20398 <libm-alias-float.h>.
20399 (truncf): Define using libm_alias_float.
20400 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20401 <libm-alias-float.h>.
20402 (copysignf): Define using libm_alias_float.
20403 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20404 <libm-alias-float.h>.
20405 (llrintf): Define using libm_alias_float.
20406 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20407 <libm-alias-float.h>.
20408 (llroundf): Define using libm_alias_float.
20409 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20410 <libm-alias-float.h>.
20411 (lrintf): Define using libm_alias_float.
20412 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20413 <libm-alias-float.h>.
20414 (lroundf): Define using libm_alias_float.
20415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
20416 <libm-alias-float.h>.
20417 (ceilf): Define using libm_alias_float.
20418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
20419 <libm-alias-float.h>.
20420 (copysignf): Define using libm_alias_float.
20421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
20422 <libm-alias-float.h>.
20423 (cosf): Define using libm_alias_float.
20424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
20425 <libm-alias-float.h>.
20426 (floorf): Define using libm_alias_float.
20427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
20428 <libm-alias-float.h>.
20429 (llrintf): Define using libm_alias_float.
20430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20431 <libm-alias-float.h>.
20432 (llroundf): Define using libm_alias_float.
20433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20434 <libm-alias-float.h>.
20435 (logbf): Define using libm_alias_float.
20436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20437 <libm-alias-float.h>.
20438 (modff): Define using libm_alias_float.
20439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20440 <libm-alias-float.h>.
20441 (roundf): Define using libm_alias_float.
20442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20443 <libm-alias-float.h>.
20444 (sinf): Define using libm_alias_float.
20445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20446 <libm-alias-float.h>.
20447 (truncf): Define using libm_alias_float.
20448 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20449 <libm-alias-float.h>.
20450 (ceilf): Define using libm_alias_float.
20451 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20452 <libm-alias-float.h>.
20453 (copysignf): Define using libm_alias_float.
20454 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20455 <libm-alias-float.h>.
20456 (floorf): Define using libm_alias_float.
20457 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20458 <libm-alias-float.h>.
20459 (llrintf): Define using libm_alias_float.
20460 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20461 <libm-alias-float.h>.
20462 (llroundf): Define using libm_alias_float.
20463 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20464 <libm-alias-float.h>.
20465 (nearbyintf): Define using libm_alias_float.
20466 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20467 <libm-alias-float.h>.
20468 (rintf): Define using libm_alias_float.
20469 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20470 <libm-alias-float.h>.
20471 (roundf): Define using libm_alias_float.
20472 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
20473 <libm-alias-float.h>.
20474 (truncf): Define using libm_alias_float.
20475 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
20476 <libm-alias-float.h>.
20477 (ceilf): Define using libm_alias_float.
20478 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
20479 <libm-alias-float.h>.
20480 (floorf): Define using libm_alias_float.
20481 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20482 <libm-alias-float.h>.
20483 (llroundf): Define using libm_alias_float.
20484 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
20485 <libm-alias-float.h>.
20486 (roundf): Define using libm_alias_float.
20487 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
20488 <libm-alias-float.h>.
20489 (truncf): Define using libm_alias_float.
20490 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20491 <libm-alias-float.h>.
20492 (copysignf): Define using libm_alias_float.
20493 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20494 <libm-alias-float.h>.
20495 (llrintf): Define using libm_alias_float.
20496 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20497 <libm-alias-float.h>.
20498 (llroundf): Define using libm_alias_float.
20499 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
20500 <libm-alias-float.h>.
20501 (cosf): Define using libm_alias_float.
20502 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20503 <libm-alias-float.h>.
20504 (llrintf): Define using libm_alias_float.
20505 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20506 <libm-alias-float.h>.
20507 (llroundf): Define using libm_alias_float.
20508 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
20509 <libm-alias-float.h>.
20510 (sinf): Define using libm_alias_float.
20511
93485524
FW
205122017-12-04 Florian Weimer <fweimer@redhat.com>
20513
20514 * support/check.h (TEST_COMPARE): Define.
20515 (support_test_compare_failure): Declare.
20516 * support/Makefile (libsupport-routines): Add
20517 support_test_compare_failure.
20518 (tests): Add tst-test_compare.
20519 * support /support_test_compare_failure.c: New file.
20520 * support/tst-test_compare.c: Likewise.
20521
96b06a19
MF
205222017-12-04 Mike FABIAN <mfabian@redhat.com>
20523
20524 [BZ #22527]
20525 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
20526 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
20527 available, this rewrite of the collation rules does reproduce
20528 the test file in the same order.
20529
1f6d91f3
MF
205302017-12-04 Mike FABIAN <mfabian@redhat.com>
20531
20532 [BZ #10580]
20533 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
20534 digraphs in the month and day names. Using single code points for
20535 digraphs is deprecated. While there are dedicated Unicode
20536 codepoints, for the digraphs, these are included for backwards
20537 compatibility and modern texts use a sequence of Basic Latin
20538 characters. See: https://www.unicode.org/faq/ligature_digraph.html
20539 This makes the month and day names agree exactly with CLDR now,
20540 CLDR does not use the single code points for the digraphs either.
20541
2e49fed8
CM
205422017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
20543
20544 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
20545
73895b49
JM
205462017-12-04 Joseph Myers <joseph@codesourcery.com>
20547
20548 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
20549 of floor.
20550
4c1d801a
SP
205512017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
20552
20553 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
20554 Define only for libc.so.
20555
478593e6
SL
205562017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
20557
20558 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20559 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
20560 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
20561 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
20562 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20563
7863a711
RS
205642017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20565
20566 [BZ #5997]
20567 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
20568
800a496a
JDA
205692017-12-02 John David Anglin <danglin@gcc.gnu.org>
20570
b3f7fb12
JDA
20571 [BZ libc/19170]
20572 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20573 PREINIT_FUNCTION_WEAK is nonzero.
20574 (gmon_initializer): New function. Put procedure label for it in
20575 .init_array section.
20576 (_init): Don't call PREINIT_FUNCTION.
20577 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20578 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20579 value when map argument is null.
20580
800a496a
JDA
20581 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20582 depi instruction from PIC pc-relative sequence.
20583 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20584 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20585 (elf_machine_load_address): Likewise.
20586 (elf_machine_runtime_setup): Likewise.
20587
d17542d2
JM
205882017-12-02 Joseph Myers <joseph@codesourcery.com>
20589
20590 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20591 <libm-alias-double.h>.
20592 (logb): Define using libm_alias_double.
20593 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20594 <libm-alias-double.h>.
20595 (copysign): Define using libm_alias_double.
20596 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20597 <libm-alias-double.h>.
20598 (llrint): Define using libm_alias_double.
20599 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20600 <libm-alias-double.h>.
20601 (llround): Define using libm_alias_double.
20602 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20603 <libm-alias-double.h>.
20604 (lrint): Define using libm_alias_double.
20605 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20606 <libm-alias-double.h>.
20607 (lround): Define using libm_alias_double.
20608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20609 Include <libm-alias-double.h>.
20610 (copysign): Define using libm_alias_double.
20611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20612 Include <libm-alias-double.h>.
20613 (llrint): Define using libm_alias_double.
20614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20615 Include <libm-alias-double.h>.
20616 (llround): Define using libm_alias_double.
20617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20618 <libm-alias-double.h>.
20619 (logb): Define using libm_alias_double.
20620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20621 Include <libm-alias-double.h>.
20622 (lrint): Define using libm_alias_double.
20623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20624 Include <libm-alias-double.h>.
20625 (lround): Define using libm_alias_double.
20626 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20627 <libm-alias-double.h>.
20628 (llrint): Define using libm_alias_double.
20629 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20630 <libm-alias-double.h>.
20631 (llround): Define using libm_alias_double.
20632 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20633 <libm-alias-double.h>.
20634 (llround): Define using libm_alias_double.
20635 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20636 <libm-alias-double.h>.
20637 (lround): Define using libm_alias_double.
20638 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20639 <libm-alias-double.h>.
20640 (copysign): Define using libm_alias_double.
20641 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20642 <libm-alias-double.h>.
20643 (llrint): Define using libm_alias_double.
20644 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20645 <libm-alias-double.h>.
20646 (llround): Define using libm_alias_double.
20647 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20648 <libm-alias-double.h>.
20649 (lrint): Define using libm_alias_double.
20650 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20651 <libm-alias-double.h>.
20652 (lround): Define using libm_alias_double.
20653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20654 <libm-alias-double.h>.
20655 (copysign): Define using libm_alias_double.
20656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20657 <libm-alias-double.h>.
20658 (llrint): Define using libm_alias_double.
20659 (lrint): Likewise.
20660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20661 <libm-alias-double.h>.
20662 (llround): Define using libm_alias_double.
20663 (lround): Likewise.
20664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20665 <libm-alias-double.h>.
20666 (logb): Define using libm_alias_double.
20667 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20668 <libm-alias-double.h>.
20669 (copysign): Define using libm_alias_double.
20670 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20671 <libm-alias-double.h>.
20672 (llrint): Define using libm_alias_double.
20673 (lrint): Likewise.
20674 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20675 <libm-alias-double.h>.
20676 (llround): Define using libm_alias_double.
20677 (lround): Likewise.
20678 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20679 <libm-alias-double.h>.
20680 (llround): Define using libm_alias_double.
20681 (lround): Likewise.
20682 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20683 <libm-alias-double.h>.
20684 (copysign): Define using libm_alias_double.
20685 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20686 <libm-alias-double.h>.
20687 (llrint): Define using libm_alias_double.
20688 (lrint): Likewise.
20689 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20690 <libm-alias-double.h>.
20691 (llround): Define using libm_alias_double.
20692 (lround): Likewise.
20693 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20694 <libm-alias-double.h>.
20695 (llrint): Define using libm_alias_double.
20696 (lrint): Likewise.
20697 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20698 <libm-alias-double.h>.
20699 (llround): Define using libm_alias_double.
20700 (lround): Likewise.
20701
ec2cf3f4
JM
207022017-12-01 Joseph Myers <joseph@codesourcery.com>
20703
0ddde474
JM
20704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20705 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
20706 compat symbol based on llround.
20707
0d5ba561
JM
20708 * sysdeps/powerpc/power7/fpu/s_logb.c
20709 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
20710 symbol based on __logb, not on logb.
20711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
20712 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
20714 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20715
51ea3b20
JM
20716 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20717 (rint): Define using libm_alias_double.
20718 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20719 <libm-alias-double.h>.
20720 (modf): Define using libm_alias_double.
20721 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20722 <libm-alias-double.h>.
20723 (ceil): Define using libm_alias_double.
20724 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20725 <libm-alias-double.h>.
20726 (floor): Define using libm_alias_double.
20727 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20728 <libm-alias-double.h>.
20729 (nearbyint): Define using libm_alias_double.
20730 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20731 <libm-alias-double.h>.
20732 (rint): Define using libm_alias_double.
20733 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20734 <libm-alias-double.h>.
20735 (round): Define using libm_alias_double.
20736 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20737 <libm-alias-double.h>.
20738 (trunc): Define using libm_alias_double.
20739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20740 <libm-alias-double.h>.
20741 (ceil): Define using libm_alias_double.
20742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20743 Include <libm-alias-double.h>.
20744 (floor): Define using libm_alias_double.
20745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20746 <libm-alias-double.h>.
20747 (modf): Define using libm_alias_double.
20748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20749 Include <libm-alias-double.h>.
20750 (round): Define using libm_alias_double.
20751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20752 Include <libm-alias-double.h>.
20753 (trunc): Define using libm_alias_double.
20754 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20755 <libm-alias-double.h>.
20756 (ceil): Define using libm_alias_double.
20757 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20758 <libm-alias-double.h>.
20759 (floor): Define using libm_alias_double.
20760 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20761 <libm-alias-double.h>.
20762 (round): Define using libm_alias_double.
20763 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20764 <libm-alias-double.h>.
20765 (trunc): Define using libm_alias_double.
20766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20767 <libm-alias-double.h>.
20768 (ceil): Define using libm_alias_double.
20769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20770 <libm-alias-double.h>.
20771 (floor): Define using libm_alias_double.
20772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20773 <libm-alias-double.h>.
20774 (modf): Define using libm_alias_double.
20775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20776 <libm-alias-double.h>.
20777 (round): Define using libm_alias_double.
20778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20779 <libm-alias-double.h>.
20780 (trunc): Define using libm_alias_double.
20781 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20782 <libm-alias-double.h>.
20783 (ceil): Define using libm_alias_double.
20784 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20785 <libm-alias-double.h>.
20786 (floor): Define using libm_alias_double.
20787 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20788 <libm-alias-double.h>.
20789 (nearbyint): Define using libm_alias_double.
20790 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20791 <libm-alias-double.h>.
20792 (rint): Define using libm_alias_double.
20793 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20794 <libm-alias-double.h>.
20795 (round): Define using libm_alias_double.
20796 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20797 <libm-alias-double.h>.
20798 (trunc): Define using libm_alias_double.
20799 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20800 <libm-alias-double.h>.
20801 (ceil): Define using libm_alias_double.
20802 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20803 <libm-alias-double.h>.
20804 (floor): Define using libm_alias_double.
20805 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20806 <libm-alias-double.h>.
20807 (round): Define using libm_alias_double.
20808 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20809 <libm-alias-double.h>.
20810 (trunc): Define using libm_alias_double.
20811
ec2cf3f4
JM
20812 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20813 (fabs): Define using libm_alias_double.
20814 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20815 (fma): Define using libm_alias_double.
20816 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20817 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20818 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20819 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20820
5b7bd975
AZ
208212017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20822
0594b13f
AZ
20823 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20824
dbdfcf3b
AZ
20825 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20826 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20827 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20828
5b7bd975
AZ
20829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20830 due redirect macro.
20831
ef9ecfa6
AS
208322017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20833
20834 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20835
5b4e5e78
AZ
208362017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20837
2a14526b
AZ
20838 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20839 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20840 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20841 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20842
dbeb74ef 20843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
20844 (libm-sysdep_routines): Add s_nearbyintf-generic and
20845 s_nearbyint-generic.
20846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20847 New file.
20848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20850 Likewise.
20851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20852 Likewise.
20853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20854 file.
20855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20856 Likewise.
20857
20858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
20859 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20861 file.
20862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20864 Likewise.
20865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20868
fa7ded96
AZ
20869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20870 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20872 file.
20873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20875 Likewise.
20876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20879
e240cf0e
AZ
20880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20881 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20883 file.
20884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20886 Likewise.
20887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20890
5b4e5e78
AZ
20891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20892 (sysdep_calls): New rule.
20893 (sysdep_routines): Use sysdep_calls as base.
20894 (libm-sysdep_routines): Add generic rule for symbols shared with
20895 libc. Add s_copysign-generic and s_copysign-generic objects.
20896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20897 New file.
20898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20900 Likewise.
20901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20904
d985adae
MF
209052017-12-01 Mike FABIAN <mfabian@redhat.com>
20906
20907 [BZ #22519]
20908 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20909 the list of locales to be built for testing.
20910 * localedata/is_IS.UTF-8.in: New file.
20911 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20912 on iso14651_t1.
20913
ff84a0e0
JM
209142017-12-01 Joseph Myers <joseph@codesourcery.com>
20915
20916 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20917 <libm-alias-float.h>.
20918 (fabsf): Define using libm_alias_float.
20919
ef5d8b43
L
209202017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20921
20922 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20923
c0535adf
JM
209242017-11-30 Joseph Myers <joseph@codesourcery.com>
20925
f938b397
JM
20926 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20927 <libm-alias-float.h>.
20928 (fabsf): Define using libm_alias_float.
20929 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20930 <libm-alias-float.h>.
20931 (lrintf): Define using libm_alias_float.
20932 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20933 <libm-alias-float.h>.
20934 (rintf): Define using libm_alias_float.
20935
2251fad0
JM
20936 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20937 <libm-alias-double.h>.
20938 (fabs): Define using libm_alias_double.
20939 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20940 <libm-alias-double.h>.
20941 (lrint): Define using libm_alias_double.
20942 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20943 <libm-alias-double.h>.
20944 (rint): Define using libm_alias_double.
20945
e53df1de
JM
20946 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20947 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20948 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
20949 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
20950 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
20951 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
20952 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
20953 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
20954 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
20955 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
20956 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
20957 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
20958 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
20959 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
20960 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
20961 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
20962 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
20963 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
20964 s_atan_template.c.
20965 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
20966 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
20967 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
20968 s_ceil_template.c.
20969 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
20970 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
20971 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
20972 s_cos_template.c.
20973 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
20974 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
20975 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
20976 s_expm1_template.c.
20977 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
20978 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
20979 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20980 s_fabs_template.c.
20981 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20982 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20983 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20984 s_floor_template.c.
20985 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20986 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20987 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20988 s_frexp_template.c.
20989 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20990 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20991 s_lrint_template.c.
20992 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20993 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20994 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20995 s_modf_template.c.
20996 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20997 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20998 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20999 s_nearbyint_template.c.
21000 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
21001 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
21002 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
21003 s_remquo_template.c.
21004 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
21005 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
21006 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
21007 s_rint_template.c.
21008 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
21009 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
21010 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
21011 s_sin_template.c.
21012 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
21013 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
21014 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
21015 s_sincos_template.c.
21016 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
21017 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
21018 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
21019 s_tan_template.c.
21020 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
21021 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
21022 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
21023 s_tanh_template.c.
21024 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
21025 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
21026 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
21027 s_trunc_template.c.
21028 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
21029 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
21030 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
21031 s_atan.c instead of including s_atan.c.
21032 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
21033 s_atanf.c instead of including s_atanf.c.
21034 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
21035 s_atanl.c instead of including s_atanl.c.
21036 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
21037 instead of s_atan.c.
21038 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
21039 instead of s_atanf.c.
21040 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
21041 instead of s_atanl.c.
21042
c0535adf
JM
21043 * scripts/update-copyrights: Do not handle intl/plural.c
21044 specially.
21045
1faaf703
JB
210462017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
21047
21048 [BZ #22432]
21049 * configure.ac (BISON): Require to be present.
21050 * configure: Regenerated.
21051 * intl/Makefile (generated): Add plural.c.
21052 [$(BISON) != no]: Make code unconditional.
21053 (plural.c): Change rule to $(objpfx)plural.c.
21054 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
21055 * intl/plural.c: Remove.
21056 * manual/install.texi (Tools for Compilation): Document bison as
21057 required.
21058 * INSTALL: Regenerated.
21059
faec6323
JM
210602017-11-30 Joseph Myers <joseph@codesourcery.com>
21061
bd6ea9ed
JM
21062 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
21063 <libm-alias-double.h>.
21064 (llrint): Define using libm_alias_double.
21065 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
21066 <libm-alias-float.h>.
21067 (llrintf): Define using libm_alias_float.
21068 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
21069 <libm-alias-ldouble.h>.
21070 (llrintl): Define using libm_alias_ldouble.
21071
faec6323
JM
21072 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
21073 declare_mgen_alias instead of weak_alias.
21074 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
21075 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
21076 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
21077
023cade3
AZ
210782017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21079
9e2279a0
AZ
21080 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21081 Add add_n-generic.
21082 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
21083 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
21084 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
21085
75f37c71
AZ
21086 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21087 Add submul_1-generic.
21088 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
21089 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
21090 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
21091
b70cbbfc 21092 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
21093 Add addmul_1-generic.
21094 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
21095 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
21096 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
21097
21098 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
21099 Add sub_n-generic.
21100 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
21101 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
21102 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
21103
023cade3
AZ
21104 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21105 Add mul_1-generic.
21106 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
21107 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
21108 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
21109
fbb5fd03
MF
211102017-11-30 Mike FABIAN <mfabian@redhat.com>
21111
21112 According to CLDR, collation rules for Serbian and Bosnian
21113 should be the same as for Croatian.
21114
21115 [BZ #22534]
21116 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
21117 and to the list of locales to be built for testing.
21118 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21119 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21120 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
21121 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
21122
5e56e937
MF
211232017-11-30 Mike FABIAN <mfabian@redhat.com>
21124
21125 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
21126 to make test case pass.
21127 * localedata/hr_HR.UTF-8.in: Add more test strings.
21128
cf4341ca
MF
211292017-11-30 Mike FABIAN <mfabian@redhat.com>
21130
21131 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
21132
363e4519 211332017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
21134
21135 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
21136 the list of locales to built for testing.
21137 * localedata/hr_HR.UTF-8.in: New file.
21138
363e4519 211392017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
21140
21141 [BZ #10580]
21142 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
21143 iso14651_t1.
21144 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
21145 CLDR (except use ligatures for the digraphs, CLDR does not use
21146 the ligatures), add first_workday, some fixes in the date and time
21147 formats.
21148 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
21149 for Đ and đ.
21150 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
21151 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
21152 Add int_p_cs_precedes and int_n_cs_precedes.
21153 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
21154 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
21155 LC_MONETARY now).
21156 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
21157 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
21158 name_miss.
21159 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
21160 and lang_lib. Change postal_fmt.
21161
f33632cc
L
211622017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21163
21164 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
21165 <setjmp.h>.
21166 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21167 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
21168 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21169 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
21170 * sysdeps/generic/setjmpP.h: New file.
21171 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
21172 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
21173 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
21174 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
21175 Add jmp_buf-ssp.sym.
21176 (tests): Add tst-saved_mask-1.
21177
34697694
AS
211782017-11-30 Arjun Shankar <arjun@redhat.com>
21179
21180 [BZ #22375]
37ac8e63 21181 CVE-2017-17426
34697694
AS
21182 * malloc/malloc.c (__libc_malloc): Use checked_request2size
21183 instead of request2size.
21184
3e5efdbd
JM
211852017-11-30 Joseph Myers <joseph@codesourcery.com>
21186
18305fba
JM
21187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
21188 (__lllrint): Remove alias.
21189 (lllrint): Likewise.
21190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
21191 (__lllrintf): Likewise.
21192 (lllrintf): Likewise.
21193
3e5efdbd
JM
21194 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
21195 <libm-alias-float.h>.
21196 (copysignf): Define using libm_alias_float.
21197 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
21198 <libm-alias-float.h>.
21199 (fabsf): Define using libm_alias_float.
21200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21201 Include <libm-alias-float.h>.
21202 (copysignf): Define using libm_alias_float.
21203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
21204 <libm-alias-float.h>.
21205 (fabsf): Define using libm_alias_float.
21206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
21207 <libm-alias-float.h>.
21208 (fdimf): Define using libm_alias_float.
21209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
21210 <libm-alias-float.h>.
21211 (fmaf): Define using libm_alias_float.
21212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
21213 <libm-alias-float.h>.
21214 (llrintf): Define using libm_alias_float.
21215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21216 Include <libm-alias-float.h>.
21217 (nearbyintf): Define using libm_alias_float.
21218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
21219 <libm-alias-float.h>.
21220 (rintf): Define using libm_alias_float.
21221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
21222 <libm-alias-float.h>.
21223 (llrintf): Define using libm_alias_float.
21224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
21225 <libm-alias-float.h>.
21226 (lrintf): Define using libm_alias_float.
21227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
21228 <libm-alias-float.h>.
21229 (nearbyintf): Define using libm_alias_float.
21230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
21231 <libm-alias-float.h>.
21232 (rintf): Define using libm_alias_float.
21233 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
21234 <libm-alias-float.h>.
21235 (ceilf): Define using libm_alias_float.
21236 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
21237 <libm-alias-float.h>.
21238 (floorf): Define using libm_alias_float.
21239 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
21240 <libm-alias-float.h>.
21241 (fmaf): Define using libm_alias_float.
21242 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
21243 <libm-alias-float.h>.
21244 (lrintf): Define using libm_alias_float.
21245 (llrintf): Likewise.
21246 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
21247 <libm-alias-float.h>.
21248 (nearbyintf): Define using libm_alias_float.
21249 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
21250 <libm-alias-float.h>.
21251 (rintf): Define using libm_alias_float.
21252 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
21253 <libm-alias-float.h>.
21254 (truncf): Define using libm_alias_float.
21255 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
21256 <libm-alias-float.h>.
21257 (copysignf): Define using libm_alias_float.
21258 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
21259 <libm-alias-float.h>.
21260 (fabsf): Define using libm_alias_float.
21261 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
21262 <libm-alias-float.h>.
21263 (lrintf): Define using libm_alias_float.
21264 (llrintf): Likewise.
21265 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
21266 <libm-alias-float.h>.
21267 (nearbyintf): Define using libm_alias_float.
21268 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
21269 <libm-alias-float.h>.
21270 (rintf): Define using libm_alias_float.
21271
011fba7e
JM
212722017-11-29 Joseph Myers <joseph@codesourcery.com>
21273
875cd548
JM
21274 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21275 <libm-alias-double.h>.
21276 (copysign): Define using libm_alias_double.
21277 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
21278 <libm-alias-double.h>.
21279 (fabs): Define using libm_alias_double.
21280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21281 Include <libm-alias-double.h>.
21282 (copysign): Define using libm_alias_double.
21283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21284 <libm-alias-double.h>.
21285 (fabs): Define using libm_alias_double.
21286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
21287 <libm-alias-double.h>.
21288 (fdim): Define using libm_alias_double.
21289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
21290 <libm-alias-double.h>.
21291 (fma): Define using libm_alias_double.
21292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
21293 <libm-alias-double.h>.
21294 (llrint): Define using libm_alias_double.
21295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
21296 Include <libm-alias-double.h>.
21297 (nearbyint): Define using libm_alias_double.
21298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
21299 <libm-alias-double.h>.
21300 (rint): Define using libm_alias_double.
21301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21302 <libm-alias-double.h>.
21303 (fabs): Define using libm_alias_double.
21304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
21305 <libm-alias-double.h>.
21306 (llrint): Define using libm_alias_double.
21307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
21308 <libm-alias-double.h>.
21309 (nearbyint): Define using libm_alias_double.
21310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
21311 <libm-alias-double.h>.
21312 (rint): Define using libm_alias_double.
21313 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
21314 <libm-alias-double.h>.
21315 (ceil): Define using libm_alias_double.
21316 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
21317 <libm-alias-double.h>.
21318 (floor): Define using libm_alias_double.
21319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
21320 <libm-alias-double.h>.
21321 (fma): Define using libm_alias_double.
21322 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
21323 <libm-alias-double.h>.
21324 (lrint): Define using libm_alias_double.
21325 (llrint): Likewise.
21326 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
21327 <libm-alias-double.h>.
21328 (nearbyint): Define using libm_alias_double.
21329 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
21330 <libm-alias-double.h>.
21331 (rint): Define using libm_alias_double.
21332 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
21333 <libm-alias-double.h>.
21334 (trunc): Define using libm_alias_double.
21335 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
21336 <libm-alias-double.h>.
21337 (copysign): Define using libm_alias_double.
21338 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
21339 <libm-alias-double.h>.
21340 (fabs): Define using libm_alias_double.
21341 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
21342 <libm-alias-double.h>.
21343 (lrint): Define using libm_alias_double.
21344 (llrint): Likewise.
21345 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
21346 <libm-alias-double.h>.
21347 (nearbyint): Define using libm_alias_double.
21348 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
21349 <libm-alias-double.h>.
21350 (rint): Define using libm_alias_double.
21351
cf4ebc27
JM
21352 [BZ #22229]
21353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21354 <math_ldbl_opt.h>.
21355 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21356
0c097378
JM
21357 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21358 SPARC --disable-multi-arch glibc variants.
21359
34bb10aa
JM
21360 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
21361 <libm-alias-float.h>.
21362 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21363 if [SHARED].
21364 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
21365 <libm-alias-float.h>.
21366 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21367 if [SHARED].
21368 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
21369 <libm-alias-float.h>.
21370 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21371 if [SHARED].
21372 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
21373 <libm-alias-float.h>.
21374 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21375 if [SHARED].
21376 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
21377 <libm-alias-float.h>.
21378 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21379 if [SHARED].
21380 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
21381 <libm-alias-float.h>.
21382 (ceilf): Define using libm_alias_float.
21383 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
21384 <libm-alias-float.h>.
21385 (floorf): Define using libm_alias_float.
21386 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
21387 <libm-alias-float.h>.
21388 (fmaf): Define using libm_alias_float.
21389 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
21390 <libm-alias-float.h>.
21391 (nearbyintf): Define using libm_alias_float.
21392 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
21393 <libm-alias-float.h>.
21394 (rintf): Define using libm_alias_float.
21395 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
21396 <libm-alias-float.h>.
21397 (truncf): Define using libm_alias_float.
21398 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21399 (copysignf): Define using libm_alias_float.
21400 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21401 (cosf): Define using libm_alias_float.
21402 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21403 (fabsf): Define using libm_alias_float.
21404 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21405 (fmaxf): Define using libm_alias_float.
21406 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
21407 (fminf): Define using libm_alias_float.
21408 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21409 (llrintf): Define using libm_alias_float.
21410 [!__ILP32__] (lrintf): Likewise.
21411 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
21412 (sincosf): Define using libm_alias_float.
21413 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
21414 (sinf): Define using libm_alias_float.
21415 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21416 (lrintf): Define using libm_alias_float.
21417
011fba7e
JM
21418 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
21419 <libm-alias-double.h>.
21420 (atan): Define using libm_alias_double.
21421 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
21422 <libm-alias-double.h>.
21423 (ceil): Define using libm_alias_double.
21424 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
21425 <libm-alias-double.h>.
21426 (floor): Define using libm_alias_double.
21427 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
21428 <libm-alias-double.h>.
21429 (fma): Define using libm_alias_double.
21430 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21431 <libm-alias-double.h>.
21432 (nearbyint): Define using libm_alias_double.
21433 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21434 <libm-alias-double.h>.
21435 (rint): Define using libm_alias_double.
21436 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21437 <libm-alias-double.h>.
21438 (sin): Define using libm_alias_double.
21439 (cos): Likewise.
21440 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21441 <libm-alias-double.h>.
21442 (tan): Define using libm_alias_double.
21443 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21444 <libm-alias-double.h>.
21445 (trunc): Define using libm_alias_double.
21446 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21447 (copysign): Define using libm_alias_double.
21448 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21449 (fabs): Define using libm_alias_double.
21450 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21451 (fmax): Define using libm_alias_double.
21452 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21453 (fmin): Define using libm_alias_double.
21454 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21455 (llrint): Define using libm_alias_double.
21456 [!__ILP32__] (lrint): Likewise.
21457 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21458 (lrint): Define using libm_alias_double.
21459
1cbd7bfe
AZ
214602017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21461
21bfcc3d
AZ
21462 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21463 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21464 objects.
21465 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21466 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21467 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21468 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21469 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21470 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21471
522228dd
AZ
21472 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21473 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
21474 objects.
21475 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
21476 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
21477 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
21478 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
21479 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
21480 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21481
2a6f4fab
AZ
21482 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21483 (libm-sysdep_routines): Add s_nearbyint-generic and
21484 s_nearbyintf-generic objects.
21485 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
21486 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
21487 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
21488 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
21489 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
21490 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
21491
712b5b83
AZ
21492 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21493 Add s_finitef-generic and s_finite-generic objects.
21494 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
21495 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
21496 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
21497 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
21498 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
21499 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
21500
c96d3335
AZ
21501 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21502 Add s_isinff-generic and s_isinf-generic objects.
21503 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
21504 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
21505 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
21506 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
21507 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
21508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21509
c6862a23
AZ
21510 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21511 Add s_isnanf-generic and s_isnan-generic objects.
21512 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
21513 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
21514 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
21515 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
21516 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
21517 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21518
1cbd7bfe
AZ
21519 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
21520 macro.
21521 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
21522 rule.
21523 (sysdep_routines): Use sysdep_calls as base.
21524 (libm-sysdep_routines): Add generic rule for symbols shared with
21525 libc. Add s_signbit-generic and s_signbitf-generic objects.
21526 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
21527 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
21528 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
21529 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
21530 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
21531 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21532
aa1142c5
JM
215332017-11-29 Joseph Myers <joseph@codesourcery.com>
21534
21535 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
21536 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
21537 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
21538 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
21539 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
21540 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
21541 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
21542 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
21543 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
21544 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
21545 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
21546 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
21547 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
21548 libm_alias_float_r.
21549 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
21550 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
21551 (logf): Likewise.
21552 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
21553 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
21554 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
21555 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
21556 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
21557 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
21558 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
21559 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
21560 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
21561 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
21562 libm_alias_float.
21563 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
21564 (cosf): Likewise.
21565 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
21566 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
21567 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
21568 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
21569 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21570 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21571 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21572 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21573 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21574 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21575 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21576 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21577 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21578 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21579 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21580 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21581 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21582 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21583 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21584 libm_alias_float.
21585 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21586 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21587 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21588 * sysdeps/ia64/fpu/w_lgammaf_main.c
21589 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21590 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21591
363e4519
DL
215922017-11-28 Mike FABIAN <mfabian@redhat.com>
21593 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
21594
21595 [BZ #17750]
21596 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21597 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21598 accents sorting.
21599 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21600 sorting.
21601 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21602 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21603 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21604 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21605 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21606 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21607 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21608 instead of “ifdef DIACRIT_BACKWARD”.
21609
a55430cb
AZ
216102017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21611
21612 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21613 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21614 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21615 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21616 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21617 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21618 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21619 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21620 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21621 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21624 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21625 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21626 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21627 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21628 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21629 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21631 ($(have-as-vis3) == yes): Remove conditional.
21632 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21633 Likewise.
21634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21635 file.
21636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21637 file.
21638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21639 file.
21640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21641 file.
21642 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21643 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21644 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21645 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21646 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21648 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21649 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21650
0609ec0a
JM
216512017-11-29 Joseph Myers <joseph@codesourcery.com>
21652
21653 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21654 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21655 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21656 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21657 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21658 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21659 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21660 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21661 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21662 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21663 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21664 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21665 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21666 libm_alias_double_r.
21667 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21668 (log): Likewise.
21669 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21670 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21671 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21672 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21673 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21674 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21675 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21676 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21677 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21678 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
21679 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
21680 libm_alias_double.
21681 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
21682 (cos): Likewise.
21683 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
21684 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
21685 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
21686 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
21687 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
21688 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
21689 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
21690 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
21691 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
21692 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
21693 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
21694 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
21695 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
21696 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
21697 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
21698 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
21699 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
21700 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
21701 libm_alias_double.
21702 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
21703 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
21704 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
21705 * sysdeps/ia64/fpu/w_lgamma_main.c
21706 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
21707 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
21708
d5bfa34a
JDA
217092017-11-28 John David Anglin <danglin@gcc.gnu.org>
21710
21711 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
21712 address of $global$ into %dp register earlier. Use pc-relative
21713 instruction sequence for PIC case.
21714
bc4e8f9b
JM
217152017-11-28 Joseph Myers <joseph@codesourcery.com>
21716
e4602cba
JM
21717 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21718 (asinhf): Define using libm_alias_float.
21719 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21720 (atanf): Define using libm_alias_float.
21721 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21722 (cbrtf): Define using libm_alias_float.
21723 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21724 (ceilf): Define using libm_alias_float.
21725 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21726 (copysignf): Define using libm_alias_float.
21727 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21728 (expm1f): Define using libm_alias_float.
21729 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21730 (fabsf): Define using libm_alias_float.
21731 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21732 (floorf): Define using libm_alias_float.
21733 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21734 (fmaxf): Define using libm_alias_float.
21735 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21736 (fminf): Define using libm_alias_float.
21737 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21738 (frexpf): Define using libm_alias_float.
21739 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21740 (llrintf): Define using libm_alias_float.
21741 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21742 (logbf): Define using libm_alias_float.
21743 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21744 (lrintf): Define using libm_alias_float.
21745 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21746 (nearbyintf): Define using libm_alias_float.
21747 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21748 (remquof): Define using libm_alias_float.
21749 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21750 (rintf): Define using libm_alias_float.
21751 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21752 (truncf): Define using libm_alias_float.
21753 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21754 <libm-alias-float.h>.
21755 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21756 if [SHARED].
21757 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21758 <libm-alias-float.h>.
21759 (expf): Define using libm_alias_float, or libm_alias_float_other
21760 if [SHARED].
21761 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21762 <libm-alias-float.h>.
21763 (log2f): Define using libm_alias_float, or libm_alias_float_other
21764 if [SHARED].
21765 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21766 <libm-alias-float.h>.
21767 (logf): Define using libm_alias_float, or libm_alias_float_other
21768 if [SHARED].
21769 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21770 <libm-alias-float.h>.
21771 (powf): Define using libm_alias_float, or libm_alias_float_other
21772 if [SHARED].
21773 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21774 <libm-alias-float.h>.
21775 (cosf): Define using libm_alias_float.
21776 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21777 <libm-alias-float.h>.
21778 (sincosf): Define using libm_alias_float.
21779 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21780 <libm-alias-float.h>.
21781 (sinf): Define using libm_alias_float.
21782 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21783 (fmaxf): Define using libm_alias_float.
21784 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21785 (fminf): Define using libm_alias_float.
21786 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21787 <libm-alias-float.h>.
21788 (fmaf): Define using libm_alias_float.
21789
bc4e8f9b
JM
21790 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21791 (asinh): Define using libm_alias_double.
21792 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21793 (atan): Define using libm_alias_double.
21794 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21795 (cbrt): Define using libm_alias_double.
21796 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21797 (ceil): Define using libm_alias_double.
21798 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21799 (copysign): Define using libm_alias_double.
21800 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21801 (expm1): Define using libm_alias_double.
21802 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21803 (fabs): Define using libm_alias_double.
21804 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21805 (fdim): Define using libm_alias_double.
21806 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21807 (floor): Define using libm_alias_double.
21808 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21809 (fmax): Define using libm_alias_double.
21810 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21811 (fmin): Define using libm_alias_double.
21812 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21813 (frexp): Define using libm_alias_double.
21814 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21815 (llrint): Define using libm_alias_double.
21816 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21817 (logb): Define using libm_alias_double.
21818 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21819 (lrint): Define using libm_alias_double.
21820 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21821 (nearbyint): Define using libm_alias_double.
21822 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21823 (remquo): Define using libm_alias_double.
21824 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21825 (rint): Define using libm_alias_double.
21826 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21827 (trunc): Define using libm_alias_double.
21828 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21829 (fmax): Define using libm_alias_double.
21830 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21831 (fmin): Define using libm_alias_double.
21832 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21833 (fma): Define using libm_alias_double.
21834
8d81ce0c
L
218352017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21836
21837 [BZ #22370]
21838 * elf/dl-hwcaps.c (ROUND): Removed.
21839 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21840 and ELF_NOTE_NEXT_OFFSET.
21841 * elf/dl-load.c (ROUND): Removed.
21842 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21843 * elf/readelflib.c (ROUND): Removed.
21844 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21845 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21846 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21847 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21848
6940bd96
JM
218492017-11-28 Joseph Myers <joseph@codesourcery.com>
21850
313ba463
JM
21851 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21852 [!__fmaf] (fmaf): Define using libm_alias_float.
21853
6940bd96
JM
21854 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21855 [!__fma] (fma): Define using libm_alias_double.
21856 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21857
22c69b6a
MF
218582017-11-28 Mike FABIAN <mfabian@redhat.com>
21859
21860 [BZ #22336]
21861 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21862 and implement the collation rules for cs from CLDR on top of that.
21863 * Makefile: Add cs_CZ.UTF-8 to test-input.
21864 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21865
8d7d3ba8
SP
218662017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21867
21868 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21869
0422ed1e
VR
218702017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21871 Icarus Sparry <icarus.w.sparry@intel.com>
21872
21873 * benchtests/Makefile:Add BENCHSET to allow subsets of
21874 benchmarks to be run.
21875 * benchtests/README: Add documentation for: Running subsets of
21876 benchmarks.
21877
0595e360
VR
218782017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21879
d5090db3
VR
21880 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21881 range of tests names.
21882
0595e360
VR
21883 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21884 result from property and remove "max", min" and "mean" from
21885 required properties based on benchtests/bench-skeleton.c.
21886
b4c645c2
FW
218872017-11-28 Florian Weimer <fweimer@redhat.com>
21888
21889 [BZ #20826]
21890 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21891 due to Internet requirement.
21892 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21893 tst-getaddrinfo5.
21894 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21895
88684de7
AZ
218962017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21897
69056564
AZ
21898 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21899 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21900 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21901 (sysdep_routines): Add memset-ultra1.
21902 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21903 file.
21904 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21905 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21906 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21907 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21908 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21909 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21910 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21911 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21912
88684de7
AZ
21913 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21914 file.
21915 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21916 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21917 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21918 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21919 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21920 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21921 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21922 macro.
21923 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21924 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21925 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21926 (sysdep_routines): Add memcpy-ultra1.
21927 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21928 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21929
d8124864
JM
219302017-11-28 Joseph Myers <joseph@codesourcery.com>
21931
f433d0b3
JM
21932 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21933 (cfloat_versions): Take function argument without trailing 'f'.
21934 Call libm_alias_float_other.
21935 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21936 * sysdeps/alpha/fpu/cargf.c: Likewise.
21937 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21938 * sysdeps/alpha/fpu/conjf.c: Likewise.
21939 * sysdeps/alpha/fpu/crealf.c: Likewise.
21940 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21941 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21942 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21943 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21944 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21945 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21946 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21947 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21948 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
21949 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21950 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
21951 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
21952 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
21953 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
21954 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
21955 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
21956 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
21957 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
21958 (clog10f): Use libm_alias_float_other.
21959 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21960 (ceilf): Define using libm_alias_float.
21961 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
21962 (copysignf): Define using libm_alias_float.
21963 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21964 (fabsf): Define using libm_alias_float.
21965 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
21966 (floorf): Define using libm_alias_float.
21967 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
21968 (fmaxf): Define using libm_alias_float.
21969 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
21970 (fminf): Define using libm_alias_float.
21971 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21972 (lrintf): Define using libm_alias_float.
21973 (llrintf): Likewise.
21974 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21975 (lroundf): Define using libm_alias_float.
21976 (llroundf): Likewise.
21977 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
21978 (rintf): Define using libm_alias_float.
21979 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
21980 (truncf): Define using libm_alias_float.
21981
15ff4900
JM
21982 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21983 (ceilf): Define using libm_alias_float.
21984 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21985 (floorf): Define using libm_alias_float.
21986 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21987 (fmaf): Define using libm_alias_float.
21988 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21989 (fmaxf): Define using libm_alias_float.
21990 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21991 (fminf): Define using libm_alias_float.
21992 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21993 (llrintf): Define using libm_alias_float.
21994 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21995 (llroundf): Define using libm_alias_float.
21996 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21997 (lrintf): Define using libm_alias_float.
21998 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21999 (lroundf): Define using libm_alias_float.
22000 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
22001 <libm-alias-float.h>.
22002 (nearbyintf): Define using libm_alias_float.
22003 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
22004 (rintf): Define using libm_alias_float.
22005 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
22006 (roundf): Define using libm_alias_float.
22007 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
22008 (truncf): Define using libm_alias_float.
22009
5de60638
JM
22010 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
22011 (ceil): Define using libm_alias_double.
22012 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
22013 (copysign): Define using libm_alias_double.
22014 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
22015 (fabs): Define using libm_alias_double.
22016 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
22017 (floor): Define using libm_alias_double.
22018 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
22019 (fmax): Define using libm_alias_double.
22020 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
22021 (fmin): Define using libm_alias_double.
22022 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
22023 (lrint): Define using libm_alias_double.
22024 (llrint): Likewise.
22025 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
22026 (lround): Define using libm_alias_double.
22027 (llround): Likewise.
22028 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
22029 (rint): Define using libm_alias_double.
22030 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
22031 (trunc): Define using libm_alias_double.
22032
d8124864
JM
22033 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
22034 (libm_alias_double_r): Add semicolon after weak_alias call.
22035
f07d2ec8
JM
220362017-11-27 Joseph Myers <joseph@codesourcery.com>
22037
22038 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
22039 (ceil): Define using libm_alias_double.
22040 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
22041 (floor): Define using libm_alias_double.
22042 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
22043 (fma): Define using libm_alias_double.
22044 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
22045 (fmax): Define using libm_alias_double.
22046 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
22047 (fmin): Define using libm_alias_double.
22048 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
22049 (llrint): Define using libm_alias_double.
22050 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
22051 (llround): Define using libm_alias_double.
22052 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
22053 (lrint): Define using libm_alias_double.
22054 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
22055 (lround): Define using libm_alias_double.
22056 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
22057 (nearbyint): Define using libm_alias_double.
22058 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
22059 (rint): Define using libm_alias_double.
22060 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
22061 (round): Define using libm_alias_double.
22062 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
22063 (trunc): Define using libm_alias_double.
22064
4bab0224
FW
220652017-11-27 Florian Weimer <fweimer@redhat.com>
22066
22067 * sysdeps/unix/sysv/linux/mlock2.c: New file.
22068 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
22069 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
22070 (tests): Add tst-mlock2.
22071 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
22072 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
22073 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
22074 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
22075 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
22076 for mlock. Document mlock2.
22077
a23aa5b7
JM
220782017-11-27 Joseph Myers <joseph@codesourcery.com>
22079
22080 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
22081 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
22082 Likewise.
22083 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
22084 Likewise.
22085 * sysdeps/x86/Makeconfig: New file.
22086 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
22087 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22088 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
22089 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22090 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22091 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22092 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
22093 Likewise.
22094 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22095 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22096 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22097 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22098 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22099 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22100 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22101 * manual/math.texi (Mathematics): Document support for _Float64x.
22102 * math/Versions (GLIBC_2.27): Add _Float64x functions.
22103 * stdlib/Versions (GLIBC_2.27): Likewise.
22104 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22105 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22106 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22107 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22108 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22109 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22110 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22111 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22112 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22113 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22114 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22115 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22117 Likewise.
22118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22119 Likewise.
22120 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22121 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22122 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22123 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22124 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22125 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22126 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22127 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22128 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22129 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22130 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22131 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22132 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22133 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22134
c2c299fd
AS
221352017-11-27 Andreas Schwab <schwab@suse.de>
22136
22137 * elf/Makefile (dl-routines): Add dl-sort-maps.
22138 * elf/dl-sort-maps.c: New file.
22139 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
22140 (_dl_sort_maps): Declare.
22141 * elf/dl-fini.c (_dl_sort_fini): Remove.
22142 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
22143 * elf/dl-close.c (_dl_close_worker): Likewise.
22144 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
22145 open-coding it.
22146 * elf/dl-open.c (dl_open_worker): Likewise.
22147
9d4b0117
JM
221482017-11-24 Joseph Myers <joseph@codesourcery.com>
22149
de61465c
JM
22150 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
22151 using libm_alias_float128.
22152 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
22153 Likewise.
22154 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
22155 Likewise.
22156 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
22157 (setpayloadsigf128): Likewise.
22158 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
22159 Likewise.
22160 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
22161 Likewise.
22162
9ae6d171
JM
22163 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
22164 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
22165 -mfloat128 to CFLAGS.
22166 ($(foreach
22167 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
22168 Likewise.
22169 (CFLAGS-libm-test-support-float64x.c): New variable.
22170 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
22171 $(f128-loader-link) to gnulib-tests.
22172
6e70d156
JM
22173 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
22174 (libm_alias_float128_other_r): If
22175 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
22176 alias.
22177 (libm_alias_float128_r): Add semicolon after weak_alias call.
22178 * sysdeps/generic/libm-alias-ldouble.h
22179 (libm_alias_ldouble_other_r_f128): New macro.
22180 (libm_alias_ldouble_other_r_f64x): Likewise.
22181 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22182 and libm_alias_ldouble_other_r_f64x.
22183 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
22184 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22185 (libm_alias_ldouble_other_r_f128): New macro.
22186 (libm_alias_ldouble_other_r_f64x): Likewise.
22187 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22188 and libm_alias_ldouble_other_r_f64x.
22189
df2806cd
JM
22190 * stdlib/strfroml.c: Always include <stdlib.h>.
22191 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
22192 undefine as macro and define as weak alias.
22193 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
22194 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
22195 <stdlib.h>.
22196 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
22197 Define and later undefine as macro and define as weak alias.
22198
0df4fe35
JM
22199 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22200 Define and later undefine as macro. Define as weak alias if
22201 [!USE_WIDE_CHAR].
22202 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
22203 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22204 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
22205 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22206 Define and later undefine as macro. Define as weak alias if
22207 [!USE_WIDE_CHAR].
22208 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
22209 Define and later undefine as macro. Define as weak alias if
22210 [USE_WIDE_CHAR].
22211 * sysdeps/ieee754/float128/strtof128_l.c
22212 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
22213 Define and later undefine as macro. Define as weak alias if
22214 [!USE_WIDE_CHAR].
22215 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
22216 Define and later undefine as macro. Define as weak alias if
22217 [USE_WIDE_CHAR].
22218 * sysdeps/ieee754/ldbl-128/strtold_l.c
22219 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22220 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22221 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22222 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22223 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
22224 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22225 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22226 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22227 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22228 * sysdeps/ieee754/ldbl-96/strtold_l.c
22229 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22230 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22231 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22232 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22233
ae7207d0
JM
22234 * math/test-float64x.h: New file.
22235 * math/Makefile (type-float64x-yes): New variable.
22236 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
22237
9596fc69
JM
22238 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
22239 function-like macro.
22240 (min_of_type_): Likewise.
22241 (min_of_type_l): Likewise.
22242 (min_of_type_f128): Likewise.
22243 (min_of_type): Pass () as last argument of __MATH_TG.
22244
46453c3c
JM
22245 * stdlib/tst-strtod-round-skeleton.c
22246 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
22247 headers.
22248
01e659e7
JM
22249 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
22250 for combinations of long double with _Float64 and _Float64x.
22251
5c60afdd
JM
22252 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
22253 (__DECL_SIMD_cosf32): Likewise.
22254 (__DECL_SIMD_cosf64): Likewise.
22255 (__DECL_SIMD_cosf32x): Likewise.
22256 (__DECL_SIMD_cosf64x): Likewise.
22257 (__DECL_SIMD_cosf128x): Likewise.
22258 (__DECL_SIMD_sinf16): Likewise.
22259 (__DECL_SIMD_sinf32): Likewise.
22260 (__DECL_SIMD_sinf64): Likewise.
22261 (__DECL_SIMD_sinf32x): Likewise.
22262 (__DECL_SIMD_sinf64x): Likewise.
22263 (__DECL_SIMD_sinf128x): Likewise.
22264 (__DECL_SIMD_sincosf16): Likewise.
22265 (__DECL_SIMD_sincosf32): Likewise.
22266 (__DECL_SIMD_sincosf64): Likewise.
22267 (__DECL_SIMD_sincosf32x): Likewise.
22268 (__DECL_SIMD_sincosf64x): Likewise.
22269 (__DECL_SIMD_sincosf128x): Likewise.
22270 (__DECL_SIMD_logf16): Likewise.
22271 (__DECL_SIMD_logf32): Likewise.
22272 (__DECL_SIMD_logf64): Likewise.
22273 (__DECL_SIMD_logf32x): Likewise.
22274 (__DECL_SIMD_logf64x): Likewise.
22275 (__DECL_SIMD_logf128x): Likewise.
22276 (__DECL_SIMD_expf16): Likewise.
22277 (__DECL_SIMD_expf32): Likewise.
22278 (__DECL_SIMD_expf64): Likewise.
22279 (__DECL_SIMD_expf32x): Likewise.
22280 (__DECL_SIMD_expf64x): Likewise.
22281 (__DECL_SIMD_expf128x): Likewise.
22282 (__DECL_SIMD_powf16): Likewise.
22283 (__DECL_SIMD_powf32): Likewise.
22284 (__DECL_SIMD_powf64): Likewise.
22285 (__DECL_SIMD_powf32x): Likewise.
22286 (__DECL_SIMD_powf64x): Likewise.
22287 (__DECL_SIMD_powf128x): Likewise.
22288
9d4b0117
JM
22289 * stdlib/Versions (libc): Move entries for wcstof128 and
22290 wcstof128_l to ....
22291 * wcsmbs/Versions (libc): ... here.
22292 Include <float128-abi.h>.
22293
7911dd47
FW
222942017-11-24 Florian Weimer <fweimer@redhat.com>
22295
22296 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22297 bits/mman-shared.h.
22298 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
22299 <bits/mman-shared.h>.
22300 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
22301 to ...
22302 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
22303 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
22304 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
22305 <bits/mman-shared.h>.
22306
c45d78aa
AZ
223072017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22308
22309 [BZ #22457]
22310 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
22311 posix_memalign/free.
22312 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
22313
3ffc4cc1
MF
223142017-11-22 Mike FABIAN <mfabian@redhat.com>
22315
22316 [BZ #22469]
22317 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
22318 and implement the collation rules for pl from CLDR on top of that.
22319 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
22320 of locales to be built for testing.
22321 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
22322
3a327316
JM
223232017-11-23 Joseph Myers <joseph@codesourcery.com>
22324
22325 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
22326 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
22327 libm_alias_ldouble_other.
22328 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
22329 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
22330 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
22331 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
22332 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
22333 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
22334 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
22335 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
22336 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
22337 libm_alias_ldouble_r.
22338 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
22339 libm_alias_ldouble_other.
22340 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
22341 (log10l): Likewise.
22342 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
22343 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
22344 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
22345 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
22346 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
22347 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
22348 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
22349 (atan2l): Likewise.
22350 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
22351 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
22352 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
22353 libm_alias_ldouble.
22354 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
22355 (cosl): Likewise.
22356 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
22357 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
22358 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
22359 (expl): Likewise.
22360 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
22361 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
22362 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
22363 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
22364 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
22365 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
22366 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
22367 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
22368 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
22369 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
22370 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
22371 libm_alias_ldouble.
22372 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
22373 libm_alias_ldouble_other.
22374 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
22375 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
22376 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
22377 libm_alias_ldouble.
22378 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
22379 libm_alias_ldouble_other.
22380 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
22381 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
22382 * sysdeps/ia64/fpu/w_lgammal_main.c
22383 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
22384 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
22385
0a947e06
FW
223862017-11-23 Florian Weimer <fweimer@redhat.com>
22387
22388 * malloc/malloc.c (tcache_thread_shutdown): Rename from
22389 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
22390 alike. Remove freeres marker.
22391 * malloc/arena.c (arena_thread_freeres): Call
22392 tcache_thread_shutdown.
22393
67f36c79
FW
223942017-11-23 Florian Weimer <fweimer@redhat.com>
22395
22396 [BZ #22459]
22397 Export nscd hash function as __nss_hash.
22398 * include/nss.h (__nss_hash): Declare.
22399 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22400 symbol.
22401 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22402 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22403 of __nscd_hash.
22404 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22405 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
22406 * nss/Makefiles (routines): Add nss_hash.
22407 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
22408 * nss/nss_hash.c: Rename from nis/nis_hash.c.
22409 (__nss_hash): Rename from __nis_hash. Define hidden alias.
22410 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
22411
cccb6d4e
FW
224122017-11-23 Florian Weimer <fweimer@redhat.com>
22413
22414 [BZ #22478]
22415 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
22416 Return error code, not -1.
22417 * signal/tst-sigwait-eintr.c: New file.
22418 * signal/Makefile (tests): Add tst-sigwait-eintr.
22419
59d2cbb1
FW
224202017-11-23 Florian Weimer <fweimer@redhat.com>
22421
22422 Linux: Add memfd_create system call wrapper
22423 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
22424 tst-memfd_create.
22425 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
22426 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
22427 [__USE_GNU] (memfd_create): Declare.
22428 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
22429 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
22430 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22431 * sysdeps/unix/sysv/linux/**.abilist: Update.
22432 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22433
a90d1ac2
JM
224342017-11-22 Joseph Myers <joseph@codesourcery.com>
22435
0a9d1d62
JM
22436 * localedata/gen-locale.sh: Fix typo in variable name.
22437
754034c4
JM
22438 * resolv/res_debug.c (p_secstodate): Condition definition on
22439 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22440 directly as __p_secstodate, and as a compat symbol. Do not use
22441 libresolv_hidden_def.
22442 * resolv/resolv.h (p_secstodate): Remove macro and function
22443 declaration.
22444 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22445 using p_secstodate.
22446 * include/resolv.h (__p_secstodate): Do not use
22447 libresolv_hidden_proto.
22448 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22449 (tests-internal): ... here.
22450 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22451 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22452 and declare and use __p_secstodate and use compat_symbol_reference
22453 in that case.
22454 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22455 implementation returning 77.
22456
f120cda6
JM
22457 [BZ #22463]
22458 * resolv/res_debug.c: Include <libc-diag.h>.
22459 (p_secstodate): Assert time_t at least as wide as u_long. On
22460 overflow, use integer seconds since the epoch as output, or use
22461 "<overflow>" as output and set errno to EOVERFLOW if integer
22462 seconds since the epoch would be 14 or more characters.
22463 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22464 for sprintf call.
22465 * resolv/tst-p_secstodate.c: New file.
22466 * resolv/Makefile (tests): Add tst-p_secstodate.
22467 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22468
a90d1ac2
JM
22469 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22470 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22471 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22472
0285e6bd
PE
224732017-11-22 Paul Eggert <eggert@cs.ucla.edu>
22474
22475 * posix/regcomp.c (init_word_char): Add comments.
22476
4bae6150
JM
224772017-11-22 Joseph Myers <joseph@codesourcery.com>
22478
22479 [BZ #22447]
22480 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
22481 strlen to compute length of ut_user and set trailing NUL byte of
22482 result explicitly.
22483
4b7af5fc
MF
224842017-11-21 Mike FABIAN <mfabian@redhat.com>
22485
22486 [BZ #15537]
22487 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
22488 using “copy "iso14651_t1"” and then implementing the
22489 collation rules for lv from CLDR on top of that.
22490 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
22491 of locales to be built for testing.
22492 * lv_LV.UTF-8.in: New file with test data to test the Latvian
22493 sorting.
22494
922bb78c
JM
224952017-11-21 Joseph Myers <joseph@codesourcery.com>
22496
22497 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22498 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
22499 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
22500 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
22501 [__USE_MISC] (MADV_HWPOISON): New macro.
22502 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
22503
a3aaa598
AZ
225042017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22505
22506 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
22507 -Wmissing-braces on GCC 4.9.
22508
8beba15d
SL
225092017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22510
22511 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
22512 * sysdeps/s390/s390-32/start.S (_start): Likewise
22513 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
22514 (thread_start): Likewise.
22515 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
22516 (thread_start): Likewise.
22517 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
22518 (__makecontext_ret): Likewise.
22519 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
22520 (__makecontext_ret): Likewise.
22521
80eb52e3
SL
225222017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22523
22524 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
22525 __wcschrnul): Remove attribute_hidden.
22526
567d8c1f
PE
225272017-11-20 Paul Eggert <eggert@cs.ucla.edu>
22528
22529 regex: don't assume uint64_t or uint32_t
22530 This avoids -Werror=overflow errors for 32-bit systems in
22531 the 64-bit case. Problem reported by Joseph Myers in:
22532 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
22533 Also, when this code is used in Gnulib it ports to platforms
22534 that lack uint64_t and uint32_t. The C standard doesn't guarantee
22535 them, and on some 32-bit compilers there is no uint64_t.
22536 Problem reported by Gianluigi Tiesi in:
22537 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
22538 * posix/regcomp.c (init_word_char): Don't assume that the types
22539 uint64_t and uint32_t exist. Adapted from Gnulib patch
22540 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
22541 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
22542
4d7632ff
SP
225432017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
22544
5a67c4fa
SP
22545 * sysdeps/aarch64/memset-reg.h: New file.
22546 * sysdeps/aarch64/memset.S: Use it.
22547 (__memset): Rename to MEMSET macro.
22548 [ZVA_MACRO]: Use zva_macro.
22549 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
22550 Add memset_generic and memset_falkor.
22551 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22552 (__libc_ifunc_impl_list): Add memset ifuncs.
22553 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
22554 local variable zva_size.
22555 * sysdeps/aarch64/multiarch/memset.c: New file.
22556 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
22557 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
22558 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
22559 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
22560 (DCZID_DZP_MASK): New macro.
22561 (DCZID_BS_MASK): Likewise.
22562 (init_cpu_features): Read and set zva_size.
22563 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
22564 (struct cpu_features): New member zva_size.
22565
eb332f9f
SP
22566 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
22567 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
22568 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22569
4d7632ff
SP
22570 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22571 backwards. Fix timing computation.
22572 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22573 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22574 on memset by N at a time. Fix timing computation.
22575
a465b89e
FW
225762017-11-20 Florian Weimer <fweimer@redhat.com>
22577
22578 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22579 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22580
0f74bbf5
FW
225812017-11-19 Florian Weimer <fweimer@redhat.com>
22582
22583 manual: Document mprotect
22584 * manual/memory.texi (Memory Protection): New section.
22585 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22586 documentation of PROT_* flags and reference the Memory Protection
22587 section instead.
22588
f6e965ee
FW
225892017-11-19 Florian Weimer <fweimer@redhat.com>
22590
22591 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22592 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22593 (Scatter-Gather): ... to here. Remove misleading comment.
22594
363e4519 225952017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 22596
5f9d1949
CB
22597 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22598 style.
22599
ea69a5c8
CB
22600 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22601 when /proc/<pid>/setgroups does not exist.
22602
8db7f48c
FW
226032017-11-18 Florian Weimer <fweimer@redhat.com>
22604
22605 * sysdeps/unix/sysv/linux/tst-ttyname.c
22606 (become_root_in_mount_ns): Remove.
22607 (do_in_chroot_1): Call support_enter_mount_namespace.
22608 (do_in_chroot_2): Likewise.
22609 (do_test): Call support_become_root early.
22610
273a0c49
FW
226112017-11-18 Florian Weimer <fweimer@redhat.com>
22612
22613 * support/namespace.h (support_enter_mount_namespace): Declare.
22614 * support/support_enter_mount_namespace.c: New file.
22615 * support/Makefile (libsupport-routines): Add
22616 support_enter_mount_namespace.
22617
8adfb0ee
FW
226182017-11-18 Florian Weimer <fweimer@redhat.com>
22619
22620 * support/temp_file.c (support_create_temp_directory): Use
22621 test_dir and do not rely on the presence of the XXXXXX suffix.
22622 * support/temp_file.h (support_create_temp_directory): Update
22623 comment.
22624 * support/tst-xreadlink.c (do_test): Adjust.
22625 * support/support_chroot.c (support_chroot_create): Likewise.
22626
df0c40ee
TMQMF
226272017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22628
22629 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22630 macro.
22631 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22632 htm-no-suspend.
22633
015c6dc2
JM
226342017-11-17 Joseph Myers <joseph@codesourcery.com>
22635
f58e5f48
JM
22636 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22637 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22638 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22639 (ceill): Define using libm_alias_ldouble.
22640 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22641 <libm-alias-ldouble.h>.
22642 (copysignl): Define using libm_alias_ldouble.
22643 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22644 (fabsl): Define using libm_alias_ldouble.
22645 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22646 (floorl): Define using libm_alias_ldouble.
22647 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22648 (fmaxl): Define using libm_alias_ldouble.
22649 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22650 (fminl): Define using libm_alias_ldouble.
22651 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22652 (llrintl): Define using libm_alias_ldouble.
22653 (lrintl): Likewise.
22654 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22655 <libm-alias-ldouble.h>.
22656 (nearbyintl): Define using libm_alias_ldouble.
22657 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22658 (truncl): Define using libm_alias_ldouble.
22659 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22660 <libm-alias-ldouble.h>.
22661 (lrintl): Define using libm_alias_ldouble.
22662
2ce30701
JM
22663 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22664 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22665 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22666 (asinhl): Define using libm_alias_ldouble.
22667 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22668 (atanl): Define using libm_alias_ldouble.
22669 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22670 (cbrtl): Define using libm_alias_ldouble.
22671 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22672 (ceill): Define using libm_alias_ldouble.
22673 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22674 (copysignl): Define using libm_alias_ldouble.
22675 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22676 (fabsl): Define using libm_alias_ldouble.
22677 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22678 (floorl): Define using libm_alias_ldouble.
22679 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22680 (fmaxl): Define using libm_alias_ldouble.
22681 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22682 (fminl): Define using libm_alias_ldouble.
22683 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
22684 (frexpl): Define using libm_alias_ldouble.
22685 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22686 (llrintl): Define using libm_alias_ldouble.
22687 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
22688 (logbl): Define using libm_alias_ldouble.
22689 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
22690 (lrintl): Define using libm_alias_ldouble.
22691 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
22692 (nearbyintl): Define using libm_alias_ldouble.
22693 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
22694 (nextafterl): Define using libm_alias_ldouble.
22695 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
22696 (remquol): Define using libm_alias_ldouble.
22697 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
22698 (rintl): Define using libm_alias_ldouble.
22699 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22700 (truncl): Define using libm_alias_ldouble.
22701 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22702 (fmaxl): Define using libm_alias_ldouble.
22703 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22704 (fminl): Define using libm_alias_ldouble.
22705
015c6dc2
JM
22706 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
22707 to C syntax instead of availability and properties of types.
22708 * bits/floatn.h [!__ASSEMBLER]: Likewise.
22709 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
22710 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
22711 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
22712 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
22713 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
22714
ce003e5d
FW
227152017-11-17 Florian Weimer <fweimer@redhat.com>
22716
22717 support_become_root: Enable file creation in namespaces.
22718 * support/support_become_root.c (setup_mapping): New function.
22719 (support_become_root): Call it.
22720
e7df6c5c
JM
227212017-11-17 Joseph Myers <joseph@codesourcery.com>
22722
22723 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22724 macro.
22725
58a813bf
AZ
227262017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22727
22728 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22729 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22730
f97773d1
JM
227312017-11-16 Joseph Myers <joseph@codesourcery.com>
22732
6a6aa1f3
JM
22733 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22734
f97773d1
JM
22735 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22736 version to 4.14.
22737
a306c790
SP
227382017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22739
7b0fb870
SP
22740 * INSTALL: Fix botched up regeneration.
22741
22742 * NEWS: Update sourceare link to https.
a306c790
SP
22743 * configure.ac: Likewise.
22744 * crypt/md5test-giant.c: Likewise.
22745 * dlfcn/bug-atexit1.c: Likewise.
22746 * dlfcn/bug-atexit2.c: Likewise.
22747 * localedata/README: Likewise.
22748 * malloc/tst-mallocfork.c: Likewise.
22749 * manual/install.texi: Likewise.
22750 * nptl/tst-pthread-getattr.c: Likewise.
22751 * stdio-common/tst-fgets.c: Likewise.
22752 * stdio-common/tst-fwrite.c: Likewise.
22753 * sunrpc/Makefile: Likewise.
22754 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22755 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
22756 * configure: Regenerate.
22757 * INSTALL: Regenerate.
a306c790 22758
7532837d
MS
227592017-11-15 Martin Sebor <msebor@redhat.com>
22760
22761 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22762 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22763 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22764
495a56fd
LS
227652017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22766
d9611e30
LS
22767 [BZ #22145]
22768 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22769 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22770
a09dfc19
LS
22771 [BZ #22145]
22772 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22773 Defer is_pty check until end of the function.
22774 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22775
2fbce9c2
LS
22776 [BZ #22145]
22777 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22778 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22779 (ttyname): Likewise.
22780 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22781 (__ttyname_r): Likewise.
22782
d10d6cab
LS
22783 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22784 int to bool.
22785
9b5a8750
LS
22786 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22787
495a56fd
LS
22788 * manual/terminal.texi (Is It a Terminal):
22789 Mention ENODEV for ttyname and ttyname_r.
22790
fa680dc6
JM
227912017-11-15 Joseph Myers <joseph@codesourcery.com>
22792
78cde19f
JM
22793 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22794 constant and macro.
22795
fa680dc6
JM
22796 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22797 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22798 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22799 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22800 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22801 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22802
ad4f43a2
AZ
228032017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22804
1ba1d8a4
AZ
22805 * signal/sigrelse.c (sigrelse): Optimize implementation.
22806
ad4f43a2
AZ
22807 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22808 (__sigpause): Rely on __sigsuspend to implement single thread
22809 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22810
d0212d42
JM
228112017-11-15 Joseph Myers <joseph@codesourcery.com>
22812
22813 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22814 kernel version to 4.14.
22815
2180fee1
SE
228162017-11-15 Steve Ellcey <sellcey@cavium.com>
22817
22818 [BZ #22442]
22819 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22820 Check if ifname is too long.
22821
cad7ca39
LS
228222017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22823
22824 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22825
58c9f659
MF
228262017-11-15 Mike FABIAN <mfabian@redhat.com>
22827
22828 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22829 was accidentally lost.
22830
0fa87c01
MF
228312017-11-15 Mike FABIAN <mfabian@redhat.com>
22832
22833 * localedata/locales/az_IR: Add standard copyright header.
22834
34eb4157
FW
228352017-11-15 Florian Weimer <fweimer@redhat.com>
22836
22837 [BZ #22439]
22838 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22839 not just the top one. Output a new "subheaps" statistic.
22840
7a9368a1
FW
228412017-11-15 Florian Weimer <fweimer@redhat.com>
22842
22843 [BZ #22408]
22844 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22845 under the per-arena lock.
22846 * malloc/Makefile (tests): Add tst-malloc_info.
22847 (tst-malloc_info): Link with libpthread.
22848 * malloc/tst-malloc_info.c: New file.
22849
be3a79a3
JM
228502017-11-15 Joseph Myers <joseph@codesourcery.com>
22851
22852 [BZ #21660]
22853 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22854 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22855 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22856 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22857 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22858 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22859 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22860 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22861 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22862 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22863 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22864 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22865 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22866 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22867 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22868 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22869 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22870 (__floating_type): Likewise.
22871 (__real_integer_type): Likewise.
22872 (__complex_integer_type): Likewise.
22873 (__expr_is_real): Likewise.
22874 (__tgmath_real_type_sub): Likewise.
22875 (__tgmath_real_type): Likewise.
22876 (__tgmath_complex_type_sub): Likewise.
22877 (__tgmath_complex_type): Likewise.
22878 (__TGMATH_F128): Likewise.
22879 (__TGMATH_CF128): Likewise.
22880 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22881 new macros.
22882 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22883 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22884 Likewise.
22885 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22886 Likewise.
22887 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22888 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22889 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22890 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22891 Likewise.
22892 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22893 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22894 Likewise.
22895 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22896 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22897 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22898 Likewise.
22899 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22900 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22901 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22902 (cimag): Likewise.
22903 (creal): Likewise.
22904
ec72135e
JM
229052017-11-14 Joseph Myers <joseph@codesourcery.com>
22906
2e64ec9c
JM
22907 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22908 for stpncpy calls for GCC 8.
22909 (test_strncat): Disable -Wstringop-truncation warning for strncat
22910 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22911 strncat call for GCC 7.
22912 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22913 calls for GCC 8.
22914 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22915 trailing NUL.
22916
ec72135e
JM
22917 * string/bug-strncat1.c: Include <libc-diag.h>.
22918 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22919
363e4519 229202017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
22921
22922 [BZ #22387]
22923 * localedata/locales/aa_DJ: Improved readibility by replacing
22924 <Uxxxx> sequences in the ASCII printable range by their ASCII
22925 character equivalents.
22926 * localedata/locales/aa_ER: Likewise.
22927 * localedata/locales/aa_ER@saaho: Likewise.
22928 * localedata/locales/aa_ET: Likewise.
22929 * localedata/locales/af_ZA: Likewise.
22930 * localedata/locales/agr_PE: Likewise.
22931 * localedata/locales/ak_GH: Likewise.
22932 * localedata/locales/am_ET: Likewise.
22933 * localedata/locales/anp_IN: Likewise.
22934 * localedata/locales/ar_AE: Likewise.
22935 * localedata/locales/ar_BH: Likewise.
22936 * localedata/locales/ar_DZ: Likewise.
22937 * localedata/locales/ar_EG: Likewise.
22938 * localedata/locales/ar_IN: Likewise.
22939 * localedata/locales/ar_IQ: Likewise.
22940 * localedata/locales/ar_JO: Likewise.
22941 * localedata/locales/ar_KW: Likewise.
22942 * localedata/locales/ar_LB: Likewise.
22943 * localedata/locales/ar_LY: Likewise.
22944 * localedata/locales/ar_MA: Likewise.
22945 * localedata/locales/ar_OM: Likewise.
22946 * localedata/locales/ar_QA: Likewise.
22947 * localedata/locales/ar_SA: Likewise.
22948 * localedata/locales/ar_SD: Likewise.
22949 * localedata/locales/ar_SS: Likewise.
22950 * localedata/locales/ar_SY: Likewise.
22951 * localedata/locales/ar_TN: Likewise.
22952 * localedata/locales/ar_YE: Likewise.
22953 * localedata/locales/as_IN: Likewise.
22954 * localedata/locales/ast_ES: Likewise.
22955 * localedata/locales/ayc_PE: Likewise.
22956 * localedata/locales/az_AZ: Likewise.
22957 * localedata/locales/az_IR: Likewise.
22958 * localedata/locales/be_BY: Likewise.
22959 * localedata/locales/be_BY@latin: Likewise.
22960 * localedata/locales/bem_ZM: Likewise.
22961 * localedata/locales/ber_DZ: Likewise.
22962 * localedata/locales/ber_MA: Likewise.
22963 * localedata/locales/bg_BG: Likewise.
22964 * localedata/locales/bhb_IN: Likewise.
22965 * localedata/locales/bho_IN: Likewise.
22966 * localedata/locales/bi_VU: Likewise.
22967 * localedata/locales/bn_BD: Likewise.
22968 * localedata/locales/bn_IN: Likewise.
22969 * localedata/locales/bo_CN: Likewise.
22970 * localedata/locales/bo_IN: Likewise.
22971 * localedata/locales/br_FR: Likewise.
22972 * localedata/locales/brx_IN: Likewise.
22973 * localedata/locales/bs_BA: Likewise.
22974 * localedata/locales/byn_ER: Likewise.
22975 * localedata/locales/ca_AD: Likewise.
22976 * localedata/locales/ca_ES: Likewise.
22977 * localedata/locales/ca_FR: Likewise.
22978 * localedata/locales/ca_IT: Likewise.
22979 * localedata/locales/ce_RU: Likewise.
22980 * localedata/locales/chr_US: Likewise.
22981 * localedata/locales/cmn_TW: Likewise.
22982 * localedata/locales/crh_UA: Likewise.
22983 * localedata/locales/cs_CZ: Likewise.
22984 * localedata/locales/csb_PL: Likewise.
22985 * localedata/locales/cv_RU: Likewise.
22986 * localedata/locales/cy_GB: Likewise.
22987 * localedata/locales/da_DK: Likewise.
22988 * localedata/locales/de_AT: Likewise.
22989 * localedata/locales/de_BE: Likewise.
22990 * localedata/locales/de_CH: Likewise.
22991 * localedata/locales/de_DE: Likewise.
22992 * localedata/locales/de_IT: Likewise.
22993 * localedata/locales/de_LI: Likewise.
22994 * localedata/locales/de_LU: Likewise.
22995 * localedata/locales/doi_IN: Likewise.
22996 * localedata/locales/dv_MV: Likewise.
22997 * localedata/locales/dz_BT: Likewise.
22998 * localedata/locales/el_CY: Likewise.
22999 * localedata/locales/el_GR: Likewise.
23000 * localedata/locales/en_AG: Likewise.
23001 * localedata/locales/en_AU: Likewise.
23002 * localedata/locales/en_BW: Likewise.
23003 * localedata/locales/en_CA: Likewise.
23004 * localedata/locales/en_DK: Likewise.
23005 * localedata/locales/en_GB: Likewise.
23006 * localedata/locales/en_HK: Likewise.
23007 * localedata/locales/en_IE: Likewise.
23008 * localedata/locales/en_IL: Likewise.
23009 * localedata/locales/en_IN: Likewise.
23010 * localedata/locales/en_NG: Likewise.
23011 * localedata/locales/en_NZ: Likewise.
23012 * localedata/locales/en_PH: Likewise.
23013 * localedata/locales/en_SG: Likewise.
23014 * localedata/locales/en_US: Likewise.
23015 * localedata/locales/en_ZA: Likewise.
23016 * localedata/locales/en_ZM: Likewise.
23017 * localedata/locales/en_ZW: Likewise.
23018 * localedata/locales/eo: Likewise.
23019 * localedata/locales/es_AR: Likewise.
23020 * localedata/locales/es_BO: Likewise.
23021 * localedata/locales/es_CL: Likewise.
23022 * localedata/locales/es_CO: Likewise.
23023 * localedata/locales/es_CR: Likewise.
23024 * localedata/locales/es_CU: Likewise.
23025 * localedata/locales/es_DO: Likewise.
23026 * localedata/locales/es_EC: Likewise.
23027 * localedata/locales/es_ES: Likewise.
23028 * localedata/locales/es_GT: Likewise.
23029 * localedata/locales/es_HN: Likewise.
23030 * localedata/locales/es_MX: Likewise.
23031 * localedata/locales/es_NI: Likewise.
23032 * localedata/locales/es_PA: Likewise.
23033 * localedata/locales/es_PE: Likewise.
23034 * localedata/locales/es_PR: Likewise.
23035 * localedata/locales/es_PY: Likewise.
23036 * localedata/locales/es_SV: Likewise.
23037 * localedata/locales/es_US: Likewise.
23038 * localedata/locales/es_UY: Likewise.
23039 * localedata/locales/es_VE: Likewise.
23040 * localedata/locales/et_EE: Likewise.
23041 * localedata/locales/eu_ES: Likewise.
23042 * localedata/locales/eu_ES@euro: Likewise.
23043 * localedata/locales/fa_IR: Likewise.
23044 * localedata/locales/ff_SN: Likewise.
23045 * localedata/locales/fi_FI: Likewise.
23046 * localedata/locales/fil_PH: Likewise.
23047 * localedata/locales/fo_FO: Likewise.
23048 * localedata/locales/fr_BE: Likewise.
23049 * localedata/locales/fr_CA: Likewise.
23050 * localedata/locales/fr_CH: Likewise.
23051 * localedata/locales/fr_FR: Likewise.
23052 * localedata/locales/fr_LU: Likewise.
23053 * localedata/locales/fur_IT: Likewise.
23054 * localedata/locales/fy_DE: Likewise.
23055 * localedata/locales/fy_NL: Likewise.
23056 * localedata/locales/ga_IE: Likewise.
23057 * localedata/locales/gd_GB: Likewise.
23058 * localedata/locales/gez_ER: Likewise.
23059 * localedata/locales/gez_ET: Likewise.
23060 * localedata/locales/gl_ES: Likewise.
23061 * localedata/locales/gu_IN: Likewise.
23062 * localedata/locales/gv_GB: Likewise.
23063 * localedata/locales/ha_NG: Likewise.
23064 * localedata/locales/hak_TW: Likewise.
23065 * localedata/locales/he_IL: Likewise.
23066 * localedata/locales/hi_IN: Likewise.
23067 * localedata/locales/hif_FJ: Likewise.
23068 * localedata/locales/hne_IN: Likewise.
23069 * localedata/locales/hr_HR: Likewise.
23070 * localedata/locales/hsb_DE: Likewise.
23071 * localedata/locales/ht_HT: Likewise.
23072 * localedata/locales/hu_HU: Likewise.
23073 * localedata/locales/hy_AM: Likewise.
23074 * localedata/locales/i18n: Likewise.
23075 * localedata/locales/ia_FR: Likewise.
23076 * localedata/locales/id_ID: Likewise.
23077 * localedata/locales/ig_NG: Likewise.
23078 * localedata/locales/ik_CA: Likewise.
23079 * localedata/locales/is_IS: Likewise.
23080 * localedata/locales/it_CH: Likewise.
23081 * localedata/locales/it_IT: Likewise.
23082 * localedata/locales/iu_CA: Likewise.
23083 * localedata/locales/ja_JP: Likewise.
23084 * localedata/locales/ka_GE: Likewise.
23085 * localedata/locales/kk_KZ: Likewise.
23086 * localedata/locales/kl_GL: Likewise.
23087 * localedata/locales/kn_IN: Likewise.
23088 * localedata/locales/ko_KR: Likewise.
23089 * localedata/locales/kok_IN: Likewise.
23090 * localedata/locales/ks_IN: Likewise.
23091 * localedata/locales/ks_IN@devanagari: Likewise.
23092 * localedata/locales/ku_TR: Likewise.
23093 * localedata/locales/kw_GB: Likewise.
23094 * localedata/locales/ky_KG: Likewise.
23095 * localedata/locales/lb_LU: Likewise.
23096 * localedata/locales/lg_UG: Likewise.
23097 * localedata/locales/li_BE: Likewise.
23098 * localedata/locales/li_NL: Likewise.
23099 * localedata/locales/lij_IT: Likewise.
23100 * localedata/locales/ln_CD: Likewise.
23101 * localedata/locales/lo_LA: Likewise.
23102 * localedata/locales/lt_LT: Likewise.
23103 * localedata/locales/lv_LV: Likewise.
23104 * localedata/locales/lzh_TW: Likewise.
23105 * localedata/locales/mag_IN: Likewise.
23106 * localedata/locales/mai_IN: Likewise.
23107 * localedata/locales/mg_MG: Likewise.
23108 * localedata/locales/mhr_RU: Likewise.
23109 * localedata/locales/mi_NZ: Likewise.
23110 * localedata/locales/mk_MK: Likewise.
23111 * localedata/locales/ml_IN: Likewise.
23112 * localedata/locales/mn_MN: Likewise.
23113 * localedata/locales/mni_IN: Likewise.
23114 * localedata/locales/mr_IN: Likewise.
23115 * localedata/locales/ms_MY: Likewise.
23116 * localedata/locales/mt_MT: Likewise.
23117 * localedata/locales/my_MM: Likewise.
23118 * localedata/locales/nan_TW: Likewise.
23119 * localedata/locales/nan_TW@latin: Likewise.
23120 * localedata/locales/nb_NO: Likewise.
23121 * localedata/locales/nds_DE: Likewise.
23122 * localedata/locales/nds_NL: Likewise.
23123 * localedata/locales/ne_NP: Likewise.
23124 * localedata/locales/nhn_MX: Likewise.
23125 * localedata/locales/niu_NU: Likewise.
23126 * localedata/locales/niu_NZ: Likewise.
23127 * localedata/locales/nl_AW: Likewise.
23128 * localedata/locales/nl_BE: Likewise.
23129 * localedata/locales/nl_NL: Likewise.
23130 * localedata/locales/nn_NO: Likewise.
23131 * localedata/locales/nr_ZA: Likewise.
23132 * localedata/locales/nso_ZA: Likewise.
23133 * localedata/locales/oc_FR: Likewise.
23134 * localedata/locales/om_ET: Likewise.
23135 * localedata/locales/om_KE: Likewise.
23136 * localedata/locales/or_IN: Likewise.
23137 * localedata/locales/os_RU: Likewise.
23138 * localedata/locales/pa_IN: Likewise.
23139 * localedata/locales/pa_PK: Likewise.
23140 * localedata/locales/pap_AW: Likewise.
23141 * localedata/locales/pap_CW: Likewise.
23142 * localedata/locales/pl_PL: Likewise.
23143 * localedata/locales/ps_AF: Likewise.
23144 * localedata/locales/pt_BR: Likewise.
23145 * localedata/locales/pt_PT: Likewise.
23146 * localedata/locales/quz_PE: Likewise.
23147 * localedata/locales/raj_IN: Likewise.
23148 * localedata/locales/ro_RO: Likewise.
23149 * localedata/locales/ru_RU: Likewise.
23150 * localedata/locales/ru_UA: Likewise.
23151 * localedata/locales/rw_RW: Likewise.
23152 * localedata/locales/sa_IN: Likewise.
23153 * localedata/locales/sat_IN: Likewise.
23154 * localedata/locales/sc_IT: Likewise.
23155 * localedata/locales/sd_IN: Likewise.
23156 * localedata/locales/sd_IN@devanagari: Likewise.
23157 * localedata/locales/se_NO: Likewise.
23158 * localedata/locales/sgs_LT: Likewise.
23159 * localedata/locales/shs_CA: Likewise.
23160 * localedata/locales/si_LK: Likewise.
23161 * localedata/locales/sid_ET: Likewise.
23162 * localedata/locales/sk_SK: Likewise.
23163 * localedata/locales/sl_SI: Likewise.
23164 * localedata/locales/sm_WS: Likewise.
23165 * localedata/locales/so_DJ: Likewise.
23166 * localedata/locales/so_ET: Likewise.
23167 * localedata/locales/so_KE: Likewise.
23168 * localedata/locales/so_SO: Likewise.
23169 * localedata/locales/sq_AL: Likewise.
23170 * localedata/locales/sq_MK: Likewise.
23171 * localedata/locales/sr_ME: Likewise.
23172 * localedata/locales/sr_RS: Likewise.
23173 * localedata/locales/sr_RS@latin: Likewise.
23174 * localedata/locales/ss_ZA: Likewise.
23175 * localedata/locales/st_ZA: Likewise.
23176 * localedata/locales/sv_FI: Likewise.
23177 * localedata/locales/sv_SE: Likewise.
23178 * localedata/locales/sw_KE: Likewise.
23179 * localedata/locales/sw_TZ: Likewise.
23180 * localedata/locales/szl_PL: Likewise.
23181 * localedata/locales/ta_IN: Likewise.
23182 * localedata/locales/ta_LK: Likewise.
23183 * localedata/locales/tcy_IN: Likewise.
23184 * localedata/locales/te_IN: Likewise.
23185 * localedata/locales/tg_TJ: Likewise.
23186 * localedata/locales/th_TH: Likewise.
23187 * localedata/locales/the_NP: Likewise.
23188 * localedata/locales/ti_ER: Likewise.
23189 * localedata/locales/ti_ET: Likewise.
23190 * localedata/locales/tig_ER: Likewise.
23191 * localedata/locales/tk_TM: Likewise.
23192 * localedata/locales/tl_PH: Likewise.
23193 * localedata/locales/tn_ZA: Likewise.
23194 * localedata/locales/to_TO: Likewise.
23195 * localedata/locales/tpi_PG: Likewise.
23196 * localedata/locales/tr_CY: Likewise.
23197 * localedata/locales/tr_TR: Likewise.
23198 * localedata/locales/ts_ZA: Likewise.
23199 * localedata/locales/tt_RU: Likewise.
23200 * localedata/locales/tt_RU@iqtelif: Likewise.
23201 * localedata/locales/ug_CN: Likewise.
23202 * localedata/locales/uk_UA: Likewise.
23203 * localedata/locales/unm_US: Likewise.
23204 * localedata/locales/ur_IN: Likewise.
23205 * localedata/locales/ur_PK: Likewise.
23206 * localedata/locales/uz_UZ: Likewise.
23207 * localedata/locales/uz_UZ@cyrillic: Likewise.
23208 * localedata/locales/ve_ZA: Likewise.
23209 * localedata/locales/vi_VN: Likewise.
23210 * localedata/locales/wa_BE: Likewise.
23211 * localedata/locales/wae_CH: Likewise.
23212 * localedata/locales/wal_ET: Likewise.
23213 * localedata/locales/wo_SN: Likewise.
23214 * localedata/locales/xh_ZA: Likewise.
23215 * localedata/locales/yi_US: Likewise.
23216 * localedata/locales/yo_NG: Likewise.
23217 * localedata/locales/yue_HK: Likewise.
23218 * localedata/locales/yuw_PG: Likewise.
23219 * localedata/locales/zh_CN: Likewise.
23220 * localedata/locales/zh_HK: Likewise.
23221 * localedata/locales/zh_SG: Likewise.
23222 * localedata/locales/zh_TW: Likewise.
23223 * localedata/locales/zu_ZA: Likewise.
23224
cae87e64
FW
232252017-11-13 Florian Weimer <fweimer@redhat.com>
23226
23227 * support/next_to_fault.h, support/next_to_fault.c: New files.
23228 * support/Makefile (libsupport-routines): Add next_to_fault.
23229 * resolv/tst-inet_pton.c (struct next_to_fault)
23230 (next_to_fault_allocate, next_to_fault_free): Remove.
23231 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
23232
4a306ef1
L
232332017-11-13 H.J. Lu <hongjiu.lu@intel.com>
23234
23235 * elf/dl-support.c: Include <dl-procruntime.c>.
23236 * include/link.h: Include <link_map.h>.
23237 * sysdeps/generic/dl-procruntime.c: New file.
23238 * sysdeps/generic/link_map.h: Likewise.
23239 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
23240 the writable ld.so namespace.
23241
e69897bf
PE
232422017-11-12 Paul Eggert <eggert@cs.ucla.edu>
23243
23244 timezone: pacify GCC -Wstringop-truncation
23245 Problem reported by Martin Sebor in:
23246 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
23247 * timezone/zic.c (writezone): Use memcpy, not strncpy.
23248
1ffe1ccb
FW
232492017-11-12 Florian Weimer <fweimer@redhat.com>
23250
eceed671
FW
23251 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
23252 tst-xreadlink.
23253 (tests): Add tst-xreadlink.
1ffe1ccb
FW
23254 * support/support.h (xstrndup): Declare.
23255 * support/xunistd.h (xunlink, xreadlink): Declare.
23256 * support/temp_file.h (support_create_temp_directory): Declare.
23257 * support/temp_file.c (support_create_temp_directory): New function.
23258 * support/support_chroot.c (support_chroot_create): Use it.
23259 * support/xreadlink.c: New file.
23260 * support/xstrndup.c: Likewise.
23261 * support/xunlink.c: Likewise.
23262 * support/tst-xreadlink.c: Likewise.
23263
456b40a9
JDA
232642017-11-11 John David Anglin <danglin@gcc.gnu.org>
23265
23266 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
23267
c0a25aa9
FW
232682017-11-11 Florian Weimer <fweimer@redhat.com>
23269
23270 [BZ #22409]
23271 [BZ #22412]
23272 * resolv/res_comp.c (printable_string, binary_hnok)
23273 (binary_leading_dash): New functions.
23274 (res_hnok): Reimplement using these functions and ns_name_pton.
23275 (res_ownok): Likewise.
23276 (res_mailok): Reimplement using printable_string, ns_name_pton and
23277 binary_hnok.
23278 (res_dnok): Reimplement using printable_string and ns_name_pton.
23279 * resolv/tst-res_hnok.c (tests): Add additional tests.
23280 (LETTERDIGITS, PRINTABLE): Define.
23281 (do_test): Adjust one_char results.
23282
9e0ad304
FW
232832017-11-11 Florian Weimer <fweimer@redhat.com>
23284
23285 [BZ #22413]
23286 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
23287 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
23288
e2a9fca8
FW
232892017-11-11 Florian Weimer <fweimer@redhat.com>
23290
23291 * resolv/tst-ns_name_pton.c: New file.
23292 * resolv/Makefile (tests): Add tst-ns_name_pton.
23293 (tst-ns_name_pton): Link against libresolv.
23294
5c1a6923
FW
232952017-11-11 Florian Weimer <fweimer@redhat.com>
23296
23297 * resolv/tst-res_hnok.c: New file.
23298 * resolv/Makefile (tests): Add tst-res_hnok.
23299 (tst-res_hnok): Link against libresolv.
23300
a19c0a1d
FW
233012017-11-11 Florian Weimer <fweimer@redhat.com>
23302
23303 * resolv/tst-resolv-network.c: Use test framework instead explicit
23304 main function.
23305
8cb5295d
L
233062017-11-09 H.J. Lu <hongjiu.lu@intel.com>
23307
23308 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
23309 <jmp_buf-macros.h>.
23310 [!_ISOMAC] (STR_HELPER): New.
23311 [!_ISOMAC] (STR): Likewise.
23312 [!_ISOMAC] (TEST_SIZE): Likewise.
23313 [!_ISOMAC] (TEST_ALIGN): Likewise.
23314 [!_ISOMAC] (TEST_OFFSET): Likewise.
23315 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
23316 field offsets of jmp_buf as well as sigjmp_buf.
23317 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
23318 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
23319 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
23320 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
23321 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
23322 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
23323 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
23324 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
23325 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
23326 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
23327 Likewise.
23328 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
23329 Likewise.
23330 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
23331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
23332 Likewise.
23333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
23334 Likewise.
23335 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
23336 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
23337 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
23338 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
23339 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
23340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
23341 Likewise.
23342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
23343 Likewise.
23344 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23345 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
23346 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
23347
58c4a161
JM
233482017-11-07 Joseph Myers <joseph@codesourcery.com>
23349
3683b423
JM
23350 * include/float.h
23351 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23352 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
23353 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23354 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
23355 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23356 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
23357 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23358 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
23359 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23360 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
23361 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23362 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
23363 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23364 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
23365 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23366 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
23367 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23368 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
23369 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23370 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
23371 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23372 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
23373 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23374 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
23375 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23376 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
23377 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23378 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
23379 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23380 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
23381 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23382 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
23383 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23384 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
23385 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23386 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
23387 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23388 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
23389 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23390 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
23391 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23392 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
23393 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23394 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
23395 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23396 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
23397 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23398 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
23399 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23400 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23401 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23402 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23403 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23404 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23405 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23406 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
23407 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23408 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
23409 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23410 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
23411 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23412 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
23413 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23414 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
23415 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23416 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
23417 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23418 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
23419 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23420 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
23421 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23422 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
23423 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23424 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
23425 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23426 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
23427 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23428 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
23429 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23430 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23431 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23432 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23433 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23434 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23435 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23436 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23437 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23438 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23439
58c4a161
JM
23440 * stdlib/tst-strtod.h (F16): New macro.
23441 (F32): Likewise.
23442 (F64): Likewise.
23443 (F32X): Likewise.
23444 (F64X): Likewise.
23445 (F128X): Likewise.
23446 (IF_FLOAT16): Likewise.
23447 (IF_FLOAT32): Likewise.
23448 (IF_FLOAT64): Likewise.
23449 (IF_FLOAT32X): Likewise.
23450 (IF_FLOAT64X): Likewise.
23451 (IF_FLOAT128X): Likewise.
23452 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23453 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23454 (STRTOD_TEST_FOREACH): Likewise.
23455 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23456 (CHOOSE_f64): Likewise.
23457 (CHOOSE_f32x): Likewise.
23458 (CHOOSE_f64x): Likewise.
23459
feda96a1
AS
234602017-11-07 Andreas Schwab <schwab@suse.de>
23461
23462 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23463
1bd0cbb8
MF
234642017-11-07 Mike FABIAN <mfabian@redhat.com>
23465
23466 [BZ #22403]
23467 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23468 to be escaped.
23469 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23470 to be escaped.
23471
363e4519 234722017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
23473
23474 [BZ #22403]
23475 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
23476 to be escaped.
23477 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
23478 to be escaped.
23479 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
23480 to be escaped.
23481
dff91cd4
AZ
234822017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23483
06be6368
AZ
23484 [BZ #22298]
23485 * nptl/allocatestack.c (allocate_stack): Check if
23486 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
23487 __PTHREAD_MUTEX_HAVE_PREV is defined.
23488 * nptl/descr.h (pthread): Likewise.
23489 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23490 Likewise.
23491 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23492 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23493 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
23494 * sysdeps/nptl/bits/thread-shared-types.h
23495 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23496 defines.
23497 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
23498 of __WORDSIZE for internal layout.
23499 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
23500 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
23501 instead of __WORDSIZE whether to use an union for __spins and __list
23502 fields.
23503 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
23504 case.
23505 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
23506 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23507 defines.
23508 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
23509 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23510 Likewise.
23511 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
23512 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23513 Likewise.
23514 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
23515 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23516 Likewise.
23517 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
23518 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23519 Likewise.
23520 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
23521 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23522 Likewise.
23523 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
23524 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23525 Likewise.
23526 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
23527 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23528 Likewise.
23529 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
23530 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23531 Likewise.
23532 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
23533 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23534 Likewise.
23535 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
23536 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23537 Likewise.
23538 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
23539 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23540 Likewise.
23541 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
23542 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23543 Likewise.
23544 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
23545 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23546 Likewise.
23547 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
23548 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23549 Likewise.
23550
72b3c6ee
AZ
23551 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
23552 New macros.
23553 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
23554 checks for expected input type size.
23555 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23556 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23557 Likewise.
23558 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23559 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
23560 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23561 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
23562 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23563 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
23564 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
23565 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
23566 superflous runtime assert check.
23567 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
23568 Likewise.
23569 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23570 Likewise.
23571 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23572 Likewise.
23573 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23574 Likewise.
23575 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23576 Likewise.
23577 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23578 Likewise.
23579 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23580 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23581 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23582 Likewise.
23583 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23584 Likewise.
23585 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23586 Likewise.
23587 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23588 Likewise.
23589 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23590 Likewise.
23591 * nptl/pthread_attr_setinheritsched.c
23592 (__pthread_attr_setinheritsched): Likewise.
23593 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23594 Likewise.
23595 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23596 Likewise.
23597 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23598 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23599 __old_pthread_attr_setstack): Likewise.
23600 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23601 Likewise.
23602 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23603 Likewise.
23604 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23605 Likewise.
23606 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23607 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23608 Likewise.
23609 * nptl/tst-typesizes.c: Remove file.
23610
dff91cd4
AZ
23611 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23612 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23613 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23614 checks for internal pthread_mutex_t offsets.
23615 * sysdeps/aarch64/nptl/pthread-offsets.h
23616 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23617 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23618 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23619 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23620 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23621 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23622 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23623 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23624 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23625 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23626 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23627 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23628 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23629 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23630 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23631 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23632 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23633 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23634
b7fc95f8
FW
236352017-11-07 Florian Weimer <fweimer@redhat.com>
23636
23637 * bits/mman-linux.h: Move ...
23638 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23639 comment.
23640 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23641 outdated comment.
23642
6b860364
RS
236432017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23644
23645 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23646 Redefine STRNLEN as __strnlen_power8.
23647
802c1f16
AZ
236482017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23649
d83da3a4
AZ
23650 * signal/sighold.c (sighold): Optimize implementation.
23651
6a4235f1
AZ
23652 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23653 __NR_rt_sigqueueinfo.
23654
8b0e795a
AZ
23655 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23656 __sigtimedwait.
23657 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23658 assume __NR_rt_sigtimedwait.
23659 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23660 and add LIBC_CANCEL_HANDLED for cancellation marking.
23661 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23662
a1a638dd
AZ
23663 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23664 (sysdeps_routines): Add memchr_noneon.
23665 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23666 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23667 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23668 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23669 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23670 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23671 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23672
802c1f16
AZ
23673 * sysdeps/arm/arm-ifunc.h: New file.
23674 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23675 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23676 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23677 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23678 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
23679 (__memcpy_neon): Avoid create hidden alias.
23680 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
23681 (__memcpy_vfp): Likewise.
23682 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23683 (sysdep_routines): Add memcpy_arm.
23684 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
23685
abcb584d
L
236862017-11-06 H.J. Lu <hongjiu.lu@intel.com>
23687
23688 [BZ #22362]
23689 * Makerules (make-link-multidir): New.
23690 * config.make.in (multidir): New.
23691 * configure.ac (libc_cv_multidir): New. AC_SUBST.
23692 * configure: Regenerated.
23693 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
23694 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
23695 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
23696 New target.
23697
4e2dff67
JM
236982017-11-06 Joseph Myers <joseph@codesourcery.com>
23699
23700 [BZ #22402]
23701 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
23702 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
23703
a1c7cd3c
MF
237042017-11-04 Mike FABIAN <mfabian@redhat.com>
23705
23706 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
23707 to be escaped.
23708
b9af29c0
FW
237092017-11-04 Florian Weimer <fweimer@redhat.com>
23710
23711 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
23712
4ca70e1a
JM
237132017-11-03 Joseph Myers <joseph@codesourcery.com>
23714
23715 * math/math.h [__HAVE_DISTINCT_FLOAT16
23716 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23717 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23718 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23719 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23720 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23721 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23722 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23723 (__MATH_TG_F32): New macro.
23724 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23725 (__MATH_TG_F64X): Likewise.
23726 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23727 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23728
ba0e6668
DL
237292017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23730
23731 * po/de.po: Update translations.
23732 * po/ru.po: Likewise.
23733
bc18a6d3
FW
237342017-11-03 Florian Weimer <fweimer@redhat.com>
23735
23736 * manual/filesys.texi (Hard Links): Document linkat.
23737
97255170
JM
237382017-11-03 Joseph Myers <joseph@codesourcery.com>
23739
86ec4865
JM
23740 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23741 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23742 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23743 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23744 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23745 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23746 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23747 the same as _Float128.
23748 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23749 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23750 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23751
97255170
JM
23752 * stdlib/stdlib.h
23753 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23754 Declare.
23755 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23756 Likewise.
23757 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23758 Likewise.
23759 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23760 (strtof32x): Likewise.
23761 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23762 (strtof64x): Likewise.
23763 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23764 (strtof128x): Likewise.
23765 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23766 (strfromf16): Likewise.
23767 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23768 (strfromf32): Likewise.
23769 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23770 (strfromf64): Likewise.
23771 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23772 (strfromf32x): Likewise.
23773 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23774 (strfromf64x): Likewise.
23775 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23776 (strfromf128x): Likewise.
23777 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23778 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23779 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23780 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23781 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23782 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23783
6d58ce5e
RH
237842017-11-03 Richard Henderson <rth@twiddle.net>
23785
23786 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23787
659ca267
SN
237882017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23789
23790 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23791
94d2f0af
SN
237922017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23793
23794 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23795 DT_TLSDESC_GOT initialization.
23796 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23797 (_dl_tlsdesc_resolve_hold): Likewise.
23798 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23799 (_dl_tlsdesc_resolve_hold): Likewise.
23800 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23801 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23802
28e1ddf3
SN
238032017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23804
23805 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23806
0ca3d1d6
SN
238072017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23808
23809 [BZ #18572]
23810 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23811 non-lazily for R_ARM_TLS_DESC.
23812
2c1d4e5f
SN
238132017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23814
23815 [BZ #17078]
23816 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23817 R_ARM_TLS_DESC case.
23818 (elf_machine_lazy_rel): Remove the prelink check.
23819
91c5a366
SN
238202017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23821
23822 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23823 DT_TLSDESC_GOT initialization.
23824 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23825 (_dl_tlsdesc_resolve_rela): Likewise.
23826 (_dl_tlsdesc_resolve_hold): Likewise.
23827 (_dl_tlsdesc_undefweak): Remove ldar.
23828 (_dl_tlsdesc_dynamic): Likewise.
23829 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23830 (_dl_tlsdesc_resolve_rela): Likewise.
23831 (_dl_tlsdesc_resolve_hold): Likewise.
23832 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23833 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23834 (_dl_tlsdesc_resolve_rela): Likewise.
23835 (_dl_tlsdesc_resolve_hold): Likewise.
23836
b7cf203b
SN
238372017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23838
23839 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23840 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23841
0cc5b022
SN
238422017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23843
23844 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23845 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23846
43ddff2e
JM
238472017-11-02 Joseph Myers <joseph@codesourcery.com>
23848
23849 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23850 Declare.
23851 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23852 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23853 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23854 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23855 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23856 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23857 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23858 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23859 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23860 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23861 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23862
5baac970
MF
238632017-11-02 Mike FABIAN <mfabian@redhat.com>
23864
23865 [BZ #22382]
23866 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23867 * localedata/locales/tpi_PG: Add standard header.
23868
ef11081f
FW
238692017-11-02 Florian Weimer <fweimer@redhat.com>
23870
23871 test-errno-linux: quotactl can fail with EPERM in containers.
23872 * sysdeps/unix/sysv/linux/test-errno-linux.c
23873 (LIST, LIST_FORWARD): New macros.
23874 (check_error_in_list): New function.
23875 (test_wrp_rv): Accept list of permitted error codes.
23876 (test_wrp_rv2): Remove.
23877 (test_wrp): Call test_wrp_rv with list of error codes.
23878 (test_wrp2): Accept list of error codes.
23879 (do_test): Adjust. Allow EPERM for quotactl.
23880
d10b132b
FW
238812017-11-02 Florian Weimer <fweimer@redhat.com>
23882
23883 * stdio-common/bug16.c (do_test): Use array_length.
23884 * stdio-common/errlist.c (_sys_nerr): Likewise.
23885 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23886 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23887 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23888 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23889 (do_test): Use array_length.
23890 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23891 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23892 * stdio-common/tst-printf-round.c (do_test): Likewise.
23893 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23894 (CHECK): Use array_length.
23895 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23896 * stdio-common/tstscanf.c (main): Likewise.
23897 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23898
c94a5688
FW
238992017-11-02 Florian Weimer <fweimer@redhat.com>
23900
23901 Add array_length and array_end macros.
23902 * include/array_length.h: New file.
23903
2fac6a6c
FW
239042017-11-02 Florian Weimer <fweimer@redhat.com>
23905
23906 [BZ #22332]
23907 * posix/tst-glob-tilde.c (do_noescape): New variable.
23908 (one_test): Process it.
23909 (do_test): Set do_noescape. Add unescaping test case.
23910
2f1b212e
JM
239112017-11-01 Joseph Myers <joseph@codesourcery.com>
23912
260fbd0a
JM
23913 * math/complex.h
23914 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23915 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23916 with appropriate macros defined and undefined.
23917 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23918 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23919 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23920 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23921 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23922 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23923 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23924 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23925 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23926 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23927
2f1b212e
JM
23928 * math/complex.h
23929 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23930 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23931 that for long double. Do not condition define and undefine of
23932 _Mdouble_complex_ on [__CFLOAT128].
23933
95b93c6e
L
239342017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23935
23936 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23937 of <sysdeps/generic/sysdep.h>.
23938 (ALIGNARG): Removed.
23939 (ASM_SIZE_DIRECTIVE): Likewise.
23940 (ENTRY): Likewise.
23941 (END): Likewise.
23942 (ENTRY_CHK): Likewise.
23943 (END_CHK): Likewise.
23944 (syscall_error): Likewise.
23945 (mcount): Likewise.
23946 (PSEUDO_END): Likewise.
23947 (L): Likewise.
23948 (atom_text_section): Likewise.
23949 * sysdeps/x86/sysdep.h: New file.
23950 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23951 of <sysdeps/generic/sysdep.h>.
23952 (ALIGNARG): Removed.
23953 (ASM_SIZE_DIRECTIVE): Likewise.
23954 (ENTRY): Likewise.
23955 (END): Likewise.
23956 (ENTRY_CHK): Likewise.
23957 (END_CHK): Likewise.
23958 (syscall_error): Likewise.
23959 (mcount): Likewise.
23960 (PSEUDO_END): Likewise.
23961 (L): Likewise.
23962 (atom_text_section): Likewise.
23963
1bb36539
RL
239642017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
23965
23966 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
23967 category of LC_CTYPE set to "i18n:2012".
23968 * localedata/locales/i18n_ctype: Regenerate.
23969
067f5d97 239702017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 23971
87bbc4cf
YN
23972 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
23973 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
23974 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23975 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23976
e8681faa
YN
23977 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
23978 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
23979 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
23980 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23981
540af6e2
JM
239822017-10-31 Joseph Myers <joseph@codesourcery.com>
23983
43e66283
JM
23984 * math/complex.h
23985 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23986 New macro.
23987 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23988 Likewise.
23989 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23990 Likewise.
23991 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23992 (CMPLXF32X): Likewise.
23993 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23994 (CMPLXF64X): Likewise.
23995 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23996 (CMPLXF128X): Likewise.
23997
540af6e2
JM
23998 * math/math.h
23999 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
24000 (__MATH_EVAL_FMT2): Define to add 0.0f.
24001
58af72b4
AM
240022017-10-31 Alan Modra <amodra@gmail.com>
24003
24004 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
24005 include sysdep.h.
24006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
24007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
24008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
24009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
24010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
24011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
24012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
24013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
24014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
24015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
24016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
24017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
24018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
24019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
24020 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
24021 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
24022 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
24023 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
24024 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
24025 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
24026 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
24027 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
24028 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
24029 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
24030 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24031 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
24032 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
24033 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
24034 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
24035 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
24036 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24037 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24038 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
24039 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
24040 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
24041 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
24042 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
24043 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
24044 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
24045 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24046 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
24047 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
24048 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
24049 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
24050 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
24051 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
24052 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
24053 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
24054 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24055 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24056 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
24057 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
24058 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
24059 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
24060 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24061 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
24062 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
24063 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
24064 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24065 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24066 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24067 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
24068 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
24069 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24070 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
24071 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
24072 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
24073 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
24074 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
24075
24076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
24077 include sysdep.h and math_ldbl_opt.h.
24078
24079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
24080 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
24081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
24082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
24083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
24084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
24085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
24086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
24087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
24088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
24089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
24090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
24091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
24092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
24093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
24094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
24095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
24096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
24097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
24098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
24099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
24100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
24101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
24102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
24103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
24104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
24105
112f30b3
AM
241062017-10-31 Alan Modra <amodra@gmail.com>
24107
24108 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
24109 string/strncase_l.c, not string/strncase.c.
24110 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
24111 (libc_hidden_def): Redefine.
24112
e9e7eced
AM
241132017-10-31 Alan Modra <amodra@gmail.com>
24114
24115 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
24116 (__STRCMP, STRCMP, __strcasecmp_l): Define.
24117 (__strcasecmp): Don't define.
24118
f7b465cf
AM
241192017-10-31 Alan Modra <amodra@gmail.com>
24120
24121 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
24122 IS_IN (libc).
24123 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24124 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24125 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24126
d46b09f9
AM
241272017-10-31 Alan Modra <amodra@gmail.com>
24128
24129 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
24130 USE_AS_STPNCPY.
24131
e9b8e194
AM
241322017-10-31 Alan Modra <amodra@gmail.com>
24133
24134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
24135 Redefine only when SHARED.
24136
eda162dd
JM
241372017-10-30 Joseph Myers <joseph@codesourcery.com>
24138
b61afe8c
JM
24139 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24140 Include <bits/math-finite.h> with appropriate macros defined and
24141 undefined.
24142 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24143 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24144 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24145 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24146 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24147
eda162dd
JM
24148 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
24149 [!_Mlong_double_] (_Mlong_double_): Likewise.
24150 [!_Mfloat16_] (_Mfloat16_): Likewise.
24151 [!_Mfloat32_] (_Mfloat32_): Likewise.
24152 [!_Mfloat64_] (_Mfloat64_): Likewise.
24153 [!_Mfloat128_] (_Mfloat128_): Likewise.
24154 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
24155 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
24156 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
24157 (_Mdouble_): Define without indirection through those macros.
24158 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
24159 [!_Mfloat128_] (_Mfloat128_): Likewise.
24160 [_Mlong_double_] (_Mlong_double_): Likewise.
24161 (_Mdouble_): Define without indirection through those macros.
24162 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
24163 not add -D_Mlong_double_=double.
24164 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
24165 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
24166
4ad5106e
L
241672017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24168
24169 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
24170
fe326df7
L
241712017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24172
24173 * sysdeps/x86/libc-start.c: Reformat.
24174
c5cc4514
L
241752017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24176
24177 [BZ #22353]
24178 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
24179 (1): Renamed to ...
24180 (L(Src0)): This.
24181 (L(Src1)): New.
24182 (L(Src2)): Likewise.
24183 (L(1)): Renamed to ...
24184 (L(Src3)): This.
24185
ce12269f
JM
241862017-10-30 Joseph Myers <joseph@codesourcery.com>
24187
24188 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
24189 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
24190 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
24191 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
24192 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
24193 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
24194 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
24195 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
24196 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
24197 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
24198 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
24199 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
24200 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
24201 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
24202 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
24203 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
24204 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
24205 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
24206 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
24207 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
24208 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
24209 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
24210 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
24211 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
24212 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
24213 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
24214 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
24215 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
24216 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
24217 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
24218 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
24219 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
24220 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
24221 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
24222 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
24223 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
24224 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
24225 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
24226 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
24227 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
24228 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
24229 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
24230 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
24231 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
24232 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
24233 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
24234 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
24235 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
24236 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
24237 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
24238 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
24239 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
24240 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
24241 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
24242 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
24243 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
24244 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
24245 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
24246 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
24247 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
24248 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
24249 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
24250 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
24251 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
24252 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
24253 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
24254
4484b9e2
FW
242552017-10-30 Florian Weimer <fweimer@redhat.com>
24256
24257 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
24258 always defined.
24259 * io/tst-mkdirat.c (do_test): Likewise.
24260 * io/tst-mkfifoat.c (do_test): Likewise.
24261 * io/tst-mknodat.c (do_test): Likewise.
24262 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
24263 * locale/programs/locale.c (select_dirs): Likewise.
24264 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
24265 * posix/bug-glob2.c (my_readdir): Likewise.
24266 * posix/tst-dir.c (main): Likewise.
24267 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
24268 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
24269
68fe16dd
FW
242702017-10-30 Florian Weimer <fweimer@redhat.com>
24271
24272 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
24273 just __USE_GNU.
24274
dadf23f0
FW
242752017-10-30 Florian Weimer <fweimer@redhat.com>
24276
24277 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
24278 Convert to support/test-driver.c.
24279 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
24280 New macro parameters.
24281 (PRINTF): Remove macro. Use test_verbose conditionals instead.
24282 * posix/tst-gnuglob.c: New file.
24283 * posix/tst-gnuglob64.c: Likewise.
24284 * posix/Makefile (tests): Add tst-gnuglob64.
24285
363e4519 242862017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
24287
24288 [BZ #19485]
24289 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
24290 and use a better translation for March in “mon”.
24291 * localedata/locales/csb_PL: Use more ASCII to improve the
24292 readability of the source.
24293
b110af82
MF
242942017-10-30 Mike FABIAN <mfabian@redhat.com>
24295
24296 [BZ #13953]
24297 * localedata/locales/km_KH: Use ASCII as much
24298 as possible for better readability of the source and
24299 remove useless comments.
24300 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
24301 was commented out and apparently wrong anyway because it was
24302 using Lao characters. If Buddhist era should be used
24303 for km_KH, a native speaker should write the correct formaat
24304 for Khmer.
24305 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
24306 (According to CLDR, the first weekday for Cambodia is Sunday).
24307 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
24308 (These were using Lao characters which must be wrong. If we get
24309 the correct data from a native speaker, we could add it back, until
24310 then it is better not to have name_mr and name_mrs at all than
24311 having it wrong).
24312
f301e533
RL
243132017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
24314
24315 * locale/loadlocale.c: Correct size of
24316 _nl_value_type_LC_<category> arrays.
24317
7e9d7073
JM
243182017-10-27 Joseph Myers <joseph@codesourcery.com>
24319
24320 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24321 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
24322 with appropriate macros defined and undefined.
24323 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24324 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24325 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24326 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24327 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24328
63d3b468
L
243292017-10-27 H.J. Lu <hongjiu.lu@intel.com>
24330
24331 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
24332 "-O2 -march=i586".
24333
a4cc02c7
MF
243342017-10-27 Mike FABIAN <mfabian@redhat.com>
24335
24336 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
24337 with lowercase letters to make it agree with CLDR.
24338
1e5971ec
MF
243392017-10-27 Mike FABIAN <mfabian@redhat.com>
24340
24341 [BZ #15260]
24342 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
24343 first letters of yesstr and nostr in yesexpr and noexpr,
24344 not for the full words.
24345 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24346 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
24347 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
24348 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
24349 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
24350 first letters of yesstr and nostr in yesexpr and noexpr,
24351 until now only English was matched in yesexpr and noexpr.
24352 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
24353 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
24354 fil but not for tl. As tl and fil are very similar, using fil
24355 is probably better than using English.
24356
363e4519 243572017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
24358
24359 [BZ #21706]
24360 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
24361 in yesstr and nostr.
24362
5d220788
JM
243632017-10-26 Joseph Myers <joseph@codesourcery.com>
24364
ecc7da5b
JM
24365 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24366 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
24367 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
24368 Likewise.
24369 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
24370 Likewise.
24371 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
24372 Likewise.
24373 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
24374 Likewise.
24375 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24376 (SNANF128X): Likewise.
24377
5d220788
JM
24378 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24379 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
24380 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24381 (HUGE_VAL_F32): Likewise.
24382 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24383 (HUGE_VAL_F64): Likewise.
24384 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24385 (HUGE_VAL_F32X): Likewise.
24386 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24387 (HUGE_VAL_F64X): Likewise.
24388 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24389 (HUGE_VAL_F128X): Likewise.
24390
363e4519 243912017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
24392
24393 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
24394 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
24395 for the br_FR locale.
24396
363e4519 243972017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
24398
24399 [BZ #21706]
24400 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24401
337ff3c5
CD
244022017-10-25 Carlos O'Donell <carlos@redhat.com>
24403
02eec681
CD
24404 * locale/programs/record-status.h: Define globals, and function
24405 prototypes. Move function bodies...
24406 * locale/programs/record-status.c: ... to here. New file.
24407 * iconv/Makefile (iconv_prog-modules): Add record-status.
24408 * locale/Makefile (lib-modules): Likewise.
24409 * iconv/iconv_prog.c: Remove verbose.
24410 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
24411 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
24412 record a warning about ASCII compatibility.
24413 * locale/programs/ld-monetary.c (monetary_finish): If
24414 warn_int_curr_symbol is true then record a warning about the symbol
24415 not being in our ISO 4217 list.
24416 * locale/programs/locale.c: Include record-status.h. Remove verbose.
24417 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
24418 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
24419 (OPT_NO_WARN): Define.
24420 (OPT_WARN): Define.
24421 (options): Add entry for --no-warnings, and --warnings.
24422 (set_warnings): New function to enable/disable warnings.
24423 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
24424 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24425 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
24426 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
24427 Pass flags to generate_locale.
24428 (generate_locale): Accept new flag argument and pass it to localedef
24429 invocation.
24430 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24431 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24432
56fa555a
CD
24433 * localedata/Makefile (test-input-data): Use full file name.
24434 * localedata/da_DK.in: Rename to...
24435 * localedata/da_DK.ISO-8859-1.in: ...this.
24436 * localedata/de_DE.in: Rename to...
24437 * localedata/de_DE.ISO-8859-1.in: ...this.
24438 * localedata/en_US.in: Rename to...
24439 * localedata/en_US.ISO-8859-1.in: ...this.
24440 * localedata/fr_FR.in: Rename to...
24441 * localedata/fr_FR.UTF-8.in: ... this.
24442 * localedata/hr_HR.in: Rename to...
24443 * localedata/hr_HR.ISO-8859-2.in: ...this.
24444 * localedata/hu_HU.in: Rename to...
24445 * localedata/hu_HU.UTF-8.in: ...this.
24446 * localedata/si_LK.in: Rename to...
24447 * localedata/si_LK.UTF-8.in: ...this.
24448 * localedata/sv_SE.in: Rename to...
24449 * localedata/sv_SE.ISO-8859-1.in: ...this.
24450 * localedata/tr_TR.in: Rename to...
24451 * localedata/tr_TR.UTF-8.in: ...this.
24452 * localedata/uk_UA.in: Rename to...
24453 * localedata/uk_UA.UTF-8.in: ...this.
24454 * localedata/sort-test.sh: Test file is locale name with the
24455 suffix.
24456
337ff3c5
CD
24457 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24458 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24459 file.
24460 * localedata/locales/i18n_ctype: Regenerate.
24461 * localedata/locales/tr_TR: Likewise.
24462 * localedata/locales/translit_circle: Likewise.
24463 * localedata/locales/translit_cjk_compat: Likewise.
24464 * localedata/locales/translit_combining: Likewise.
24465 * localedata/locales/translit_compat: Likewise.
24466 * localedata/locales/translit_font: Likewise.
24467 * localedata/locales/translit_fraction: Likewise.
24468
63da5cd4
RS
244692017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24470
24471 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24472 lxvd2x/stxvd2x with lvx/stvx.
24473 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
24474
a122dbfb
L
244752017-10-25 H.J. Lu <hongjiu.lu@intel.com>
24476
24477 * include/alloc_buffer.h: Replace "if if " with "if " in
24478 comments.
24479 * sysdeps/mips/memcpy.S: Likkewise.
24480 * sysdeps/mips/memset.S: Likewise.
24481 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
24482 Likewise.
24483 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
24484 Likewise.
24485 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
24486 Likewise.
24487
9be7530c
MF
244882017-10-25 Mike FABIAN <mfabian@redhat.com>
24489
24490 [BZ #15261]
24491 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
24492 yesexpr and noexpr.
24493 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24494 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24495 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24496 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24497 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24498 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24499 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24500
6ccbf6ff
MF
245012017-10-25 Mike FABIAN <mfabian@redhat.com>
24502
24503 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
24504 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24505 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24506 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24507 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24508 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
24509 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24510 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24511 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24512 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24513 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24514 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24515
58b1a7ea
MF
245162017-10-25 Mike FABIAN <mfabian@redhat.com>
24517
24518 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
24519 as possible for better readability of the source.
24520 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
24521 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
24522 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
24523 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
24524 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
24525 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
24526 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
24527 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
24528 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24529 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
24530 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
24531 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
24532 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
24533 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
24534 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
24535 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
24536 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
24537 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
24538 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
24539 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
24540 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
24541 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
24542 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
24543 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
24544 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
24545 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
24546 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
24547 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
24548 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
24549 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
24550 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
24551 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24552 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
24553 * localedata/locales/en_US (LC_MESSAGES): Likewise.
24554 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
24555 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
24556 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
24557 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
24558 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
24559 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
24560 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
24561 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
24562 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
24563 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
24564 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
24565 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
24566 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
24567 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
24568 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
24569 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24570 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24571 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24572 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24573 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24574 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24575 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24576 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24577 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24578 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24579 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24580 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24581 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24582 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24583 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24584 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24585 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24586 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24587 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24588 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24589 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24590 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24591 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24592 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24593 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24594 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24595 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24596 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24597 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24598 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24599 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24600 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24601 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24602 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24603 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24604 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24605 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24606 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24607 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24608 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24609 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24610 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24611 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24612 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24613 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24614 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24615 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24616 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24617 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24618 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24619 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24620 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24621 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24622 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24623 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24624 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24625 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24626 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24627 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24628 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24629 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24630 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24631 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24632 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24633 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24634 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24635 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24636 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24637 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24638 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24639 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24640 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24641 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24642 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24643 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24644 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24645 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24646 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24647 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24648 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24649 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24650 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24651 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24652 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24653 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24654 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24655 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24656 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24657 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24658 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24659 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24660 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24661 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24662 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24663 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24664 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24665 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24666 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24667 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24668 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24669 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24670 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24671 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24672 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24673 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24674 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24675 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24676 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24677 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24678 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
24679 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
24680 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
24681 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
24682 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
24683 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
24684 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
24685 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24686 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
24687 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
24688 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
24689 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
24690 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24691 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24692 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24693 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
24694
17e78edb
MF
246952017-10-25 Mike FABIAN <mfabian@redhat.com>
24696
24697 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
24698 (Use first letters of yesstr and nostr correctly instead of using
24699 full words).
24700
74e7284f
MF
247012017-10-25 Mike FABIAN <mfabian@redhat.com>
24702
24703 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
24704 (Use first letters of yesstr and nostr correctly).
24705
b41a0ff1
MF
247062017-10-25 Mike FABIAN <mfabian@redhat.com>
24707
24708 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
24709 also check for the first characters of yesstr and nostr.
24710 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
24711 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
24712
d971f380
MF
247132017-10-25 Mike FABIAN <mfabian@redhat.com>
24714
24715 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
24716 also check for Chinese characters.
24717
effc9e1d
MF
247182017-10-25 Mike FABIAN <mfabian@redhat.com>
24719
24720 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24721 match also for the contents of yesstr and nostr. As the first letter
24722 of yesstr and nostr is equal, checking only for the first letter
24723 is not enough.
24724
10320881
MF
247252017-10-25 Mike FABIAN <mfabian@redhat.com>
24726
24727 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24728 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24729
d8682a15
MF
247302017-10-25 Mike FABIAN <mfabian@redhat.com>
24731
24732 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24733 of main contributor.
24734
1bfb86ae
MF
247352017-10-25 Mike FABIAN <mfabian@redhat.com>
24736
24737 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24738 instead of using English.
24739
da33d60b
MF
247402017-10-25 Mike FABIAN <mfabian@redhat.com>
24741
24742 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24743 by including the first letters of nostr and yesexpr in the regexp.
24744 Also make it more readable by using ASCII where possible.
24745
725bbb3e
MF
247462017-10-25 Mike FABIAN <mfabian@redhat.com>
24747
24748 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24749 the first letter of nostr in the regexp. It agrees with CLDR now.
24750 Also make it more readable by using ASCII where possible.
24751
fe043d8a
MF
247522017-10-24 Mike FABIAN <mfabian@redhat.com>
24753
24754 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24755 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24756 these strings contain a U+17D6 (which somewhat looks like a colon)
24757 instead of a real colon to separate the full words for “yes”
24758 and “no” from the single letter responses.
24759
360a8df3
MF
247602017-10-24 Mike FABIAN <mfabian@redhat.com>
24761
24762 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24763 it agree with CLDR (include the first letter of yesstr).
24764 Also make it more readable by using ASCII where possible.
24765
bab7b6b0
MF
247662017-10-24 Mike FABIAN <mfabian@redhat.com>
24767
24768 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24769 and improve yesexpr and noexpr. The yesstr and nostr apparently
24770 came from CLDR. And CLDR has a bug there: these strings contain
24771 a U+0903 (which looks like a colon) instead of a real colon
24772 to separate the full words for “yes” and “no” from the single
24773 letter responses.
24774
3e79f758
MF
247752017-10-24 Mike FABIAN <mfabian@redhat.com>
24776
24777 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24778 letters of the full yesstr and nostr in yesexpr and noexpr.
24779
4960c879
MF
247802017-10-24 Mike FABIAN <mfabian@redhat.com>
24781
24782 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24783 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24784 * localedata/locales/an_ES: Make source more readable by using ASCII
24785 where possible.
24786
b06a054f
MF
247872017-10-24 Mike FABIAN <mfabian@redhat.com>
24788
24789 [BZ #20952]
24790 * localedata/locales/yuw_PG: New file.
24791 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24792 * locale/iso-639.def: Add Yau (Uruwa).
24793
905a7725
WD
247942017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24795
24796 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24797
3f6bb8a3
WD
247982017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24799
24800 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24801 (__libc_realloc): Likewise.
24802 (_mid_memalign): Likewise.
24803 (__libc_calloc): Likewise.
24804
1d479c8c
MF
248052017-10-23 Mike FABIAN <mfabian@redhat.com>
24806
24807 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24808 by adding the generic +1 and -0 as in all other locales.
24809 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24810 day names and make it more readable by using ASCII where possible.
24811
91c3985c
JM
248122017-10-24 Joseph Myers <joseph@codesourcery.com>
24813
24814 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24815 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24816
aa95a241
AZ
248172017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24818
24819 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24820 WNOHANG in waitpid call.
24821
db9bab09
SP
248222017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24823
a2e0a7f1
SP
24824 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24825 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24826
db9bab09
SP
24827 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24828 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24829 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24830 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24831 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24832 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24833 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24834 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24835 variables.
24836
5062680c
MC
248372017-10-23 Michael Collison <michael.collison@arm.com>
24838
24839 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24840 with __builtin_sqrt.
24841 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24842 with __builtin_sqrtf.
24843 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24844 with __builtin_ceil.
24845 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24846 with __builtin_ceilf.
24847 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24848 with __builtin_floor.
24849 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24850 with __builtin_floorf.
24851 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24852 with __builtin_fma.
24853 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24854 with __builtin_fmaf.
24855 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24856 with __builtin_fmax.
24857 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24858 with __builtin_fmaxf.
24859 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24860 with __builtin_fmin.
24861 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24862 with __builtin_fminf.
24863 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24864 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24865 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24866 with builtin_rint and conversion to int.
24867 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24868 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24869 with builtin_llround.
24870 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24871 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24872 with builtin_rint and conversion to long int.
24873 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24874 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24875 with builtin_lround.
24876 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24877 with builtin_lroundf.
24878 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24879 statements with __builtin_nearbyint.
24880 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24881 statements with __builtin_nearbyintf.
24882 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24883 with __builtin_rint.
24884 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24885 with __builtin_rintf.
24886 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24887 with __builtin_round.
24888 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24889 with __builtin_roundf.
24890 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24891 with __builtin_trunc.
24892 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24893 with __builtin_truncf.
be080b6c
SN
24894 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24895 and s_l[l]round[f].c too.
5062680c 24896
174935af
AM
248972017-10-23 Alan Modra <amodra@gmail.com>
24898
24899 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24900 Adjust stack after restoring regs. Add missing LR cfi_restore.
24901
750a0e49
AM
249022017-10-23 Alan Modra <amodra@gmail.com>
24903
24904 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24905 Move LR save and frame setup/teardown and LR restore to
24906 immediately around memset call. Provide cfi.
24907
5313581c
L
249082017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24909
24910 * sysdeps/i386/fpu/e_powf.S: Removed.
24911 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24912 * sysdeps/i386/fpu/w_powf.c: Likewise.
24913 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24914 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24915 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24916 Add e_powf-sse2.
24917 (CFLAGS-e_powf-sse2.c): New.
24918 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24919 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24920
6089a3ee
L
249212017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24922
24923 * sysdeps/i386/fpu/e_log2f.S: Removed.
24924 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24925 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24926 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24927 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24928 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24929 Add e_log2f-sse2.
24930 (CFLAGS-e_log2f-sse2.c): New.
24931 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24932 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24933
80bb5935
L
249342017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24935
24936 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24937 Add e_powf-fma.
24938 (CFLAGS-e_powf-fma.c): New.
24939 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24940 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24941
5c7adbd8
L
249422017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24943
24944 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24945 Add e_log2f-fma.
24946 (CFLAGS-e_log2f-fma.c): New.
24947 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24948 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
24949
0ccc7153
L
249502017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24951
24952 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24953 Add e_logf-fma.
24954 (CFLAGS-e_logf-fma.c): New.
24955 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
24956 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
24957
fe596486
L
249582017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24959
24960 * sysdeps/i386/fpu/e_logf.S: Removed.
24961 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
24962 * sysdeps/i386/fpu/w_logf.c: Likewise.
24963 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
24964 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
24965 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24966 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24967 Add e_logf-sse2.
24968 (CFLAGS-e_logf-sse2.c): New.
24969 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
24970 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
24971
7eda65f6
L
249722017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24973
24974 * sysdeps/i386/fpu/e_exp2f.S: Removed.
24975 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
24976 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
24977 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24978 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24979 Add e_exp2f-sse2.
24980 (CFLAGS-e_exp2f-sse2.c): New.
24981 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24982 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
24983
5d15c969
L
249842017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24985
24986 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24987 Add e_exp2f-fma.
24988 (CFLAGS-e_exp2f-fma.c): New.
24989 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24990 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24991
b2f6137e
L
249922017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24993
24994 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24995 * sysdeps/i386/fpu/e_expf.S: Likewise.
24996 * sysdeps/i386/fpu/math_errf.c: Likewise.
24997 * sysdeps/i386/fpu/w_expf.c: Likewise.
24998 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24999 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25000 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
25001 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
25002 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25003 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25004 Remove e_expf-ia32.
25005 (CFLAGS-e_expf-sse2.c): New.
25006 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
25007 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
25008
e1f59beb
L
250092017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25010
25011 * sysdeps/x86_64/fpu/e_expf.S: Removed.
25012 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
25013 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
25014 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
25015 e_expf.c.
25016 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
25017 New.
25018 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
25019 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
25020 Renamed to ...
25021 (__redirect_expf): This.
25022 (SYMBOL_NAME): Changed to expf.
25023 (__ieee754_expf): Renamed to ...
25024 (__expf): This.
25025 (__GI___expf): This.
25026 (__ieee754_expf): Add strong_alias.
25027 (__expf_finite): Likewise.
25028 (__expf): New.
25029 Include <sysdeps/ieee754/flt-32/e_expf.c>.
25030
363e4519 250312017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
25032
25033 [BZ #22332]
25034 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
25035 unescaping.
25036
e80fc1fc
FW
250372017-10-21 Florian Weimer <fweimer@redhat.com>
25038
25039 * posix/Makefile (tests): Add tst-glob-tilde.
25040 (tests-special): Add tst-glob-tilde-mem.out
25041 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
25042 (tst-glob-tilde-mem.out): Add mtrace check.
25043 * posix/tst-glob-tilde.c: New file.
25044
797ba44b
JM
250452017-10-20 Joseph Myers <joseph@codesourcery.com>
25046
25047 * bits/floatn-common.h: New file.
25048 * math/Makefile (headers): Add bits/floatn-common.h.
25049 * bits/floatn.h: Include <bits/floatn-common.h>.
25050 * sysdeps/ia64/bits/floatn.h: Likewise.
25051 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25052 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
25053 * sysdeps/powerpc/bits/floatn.h: Likewise.
25054 * sysdeps/x86/bits/floatn.h: Likewise.
25055
fe05e1cb
AZ
250562017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25057
8f6f5362
AZ
25058 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
25059 indicates whether compiler emits an warning for alias for
25060 functions with incompatible types.
25061
fe05e1cb
AZ
25062 [BZ #22273]
25063 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
25064 the auxiliary process is terminated by a signal before calling _exit
25065 or execve.
25066
b52b0d79
L
250672017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25068
25069 [BZ #21265]
25070 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
25071 New.
25072 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
25073 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
25074 and bit_arch_XSAVEC_Usable if needed.
25075 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
25076 and bit_arch_Use_dl_runtime_resolve_opt.
25077 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
25078 Removed.
25079 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
25080 (bit_arch_Prefer_No_AVX512): Updated.
25081 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
25082 (bit_arch_XSAVEC_Usable): New.
25083 (STATE_SAVE_OFFSET): Likewise.
25084 (STATE_SAVE_MASK): Likewise.
25085 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
25086 (cpu_features): Add xsave_state_size and xsave_state_full_size.
25087 (index_arch_Use_dl_runtime_resolve_opt): Removed.
25088 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
25089 (index_arch_XSAVEC_Usable): New.
25090 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25091 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
25092 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
25093 is enabled.
25094 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
25095 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
25096 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
25097 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
25098 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
25099 _dl_runtime_resolve_xsavec.
25100 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
25101 Removed.
25102 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
25103 instead of VEC_SIZE.
25104 (REGISTER_SAVE_BND0): Removed.
25105 (REGISTER_SAVE_BND1): Likewise.
25106 (REGISTER_SAVE_BND3): Likewise.
25107 (REGISTER_SAVE_RAX): Always defined to 0.
25108 (VMOV): Removed.
25109 (_dl_runtime_resolve_avx): Likewise.
25110 (_dl_runtime_resolve_avx_slow): Likewise.
25111 (_dl_runtime_resolve_avx_opt): Likewise.
25112 (_dl_runtime_resolve_avx512): Likewise.
25113 (_dl_runtime_resolve_avx512_opt): Likewise.
25114 (_dl_runtime_resolve_sse): Likewise.
25115 (_dl_runtime_resolve_sse_vex): Likewise.
25116 (USE_FXSAVE): New.
25117 (_dl_runtime_resolve_fxsave): Likewise.
25118 (USE_XSAVE): Likewise.
25119 (_dl_runtime_resolve_xsave): Likewise.
25120 (USE_XSAVEC): Likewise.
25121 (_dl_runtime_resolve_xsavec): Likewise.
25122 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
25123 Removed.
25124 (_dl_runtime_resolve_avx512_opt): Likewise.
25125 (_dl_runtime_resolve_avx): Likewise.
25126 (_dl_runtime_resolve_avx_opt): Likewise.
25127 (_dl_runtime_resolve_sse): Likewise.
25128 (_dl_runtime_resolve_sse_vex): Likewise.
25129 (_dl_runtime_resolve_fxsave): New.
25130 (_dl_runtime_resolve_xsave): Likewise.
25131 (_dl_runtime_resolve_xsavec): Likewise.
25132
363e4519 251332017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
25134
25135 [BZ #22320]
25136 CVE-2017-15670
25137 * posix/glob.c (__glob): Fix one-byte overflow.
25138
6d43de4b
WD
251392017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25140
25141 * malloc/malloc.c (sysdep-cancel.h): Add include.
25142
a15d53e2
WD
251432017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25144
25145 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
25146
b9a558e7
WH
251472017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
25148
25149 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
25150 (tests): Remove $(objpfx)ga_test depdendency.
25151 * resolv/ga_test.c: Remove file.
25152
b6b08b8e
MF
251532017-10-20 Mike FABIAN <mfabian@redhat.com>
25154
25155 [BZ #18812]
25156 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
25157 * localedata/locales/kab_DZ: New file.
25158
9ba7e810
L
251592017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25160
25161 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
25162 _dl_relocate_static_pie instead of _dl_start to compute load
25163 address in static PIE.
25164
4027a4fd
L
251652017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25166
25167 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
25168
2f9314b4
MF
251692017-10-20 Mike FABIAN <mfabian@redhat.com>
25170
25171 [BZ #13605]
25172 * localedata/SUPPORTED: Add shn_MM/UTF-8.
25173 * localedata/locales/shn_MM: New file.
25174
63b4baa4
FW
251752017-10-20 Florian Weimer <fweimer@redhat.com>
25176
25177 [BZ #22321]
25178 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
25179 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
25180 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
25181 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
25182 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
25183 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
25184
95ccb619
L
251852017-10-19 H.J. Lu <hongjiu.lu@intel.com>
25186
25187 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25188
37bb78cb
JM
251892017-10-19 Joseph Myers <joseph@codesourcery.com>
25190
76f2ed92
JM
25191 * sysdeps/mips/ieee754/bits/floatn.h: New file.
25192
37bb78cb
JM
25193 [BZ #22322]
25194 * sysdeps/mips/bits/long-double.h: Move to ....
25195 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
25196
d74e6f6c
WD
251972017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
25198
25199 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
25200
363e4519 252012017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
25202 H.J. Lu <hongjiu.lu@intel.com>
25203
25204 [BZ #22299]
25205 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
25206 GLRO(dl_platform) to NULL.
25207 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
25208 (modules-names): Add tst-platformmod-1 and
25209 x86_64/tst-platformmod-2.
25210 (CFLAGS-tst-platform-1.c): New.
25211 (CFLAGS-tst-platformmod-1.c): Likewise.
25212 (CFLAGS-tst-platformmod-2.c): Likewise.
25213 (LDFLAGS-tst-platformmod-2.so): Likewise.
25214 ($(objpfx)tst-platform-1): Likewise.
25215 ($(objpfx)tst-platform-1.out): Likewise.
25216 (tst-platform-1-ENV): Likewise.
25217 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
25218 * sysdeps/x86_64/tst-platform-1.c: New file.
25219 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
25220 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
25221
4b0fa403
MF
252222017-10-19 Mike FABIAN <mfabian@redhat.com>
25223
25224 [BZ #13994]
25225 * locale/iso-639.def: Add Karbi.
25226 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
25227 * localedata/locales/mjw_IN: New file.
25228
81325b12
JM
252292017-10-18 Joseph Myers <joseph@codesourcery.com>
25230
25231 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
25232 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25233 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
25234 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
25235 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25236 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25237 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
25238 <bits/floatn.h>.
25239 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25240 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25241 * manual/math.texi (Mathematics): Document additional architecture
25242 support for _Float128.
25243 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25244 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25245 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25246 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25247 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25248 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25249 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25250 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25251 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25252 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25253 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25254 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25255 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25256 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25257 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25258
a68ba2f3
SN
252592017-10-18 Renlin Li <renlin.li@arm.com>
25260
25261 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
25262 _DYNAMIC symbol to calculate load address.
25263
346729f6
PC
252642017-10-18 Paul A. Clarke <pc@us.ibm.com>
25265
25266 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
25267 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
25268 summary bits.
25269 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
25270 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
25271
508b1e71
MF
252722017-10-18 Mike FABIAN <mfabian@redhat.com>
25273
25274 [BZ #16777]
25275 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
25276 and improve readability by using more ASCII.
25277 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
25278 and improve readability by using more ASCII.
25279
2c2245b9
WD
252802017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
25281
25282 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
25283 not all targets support atomics on bool.
25284
13c92696
JM
252852017-10-17 Joseph Myers <joseph@codesourcery.com>
25286
25287 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
25288 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
25289 __f128.
25290 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25291 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
25292 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25293 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
25294 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25295 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
25296
71d85045
AZ
252972017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25298
25299 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
25300 defines.
25301
3381be5c
WD
253022017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25303
25304 [BZ #22159]
25305 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
25306 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
25307 (do_check_remalloced_chunk): Fix build bug.
25308 (do_check_malloc_state): Add assert that checks arena->top.
25309 (malloc_consolidate): Remove initialization.
25310 (int_mallinfo): Remove call to malloc_consolidate.
25311 (__libc_mallopt): Clarify why malloc_consolidate is needed.
25312
e956075a
WD
253132017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25314
25315 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
25316 (have_fastchunks): Remove.
25317 (clear_fastchunks): Remove.
25318 (set_fastchunks): Remove.
25319 (malloc_state): Add have_fastchunks.
25320 (malloc_init_state): Use have_fastchunks.
25321 (do_check_malloc_state): Remove incorrect invariant checks.
25322 (_int_malloc): Use have_fastchunks.
25323 (_int_free): Likewise.
25324 (malloc_consolidate): Likewise.
25325
e4dd4ace
WD
253262017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25327
25328 * malloc/malloc.c (tcache_put): Inline.
25329 (tcache_get): Inline.
25330
5bf58bc7
AJ
253312017-10-17 Jordi Mallach <jordi@gnu.org>
25332
25333 Aurelien Jarno <aurelien@aurel32.net>
25334 [BZ #2522]
25335 * localedata/locales/ca_ES@valencia: New file.
25336 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
25337
386e1c26
RN
253382017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
25339
25340 [BZ #22296]
25341 * math/math.h: Let signbit use the builtin in C++ mode with gcc
25342 < 6.x
25343
4e17c78e
AZ
253442017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25345
3d265601
AZ
25346 * scripts/build-many-glibcs.py (Context.add_all_configs):
25347 Add arm-linux-gnueabihf multiarch extra_glibcs.
25348
4e17c78e
AZ
25349 * sysdeps/generic/ifunc-init.h: New file.
25350 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
25351
56a752ab
MF
253522017-10-17 Mike FABIAN <mfabian@redhat.com>
25353
25354 [BZ #22019]
25355 * localedata/locales/el_GR: Set n_cs_precedes to 0.
25356 * localedata/locales/el_CY: copy "el_GR" because it is identical.
25357 * stdlib/tst-strfmon_l.c: adapt test case.
25358
c38a4bfd
JM
253592017-10-16 Joseph Myers <joseph@codesourcery.com>
25360
25361 * sysdeps/generic/float128-abi.h: New file.
25362 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
25363 non-__prefixed symbols to ....
25364 * math/Versions: ... here. Include <float128-abi.h>.
25365 * stdlib/Versions ... and here. Include <float128-abi.h>
25366
76009b26
FW
253672017-10-16 Florian Weimer <fweimer@redhat.com>
25368
25369 * version.h (VERSION): Switch to ".9000" as the development
25370 version suffix.
25371
7ece6cd5
FW
253722017-10-16 Florian Weimer <fweimer@redhat.com>
25373
25374 [BZ #22050]
25375 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
25376 compat_symbol_reference to access non-default version.
25377
d8287b36
FW
253782017-10-16 Florian Weimer <fweimer@redhat.com>
25379
25380 * malloc/Makefile (others-extras): Set to mcheck-init.o.
25381
3480ddc4
CD
253822017-10-16 Carlos O'Donell <carlos@redhat.com>
25383
25384 * include/shlib-compat.h (compat_symbol_reference): Update
25385 comment.
25386
02010e79
JM
253872017-10-16 Joseph Myers <joseph@codesourcery.com>
25388
596f7013
JM
25389 * math/Makefile (test-types): Add
25390 $(type-float128-$(float128-alias-fcts)).
25391 * math/test-float128.h (TYPE_STR): Define conditional on
25392 [FLT128_MANT_DIG == LDBL_MANT_DIG].
25393 (ULP_IDX): Likewise.
25394 (ULP_I_IDX): Likewise.
25395
02010e79
JM
25396 * stdlib/strtold.c: Include <bits/floatn.h>
25397 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
25398 and later undefine as macro. Define as weak alias if
25399 [!USE_WIDE_CHAR].
25400 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25401 and later undefine as macro. Define as weak alias if
25402 [USE_WIDE_CHAR].
25403 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25404 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25405 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25406 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25407 Define and later undefine as macro. Define as weak alias if
25408 [USE_WIDE_CHAR].
25409 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
25410 <bits/floatn.h>.
25411 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
25412 Define and later undefine as macro. Define as weak alias if
25413 [!USE_WIDE_CHAR].
25414 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25415 Define and later undefine as macro. Define as weak alias if
25416 [USE_WIDE_CHAR].
25417
ea91c315
CD
254182017-10-15 Carlos O'Donell <carlos@redhat.com>
25419
25420 * localedata/collate-test.c (allocate_arrays): Don't use \n in
25421 record_verbose messages.
25422
8e57c943
L
254232017-10-15 H.J. Lu <hongjiu.lu@intel.com>
25424
25425 [BZ #22052]
25426 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
25427 to silence -O3 -Wall warning with GCC 7.
25428
a4777c46
L
254292017-10-14 H.J. Lu <hongjiu.lu@intel.com>
25430
25431 * Makeconfig (+link-static-before-libc): Use the first of
25432 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25433 * gmon/Makefile (tests): Add tst-gmon-static.
25434 (tests-static): Likewise.
25435 (CFLAGS-tst-gmon-static.c): New.
25436 (CRT-tst-gmon-static): Likewise.
25437 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25438 (tst-gmon-static-ENV): Likewise.
25439 (tests-special): Likewise.
25440 ($(objpfx)tst-gmon-static.out): Likewise.
25441 (clean-tst-gmon-static-data): Likewise.
25442 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25443 * gmon/tst-gmon-static-gprof.sh: New file.
25444 * gmon/tst-gmon-static.c: Likewise.
25445
bc3821bb
CD
254462017-10-13 Carlos O'Donell <carlos@redhat.com>
25447
25448 [BZ #22295]
25449 * locale/programs/linereader.c (get_string): Don't warn on
25450 non-symbolic character.
25451
a3e23a2c
CD
25452 [BZ #22294]
25453 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25454 int_curr_symbol.
25455
f16491eb
CD
25456 [BZ #22292]
25457 * locale/programs/record-status.h: New file
25458 * locale/programs/locale.c: Add comment.
25459 * locale/programs/charmap-dir.c: Don't include error.h.
25460 (charmap_opendir): Use record_error.
25461 * locale/programs/charmap.c: Don't include error.h.
25462 (charmap_read): Use record_error, and record_warning.
25463 (parse_charmap): Likewise.
25464 * locale/programs/ld-address.c: Don't include error.h.
25465 (address_finish): Use record_error, and record_warning.
25466 * locale/programs/ld-collate.c: Don't include error.h.
25467 (collate_finish): Use record_error, and record_error_at_line.
25468 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25469 (ctype_class_new): Likewise.
25470 (ctype_map_new): Likewise.
25471 (set_one_default): Likewise.
25472 (set_class_defaults): Likewise.
25473 (translit_flatten): Likewise.
25474 (allocate_arrays): Use record_error, and record_verbose.
25475 * locale/programs/ld-identification.c: Don't include error.h.
25476 (indentation_finish): Use record_error and record_warning.
25477 * locale/programs/ld-measurement.c: Don't include error.h.
25478 (measurement_finish): Use record_error.
25479 * locale/programs/ld-messages.c
25480 (message_finish): Likewise.
25481 * locale/programs/ld-monetary.c
25482 (monetary_finish): Likewise.
25483 * locale/programs/ld-name.c (name_finish): Use record_error
25484 and record_warning.
25485 * locale/programs/ld-numeric.c
25486 (numeric_finish): Use record_error.
25487 * locale/programs/ld-paper.c: Don't include error.h.
25488 (paper_finish): Use record_error.
25489 * locale/programs/ld-telephone.c: Don't include error.h.
25490 (telephone_finish): Use record_error.
25491 * locale/programs/ld-time.c (time_finish): Likewise.
25492 * locale/programs/linereader.h (lr_error): Make inline func.
25493 * locale/programs/localedef.c: Define recorded_warning_count,
25494 and recorded_error_count.
25495 (main): Use record_error. Use recorded_error_count and
25496 recorded_warning_count to issue correct error returns.
25497 (add_to_readlist): Use record_error.
25498 (find_locale): Likewise.
25499 (load_locale): Likewise.
25500 * locale/programs/localedef.h: Remove be_quiet
25501 and WITH_CUR_LOCALE.
25502 * locale/programs/locarchive.c (compare_from_file): Use
25503 record_error.
25504 * locale/programs/locfile.c (write_locale_data): Use
25505 record_error.
25506 * locale/programs/repertoire.c: Dont include error.h.
25507 (repertoire_complain): Use record_error.
25508 * localedata/tst-fmon.sh: Expect failures from localedef.
25509 * localedata/tst-locale.sh: Likewise.
25510 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
25511
8dc8be75
CD
25512 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
25513 (REPORTS): Likewise.
25514 (check): Likewise.
25515 (i18n): Rename to...
25516 (i18n_ctype): ...this.
25517 (i18n-report): Rename to...
25518 (i18n_ctype-report): ...this.
25519 * localedata/locales/i18n_ctype: Regenerate.
25520 * localedata/locales/i18n: copy i18n_ctype.
25521
f8718a9e
JM
255222017-10-13 Joseph Myers <joseph@codesourcery.com>
25523
18c08b96
JM
25524 * stdlib/strfroml.c: Include <bits/floatn.h>.
25525 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
25526 Define before include of <stdlib.h> and undefine afterwards, then
25527 define as weak alias.
25528
f8718a9e
JM
25529 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
25530 Undefine and restore default definition. Use
25531 libm_alias_ldouble_other.
25532
e4f530da
PZ
255332017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
25534
25535 [BZ #22153]
25536 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
25537 in coredumps.
25538
86445888
JC
255392017-10-13 James Clarke <jrtc27@jrtc27.com>
25540
25541 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25542 Assign sym_map to be map for local symbols, as TLS relocations
25543 use sym_map to determine whether the symbol is defined and to
25544 extract the TLS information.
25545 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25546 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25547
179dcdb7
TMQMF
255482017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25549
e8dbd6a3
TMQMF
25550 [BZ #22189]
25551 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
25552 (math_force_eval): Add powerpc version.
25553
179dcdb7
TMQMF
25554 [BZ #22142]
25555 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
25556 -DBL_MAX.
25557 (do_test): Likewise.
25558 * stdio-common/tst-printf.sh: Likewise.
25559 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
25560 ifdef clause in order to set the carry bit right. Replace r0 by
25561 0 without changing the behavior.
25562
7d25d410
JM
255632017-10-13 Joseph Myers <joseph@codesourcery.com>
25564
006e7664
JM
25565 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
25566 <libm-alias-ldouble.h>.
25567 (fabsl): Define using libm_alias_ldouble.
25568 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
25569 <libm-alias-ldouble.h>.
25570 (fabsl): Define using libm_alias_ldouble.
25571
1def91b3
JM
25572 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25573 Remove conditional code.
25574
7d25d410
JM
25575 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25576 Rename to __clog10_internal_l.
25577 (__clog10_internal_l): Define aliases using
25578 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25579 with __clog10.
25580
077ee129
RS
255812017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25582
25583 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25584 * benchtests/sincosf-inputs: New file.
25585 * benchtests/cosf-inputs: New file.
25586 * benchtests/sinf-inputs: New file.
25587
5ba41de9
SN
255882017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25589
25590 * posix/tst-spawn.c (do_test): Wait for both children.
25591
d165ca64
L
255922017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25593
25594 [BZ #22284]
25595 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25596 tests-pie): Add tst-gmon-pie.
25597 (CFLAGS-tst-gmon-pie.c): New.
25598 (CRT-tst-gmon-pie): Likewise.
25599 (tst-gmon-pie-ENV): Likewise.
25600 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25601 ($(objpfx)tst-gmon-pie.out): Likewise.
25602 (clean-tst-gmon-pie-data): Likewise.
25603 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25604 * gmon/gmon.c [PIC]: Include <link.h>.
25605 [PIC] (callback): New function.
25606 (write_hist): Add an argument for load address. Subtract load
25607 address from PCs.
25608 (write_call_graph): Likewise.
25609 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25610 it to write_hist and write_call_graph.
7bacdcfc 25611 * gmon/tst-gmon-pie.c: New file.
d165ca64 25612
bc9620d0
JM
256132017-10-11 Joseph Myers <joseph@codesourcery.com>
25614
25615 * math/Makefile (test-types-basic): New variable.
25616 (test-types): Likewise.
25617 (libm-test-support): Use $(test-types) instead of $(types).
25618 (libm-tests-base-normal): Likewise.
25619 (libm-tests-base-finite): Likewise.
25620 (libm-tests-base-inline): Likewise.
25621 (generated): Likewise.
25622 ($(objpfx)libm-test-support-$(t).c): Likewise.
25623 (libm-tests-for-type iterator): Likewise.
25624 (libm-test-support iterator): Likewise.
25625 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25626 (ulp_idx): Use ULP_IDX.
25627 * math/test-ldouble.h: Include <float.h>.
25628 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25629 (ULP_IDX): New macro.
25630 (ULP_I_IDX): Likewise.
25631 * math/test-double.h (ULP_IDX): Likewise.
25632 (ULP_I_IDX): Likewise.
25633 * math/test-float.h (ULP_IDX): Likewise.
25634 (ULP_I_IDX): Likewise.
25635 * math/test-float128.h (ULP_IDX): Likewise.
25636 (ULP_I_IDX): Likewise.
25637
09c76a74
AZ
256382017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25639
25640 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25641 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25642 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25643 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25644 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25645 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25646 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25647 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25648 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25649 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25650 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25651 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25652 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25653 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25654 (SINGLE_THREAD_BY_GLOBAL): Define.
25655 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25656 Likewise.
25657 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25658 Likewise.
25659 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25660 Likewise.
25661 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25662 Likewise.
25663 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25664 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25665 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25666 Likewise.
25667
2faa42da
AS
256682017-10-11 Andreas Schwab <schwab@suse.de>
25669
25670 * nis/Makefile (aux): Remove.
25671 * nscd/Makefile (aux): Add nscd_hash.
25672 (nscd-modules): Likewise.
25673 ($(objpfx)nscd): Don't depend on libnsl.
25674 * nscd/nscd_hash.c: New file.
25675 * nscd/nscd_hash.h: Likewise.
25676 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25677 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25678 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
25679 instead of <nis/rpcsvc/nis.h>.
25680 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
25681
d8425e11
FW
256822017-10-11 Florian Weimer <fweimer@redhat.com>
25683
25684 [BZ #22078]
25685 Avoid large NSS buffers with many addresses, aliases.
25686 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
25687 using dynarrays and struct alloc_buffer.
25688 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
25689 (tst-nss-files-hosts-multi): Link with -ldl.
25690 * nss/tst-nss-files-hosts-multi.c: New file.
25691
78e806fd
FW
256922017-10-11 Florian Weimer <fweimer@redhat.com>
25693
25694 [BZ #18023]
25695 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
25696 scratch_buffer. Eliminate gotos.
25697
541f19ba
JM
256982017-10-11 Joseph Myers <joseph@codesourcery.com>
25699
0ff64d3a
JM
25700 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
25701 libm_alias_ldouble_other.
25702 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
25703 undefine and redefine.
25704 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25705 (exp10l): Do not define here.
25706 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
25707 (weak_alias): Undefine and redefine.
25708 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
25709 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25710 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
25711 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
25712
541f19ba
JM
25713 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
25714 [!__fma] (fma): Define using libm_alias_double.
25715 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
25716 [!__fmaf] (fmaf): Define using libm_alias_float.
25717 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25718 (fmal): Define using libm_alias_ldouble.
25719
24b6515d
JM
257202017-10-10 Joseph Myers <joseph@codesourcery.com>
25721
25722 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25723 New macro.
25724 (libm_alias_double_other): Likewise.
25725 (libm_alias_double_r): Use libm_alias_double_other_r.
25726 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25727 New macro.
25728 (libm_alias_float_other): Likewise.
25729 (libm_alias_float_r): Use libm_alias_float_other_r.
25730 * sysdeps/generic/libm-alias-float128.h
25731 (libm_alias_float128_other_r): New macro.
25732 (libm_alias_float128_other): Likewise.
25733 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25734 * sysdeps/generic/libm-alias-ldouble.h
25735 (libm_alias_ldouble_other_r): New macro.
25736 (libm_alias_ldouble_other): Likewise.
25737 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25738 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25739 (libm_alias_double_other_r): New macro.
25740 (libm_alias_double_other): Likewise.
25741 (libm_alias_double_r): Use libm_alias_double_other_r.
25742 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25743 (libm_alias_ldouble_other_r): New macro.
25744 (libm_alias_ldouble_other): Likewise.
25745 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25746 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25747 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25748 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25749 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25750 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25751 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25752 * math/w_exp2f.c: Use libm_alias_float_other.
25753 * math/w_expf.c: Likewise.
25754 * math/w_log2f.c: Likewise.
25755 * math/w_logf.c: Likewise.
25756 * math/w_powf.c: Likewise.
25757 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25758 [!__exp2f]: Use libm_alias_float_other.
25759 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25760 [!__expf]: Use libm_alias_float_other.
25761 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25762 [!__log2f]: Use libm_alias_float_other.
25763 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25764 [!__logf]: Use libm_alias_float_other.
25765 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25766 [!__powf]: Use libm_alias_float_other.
25767
8ed70de2
FW
257682017-10-10 Florian Weimer <fweimer@redhat.com>
25769
25770 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25771 function.
25772 (_nss_files_gethostbyname3_r): Call it.
25773
a8dce619
JM
257742017-10-09 Joseph Myers <joseph@codesourcery.com>
25775
25776 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25777 error. Remove default definition of declare_mgen_alias.
25778 [!declare_mgen_alias_r]: Likewise.
25779 * sysdeps/generic/math-type-macros-double.h
25780 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25781 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25782 (declare_mgen_alias_r): Likewise.
25783 * sysdeps/generic/math-type-macros-float128.h
25784 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25785 * sysdeps/generic/math-type-macros-ldouble.h
25786 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25787 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25788 macro.
25789 (declare_mgen_alias_r_s): Likewise.
25790 (declare_mgen_alias_r): Likewise.
25791 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25792 (lgamma_r): Define using libm_alias_double_r.
25793 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25794 (lgammaf_r): Define using libm_alias_float_r.
25795 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25796 (lgammal_r): Define using libm_alias_ldouble_r.
25797 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25798 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25799
bedac136
AZ
258002017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25801
25802 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25803 extern declaration.
25804
c7509db2
JM
258052017-10-09 Joseph Myers <joseph@codesourcery.com>
25806
25807 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25808
d6c064e9
JW
258092017-10-09 Jonathan Wakely <jwakely@redhat.com>
25810
25811 [BZ #21326]
25812 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25813 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25814 * math/Makefile (test-math-cxx11): New test.
25815 * math/test-math-cxx11.cc: New file.
25816
98e07420
CB
258172017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25818
25819 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25820
645ac9aa
CB
25821 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25822 call to allocate the slave pty file descriptor.
25823
fd3b4e7c
JM
258242017-10-06 Joseph Myers <joseph@codesourcery.com>
25825
f85a176f
JM
25826 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25827 [!__fma] (fma): Define using libm_alias_double.
25828 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25829 [!__fma] (fma): Define using libm_alias_double.
25830
fd3b4e7c
JM
25831 * sysdeps/ieee754/float128/float128_private.h: Include
25832 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25833 (libm_alias_ldouble_r): Undefine and redefine.
25834 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25835 <libm-alias-ldouble.h>.
25836 (asinhl): Define using libm_alias_ldouble.
25837 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25838 <libm-alias-ldouble.h>.
25839 (atanl): Define using libm_alias_ldouble.
25840 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25841 <libm-alias-ldouble.h>.
25842 (cbrtl): Define using libm_alias_ldouble.
25843 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25844 <libm-alias-ldouble.h>.
25845 (ceill): Define using libm_alias_ldouble.
25846 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25847 <libm-alias-ldouble.h>.
25848 (copysignl): Define using libm_alias_ldouble.
25849 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25850 <libm-alias-ldouble.h>.
25851 (cosl): Define using libm_alias_ldouble.
25852 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25853 <libm-alias-ldouble.h>.
25854 (erfl): Define using libm_alias_ldouble.
25855 (erfcl): Likewise.
25856 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25857 <libm-alias-ldouble.h>.
25858 (expm1l): Define using libm_alias_ldouble.
25859 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25860 <libm-alias-ldouble.h>.
25861 (fabsl): Define using libm_alias_ldouble.
25862 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25863 <libm-alias-ldouble.h>.
25864 (floorl): Define using libm_alias_ldouble.
25865 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25866 <libm-alias-ldouble.h>.
25867 (fmal): Define using libm_alias_ldouble.
25868 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25869 <libm-alias-ldouble.h>.
25870 (frexpl): Define using libm_alias_ldouble.
25871 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25872 libm_alias_ldouble.
25873 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25874 <libm-alias-ldouble.h>.
25875 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25876 libm_alias_ldouble.
25877 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25878 <libm-alias-ldouble.h>.
25879 (getpayloadl): Define using libm_alias_ldouble.
25880 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25881 <libm-alias-ldouble.h>.
25882 (llrintl): Define using libm_alias_ldouble.
25883 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25884 <libm-alias-ldouble.h>.
25885 (llroundl): Define using libm_alias_ldouble.
25886 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25887 <libm-alias-ldouble.h>.
25888 (logbl): Define using libm_alias_ldouble.
25889 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25890 <libm-alias-ldouble.h>.
25891 (lrintl): Define using libm_alias_ldouble.
25892 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25893 <libm-alias-ldouble.h>.
25894 (lroundl): Define using libm_alias_ldouble.
25895 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25896 <libm-alias-ldouble.h>.
25897 (modfl): Define using libm_alias_ldouble.
25898 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25899 <libm-alias-ldouble.h>.
25900 (nearbyintl): Define using libm_alias_ldouble.
25901 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25902 <libm-alias-ldouble.h>.
25903 (nextafterl): Define using libm_alias_ldouble.
25904 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25905 <libm-alias-ldouble.h>.
25906 (nextupl): Define using libm_alias_ldouble.
25907 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25908 <libm-alias-ldouble.h>.
25909 (remquol): Define using libm_alias_ldouble.
25910 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25911 <libm-alias-ldouble.h>.
25912 (rintl): Define using libm_alias_ldouble.
25913 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25914 <libm-alias-ldouble.h>.
25915 (roundevenl): Define using libm_alias_ldouble.
25916 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25917 <libm-alias-ldouble.h>.
25918 (roundl): Define using libm_alias_ldouble.
25919 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25920 using libm_alias_ldouble.
25921 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25922 <libm-alias-ldouble.h>.
25923 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25924 Define using libm_alias_ldouble.
25925 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25926 <libm-alias-ldouble.h>.
25927 (sincosl): Define using libm_alias_ldouble.
25928 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25929 <libm-alias-ldouble.h>.
25930 (sinl): Define using libm_alias_ldouble.
25931 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25932 <libm-alias-ldouble.h>.
25933 (tanhl): Define using libm_alias_ldouble.
25934 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25935 <libm-alias-ldouble.h>.
25936 (tanl): Define using libm_alias_ldouble.
25937 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25938 <libm-alias-ldouble.h>.
25939 (totalorderl): Define using libm_alias_ldouble.
25940 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25941 <libm-alias-ldouble.h>.
25942 (totalordermagl): Define using libm_alias_ldouble.
25943 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25944 <libm-alias-ldouble.h>.
25945 (truncl): Define using libm_alias_ldouble.
25946 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25947 libm_alias_ldouble.
25948 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
25949 libm_alias_ldouble.
25950 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
25951 <libm-alias-ldouble.h>.
25952 (weak_alias): Do not undefine and redefine.
25953 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25954 (copysignl): Define with long_double_symbol only if [IS_IN
25955 (libc)].
25956 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
25957 <libm-alias-ldouble.h>.
25958 (weak_alias): Do not undefine and redefine.
25959 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25960 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
25961 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
25962 <libm-alias-ldouble.h>.
25963 (weak_alias): Do not undefine and redefine.
25964 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25965 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
25966 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
25967 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
25968 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
25969 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
25970 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
25971 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
25972 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
25973 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
25974 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
25975 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
25976 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
25977 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
25978 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
25979 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
25980 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25981 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25982 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25983 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25984 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25985 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25986 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25987 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25988 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25989 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25990
1e26d351
CD
259912017-10-06 Carlos O'Donell <carlos@redhat.com>
25992
25993 [BZ #22111]
25994 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25995 (tcache_thread_freeres): Set tcache_shutting_down before
25996 freeing the tcache.
25997 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25998 * malloc/tst-malloc-tcache-leak.c: New file.
25999
d1386762
RS
260002017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26001
26002 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
26003 back to powerpc32 file.
26004 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26005 (memrchr): Add __memrchr_power8 to ifunc list.
26006 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
26007 extra bytes for unaligned inputs.
26008
6dff1983
JM
260092017-10-06 Joseph Myers <joseph@codesourcery.com>
26010
26011 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
26012 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
26013 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
26014 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26015 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26016
86f9568a
JM
260172017-10-05 Joseph Myers <joseph@codesourcery.com>
26018
0db0b931
JM
26019 * sysdeps/arm/libm-test-ulps: Update.
26020
86f9568a
JM
26021 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
26022 <libm-alias-ldouble.h>.
26023 (asinhl): Define using libm_alias_ldouble.
26024 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
26025 <libm-alias-ldouble.h>.
26026 (cbrtl): Define using libm_alias_ldouble.
26027 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
26028 <libm-alias-ldouble.h>.
26029 (copysignl): Define using libm_alias_ldouble.
26030 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
26031 <libm-alias-ldouble.h>.
26032 (cosl): Define using libm_alias_ldouble.
26033 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
26034 <libm-alias-ldouble.h>.
26035 (erfl): Define using libm_alias_ldouble.
26036 (erfcl): Likewise.
26037 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
26038 <libm-alias-ldouble.h>.
26039 (fmal): Define using libm_alias_ldouble.
26040 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
26041 <libm-alias-ldouble.h>.
26042 (frexpl): Define using libm_alias_ldouble.
26043 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
26044 libm_alias_ldouble.
26045 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
26046 <libm-alias-ldouble.h>.
26047 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
26048 libm_alias_ldouble.
26049 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
26050 <libm-alias-ldouble.h>.
26051 (getpayloadl): Define using libm_alias_ldouble.
26052 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
26053 <libm-alias-ldouble.h>.
26054 (llrintl): Define using libm_alias_ldouble.
26055 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
26056 <libm-alias-ldouble.h>.
26057 (llroundl): Define using libm_alias_ldouble.
26058 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
26059 <libm-alias-ldouble.h>.
26060 (lrintl): Define using libm_alias_ldouble.
26061 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
26062 <libm-alias-ldouble.h>.
26063 (lroundl): Define using libm_alias_ldouble.
26064 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
26065 <libm-alias-ldouble.h>.
26066 (modfl): Define using libm_alias_ldouble.
26067 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
26068 <libm-alias-ldouble.h>.
26069 (nextupl): Define using libm_alias_ldouble.
26070 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
26071 <libm-alias-ldouble.h>.
26072 (remquol): Define using libm_alias_ldouble.
26073 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
26074 <libm-alias-ldouble.h>.
26075 (roundevenl): Define using libm_alias_ldouble.
26076 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
26077 <libm-alias-ldouble.h>.
26078 (roundl): Define using libm_alias_ldouble.
26079 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
26080 using libm_alias_ldouble.
26081 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
26082 <libm-alias-ldouble.h>.
26083 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
26084 <libm-alias-ldouble.h>.
26085 (setpayloadsigl): Define using libm_alias_ldouble.
26086 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
26087 <libm-alias-ldouble.h>.
26088 (sincosl): Define using libm_alias_ldouble.
26089 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
26090 <libm-alias-ldouble.h>.
26091 (sinl): Define using libm_alias_ldouble.
26092 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
26093 <libm-alias-ldouble.h>.
26094 (tanhl): Define using libm_alias_ldouble.
26095 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
26096 <libm-alias-ldouble.h>.
26097 (tanl): Define using libm_alias_ldouble.
26098 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
26099 <libm-alias-ldouble.h>.
26100 (totalorderl): Define using libm_alias_ldouble.
26101 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
26102 <libm-alias-ldouble.h>.
26103 (totalordermagl): Define using libm_alias_ldouble.
26104 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
26105 libm_alias_ldouble.
26106 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
26107 libm_alias_ldouble.
26108
9ec87fd2
SP
261092017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
26110
dd5bc7f1
SP
26111 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
26112 memmove_falkor.
26113 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26114 (__libc_ifunc_impl_list): Likewise.
26115 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
26116 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
26117
5bfb0404
SP
26118 * benchtests/bench-memmove-walk.c: New file.
26119 * benchtests/Makefile (string-benchset): Add it.
26120
36bb8edf
SP
26121 * benchtests/bench-memset-walk.c: New file.
26122 * benchtests/Makefile (string-benchset): Add it.
26123
9ec87fd2
SP
26124 * benchtests/bench-memcpy-walk.c: New file.
26125 * benchtests/Makefile (string-benchset): Add it.
26126
1e9522c6
FW
261272017-10-05 Florian Weimer <fweimer@redhat.com>
26128
26129 nscd: Eliminate compilation time dependency in the build output.
26130 * nscd/nscd_stat.c (STATDATA_VERSION)
26131 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
26132 (STATDATA_VERSION_FULL): New macro definitions.
26133 (compilation): Remove.
26134 (struct statdata): Adjust version member.
26135 (send_stats): Set version from STATDATA_VERSION_FULL.
26136 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
26137
644d3857
JM
261382017-10-05 Joseph Myers <joseph@codesourcery.com>
26139
26140 * configure.ac (--enable-add-ons): Remove option.
26141 (machine): Do not mention add-ons in comment.
26142 (LIBC_PRECONFIGURE): Likewise.
26143 (add_ons): Remove variable and sanity checks and logic to locate
26144 add-ons.
26145 (add_ons_automatic): Remove variable.
26146 (configured_add_ons): Likewise.
26147 (add_ons_sfx): Likewise.
26148 (add_ons_pfx): Likewise.
26149 (add_on_subdirs): Likewise.
26150 (sysnames_add_ons): Likewise. Remove loop over add-ons and
26151 consideration of add-ons in Implies handling.
26152 (sysdeps_add_ons): Likewise.
26153 * configure: Regenerated.
26154 * libidn/configure.ac: Remove.
26155 * libidn/configure: Likewise.
26156 * sysdeps/unix/inet/configure.ac: New file.
26157 * sysdeps/unix/inet/configure: New generated file.
26158 * sysdeps/unix/inet/Subdirs: Add libidn.
26159 * Makeconfig (sysdeps-srcdirs): Remove variable.
26160 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
26161 ($(common-objpfx)config.status): Do not depend on add-on files.
26162 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
26163 comment.
26164 (all-subdirs): Do not include $(add-on-subdirs).
26165 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
26166 * config.make.in (add-ons): Remove variable.
26167 (add-on-subdirs): Likewise.
26168 (sysdeps-add-ons): Likewise.
26169 * manual/Makefile (add-chapters): Remove.
26170 ($(objpfx)texis): Do not depend on $(add-chapters).
26171 (nonexamples): Do not handle $(add-chapters).
26172 (examples): Do not handle $(add-ons).
26173 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
26174 libc-texinfo.sh.
26175 * manual/install.texi (Installation): Do not mention add-ons.
26176 (--enable-add-ons): Do not document configure option.
26177 * INSTALL: Regenerated.
26178 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
26179 * manual/maint.texi (Hierarchy Conventions): Do not mention
26180 add-ons.
26181 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
26182 --enable-add-ons.
26183 * scripts/gen-sorted.awk: Do not handle Subdirs files from
26184 add-ons.
26185 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
26186 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
26187
19f82f35
AS
261882017-10-05 Andreas Schwab <schwab@suse.de>
26189
26190 [BZ #15142]
26191 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
26192 (_IO_flush_all_lockp): Always lock list_all_lock.
26193 (_IO_flush_all_linebuffered): Likewise.
26194 (_IO_unbuffer_all): Likewise.
26195
91e7cf98
FW
261962017-10-05 Florian Weimer <fweimer@redhat.com>
26197
26198 [BZ #15436]
26199 Do not flush stdio streams on abort.
26200 * stdlib/abort.c (fflush): Remove macro definition.
26201 (abort): Remove stages related to stdio flushing.
26202
0c251257
FW
262032017-10-05 Florian Weimer <fweimer@redhat.com>
26204
26205 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
26206
7ea59e3e
SL
262072017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
26208
26209 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26210
84d0e6f0
FW
262112017-10-05 Florian Weimer <fweimer@redhat.com>
26212
26213 * support/support_format_hostent.c (support_format_hostent): Add
26214 more error information for NETDB_INTERNAL.
26215
ee417882
L
262162017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26217
26218 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
26219 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
26220 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
26221 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
26222 AC_DEFINE if multi-arch is enabled.
26223 * sysdeps/i386/configure: Regenerated.
26224
a67029ff
L
262252017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26226
26227 * Makeconfig (+link-static-before-libc): Use
26228 $(DEFAULT-LDFLAGS-$(@F)).
26229 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
26230 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
26231 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
26232
5dba84b3
L
262332017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26234
26235 * elf/Makefile (tests): Add tst-main1.
26236 (modules-names): Add tst-main1mod.
26237 ($(objpfx)tst-main1): New.
26238 (CRT-tst-main1): Likewise.
26239 (LDFLAGS-tst-main1): Likewise.
26240 (LDLIBS-tst-main1): Likewise.
26241 (tst-main1mod.so-no-z-defs): Likewise.
26242 * elf/tst-main1.c: New file.
26243 * elf/tst-main1mod.c: Likewise.
26244
758f1bfa
L
262452017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26246
26247 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
26248
7e16a5d1
JM
262492017-10-04 Joseph Myers <joseph@codesourcery.com>
26250
26251 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
26252 (fma): Define using libm_alias_double.
26253 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
26254 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
26255 <math_ldbl_opt.h>.
26256 (fmal): Do not define as compat symbol here.
26257 * sysdeps/alpha/fpu/s_fma.c: New file.
26258
db4f87ba
SN
262592017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26260
26261 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
26262
72d13ed1
JM
262632017-10-04 Joseph Myers <joseph@codesourcery.com>
26264
32d372d5
JM
26265 [BZ #22229]
26266 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26267 <math_ldbl_opt.h>
26268 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26269 and libc.
26270 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
26271 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26272 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
26273 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
26274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26275 Include <math_ldbl_opt.h>
26276 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26277 and libc.
26278 (compat_symbol): Undefine and redefine.
26279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26280 <math_ldbl_opt.h>
26281 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26282 (compat_symbol): Undefine and redefine.
26283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
26284 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
26285 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
26286 GLIBC_2_1 for libm.
26287 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
26288 GLIBC_2.0 copysignl symbol.
26289 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26290 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
26291
72d13ed1
JM
26292 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
26293
11c4f501
FW
262942017-10-04 Florian Weimer <fweimer@redhat.com>
26295
26296 * scripts/check-local-headers.sh: Ignore nspr4 header file
26297 directory in addition to nspr.
26298
57b4af19
GT
262992017-10-04 Guido Trentalancia <guido@trentalancia.net>
26300
26301 [BZ #17956]
26302 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
26303 * configure: Regenerate.
26304 * crypt/Makefile (nss-cpp-flags): New variable.
26305 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
26306 (CPPFLAGS-md5-crypt.c): Use it.
26307 * scripts/check-local-headers.sh: Ignore nspr header file
26308 directory.
26309
64d1e08e
AS
263102017-10-04 Andreas Schwab <schwab@suse.de>
26311
26312 * nis/Makefile (services): Remove compat.
26313 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
26314 ($(objpfx)libnss_compat.so): Remove rule.
26315 * nis/Versions (libnss_compat): Remove.
26316 * nss/Makefile (services): Add compat.
26317 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
26318 * nss/Versions (libnss_compat): Define.
26319 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
26320 Don't include <rpc/types.h>. Replace bool_t by bool.
26321 * nss/nss_compat/compat-initgroups.c: Likewise.
26322 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
26323 instead of <rpcsrv/ypclnt.h>.
26324 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
26325 yp_get_default_domain.
26326 * nss/nss_compat/compat-pwd.c: Likewise.
26327 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
26328 yp_get_default_domain.
26329 * nss/nss_compat/nisdomain.c: New file.
26330 * nss/nss_compat/nisdomain.h: Likewise.
26331
86c27ade
SN
263322017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26333
26334 [BZ #22244]
26335 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
26336 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26337
8f8f8ef7
SN
263382017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26339
26340 [BZ #22243]
26341 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
26342 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
26343
95577475
L
263442017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26345
26346 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
26347 "movl main@GOTOFF(%ebx), %eax".
26348
02d2d892
L
263492017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26350
26351 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
26352 allow undefined _DYNAMIC in PIE libc.a.
26353 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26354 Likewse.
26355
0c609d19
L
263562017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26357
26358 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
26359 check _DYNAMIC.
26360
c34a19ed
L
263612017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26362
26363 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
26364 check _DYNAMIC.
26365
cdd4155d
L
263662017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26367
26368 * math/test-math-iscanonical.cc (error): Replace bool with int.
26369
4699cb8b
JM
263702017-10-03 Joseph Myers <joseph@codesourcery.com>
26371
d8f619b3
JM
26372 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
26373 (modf): Define using libm_alias_double, only if [!__modf].
26374 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
26375 <libm-alias-double.h>.
26376 (modf): Define using libm_alias_double, only if [!__modf].
26377 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
26378 compat symbol here.
26379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
26380 (weak_alias): Do not undefine and redefine.
26381 (strong_alias): Likewise.
26382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
26383 (weak_alias): Likewise.
26384 (strong_alias): Likewise.
26385
4699cb8b
JM
26386 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
26387 (logb): Define using libm_alias_double, only if [!__logb].
26388 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
26389 <libm-alias-double.h>.
26390 (logb): Define using libm_alias_double, only if [!__logb].
26391 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
26392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
26393 (weak_alias): Do not undefine and redefine.
26394 (strong_alias): Likewise.
26395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
26396 (weak_alias): Likewise.
26397 (strong_alias): Likewise.
26398
bcc4e4bb
L
263992017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26400
26401 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26402 Check SHARED instead PIC.
26403
39793865
JM
264042017-10-03 Joseph Myers <joseph@codesourcery.com>
26405
7f1cbdf8
JM
26406 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
26407 [!__fmaf] (fmaf): Define using libm_alias_float.
26408
39793865
JM
26409 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
26410 (frexp): Define using libm_alias_double.
26411 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
26412 <libm-alias-double.h>.
26413 (frexp): Define using libm_alias_double.
26414 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
26415 compat symbol here.
26416
aa0235df
GG
264172017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26418
26419 [BZ #22235]
26420 * math/math.h: Trivial fix for unbalanced parentheses in comment.
26421 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
26422 (CFLAGS-test-math-iscanonical.cc): New variable.
26423 * math/test-math-iscanonical.cc: New file.
26424 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
26425 Provide a C++ implementation based on function overloading,
26426 rather than using __MATH_TG, which uses C-only builtins.
26427 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
26428 Likewise.
26429 * sysdeps/powerpc/powerpc64le/Makefile
26430 (CFLAGS-test-math-iscanonical.cc): New variable.
26431
a1132b5e
JM
264322017-10-03 Joseph Myers <joseph@codesourcery.com>
26433
26434 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26435 (ceil): Define using libm_alias_double.
26436 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26437 (floor): Define using libm_alias_double.
26438 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26439 <libm-alias-double.h>.
26440 (llround): Define using libm_alias_double.
26441 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26442 <libm-alias-double.h>.
26443 (lround): Define using libm_alias_double.
26444 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26445 <libm-alias-double.h>.
26446 (nearbyint): Define using libm_alias_double.
26447 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26448 <libm-alias-double.h>.
26449 (remquo): Define using libm_alias_double.
26450 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26451 (rint): Define using libm_alias_double.
26452 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26453 (round): Define using libm_alias_double.
26454 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26455 (trunc): Define using libm_alias_double.
26456 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26457 <libm-alias-double.h>.
26458 (ceil): Define using libm_alias_double.
26459 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26460 <libm-alias-double.h>.
26461 (floor): Define using libm_alias_double.
26462 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26463 <libm-alias-double.h>.
26464 (llround): Define using libm_alias_double.
26465 [_LP64] (lround): Likewise.
26466 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26467 <libm-alias-double.h>.
26468 [!_LP64] (lround): Define using libm_alias_double.
26469 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26470 <libm-alias-double.h>.
26471 (nearbyint): Define using libm_alias_double.
26472 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
26473 <libm-alias-double.h>.
26474 (remquo): Define using libm_alias_double.
26475 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
26476 <libm-alias-double.h>.
26477 (rint): Define using libm_alias_double.
26478 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
26479 <libm-alias-double.h>.
26480 (round): Define using libm_alias_double.
26481 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
26482 <libm-alias-double.h>.
26483 (trunc): Define using libm_alias_double.
26484 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
26485 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
26486 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
26487 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
26488 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
26489 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
26490 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
26491 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
26492 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
26493
f275f64e
SN
264942017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26495
26496 * math/w_remainder.c: New file.
26497 * math/w_remainderf.c: New file.
26498 * math/w_remainderl.c: New file.
26499
b8818ab5
L
265002017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26501
26502 * elf/rtld.c (BOOTSTRAP_MAP): New.
26503 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
26504 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26505 Likewise.
26506 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26507 Likewise.
26508 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26509 Likewise.
26510
3d1870fa
ST
265112017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26512
26513 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
26514 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
26515 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
26516 rtld_hidden_data_ver): Define to empty.
26517 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
26518 __assert_perror_fail): Likewise.
26519 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26520 (__rewinddir): Likewise.
26521 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26522 (__profile_frequency): Likewise.
26523 * include/setjmp.h (__sigsetjmp): Likewise.
26524 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
26525 __libc_sigaction): Likewise.
26526 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
26527 not set hidden attribute.
26528 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
26529 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
26530 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
26531 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
26532 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
26533 __fxstatat64): Likewise.
26534 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26535 (__uname): Likewise.
26536 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26537 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
26538 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
26539 (NO_RTLD_HIDDEN): Set.
26540 * sysdeps/mach/hurd/configure: Refresh.
26541 * config.h.in: Refresh.
26542
527cd19c
JM
265432017-10-02 Joseph Myers <joseph@codesourcery.com>
26544
38722448
JM
26545 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
26546 (atan): Define using libm_alias_double.
26547 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
26548 (tan): Define using libm_alias_double.
26549 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
26550 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
26551
527cd19c
JM
26552 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
26553 define as weak alias of __atan. Do not define any aliases if
26554 [__atan].
26555 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
26556 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
26557 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
26558 as weak alias of __tan. Do not define any aliases if [__tan].
26559 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
26560 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
26561 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
26562 __atan.
26563 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
26564 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
26565 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
26566 and define as weak alias of __atan.
26567 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
26568 __atan.
26569 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26570 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26571 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26572 define as weak alias of __tan.
26573
bdc5c592
SN
265742017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26575
26576 * math/w_lgamma.c: New file.
26577 * math/w_lgammaf.c: New file.
26578 * math/w_lgammal.c: New file.
26579
bd4430c2
SN
265802017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26581
26582 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26583 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26584 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26585 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26586 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26587 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26588 * sysdeps/i386/fpu/w_log2f.c: New file.
26589 * sysdeps/i386/fpu/w_logf.c: New file.
26590 * sysdeps/i386/fpu/w_powf.c: New file.
26591 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26592 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26593 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26594
f7a0b063
SN
265952017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26596 H.J. Lu <hongjiu.lu@intel.com>
26597
26598 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26599 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26600 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26601 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26602 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26603 the new expf code.
26604 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26605 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26606 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26607 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26608 * sysdeps/i386/fpu/w_exp2f.c: New file.
26609 * sysdeps/i386/fpu/w_expf.c: New file.
26610 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26611 * sysdeps/x86_64/fpu/w_expf.c: New file.
26612
72d3d281
SN
266132017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26614
26615 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26616 (log2f): Likewise.
26617 (powf): Likewise.
26618 * math/w_log2f.c: New file.
26619 * math/w_logf.c: New file.
26620 * math/w_powf.c: New file.
26621 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26622 * math/w_logf_compat.c (__logf_compat): Likewise.
26623 * math/w_powf_compat.c (__powf_compat): Likewise.
26624 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26625 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26626 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26627 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26628 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26629 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26630 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26631 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26632 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26633 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26634 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26635 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26636 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26637 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26638 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26640 Likewise.
26641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26642 Likewise.
26643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26644 Likewise.
26645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26646 Likewise.
26647 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26648 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26649 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26650 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26651 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26653 Likewise.
26654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26655 Likewise.
26656 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26657 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26658 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26659
59ba2d2b
RS
266602017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26661
26662 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26663 (sysdep_routines): Add memrchr_power8.
26664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26665 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26666 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26667 New file.
26668 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26669 (memrchr): Add __memrchr_power8 to ifunc list.
26670 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26671
397286ea
L
266722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26673
26674 [BZ #18822]
26675 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26676 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26677 libc_hidden_def.
26678 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26679 (__posix_fallocate64_l64): Likewise.
26680
d0a4512b
L
266812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26682
26683 [BZ #18822]
26684 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26685 (__sched_setaffinity_new): Add libc_hidden_proto and
26686 libc_hidden_def.
26687
c0769f70
L
266882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26689
26690 [BZ #18822]
26691 * include/glob.h (__glob64): Add libc_hidden_proto.
26692 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
26693 libc_hidden_def.
26694
0e7d5b6e
L
266952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26696
26697 [BZ #18822]
26698 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
26699 attribute_hidden.
26700
bde06c87
L
267012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26702
26703 [BZ #18822]
26704 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
26705
fa426590
L
267062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26707
26708 [BZ #18822]
26709 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
26710 libc_hidden_def.
26711
2f8a05d8
L
267122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26713
26714 [BZ #18822]
26715 * csu/version.c (__libc_print_version): Add attribute_hidden.
26716
7bfd08ac
L
267172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26718
26719 [BZ #18822]
26720 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26721
0e1fd06c
L
267222017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26723
26724 [BZ #18822]
26725 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26726
36e7ae1e
L
267272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26728
26729 [BZ #18822]
26730 * nscd/nscd_helper.c (__nis_hash): New prototype.
26731
87078544
L
267322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26733
26734 [BZ #18822]
26735 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26736 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26737 libc_hidden_def.
26738 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26739 * termios/tcgetattr.c (__tcgetattr): Likewise.
26740
dd3121df
L
267412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26742
26743 [BZ #18822]
26744 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26745 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26746 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26747 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26748 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26749
047d1a81
L
267502017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26751
26752 [BZ #18822]
26753 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26754
fd331b11
L
267552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26756
26757 [BZ #18822]
26758 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26759 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26760
57f859bd
L
267612017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26762
26763 [BZ #18822]
26764 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26765
d1903329
L
267662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26767
26768 [BZ #18822]
26769 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26770 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26771
b4744101
L
267722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26773
26774 [BZ #18822]
26775 * include/ifreq.h: New file.
26776 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26777 (__ifreq): Likewise.
26778 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26779 (__ifreq): Likewise.
26780
43b7dfd1
L
267812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26782
26783 [BZ #18822]
26784 * include/idna.h: New file.
26785 * inet/getnameinfo.c: Include <idna.h> instead of
26786 <libidn/idna.h>.
26787 (__idna_to_unicode_lzlz): Removed.
26788 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26789 <libidn/idna.h>.
26790 (__idna_to_ascii_lz): Removed.
26791 (__idna_to_unicode_lzlz): Likewise.
26792
2c0cd8f8
L
267932017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26794
26795 [BZ #18822]
26796 * include/plural-exp.h: New file.
26797 * intl/plural-exp.c: Include <plural-exp.h> instead of
26798 "plural-exp.h".
26799
8369d216
L
268002017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26801
26802 [BZ #18822]
26803 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26804 "getsourcefilter.h".
26805 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26806 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26807 "getsourcefilter.h".
26808 (__get_sol): Removed.
26809
a0aef783
L
268102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26811
26812 [BZ #18822]
26813 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26814 to ...
26815 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26816
3ee8209b
L
268172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26818
26819 [BZ #18822]
26820 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26821 attribute_hidden.
26822
6036fc38
L
268232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26824
26825 [BZ #18822]
26826 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26827
fe84fed0
L
268282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26829
26830 [BZ #18822]
26831 * include/search.h (__tdestroy): Add libc_hidden_proto.
26832 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26833
048dd681
L
268342017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26835
26836 [BZ #18822]
26837 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26838
6e342af6
L
268392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26840
26841 [BZ #18822]
26842 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26843 attribute_hidden.
26844
6a088436
L
268452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26846
26847 [BZ #18822]
26848 * include/signal.h (__kill): Add libc_hidden_proto.
26849 (__sigblock): Likewise.
26850 (__sigprocmask): Likewise.
26851 (__sigaltstack): Likewise.
26852 * signal/kill.c (__kill): Add libc_hidden_def.
26853 * signal/sigblock.c (__sigblock): Likewise.
26854 * signal/sigprocmask.c (__sigprocmask): Likewise.
26855 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26856 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26857 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26858 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26859 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26860 Likewise.
26861 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26862 Likewise.
26863 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26864 (__sigprocmask): Likewise.
26865 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26866 Likewise.
26867 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26868 (__sigprocmask): Likewise.
26869 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26870 Likewise.
26871
78cf1d74
L
268722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26873
26874 [BZ #18822]
26875 * include/string.h (__strsep): Add libc_hidden_proto.
26876 * string/strsep.c (__strsep): Add libc_hidden_def.
26877
85b35894
L
268782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26879
26880 [BZ #18822]
26881 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26882 attribute_hidden.
26883 (__spawni): Likewise.
26884
225f7eec
L
268852017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26886
26887 [BZ #18822]
26888 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26889 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26890 libc_hidden_def.
26891
372fe247
L
268922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26893
26894 [BZ #18822]
26895 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26896
9e5ee8b8
L
268972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26898
26899 [BZ #18822]
26900 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26901 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26902 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26903 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26904 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26905 Likewise.
26906 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26907 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26908
2ff16592
L
269092017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26910
26911 [BZ #18822]
26912 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26913 (__dcigettext): Likewise.
26914
b5648377
L
269152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26916
26917 [BZ #18822]
26918 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26919 libc_hidden_proto.
26920 (__get_nprocs): Likewise.
26921 (__get_phys_pages): Likewise.
26922 (__get_avphys_pages): Likewise.
26923 (__get_child_max): Add attribute_hidden.
26924 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26925 (__get_nprocs): Likewise.
26926 (__get_phys_pages): Likewise.
26927 (__get_avphys_pages): Likewise.
26928 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26929 libc_hidden_def.
26930 (__get_nprocs): Likewise.
26931 (__get_phys_pages): Likewise.
26932 (__get_avphys_pages): Likewise.
26933 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26934 libc_hidden_def.
26935 (__get_nprocs_conf): Likewise.
26936 (__get_phys_pages): Likewise.
26937 (__get_avphys_pages): Likewise.
26938
0389a6aa
L
269392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26940
26941 [BZ #18822]
26942 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26943 attribute_hidden.
26944 (__netlink_close): Likewise.
26945 (__netlink_free_handle): Likewise.
26946 (__netlink_request): Likewise.
26947
d48354d8
L
269482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26949
26950 [BZ #18822]
26951 * include/rpc/rpc.h (__rpc_thread_variables): Add
26952 attribute_hidden.
26953 (__rpc_thread_svc_cleanup): Likewise.
26954 (__rpc_thread_clnt_cleanup): Likewise.
26955 (__rpc_thread_key_cleanup): Likewise.
26956
d6daff12
L
269572017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26958
26959 [BZ #18822]
26960 * include/sys/uio.h (__readv): Add libc_hidden_proto.
26961 (__writev): Likewise.
26962 * misc/readv.c (__readv): Add libc_hidden_def.
26963 * misc/writev.c (__writev): Likewise.
26964 * sysdeps/posix/readv.c (__readv): Likewise.
26965 * sysdeps/posix/writev.c (__writev): Likewise.
26966 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
26967 (__readv): Likewise.
26968 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
26969 (__writev): Likewise.
26970
b68f8620
L
269712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26972
26973 [BZ #18822]
26974 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
26975 (__regcomp): Add libc_hidden_proto.
26976 (__regexec): Likewise.
26977 (__regfree): Likewise.
26978 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
26979 (__regfree): Likewise.
26980 * posix/regexec.c (__regexec): Likewise.
26981
59c04e67
L
269822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26983
26984 [BZ #18822]
26985 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26986 (__getutent): Likewise.
26987 (__getutid): Likewise.
26988 (__getutline): Likewise.
26989 (__pututline): Likewise.
26990 (__getutent_r): Likewise.
26991 (__getutid_r): Likewise.
26992 (__getutline_r): Likewise.
26993 (__utmpname): Add attribute_hidden.
26994 (__setutent): Likewise.
26995 (__endutent): Likewise.
26996 * login/getutent.c (__getutent): Add libc_hidden_def.
26997 * login/getutent_r.c (__getutent_r): Likewise.
26998 (__pututline): Likewise.
26999 * login/getutid.c (__getutid): Likewise.
27000 * login/getutid_r.c (__getutid_r): Likewise.
27001 * login/getutline.c (__getutline): Likewise.
27002 * login/getutline_r.c (__getutline_r): Likewise.
27003 * login/updwtmp.c (__updwtmp): Likewise.
27004
4587a421
L
270052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27006
27007 [BZ #18822]
27008 * include/dirent.h (__opendir): Always add attribute_hidden.
27009 (__fdopendir): Likewise.
27010 (__closedir): Likewise.
27011 (__readdir): Likewise.
27012 (__readdir64): Add libc_hidden_proto.
27013 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
27014 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
27015 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
27016 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
27017 New alias.
27018
9635ce69
L
270192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27020
27021 [BZ #18822]
27022 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
27023 * include/netdb.h (__gethostbyaddr_r): Likewise.
27024 (__gethostbyname_r): Likewise.
27025 (__gethostbyname2_r): Likewise.
27026 (__getnetbyaddr_r): Likewise.
27027 (__getnetbyname_r): Likewise.
27028 (__getservbyname_r): Likewise.
27029 (__getservbyport_r): Likewise.
27030 (__getprotobyname_r): Likewise.
27031 (__getprotobynumber_r): Likewise.
27032 (__getnetgrent_r): Likewise.
27033 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
27034 (__getrpcbynumber_r): Likewise.
27035 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
27036
2e0a6909
L
270372017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27038
27039 [BZ #18822]
27040 * include/stdio.h (__fcloseall): Add attribute_hidden.
27041 (__getline): Likewise.
27042 (__path_search): Likewise.
27043 (__gen_tempname): Likewise.
27044 (__libc_message): Likewise.
27045 (__flockfile): Likewise.
27046 (__funlockfile): Likewise.
27047 (__fxprintf): Likewise.
27048 (__fxprintf_nocancel): Likewise.
27049
94fd682c
L
270502017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27051
27052 [BZ #18822]
27053 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
27054 (__sgetsgent_r): Likewise.
27055
e1b33bba
L
270562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27057
27058 [BZ #18822]
27059 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
27060 (__statfs64): Likewise.
27061 (__fstatfs64): Likewise.
27062 * include/sys/statvfs.h (__statvfs64): Likewise.
27063 (__fstatvfs64): Likewise.
27064 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
27065 (__statfs_filesize_max): Likewise.
27066 (__statfs_symlinks): Likewise.
27067 (__statfs_chown_restricted): Likewise.
27068
b0f56784
L
270692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27070
27071 [BZ #18822]
27072 * include/time.h (__tzstring): Add attribute_hidden.
27073 (__tzfile_read): Likewise.
27074 (__tzfile_compute): Likewise.
27075 (__tzfile_default): Likewise.
27076 (__tzset_parse_tz): Likewise.
27077 (__offtime): Likewise.
27078 (__asctime_r): Likewise.
27079 (__tzset): Likewise.
27080 (__tz_convert): Likewise.
27081 (__getdate_r): Likewise.
27082 (__getclktck): Likewise.
27083
a4338d99
L
270842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27085
27086 [BZ #18822]
27087 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
27088 (__nscd_unmap): Likewise.
27089 (__nscd_cache_search): Likewise.
27090 (__nscd_get_nl_timestamp): Likewise.
27091 (__nscd_getpwnam_r): Likewise.
27092 (__nscd_getpwuid_r): Likewise.
27093 (__nscd_getgrnam_r): Likewise.
27094 (__nscd_getgrgid_r): Likewise.
27095 (__nscd_gethostbyname_r): Likewise.
27096 (__nscd_gethostbyname2_r): Likewise.
27097 (__nscd_gethostbyaddr_r): Likewise.
27098 (__nscd_getai): Likewise.
27099 (__nscd_getgrouplist): Likewise.
27100 (__nscd_getservbyname_r): Likewise.
27101 (__nscd_getservbyport_r): Likewise.
27102 (__nscd_innetgr): Likewise.
27103 (__nscd_setnetgrent): Likewise.
27104
a2ca1652
L
271052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27106
27107 [BZ #18822]
27108 * include/gmp.h: Declare internal functions only if _ISOMAC is
27109 undefined.
27110 (__mpn_extract_double): Add attribute_hidden.
27111 (__mpn_extract_long_double): Likewise.
27112 (__mpn_extract_float128): Likewise.
27113 (__mpn_construct_float): Likewise.
27114 (__mpn_construct_double): Likewise.
27115 (__mpn_construct_long_double): Likewise.
27116 (__mpn_construct_float128): Likewise.
27117 (mpn_add_1): Likewise.
27118 (mpn_addmul_1): Likewise.
27119 (mpn_add_n): Likewise.
27120 (mpn_cmp): Likewise.
27121 (mpn_divrem): Likewise.
27122 (mpn_lshift): Likewise.
27123 (mpn_mul): Likewise.
27124 (mpn_mul_1): Likewise.
27125 (mpn_rshift): Likewise.
27126 (mpn_sub_1): Likewise.
27127 (mpn_submul_1): Likewise.
27128 (mpn_sub_n): Likewise.
27129
44af8a32
L
271302017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27131
27132 [BZ #18822]
27133 * include/wchar.h (__wcsnlen): Add attribute_hidden.
27134 (__wcscat): Likewise.
27135 (__btowc): Likewise.
27136 (__wcrtomb): Likewise.
27137 (__mbsrtowcs): Likewise.
27138 (__wcsrtombs): Likewise.
27139 (__mbsnrtowcs): Likewise.
27140 (__wcsnrtombs): Likewise.
27141 (__wcsncpy): Likewise.
27142 (__wcpncpy): Likewise.
27143 (__wmemcpy): Likewise.
27144 (__wmempcpy): Likewise.
27145 (__wmemmove): Likewise.
27146 (__wcschrnul): Likewise.
27147 (__vfwscanf): Likewise.
27148 (__vswprintf): Likewise.
27149 (__fwprintf): Likewise.
27150 (__vfwprintf): Likewise.
27151
783cd767
L
271522017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27153
27154 [BZ #18822]
27155 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
27156 (__getgrgid_r): Likewise.
27157 (__getgrnam_r): Likewise.
27158 * include/pwd.h (__getpwuid_r): Likewise.
27159 (__getpwnam_r): Likewise.
27160 (__fgetpwent_r): Likewise.
27161 * include/shadow.h (__getspnam_r): Likewise.
27162 (__sgetspent_r): Likewise.
27163 (__fgetspent_r): Likewise.
27164
7ec4b39a
L
271652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27166
27167 [BZ #18822]
27168 * include/unistd.h (__access): Add attribute_hidden.
27169 (__lseek64): Likewise.
27170 (__libc_pread64): Likewise.
27171 (__pipe2): Likewise.
27172 (__sleep): Likewise.
27173 (__chdir): Likewise.
27174 (__fchdir): Likewise.
27175 (__getcwd): Likewise.
27176 (__rmdir): Likewise.
27177 (__execvpe): Likewise.
27178 (__execve): Likewise.
27179 (__setsid): Likewise.
27180 (__getuid): Likewise.
27181 (__geteuid): Likewise.
27182 (__getgid): Likewise.
27183 (__getegid): Likewise.
27184 (__getgroups): Likewise.
27185 (__group_member): Likewise.
27186 (__ttyname_r): Likewise.
27187 (__isatty): Likewise.
27188 (__readlink): Likewise.
27189 (__unlink): Likewise.
27190 (__gethostname): Likewise.
27191 (__profil): Likewise.
27192 (__getdtablesize): Likewise.
27193 (__brk): Likewise.
27194 (__ftruncate): Likewise.
27195 (__ftruncate64): Likewise.
27196
8345a760
L
271972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27198
27199 [BZ #18822]
27200 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
27201 * argp/argp-fs-xinl.c: Likewise.
27202 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
27203 * argp/argp-parse.c: Include <argp.h>.
27204 * argp/argp-xinl.c: Likewise.
27205 * include/argp-fmtstream.h: New file.
27206 * include/argp.h (__argp_error): Add attribute_hidden.
27207 (__argp_failure): Likewise.
27208 (__argp_input): Likewise.
27209 (__argp_state_help): Likewise.
27210
c26dd7c6
L
272112017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27212
27213 [BZ #18822]
27214 * include/wchar.h (____wcstof_l_internal): New prototype.
27215 (____wcstod_l_internal): Likewise.
27216 (____wcstold_l_internal): Likewise.
27217 (____wcstol_l_internal): Likewise.
27218 (____wcstoul_l_internal): Likewise.
27219 (____wcstoll_l_internal): Likewise.
27220 (____wcstoull_l_internal): Likewise.
27221 (____wcstof128_l_internal): Likewise.
27222 * sysdeps/ieee754/float128/wcstof128.c
27223 (____wcstof128_l_internal): Removed.
27224 * sysdeps/ieee754/float128/wcstof128_l.c
27225 (____wcstof128_l_internal): Likewise.
27226 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
27227 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
27228 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
27229 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
27230 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
27231 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
27232 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
27233 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
27234 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
27235 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
27236
3aff5644
L
272372017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27238
27239 [BZ #18822]
27240 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
27241 instead of <sys/statvfs.h>.
27242 (__internal_statvfs): Removed.
27243 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
27244 instead of <sys/statvfs.h>.
27245 (__internal_statvfs64): Removed.
27246 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
27247 "internal_statvfs.h" instead of <sys/statvfs.h>.
27248 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
27249 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
27250 instead of <sys/statvfs.h>.
27251 (__internal_statvfs): Removed.
27252 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
27253 instead of <sys/statvfs.h>.
27254 (__internal_statvfs64): Removed.
27255
8bcdb7e0
L
272562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27257
27258 [BZ #18822]
27259 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
27260 (__gconv_close): Likewise.
27261 (__gconv): Likewise.
27262 (__gconv_find_transform): Likewise.
27263 (__gconv_lookup_cache): Likewise.
27264 (__gconv_compare_alias_cache): Likewise.
27265 (__gconv_load_cache): Likewise.
27266 (__gconv_get_path): Likewise.
27267 (__gconv_close_transform): Likewise.
27268 (__gconv_release_cache): Likewise.
27269 (__gconv_find_shlib): Likewise.
27270 (__gconv_release_shlib): Likewise.
27271 (__gconv_get_builtin_trans): Likewise.
27272 (__gconv_compare_alias): Likewise.
27273 * include/dlfcn.h (_dlerror_run): Likewise.
27274 * include/stdio.h (__fortify_fail_abort): Likewise.
27275 * include/time.h (__tz_compute): Likewise.
27276 (__strptime_internal): Likewise.
27277 * intl/gettextP.h (_nl_find_domain): Likewise.
27278 (_nl_load_domain): Likewise.
27279 (_nl_find_msg): Likewise.
27280 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
27281 (EXTRACT_PLURAL_EXPRESSION): Likewise.
27282 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
27283 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
27284 (__gai_find_request): Likewise.
27285 (__gai_remove_request): Likewise.
27286 (__gai_notify): Likewise.
27287 (__gai_notify_only): Likewise.
27288 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27289 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27290 (_dl_non_dynamic_init): Likewise.
27291 (_dl_aux_init): Likewise.
27292 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
27293 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27294 Likewise.
27295 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
27296 (__wcsmbs_clone_conv): Likewise.
27297 (__wcsmbs_named_conv): Likewise.
27298
8ed3b643
L
272992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27300
27301 [BZ #18822]
27302 * include/stdlib.h (__random): Add attribute_hidden.
27303 (__random_r): Likewise.
27304 (__srandom_r): Likewise.
27305 (__initstate_r): Likewise.
27306 (__setstate_r): Likewise.
27307 (__erand48_r): Likewise.
27308 (__nrand48_r): Likewise.
27309 (__jrand48_r): Likewise.
27310 (__srand48_r): Likewise.
27311 (__seed48_r): Likewise.
27312 (__lcong48_r): Likewise.
27313 (__drand48_iterate): Likewise.
27314 (__setenv): Likewise.
27315 (__unsetenv): Likewise.
27316 (__clearenv): Likewise.
27317 (__ptsname_r): Likewise.
27318 (__posix_openpt): Likewise.
27319 (__add_to_environ): Likewise.
27320 (__realpath): Add libc_hidden_proto.
27321 (__ecvt_r): Likewise.
27322 (__fcvt_r): Likewise.
27323 (__qecvt_r): Likewise.
27324 (__qfcvt_r): Likewise.
27325 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
27326 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
27327
ef9b6f73
L
273282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27329
27330 [BZ #18822]
27331 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
27332 * include/time.h (__mktime_internal): Likewise.
27333 * libio/iolibio.h (__fopen_internal): Likewise.
27334
8da92e72
JDA
273352017-10-01 John David Anglin <danglin@gcc.gnu.org>
27336
27337 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
27338 pointer in frame.
27339 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
27340 Correct offset used to restore PIC register.
27341
388784cf
JDA
273422017-09-30 John David Anglin <danglin@gcc.gnu.org>
27343
27344 [BZ libc/22165]
27345 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
27346 code to load address of __getcontext_ret when generating PIC code.
27347
2000067a
L
273482017-09-30 H.J. Lu <hongjiu.lu@intel.com>
27349
27350 * elf/Makefile (tests-static-internal): Add
27351 tst-tls1-static-non-pie.
27352 (LDFLAGS-tst-tls1-static-non-pie): New.
27353 * elf/tst-tls1-static-non-pie.c: New file.
27354
1e2bffd0
JM
273552017-09-29 Joseph Myers <joseph@codesourcery.com>
27356
27357 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
27358 (asinh): Define using libm_alias_double.
27359 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
27360 (cbrt): Define using libm_alias_double.
27361 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
27362 <libm-alias-double.h>.
27363 (copysign): Define using libm_alias_double.
27364 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
27365 (erf): Define using libm_alias_double.
27366 (erfc): Likewise.
27367 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
27368 (expm1): Define using libm_alias_double.
27369 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
27370 (fabs): Define using libm_alias_double.
27371 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
27372 libm_alias_double.
27373 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
27374 <libm-alias-double.h>.
27375 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
27376 libm_alias_double.
27377 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
27378 <libm-alias-double.h>.
27379 (getpayload): Define using libm_alias_double.
27380 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
27381 <libm-alias-double.h>.
27382 (llrint): Define using libm_alias_double.
27383 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
27384 (lrint): Define using libm_alias_double.
27385 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
27386 <libm-alias-double.h>.
27387 (nextup): Define using libm_alias_double.
27388 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
27389 <libm-alias-double.h>.
27390 (roundeven): Define using libm_alias_double.
27391 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
27392 libm_alias_double.
27393 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
27394 <libm-alias-double.h>.
27395 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
27396 using libm_alias_double.
27397 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
27398 (cos): Define using libm_alias_double.
27399 (sin): Likewise.
27400 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27401 <libm-alias-double.h>.
27402 (sincos): Define using libm_alias_double.
27403 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27404 (tanh): Define using libm_alias_double.
27405 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
27406 <libm-alias-double.h>.
27407 (totalorder): Define using libm_alias_double.
27408 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
27409 <libm-alias-double.h>.
27410 (totalordermag): Define using libm_alias_double.
27411 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
27412 libm_alias_double.
27413 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
27414 libm_alias_double.
27415 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
27416 <libm-alias-double.h>.
27417 (getpayload): Define using libm_alias_double.
27418 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
27419 <libm-alias-double.h>.
27420 (roundeven): Define using libm_alias_double.
27421 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
27422 <libm-alias-double.h>.
27423 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
27424 <libm-alias-double.h>.
27425 (totalorder): Define using libm_alias_double.
27426 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
27427 <libm-alias-double.h>.
27428 (totalordermag): Define using libm_alias_double.
27429 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
27430 libc compat symbol here.
27431 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27432 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27433 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27434 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27435 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27436 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27437 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27438 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27439 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27440 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27441
8172aad9
L
274422017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27443
27444 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27445 _dl_relocate_static_pie instead of _dl_start to compute load
27446 address in static PIE. Return 0 if _DYNAMIC is undefined for
27447 static executable.
27448
54464e74
L
274492017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27450
27451 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27452 _DYNAMIC is undefined for static executable.
27453
f6c5e5bc
L
274542017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27455
27456 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27457
2f92505d
JM
274582017-09-29 Joseph Myers <joseph@codesourcery.com>
27459
27460 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27461
bd8d53bb
WD
274622017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27463
27464 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27465 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27466 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27467 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27468 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27469 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27470 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27471 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27472 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
27473 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27474 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
27475 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27476 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27477 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27478 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27479 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27480 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
27481
fffb1507
WD
274822017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27483
27484 * math/bits/cmathcalls.h (cimag): Remove inline.
27485 (creal): Remove inline.
27486 (conj): Remove inline.
27487
4ea49f4c
SN
274882017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27489
27490 * math/Makefile (type-float-routines): Add e_powf_log2_data.
27491 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
27492 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
27493 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
27494 (issignalingf_inline): Likewise.
27495 (POWF_LOG2_TABLE_BITS): Likewise.
27496 (POWF_LOG2_POLY_ORDER): Likewise.
27497 (POWF_SCALE_BITS): Likewise.
27498 (POWF_SCALE): Likewise.
27499 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
27500 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
27501 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
27502
875c76c7
SN
275032017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27504
27505 * math/Makefile (type-float-routines): Add e_log2f_data.
27506 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
27507 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
27508 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
27509 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
27510 * sysdeps/i386/fpu/e_log2f_data.c: New file.
27511 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
27512 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
27513
90c42e40
SN
275142017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27515
27516 * math/Makefile (type-float-routines): Add e_logf_data.
27517 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
27518 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
27519 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
27520 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
27521 * sysdeps/i386/fpu/e_logf_data.c: New file.
27522 * sysdeps/ia64/fpu/e_logf_data.c: New file.
27523 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
27524
4088d8dd
L
275252017-09-28 H.J. Lu <hongjiu.lu@intel.com>
27526
27527 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
27528 undefined _DYNAMIC in PIE libc.a.
27529 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27530 Likewse.
27531
4d3693ec
WD
275322017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27533
27534 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
27535 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
27536 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
27537 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
27538 (__signbit): Remove.
27539 (__signbitl): Remove.
27540 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
27541 (__signbit): Remove.
27542 (__signbitl): Remove.
27543 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
27544 (__signbit): Remove.
27545 (__signbitl): Remove.
27546 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
27547 (__signbit): Remove.
27548 (__signbitl): Remove.
27549 * sysdeps/tile/bits/mathinline.h: Delete file.
27550 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
27551 (__signbit): Remove.
27552 (__signbitl): Remove.
27553
1e6d0723
WD
275542017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27555
27556 * math/math.h: Improve handling of C99 isgreater macros.
27557 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27558 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
27559 * sysdeps/powerpc/bits/mathinline.h: Likewise.
27560 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27561 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
27562
b2f03cf3
SN
275632017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
27564
27565 * sysdeps/aarch64/libm-test-ulps: Update.
27566
f124cb38
JM
275672017-09-28 Joseph Myers <joseph@codesourcery.com>
27568
27569 [BZ #22225]
27570 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27571 math_opt_barrier on argument when doing arithmetic on it.
27572 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27573 Likewise. Use math_force_eval not math_opt_barrier after
27574 arithmetic.
27575 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27576 math_opt_barrier on argument when doing arithmetic on it.
27577 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27578 Likewise.
27579
7edd0691
L
275802017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27581
27582 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27583 libc_hidden_def.
27584 (__freeifaddrs): Likewise.
27585
2c7bbfaf
ST
275862017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27587
27588 * include/dirent.h (__dirfd): New declaration.
27589 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27590 alias.
27591 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27592 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27593 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
27594 * include/unistd.h (__revoke): New declaration.
27595 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27596 alias.
27597 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27598 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27599 revoke.
64a4af28
ST
27600 * include/dirent.h (__seekdir): New declaration.
27601 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27602 redefine as weak alias.
27603 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27604 of seekdir.
4009ddc6
ST
27605 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27606 and use libc_hidden_def on them.
27607 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27608 them.
27609 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27610 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27611 instead of getifaddrs and freeifaddrs.
2c7bbfaf 27612
825adeee
L
276132017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27614
27615 [BZ #18822]
27616 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27617 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27618 (__dso_handle): Remove declaration.
27619 * dlfcn/tstatexit.c (__dso_handle): Removed.
27620 (main): Don't check __dso_handle.
27621 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27622 (main): Don't check __dso_handle.
27623 * include/dso_handle.h: New file.
27624 * malloc/mtrace.c: Include <dso_handle.h>.
27625 (mtrace): Pass __dso_handle directly.
27626 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27627 (__dso_handle): Remove declaration.
27628 (__pthread_atfork): Pass __dso_handle directly.
27629 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27630 (__dso_handle): Removed.
27631 * posix/wordexp-test.c: Include <dso_handle.h>.
27632 (__dso_handle): Remove declaration.
27633 (__app_register_atfork): Pass __dso_handle directly.
27634 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27635 (__dso_handle): Remove declaration.
27636 (at_quick_exit): Pass __dso_handle directly.
27637 * stdlib/atexit.c: Include <dso_handle.h>.
27638 (__dso_handle): Remove declaration.
27639 (atexit): Pass __dso_handle directly.
27640 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27641 (__dso_handle): Removed.
27642
bfb0deb3
JM
276432017-09-26 Joseph Myers <joseph@codesourcery.com>
27644
27645 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27646 using VDSO.
27647
cebcb9f8
AM
276482017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27649
27650 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27651 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27652 values to correct default value for given type.
27653
592d5c75
L
276542017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27655
27656 [BZ #22101]
27657 * elf/Makefile (tests): Add tst-debug1.
27658 ($(objpfx)tst-debug1): New.
27659 ($(objpfx)tst-debug1.out): Likewise.
27660 ($(objpfx)tst-debug1mod1.so): Likewise.
27661 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27662 with p_filesz == 0.
27663 * elf/tst-debug1.c: New file.
27664
2d9193f2
JM
276652017-09-26 Joseph Myers <joseph@codesourcery.com>
27666
27667 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27668 Define using __ifunc.
27669
4c5a7a02
TMQMF
276702017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27671
27672 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27673 exp2f() values.
27674
12ef66c4
JM
276752017-09-26 Joseph Myers <joseph@codesourcery.com>
27676
27677 [BZ #22156]
27678 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
27679
44dade71
FW
276802017-09-26 Florian Weimer <fweimer@redhat.com>
27681
27682 * resolv/Makefile (tests-internal): Fix typo in comment.
27683
eaca16f1
FW
276842017-09-26 Florian Weimer <fweimer@redhat.com>
27685
27686 * resolv/nss_dns/dns-host.c: Fix typo in comment.
27687
ccf970c7
AZ
276882017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27689
5f9f31ad
AZ
27690 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
27691 Use an union instead of a max_align_t array for __space,
27692 so that __space is the same size on all platforms.
27693 * malloc/scratch_buffer_grow_preserve.c
27694 (__libc_scratch_buffer_grow_preserve): Likewise.
27695
ccf970c7
AZ
27696 [BZ #22183]
27697 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
27698 version to 2.
27699 * posix/Makefile (routines): Add glob-lstat-compat and
27700 glob64-lstat-compat.
27701 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
27702 * posix/glob-lstat-compat.c: New file.
27703 * posix/glob64-lstat-compat.c: Likewise.
27704 * posix/tst-glob_lstat_compat.c: Likewise.
27705 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
27706 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
27707 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
27708 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
27709 Likewise.
27710 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
27711 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27712 * posix/glob.c (glob_lstat): New function.
27713 (glob): Rename to __glob and add versioned symbol to 2.27.
27714 (glob_in_dir): Use glob_lstat.
27715 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
27716 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27717 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27718 2.27.
27719 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27720 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27721 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27722 gl_lstat on glob call.
27723 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27724 and glob64 symbols.
27725 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27726 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27727 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27728 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27729 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27730 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27731 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27732 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27733 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27734 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27735 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27736 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27738 Likewise.
27739 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27741 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27742 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27743 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27744 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27745 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27748 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27749 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27750 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27751
b4396163
L
277522017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27753
27754 * configure.ac (AS): Require binutils 2.25 or later.
27755 * configure: Regenerated.
27756
8f834987
PP
277572017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27758
27759 [BZ #22207]
27760 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27761 VM size.
27762
3de93d19
DD
277632017-09-25 DJ Delorie <dj@redhat.com>
27764
27765 [BZ #22161]
27766 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27767 resetting timeout.
27768
9947638d
SL
277692017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27770
27771 * sysdeps/ieee754/dbl-64/sincos32.h
27772 [SINCCOS32_H]: Remove define.
27773 [SINCOS32_H]: Define.
27774
f5f0f526
SN
277752017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27776
27777 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27778 (exp2f): Likewise.
27779 * math/w_exp2f.c: New file.
27780 * math/w_expf.c: New file.
27781 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27782 * math/w_expf_compat.c (__expf_compat): Likewise.
27783 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27784 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27785 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27786 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27787 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27788 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27789 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27790 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27791 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27792 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27793 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27794 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27795 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27796 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27798 Likewise.
27799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27800 Likewise.
27801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27802 Likewise.
27803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27804 Likewise.
27805 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27806 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27807 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27808 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27809 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27811 Likewise.
27812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27813 Likewise.
27814 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27815 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27816 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27817
72aa6233
SN
278182017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27819
27820 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27821 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27822 (roundtoint, converttoint): Likewise.
27823 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27824 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27825 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27826 * sysdeps/ieee754/flt-32/math_config.h: New file.
27827 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27828 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27829 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27830 * sysdeps/i386/fpu/math_errf.c: New file.
27831 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27832 * sysdeps/ia64/fpu/math_errf.c: New file.
27833 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27834 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27835
5e6f3253
ST
278362017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27837
27838 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27839 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27840 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27841 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27842 to make sure that these symbols are defined.
b38a42a0
ST
27843 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27844 of <limits.h>
27845 (__need_NULL): Do not define.
27846 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27847 alignment.
27848 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27849 CMGROUP_MAX, cmsgcred): Do not define.
27850 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27851 NULL.
27852 * bits/socket.h: Likewise.
fcafcd16
ST
27853 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27854 __gettimeofday instead of gettimeofday.
27855 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27856 instead of settimeofday.
5e6f3253 27857
2f49ce7d
JM
278582017-09-22 Joseph Myers <joseph@codesourcery.com>
27859
27860 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27861 (asinhf): Define using libm_alias_float.
27862 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27863 (atanf): Define using libm_alias_float.
27864 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27865 (cbrtf): Define using libm_alias_float.
27866 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27867 (ceilf): Define using libm_alias_float.
27868 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27869 <libm-alias-float.h>.
27870 (copysignf): Define using libm_alias_float.
27871 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27872 (cosf): Define using libm_alias_float.
27873 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27874 (erff): Define using libm_alias_float.
27875 (erfcf): Likewise.
27876 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27877 (expm1f): Define using libm_alias_float.
27878 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27879 (fabsf): Define using libm_alias_float.
27880 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27881 (floorf): Define using libm_alias_float.
27882 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27883 (frexpf): Define using libm_alias_float.
27884 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27885 libm_alias_float.
27886 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27887 <libm-alias-float.h>.
27888 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27889 libm_alias_float.
27890 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27891 <libm-alias-float.h>.
27892 (getpayloadf): Define using libm_alias_float.
27893 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27894 <libm-alias-float.h>.
27895 (llrintf): Define using libm_alias_float.
27896 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27897 <libm-alias-float.h>.
27898 (llroundf): Define using libm_alias_float.
27899 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27900 (logbf): Define using libm_alias_float.
27901 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27902 (lrintf): Define using libm_alias_float.
27903 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27904 (lroundf): Define using libm_alias_float.
27905 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27906 (modff): Define using libm_alias_float.
27907 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27908 <libm-alias-float.h>.
27909 (nearbyintf): Define using libm_alias_float.
27910 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27911 <libm-alias-float.h>.
27912 (nextafterf): Define using libm_alias_float.
27913 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27914 <libm-alias-float.h>.
27915 (nextupf): Define using libm_alias_float.
27916 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27917 <libm-alias-float.h>.
27918 (remquof): Define using libm_alias_float.
27919 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27920 (rintf): Define using libm_alias_float.
27921 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27922 <libm-alias-float.h>.
27923 (roundevenf): Define using libm_alias_float.
27924 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27925 (roundf): Define using libm_alias_float.
27926 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27927 using libm_alias_float.
27928 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27929 <libm-alias-float.h>.
27930 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27931 Define using libm_alias_float.
27932 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27933 <libm-alias-float.h>.
27934 (sincosf): Define using libm_alias_float.
27935 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27936 (sinf): Define using libm_alias_float.
27937 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27938 (tanf): Define using libm_alias_float.
27939 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27940 (tanhf): Define using libm_alias_float.
27941 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27942 <libm-alias-float.h>.
27943 (totalorderf): Define using libm_alias_float.
27944 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27945 <libm-alias-float.h>.
27946 (totalordermagf): Define using libm_alias_float.
27947 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27948 (truncf): Define using libm_alias_float.
27949 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
27950 libm_alias_float.
27951 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
27952 libm_alias_float.
27953
c5c4a626
GG
279542017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27955
27956 [BZ #22146]
27957 math/math.h: Let fpclassify use the builtin in C++ mode, even
27958 when optimazing for size.
27959
23947846
JM
279602017-09-22 Joseph Myers <joseph@codesourcery.com>
27961
27962 * csu/Makefile (generated): Do not add version-info.h.
27963 (before-compile): Likewise.
27964 (all-Banner-files): Remove variable.
27965 ($(objpfx)version-info.h): Remove rule.
27966 * csu/version.c (banner): Do not include "version-info.h".
27967 * libidn/Banner: Remove.
27968 * manual/contrib.texi (Simon Josefsson): New entry.
27969
9ac3c682
GG
279702017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27971
27972 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27973 Remove conditionals on LDBL_MANT_DIG.
27974 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27975 (__ieee754_lgammal_r): Likewise.
27976
d2f0ed09
GG
279772017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27978
27979 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27980 _Float128 and L().
27981 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27982 _Float128 and L(). Replace _Float128 with long double and L(x)
27983 with xL, throughout the file.
27984 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27985 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27986 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27987 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27988
c5c2e667
GG
279892017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27990
27991 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27992 sysdeps/ieee754/ldbl-128ibm.
27993 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27994 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27995 of including it. Keep _Float128 and L() intact. These will be
27996 reviewed by a separate patch.
27997 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27998 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27999 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28000 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28001
e010deb2
GG
280022017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28003
28004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
28005 (__finitef128): Define to __redirect___finitef128.
28006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
28007 (__isinff128): Define to __redirect___isinff128.
28008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
28009 (__isnanf128): Define to __redirect___isnanf128.
28010
ffa44804
GG
280112017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28012
28013 * sysdeps/powerpc/powerpc64le/Makefile
28014 (CFLAGS-tst-strtod-nan-locale.c): New variable.
28015 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
28016
e5e4d7cc
PP
280172017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
28018 Carlos O'Donell <carlos@redhat.com>
28019
28020 [BZ #22180]
28021 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
28022 * stdlib/test-dlclose-exit-race.c: New file.
28023 * stdlib/test-dlclose-exit-race-helper.c: New file.
28024 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
28025
c10c5267
JM
280262017-09-21 Joseph Myers <joseph@codesourcery.com>
28027
28028 * crypt/Banner: Remove file.
28029 * nptl/Banner: Likewise.
28030 * resolv/Banner: Likewise.
28031 * soft-fp/Banner: Likewise.
28032 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
28033 ($(objpfx)version.d): Remove dependency on banner.h.
28034 ($(objpfx)version.os): Likewise.
28035 * nptl/version.c (banner): Do not include banner.h.
28036 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
28037 Jelinek and BIND code.
28038
1cc9e59a
PP
280392017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28040 Carlos O'Donell <carlos@redhat.com>
28041
28042 * support/xdlfcn.h: New file.
28043 * support/xdlfcn.c: New file.
28044 * support/Makefile (libsupport-routines): Add xdlfcn.
28045 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
28046
ae8372d7
JM
280472017-09-20 Joseph Myers <joseph@codesourcery.com>
28048
28049 [BZ #20142]
28050 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28051 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
28052 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
28053 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
28054 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
28055 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
28056 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
28057 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
28058
26e70aec
PP
280592017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28060 Ricky Zhou <rickyz@google.com>
28061 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
28062
28063 [BZ #14333]
28064 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
28065 Remove atomics.
28066 (__new_exitfn): Fail registration when we finished at_exit processing.
28067 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
28068 * stdlib/on_exit.c (__on_exit): Likewise.
28069 * stdlib/exit.c (__exit_funcs_done): New variable.
28070 (__run_exit_handlers): Use __exit_funcs_lock.
28071 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
28072 declarations.
28073 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
28074 (test-cxa_atexit-race, test-on_exit-race): New tests.
28075 * stdlib/test-atexit-race-common.c: New file.
28076 * stdlib/test-atexit-race.c: New file.
28077 * stdlib/test-at_quick_exit-race.c: New file.
28078 * stdlib/test-cxa_atexit-race.c: New file.
28079 * stdlib/test-on_exit-race.c: New file.
28080
0525ce48
SN
280812017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
28082
28083 * benchtests/Makefile: Add exp2f and log2f benchmarks.
28084 * benchtests/exp2f-inputs: Copy of expf-inputs.
28085 * benchtests/log2f-inputs: Copy of logf-inputs.
28086
d82468d1
JM
280872017-09-19 Joseph Myers <joseph@codesourcery.com>
28088
28089 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
28090 Explicitly take address of first element of array arguments in
28091 call to INLINE_SYSCALL.
28092
43ffc53a
AS
280932017-09-19 Andreas Schwab <schwab@suse.de>
28094
28095 [BZ #22134]
28096 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
28097 execveat first.
28098 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
28099 unimplemented.
28100 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
28101 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
28102 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28103 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
28104 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28105 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28106 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28107 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28108 * posix/Makefile (tests): Add tst-fexecve.
28109 * posix/tst-fexecve.c: New file.
28110
a5dcc87e
WD
281112017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28112
28113 * benchtests/Makefile: Add logf benchmark.
28114 * benchtests/logf-inputs: Add reduced trace from wrf_r.
28115
7024d544
WD
281162017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28117
28118 * benchtests/Makefile: Add expf benchmark.
28119 * benchtests/expf-inputs: Add reduced trace from wrf_r.
28120
ca3a382e
WD
281212017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28122
28123 * csu/Makefile: Add -funwind-tables to libc-start.c.
28124 * debug/Makefile: Add -funwind-tables to backtrace.c.
28125 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
28126 * sysdeps/arm/Makefile: Likewise.
28127 * sysdeps/i386/Makefile: Likewise.
28128 * sysdeps/m68k/Makefile: Likewise.
28129 * sysdeps/mips/Makefile: Likewise.
28130 * sysdeps/nios2/Makefile: Likewise.
28131 * sysdeps/sh/Makefile: Likewise.
28132 * sysdeps/sparc/Makefile: Likewise.
28133
eb375def
JM
281342017-09-19 Joseph Myers <joseph@codesourcery.com>
28135
28136 * benchtests/Makefile (bench-math): Add trunc and truncf.
28137 (CFLAGS-bench-trunc.c): New variable.
28138 (CFLAGS-bench-truncf.c): Likewise.
28139 * benchtests/trunc-inputs: New file.
28140 * benchtests/truncf-inputs: Likewise.
28141
bd17ba29
RS
281422017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28143
28144 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
28145
92892fdb
JM
281462017-09-18 Joseph Myers <joseph@codesourcery.com>
28147
6d9b0b5a
JM
28148 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
28149 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
28150 redefine.
28151 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28152 (exp10l): Define as weak alias.
28153 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
28154 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
28155 and redefine.
28156 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
28157 (remainderl): Define as weak alias.
28158
92892fdb
JM
28159 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
28160 (fmal): Define using libm_alias_ldouble.
28161 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
28162 (acoshl): Define using libm_alias_ldouble.
28163 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
28164 (acosl): Define using libm_alias_ldouble.
28165 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
28166 (asinl): Define using libm_alias_ldouble.
28167 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
28168 (atan2l): Define using libm_alias_ldouble.
28169 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
28170 (atanhl): Define using libm_alias_ldouble.
28171 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
28172 (coshl): Define using libm_alias_ldouble.
28173 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
28174 (exp10l): Define using libm_alias_ldouble.
28175 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
28176 (exp2l): Define using libm_alias_ldouble.
28177 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
28178 (expl): Define using libm_alias_ldouble.
28179 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
28180 (fmodl): Define using libm_alias_ldouble.
28181 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
28182 (hypotl): Define using libm_alias_ldouble.
28183 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
28184 (j0l): Define using libm_alias_ldouble.
28185 (y0l): Likewise.
28186 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
28187 (j1l): Define using libm_alias_ldouble.
28188 (y1l): Likewise.
28189 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
28190 (jnl): Define using libm_alias_ldouble.
28191 (ynl): Likewise.
28192 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
28193 (log10l): Define using libm_alias_ldouble.
28194 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
28195 (log2l): Define using libm_alias_ldouble.
28196 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
28197 (logl): Define using libm_alias_ldouble.
28198 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
28199 (powl): Define using libm_alias_ldouble.
28200 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
28201 (remainderl): Define using libm_alias_ldouble.
28202 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
28203 (sinhl): Define using libm_alias_ldouble.
28204 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
28205 (sqrtl): Define using libm_alias_ldouble.
28206 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
28207 (tgammal): Define using libm_alias_ldouble.
28208 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
28209 (exp10l): Do not use long_double_symbol here.
28210 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28211 [LIBM_SVID_COMPAT] (remainderl): Likewise.
28212 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
28213 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28214 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28215 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28216 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28217 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28218 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28219 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28220 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28221 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28222 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28223 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28224 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28225 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28226 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28227 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28228 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28229 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28230 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28231 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28232
6cd380dd
WB
282332017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
28234
28235 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
28236 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
28237
1c6d89e9
ST
282382017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
28239
28240 * io/read.c (read): Add libc_hidden_weak.
28241 * sysdeps/mach/hurd/read.c (read): Likewise.
28242 * io/write.c (write): Likewise.
28243 * sysdeps/mach/hurd/write.c (write): Likewise.
28244 * io/pread64.c (__pread64): Likewise.
28245 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
28246 * posix/pread64.c (__pread64): Add libc_hidden_def.
28247
06b1de23
SP
282482017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28249
140647ea
SP
28250 * benchtests/scripts/compare_strings.py: New option -g.
28251 (draw_graph): Print a message that a graph is being generated.
28252 (process_results): Generate graph only if -g is passed.
28253 (main): Process option -g.
28254
5a6547b7
SP
28255 * benchtests/scripts/compare_strings.py (process_results):
28256 Better spacing for output.
28257
06b1de23
SP
28258 * benchtests/scripts/compare_strings.py: Use argparse.
28259 * benchtests/README: Document existence of compare_strings.py.
28260
c67a2328
JM
282612017-09-15 Joseph Myers <joseph@codesourcery.com>
28262
9ac44708
JM
28263 * math/s_fma.c: Include <libm-alias-double.h>.
28264 (fma): Define using libm_alias_double.
28265 * math/s_nextafter.c: Include <libm-alias-double.h>.
28266 (nextafter): Define using libm_alias_double.
28267 * math/w_acos_compat.c: Include <libm-alias-double.h>.
28268 (acos): Define using libm_alias_double.
28269 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
28270 (aocsh): Define using libm_alias_double.
28271 * math/w_asin_compat.c: Include <libm-alias-double.h>.
28272 (asin): Define using libm_alias_double.
28273 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
28274 (atan2): Define using libm_alias_double.
28275 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
28276 (atanh): Define using libm_alias_double.
28277 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
28278 (cosh): Define using libm_alias_double.
28279 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
28280 (exp10): Define using libm_alias_double.
28281 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
28282 (exp2): Define using libm_alias_double.
28283 * math/w_exp_compat.c: Include <libm-alias-double.h>.
28284 (exp): Define using libm_alias_double.
28285 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
28286 (fmod): Define using libm_alias_double.
28287 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
28288 (hypot): Define using libm_alias_double.
28289 * math/w_j0_compat.c: Include <libm-alias-double.h>.
28290 (j0): Define using libm_alias_double.
28291 (y0): Likewise.
28292 * math/w_j1_compat.c: Include <libm-alias-double.h>.
28293 (j1): Define using libm_alias_double.
28294 (y1): Likewise.
28295 * math/w_jn_compat.c: Include <libm-alias-double.h>.
28296 (jn): Define using libm_alias_double.
28297 (yn): Likewise.
28298 * math/w_log10_compat.c: Include <libm-alias-double.h>.
28299 (log10): Define using libm_alias_double.
28300 * math/w_log2_compat.c: Include <libm-alias-double.h>.
28301 (log2): Define using libm_alias_double.
28302 * math/w_log_compat.c: Include <libm-alias-double.h>.
28303 (log): Define using libm_alias_double.
28304 * math/w_pow_compat.c: Include <libm-alias-double.h>.
28305 (pow): Define using libm_alias_double.
28306 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
28307 (remainder): Define using libm_alias_double.
28308 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
28309 (sinh): Define using libm_alias_double.
28310 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
28311 (sqrt): Define using libm_alias_double.
28312 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
28313 (tgamma): Define using libm_alias_double.
28314 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
28315 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
28316 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
28317 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
28318 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
28319 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
28320 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
28321 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
28322 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
28323 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
28324 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
28325 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
28326 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
28327 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
28328 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
28329 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
28330 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
28331 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
28332 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
28333 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
28334 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
28335 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
28336 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
28337 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
28338 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
28339
c67a2328
JM
28340 * math/e_acoshl.c: Remove.
28341 * math/e_acosl.c: Likewise.
28342 * math/e_asinl.c: Likewise.
28343 * math/e_atan2l.c: Likewise.
28344 * math/e_atanhl.c: Likewise.
28345 * math/e_coshl.c: Likewise.
28346 * math/e_expl.c: Likewise.
28347 * math/e_fmodl.c: Likewise.
28348 * math/e_gammal_r.c: Likewise.
28349 * math/e_hypotl.c: Likewise.
28350 * math/e_j0l.c: Likewise.
28351 * math/e_j1l.c: Likewise.
28352 * math/e_jnl.c: Likewise.
28353 * math/e_lgammal_r.c: Likewise.
28354 * math/e_log10l.c: Likewise.
28355 * math/e_log2l.c: Likewise.
28356 * math/e_logl.c: Likewise.
28357 * math/e_powl.c: Likewise.
28358 * math/e_rem_pio2l.c: Likewise.
28359 * math/e_sinhl.c: Likewise.
28360 * math/e_sqrtf128.c: Likewise.
28361 * math/e_sqrtl.c: Likewise.
28362 * math/k_cosl.c: Likewise.
28363 * math/k_sinl.c: Likewise.
28364 * math/k_tanl.c: Likewise.
28365 * math/s_asinhl.c: Likewise.
28366 * math/s_atanl.c: Likewise.
28367 * math/s_cbrtl.c: Likewise.
28368 * math/s_erfl.c: Likewise.
28369 * math/s_expm1l.c: Likewise.
28370 * math/s_log1pl.c: Likewise.
28371 * math/s_tanhl.c: Likewise.
28372
61c45f25
TMQMF
283732017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28374
28375 [BZ #21745]
28376 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
28377 [$(subdir) = math] (sysdep_calls): New variable. Has the
28378 previous contents of sysdep_routines, but re-sorted..
28379 [$(subdir) = math] (sysdep_routines): Re-use the contents from
28380 sysdep_calls.
28381 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
28382 defined in sysdep_calls and replace by the respective m_* names.
28383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
28384 (compat_symbol): Undefine to avoid duplicated compat symbols in
28385 libc.
28386
5bcdb315
JM
283872017-09-15 Joseph Myers <joseph@codesourcery.com>
28388
28389 * math/s_fmaf.c: Include <libm-alias-float.h>.
28390 (fmaf): Define using libm_alias_float.
28391 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
28392 (acosf): Define using libm_alias_float.
28393 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
28394 (acoshf): Define using libm_alias_float.
28395 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
28396 (asinf): Define using libm_alias_float.
28397 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
28398 (atan2f): Define using libm_alias_float.
28399 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28400 (atanhf): Define using libm_alias_float.
28401 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28402 (coshf): Define using libm_alias_float.
28403 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28404 (exp10f): Define using libm_alias_float.
28405 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
28406 (fmodf): Define using libm_alias_float.
28407 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
28408 (hypotf): Define using libm_alias_float.
28409 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
28410 (j0f): Define using libm_alias_float.
28411 (y0f): Likewise.
28412 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
28413 (j1f): Define using libm_alias_float.
28414 (y1f): Likewise.
28415 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
28416 (jnf): Define using libm_alias_float.
28417 (ynf): Likewise.
28418 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
28419 (log10f): Define using libm_alias_float.
28420 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
28421 (log2f): Define using libm_alias_float.
28422 * math/w_logf_compat.c: Include <libm-alias-float.h>.
28423 (logf): Define using libm_alias_float.
28424 * math/w_powf_compat.c: Include <libm-alias-float.h>.
28425 (powf): Define using libm_alias_float.
28426 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
28427 (remainderf): Define using libm_alias_float.
28428 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
28429 (sinhf): Define using libm_alias_float.
28430 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28431 (sqrtf): Define using libm_alias_float.
28432 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28433 (tgammaf): Define using libm_alias_float.
28434
01f28812
JM
284352017-09-14 Joseph Myers <joseph@codesourcery.com>
28436
28437 * include/math.h (roundeven): Change hidden_proto call to
28438 __roundeven.
28439 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28440 alias.
28441 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28442 (y0): Rename to __y0 and define as weak alias.
28443 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28444 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28445 alias.
28446 (y0f): Rename to __y0f and define as weak alias.
28447 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28448 alias.
28449 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28450 (y1): Rename to __y1 and define as weak alias.
28451 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28452 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28453 alias.
28454 (y1f): Rename to __y1f and define as weak alias.
28455 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28456 alias.
28457 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28458 (yn): Rename to __yn and define as weak alias.
28459 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28460 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28461 alias.
28462 (ynf): Rename to __ynf and define as weak alias.
28463 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28464 (fromfp): Define as weak alias.
28465 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28466 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28467 (fromfpx): Define as weak alias.
28468 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28469 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28470 __getpayload and define as weak alias.
28471 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28472 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
28473 __roundeven and define as weak alias.
28474 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28475 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
28476 __setpayload.
28477 (setpayload): Define as weak alias.
28478 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
28479 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
28480 __setpayloadsig.
28481 (setpayloadsig): Define as weak alias.
28482 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
28483 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
28484 __totalorder and define as weak alias.
28485 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28486 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
28487 to __totalordermag and define as weak alias.
28488 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28489 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
28490 (ufromfp): Define as weak alias.
28491 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
28492 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
28493 __ufromfpx.
28494 (ufromfpx): Define as weak alias.
28495 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
28496 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
28497 Rename to __getpayload and define as weak alias.
28498 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28499 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
28500 Rename to __roundeven and define as weak alias.
28501 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28502 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
28503 Rename to __totalorder and define as weak alias.
28504 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28505 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
28506 (totalordermag): Rename to __totalordermag and define as weak
28507 alias.
28508 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28509 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
28510 macro.
28511 (__roundevenl): Likewise.
28512 (__totalorderl): Likewise.
28513 (__totalordermagl): Likewise
28514 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
28515 __fromfpf128.
28516 (fromfpf128): Define as weak alias.
28517 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
28518 __fromfpxf128.
28519 (fromfpxf128): Define as weak alias.
28520 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
28521 __setpayloadf128.
28522 (setpayloadf128): Define as weak alias.
28523 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
28524 __setpayloadsigf128.
28525 (setpayloadsigf128): Define as weak alias.
28526 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
28527 __ufromfpf128.
28528 (ufromfpf128): Define as weak alias.
28529 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
28530 __ufromfpxf128.
28531 (ufromfpxf128): Define as weak alias.
28532 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
28533 (fromfpf): Define as weak alias.
28534 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
28535 __fromfpxf.
28536 (fromfpxf): Define as weak alias.
28537 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
28538 __getpayloadf and define as weak alias.
28539 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
28540 __roundevenf and define as weak alias.
28541 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
28542 __setpayloadf.
28543 (setpayloadf): Define as weak alias.
28544 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
28545 __setpayloadsigf.
28546 (setpayloadsigf): Define as weak alias.
28547 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
28548 __totalorderf and define as weak alias.
28549 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
28550 Rename to __totalordermagf and define as weak alias.
28551 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
28552 __ufromfpf.
28553 (ufromfpf): Define as weak alias.
28554 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
28555 __ufromfpxf.
28556 (ufromfpxf): Define as weak alias.
28557 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
28558 __fromfpl.
28559 (fromfpl): Define as weak alias.
28560 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
28561 __fromfpxl.
28562 (fromfpxl): Define as weak alias.
28563 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
28564 to __getpayloadl and define as weak alias.
28565 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
28566 __roundevenl and define as weak alias.
28567 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
28568 __setpayloadl.
28569 (setpayloadl): Define as weak alias.
28570 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28571 __setpayloadsigl.
28572 (setpayloadsigl): Define as weak alias.
28573 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28574 to __totalorderl and define as weak alias.
28575 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28576 Rename to __totalordermagl and define as weak alias.
28577 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28578 __ufromfpl.
28579 (ufromfpl): Define as weak alias.
28580 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28581 __ufromfpxl.
28582 (ufromfpxl): Define as weak alias.
28583 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28584 __fromfpl.
28585 (fromfpl): Define as weak alias.
28586 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28587 __fromfpxl.
28588 (fromfpxl): Define as weak alias.
28589 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28590 Rename to __getpayloadl and define as weak alias.
28591 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28592 to __roundevenl and define as weak alias. Call __roundeven
28593 instead of roundeven.
28594 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28595 __setpayloadl.
28596 (setpayloadl): Define as weak alias.
28597 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28598 __setpayloadsigl.
28599 (setpayloadsigl): Define as weak alias.
28600 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28601 Rename to __totalorderl and define as weak alias.
28602 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28603 Rename to __totalordermagl and define as weak alias.
28604 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28605 __ufromfpl.
28606 (ufromfpl): Define as weak alias.
28607 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28608 __ufromfpxl.
28609 (ufromfpxl): Define as weak alias.
28610 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28611 __fromfpl.
28612 (fromfpl): Define as weak alias.
28613 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28614 __fromfpxl.
28615 (fromfpxl): Define as weak alias.
28616 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28617 __getpayloadl and define as weak alias.
28618 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28619 __roundevenl and define as weak alias.
28620 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28621 __setpayloadl.
28622 (setpayloadl): Define as weak alias.
28623 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28624 __setpayloadsigl.
28625 (setpayloadsigl): Define as weak alias.
28626 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28627 __totalorderl and define as weak alias.
28628 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28629 Rename to __totalordermagl and define as weak alias.
28630 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28631 __ufromfpl.
28632 (ufromfpl): Define as weak alias.
28633 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28634 __ufromfpxl.
28635 (ufromfpxl): Define as weak alias.
28636
29c933fb
SP
286372017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28638
503c92c3
SP
28639 * benchtests/bench-string.h (realloc_bufs): New function.
28640 (test_init): Call it.
28641 * benchtests/bench-memset-large.c (do_test): Likewise.
28642 * benchtests/bench-memset.c (do_test): Likewise.
28643
29c933fb
SP
28644 * benchtests/bench-memset-large.c: Print output in JSON
28645 format.
28646 * benchtests/bench-memset.c: Likewise.
28647
799c8d69
MF
286482017-09-14 Mike FABIAN <mfabian@redhat.com>
28649
28650 [BZ #21084]
28651 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28652 * iconvdata/Makefile: Add IBM858.
28653 * iconvdata/gconv-modules: Likewise.
28654 * iconvdata/tst-tables.sh: Likewise.
28655 * iconvdata/ibm858.c: New file.
28656 * localedata/charmaps/IBM858: Likewise.
28657
c207f7ce 286582017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
28659
28660 [BZ #22023]
28661 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28662 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28663
f28a0926
AK
286642017-09-14 Mike FABIAN <mfabian@redhat.com>
28665
28666 [BZ #22112]
28667 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28668 and add tel_int_fmt.
28669
02093e62
JM
286702017-09-14 Joseph Myers <joseph@codesourcery.com>
28671
28672 * sysdeps/generic/libm-alias-float128.h: New file.
28673 * sysdeps/generic/math-type-macros-float128.h: Include
28674 <libm-alias-float128.h>.
28675 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28676
1aae75ef
JM
286772017-09-13 Joseph Myers <joseph@codesourcery.com>
28678
28679 * sysdeps/generic/libm-alias-ldouble.h: New file.
28680 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
28681 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
28682 * sysdeps/generic/math-type-macros-ldouble.h: Include
28683 <libm-alias-ldouble.h>.
28684 [!declare_mgen_alias] (declare_mgen_alias): Define to use
28685 libm_alias_ldouble.
28686
bcea7ad6
SN
286872017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28688
28689 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
28690 * math/w_exp_compat.c: ... here.
28691 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
28692 * math/w_expf_compat.c: ... here.
28693 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
28694 * math/w_expl_compat.c: ... here.
28695 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
28696 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
28697 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
28698 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28699
0fc56478
JM
287002017-09-13 Joseph Myers <joseph@codesourcery.com>
28701
28702 * math/w_scalbln_template.c (strong_alias): Do not undefine and
28703 redefine.
28704 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
28705 macro.
28706 (ldexpl): Only define as compat symbol for libc, not libm.
28707 (scalbnl): Define as compat symbol for libc here.
28708 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
28709 define for [IS_IN (libc)].
28710 (__ldexpl_2): Remove alias.
28711 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
28712 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
28713 name in long_double_symbol call.
28714 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
28715 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28716 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28717 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28718 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28719 Remove macro.
28720 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28721 Define as compat symbol.
28722
3ca622e4
AZ
287232017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28724
28725 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28726 * sysdeps/unix/sysv/linux/alpha/Makefile
28727 [$(subdir) = csu] (sysdep_routines): Remove rule.
28728
620ff9ee
JM
287292017-09-13 Joseph Myers <joseph@codesourcery.com>
28730
28731 * sysdeps/generic/libm-alias-double.h: New file.
28732 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28733 * sysdeps/generic/math-type-macros-double.h: Include
28734 <libm-alias-double.h>.
28735 [declare_mgen_alias] (declare_mgen_alias): Define to use
28736 libm_alias_double.
28737 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28738 (M_LIBM_NEED_COMPAT): Remove macro.
28739 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28740 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28741 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28742 code.
28743 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28744 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28745 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28746 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28747 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28748 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28749 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28750 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28751 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28752 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28753 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28754 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28755 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28756 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28757 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28758 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28759 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28760 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28761 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28762 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28763 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28764 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28765 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28766 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28767 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28768 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28769 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28770 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28771 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28772 macro.
28773 (declare_mgen_alias): New macro.
28774 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28775 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28777 (M_LIBM_NEED_COMPAT): Remove macro.
28778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28779 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28780 <first-versions.h>.
28781 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28782 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28783
a891caff
JM
287842017-09-12 Joseph Myers <joseph@codesourcery.com>
28785
28786 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28787 (declare_mgen_alias_2): Remove.
28788 * sysdeps/generic/math-type-macros-double.h
28789 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28790 Likewise.
28791 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28792 alias.
28793 (ldexp): Define with declare_mgen_alias.
28794 (scalbn): Likewise.
28795
a1a78204
SE
287962017-09-12 Steve Ellcey <sellcey@cavium.com>
28797
28798 * grp/initgroups.c: Include config.h.
28799 (DEFAULT_CONFIG): New macro.
28800 (internal_getgrouplist): Use DEFAULT_CONFIG.
28801 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28802 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28803 (DEFAULT_DEFCONFIG): New macro.
28804 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28805 * nss/grp-lookup.c: Include config.h
28806 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28807 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28808 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28809 * manual/nss.texi: Update default values section.
28810
ef8adeb0
L
288112017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28812
28813 [BZ #21967]
28814 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28815 New.
28816 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28817 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28818 Handle MathVec_Prefer_No_AVX512.
28819 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28820 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28821 is set.
28822
a166531f
ST
288232017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28824
28825 * posix/sched_primax.c (__sched_get_priority_max): Add
28826 libc_hidden_def.
28827 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28828 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28829 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28830 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28831 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28832 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28833 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28834 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28835 Add aliases.
28836
4b7d1efb
JM
288372017-09-11 Joseph Myers <joseph@codesourcery.com>
28838
28839 * sysdeps/generic/libm-alias-float.h: New file.
28840 * sysdeps/generic/math-type-macros-float.h: Include
28841 <libm-alias-float.h>.
28842 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28843
45ff3463
L
288442017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28845
28846 [BZ #22093]
28847 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28848 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28849 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28850 (HWCAP_IMPORTANT): Likewise.
28851 (HWCAP_X86_64): New enum.
28852 (HWCAP_X86_AVX512_1): Updated.
28853 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28854 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28855 (modules-names): Add x86_64/tst-x86_64mod-1.
28856 (LDFLAGS-tst-x86_64mod-1.so): New.
28857 ($(objpfx)tst-x86_64-1): Likewise.
28858 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28859 (tst-x86_64-1-clean): Likewise.
28860 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28861 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28862
891abfd3
SP
288632017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28864
28865 * po/sv.po: Update translations.
28866 * po/fr.po: Likewise.
28867
00c3da43
ST
288682017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28869
28870 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28871 seconds.
3bdfd9fb
ST
28872 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28873 seconds.
65b22ebc 28874 * elf/rtld-Rules: Fix $(error) use.
00c3da43 28875
96480903
MF
288762017-09-09 Mike FABIAN <mfabian@redhat.com>
28877
28878 [BZ #14925]
28879 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28880 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28881 * localedata/locales/bn_BD: “Bengali” was still used in some
28882 comments. Change it to “Bangla”.
28883
4c03a696
MT
288842017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28885
28886 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28887
9c9ec581
SE
288882017-09-08 Steve Ellcey <sellcey@cavium.com>
28889
28890 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28891 thunderx2t99p1 to list of cpu names.
28892 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28893 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28894
f00bce74
SE
288952017-09-08 Steve Ellcey <sellcey@cavium.com>
28896
28897 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28898 Use strcmp instead of tunable_is_name.
28899
27342d17
JM
289002017-09-08 Joseph Myers <joseph@codesourcery.com>
28901
af1b7c8c
JM
28902 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28903 (F_GET_RW_HINT): New macro.
28904 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28905 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28906 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28907 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28908 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28909 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28910 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28911 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28912 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28913
27342d17
JM
28914 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28915 (F_ADD_SEALS): New macro.
28916 [__USE_GNU] (F_GET_SEALS): Likewise.
28917 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28918 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28919 [__USE_GNU] (F_SEAL_GROW): Likewise.
28920 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28921
c66c9082
AZ
289222017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28923
07b4f49d
AZ
28924 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28925 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28926 * posix/glob_internal.h (__glob_pattern_type):
28927 * posix/glob.c (glob):
28928 * posix/glob_pattern_p.c (__glob_pattern_p):
28929 Use them.
28930
116f1c64
AZ
28931 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28932 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28933 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28934 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28935 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28937 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28938 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28939 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28940 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28941 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28942 * sysdeps/wordsize-64/glob.c: Likewise.
28943 * sysdeps/wordsize-64/glob64.c: Likewise.
28944 * sysdeps/wordsize-64/globfree.c: Likewise.
28945 * sysdeps/wordsize-64/globfree64.c: Likewise.
28946 * sysdeps/unix/sysv/linux/glob.c: New file.
28947 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28948 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
28949 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
28950 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28951 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
28952 adds !GLOB_NO_OLD_VERSION as an extra condition.
28953 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
28954 using relative path instead of absolute one.
28955 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
28956 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28957 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28958 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
28959 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
28960 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
28961
ffca8901
AZ
28962 [BZ #1062]
28963 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
28964 (glob): Use the same scratch buffer for both getlogin_r and
28965 getpwnam_r. Don’t require preallocation of the login name. This
28966 simplifies storage allocation, and corrects the handling of
28967 long login names.
28968
5a79f975
AZ
28969 [BZ #1062]
28970 * posix/glob.c (glob): Port recent patches to platforms
28971 lacking getpwnam_r.
28972 (glob): Fix longstanding misuse of errno after getpwnam_r, which
28973 returns an error number rather than setting errno.
28974
e00f2425
AZ
28975 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
28976 instead of GCC extension.
28977 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
28978 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
28979 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28980
5554304f
AZ
28981 [BZ #866]
28982 [BZ #1062]
28983 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28984 * posix/bug-glob1.c: Remove file.
28985 * posix/tst-glob_symlinks.c: New file.
28986 * posix/glob.c (__lstat64): New macro.
28987 (is_dir): New function.
28988 (glob, glob_in_dir): Match symlinks even if they are dangling.
28989 (link_stat, link_exists_p): Remove. All uses removed.
28990
686f2ea1
AZ
28991 [BZ #1062]
28992 [BZ #19971]
28993 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28994 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28995 All uses removed.
28996
c66c9082 28997 [BZ #1062]
914c9994 28998 CVE-2017-15671
c66c9082
AZ
28999 * posix/Makefile (routines): Add globfree, globfree64, and
29000 glob_pattern_p.
29001 * posix/flexmember.h: New file.
29002 * posix/glob_internal.h: Likewise.
29003 * posix/glob_pattern_p.c: Likewise.
29004 * posix/globfree.c: Likewise.
29005 * posix/globfree64.c: Likewise.
29006 * sysdeps/gnu/globfree64.c: Likewise.
29007 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
29008 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29009 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
29010 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29011 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29012 * sysdeps/wordsize-64/globfree.c: Likewise.
29013 * sysdeps/wordsize-64/globfree64.c: Likewise.
29014 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
29015 [NDEBUG): Remove comments.
29016 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
29017 (dirent_type): New type. Use uint_fast8_t not
29018 uint8_t, as C99 does not require uint8_t.
29019 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
29020 (struct readdir_result): Use dirent_type. Do not define skip_entry
29021 unless it is needed; this saves a byte on platforms lacking d_ino.
29022 (readdir_result_type, readdir_result_skip_entry):
29023 New functions, replacing ...
29024 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
29025 these functions, which were removed. This makes the callers
29026 easier to read. All callers changed.
29027 (D_INO_TO_RESULT): Now empty if there is no d_ino.
29028 (size_add_wrapv, glob_use_alloca): New static functions.
29029 (glob, glob_in_dir): Check for size_t overflow in several places,
29030 and fix some size_t checks that were not quite right.
29031 Remove old code using SHELL since Bash no longer
29032 uses this.
29033 (glob, prefix_array): Separate MS code better.
29034 (glob_in_dir): Remove old Amiga and VMS code.
29035 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
29036 separate files.
29037 (glob_in_dir): Do not rely on undefined behavior in accessing
29038 struct members beyond their bounds. Use a flexible array member
29039 instead
29040 (link_stat): Rename from link_exists2_p and return -1/0 instead of
29041 0/1. Caller changed.
29042 (glob): Fix memory leaks.
29043 * posix/glob64 (globfree64): Move to separate file.
29044 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
29045 (globfree64): Remove hidden alias.
29046 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
29047 oldglob.
29048 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
29049 separate file.
29050 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
29051 define.
29052 Move compat code to separate file.
29053 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
29054 separate file.
29055
78bfa877
L
290562017-09-07 H.J. Lu <hongjiu.lu@intel.com>
29057
29058 * resolv/tst-resolv-qtypes.c (domain): Changed to
29059 "const char domain[] =".
29060
05f0011f
JM
290612017-09-07 Joseph Myers <joseph@codesourcery.com>
29062
85bec0f2
JM
29063 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
29064 version to 3.1.6.
29065
5c23ee6e
JM
29066 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
29067 (TCP_MD5SIG_EXT): Likewise.
29068 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
29069 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
29070 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
29071
05f0011f
JM
29072 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
29073
7c9c5be9
MF
290742017-09-07 Mike FABIAN <mfabian@redhat.com>
29075
29076 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
29077
c207f7ce 290782017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
29079
29080 [BZ #22100]
29081 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
29082
507fe027
ST
290832017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29084
29085 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
29086 before assuming that the file is empty. Avoid testing buffer content
29087 when nread == 0.
29088
65687ac7
AZ
290892017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29090
7bbbb4b9 29091 [BZ #18858]
65687ac7
AZ
29092 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29093 Remove define.
29094 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
29095 Likewise.
29096 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
29097 Likewise.
29098 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
29099 Likewise.
29100 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29101 Likewise.
29102 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
29103 Likewise.
29104 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
29105 Likewise.
29106
ab5ac271
FW
291072017-09-06 Florian Weimer <fweimer@redhat.com>
29108
29109 * malloc/dynarray_emplace_enlarge.c
29110 (__libc_dynarray_emplace_enlarge): Add missing else.
29111
a8304730
FW
291122017-09-06 Florian Weimer <fweimer@redhat.com>
29113
29114 [BZ #22096]
29115 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
29116 case of failure to obtain the global conf object.
29117
5670c4ab
FW
291182017-09-06 Florian Weimer <fweimer@redhat.com>
29119
29120 [BZ #22095]
29121 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
29122 dynarray allocation failure.
29123
c77eb969
FW
291242017-09-06 Florian Weimer <fweimer@redhat.com>
29125
29126 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
29127 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
29128 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
29129 New functions.
29130 (response): Call them. Add 'p', '6' flag processing.
29131 (test_reverse): New function.
29132 (test_get2_any): Call it.
29133 (test_no_inet6): Add 'p' test.
29134 (test_inet6): Likewise.
29135
5e9c4d17
FW
291362017-09-06 Florian Weimer <fweimer@redhat.com>
29137
29138 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
29139 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
29140 the QNAME.
29141 (test_gai): Adjust query names. Add additional tests.
29142 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
29143 test_get2. Adjust query names. Add additional tests.
29144 (test_no_inet6): New function, extracted from threadfunc.
29145 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
29146 Add additional tests.
29147
2ae5be04
MF
291482017-09-06 Mike FABIAN <mfabian@redhat.com>
29149
29150 [BZ #22070]
29151 * localedata/unicode-gen/utf8_gen.py: Set the width for
29152 characters with Prepended_Concatenation_Mark property to 1
29153 * localedata/charmaps/UTF-8: Updated using the improved script.
29154
af83ed5c
MF
291552017-09-06 Mike FABIAN <mfabian@redhat.com>
29156
29157 [BZ #21750]
29158 * localedata/unicode-gen/utf8_gen.py: Improve the script to
29159 use the range notation for all ranges of neighbouring characters
29160 with the same width.
29161
4f3647e4
JM
291622017-09-05 Joseph Myers <joseph@codesourcery.com>
29163
29164 * sysdeps/generic/math-type-macros-double.h: Include
29165 <math-svid-compat.h>.
29166 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29167 * sysdeps/generic/math-type-macros-float.h: Include
29168 <math-svid-compat.h>.
29169 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29170 * sysdeps/generic/math-type-macros-ldouble.h: Include
29171 <math-svid-compat.h>.
29172 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29173 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
29174 condition.
29175 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
29176 * math/w_acosf_compat.c: Likewise.
29177 * math/w_acosh_compat.c: Likewise.
29178 * math/w_acoshf_compat.c: Likewise.
29179 * math/w_acoshl_compat.c: Likewise.
29180 * math/w_acosl_compat.c: Likewise.
29181 * math/w_asin_compat.c: Likewise.
29182 * math/w_asinf_compat.c: Likewise.
29183 * math/w_asinl_compat.c: Likewise.
29184 * math/w_atan2_compat.c: Likewise.
29185 * math/w_atan2f_compat.c: Likewise.
29186 * math/w_atan2l_compat.c: Likewise.
29187 * math/w_atanh_compat.c: Likewise.
29188 * math/w_atanhf_compat.c: Likewise.
29189 * math/w_atanhl_compat.c: Likewise.
29190 * math/w_cosh_compat.c: Likewise.
29191 * math/w_coshf_compat.c: Likewise.
29192 * math/w_coshl_compat.c: Likewise.
29193 * math/w_exp10_compat.c: Likewise.
29194 * math/w_exp10f_compat.c: Likewise.
29195 * math/w_exp10l_compat.c: Likewise.
29196 * math/w_exp2_compat.c: Likewise.
29197 * math/w_exp2f_compat.c: Likewise.
29198 * math/w_exp2l_compat.c: Likewise.
29199 * math/w_fmod_compat.c: Likewise.
29200 * math/w_fmodf_compat.c: Likewise.
29201 * math/w_fmodl_compat.c: Likewise.
29202 * math/w_hypot_compat.c: Likewise.
29203 * math/w_hypotf_compat.c: Likewise.
29204 * math/w_hypotl_compat.c: Likewise.
29205 * math/w_j0_compat.c: Likewise.
29206 * math/w_j0f_compat.c: Likewise.
29207 * math/w_j0l_compat.c: Likewise.
29208 * math/w_j1_compat.c: Likewise.
29209 * math/w_j1f_compat.c: Likewise.
29210 * math/w_j1l_compat.c: Likewise.
29211 * math/w_jn_compat.c: Likewise.
29212 * math/w_jnf_compat.c: Likewise.
29213 * math/w_jnl_compat.c: Likewise.
29214 * math/w_lgamma_r_compat.c: Likewise.
29215 * math/w_lgammaf_r_compat.c: Likewise.
29216 * math/w_lgammal_r_compat.c: Likewise.
29217 * math/w_log10_compat.c: Likewise.
29218 * math/w_log10f_compat.c: Likewise.
29219 * math/w_log10l_compat.c: Likewise.
29220 * math/w_log2_compat.c: Likewise.
29221 * math/w_log2f_compat.c: Likewise.
29222 * math/w_log2l_compat.c: Likewise.
29223 * math/w_log_compat.c: Likewise.
29224 * math/w_logf_compat.c: Likewise.
29225 * math/w_logl_compat.c: Likewise.
29226 * math/w_pow_compat.c: Likewise.
29227 * math/w_powf_compat.c: Likewise.
29228 * math/w_powl_compat.c: Likewise.
29229 * math/w_remainder_compat.c: Likewise.
29230 * math/w_remainderf_compat.c: Likewise.
29231 * math/w_remainderl_compat.c: Likewise.
29232 * math/w_sinh_compat.c: Likewise.
29233 * math/w_sinhf_compat.c: Likewise.
29234 * math/w_sinhl_compat.c: Likewise.
29235 * math/w_sqrt_compat.c: Likewise.
29236 * math/w_sqrtf_compat.c: Likewise.
29237 * math/w_sqrtl_compat.c: Likewise.
29238 * math/w_tgamma_compat.c: Likewise.
29239 * math/w_tgammaf_compat.c: Likewise.
29240 * math/w_tgammal_compat.c: Likewise.
29241 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
29242 [LIBM_SVID_COMPAT].
29243 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
29244 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
29245 [LIBM_SVID_COMPAT].
29246 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
29247 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
29248 [LIBM_SVID_COMPAT].
29249 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
29250 * sysdeps/i386/fpu/w_sqrt.c: New file.
29251 * sysdeps/ia64/fpu/w_acos.c: Likewise.
29252 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
29253 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
29254 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
29255 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
29256 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
29257 * sysdeps/ia64/fpu/w_asin.c: Likewise.
29258 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
29259 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
29260 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
29261 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
29262 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
29263 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
29264 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
29265 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
29266 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
29267 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
29268 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
29269 * sysdeps/ia64/fpu/w_exp.c: Likewise.
29270 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
29271 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
29272 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
29273 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
29274 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
29275 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
29276 * sysdeps/ia64/fpu/w_expf.c: Likewise.
29277 * sysdeps/ia64/fpu/w_expl.c: Likewise.
29278 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
29279 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
29280 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
29281 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
29282 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
29283 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
29284 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
29285 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
29286 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
29287 * sysdeps/ia64/fpu/w_log.c: Likewise.
29288 * sysdeps/ia64/fpu/w_log10.c: Likewise.
29289 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
29290 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
29291 * sysdeps/ia64/fpu/w_log2.c: Likewise.
29292 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
29293 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
29294 * sysdeps/ia64/fpu/w_logf.c: Likewise.
29295 * sysdeps/ia64/fpu/w_logl.c: Likewise.
29296 * sysdeps/ia64/fpu/w_pow.c: Likewise.
29297 * sysdeps/ia64/fpu/w_powf.c: Likewise.
29298 * sysdeps/ia64/fpu/w_powl.c: Likewise.
29299 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
29300 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
29301 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
29302 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
29303 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
29304 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
29305 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
29306 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
29307 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
29308 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
29309 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
29310 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
29311 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
29312 [LIBM_SVID_COMPAT].
29313 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29314 * sysdeps/ieee754/k_standard.c: Likewise.
29315 * sysdeps/ieee754/k_standardf.c: Likewise.
29316 * sysdeps/ieee754/k_standardl.c: Likewise.
29317 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29318 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29319 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29320 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
29321 long_double_symbol call on [LIBM_SVID_COMPAT].
29322 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29323 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29324 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29325 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29326 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29327 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29328 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29329 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29330 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29331 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29332 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29333 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29334 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29335 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29336 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29337 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29338 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
29339 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29340 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29341 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29342 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
29343 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
29344
05b38d64
SE
293452017-09-05 Steve Ellcey <sellcey@cavium.com>
29346
29347 * include/shlib-compat.h (TEST_COMPAT): New Macro.
29348 * malloc/tst-mallocstate.c: Convert from test-skeleton
29349 to test-driver. Ifdef code using TEST_COMPAT macro.
29350 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
29351 * math/test-matherr.c: Likewise.
29352
99d67918
JM
293532017-09-05 Joseph Myers <joseph@codesourcery.com>
29354
29355 [BZ #22086]
29356 * debug/pcprofiledump.c (main): Use byte-swapped mask when
29357 comparing word with byte-swapped constant.
29358
c207f7ce 293592017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
29360
29361 [BZ #20498]
29362 * locale/iso-639.def: add Miskito.
29363 * localedata/SUPPORTED: Add miq_NI/UTF-8.
29364 * localedata/locales/miq_NI: New file.
29365
0a587a8a
L
293662017-09-04 H.J. Lu <hongjiu.lu@intel.com>
29367
29368 [BZ #18822]
29369 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
29370 (__mkdir): Likewise.
29371 * io/chmod.c (__chmod): Add libc_hidden_def.
29372 * io/mkdir.c (__mkdir): Likewise.
29373 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
29374 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
29375 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
29376 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
29377
f3a129b8
JM
293782017-09-04 Joseph Myers <joseph@codesourcery.com>
29379
1650e192
JM
29380 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
29381 version to 4.13.
29382
f3a129b8
JM
29383 [BZ #22082]
29384 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
29385 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
29386
b38042f5
FW
293872017-09-04 Florian Weimer <fweimer@redhat.com>
29388
29389 * math/math.h: Issue warning if log is defined.
29390
059b6404
JM
293912017-09-04 Joseph Myers <joseph@codesourcery.com>
29392
29393 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
29394 kernel version to 4.13.
29395
b794e16b
ST
293962017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29397
29398 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
29399 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29400 parameter.
01969395
ST
29401 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29402 just <bits/types.h>.
dd2b31de 29403 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 29404 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 29405 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 29406 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
29407 * misc/preadv2.c: Include <errno.h>.
29408 * misc/preadv64v2.c: Include <errno.h>.
29409 * misc/pwritev2.c: Include <errno.h>.
29410 * misc/pwritev64v2.c: Include <errno.h>.
29411 * sysdeps/posix/preadv2.c: Include <errno.h>.
29412 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
29413 Fix <unistd.h> inclusion.
29414 * sysdeps/posix/pwritev2.c: Include <errno.h>.
29415 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
29416 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
29417 __strtoul_internal): New functions.
127e7773
ST
29418 * sysdeps/posix/pause.c: Include <sigsetops.h>.
29419 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
29420 * sysdeps/mach/hurd/i386/Makefile
29421 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
29422 [$(subdir) = csu] (sysdep-only-routines): Likewise.
29423 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
29424 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
29425 __feraiseexcept_renamed to feraiseexcept instead of
29426 __GI_feraiseexcept.
56bf5497 29427 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 29428 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
29429 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
29430 RWF_NOWAIT): Define to 0 if undefined already.
29431 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29432 boils down to 0.
6547ec0a
ST
29433 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29434 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 29435
5a80d39d
JM
294362017-09-01 Joseph Myers <joseph@codesourcery.com>
29437
29438 * manual/math.texi (pow10): Do not document.
29439 (pow10f): Likewise.
29440 (pow10l): Likewise.
29441 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29442 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29443 * math/libm-test-exp10.inc (pow10_test): Remove.
29444 (do_test): Do not call pow10.
29445 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29446 [NO_LONG_DOUBLE] (pow10l): Likewise.
29447 * math/w_exp10f_compat.c (pow10f): Likewise.
29448 * math/w_exp10l_compat.c (pow10l): Likewise.
29449 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29450 (pow10): Make into compat symbol.
29451 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29452 (pow10f): Make into compat symbol.
29453 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29454 (pow10l): Make into compat symbol.
29455 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29456 pow10.
29457 (CFLAGS-nldbl-pow10.c): Remove variable..
29458 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29459 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29460 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29461 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29462 Undefine and redefine.
29463 (pow10l): Make into compat symbol.
29464 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29465 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29466 * sysdeps/arm/libm-test-ulps: Likewise.
29467 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29468 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29469 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29470 * sysdeps/microblaze/libm-test-ulps: Likewise.
29471 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29472 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29473 * sysdeps/nios2/libm-test-ulps: Likewise.
29474 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29475 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29476 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29477 * sysdeps/sh/libm-test-ulps: Likewise.
29478 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29479 * sysdeps/tile/libm-test-ulps: Likewise.
29480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29481
3824fc38
PP
294822017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29483
29484 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
29485
b3008279
L
294862017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29487
29488 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
29489 "../ChangeLog.old/ChangeLog.8".
29490 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
29491 "../ChangeLog.old/ChangeLog.14".
29492
136fa185
L
294932017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29494
29495 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
29496 Threads Library.
29497
c18d50a2
JM
294982017-09-01 Joseph Myers <joseph@codesourcery.com>
29499
29500 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
29501
bedbd859
L
295022017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29503
29504 * csu/version.c (banner): Remove "by Roland McGrath et al.".
29505 * nptl/Banner: Remove "by Ulrich Drepper et al.".
29506
50c66c7a
PP
295072017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29508
29509 * stdlib/tst-atexit-common.c (do_test): Test support for at least
29510 32 atexit handlers.
29511
a617bd11
ZW
295122017-09-01 Zack Weinberg <zackw@panix.com>
29513
29514 * math/math.h (HUGE_VAL): Improve commentary.
29515
e0d2eb5a
AZ
295162017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29517 Andreas Schwab <schwab@suse.de>
29518
29519 [BZ #21530]
29520 * include/stdio.h (__gen_tempfd): New function.
29521 * stdio-common/Makefile (routines): Add gentempfd.
29522 * stdio-common/gentempfd.c: New file.
29523 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
29524 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
29525 unnamed file first.
29526
f4a6be25
FW
295272017-09-01 Florian Weimer <fweimer@redhat.com>
29528
29529 [BZ #21915]
29530 [BZ #21922]
29531 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
29532 result to determine success or failure, not the errno value.
29533 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
29534 (tst-nss-files-hosts-erange): Link with -ldl.
29535 * nss/tst-nss-files-hosts-erange.c: New file.
29536 * nss/tst-resolv-basic.c (response): Handle nodata.example.
29537 (do_test): Add NO_DATA tests.
29538 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
29539 (do_test): Call it.
29540
5f8340f5
FW
295412017-09-01 Florian Weimer <fweimer@redhat.com>
29542
29543 [BZ #21922]
29544 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
29545 coming from gethostbyname2_r.
29546
65329bd2
FW
295472017-09-01 Florian Weimer <fweimer@redhat.com>
29548
29549 * support/namespace.h (struct support_chroot_configuration): Add
29550 hosts, host_conf.
29551 (struct support_chroot): Add path_hosts, path_host_conf.
29552 * support/support_chroot.c (write_file): New function.
29553 (support_chroot_create): Call it to process /etc/resolv.conf,
29554 /etc/hosts, /etc/host.conf.
29555 (support_chroot_free): Update.
29556
a2881ef0
FW
295572017-09-01 Florian Weimer <fweimer@redhat.com>
29558
29559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
29560 status indicates it is set.
29561
ad816a5e
FW
295622017-09-01 Florian Weimer <fweimer@redhat.com>
29563
63b52889 29564 [BZ #20532]
ad816a5e
FW
29565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
29566 function lookup failures more reliable.
29567
53250a21
FW
295682017-09-01 Florian Weimer <fweimer@redhat.com>
29569
29570 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29571 (getcanonname): Likewise.
29572 (gaih_inet): Likewise.
29573
924b121c
FW
295742017-09-01 Florian Weimer <fweimer@redhat.com>
29575
29576 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29577 (getcanonname): Likewise.
29578 (gaih_inet): Likewise.
29579
d9ff799a
SE
295802017-08-31 Steve Ellcey <sellcey@cavium.com>
29581 Richard Henderson <rth@twiddle.net>
29582
29583 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29584 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29585 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29586 (IREG_SIZE, OREG_SIZE): New macros.
29587 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29588 (IREG_SIZE, OREG_SIZE): New macros.
29589 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29590 (IREG_SIZE): New macro.
29591 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29592 (IREG_SIZE): New macro.
29593 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29594 New includes.
29595 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29596 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29597 (__CONCATX): Handle exceptions correctly on large values that may
29598 set FE_INVALID.
29599 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29600 Initialize if not already set.
29601 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29602
102dde84
AZ
296032017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29604
29605 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29606 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29607 Likewise.
29608 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29609 Likewise.
29610 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29611 Likewise.
29612 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29613 Likewise.
29614 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29615 Likewise.
29616 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29617 Likewise.
29618 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29619 Likewise.
29620 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29621 (NO_CANCELLATION): Likewise.
29622 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29623 Likewise.
29624 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29625 Likewise.
29626 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29627 Likewise.
29628 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29629 (NO_CANCELLATION): Likewise.
29630 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29631 (NO_CANCELLATION): Likewise.
29632 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29633 Likewise
29634 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29635 Likewise.
29636 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29637 Likewise.
29638 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29639 Likewise.
29640 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29641 hidden prototype.
29642 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29643 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29644
9eee633b
SE
296452017-08-31 Steve Ellcey <sellcey@cavium.com>
29646
29647 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29648 in resolver call.
29649
65284eb7
FW
296502017-08-31 Florian Weimer <fweimer@redhat.com>
29651
29652 * include/libc-symbols.h (internal_function): Remove.
29653
41ad5ca6
FW
296542017-08-31 Florian Weimer <fweimer@redhat.com>
29655
29656 * stdlib/fmtmsg.c (internal_addseverity): Remove
29657 internal_function.
29658
2fa6d086
FW
296592017-08-31 Florian Weimer <fweimer@redhat.com>
29660
29661 * stdio-common/printf_fp.c (group_number): Remove
29662 internal_function.
29663 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29664
b41bd5bc
FW
296652017-08-31 Florian Weimer <fweimer@redhat.com>
29666
29667 * posix/fnmatch.c (internal_function): Remove definition.
29668 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29669 * posix/regcomp.c (peek_token, init_word_char)
29670 (duplicate_node_closure, fetch_token, peek_token)
29671 (peek_token_bracket, build_range_exp, build_collating_symbol):
29672 Likewise.
29673 * posix/regex_internal.c (re_string_construct_common)
29674 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29675 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29676 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29677 (re_string_translate_buffer, re_string_reconstruct)
29678 (re_string_peek_byte_case, re_string_fetch_byte_case)
29679 (re_string_destruct, re_string_context_at, re_node_set_alloc)
29680 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
29681 (re_node_set_add_intersect, re_node_set_init_union)
29682 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
29683 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
29684 (re_dfa_add_node, calc_state_hash, re_acquire_state)
29685 (re_acquire_state_context): Likewise.
29686 * posix/regex_internal.h (internal_function): Remove definition.
29687 (re_string_realloc_buffers, build_wcs_buffer)
29688 (build_wcs_upper_buffer, build_upper_buffer)
29689 (re_string_translate_buffer, re_string_context_at)
29690 (re_string_char_size_at, re_string_wchar_at)
29691 (re_string_elem_size_at): Likewise.
29692 * posix/regexec.c (match_ctx_init, match_ctx_clean)
29693 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
29694 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
29695 (re_search_internal, re_search_2_stub, re_search_stub)
29696 (re_copy_regs, prune_impossible_nodes, check_matching)
29697 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
29698 (free_fail_stack_return, sift_states_iter_mb)
29699 (sift_states_backward, build_sifted_states)
29700 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
29701 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
29702 (check_subexp_limits, sift_states_bkref, merge_state_array)
29703 (find_recover_state, transit_state, merge_state_with_log)
29704 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
29705 (transit_state_mb, transit_state_bkref, get_subexp)
29706 (get_subexp_sub, find_subexp_node, check_arrival)
29707 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
29708 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
29709 (check_node_accept_bytes, find_collation_sequence_value)
29710 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
29711 (acquire_init_state_context, check_halt_node_context)
29712 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
29713 (sub_epsilon_src_nodes): Likewise.
29714 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
29715 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
29716 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29717 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29718 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29719 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29720 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29721 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29722 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29723 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29724 (PREADV): Likewise.
29725 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29726 (PREADV): Likewise.
29727 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29728 (PWRITEV): Likewise.
29729 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29730 (PWRITEV): Likewise.
29731 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29732 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29733
83b09837
FW
297342017-08-31 Florian Weimer <fweimer@redhat.com>
29735
29736 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29737 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29738 Remove internal_function.
29739 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29740 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29741 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29742 (__deallocate_stack, __libc_pthread_init)
29743 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29744 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29745 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29746 Likewise.
29747 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29748 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29749 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29750 Likewise.
29751 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29752 (__pthread_mutex_unlock_usercnt): Likewise.
29753
116ac301
FW
297542017-08-31 Florian Weimer <fweimer@redhat.com>
29755
29756 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29757 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29758 (fts_safe_changedir): Remove internal_function.
29759 * io/ftw.c (internal_function): Remove definition.
29760 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29761
9da93bd7
FW
297622017-08-31 Florian Weimer <fweimer@redhat.com>
29763
29764 * inet/deadline.c (__deadline_current_time)
29765 (__deadline_from_timeval, __deadline_to_ms): Remove
29766 internal_function.
29767 * inet/getnameinfo.c (nrl_domainname): Likewise.
29768 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29769 * inet/inet6_option.c (add_pad): Likewise.
29770 * inet/net-internal.h (__deadline_current_time)
29771 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29772 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29773 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29774 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29775
a60eca2e
JM
297762017-08-31 Joseph Myers <joseph@codesourcery.com>
29777
c0c49d60
JM
29778 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29779 include <bits/nan.h>.
29780 * math/Makefile (headers): Remove bits/nan.h.
29781 * bits/nan.h: Remove.
29782 * sysdeps/ieee754/bits/nan.h: Likewise.
29783 * sysdeps/mips/bits/nan.h: Likewise.
29784
5ef1b213
JM
29785 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29786 not include <bits/inf.h>.
29787 * math/Makefile (headers): Remove bits/inf.h.
29788 * bits/inf.h: Remove.
29789 * sysdeps/ieee754/bits/inf.h: Likewise.
29790
a60eca2e
JM
29791 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29792 bits/huge_vall.h or bits/huge_val_flt128.h.
29793 (HUGE_VAL): Define directly here.
29794 [__USE_ISOC99] (HUGE_VALF): Likewise.
29795 [__USE_ISOC99] (HUGE_VALL): Likewise.
29796 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29797 (HUGE_VAL_F128): Likewise.
29798 * math/Makefile (headers): Remove bits/huge_val.h,
29799 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29800 * bits/huge_val.h: Remove.
29801 * bits/huge_val_flt128.h: Likewise.
29802 * bits/huge_valf.h: Likewise.
29803 * bits/huge_vall.h: Likewise.
29804 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29805 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29806 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29807 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29808 * sysdeps/sh/bits/huge_val.h: Likewise.
29809 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29810 * sysdeps/x86/bits/huge_vall.h: Likewise.
29811
17e00cc6
FW
298122017-08-31 Florian Weimer <fweimer@redhat.com>
29813
29814 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29815 internal_function.
29816 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29817 Likewise.
29818 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29819 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29820 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29821 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29822 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29823 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29824 * elf/dl-libc.c (dlerror_run): Likewise.
29825 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29826 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29827 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29828 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29829 Likewise.
29830 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29831 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29832 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29833 * elf/dl-profile.c (_dl_start_profile): Likewise.
29834 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29835 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29836 Likewise.
29837 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29838 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29839 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29840 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29841 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29842 (_dl_allocate_tls_storage): Likewise.
29843 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29844 (_dl_check_all_versions): Likewise.
29845 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29846 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29847 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29848 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29849 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29850 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29851 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29852 internal_function from __dl_start.
29853 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29854 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29855 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29856 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29857 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29858 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29859 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29860 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29861 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29862 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29863 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29864 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29865 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29866 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29867 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29868 Likewise.
29869 (struct rtld_global_ro): Remove internal_function from the
29870 _dl_lookup_symbol_x member.
29871 (_dl_symbol_value): Remove. No longer defined anywhere.
29872 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29873 internal_function.
29874 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29875 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29876 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29877 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29878 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29879 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29880 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29881 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29882 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29883 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29884 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29885 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29886
8d2f9410
FW
298872017-08-31 Florian Weimer <fweimer@redhat.com>
29888
29889 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29890 Remove internal_function.
29891 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29892 Likewise.
29893 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29894 Likewise.
29895
86e4919f
FW
298962017-08-31 Florian Weimer <fweimer@redhat.com>
29897
29898 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29899 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29900 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29901
59bd52b0
FW
299022017-08-31 Florian Weimer <fweimer@redhat.com>
29903
29904 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29905 (__gai_enqueue_request): Remove internal_function.
29906 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29907 (__gai_remove_request, __gai_notify, __gai_notify_only)
29908 (__gai_sigqueue): Likewise.
29909 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29910 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29911 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29912 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29913 Likewise.
29914
fc3d9497
FW
299152017-08-31 Florian Weimer <fweimer@redhat.com>
29916
29917 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29918 * include/dirent.h (__opendirat, __getdents, __getdents64)
29919 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29920 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29921 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29922 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29923 Likewise.
29924 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29925
18c54fac
FW
299262017-08-31 Florian Weimer <fweimer@redhat.com>
29927
29928 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29929 internal_function.
29930 (GETCWD_RETURN_TYPE): Likewise.
29931
7e01f080
FW
299322017-08-31 Florian Weimer <fweimer@redhat.com>
29933
29934 * include/time.h (__tz_compute, __strptime_internal): Remove
29935 internal_function.
29936 * time/strptime_l.c (__strptime_internal): Likewise.
29937 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29938
d7ccc6c9
FW
299392017-08-31 Florian Weimer <fweimer@redhat.com>
29940
29941 * iconv/gconv.c (__gconv): Remove internal_function.
29942 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29943 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29944 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29945 (__gconv_release_cache): Likewise.
29946 * iconv/gconv_close.c (__gconv_close): Likewise.
29947 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29948 (read_conf_file, __gconv_get_path): Likewise.
29949 * iconv/gconv_db.c (derivation_lookup, add_derivation)
29950 (__gconv_release_step, gen_steps, increment_counter)
29951 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
29952 (__gconv_close_transform, free_modules_db): Likewise.
29953 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
29954 Likewise.
29955 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
29956 (__gconv_find_transform, __gconv_lookup_cache)
29957 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
29958 (__gconv_close_transform, __gconv_release_cache)
29959 (__gconv_loaded_object, __gconv_release_shlib)
29960 (__gconv_compare_alias): Likewise.
29961 * iconv/gconv_open.c (__gconv_open): Likewise.
29962 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
29963 * iconv/iconvconfig.c (add_module): Likewise.
29964 * intl/dcigettext.c (plural_lookup, guess_category_value)
29965 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
29966 * intl/eval-plural.h (plural_eval): Likewise.
29967 * intl/finddomain.c (_nl_find_domain): Likewise.
29968 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
29969 (_nl_load_domain, _nl_find_msg): Likewise.
29970 (internal_function): Remove definition.
29971 * intl/loadinfo.h (internal_function): Likewise.
29972 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
29973 internal_function.
29974 * intl/localealias.c (internal_function): Remove definition.
29975 (read_alias_file): Remove internal_function.
29976 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
29977 * intl/plural-exp.h (internal_function): Remove definition.
29978 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
29979 internal_function.
29980 * intl/plural.c: Regenerate.
29981 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29982 * locale/coll-lookup.c (__collidx_table_lookup)
29983 (__collseq_table_lookup): Likewise.
29984 * locale/coll-lookup.h (__collidx_table_lookup)
29985 (__collseq_table_lookup): Likewise.
29986 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29987 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29988 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29989 (_nl_unload_locale): Likewise.
29990 * locale/localeinfo.h (struct __locale_data): Remove
29991 internal_function from cleanup member.
29992 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29993 (_nl_remove_locale, _nl_load_locale_from_archive)
29994 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29995 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29996 (_nl_cleanup_time): Remove internal_function.
29997 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29998 (_nl_parse_alt_digit): Likewise.
29999 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
30000 (_nl_select_era_entry): Likewise.
30001 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
30002 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30003 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
30004 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30005 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 30006
dab0eece
FW
300072017-08-31 Florian Weimer <fweimer@redhat.com>
30008
30009 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
30010 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30011 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
30012 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
30013 Likewise.
30014 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
30015 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
30016 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
30017 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30018 Likewise.
30019 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
30020
ab5bf7cf
FW
300212017-08-31 Florian Weimer <fweimer@redhat.com>
30022
30023 * misc/getttyent.c (skip, value): Remove internal_function.
30024 * misc/syslog.c (openlog_internal): Likewise.
30025 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
30026
75b3047e
FW
300272017-08-31 Florian Weimer <fweimer@redhat.com>
30028
30029 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
30030 (__nss_rewrite_field): Remove internal_function.
30031 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30032 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30033 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30034 * nss/nsswitch.c (nss_parse_file, nss_getline)
30035 (nss_parse_service_list, nss_new_service): Likewise.
30036 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
30037 * nss/valid_field.c (__nss_valid_field): Likewise.
30038 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30039
0c71122c
FW
300402017-08-31 Florian Weimer <fweimer@redhat.com>
30041
30042 * malloc/arena.c (__malloc_fork_lock_parent)
30043 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
30044 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
30045 internal_function from defintions.
30046 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
30047 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
30048 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
30049 internal_function from declarations.
30050 * malloc/malloc.c (internal_function): Do not define.
30051 (mem2mem_check): Remove internal_function from declaration.
30052 (munmap_chunk, mremap_chunk): Remove internal_function.
30053 * malloc/mtrace.c (tr_where): Likewise.
30054
ca4ec803
FW
300552017-08-31 Florian Weimer <fweimer@redhat.com>
30056
30057 * include/rpc/pmap_clnt.h (__get_socket): Remove
30058 internal_function.
30059 * sunrpc/auth_des.c (synchronize): Likewise.
30060 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
30061 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
30062 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
30063 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
30064 (key_call): Likewise.
30065 * sunrpc/pm_getport.c (__get_socket): Likewise.
30066 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
30067 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
30068 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
30069 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
30070 (invalidate): Likewise.
30071 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
30072 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
30073 (set_input_fragment, get_input_bytes): Likewise.
30074
24cffce7
FW
300752017-08-31 Florian Weimer <fweimer@redhat.com>
30076
30077 * malloc/malloc.c (_int_free): Remove locked variable and related
30078 asserts.
30079
ecd0747d
L
300802017-08-31 H.J. Lu <hongjiu.lu@intel.com>
30081
30082 [BZ #22051]
30083 * Makerules (build-module-helper-objlist): Filter out
30084 $(elf-objpfx)sofini.os.
30085 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
30086 needed.
30087
5f0704b6
FW
300882017-08-31 Florian Weimer <fweimer@redhat.com>
30089
30090 * libio/fcloseall.c: Assume weak_alias is defined.
30091 * libio/feof.c: Likewise.
30092 * libio/fileno.c: Likewise.
30093 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
30094 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30095 definitions.
30096 (_IO_file_open): Call __open directly.
30097 (_IO_new_file_sync): Assume ESPIPE is defined.
30098 (_IO_file_seekoff_maybe_mmap): Call __read directly.
30099 (_IO_new_file_write): Call __write directly.
30100 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
30101 * libio/ftello64.c (__ftello64): Assume EIO is defined.
30102 * libio/genops.c: Assume _LIBC is defined.
30103 (save_for_backup): Remove internal_function.
30104 * libio/getc.c: Assume weak_alias is defined.
30105 * libio/getwc.c: Likewise.
30106 * libio/iofclose.c: Assume _LIBC is defined.
30107 * libio/iofdopen.c: Likewise.
30108 (_IO_fcntl): Remove macro definition.
30109 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
30110 Call __fcntl directly.
30111 * libio/iofflush.c: Assume weak_alias is defined.
30112 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
30113 defined.
30114 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
30115 * libio/iofgets.c: Likewise.
30116 * libio/iofopen.c: Assume _LIBC is defined.
30117 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
30118 * libio/iofputs.c: Assume weak_alias is defined.
30119 * libio/iofread.c: Likewise.
30120 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
30121 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
30122 * libio/ioftell.c: Assume weak_alias is defined.
30123 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
30124 * libio/iofwide.c: Assume _LIBC is defined.
30125 (_IO_fwide): Drop SHARED conditional because it is implied by
30126 SHLIB_COMPAT.
30127 * libio/iofwrite.c: Assume weak_alias is defined.
30128 * libio/iogetdelim.c: Likewise.
30129 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
30130 * libio/iogetwline.c (wmemcpy): Remove macro definition.
30131 (_IO_getwline): Call __wmemcpy directly.
30132 * libio/iopopen.c: Assume _LIBC is defined.
30133 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30134 (_IO_close): Remove macro definitions.
30135 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
30136 _exit directly.
30137 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
30138 directly.
30139 * libio/ioputs.c: Assume weak_alias is defined.
30140 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
30141 * libio/iosetbuffer.c: Assume weak_alias is defined.
30142 * libio/iosetvbuf.c: Likewise.
30143 * libio/ioungetc.c: Likewise.
30144 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
30145 libc_hidden_def, libc_hidden_weak, NULL are defined.
30146 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
30147 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
30148 defined.
30149 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30150 definitions.
30151 (_IO_old_file_init_internal): Drop SHARED conditional because it
30152 is implied by SHLIB_COMPAT.
30153 (_IO_old_file_fopen): Call __open directly.
30154 (_IO_old_file_sync): Assume ESPIPE is defined.
30155 (_IO_old_file_write): Call __write directly.
30156 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
30157 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
30158 Call __fcntl directly.
30159 * libio/oldiofgetpos.c: Assume weak_alias is defined.
30160 (_IO_old_fgetpos): Assume EIO is defined.
30161 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
30162 (_IO_old_fgetpos64): Assume EIO is defined.
30163 * libio/oldiofsetpos.c: Assume weak_alias is defined.
30164 (_IO_old_fsetpos): Assume EIO is defined.
30165 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
30166 (_IO_old_fsetpos64): Assume EIO is defined.
30167 * libio/oldiopopen.c: Assume _LIBC is defined.
30168 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30169 (_IO_close): Remove macro definitions.
30170 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
30171 directly.
30172 (_IO_old_proc_close): Call __close, __waitpid directly.
30173 * libio/put.c: Assume weak_alias is defined.
30174 * libio/stdfiles.c: Assume _LIBC is defined.
30175 * libio/stdio.c: Likewise.
30176 * libio/wfileops.c: Likewise.
30177 (_IO_wfile_sync): Assume ESPIPE is defined.
30178 * libio/wgenops.c: Assume _LIBC is defined.
30179 (save_for_wbackup): Remove internal_function.
30180
5129873a
FW
301812017-08-31 Florian Weimer <fweimer@redhat.com>
30182
30183 * malloc/malloc.c (top_check): Change return type to void. Remove
30184 internal_function.
30185 * malloc/hooks.c (top_check): Likewise.
30186 (malloc_check, realloc_check, memalign_check): Adjust.
30187
4fa9b3bf
JM
301882017-08-30 Joseph Myers <joseph@codesourcery.com>
30189
30190 [BZ #21457]
30191 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30192 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
30193 sigcontext and namespace requirements.
30194 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30195 * sysdeps/m68k/sys/ucontext.h: Likewise.
30196 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
30197 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
30198 <bits/sigcontext.h>.
30199 (__ctx): Define earlier.
30200 (mcontext_t): Define structure contents rather than using struct
30201 sigcontext.
30202 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
30203 __glibc_reserved1 instead of __reserved.
30204 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
30205 <bits/sigcontext.h>.
30206 (__ctx): Define earlier.
30207 (mcontext_t): Define structure contents rather than using struct
30208 sigcontext.
30209 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
30210 mcontext_t instead of struct sigcontext.
30211 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
30212 <bits/sigcontext.h>.
30213 (__ctx): Define earlier.
30214 (mcontext_t): Define structure contents rather than using struct
30215 sigcontext.
30216 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
30217 <bits/sigcontext.h>.
30218 (__ctx): Define earlier.
30219 (mcontext_t): Define structure contents rather than using struct
30220 sigcontext.
30221 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
30222 mcontext_t instead of struct sigcontext.
30223 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
30224 mcontext_t instead of struct sigcontext.
30225 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
30226 <bits/sigcontext.h>.
30227 (__ctx): New macro.
30228 (struct __ia64_fpreg_mcontext): New type.
30229 (mcontext_t): Define structure contents rather than using struct
30230 sigcontext.
30231 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
30232 (uc_sigmask): Define using __ctx.
30233 (uc_stack): Likewise.
30234 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
30235 <bits/sigcontext.h>.
30236 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30237 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
30238 <bits/sigcontext.h>.
30239 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
30240 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
30241 <bits/sigcontext.h>.
30242 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
30243 <bits/sigcontext.h>.
30244 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
30245 <bits/sigcontext.h>.
30246 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
30247 <bits/sigcontext.h>.
30248 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
30249 <bits/sigcontext.h>.
30250 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
30251 <bits/sigcontext.h>.
30252 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
30253 <bits/sigcontext.h>.
30254 (__ctx): Define earlier.
30255 (mcontext_t): Define structure contents rather than using struct
30256 sigcontext.
30257 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
30258 <bits/sigcontext.h>. Include <bits/types.h>.
30259 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
30260 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
30261 (test-xfail-XPG42/ucontext.h/conform): Likewise.
30262 (test-xfail-UNIX98/signal.h/conform): Likewise.
30263 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30264 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30265 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30266 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30267 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30268 (test-xfail-POSIX2008/signal.h/conform): Likewise.
30269 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30270 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30271 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30272
5898f454
FW
302732017-08-30 Florian Weimer <fweimer@redhat.com>
30274
30275 * malloc/dynarray_emplace_enlarge.c
30276 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
30277 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
30278 * malloc/tst-dynarray.c (test_long_overflow): New function.
30279 (do_test): Call it.
30280
a9da0bb2
FW
302812017-08-30 Florian Weimer <fweimer@redhat.com>
30282
30283 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
30284 (set_arena_corrupt): Remove definitions.
30285 (mtrim): Do not check for corrupt arena.
30286 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
30287 Likewise.
30288
ac3ed168
FW
302892017-08-30 Florian Weimer <fweimer@redhat.com>
30290
30291 [BZ #21754]
30292 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
30293 check_action.
30294 (ptmalloc_init): Do not set or use check_action.
30295 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
30296 call to malloc_printerr. Remove return statement.
30297 (free_check): Likewise. Remove arena unlock.
30298 (top_check): Update comment. Adjust call to malloc_printerr.
30299 Remove heap repair code.
30300 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
30301 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
30302 (sysmalloc): Adjust call to malloc_printerr.
30303 (munmap_chunk, __libc_realloc): Likewise. Remove return
30304 statement.
30305 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
30306 Remove errout label and corresponding gotos.
30307 (_int_free): Likewise. Remove arena unlock.
30308 (do_set_mallopt_check): Do not set check_action.
30309 (malloc_printerr): Adjust parameter list. Do not mark arena as
30310 corrupt.
30311 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
30312 comment.
30313 * manual/probes.texi (Memory Allocation Probes): Remove
30314 memory_mallopt_check_action.
30315
44bcba80
SE
303162017-08-30 Steve Ellcey <sellcey@cavium.com>
30317
30318 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
30319 Use pointer to uint64_t instead of long int for sp.
30320
ec2c1fce
FW
303212017-08-30 Florian Weimer <fweimer@redhat.com>
30322
30323 [BZ #21754]
30324 * malloc/malloc.c (malloc_printerr): Always terminate the process,
30325 without printing a backtrace. Do not leak any information in the
30326 error message.
30327 * manual/memory.texi (Heap Consistency Checking): Update.
30328 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
30329
9ce673b6
FW
303302017-08-30 Florian Weimer <fweimer@redhat.com>
30331
30332 Do not scale NPTL tests with available number of CPUs.
30333 * nptl/tst-cond16.c (count): Set to constant value of 8.
30334 * nptl/tst-cond18.c (count): Likewise.
30335
2f1aef19
JM
303362017-08-29 Joseph Myers <joseph@codesourcery.com>
30337
30338 [BZ #22035]
30339 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
30340 Define to take a second argument that is a macro that
30341 concatentates a suffix, not the suffix itself.
30342 (__CONCAT_d): New macro.
30343 (__CONCAT_f): Likewise.
30344 (__CONCAT_l): Likewise.
30345
8325b477
PP
303462017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
30347
30348 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
30349 by child.
30350
319cbbf6
AZ
303512017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30352 Aurelien Jarno <aurelien@aurel32.net>
30353 Maciej W. Rozycki <macro@imgtec.com>
30354
30355 [BZ #21956]
30356 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
30357 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
30358 `mips16-syscall6' and `mips16-syscall7'.
30359 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
30360 (CFLAGS-mips16-syscall7.c): Remove.
30361 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
30362 Remove `__mips16_syscall5', `__mips16_syscall6' and
30363 `__mips16_syscall7'.
30364 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
30365 (__mips16_syscall0): Rename `__mips16_syscall_return' to
30366 `__mips_syscall_return'.
30367 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
30368 (__mips16_syscall1): Likewise.
30369 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
30370 (__mips16_syscall2): Likewise.
30371 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
30372 (__mips16_syscall3): Likewise.
30373 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
30374 (__mips16_syscall4): Likewise.
30375 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
30376 Remove.
30377 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
30378 Remove.
30379 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
30380 Remove.
30381 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
30382 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
30383 `__mips16_syscall5'. Remove prototype.
30384 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
30385 `__mips16_syscall6'. Remove prototype.
30386 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
30387 `__mips16_syscall7'. Remove prototype.
30388 (__nomips16, __mips16_syscall_return): Move to...
30389 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
30390 (__nomips16, __mips_syscall_return): ... here.
30391 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
30392 `__mips16_syscall_return' to `__mips_syscall_return'.
30393 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
30394 `internal_syscall##nr'.
30395 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
30396 `internal_syscall##nr'.
30397 (FORCE_FRAME_POINTER): Remove.
30398 (__mips_syscall5): New prototype.
30399 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30400 (__mips_syscall6): New prototype.
30401 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30402 (__mips_syscall7): New prototype.
30403 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30404 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30405 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
30406 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
30407 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
30408 (sysdep_routines): Add libc-do-syscall.
30409 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
30410 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
30411
01b87c65
AZ
304122017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30413
30414 [BZ #21672]
30415 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
30416 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
30417 (advise_stack_range): New function.
30418 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
30419 stack non required to advise_stack_range at allocatestack.c
30420
16f138a4
SN
304212017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30422
30423 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
30424
251bccfa
FW
304252017-08-29 Florian Weimer <fweimer@redhat.com>
30426
30427 [BZ #22026]
30428 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
30429 __end_fct. Mangle __end_fct after setting it to NULL.
30430 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30431 (modules-names, modules-names-tests): Add
30432 tst-gconv-init-failure-mod.
30433 (gconv-modules): New target.
30434 (tst-gconv-init-failure-mod.so): Link against libsupport.
30435 (tst-gconv-init-failure): Depend on gconv-modules,
30436 tst-gconv-init-failure-mod.so.
30437 * iconv/tst-gconv-init-failure-mod.c: New file.
30438 * iconv/tst-gconv-init-failure.c: Likewise.
30439 * iconv/test-gconv-modules: Likewise.
30440
e7c18b9d
FW
304412017-08-29 Florian Weimer <fweimer@redhat.com>
30442
30443 [BZ #22025]
30444 * iconv/gconv_db.c (free_derivation): Remove redundant
30445 parentheses.
30446 (gen_steps): Unconditionally mangle __btowc_fct after
30447 initialization.
30448 (increment_counter): Likewise. Do not call init_fct for internal
30449 modules.
30450
7daada03
JM
304512017-08-29 Joseph Myers <joseph@codesourcery.com>
30452
30453 [BZ #22028]
30454 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30455 (_MSUF_): Remove macro.
30456 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30457 Likewise.
30458 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30459 (__REDIRFROM_X): New macro.
30460 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30461 Likewise.
30462 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30463 (__REDIRTO_X): Likewise.
30464 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30465 arguments.
30466 (__MATH_REDIRCALL_2): Likewise.
30467 (__MATH_REDIRCALL_INTERNAL): Likewise.
30468 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30469 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30470 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30471 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30472 * math/test-finite-macros.c: New file.
30473 * math/Makefile (tests): Add test-finite-macros.
30474 (CFLAGS-test-finite-macros.c): New variable.
30475
1cf1232c
PF
304762017-08-29 Patsy Franklin <pfrankli@redhat.com>
30477 Jeff Law <law@redhat.com>
30478
30479 [BZ #22025]
30480 Mangle NULL pointers in iconv/gconv.
30481 * iconv/gconv_cache.c (find_module): Demangle init_fct before
30482 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
30483 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
30484 is non-NULL before demangling the end_fct. Check for NULL
30485 end_fct after demangling.
30486 (__gconv_release_step): Demangle the end_fct before checking
30487 it for NULL. Remove assert on __shlibc_handle != NULL.
30488 (gen_steps): Don't check btowc_fct for NULL before mangling.
30489 Demangle init_fct before checking for NULL.
30490 (increment_counter): Likewise.
30491 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
30492 end_fct for NULL before mangling.
30493 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
30494 for NULL.
30495
c207f7ce 304962017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
30497
30498 [BZ #21971]
30499 * locale/iso-639.def: add Morisyen.
30500
42496114
GG
305012017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30502
30503 [BZ #21930]
30504 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
30505 (iszero): New C++ implementation that does not use
30506 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
30507 signaling nans are enabled, since __builtin_types_compatible_p
30508 is a C-only feature.
30509 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
30510 defined, include ieee754_float128.h for access to the union and
30511 member ieee854_float128.ieee.
30512 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
30513 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
30514 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30515 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
30516 options of test-math-zero on powerpc64le.
30517
5e2bc4ff
L
305182017-08-28 H.J. Lu <hongjiu.lu@intel.com>
30519
30520 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30521 Change double to float.
30522
a48c0fb4
JM
305232017-08-28 Joseph Myers <joseph@codesourcery.com>
30524
30525 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
30526 unconditional.
30527 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
30528 conditional code; define contents only for [LIBM_SVID_COMPAT].
30529
ee17d4e9
FW
305302017-08-28 Florian Weimer <fweimer@redhat.com>
30531
30532 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
30533 (abi-lp64_be-options): Remove.
30534 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
30535 (abi-hard-options): Likewise.
30536 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
30537 (abi-o32_hard-options, abi-o32_soft_2008-options)
30538 (abi-o32_hard_2008-options, abi-n32_soft-options)
30539 (abi-n32_hard-options, abi-n32_soft_2008-options)
30540 (abi-n32_hard_2008-options, abi-n64_soft-options)
30541 (abi-n64_hard-options, abi-n64_soft_2008-options)
30542 (abi-n64_hard_2008-options): Likewise.
30543 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
30544 (abi-64-v1-options, abi-64-v2-options): Likewise.
30545 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
30546 (abi-64-options): Likewise.
30547 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
30548 (abi-64-options): Likewise.
30549 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
30550 (abi-64-options): Likewise.
30551 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
30552 (abi-64-options, abi-x32-options): Likewise.
30553
2dba5ce7
FW
305542017-08-28 Florian Weimer <fweimer@redhat.com>
30555
30556 Store supported list of SYS_* system calls in the source tree.
30557 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
30558 (bits/syscall.h): Generate from list file.
30559 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
30560 [$(subdir) = misc] (tests): Add tst-syscall-list.
30561 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
30562 [$(subdir) = misc] (tst-syscall-list-macros.list)
30563 [$(subdir) = misc] (tst-syscall-list-nr.list)
30564 (tst-syscall-list-sys.list): Helper targets for new
30565 tst-syscall-list test.
30566 [$(subdir) = misc] (tst-syscall-list.out): Run test script
30567 tst-syscall-list.sh.
30568 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
30569 target. Do not include bits/syscall.d.
30570 [$(subdir) = misc] (generated): Do not update.
30571 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30572 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30573 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30574 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30575
5f3b183d
PP
305762017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30577
30578 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30579 (tst-cxa_atexit, tst-on_exit): Likewise.
30580 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30581 tst-cxa_atexit, and tst-on_exit.
30582 * stdlib/tst-atexit-common.c: New file.
30583 * stdlib/tst-atexit.c: New file.
30584 * stdlib/tst-at_quick_exit.c: New file.
30585 * stdlib/tst-cxa_atexit.c: New file.
30586 * stdlib/tst-on_exit.c: New file.
30587
2ef8d469
ST
305882017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30589
30590 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
30591 * mach/stack_chk_fail_local.c: New file.
30592 * hurd/stack_chk_fail_local.c: New file.
30593 * mach/Machrules ($(interface-library)-routines): Add
30594 stack_chk_fail_local.
99ee4d26
ST
30595 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30596 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30597 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30598 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30599 * hurd/Makefile (CFLAGS-hurdstartup.o,
30600 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 30601
7ab70c98
L
306022017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30603
30604 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30605 (index_cpu_*, index_arch_*): Removed.
30606
39e7a5a6
SN
306072017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30608
30609 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30610 Use uint64_t instead of unsigned long.
30611
bba5c930
JM
306122017-08-25 Joseph Myers <joseph@codesourcery.com>
30613
a6ccdb08
JM
30614 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30615 [__HAVE_DISTINCT_FLOAT128].
30616
23761119
JM
30617 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30618 of <bits/math-finite.h>.
30619 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30620 inclusion of <bits/math-finite.h>.
30621 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30622 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30623 __NO_LONG_DOUBLE_MATH].
30624 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30625 (__MATH_REDIRCALL_2): Likewise.
30626 (__MATH_REDIRCALL_INTERNAL): Likewise.
30627 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30628 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30629 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30630
bba5c930
JM
30631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30632 Remove file.
30633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30634 Likewise.
30635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30636 Likewise.
30637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30638 Likewise.
30639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30640 Likewise.
30641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30642 Likewise.
30643 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30644 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30645 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30646 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30648 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30649 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30650 w_sqrtf_compat-ppc32.
30651
3d7b66f6
GG
306522017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30653
30654 * math/math.h [defined __cplusplus] (issignaling): In the long
30655 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30656 is not defined. Call __issignaling, otherwise.
30657
ebd6f007
AZ
306582017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30659
30660 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30661 syscall definitions and replace __builtin_expect with __glibc_likely.
30662 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30663 syscall.
30664 (SYSCALL_CANCELLABLE): Removedefinition
30665 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30666 definition.
30667 (PSEUDO_END): Likewise.
30668 [IS_IN (libpthread)] (CENABLE): Likewise.
30669 [IS_IN (libpthread)] (CDISABLE): Likewise.
30670 [IS_IN (libc)] (CENABLE): Likewise.
30671 [IS_IN (libc)] (CENABLE): Likewise.
30672 [IS_IN (librt)] (CDISABLE): Likewise.
30673 [IS_IN (librt)] (CDISABLE): Likewise.
30674 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30675 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30676 definition.
30677 (PSEUDO_END): Likewise.
30678 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
30679 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
30680 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30681 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30682 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30683 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30684 (CENABLE): Likewise.
30685 (CDISABLE): Likewise.
30686 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30687 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
30688 defintion.
30689 (PSEUDO_END): Likewise.
30690 [IS_IN (libpthread)] (CENABLE): Likewise.
30691 [IS_IN (libpthread)] (CDISABLE): Likewise.
30692 [IS_IN (libc)] (CENABLE): Likewise.
30693 [IS_IN (libc)] (CENABLE): Likewise.
30694 [IS_IN (librt)] (CDISABLE): Likewise.
30695 [IS_IN (librt)] (CDISABLE): Likewise.
30696 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30697 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
30698 definition.
30699 (PSEUDO_END): Likewise.
30700 [IS_IN (libpthread)] (CENABLE): Likewise.
30701 [IS_IN (libpthread)] (CDISABLE): Likewise.
30702 [IS_IN (libc)] (CENABLE): Likewise.
30703 [IS_IN (libc)] (CENABLE): Likewise.
30704 [IS_IN (librt)] (CDISABLE): Likewise.
30705 [IS_IN (librt)] (CDISABLE): Likewise.
30706 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30707 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
30708 definition.
30709 (PSEUDO_END): Likewise.
30710 [IS_IN (libpthread)] (CENABLE): Likewise.
30711 [IS_IN (libpthread)] (CDISABLE): Likewise.
30712 [IS_IN (libc)] (CENABLE): Likewise.
30713 [IS_IN (libc)] (CENABLE): Likewise.
30714 [IS_IN (librt)] (CDISABLE): Likewise.
30715 [IS_IN (librt)] (CDISABLE): Likewise.
30716 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30717 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30718 definition.
30719 (PSEUDO_END): Likewise.
30720 [IS_IN (libpthread)] (CENABLE): Likewise.
30721 [IS_IN (libpthread)] (CDISABLE): Likewise.
30722 [IS_IN (libc)] (CENABLE): Likewise.
30723 [IS_IN (libc)] (CENABLE): Likewise.
30724 [IS_IN (librt)] (CDISABLE): Likewise.
30725 [IS_IN (librt)] (CDISABLE): Likewise.
30726 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30727 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
30728 definition.
30729 (PSEUDO_END): Likewise.
30730 [IS_IN (libpthread)] (CENABLE): Likewise.
30731 [IS_IN (libpthread)] (CDISABLE): Likewise.
30732 [IS_IN (libc)] (CENABLE): Likewise.
30733 [IS_IN (libc)] (CENABLE): Likewise.
30734 [IS_IN (librt)] (CDISABLE): Likewise.
30735 [IS_IN (librt)] (CDISABLE): Likewise.
30736 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30737 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
30738 definition.
30739 (PSEUDO_END): Likewise.
30740 [IS_IN (libpthread)] (CENABLE): Likewise.
30741 [IS_IN (libpthread)] (CDISABLE): Likewise.
30742 [IS_IN (libc)] (CENABLE): Likewise.
30743 [IS_IN (libc)] (CENABLE): Likewise.
30744 [IS_IN (librt)] (CDISABLE): Likewise.
30745 [IS_IN (librt)] (CDISABLE): Likewise.
30746 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30747 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30748 Remove definition.
30749 (PSEUDO_END): Likewise.
30750 [IS_IN (libpthread)] (CENABLE): Likewise.
30751 [IS_IN (libpthread)] (CDISABLE): Likewise.
30752 [IS_IN (libc)] (CENABLE): Likewise.
30753 [IS_IN (libc)] (CENABLE): Likewise.
30754 [IS_IN (librt)] (CDISABLE): Likewise.
30755 [IS_IN (librt)] (CDISABLE): Likewise.
30756 (SINGLE_THREAD_P): Likewise.
30757 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30758 definition.
30759 (PSEUDO_END): Likewise.
30760 [IS_IN (libpthread)] (CENABLE): Likewise.
30761 [IS_IN (libpthread)] (CDISABLE): Likewise.
30762 [IS_IN (libc)] (CENABLE): Likewise.
30763 [IS_IN (libc)] (CENABLE): Likewise.
30764 [IS_IN (librt)] (CDISABLE): Likewise.
30765 [IS_IN (librt)] (CDISABLE): Likewise.
30766 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30767 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
30768 definition.
30769 (PSEUDO_END): Likewise.
30770 [IS_IN (libpthread)] (CENABLE): Likewise.
30771 [IS_IN (libpthread)] (CDISABLE): Likewise.
30772 [IS_IN (libc)] (CENABLE): Likewise.
30773 [IS_IN (libc)] (CENABLE): Likewise.
30774 [IS_IN (librt)] (CDISABLE): Likewise.
30775 [IS_IN (librt)] (CDISABLE): Likewise.
30776 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30777 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30778 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30779 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30780 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30781 definition.
30782 (PSEUDO_END): Likewise.
30783 [IS_IN (libpthread)] (CENABLE): Likewise.
30784 [IS_IN (libpthread)] (CDISABLE): Likewise.
30785 [IS_IN (libc)] (CENABLE): Likewise.
30786 [IS_IN (libc)] (CENABLE): Likewise.
30787 [IS_IN (librt)] (CDISABLE): Likewise.
30788 [IS_IN (librt)] (CDISABLE): Likewise.
30789 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30790 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30791 definition.
30792 (PSEUDO_END): Likewise.
30793 [IS_IN (libpthread)] (CENABLE): Likewise.
30794 [IS_IN (libpthread)] (CDISABLE): Likewise.
30795 [IS_IN (libc)] (CENABLE): Likewise.
30796 [IS_IN (libc)] (CENABLE): Likewise.
30797 [IS_IN (librt)] (CDISABLE): Likewise.
30798 [IS_IN (librt)] (CDISABLE): Likewise.
30799 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30800 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
30801 definition.
30802 (PSEUDO_END): Likewise.
30803 [IS_IN (libpthread)] (CENABLE): Likewise.
30804 [IS_IN (libpthread)] (CDISABLE): Likewise.
30805 [IS_IN (libc)] (CENABLE): Likewise.
30806 [IS_IN (libc)] (CENABLE): Likewise.
30807 [IS_IN (librt)] (CDISABLE): Likewise.
30808 [IS_IN (librt)] (CDISABLE): Likewise.
30809 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30810 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30811 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30812 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30813 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30814 definition.
30815 (PSEUDO_END): Likewise.
30816 [IS_IN (libpthread)] (CENABLE): Likewise.
30817 [IS_IN (libpthread)] (CDISABLE): Likewise.
30818 [IS_IN (libc)] (CENABLE): Likewise.
30819 [IS_IN (libc)] (CENABLE): Likewise.
30820 [IS_IN (librt)] (CDISABLE): Likewise.
30821 [IS_IN (librt)] (CDISABLE): Likewise.
30822 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30823 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30824 definition.
30825 (PSEUDO_END): Likewise.
30826 [IS_IN (libpthread)] (CENABLE): Likewise.
30827 [IS_IN (libpthread)] (CDISABLE): Likewise.
30828 [IS_IN (libc)] (CENABLE): Likewise.
30829 [IS_IN (libc)] (CENABLE): Likewise.
30830 [IS_IN (librt)] (CDISABLE): Likewise.
30831 [IS_IN (librt)] (CDISABLE): Likewise.
30832 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30833
8aa48656
SN
308342017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30835
30836 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30837
fcaaca41
L
308382017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30839
30840 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30841
376b40a2
L
308422017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30843
30844 [BZ #21982]
30845 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30846 middle and outer with size_t instead of int. Repleace %d and
30847 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30848 "MAX (outer, nchars - 64)" to support unsigned outer and
30849 nchars. Also exit loop when outer == 0.
30850
2b0b9a1c
AZ
308512017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30852
30853 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30854 * include/signal.h (__sigsuspend_nocancel): Likewise.
30855 * include/time.h (__nanosleep_nocancel): Likewise.
30856 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30857 * login/utmp_file.c: Include non cancellable syscall header.
30858 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30859 prototype.
30860
b9eaca8f
L
308612017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30862
30863 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30864 .byte sequences with AVX512F instructions.
30865 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30866 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30867 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30868 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30869 Likewise.
30870 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30871 Likewise.
30872
5a706f64
SE
308732017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30874 Steve Ellcey <sellcey@cavium.com>
30875
30876 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30877 Use PTR_REG macro in cmp instruction.
30878
b513da7e
GG
308792017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30880
30881 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30882 Change the return type of the ifunc resolver to match the return
30883 type of the target function.
30884
78ca091c
AZ
308852017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30886
b70b6026
AZ
30887 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30888 (preadv64): Likewise.
30889 (pwrite64(: Likewise.
30890 (pwritev64): Likewise.
30891
78ca091c
AZ
30892 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30893 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30894 (LOAD_ARGS_0): Likewise.
30895 (LOAD_ARGS_1): Likewise.
30896 (LOAD_ARGS_2): Likewise.
30897 (LOAD_ARGS_3): Likewise.
30898 (LOAD_ARGS_4): Likewise.
30899 (LOAD_ARGS_5): Likewise.
30900 (LOAD_ARGS_6): Likewise.
30901 (LOAD_REGS_0): Likewise.
30902 (LOAD_REGS_1): Likewise.
30903 (LOAD_REGS_2): Likewise.
30904 (LOAD_REGS_3): Likewise.
30905 (LOAD_REGS_4): Likewise.
30906 (LOAD_REGS_5): Likewise.
30907 (LOAD_REGS_6): Likewise.
30908 (ASM_ARGS_0): Likewise.
30909 (ASM_ARGS_1): Likewise.
30910 (ASM_ARGS_2): Likewise.
30911 (ASM_ARGS_3): Likewise.
30912 (ASM_ARGS_4): Likewise.
30913 (ASM_ARGS_5): Likewise.
30914 (ASM_ARGS_6): Likewise.
30915 (LOAD_ARGS_TYPES_1): Likewise.
30916 (LOAD_ARGS_TYPES_2): Likewise.
30917 (LOAD_ARGS_TYPES_3): Likewise.
30918 (LOAD_ARGS_TYPES_4): Likewise.
30919 (LOAD_ARGS_TYPES_5): Likewise.
30920 (LOAD_ARGS_TYPES_6): Likewise.
30921 (LOAD_REGS_TYPES_1): Likewise.
30922 (LOAD_REGS_TYPES_2): Likewise.
30923 (LOAD_REGS_TYPES_3): Likewise.
30924 (LOAD_REGS_TYPES_4): Likewise.
30925 (LOAD_REGS_TYPES_5): Likewise.
30926 (LOAD_REGS_TYPES_6): Likewise.
30927 (TYPEFY): New define.
30928 (ARGIFY): Likewise.
30929 (internal_syscall0): Likewise.
30930 (internal_syscall1): Likewise.
30931 (internal_syscall2): Likewise.
30932 (internal_syscall3): Likewise.
30933 (internal_syscall4): Likewise.
30934 (internal_syscall5): Likewise.
30935 (internal_syscall6): Likewise.
30936 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30937 (INTERNAL_SYSCALL_NCS): Remove define.
30938 (internal_syscall1): Add define.
30939
453a493d
GG
309402017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30941
30942 * math/w_remainder_compat.c: Remove duplicate inclusion of
30943 math-svid-compat.h.
30944 * math/w_remainderf_compat.c: Likewise.
30945 * math/w_remainderl_compat.c: Likewise.
30946
f2f048a5
GG
309472017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30948
30949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30950
d9bef9c0
JM
309512017-08-22 Joseph Myers <joseph@codesourcery.com>
30952
30953 [BZ #21684]
30954 * math/tgmath.h (__floating_type): Simplify definitions.
30955 (__real_integer_type): New macro.
30956 (__complex_integer_type): Likewise.
30957 (__expr_is_real): Likewise.
30958 (__tgmath_real_type_sub): Update comment to describe handling of
30959 complex types.
30960 (__tgmath_complex_type_sub): New macro.
30961 (__tgmath_complex_type): Likewise.
30962 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30963 (__TGMATH_CF128): Use __expr_is_real.
30964 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
30965 __expr_is_real.
30966 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30967 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
30968 * math/gen-tgmath-tests.py (Type.create_type): Create complex
30969 integer types.
30970
08d6eb46
AZ
309712017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30972
988f991b
AZ
30973 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
30974 macro.
30975 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
30976 alias.
30977 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
30978 Likewise.
30979
6f33fd04
AZ
30980 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30981 nanosleep_not_cancel with __nanosleep_nocancel.
30982 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30983 (__nanosleep_nocancel): New macro.
30984 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30985 function.
30986 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30987 macro.
30988 (__nanosleep_nocancel): New prototype.
30989
08d6eb46
AZ
30990 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30991 pause_not_cancel with __pause_nocancel.
30992 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30993 (__pause_nocancel): New macro.
30994 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30995 macro.
30996 (__pause_nocancel): New prototype.
30997 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30998
ee4e992e
MS
309992017-08-22 Martin Sebor <msebor@redhat.com>
31000
31001 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
31002 to return a pointer to the same type as the target function.
31003
20962acb
L
310042017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31005
31006 [BZ #18822]
31007 [BZ #21986]
31008 * include/printf.h (__printf_fphex): Add attribute_hidden.
31009 (__guess_grouping): New prototype.
31010 * stdio-common/printf_fp.c (__guess_grouping): Removed.
31011 * stdio-common/reg-printf.c (__register_printf_specifier): Add
31012 libc_hidden_proto and libc_hidden_def.
31013 * stdlib/strfmon_l.c (__guess_grouping): Removed.
31014 (__vstrfmon_l): Remove the third argument passed to
31015 __guess_grouping.
31016
a16e8bc0
GG
310172017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31018
31019 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
31020 definition for issignaling that does not rely on __MATH_TG,
31021 since __MATH_TG uses __builtin_types_compatible_p, which is only
31022 available in C mode.
31023 (CFLAGS-test-math-issignaling.cc): New variable.
31024 * math/Makefile [CXX] (tests): Add test-math-issignaling.
31025 * math/test-math-issignaling.cc: New test for C++ implementation
31026 of type-generic issignaling.
31027 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31028 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
31029 options of test-math-issignaling on powerpc64le.
31030
8d2ec553
L
310312017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31032
31033 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31034 building libc.a.
31035 (hidden_proto): Likewise.
31036 (hidden_tls_proto): Likewise.
31037 (__hidden_proto): Likewise.
31038
a4d57b79
FW
310392017-08-22 Florian Weimer <fweimer@redhat.com>
31040
31041 math: Statically link tests of internal functionality.
31042 * math/Makefile (tests): Remove atest-exp, atest-sincos,
31043 atest-exp2.
31044 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
31045 (gmp-objs): Remove assignment.
31046 (atest-exp, atest-sincos, atest-exp2): Remove targets.
31047
75dfe623
JM
310482017-08-22 Joseph Myers <joseph@codesourcery.com>
31049
80f91666
JM
31050 [BZ #21987]
31051 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
31052 and copy to ...
31053 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
31054 ... here.
31055 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
31056 ... and here.
31057
75dfe623
JM
31058 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
31059 variable definitions above inclusion of ../Rules.
31060
ea99fcd0
JM
310612017-08-21 Joseph Myers <joseph@codesourcery.com>
31062
31063 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
31064 case calling __builtin_unreachable.
31065
19926de9
AZ
310662017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31067
a8410a5f
AZ
31068 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
31069 __waitpid_nocancel.
31070 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
31071 (__waitpid_nocancel): New macro.
31072 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
31073 macro.
31074 (__waitpid_nocancel): Replace macro with a function.
31075 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
31076 function.
31077
7369800c
AZ
31078 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
31079 __fcntl_nocancel.
31080 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
31081 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
31082
19926de9
AZ
31083 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
31084 __writev_nocancel_nostatus.
31085 (write_call_graph): Likewise.
31086 (write_bb_counts): Likewise.
31087 * resolv/herror.c (herror): Likewise.
31088 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
31089 macro.
31090 (__writev_nocancel_nostatus): New macro.
31091 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
31092 Remove macro.
31093 (__writev_nocancel_nostatus): New function.
31094
813378e9
JM
310952017-08-21 Joseph Myers <joseph@codesourcery.com>
31096
df1deda6
JM
31097 Revert:
31098 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31099
31100 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31101 building libc.a.
31102 (hidden_proto): Likewise.
31103 (hidden_tls_proto): Likewise.
31104 (__hidden_proto): Likewise.
31105
831bbd55
JM
31106 [BZ #21973]
31107 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
31108 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31110 Likewise.
31111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
31112 Likewise.
31113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31114 Likewise.
31115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
31116 Likewise.
31117 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
31118 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31119 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31120 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31121 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31122 GLIBC_2.0 sqrtl symbol.
31123
813378e9
JM
31124 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
31125 [__USE_MISC] (_LIB_VERSION): Likewise.
31126 [__USE_MISC] (struct exception): Likewise.
31127 [__USE_MISC] (matherr): Likewise.
31128 [__USE_MISC] (DOMAIN): Likewise.
31129 [__USE_MISC] (SING): Likewise.
31130 [__USE_MISC] (OVERFLOW): Likewise.
31131 [__USE_MISC] (UNDERFLOW): Likewise.
31132 [__USE_MISC] (TLOSS): Likewise.
31133 [__USE_MISC] (PLOSS): Likewise.
31134 [__USE_MISC] (HUGE): Likewise.
31135 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
31136 * math/math-svid-compat.h: New file.
31137 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
31138 and matherrl.
31139 * include/math.h [!_ISOMAC] (__matherr): Remove.
31140 * manual/arith.texi (FP Exceptions): Do not document matherr.
31141 * math/Makefile (tests): Change test-matherr to test-matherr-3.
31142 (tests-internal): New variable.
31143 (install-lib): Do not add libieee.a.
31144 (non-lib.a): Likewise.
31145 (extra-objs): Do not add libieee.a and ieee-math.o.
31146 (CPPFLAGS-s_lib_version.c): Remove variable.
31147 ($(objpfx)libieee.a): Remove rule.
31148 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
31149 * math/ieee-math.c: Remove.
31150 * math/libm-test-support.c (matherr): Remove.
31151 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
31152 and license notices. Include <math-svid-compat.h> and
31153 <shlib-compat.h>.
31154 (matherr): Undefine as macro. Use compat_symbol_reference.
31155 (_LIB_VERSION): Likewise.
31156 * math/test-matherr-2.c: New file.
31157 * math/test-matherr-3.c: Likewise.
31158 * sysdeps/generic/math_private.h (__kernel_standard): Remove
31159 declaration.
31160 (__kernel_standard_f): Likewise.
31161 (__kernel_standard_l): Likewise.
31162 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
31163 <math_private.h>. Include <math-svid-compat.h>.
31164 (_LIB_VERSION): Undefine as macro.
31165 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
31166 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
31167 [LIBM_SVID_COMPAT], use compat_symbol.
31168 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
31169 <math_private.h>. Include <math-svid-compat.h>.
31170 (matherr): Undefine as macro.
31171 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
31172 compat_symbol.
31173 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
31174 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
31175 compat_symbol_reference.
31176 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
31177 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
31178 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
31179 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
31180 (MATHERR_D): Remove declaration.
31181 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
31182 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
31183 [LIBM_BUILD] (pmatherrf): Likewise.
31184 [LIBM_BUILD] (pmatherr): Likewise.
31185 [LIBM_BUILD] (pmatherrl): Likewise.
31186 (DOMAIN): Likewise.
31187 (SING): Likewise.
31188 (OVERFLOW): Likewise.
31189 (UNDERFLOW): Likewise.
31190 (TLOSS): Likewise.
31191 (PLOSS): Likewise.
31192 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
31193 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
31194 compat_symbol.
31195 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
31196 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
31197 compat_symbol.
31198 * math/lgamma-compat.h: Include <math-svid-compat.h>.
31199 * math/w_acos_compat.c: Likewise.
31200 * math/w_acosf_compat.c: Likewise.
31201 * math/w_acosh_compat.c: Likewise.
31202 * math/w_acoshf_compat.c: Likewise.
31203 * math/w_acoshl_compat.c: Likewise.
31204 * math/w_acosl_compat.c: Likewise.
31205 * math/w_asin_compat.c: Likewise.
31206 * math/w_asinf_compat.c: Likewise.
31207 * math/w_asinl_compat.c: Likewise.
31208 * math/w_atan2_compat.c: Likewise.
31209 * math/w_atan2f_compat.c: Likewise.
31210 * math/w_atan2l_compat.c: Likewise.
31211 * math/w_atanh_compat.c: Likewise.
31212 * math/w_atanhf_compat.c: Likewise.
31213 * math/w_atanhl_compat.c: Likewise.
31214 * math/w_cosh_compat.c: Likewise.
31215 * math/w_coshf_compat.c: Likewise.
31216 * math/w_coshl_compat.c: Likewise.
31217 * math/w_exp10_compat.c: Likewise.
31218 * math/w_exp10f_compat.c: Likewise.
31219 * math/w_exp10l_compat.c: Likewise.
31220 * math/w_exp2_compat.c: Likewise.
31221 * math/w_exp2f_compat.c: Likewise.
31222 * math/w_exp2l_compat.c: Likewise.
31223 * math/w_fmod_compat.c: Likewise.
31224 * math/w_fmodf_compat.c: Likewise.
31225 * math/w_fmodl_compat.c: Likewise.
31226 * math/w_hypot_compat.c: Likewise.
31227 * math/w_hypotf_compat.c: Likewise.
31228 * math/w_hypotl_compat.c: Likewise.
31229 * math/w_j0_compat.c: Likewise.
31230 * math/w_j0f_compat.c: Likewise.
31231 * math/w_j0l_compat.c: Likewise.
31232 * math/w_j1_compat.c: Likewise.
31233 * math/w_j1f_compat.c: Likewise.
31234 * math/w_j1l_compat.c: Likewise.
31235 * math/w_jn_compat.c: Likewise.
31236 * math/w_jnf_compat.c: Likewise.
31237 * math/w_jnl_compat.c: Likewise.
31238 * math/w_lgamma_main.c: Likewise.
31239 * math/w_lgamma_r_compat.c: Likewise.
31240 * math/w_lgammaf_main.c: Likewise.
31241 * math/w_lgammaf_r_compat.c: Likewise.
31242 * math/w_lgammal_main.c: Likewise.
31243 * math/w_lgammal_r_compat.c: Likewise.
31244 * math/w_log10_compat.c: Likewise.
31245 * math/w_log10f_compat.c: Likewise.
31246 * math/w_log10l_compat.c: Likewise.
31247 * math/w_log2_compat.c: Likewise.
31248 * math/w_log2f_compat.c: Likewise.
31249 * math/w_log2l_compat.c: Likewise.
31250 * math/w_log_compat.c: Likewise.
31251 * math/w_logf_compat.c: Likewise.
31252 * math/w_logl_compat.c: Likewise.
31253 * math/w_pow_compat.c: Likewise.
31254 * math/w_powf_compat.c: Likewise.
31255 * math/w_powl_compat.c: Likewise.
31256 * math/w_remainder_compat.c: Likewise.
31257 * math/w_remainderf_compat.c: Likewise.
31258 * math/w_remainderl_compat.c: Likewise.
31259 * math/w_scalb_compat.c: Likewise.
31260 * math/w_scalbf_compat.c: Likewise.
31261 * math/w_scalbl_compat.c: Likewise.
31262 * math/w_sinh_compat.c: Likewise.
31263 * math/w_sinhf_compat.c: Likewise.
31264 * math/w_sinhl_compat.c: Likewise.
31265 * math/w_sqrt_compat.c: Likewise.
31266 * math/w_sqrtf_compat.c: Likewise.
31267 * math/w_sqrtl_compat.c: Likewise.
31268 * math/w_tgamma_compat.c: Likewise.
31269 * math/w_tgammaf_compat.c: Likewise.
31270 * math/w_tgammal_compat.c: Likewise.
31271 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
31272 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31273 * sysdeps/ieee754/k_standard.c: Likewise.
31274 * sysdeps/ieee754/k_standardf.c: Likewise.
31275 * sysdeps/ieee754/k_standardl.c: Likewise.
31276 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31277 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31278 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31279 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31280 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31281 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31282 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31283 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
31284 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31286 Likewise.
31287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31288 Likewise.
31289 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
31290 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31291 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31292 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31293
4504783c
FW
312942017-08-21 Florian Weimer <fweimer@redhat.com>
31295
31296 [BZ #21864]
31297 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
31298 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
31299 Move before inclusion of ../Rules.
31300
b5889d25
FW
313012017-08-21 Florian Weimer <fweimer@redhat.com>
31302
31303 [BZ #21972]
31304 * assert/assert.h (assert): Use static_cast (bool) for C++.
31305 Use the ternary operator in the warning branch for GNU C.
31306 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
31307 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
31308 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
31309 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
31310 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
31311
41e673c1
L
313122017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31313
31314 [BZ #18822]
31315 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31316 (__syscall_clock_gettime): Add attribute_hidden.
31317 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
31318 (__start_context): Likewise.
31319
568ff429
L
313202017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31321
31322 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31323 building libc.a.
31324 (hidden_proto): Likewise.
31325 (hidden_tls_proto): Likewise.
31326 (__hidden_proto): Likewise.
31327
7c41b4a1
L
313282017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31329
31330 * include/libc-symbols.h (attribute_hidden): Enable hidden
31331 visibility in libc.a compiled with PIE.
31332
483d7068
L
313332017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31334
31335 [BZ #18822]
31336 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
31337 Add attribute_hidden.
31338
313392017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31340
31341 [BZ #21864]
31342 * Makerules (all-nonlib): Add $(others-extras).
31343 * catgets/Makefile (others-extras): New.
31344 * elf/Makefile (others-extras): Likewise.
31345 * nss/Makefile (others-extras): Likewise.
31346
54e4b8f2
L
313472017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31348
31349 [BZ #18822]
31350 * csu/libc-start.c (__libc_multiple_libcs): Removed.
31351 * elf/dl-open.c: Include <libc-internal.h>.
31352 (__libc_multiple_libcs): Removed.
31353 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
31354 <hp-timing.h>.
31355 * include/libc-internal.h (__libc_multiple_libcs): New.
31356 * misc/sbrk.c: Include <libc-internal.h>.
31357 (__libc_multiple_libcs): Removed.
31358
1dbbb1ec
L
313592017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31360
31361 [BZ #18822]
31362 * grp/initgroups.c (__nss_group_database): Removed.
31363 (__nss_initgroups_database): Likewise.
31364 * nscd/gai.c (__nss_hosts_database): Likewise.
31365 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
31366 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
31367 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
31368 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
31369 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
31370 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
31371 attribute_hidden.
31372 * nss/nsswitch.c (__nss_database_custom): Define only if
31373 USE_NSCD is defined.
31374 (__nss_configure_lookup): Use __nss_database_custom only if
31375 USE_NSCD is defined.
31376 * nss/nsswitch.h (__nss_database_custom): Declare only if
31377 USE_NSCD is defined. Add attribute_hidden.
31378 (__nss_setent): Add attribute_hidden.
31379 (__nss_endent): Likewise.
31380 (__nss_getent_r): Likewise.
31381 (__nss_getent): Likewise.
31382 (DEFINE_DATABASE): Declare __nss_##arg##_database.
31383
2585d7b8
L
313842017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31385
31386 [BZ #18822]
31387 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
31388 libc_hidden_proto and libc_hidden_def.
31389
c8dfa99c
L
313902017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31391
31392 [BZ #18822]
31393 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
31394 Add libc_hidden_proto.
31395 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
31396 Add libc_hidden_def.
31397
7ed87317
L
313982017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31399
31400 [BZ #21974]
31401 * gmon/Makefile (routines): Remove bb_init_func and
31402 bb_exit_func.
31403 (elide-routines.os): Removed.
9476b904
L
31404 * gmon/bb_exit_func.c: Likewise.
31405 * gmon/bb_init_func.c: Likewise.
7ed87317
L
31406 * include/sys/gmon.h (__bb): Likewise.
31407 (__bb_init_func): Likewise.
31408 (__bb_exit_func): Likewise.
91695eb1 31409 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 31410
94e6ba15
L
314112017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31412
31413 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
31414 * include/setjmp.h (____longjmp_chk): Here. Add
31415 attribute_hidden.
31416
7550717e
L
314172017-08-19 H.J. Lu <hongjiu.lu@intel.com>
31418
31419 [BZ #18822]
31420 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
31421 attribute_hidden.
31422 (__strspn_sse2): Likewise.
31423
0bb2fabc
AZ
314242017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31425
c181840c
AZ
31426 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
31427 (close_not_cancel_no_status): Likewise.
31428 (__close_nocancel): New macro.
31429 (__close_nocancel_nostatus): Likewise.
31430 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31431 macro.
31432 (close_not_cancel): Likewise.
31433 (close_not_cancel_no_status): Likewise.
31434 (__close_nocancel): New prototype.
31435 (__close_nocancel_nostatus): New function.
31436 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31437 * catgets/open_catalog.c (__open_catalog): Replace
31438 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31439 * gmon/gmon.c (write_gmon): Likewise.
31440 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31441 * intl/loadmsgcat.c (close): Likewise.
31442 * io/ftw.c (open_dir_stream): Likewise.
31443 (ftw_startup): Likewise.
31444 * libio/fileops.c (_IO_file_open): Likewise.
31445 (_IO_file_close_mmap): Likewise.
31446 (_IO_file_close): Likewise.
31447 * libio/iopopen.c (_IO_dup2): Likewise.
31448 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31449 * locale/loadlocale.c (_nl_load_locale): Likewise.
31450 * login/utmp_file.c (pututline_file): Likewise.
31451 (endutent_file): Likewise.
31452 * misc/daemon.c (daemon): Likewise.
31453 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31454 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31455 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31456 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31457 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31458 * nscd/nscd_helper.c (open_socket): Likewise.
31459 (__nscd_open_socket): Likewise.
31460 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31461 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31462 (__nscd_innetgr): Likewise.
31463 * nss/nss_db/db-open.c (internal_setent): Likewise.
31464 * resolv/res-close.c (__res_iclose): Likewise.
31465 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31466 * sysdeps/posix/closedir.c (__closedir): Likewise.
31467 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31468 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31469 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31470 (opendir_tail): Likewise.
31471 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31472 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
31473 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31474 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31475 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31476 (gethostid): Likewise.
31477 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31478 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31479 Likewise.
31480 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31481 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
31482 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31483 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31484 Likewise.
31485 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
31486 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
31487 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31488 Likewise.
31489 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
31490 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31491 Likewise.
31492 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31493 Likewise.
31494 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31495 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31496 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31497 __close_nocancel.
31498
0bb2fabc
AZ
31499 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
31500 (openat_not_cancel_3): Likewise.
31501 (openat64_not_cancel_3): Likewise).
31502 (openat_not_cancel_3): Likewise).
31503 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
31504 macro.
31505 (openat_not_cancel_3): Likewise.
31506 (openat64_not_cancel): Likewise.
31507 (openat64_not_cancel_3): Likewise.
31508 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
31509 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
31510 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
31511 __open{64}_nocancel.
31512 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31513 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31514 * sysdeps/posix/opendir.c (__opendirat): Likewise.
31515
65a086db
L
315162017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31517
31518 [BZ #18822]
31519 * include/argz.h (__argz_create_sep): New function prototype.
31520 (__argz_append): Likewise.
31521 (__argz_add): Likewise.
31522 (__argz_add_sep): Likewise.
31523 (__argz_delete): Likewise.
31524 (__argz_insert): Likewise.
31525 (__argz_replace): Likewise.
31526 * string/argz.h (__argz_create_sep): Removed.
31527 (__argz_append): Likewise.
31528 (__argz_add): Likewise.
31529 (__argz_add_sep): Likewise.
31530 (__argz_delete): Likewise.
31531 (__argz_insert): Likewise.
31532 (__argz_replace): Likewise.
31533
62753d2c
L
315342017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31535
31536 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
31537 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
31538 (GNU_PROPERTY_STACK_SIZE): Likewie.
31539 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
31540 (GNU_PROPERTY_LOPROC): Likewise.
31541 (GNU_PROPERTY_HIPROC): Likewise.
31542 (GNU_PROPERTY_LOUSER): Likewise.
31543 (GNU_PROPERTY_HIUSER): Likewise.
31544 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
31545 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
31546 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
31547 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
31548 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
31549 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
31550 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
31551 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
31552 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
31553 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
31554 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
31555 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
31556 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
31557 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
31558 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
31559 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
31560 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
31561 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
31562 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
31563 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
31564 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
31565 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
31566 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
31567
6913ad65
GG
315682017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31569
31570 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31571 in C++ mode.
31572
47a67213
GG
315732017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31574
31575 [BZ #21930]
31576 * math/math.h (isinf): Check if in C or C++ mode before using
31577 __builtin_types_compatible_p, since this is a C mode feature.
31578
a748eb31
AZ
315792017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31580
c647fb88
AZ
31581 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31582 (__write_nocancel): New macro.
31583 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31584 Rewrite as a function prototype.
31585 (write_not_cancel): Remove macro.
31586 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31587 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31588 (write_gmon): Likewise.
31589 * libio/fileops.c (_IO_new_file_write): Likewise.
31590 * login/utmp_file.c (pututline_file): Likewise.
31591 (updwtmp_file): Likewise.
31592 * stdio-common/psiginfo.c (psiginfo): Likewise.
31593 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31594 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31595 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31596 Likewise.
31597 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31598 Likewise.
31599
a748eb31
AZ
31600 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31601 (__read_nocancel): New macro.
31602 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31603 __read_nocancel.
31604 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31605 macro.
31606 (__read_nocancel): New prototype.
31607 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31608 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31609 with __read_nocancel.
31610 * intl/loadmsgcat.c (read): Likewise.
31611 * libio/fileops.c (_IO_file_read): Likewise.
31612 * locale/loadlocale.c (_nl_load_locale): Likewise.
31613 * login/utmp_file.c (getutent_r_file): Likewise.
31614 (internal_getut_r): Likewise.
31615 (getutline_r_file): Likewise.
31616 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31617 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31618 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31619 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31620 Likewise.
31621 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31622 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31623 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31624 Likewise.
31625 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31626 Likewise.
31627 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31628 Likewise.
31629 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31630 Likewise.
31631 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31632
098b9dd4
L
316332017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31634
31635 [BZ #21966]
31636 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31637 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31638 usable.
31639
a3fe6a20
DD
316402017-08-17 DJ Delorie <dj@redhat.com>
31641
31642 * bug17079.c: Update to new test harness.
31643 * test-digits-dots.c: Likewise.
31644 * test-netdb.c: Likewise.
31645 * tst-field.c: Likewise.
31646 * tst-nss-getpwent.c: Likewise.
31647 * tst-nss-static.c: Likewise.
31648 * tst-nss-test1.c: Likewise.
31649 * tst-nss-test2.c: Likewise.
31650 * tst-nss-test3.c: Likewise.
31651 * tst-nss-test4.c: Likewise.
31652 * tst-nss-test5.c: Likewise.
31653
c2284574
AZ
316542017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31655
31656 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31657 (open_not_cancel_2): Likewise.
31658 (open_nocancel): New macro.
31659 (open64_nocancel): Likewise.
31660 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31661 (open_not_cancel_2): Likewise.
31662 (__open_nocancel): New prototype.
31663 (__open64_nocancel): Likewise.
31664 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31665 __open_nocancel.
31666 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31667 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31668 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31669 with __open_nocancel.
31670 * csu/check_fds.c (check_one_fd): Likewise.
31671 * gmon/gmon.c (write_gmon): Likewise.
31672 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31673 * intl/loadmsgcat.c (open): Likewise.
31674 * libio/fileops.c (_IO_file_open): Likewise.
31675 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31676 * locale/loadlocale.c (_nl_load_locale): Likewise.
31677 * login/utmp_file.c (setutent_file): Likewise.
31678 * misc/daemon.c (daemon): Likewise.
31679 * nss/nss_db/db-open.c (internal_setent): Likewise.
31680 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31681 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
31682 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31683 (__opendir): Likewise.
31684 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31685 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31686 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31687 (gethostid): Likewise.
31688 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31689 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31690 Likewise.
31691 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31692 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
31693 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31694 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31695 Likewise.
31696 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31697 Likewise.
31698 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31699 Likewise.
31700 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31701 Likewise.
31702 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31703 Likewise.
31704 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31705 Likewise.
31706 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31707 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31708
d4505b89
WD
317092017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
31710
31711 * benchtests/bench-skeleton.c (main): Add support for
31712 latency benchmarking.
31713 * benchtests/scripts/bench.py: Add support for latency benchmarking.
31714
34d6a3cb
L
317152017-08-17 H.J. Lu <hongjiu.lu@intel.com>
31716
31717 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31718 the startup object.
31719
038d1caf
FW
317202017-08-17 Florian Weimer <fweimer@redhat.com>
31721
31722 * include/sys/socket.h (__opensock): Remove internal_function.
31723 * socket/opensock.c (__opensock): Likewise.
31724 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31725
67f0aff0
JM
317262017-08-16 Joseph Myers <joseph@codesourcery.com>
31727
31728 [BZ #21944]
31729 * signal/bits/types/__sigval_t.h: New file.
31730 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31731 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31732 and define sigval_t using __sigval_t.
31733 * include/bits/types/__sigval_t.h: New file.
31734 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31735 instead of <bits/types/__sigval_t.h>.
31736 (struct sigevent): Use __sigval_t instead of sigval_t.
31737 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31738 instead of <bits/types/__sigval_t.h>.
31739 (siginfo_t): Use __sigval_t instead of sigval_t.
31740 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31741 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31742 (struct sigevent): Use __sigval_t instead of sigval_t.
31743 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31744 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31745 (siginfo_t): Use __sigval_t instead of sigval_t.
31746 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31747
87e7bf4d
L
317482017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31749
31750 * NEWS: Remove "[Add new features here]" for 2.27.
31751
5047057f
JM
317522017-08-16 Joseph Myers <joseph@codesourcery.com>
31753
31754 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31755 libc.so.
31756
20c7b195
L
317572017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31758
31759 * NEWS: Mention x86-64 FMA optimization.
31760
24a2e658
L
317612017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31762
31763 [BZ #21912]
31764 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31765 Add e_expf-fma.
31766 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31767 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31768 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31769
eedca977
AS
317702017-08-16 Andreas Schwab <schwab@suse.de>
31771
403143e1
FW
31772 [BZ #16750]
31773 CVE-2009-5064
eedca977
AS
31774 * elf/ldd.bash.in: Never run file directly.
31775
f59f7adb
L
317762017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31777
31778 [BZ #21955]
31779 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31780 (L(SP_INF_0)): Likewise.
31781
6b11a6ad
FW
317822017-08-15 Florian Weimer <fweimer@redhat.com>
31783
31784 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31785 run-built-tests.
31786
bbf5c438
FW
317872017-08-15 Florian Weimer <fweimer@redhat.com>
31788
31789 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31790 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31791 BROKEN_THREAD_SIGNALS code.
31792 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31793 request_list): Remove caller_pid member used for
31794 BROKEN_THREAD_SIGNALS.
31795 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31796 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31797 Remove BROKEN_THREAD_SIGNALS support.
31798 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31799 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31800
6014c65d
FW
318012017-08-15 Florian Weimer <fweimer@redhat.com>
31802
31803 * gmon/Makefile (tests): Add tst-gmon.
31804 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31805 Set.
31806 (tests-special): Add tst-gmon-prof.out.
31807 (tst-gmon.out): Depend on clean-tst-gmon-data.
31808 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31809 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31810 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31811 startup object.
31812 * aclocal.m4 (GPROF): Set and substitute.
31813 * config.amke.in (GPROF): Set.
31814 * configure: Regenerate.
31815
ee72219a
GR
318162017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31817
31818 * elf/elf.h A (NT_PPC_TAR): New macro.
31819 (NT_PPC_PPR): Likewise.
31820 (NT_PPC_DSCR): Likewise.
31821 (NT_PPC_EBB): Likewise.
31822 (NT_PPC_PMU): Likewise.
31823 (NT_PPC_TM_CGPR): Likewise.
31824 (NT_PPC_TM_CFPR): Likewise.
31825 (NT_PPC_TM_CVMX): Likewise.
31826 (NT_PPC_TM_CVSX): Likewise.
31827 (NT_PPC_TM_SPR): Likewise.
31828 (NT_PPC_TM_CTAR): Likewise.
31829 (NT_PPC_TM_CPPR): Likewise.
31830 (NT_PPC_TM_CDSCR): Likewise.
31831
4ebf934e
FW
318322017-08-15 Florian Weimer <fweimer@redhat.com>
31833
31834 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31835 regparm (2) instead of internal_function.
31836 (_MCOUNT_DECL): Adjust.
31837
e9f57484
SL
318382017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31839
31840 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31841 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31842
88ff4d55
JM
318432017-08-14 Joseph Myers <joseph@codesourcery.com>
31844
31845 * conform/data/sys/wait.h-data (si_value): Do not expect for
31846 XPG42.
31847
c88ffc23
FW
318482017-08-14 Florian Weimer <fweimer@redhat.com>
31849
31850 [BZ #21962]
31851 NSS: Create stubs for accidentally exported lookup functions.
31852 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31853 Remove declaration.
31854 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31855 (ether_hostton): Call __nss_ethers_lookup2 instead.
31856 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31857 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31858 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31859 (setup): Call __nss_netgroup_lookup2 instead.
31860 * nss/Makefile (routines): Add compat-lookup.
31861 * nss/Versions (GLIBC_2.27): Add symbol version.
31862 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31863 (DB_COMPAT_FCT): Remove.
31864 * nss/compat-lookup.c: New file.
31865 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31866 from databases.def.
31867 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31868 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31869 (netname2user): Call __nss_publickey_lookup2 instead.
31870 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31871 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31872 instead.
31873
35a29136 318742017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
31875 Sergei Trofimovich <slyfox@inbox.ru>
31876
31877 [BZ #21908]
31878 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31879 Rename to MMAP2_PAGE_UNIT.
31880 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31881 __OFF_T_MATCHES_OFF64_T is not defined.
31882 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31883 uint64_t.
31884 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31885 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31886
fbdc1e3e
FW
318872017-08-14 Florian Weimer <fweimer@redhat.com>
31888
31889 i386: Do not set internal_function.
31890 * config.h.in (USE_REGPARMS, internal_function): Remove.
31891 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31892 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31893
b3f85fd2
FW
318942017-08-14 Florian Weimer <fweimer@redhat.com>
31895
31896 * elf/dl-init.c (_dl_init): Remove internal_function.
31897 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31898 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31899
630bf491
FW
319002017-08-14 Florian Weimer <fweimer@redhat.com>
31901
31902 * elf/rtld.c (_dl_start): Remove internal_function.
31903 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31904 _dl_start.
31905
9fa7449b
FW
319062017-08-14 Florian Weimer <fweimer@redhat.com>
31907
31908 * elf/dl-fini.c (_dl_fini): Remove internal_function
31909 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31910
73322d5f
L
319112017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31912
d863cd71 31913 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
31914 (bit_cpu_SHSTK): Likewise.
31915 (index_cpu_IBT): Likewise.
31916 (index_cpu_SHSTK): Likewise.
31917 (reg_IBT): Likewise.
31918 (reg_SHSTK): Likewise.
31919 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31920 Handle index_cpu_IBT and index_cpu_SHSTK.
31921
dbc303ef
MF
319222017-08-14 Mike FABIAN <mfabian@redhat.com>
31923
31924 [BZ #19982]
31925 * po/fr.po: Fix spelling mistake.
31926
3012cfb0
FW
319272017-08-13 Florian Weimer <fweimer@redhat.com>
31928
31929 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31930 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31931 (_dl_catch_error, _dl_receive_error): Likewise.
31932 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31933 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31934 (_dl_deallocate_tls): Likewise.
31935 * include/dlfcn.h (_dl_addr): Likewise.
31936 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31937 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31938 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31939 Likewise.
31940
52bcdf26
FW
319412017-08-13 Florian Weimer <fweimer@redhat.com>
31942
31943 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31944 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31945 internal_function.
31946 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31947
e1d2ae8d
FW
319482017-08-13 Florian Weimer <fweimer@redhat.com>
31949
31950 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
31951 internal_function.
31952 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
31953 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
31954 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
31955 internal_function from _dl_make_stack_executable_hook member.
31956 (_dl_make_stack_executable): Remove internal_function.
31957 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
31958 Likewise.
31959 * sysdeps/unix/sysv/linux/dl-execstack.c
31960 (_dl_make_stack_executable): Likewise.
31961
c4ce0382
FW
319622017-08-13 Florian Weimer <fweimer@redhat.com>
31963
31964 * sysdeps/unix/sysv/linux/netlinkaccess.h
31965 (__netlink_assert_response): Remove internal_function.
31966 * sysdeps/unix/sysv/linux/netlink_assert_response.c
31967 (__netlink_assert_response): Likewise.
31968
c4d767f7
FW
319692017-08-13 Florian Weimer <fweimer@redhat.com>
31970
31971 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
31972 internal_function.
31973 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
31974
b2297409
FW
319752017-08-13 Florian Weimer <fweimer@redhat.com>
31976
31977 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
31978 internal_function.
31979 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
31980 * inet/netgroup.h (__internal_setnetgrent)
31981 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31982 * inet/getnetgrent_r.c (__internal_setnetgrent)
31983 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31984 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31985 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31986 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31987 * nss/nsswitch.h (db_lookup_function): Likewise.
31988
1b0bfc69
FW
319892017-08-13 Florian Weimer <fweimer@redhat.com>
31990
31991 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31992 Remove internal_function.
31993 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31994 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31995 message argument on the stack.
31996 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31997 Likeweise.
31998
a6bd8722
MF
319992017-08-12 Mike FABIAN <mfabian@redhat.com>
32000
32001 Adapt test case data to the changes in the thousands
32002 separators.
32003
32004 [BZ #20756]
32005 * localedata/tst-langinfo.sh: Adapt test case data.
32006 * stdlib/tst-strfmon_l.c: Likewise.
32007 * stdlib/tst-strtod4.c: Likewise.
32008 * stdlib/tst-strtod5i.c: Likewise.
32009
8b2c63e4
FW
320102017-08-11 Florian Weimer <fweimer@redhat.com>
32011
32012 [BZ #21242]
32013 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
32014 Suppress pedantic warning resulting from statement expression.
32015 (__ASSERT_FUNCTION): Add missing __extension__.
32016
61c98291
SP
320172017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32018
86c6519e
SP
32019 * benchtests/bench-memmove-large.c: Print output in JSON
32020 format.
32021 * benchtests/bench-memmove.c: Likewise.
32022
61c98291
SP
32023 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
32024 * benchtests/bench-memchr.c (do_one_test): Likewise.
32025 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
32026 * benchtests/bench-memcpy.c (do_one_test): Likewise.
32027 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
32028 * benchtests/bench-memmove.c (do_one_test): Likewise.
32029 * benchtests/bench-memset-large.c (do_one_test): Likewise.
32030 * benchtests/bench-memset.c (do_one_test): Likewise.
32031 * benchtests/bench-string.h (test_init): Remove memsets.
32032
925733a9
RJ
320332017-08-10 Rical Jasan <ricaljasan@pacific.net>
32034
32035 * manual/lang.texi
32036 (Computing the Width of an Integer Data Type): Rename section to
32037 "Width of an Integer Type". Remove inaccurate statement regarding
32038 lack of C language facilities for determining width of integer
32039 types, and reorder content to improve flow and context of
32040 discussion.
32041
4fcdfbfc
RJ
320422017-08-10 Rical Jasan <ricaljasan@pacific.net>
32043
32044 * lang.texi (va_copy): Change standard from ISO to C99.
32045 (__va_copy): Add standard and header annotation.
32046 Update description for clarity of origins and current use.
32047
4d98ace9
GG
320482017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32049
32050 [BZ #21941]
32051 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
32052 xssqrtqp requires operands to be in Vector Registers
32053 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
32054 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
32055 (__ieee754_sqrtf128): Likewise.
32056
92236903
WD
320572017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
32058
32059 * sysdeps/aarch64/memcmp.S (memcmp):
32060 Rewrite of optimized memcmp.
32061
2449ae7b
FW
320622017-08-10 Florian Weimer <fweimer@redhat.com>
32063
32064 Introduce ld.so exceptions.
32065 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
32066 (_dl_exception_create, _dl_exception_create_format)
32067 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
32068 (_dl_catch_exception): Declare.
32069 (_dl_catch_error): Update comment.
32070 * elf/dl-error-skeleton.c (struct catch): Replace objname,
32071 errstring, malloced members with exception member.
32072 (_dl_out_of_memory): Remove.
32073 (fatal_error): New function, extracted from _dl_signal_error.
32074 (_dl_signal_exception, _dl_signal_cexception): New functions.
32075 (_dl_signal_error): Call _dl_exception_create to allocate an
32076 exception object.
32077 (_dl_catch_exception): New function, based on _dl_catch_error.
32078 (_dl_catch_error): Implement using _dl_catch_exception.
32079 * elf/dl-exception.c: New file.
32080 * elf/Makefile (dl-routines): Add dl-exception.
32081 (elide-routines.os): Likewise.
32082 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
32083 _dl_exception_create_format, _dl_exception_free.
32084 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
32085 _dl_signal_exception.
32086 * elf/dl-lookup.c (make_string): Remove.
32087 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
32088 _dl_signal_cexception, _dl_exception_free.
32089 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
32090 _dl_signal_exception.
32091 * elf/dl-sym.c (do_sym): Likewise.
32092 * elf/dl-version.c (make_string): Remove.
32093 (match_symbol): Use _dl_exception_create_format,
32094 _dl_signal_cexception, _dl_exception_free.
32095 (_dl_check_map_versions): Likewise.
32096 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
32097 _dl_catch_exception.
32098 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
32099 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
32100 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
32101 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
32102 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
32103 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
32104 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
32105 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
32106 Likewise.
32107 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
32108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
32109 (ld.so): Likewise.
32110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
32111 (ld.so): Likewise.
32112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
32113 Likewise.
32114 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
32115 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
32116 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
32117 Likewise.
32118 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
32119 Likewise.
32120 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
32121
f87cc2bf
FW
321222017-08-10 Florian Weimer <fweimer@redhat.com>
32123
32124 * inet/net-internal.h (__inet6_scopeid_pton): Remove
32125 attribute_hidden, internal_function.
32126 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
32127 internal_function.
32128
eac43cbb
FW
321292017-08-10 Florian Weimer <fweimer@redhat.com>
32130
32131 * malloc/malloc.c (get_max_fast): Reimplement as an inline
32132 function which calls __builtin_unreachable.
32133
bd80111e
MF
321342017-08-10 Mike FABIAN <mfabian@redhat.com>
32135
32136 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
32137 Indian monetary formatting
32138 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
32139 test cases.
32140
60e2846e
DL
321412017-08-09 Dmitry V. Levin <ldv@altlinux.org>
32142
68dc02d1
DL
32143 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
32144 Fix typo in comment.
32145
60e2846e
DL
32146 [BZ #21928]
32147 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
32148 PTRACE_SEIZE_DEVEL): Remove.
32149 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
32150 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32151 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32152 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32153 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32154
3d452dab
JM
321552017-08-09 Joseph Myers <joseph@codesourcery.com>
32156
24d9f53a
JM
32157 * posix/bits/types.h (__qaddr_t): Remove.
32158
3d452dab
JM
32159 [BZ #21457]
32160 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
32161 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32162 __glibc_reserved1.
32163 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
32164 (ucontext_t): Use __ctx with uc_flags.
32165 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
32166 (__ctxt): Likewise.
32167 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32168 __glibc_reserved1.
32169 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
32170 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32171 __glibc_reserved1.
32172 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
32173 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32174 __glibc_reserved1.
32175 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
32176 macro.
32177 (ucontext_t): Use __ctx with uc_flags.
32178 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
32179 (ucontext_t): Use __ctx with uc_flags.
32180 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
32181 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
32182 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
32183 (ucontext_t): Use __ctx with uc_flags.
32184 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
32185 undefine further down.
32186 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32187 __glibc_reserved1.
32188 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
32189 undefine further down.
32190 (ucontext_t): Use __ctx with uc_flags.
32191 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
32192 undefine further down.
32193 (ucontext_t): Use __ctx with uc_flags.
32194 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
32195 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
32196 Rename uc_pad to __glibc_reserved1.
32197 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
32198 undefine further down.
32199 (ucontext_t): Use __ctx with uc_flags.
32200 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
32201 further down.
32202 (ucontext_t): Use __ctx with uc_flags.
32203 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
32204 __ctx with uc_flags.
32205 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
32206 (ucontext_t): Use __ctx with uc_flags.
32207 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
32208 __ctx with uc_flags.
32209
30161498
FW
322102017-08-09 Florian Weimer <fweimer@redhat.com>
32211
32212 [BZ #21932]
32213 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
32214 before early return.
32215
5797b410
AS
322162017-08-09 Andreas Schwab <schwab@suse.de>
32217
139237a4 32218 [BZ #21041]
5797b410
AS
32219 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
32220 renamed alias.
32221
139237a4 32222 [BZ #21041]
40c06a3d
AS
32223 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
32224 tst-compat-forwarder.
32225 (modules-names): Add tst-compat-forwarder-mod.
32226 ($(objpfx)tst-compat-forwarder): Depend on
32227 $(objpfx)tst-compat-forwarder-mod.so.
32228 * nptl/tst-compat-forwarder.c: New file.
32229 * nptl/tst-compat-forwarder-mod.c: New file.
32230
36ada5f6
SP
322312017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
32232
0e02b510
SP
32233 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
32234 comments.
32235
36ada5f6
SP
32236 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
32237 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
32238 memcpy_falkor.
32239 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
32240 Bump.
32241 (__libc_ifunc_impl_list): Add __memcpy_falkor.
32242 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
32243 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
32244 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32245 Add falkor.
32246 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
32247 New macro.
32248
9995c839
AZ
322492017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32250
32251 [BZ #759]
32252 * manual/setjmp.texi (getcontex): Document uc_stack value
32253 compatibility differences.
32254
f17a4233
JM
322552017-08-08 Joseph Myers <joseph@codesourcery.com>
32256
32257 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
32258 (old_malloc_hook): Likewise.
32259 (old_memalign_hook): Likewise.
32260 (old_realloc_hook): Likewise.
32261 (struct hdr): Likewise.
32262 (flood): Likewise.
32263 (freehook): Likewise.
32264 (mallochook): Likewise.
32265 (memalignhook): Likewise.
32266 (reallochook): Likewise.
32267 (mprobe): Likewise.
32268 * malloc/mtrace.c (mallwatch): Likewise.
32269 (tr_old_free_hook): Likewise.
32270 (tr_old_malloc_hook): Likewise.
32271 (tr_old_realloc_hook): Likewise.
32272 (tr_old_memalign_hook): Likewise.
32273 (tr_where): Likewise.
32274 (lock_and_info): Likewise.
32275 (tr_freehook): Likewise.
32276 (tr_mallochook): Likewise.
32277 (tr_reallochook): Likewise.
32278 (tr_memalignhook): Likewise.
32279 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
32280 * misc/mmap.c (__mmap): Likewise.
32281 * misc/mmap64.c (__mmap64): Likewise.
32282 * misc/mprotect.c (__mprotect): Likewise.
32283 * misc/msync.c (msync): Likewise.
32284 * misc/munmap.c (__munmap): Likewise.
32285 * posix/posix_madvise.c (posix_madvise): Likewise.
32286 * socket/send.c (__send): Likewise.
32287 * socket/sendto.c (__sendto): Likewise.
32288 * socket/setsockopt.c (__setsockopt): Likewise.
32289 * string/memcmp.c (__ptr_t): Remove macro.
32290 (MEMCMP): Use void * instead of ptr_t.
32291 * string/memrchr.c (__ptr_t): Remove macro.
32292 (__memrchr): Use void * instead of ptr_t.
32293 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
32294 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32295 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32296 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
32297 * sysdeps/mach/msync.c (msync): Likewise.
32298 * sysdeps/mach/munmap.c (__munmap): Likewise.
32299 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
32300 Likewise.
32301 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32302 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
32303 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
32304 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
32305 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
32306 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32307 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
32308 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
32309 Likewise.
32310 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32311 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
32312 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
32313 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
32314 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
32315 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
32316 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
32317 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
32318 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
32319 Likewise.
32320 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
32321 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
32322 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
32323 (MEMCMP): Use void * instead of ptr_t.
32324 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
32325 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
32326
0df595b2
FW
323272017-08-08 Florian Weimer <fweimer@redhat.com>
32328
32329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
32330 return statement.
32331
086df229
L
323322017-08-08 H.J. Lu <hongjiu.lu@intel.com>
32333
32334 [BZ #21913]
32335 * csu/libc-tls.c: Include <startup.h> first.
32336 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
32337 * elf/dl-tunables.c: Include <startup.h> first.
32338 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
32339 * sysdeps/generic/startup.h: New file.
32340 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
32341 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
32342 (I386_USE_SYSENTER): New. Defined to 0.
32343
fc5ad702
AS
323442017-08-08 Andreas Schwab <schwab@suse.de>
32345
32346 [BZ #21041]
32347 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
32348 * nptl/pt-system.c (system): Likewise.
32349
852d6312
AZ
323502017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32351
32352 [BZ #21780]
32353 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
32354 EOPNOTSUPP.
32355 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
32356 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
32357 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
32358 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
32359 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
32360 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
32361 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
32362
8b164787
JM
323632017-08-07 Joseph Myers <joseph@codesourcery.com>
32364
cd65836b
JM
32365 [BZ #21899]
32366 * bits/sigaction.h (struct sigaction): Define sa_handler and
32367 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
32368 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32369 [__USE_XOPEN_EXTENDED].
32370 (SA_RESTART): Likewise.
32371 (SA_NODEFER): Likewise.
32372 (SA_RESETHAND): Likewise.
32373 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
32374 (struct sigaction): Define sa_handler and sa_sigaction using union
32375 also for [__USE_XOPEN_EXTENDED].
32376 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32377 [__USE_XOPEN_EXTENDED].
32378 (SA_RESTART): Likewise.
32379 (SA_NODEFER): Likewise.
32380 (SA_RESETHAND): Likewise.
32381 * sysdeps/unix/sysv/linux/bits/sigaction.h
32382 (struct sigaction): Define sa_handler and sa_sigaction using union
32383 also for [__USE_XOPEN_EXTENDED].
32384 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32385 [__USE_XOPEN_EXTENDED].
32386 (SA_RESTART): Likewise.
32387 (SA_NODEFER): Likewise.
32388 (SA_RESETHAND): Likewise.
32389 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
32390 (struct sigaction): Define sa_handler and sa_sigaction using union
32391 also for [__USE_XOPEN_EXTENDED].
32392 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32393 [__USE_XOPEN_EXTENDED].
32394 (SA_RESTART): Likewise.
32395 (SA_NODEFER): Likewise.
32396 (SA_RESETHAND): Likewise.
32397 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
32398 (struct sigaction): Define sa_handler and sa_sigaction using union
32399 also for [__USE_XOPEN_EXTENDED].
32400 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32401 [__USE_XOPEN_EXTENDED].
32402 (SA_RESTART): Likewise.
32403 (SA_NODEFER): Likewise.
32404 (SA_RESETHAND): Likewise.
32405 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32406 (struct sigaction): Define sa_handler and sa_sigaction using union
32407 also for [__USE_XOPEN_EXTENDED].
32408 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32409 [__USE_XOPEN_EXTENDED].
32410 (SA_RESTART): Likewise.
32411 (SA_NODEFER): Likewise.
32412 (SA_RESETHAND): Likewise.
32413 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32414 (struct sigaction): Define sa_handler and sa_sigaction using union
32415 also for [__USE_XOPEN_EXTENDED].
32416 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32417 [__USE_XOPEN_EXTENDED].
32418 (SA_RESTART): Likewise.
32419 (SA_NODEFER): Likewise.
32420 (SA_RESETHAND): Likewise.
32421 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32422 (struct sigaction): Define sa_handler and sa_sigaction using union
32423 also for [__USE_XOPEN_EXTENDED].
32424 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32425 [__USE_XOPEN_EXTENDED].
32426 (SA_RESTART): Likewise.
32427 (SA_NODEFER): Likewise. Define directly rather than as alias.
32428 (SA_RESETHAND): Likewise.
32429 (SA_INTERRUPT): Define only for [__USE_MISC].
32430 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32431 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32432 [__USE_MISC].
32433 (SA_STACK): Define only for [__USE_MISC].
32434 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
32435 (struct sigaction): Define sa_handler and sa_sigaction using union
32436 also for [__USE_XOPEN_EXTENDED].
32437 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32438 [__USE_XOPEN_EXTENDED].
32439 (SA_RESTART): Likewise.
32440 (SA_NODEFER): Likewise.
32441 (SA_RESETHAND): Likewise.
32442 (SA_NOPTRACE): Define only for [__USE_MISC].
32443
d9fee042
JM
32444 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32445 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32446 (struct catalog_info): Likewise.
32447 * inet/htontest.c (lo): Likewise.
32448 (foo): Likewise.
32449 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32450 * inet/inet_net.c (inet_network): Likewise.
32451 * inet/inet_netof.c (inet_netof): Likewise.
32452 * inet/rcmd.c (__ivaliduser): Likewise.
32453 (iruserok): Likewise.
32454 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32455 * locale/programs/locale-spec.c (locale_special): Likewise.
32456 * nis/nis_findserv.c (struct findserv_req): Likewise.
32457 (__nis_findfastest_with_timeout): Likewise.
32458 * nss/test-netdb.c (test_network): Likewise.
32459 * resolv/inet_neta.c (inet_neta): Likewise.
32460 * resolv/ns_date.c (ns_datetosecs): Likewise.
32461 (SECS_PER_DAY): Likewise.
32462 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32463 Likewise.
32464 * resolv/res_comp.c (__putlong): Likewise.
32465 (__putshort): Likewise.
32466 (_getlong): Likewise.
32467 (_getshort): Likewise.
32468 * resolv/res_debug.c (p_time): Likewise.
32469 (precsize_ntoa): Likewise.
32470 (precsize_aton): Likewise.
32471 (latlon2ul): Likewise.
32472 (loc_aton): Likewise.
32473 (loc_ntoa): Likewise.
32474 * resolv/res_hconf.c (struct netaddr): Likewise.
32475 (_res_hconf_reorder_addrs): Likewise.
32476 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
32477 (clnttcp_control): Likewise.
32478 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32479 (clntudp_control): Likewise.
32480 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
32481 (clntunix_control): Likewise.
32482 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
32483 * sunrpc/rpc/auth.h (union des_block): Likewise.
32484 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
32485 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
32486 (xdrrec_create): Likewise.
32487 (xdrrec_endofrecord): Likewise.
32488 (flush_out): Likewise.
32489 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
32490 (xdrstdio_putlong): Likewise.
32491 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
32492 Likewise.
32493
8b164787
JM
32494 * misc/sys/cdefs.h (__long_double_t): Remove.
32495 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
32496 instead of __long_double_t,
32497 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
32498
7ee38e60
SP
324992017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
32500
dd3e86ad
SP
32501 * benchtests/scripts/compare_strings.py: Avoid display error when
32502 running on a text terminal.
32503
b115e819
SP
32504 * benchtests/scripts/compare_strings.py (main): Add an
32505 optional -base option.
32506 (process_results): New argument base_func.
32507
7ee38e60
SP
32508 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
32509 hardcoding memcpy.
32510 * benchtests/bench-memcpy-large.c (test_name): Likewise.
32511 * benchtests/bench-memcpy-random.c (test_name): Likewise.
32512
d5afb385
AS
325132017-08-07 Andreas Schwab <schwab@suse.de>
32514
32515 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
32516 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32517 * intl/Makefile ($(objpfx)tst-gettext.out)
32518 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
32519 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
32520 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32521 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32522 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
32523 * posix/Makefile ($(objpfx)globtest.out)
32524 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
32525 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
32526 ($(objpfx)tst-printf.out): Likewise.
32527 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
32528 ($(objpfx)tst-setcontext3.out): Likewise.
32529
57a72fa3
L
325302017-08-07 H.J. Lu <hongjiu.lu@intel.com>
32531
32532 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32533 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
32534 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
32535 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
32536 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
32537 and mptan-fma.
32538 (CFLAGS-doasin-fma.c): New.
32539 (CFLAGS-dosincos-fma.c): Likewise.
32540 (CFLAGS-e_asin-fma.c): Likewise.
32541 (CFLAGS-e_atan2-fma.c): Likewise.
32542 (CFLAGS-e_exp-fma.c): Likewise.
32543 (CFLAGS-e_log-fma.c): Likewise.
32544 (CFLAGS-e_pow-fma.c): Likewise.
32545 (CFLAGS-halfulp-fma.c): Likewise.
32546 (CFLAGS-mpa-fma.c): Likewise.
32547 (CFLAGS-mpatan-fma.c): Likewise.
32548 (CFLAGS-mpatan2-fma.c): Likewise.
32549 (CFLAGS-mpexp-fma.c): Likewise.
32550 (CFLAGS-mplog-fma.c): Likewise.
32551 (CFLAGS-mpsqrt-fma.c): Likewise.
32552 (CFLAGS-mptan-fma.c): Likewise.
32553 (CFLAGS-s_atan-fma.c): Likewise.
32554 (CFLAGS-sincos32-fma.c): Likewise.
32555 (CFLAGS-slowexp-fma.c): Likewise.
32556 (CFLAGS-slowpow-fma.c): Likewise.
32557 (CFLAGS-s_sin-fma.c): Likewise.
32558 (CFLAGS-s_tan-fma.c): Likewise.
32559 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
32560 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
32561 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
32562 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
32563 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
32564 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
32565 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
32566 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
32567 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
32568 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
32569 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32570 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32571 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32572 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32573 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32574 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32575 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32576 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32577 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32578 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32579 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32580 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32581 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32582 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32583 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32584 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32585 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32586 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32587 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32588 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32589 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32590
219dd320
JM
325912017-08-04 Joseph Myers <joseph@codesourcery.com>
32592
32593 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32594 (min_of_type_f): New macro.
32595 (min_of_type_): Likewise.
32596 (min_of_type_l): Likewise.
32597 (min_of_type_f128): Likewise.
32598 (min_of_type): Define using __MATH_TG and taking an expression
32599 argument.
32600 (math_check_force_underflow): Pass expression instead of type to
32601 min_of_type.
32602 (math_check_force_underflow_nonneg): Likewise.
32603
64d4dea6
L
326042017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32605
32606 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32607 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32608 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32609
973da22a
L
326102017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32611
32612 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32613 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32614 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32615 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32616 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32617 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32618 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32619 memmove_chk-nonshared and memset_chk-nonshared
32620 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32621 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32622 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32623 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32624 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32625 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32626 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32627 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32628 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32629 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32630 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32631 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32632 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32633 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32634 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32635 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32636 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32637 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32638 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32639 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32640 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32641 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32642 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32643 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32644 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32645 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32646 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32647 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32648 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32649 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32650 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32651 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32652 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32653 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32654 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32655 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32656 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32657 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32658 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32659 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32660 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32661 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32662 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32663 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32664 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32665 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32666 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32667 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32668 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32669 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32670 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32671 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32672 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32673 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32674 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32675 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32676 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32677 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32678 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
32679 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
32680 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
32681 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
32682 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
32683 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
32684 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
32685 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
32686 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
32687 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
32688 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
32689 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
32690 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
32691 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32692 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32693 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32694 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32695 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32696 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32697 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32698 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32699 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32700 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32701 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32702 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32703 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32704 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32705 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32706 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32707 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32708 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32709 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32710 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32711 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32712 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32713 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32714 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32715 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32716 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32717 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32718 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32719 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32720 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32721 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32722 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32723 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32724 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32725 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32726 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32727 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32728
8537e0f6
L
327292017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32730
32731 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32732 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32733 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32734 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32735 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32736 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32737 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32738 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32739 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32740 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32741 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32742 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32743 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32744 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32745 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32746 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32747 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32748 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32749 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32750 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32751 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32752 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32753 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32754 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32755 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32756 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32757 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32758 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32759 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32760 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32761 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32762 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32763 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32764 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32765 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32766 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32767 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32768 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32769 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32770 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32771 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32772 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32773 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32774 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32775 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32776 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32777 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32778 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32779 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32780 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32781 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32782 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32783 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32784 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32785 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32786 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32787 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32788 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32789 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32790 ...
32791 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32792 Don't include <sysdep.h> nor <init-arch.h>.
32793 (_ZGVbN2v_cos): Removed.
32794 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32795 ...
32796 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32797 Don't include <sysdep.h> nor <init-arch.h>.
32798 (_ZGVdN4v_cos): Removed.
32799 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32800 ...
32801 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32802 Don't include <sysdep.h> nor <init-arch.h>.
32803 (_ZGVeN8v_cos): Removed.
32804 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32805 ...
32806 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32807 Don't include <sysdep.h> nor <init-arch.h>.
32808 (_ZGVbN2v_exp): Removed.
32809 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32810 ...
32811 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32812 Don't include <sysdep.h> nor <init-arch.h>.
32813 (_ZGVdN4v_exp): Removed.
32814 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32815 ...
32816 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32817 Don't include <sysdep.h> nor <init-arch.h>.
32818 (_ZGVeN8v_exp): Removed.
32819 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32820 ...
32821 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32822 Don't include <sysdep.h> nor <init-arch.h>.
32823 (_ZGVbN2v_log): Removed.
32824 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32825 ...
32826 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32827 Don't include <sysdep.h> nor <init-arch.h>.
32828 (_ZGVdN4v_log): Removed.
32829 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32830 ...
32831 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32832 Don't include <sysdep.h> nor <init-arch.h>.
32833 (_ZGVeN8v_log): Removed.
32834 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32835 ...
32836 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32837 Don't include <sysdep.h> nor <init-arch.h>.
32838 (_ZGVbN2vv_pow): Removed.
32839 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32840 ...
32841 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32842 Don't include <sysdep.h> nor <init-arch.h>.
32843 (_ZGVdN4vv_pow): Removed.
32844 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32845 ...
32846 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32847 Don't include <sysdep.h> nor <init-arch.h>.
32848 (_ZGVeN8vv_pow): Removed.
32849 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32850 ...
32851 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32852 Don't include <sysdep.h> nor <init-arch.h>.
32853 (_ZGVbN2v_sin): Removed.
32854 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32855 ...
32856 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32857 Don't include <sysdep.h> nor <init-arch.h>.
32858 (_ZGVbN4v_sin): Removed.
32859 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32860 ...
32861 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32862 Don't include <sysdep.h> nor <init-arch.h>.
32863 (_ZGVbN8v_sin): Removed.
32864 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32865 ...
32866 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32867 Don't include <sysdep.h> nor <init-arch.h>.
32868 (_ZGVbN2vvv_sincos): Removed.
32869 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32870 ...
32871 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32872 Don't include <sysdep.h> nor <init-arch.h>.
32873 (_ZGVdN4vvv_sincos): Removed.
32874 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32875 ...
32876 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32877 Don't include <sysdep.h> nor <init-arch.h>.
32878 (_ZGVeN8vvv_sincos): Removed.
32879 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32880 ...
32881 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32882 Don't include <sysdep.h> nor <init-arch.h>.
32883 (_ZGVeN16v_cosf): Removed.
32884 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32885 ...
32886 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32887 Don't include <sysdep.h> nor <init-arch.h>.
32888 (_ZGVbN4v_cosf): Removed.
32889 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32890 ...
32891 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32892 Don't include <sysdep.h> nor <init-arch.h>.
32893 (_ZGVdN8v_cosf): Removed.
32894 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32895 ...
32896 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32897 Don't include <sysdep.h> nor <init-arch.h>.
32898 (_ZGVeN16v_expf): Removed.
32899 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32900 ...
32901 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32902 Don't include <sysdep.h> nor <init-arch.h>.
32903 (_ZGVbN4v_expf): Removed.
32904 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32905 ...
32906 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32907 Don't include <sysdep.h> nor <init-arch.h>.
32908 (_ZGVdN8v_expf): Removed.
32909 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32910 ...
32911 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32912 Don't include <sysdep.h> nor <init-arch.h>.
32913 (_ZGVeN16v_logf): Removed.
32914 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32915 ...
32916 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32917 Don't include <sysdep.h> nor <init-arch.h>.
32918 (_ZGVbN4v_logf): Removed.
32919 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32920 ...
32921 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32922 Don't include <sysdep.h> nor <init-arch.h>.
32923 (_ZGVdN8v_logf): Removed.
32924 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32925 ...
32926 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32927 Don't include <sysdep.h> nor <init-arch.h>.
32928 (_ZGVeN16vv_powf): Removed.
32929 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32930 ...
32931 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32932 Don't include <sysdep.h> nor <init-arch.h>.
32933 (_ZGVbN4vv_powf): Removed.
32934 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32935 ...
32936 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32937 Don't include <sysdep.h> nor <init-arch.h>.
32938 (_ZGVdN8vv_powf): Removed.
32939 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32940 ...
32941 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32942 Don't include <sysdep.h> nor <init-arch.h>.
32943 (_ZGVeN16vvv_sincosf): Removed.
32944 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32945 ...
32946 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32947 Don't include <sysdep.h> nor <init-arch.h>.
32948 (_ZGVbN4vvv_sincosf): Removed.
32949 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
32950 ...
32951 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
32952 Don't include <sysdep.h> nor <init-arch.h>.
32953 (_ZGVdN8vvv_sincosf): Removed.
32954 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
32955 ...
32956 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
32957 Don't include <sysdep.h> nor <init-arch.h>.
32958 (_ZGVeN16v_sinf): Removed.
32959 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
32960 ...
32961 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
32962 Don't include <sysdep.h> nor <init-arch.h>.
32963 (_ZGVbN4v_sinf): Removed.
32964 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
32965 ...
32966 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
32967 Don't include <sysdep.h> nor <init-arch.h>.
32968 (_ZGVdN8v_sinf): Removed.
32969
10a87ca4
L
329702017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32971
32972 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32973 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
32974 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
32975 s_rint-sse4_1 and s_rintf-sse4_1.
32976 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
32977 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
32978 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
32979 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
32980 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32981 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32982 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32983 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32984 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32985 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32986 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32987 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32988 (__ceil): Removed.
32989 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32990 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32991 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32992 (__ceilf): Removed.
32993 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32994 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32995 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32996 (__floor): Removed.
32997 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32998 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32999 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33000 (__floorf): Removed.
33001 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
33002 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
33003 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33004 (__nearbyint): Removed.
33005 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
33006 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
33007 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33008 (__nearbyintf): Removed.
33009 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
33010 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
33011 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33012 (__rint): Removed.
33013 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
33014 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
33015 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33016 (__rintf): Removed.
33017
1e8e527d
L
330182017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33019
33020 * sysdeps/i386/start.S (_start): Check Check PIC instead of
33021 SHARED. Avoid dynamic relocation against main in static PIE.
33022
e13daad7
L
330232017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33024
33025 [BZ #21815]
33026 * elf/Makefile (CFLAGS-tst-prelink.c): New.
33027 (LDFLAGS-tst-prelink): Likewise.
33028
627c69c8
L
330292017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33030
33031 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
33032 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
33033 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
33034 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
33035 (INTERNAL_SYSCALL_NCS): Likewise.
33036 (LOADARGS_1): Likewise.
33037 (LOADARGS_5): Likewise.
33038 (RESTOREARGS_1): Likewise.
33039 (RESTOREARGS_5): Likewise.
33040
fc11ff8d
L
330412017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33042
33043 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
33044 (MEMPCPY_SYMBOL): Likewise.
33045 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33046 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
33047 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
33048 in libc.a.
33049 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33050 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
33051 Likewise.
33052 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
33053 (__hidden_ver1): Don't use in libc.a.
33054 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
33055 (__mempcpy): Don't create a weak alias in libc.a.
33056 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
33057 libc.a.
33058 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
33059 (__hidden_ver1): Don't use in libc.a.
33060
19f1a11e
L
330612017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33062
33063 * config.make.in (have-insert): New.
33064 * configure.ac (libc_cv_insert): New. Set to yes if linker
33065 supports INSERT in linker script.
33066 (AC_SUBST(libc_cv_insert): New.
33067 * configure: Regenerated.
33068 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
33069 if $(have-insert) == yes.
33070
3093fd5e
L
330712017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33072
33073 * elf/Makefile (tests): Add vismain only if
33074 $(have-protected-data) == yes.
33075 (tests-pie): Likewise.
33076
d2cf37c0
L
330772017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33078
33079 [BZ #21871]
33080 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
33081 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
33082
c8a0e6ec
L
330832017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33084
33085 [BZ #21790]
33086 * sysdeps/i386/i586/memset.S
33087 (__memset_zero_constant_len_parameter): Removed.
33088 * sysdeps/i386/i686/memset.S
33089 (__memset_zero_constant_len_parameter): Likewise.
33090 * sysdeps/i386/i686/multiarch/memset_chk.S
33091 (__memset_zero_constant_len_parameter): Likewise.
33092 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
33093 Likewise.
33094
2b34e271
AJ
330952017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33096
33097 * stdlib/getentropy.c (getentropy): Change return type to int.
33098
144bdab0
AJ
330992017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33100
33101 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
33102
24ab7723
JM
331032017-08-03 Joseph Myers <joseph@codesourcery.com>
33104
33105 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
33106 u_intN_t.
33107 * math/s_nexttowardf.c (__nexttowardf): Likewise.
33108 * sysdeps/generic/math_private.h (ieee_double_shape_type):
33109 Likewise.
33110 (ieee_float_shape_type): Likewise.
33111 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
33112 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
33113 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33114 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33115 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
33116 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
33117 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
33118 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33119 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
33120 Likewise.
33121 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33122 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33123 (__ieee754_yn): Likewise.
33124 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33125 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33126 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
33127 Likewise.
33128 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33129 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
33130 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
33131 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
33132 (__erfc): Likewise.
33133 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
33134 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
33135 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
33136 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
33137 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
33138 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
33139 Likewise.
33140 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
33141 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
33142 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
33143 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
33144 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33145 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
33146 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
33147 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
33148 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
33149 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
33150 (__issignaling): Likewise.
33151 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
33152 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
33153 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
33154 Likewise.
33155 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33156 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33157 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
33158 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
33159 Likewise.
33160 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
33161 Likewise.
33162 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
33163 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
33164 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
33165 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
33166 (__erfcf): Likewise.
33167 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
33168 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
33169 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
33170 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
33171 Likewise.
33172 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
33173 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
33174 Likewise.
33175 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
33176 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
33177 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
33178 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
33179 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
33180 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33181 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
33182 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
33183 Likewise.
33184 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
33185 Likewise.
33186 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
33187 Likewise.
33188 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
33189 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
33190 Likewise.
33191 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33192 Likewise.
33193 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33194 (__ieee754_ynl): Likewise.
33195 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
33196 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
33197 Likewise.
33198 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
33199 Likewise.
33200 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
33201 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
33202 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33203 Likewise.
33204 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
33205 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
33206 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
33207 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
33208 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
33209 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
33210 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
33211 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
33212 Likewise.
33213 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
33214 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
33215 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
33216 Likewise.
33217 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
33218 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
33219 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
33220 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
33221 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
33222 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33223 Likewise.
33224 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33225 Likewise.
33226 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33227 Likewise.
33228 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33229 Likewise.
33230 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
33231 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33232 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33233 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
33234 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
33235 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
33236 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
33237 Likewise.
33238 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33239 Likewise.
33240 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33241 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33242 Likewise.
33243 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
33244 (__ieee754_remainderl): Likewise.
33245 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33246 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33247 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33248 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33249 Likewise.
33250 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33251 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33252 Likewise.
33253 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33254 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
33255 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
33256 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
33257 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33258 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33259 Likewise.
33260 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
33261 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
33262 (__ieee754_y0l): Likewise.
33263 (pzero): Likewise.
33264 (qzero): Likewise.
33265 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33266 (__ieee754_y1l): Likewise.
33267 (pone): Likewise.
33268 (qone): Likewise.
33269 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33270 (__ieee754_ynl): Likewise.
33271 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
33272 (__ieee754_lgammal_r): Likewise.
33273 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
33274 Likewise.
33275 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
33276 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
33277 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
33278 (__erfcl): Likewise.
33279 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
33280 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
33281 Likewise.
33282 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
33283 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
33284 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
33285 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
33286 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
33287 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33288 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33289 Likewise.
33290 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
33291 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33292 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
33293 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
33294 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33295 Likewise.
33296 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
33297 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
33298 Likewise.
33299 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
33300 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
33301 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
33302 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33303 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
33304
964263bb
FW
333052017-08-03 Florian Weimer <fweimer@redhat.com>
33306
33307 [BZ #21885]
33308 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
33309 on memory allocation failure.
33310
e98c925f
AM
333112017-08-03 Alan Modra <amodra@gmail.com>
33312
33313 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
33314 tst-tlsopt-powerpc.c with function name change and no test harness.
33315 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
33316 Call tls_get_addr_opt_test.
33317 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
33318 (modules-names): Add mod-tlsopt-powerpc.
33319 (mod-tlsopt-powerpc.so-no-z-defs): Define.
33320 (tst-tlsopt-powerpc): Depend on .so.
33321 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
33322 define. Expand use in TLS_GD and TLS_LD.
33323
8ee1abdb
ST
333242017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33325
33326 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
33327 function.
3da5756e 33328 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 33329
42df8d59
JM
333302017-08-02 Joseph Myers <joseph@codesourcery.com>
33331
33332 [BZ #21686]
33333 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
33334 comparing size with that of double.
33335 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33336 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33337 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33338 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33339 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33340 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
33341 unsigned __int128 types.
33342
b7f95f49
SE
333432017-08-02 Steve Ellcey <sellcey@cavium.com>
33344
33345 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
33346 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
33347 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
33348 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
33349 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
33350
5b736bc9
L
333512017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33352
33353 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
33354
dfc93c41
L
333552017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33356
33357 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
33358 of SHARED.
33359 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33360 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33361 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33362 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33363 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33364 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33365 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33366
2fee621d
JM
333672017-08-02 Joseph Myers <joseph@codesourcery.com>
33368
33369 [BZ #21685]
33370 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
33371 bit-field expressions passed to sizeof or typeof.
33372 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33373 (__TGMATH_F128): Likewise.
33374 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33375 (__TGMATH_CF128): Likewise.
33376 (__TGMATH_UNARY_REAL_ONLY): Likewise.
33377 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
33378 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
33379 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
33380 (__TGMATH_BINARY_REAL_ONLY): Likewise.
33381 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33382 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33383 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33384 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33385 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
33386 (__TGMATH_UNARY_REAL_IMAG): Likewise.
33387 (__TGMATH_UNARY_IMAG): Likewise.
33388 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
33389 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33390 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
33391 type.
33392 (define_vars_for_type): Handle bit_field type specially.
33393 (Tests.__init__): Declare structure with bit-field element.
33394
b358255f
L
333952017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33396
33397 [BZ #21791]
33398 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
33399 (MEMCPY_CHK): Define only if SHARED is defined.
33400 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33401 Likewise.
33402 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33403 Likewise.
edf66db1
SP
33404
33405See ChangeLog.18 for earlier changes.